@pitchfork-ui/elements 0.0.0-stage → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1639) 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/control-label-C0eK8bPh.js +36 -0
  10. package/dist/cjs/control-label-C0eK8bPh.js.map +1 -0
  11. package/dist/cjs/date-CzVt5Lej.js +170 -0
  12. package/dist/cjs/date-CzVt5Lej.js.map +1 -0
  13. package/dist/cjs/form-validity-BCrcqnZ7.js +37 -0
  14. package/dist/cjs/form-validity-BCrcqnZ7.js.map +1 -0
  15. package/dist/cjs/icons-Db3Bk5fj.js +81 -0
  16. package/dist/cjs/icons-Db3Bk5fj.js.map +1 -0
  17. package/dist/cjs/index-CIskGKk1.js +2307 -0
  18. package/dist/cjs/index-CIskGKk1.js.map +1 -0
  19. package/dist/cjs/index.cjs.js +5 -0
  20. package/dist/cjs/index.cjs.js.map +1 -0
  21. package/dist/cjs/keys-S3YTuCcn.js +20 -0
  22. package/dist/cjs/keys-S3YTuCcn.js.map +1 -0
  23. package/dist/cjs/loader.cjs.js +15 -0
  24. package/dist/cjs/loader.cjs.js.map +1 -0
  25. package/dist/cjs/motion-Bjlaq-ac.js +45 -0
  26. package/dist/cjs/motion-Bjlaq-ac.js.map +1 -0
  27. package/dist/cjs/nav-C4LaACXb.js +27 -0
  28. package/dist/cjs/nav-C4LaACXb.js.map +1 -0
  29. package/dist/cjs/navigation-CZce-g58.js +35 -0
  30. package/dist/cjs/navigation-CZce-g58.js.map +1 -0
  31. package/dist/cjs/number-field-DIVYv25j.js +76 -0
  32. package/dist/cjs/number-field-DIVYv25j.js.map +1 -0
  33. package/dist/cjs/pf-accordion-item.cjs.entry.js +62 -0
  34. package/dist/cjs/pf-accordion-item.cjs.entry.js.map +1 -0
  35. package/dist/cjs/pf-accordion.cjs.entry.js +146 -0
  36. package/dist/cjs/pf-accordion.cjs.entry.js.map +1 -0
  37. package/dist/cjs/pf-alert.cjs.entry.js +67 -0
  38. package/dist/cjs/pf-alert.cjs.entry.js.map +1 -0
  39. package/dist/cjs/pf-avatar-group.cjs.entry.js +120 -0
  40. package/dist/cjs/pf-avatar-group.cjs.entry.js.map +1 -0
  41. package/dist/cjs/pf-avatar.cjs.entry.js +30 -0
  42. package/dist/cjs/pf-avatar.cjs.entry.js.map +1 -0
  43. package/dist/cjs/pf-badge-group.cjs.entry.js +36 -0
  44. package/dist/cjs/pf-badge-group.cjs.entry.js.map +1 -0
  45. package/dist/cjs/pf-badge.cjs.entry.js +22 -0
  46. package/dist/cjs/pf-badge.cjs.entry.js.map +1 -0
  47. package/dist/cjs/pf-bar-chart.cjs.entry.js +112 -0
  48. package/dist/cjs/pf-bar-chart.cjs.entry.js.map +1 -0
  49. package/dist/cjs/pf-breadcrumb.cjs.entry.js +43 -0
  50. package/dist/cjs/pf-breadcrumb.cjs.entry.js.map +1 -0
  51. package/dist/cjs/pf-breadcrumbs.cjs.entry.js +96 -0
  52. package/dist/cjs/pf-breadcrumbs.cjs.entry.js.map +1 -0
  53. package/dist/cjs/pf-button-group-item.cjs.entry.js +51 -0
  54. package/dist/cjs/pf-button-group-item.cjs.entry.js.map +1 -0
  55. package/dist/cjs/pf-button-group.cjs.entry.js +102 -0
  56. package/dist/cjs/pf-button-group.cjs.entry.js.map +1 -0
  57. package/dist/cjs/pf-button.cjs.entry.js +43 -0
  58. package/dist/cjs/pf-button.cjs.entry.js.map +1 -0
  59. package/dist/cjs/pf-calendar.cjs.entry.js +222 -0
  60. package/dist/cjs/pf-calendar.cjs.entry.js.map +1 -0
  61. package/dist/cjs/pf-card-content.cjs.entry.js +20 -0
  62. package/dist/cjs/pf-card-content.cjs.entry.js.map +1 -0
  63. package/dist/cjs/pf-card-footer.cjs.entry.js +20 -0
  64. package/dist/cjs/pf-card-footer.cjs.entry.js.map +1 -0
  65. package/dist/cjs/pf-card-header.cjs.entry.js +20 -0
  66. package/dist/cjs/pf-card-header.cjs.entry.js.map +1 -0
  67. package/dist/cjs/pf-card.cjs.entry.js +20 -0
  68. package/dist/cjs/pf-card.cjs.entry.js.map +1 -0
  69. package/dist/cjs/pf-carousel-slide.cjs.entry.js +33 -0
  70. package/dist/cjs/pf-carousel-slide.cjs.entry.js.map +1 -0
  71. package/dist/cjs/pf-carousel.cjs.entry.js +170 -0
  72. package/dist/cjs/pf-carousel.cjs.entry.js.map +1 -0
  73. package/dist/cjs/pf-chart-series.cjs.entry.js +33 -0
  74. package/dist/cjs/pf-chart-series.cjs.entry.js.map +1 -0
  75. package/dist/cjs/pf-checkbox.cjs.entry.js +112 -0
  76. package/dist/cjs/pf-checkbox.cjs.entry.js.map +1 -0
  77. package/dist/cjs/pf-code-snippet.cjs.entry.js +157 -0
  78. package/dist/cjs/pf-code-snippet.cjs.entry.js.map +1 -0
  79. package/dist/cjs/pf-collapsible.cjs.entry.js +76 -0
  80. package/dist/cjs/pf-collapsible.cjs.entry.js.map +1 -0
  81. package/dist/cjs/pf-combobox.cjs.entry.js +340 -0
  82. package/dist/cjs/pf-combobox.cjs.entry.js.map +1 -0
  83. package/dist/cjs/pf-command-group.cjs.entry.js +22 -0
  84. package/dist/cjs/pf-command-group.cjs.entry.js.map +1 -0
  85. package/dist/cjs/pf-command-item.cjs.entry.js +50 -0
  86. package/dist/cjs/pf-command-item.cjs.entry.js.map +1 -0
  87. package/dist/cjs/pf-command-palette.cjs.entry.js +273 -0
  88. package/dist/cjs/pf-command-palette.cjs.entry.js.map +1 -0
  89. package/dist/cjs/pf-content-divider.cjs.entry.js +55 -0
  90. package/dist/cjs/pf-content-divider.cjs.entry.js.map +1 -0
  91. package/dist/cjs/pf-context-menu.cjs.entry.js +159 -0
  92. package/dist/cjs/pf-context-menu.cjs.entry.js.map +1 -0
  93. package/dist/cjs/pf-credit-card.cjs.entry.js +40 -0
  94. package/dist/cjs/pf-credit-card.cjs.entry.js.map +1 -0
  95. package/dist/cjs/pf-date-picker.cjs.entry.js +242 -0
  96. package/dist/cjs/pf-date-picker.cjs.entry.js.map +1 -0
  97. package/dist/cjs/pf-date-range-picker.cjs.entry.js +477 -0
  98. package/dist/cjs/pf-date-range-picker.cjs.entry.js.map +1 -0
  99. package/dist/cjs/pf-dropdown.cjs.entry.js +183 -0
  100. package/dist/cjs/pf-dropdown.cjs.entry.js.map +1 -0
  101. package/dist/cjs/pf-empty-state.cjs.entry.js +55 -0
  102. package/dist/cjs/pf-empty-state.cjs.entry.js.map +1 -0
  103. package/dist/cjs/pf-file-uploader.cjs.entry.js +312 -0
  104. package/dist/cjs/pf-file-uploader.cjs.entry.js.map +1 -0
  105. package/dist/cjs/pf-gauge-chart.cjs.entry.js +41 -0
  106. package/dist/cjs/pf-gauge-chart.cjs.entry.js.map +1 -0
  107. package/dist/cjs/pf-header-navigation.cjs.entry.js +89 -0
  108. package/dist/cjs/pf-header-navigation.cjs.entry.js.map +1 -0
  109. package/dist/cjs/pf-heatmap.cjs.entry.js +252 -0
  110. package/dist/cjs/pf-heatmap.cjs.entry.js.map +1 -0
  111. package/dist/cjs/pf-icon.cjs.entry.js +327 -0
  112. package/dist/cjs/pf-icon.cjs.entry.js.map +1 -0
  113. package/dist/cjs/pf-inline-cta.cjs.entry.js +86 -0
  114. package/dist/cjs/pf-inline-cta.cjs.entry.js.map +1 -0
  115. package/dist/cjs/pf-input.cjs.entry.js +124 -0
  116. package/dist/cjs/pf-input.cjs.entry.js.map +1 -0
  117. package/dist/cjs/pf-kbd.cjs.entry.js +27 -0
  118. package/dist/cjs/pf-kbd.cjs.entry.js.map +1 -0
  119. package/dist/cjs/pf-line-chart.cjs.entry.js +117 -0
  120. package/dist/cjs/pf-line-chart.cjs.entry.js.map +1 -0
  121. package/dist/cjs/pf-loading-dots.cjs.entry.js +24 -0
  122. package/dist/cjs/pf-loading-dots.cjs.entry.js.map +1 -0
  123. package/dist/cjs/pf-loading-skeleton.cjs.entry.js +43 -0
  124. package/dist/cjs/pf-loading-skeleton.cjs.entry.js.map +1 -0
  125. package/dist/cjs/pf-loading-spinner.cjs.entry.js +30 -0
  126. package/dist/cjs/pf-loading-spinner.cjs.entry.js.map +1 -0
  127. package/dist/cjs/pf-menu-item.cjs.entry.js +57 -0
  128. package/dist/cjs/pf-menu-item.cjs.entry.js.map +1 -0
  129. package/dist/cjs/pf-menu-separator.cjs.entry.js +20 -0
  130. package/dist/cjs/pf-menu-separator.cjs.entry.js.map +1 -0
  131. package/dist/cjs/pf-metric-card.cjs.entry.js +54 -0
  132. package/dist/cjs/pf-metric-card.cjs.entry.js.map +1 -0
  133. package/dist/cjs/pf-metric-grid.cjs.entry.js +20 -0
  134. package/dist/cjs/pf-metric-grid.cjs.entry.js.map +1 -0
  135. package/dist/cjs/pf-modal-body.cjs.entry.js +20 -0
  136. package/dist/cjs/pf-modal-body.cjs.entry.js.map +1 -0
  137. package/dist/cjs/pf-modal-footer.cjs.entry.js +20 -0
  138. package/dist/cjs/pf-modal-footer.cjs.entry.js.map +1 -0
  139. package/dist/cjs/pf-modal-header.cjs.entry.js +20 -0
  140. package/dist/cjs/pf-modal-header.cjs.entry.js.map +1 -0
  141. package/dist/cjs/pf-modal.cjs.entry.js +229 -0
  142. package/dist/cjs/pf-modal.cjs.entry.js.map +1 -0
  143. package/dist/cjs/pf-multi-select.cjs.entry.js +317 -0
  144. package/dist/cjs/pf-multi-select.cjs.entry.js.map +1 -0
  145. package/dist/cjs/pf-nav-item.cjs.entry.js +83 -0
  146. package/dist/cjs/pf-nav-item.cjs.entry.js.map +1 -0
  147. package/dist/cjs/pf-nav-section.cjs.entry.js +54 -0
  148. package/dist/cjs/pf-nav-section.cjs.entry.js.map +1 -0
  149. package/dist/cjs/pf-notification.cjs.entry.js +68 -0
  150. package/dist/cjs/pf-notification.cjs.entry.js.map +1 -0
  151. package/dist/cjs/pf-number-input.cjs.entry.js +193 -0
  152. package/dist/cjs/pf-number-input.cjs.entry.js.map +1 -0
  153. package/dist/cjs/pf-option.cjs.entry.js +50 -0
  154. package/dist/cjs/pf-option.cjs.entry.js.map +1 -0
  155. package/dist/cjs/pf-page-header.cjs.entry.js +35 -0
  156. package/dist/cjs/pf-page-header.cjs.entry.js.map +1 -0
  157. package/dist/cjs/pf-pagination.cjs.entry.js +113 -0
  158. package/dist/cjs/pf-pagination.cjs.entry.js.map +1 -0
  159. package/dist/cjs/pf-pie-chart.cjs.entry.js +94 -0
  160. package/dist/cjs/pf-pie-chart.cjs.entry.js.map +1 -0
  161. package/dist/cjs/pf-pie-slice.cjs.entry.js +36 -0
  162. package/dist/cjs/pf-pie-slice.cjs.entry.js.map +1 -0
  163. package/dist/cjs/pf-popover.cjs.entry.js +157 -0
  164. package/dist/cjs/pf-popover.cjs.entry.js.map +1 -0
  165. package/dist/cjs/pf-progress-bar.cjs.entry.js +32 -0
  166. package/dist/cjs/pf-progress-bar.cjs.entry.js.map +1 -0
  167. package/dist/cjs/pf-progress-circle.cjs.entry.js +40 -0
  168. package/dist/cjs/pf-progress-circle.cjs.entry.js.map +1 -0
  169. package/dist/cjs/pf-progress-step.cjs.entry.js +42 -0
  170. package/dist/cjs/pf-progress-step.cjs.entry.js.map +1 -0
  171. package/dist/cjs/pf-progress-steps.cjs.entry.js +99 -0
  172. package/dist/cjs/pf-progress-steps.cjs.entry.js.map +1 -0
  173. package/dist/cjs/pf-radar-axis.cjs.entry.js +33 -0
  174. package/dist/cjs/pf-radar-axis.cjs.entry.js.map +1 -0
  175. package/dist/cjs/pf-radar-chart.cjs.entry.js +185 -0
  176. package/dist/cjs/pf-radar-chart.cjs.entry.js.map +1 -0
  177. package/dist/cjs/pf-radio-button.cjs.entry.js +73 -0
  178. package/dist/cjs/pf-radio-button.cjs.entry.js.map +1 -0
  179. package/dist/cjs/pf-radio-group.cjs.entry.js +174 -0
  180. package/dist/cjs/pf-radio-group.cjs.entry.js.map +1 -0
  181. package/dist/cjs/pf-rating-badge.cjs.entry.js +35 -0
  182. package/dist/cjs/pf-rating-badge.cjs.entry.js.map +1 -0
  183. package/dist/cjs/pf-rating-stars.cjs.entry.js +46 -0
  184. package/dist/cjs/pf-rating-stars.cjs.entry.js.map +1 -0
  185. package/dist/cjs/pf-resizable.cjs.entry.js +205 -0
  186. package/dist/cjs/pf-resizable.cjs.entry.js.map +1 -0
  187. package/dist/cjs/pf-rich-text-editor.cjs.entry.js +261 -0
  188. package/dist/cjs/pf-rich-text-editor.cjs.entry.js.map +1 -0
  189. package/dist/cjs/pf-scroll-area.cjs.entry.js +43 -0
  190. package/dist/cjs/pf-scroll-area.cjs.entry.js.map +1 -0
  191. package/dist/cjs/pf-section-footer.cjs.entry.js +41 -0
  192. package/dist/cjs/pf-section-footer.cjs.entry.js.map +1 -0
  193. package/dist/cjs/pf-section-header.cjs.entry.js +37 -0
  194. package/dist/cjs/pf-section-header.cjs.entry.js.map +1 -0
  195. package/dist/cjs/pf-select.cjs.entry.js +413 -0
  196. package/dist/cjs/pf-select.cjs.entry.js.map +1 -0
  197. package/dist/cjs/pf-sidebar-navigation.cjs.entry.js +106 -0
  198. package/dist/cjs/pf-sidebar-navigation.cjs.entry.js.map +1 -0
  199. package/dist/cjs/pf-slideout-menu.cjs.entry.js +155 -0
  200. package/dist/cjs/pf-slideout-menu.cjs.entry.js.map +1 -0
  201. package/dist/cjs/pf-slider.cjs.entry.js +127 -0
  202. package/dist/cjs/pf-slider.cjs.entry.js.map +1 -0
  203. package/dist/cjs/pf-sparkline.cjs.entry.js +123 -0
  204. package/dist/cjs/pf-sparkline.cjs.entry.js.map +1 -0
  205. package/dist/cjs/pf-switch.cjs.entry.js +112 -0
  206. package/dist/cjs/pf-switch.cjs.entry.js.map +1 -0
  207. package/dist/cjs/pf-tab-panel.cjs.entry.js +41 -0
  208. package/dist/cjs/pf-tab-panel.cjs.entry.js.map +1 -0
  209. package/dist/cjs/pf-tab.cjs.entry.js +96 -0
  210. package/dist/cjs/pf-tab.cjs.entry.js.map +1 -0
  211. package/dist/cjs/pf-table-cell.cjs.entry.js +50 -0
  212. package/dist/cjs/pf-table-cell.cjs.entry.js.map +1 -0
  213. package/dist/cjs/pf-table-row.cjs.entry.js +51 -0
  214. package/dist/cjs/pf-table-row.cjs.entry.js.map +1 -0
  215. package/dist/cjs/pf-table.cjs.entry.js +145 -0
  216. package/dist/cjs/pf-table.cjs.entry.js.map +1 -0
  217. package/dist/cjs/pf-tabs.cjs.entry.js +342 -0
  218. package/dist/cjs/pf-tabs.cjs.entry.js.map +1 -0
  219. package/dist/cjs/pf-tag-input.cjs.entry.js +200 -0
  220. package/dist/cjs/pf-tag-input.cjs.entry.js.map +1 -0
  221. package/dist/cjs/pf-tag.cjs.entry.js +32 -0
  222. package/dist/cjs/pf-tag.cjs.entry.js.map +1 -0
  223. package/dist/cjs/pf-textarea.cjs.entry.js +141 -0
  224. package/dist/cjs/pf-textarea.cjs.entry.js.map +1 -0
  225. package/dist/cjs/pf-time-picker.cjs.entry.js +329 -0
  226. package/dist/cjs/pf-time-picker.cjs.entry.js.map +1 -0
  227. package/dist/cjs/pf-timeline-item.cjs.entry.js +46 -0
  228. package/dist/cjs/pf-timeline-item.cjs.entry.js.map +1 -0
  229. package/dist/cjs/pf-timeline.cjs.entry.js +55 -0
  230. package/dist/cjs/pf-timeline.cjs.entry.js.map +1 -0
  231. package/dist/cjs/pf-toaster.cjs.entry.js +90 -0
  232. package/dist/cjs/pf-toaster.cjs.entry.js.map +1 -0
  233. package/dist/cjs/pf-toolbar-separator.cjs.entry.js +22 -0
  234. package/dist/cjs/pf-toolbar-separator.cjs.entry.js.map +1 -0
  235. package/dist/cjs/pf-toolbar.cjs.entry.js +75 -0
  236. package/dist/cjs/pf-toolbar.cjs.entry.js.map +1 -0
  237. package/dist/cjs/pf-tooltip.cjs.entry.js +179 -0
  238. package/dist/cjs/pf-tooltip.cjs.entry.js.map +1 -0
  239. package/dist/cjs/pf-tree-item.cjs.entry.js +81 -0
  240. package/dist/cjs/pf-tree-item.cjs.entry.js.map +1 -0
  241. package/dist/cjs/pf-tree-view.cjs.entry.js +342 -0
  242. package/dist/cjs/pf-tree-view.cjs.entry.js.map +1 -0
  243. package/dist/cjs/pf-utility-button.cjs.entry.js +56 -0
  244. package/dist/cjs/pf-utility-button.cjs.entry.js.map +1 -0
  245. package/dist/cjs/pf-video-player.cjs.entry.js +62 -0
  246. package/dist/cjs/pf-video-player.cjs.entry.js.map +1 -0
  247. package/dist/cjs/pf-visually-hidden.cjs.entry.js +25 -0
  248. package/dist/cjs/pf-visually-hidden.cjs.entry.js.map +1 -0
  249. package/dist/cjs/pie-Bf7gKQU2.js +117 -0
  250. package/dist/cjs/pie-Bf7gKQU2.js.map +1 -0
  251. package/dist/cjs/pitchfork.cjs.js +27 -0
  252. package/dist/cjs/pitchfork.cjs.js.map +1 -0
  253. package/dist/cjs/place-popover-CMqeolzZ.js +200 -0
  254. package/dist/cjs/place-popover-CMqeolzZ.js.map +1 -0
  255. package/dist/cjs/progress-DVUoQ3h5.js +87 -0
  256. package/dist/cjs/progress-DVUoQ3h5.js.map +1 -0
  257. package/dist/cjs/rating-B-EBGYMD.js +56 -0
  258. package/dist/cjs/rating-B-EBGYMD.js.map +1 -0
  259. package/dist/cjs/roving-BNDruU3m.js +71 -0
  260. package/dist/cjs/roving-BNDruU3m.js.map +1 -0
  261. package/dist/cjs/scroll-lock-DllDwdH9.js +46 -0
  262. package/dist/cjs/scroll-lock-DllDwdH9.js.map +1 -0
  263. package/dist/cjs/text-DQvgAqew.js +59 -0
  264. package/dist/cjs/text-DQvgAqew.js.map +1 -0
  265. package/dist/cjs/value-list-zSKmhcgH.js +109 -0
  266. package/dist/cjs/value-list-zSKmhcgH.js.map +1 -0
  267. package/dist/collection/collection-manifest.json +120 -0
  268. package/dist/collection/components/pf-accordion/pf-accordion.css +10 -0
  269. package/dist/collection/components/pf-accordion/pf-accordion.js +289 -0
  270. package/dist/collection/components/pf-accordion/pf-accordion.js.map +1 -0
  271. package/dist/collection/components/pf-accordion-item/pf-accordion-item.css +94 -0
  272. package/dist/collection/components/pf-accordion-item/pf-accordion-item.js +194 -0
  273. package/dist/collection/components/pf-accordion-item/pf-accordion-item.js.map +1 -0
  274. package/dist/collection/components/pf-alert/pf-alert.css +140 -0
  275. package/dist/collection/components/pf-alert/pf-alert.js +238 -0
  276. package/dist/collection/components/pf-alert/pf-alert.js.map +1 -0
  277. package/dist/collection/components/pf-avatar/pf-avatar.css +101 -0
  278. package/dist/collection/components/pf-avatar/pf-avatar.js +152 -0
  279. package/dist/collection/components/pf-avatar/pf-avatar.js.map +1 -0
  280. package/dist/collection/components/pf-avatar-group/pf-avatar-group.css +55 -0
  281. package/dist/collection/components/pf-avatar-group/pf-avatar-group.js +222 -0
  282. package/dist/collection/components/pf-avatar-group/pf-avatar-group.js.map +1 -0
  283. package/dist/collection/components/pf-badge/pf-badge.css +43 -0
  284. package/dist/collection/components/pf-badge/pf-badge.js +59 -0
  285. package/dist/collection/components/pf-badge/pf-badge.js.map +1 -0
  286. package/dist/collection/components/pf-badge-group/pf-badge-group.css +119 -0
  287. package/dist/collection/components/pf-badge-group/pf-badge-group.js +164 -0
  288. package/dist/collection/components/pf-badge-group/pf-badge-group.js.map +1 -0
  289. package/dist/collection/components/pf-bar-chart/pf-bar-chart.css +96 -0
  290. package/dist/collection/components/pf-bar-chart/pf-bar-chart.js +263 -0
  291. package/dist/collection/components/pf-bar-chart/pf-bar-chart.js.map +1 -0
  292. package/dist/collection/components/pf-breadcrumb/pf-breadcrumb.css +40 -0
  293. package/dist/collection/components/pf-breadcrumb/pf-breadcrumb.js +160 -0
  294. package/dist/collection/components/pf-breadcrumb/pf-breadcrumb.js.map +1 -0
  295. package/dist/collection/components/pf-breadcrumbs/pf-breadcrumbs.css +27 -0
  296. package/dist/collection/components/pf-breadcrumbs/pf-breadcrumbs.js +162 -0
  297. package/dist/collection/components/pf-breadcrumbs/pf-breadcrumbs.js.map +1 -0
  298. package/dist/collection/components/pf-button/pf-button.css +134 -0
  299. package/dist/collection/components/pf-button/pf-button.js +216 -0
  300. package/dist/collection/components/pf-button/pf-button.js.map +1 -0
  301. package/dist/collection/components/pf-button-group/pf-button-group.css +14 -0
  302. package/dist/collection/components/pf-button-group/pf-button-group.js +229 -0
  303. package/dist/collection/components/pf-button-group/pf-button-group.js.map +1 -0
  304. package/dist/collection/components/pf-button-group-item/pf-button-group-item.css +103 -0
  305. package/dist/collection/components/pf-button-group-item/pf-button-group-item.js +206 -0
  306. package/dist/collection/components/pf-button-group-item/pf-button-group-item.js.map +1 -0
  307. package/dist/collection/components/pf-calendar/pf-calendar.css +151 -0
  308. package/dist/collection/components/pf-calendar/pf-calendar.js +479 -0
  309. package/dist/collection/components/pf-calendar/pf-calendar.js.map +1 -0
  310. package/dist/collection/components/pf-card/pf-card.css +17 -0
  311. package/dist/collection/components/pf-card/pf-card.js +32 -0
  312. package/dist/collection/components/pf-card/pf-card.js.map +1 -0
  313. package/dist/collection/components/pf-card-content/pf-card-content.css +8 -0
  314. package/dist/collection/components/pf-card-content/pf-card-content.js +24 -0
  315. package/dist/collection/components/pf-card-content/pf-card-content.js.map +1 -0
  316. package/dist/collection/components/pf-card-footer/pf-card-footer.css +10 -0
  317. package/dist/collection/components/pf-card-footer/pf-card-footer.js +26 -0
  318. package/dist/collection/components/pf-card-footer/pf-card-footer.js.map +1 -0
  319. package/dist/collection/components/pf-card-header/pf-card-header.css +14 -0
  320. package/dist/collection/components/pf-card-header/pf-card-header.js +24 -0
  321. package/dist/collection/components/pf-card-header/pf-card-header.js.map +1 -0
  322. package/dist/collection/components/pf-carousel/pf-carousel.css +145 -0
  323. package/dist/collection/components/pf-carousel/pf-carousel.js +397 -0
  324. package/dist/collection/components/pf-carousel/pf-carousel.js.map +1 -0
  325. package/dist/collection/components/pf-carousel-slide/pf-carousel-slide.css +12 -0
  326. package/dist/collection/components/pf-carousel-slide/pf-carousel-slide.js +106 -0
  327. package/dist/collection/components/pf-carousel-slide/pf-carousel-slide.js.map +1 -0
  328. package/dist/collection/components/pf-chart-series/pf-chart-series.css +18 -0
  329. package/dist/collection/components/pf-chart-series/pf-chart-series.js +132 -0
  330. package/dist/collection/components/pf-chart-series/pf-chart-series.js.map +1 -0
  331. package/dist/collection/components/pf-checkbox/pf-checkbox.css +77 -0
  332. package/dist/collection/components/pf-checkbox/pf-checkbox.js +327 -0
  333. package/dist/collection/components/pf-checkbox/pf-checkbox.js.map +1 -0
  334. package/dist/collection/components/pf-code-snippet/pf-code-snippet.css +164 -0
  335. package/dist/collection/components/pf-code-snippet/pf-code-snippet.js +371 -0
  336. package/dist/collection/components/pf-code-snippet/pf-code-snippet.js.map +1 -0
  337. package/dist/collection/components/pf-collapsible/pf-collapsible.css +85 -0
  338. package/dist/collection/components/pf-collapsible/pf-collapsible.js +224 -0
  339. package/dist/collection/components/pf-collapsible/pf-collapsible.js.map +1 -0
  340. package/dist/collection/components/pf-combobox/pf-combobox.css +158 -0
  341. package/dist/collection/components/pf-combobox/pf-combobox.js +754 -0
  342. package/dist/collection/components/pf-combobox/pf-combobox.js.map +1 -0
  343. package/dist/collection/components/pf-command-group/pf-command-group.css +18 -0
  344. package/dist/collection/components/pf-command-group/pf-command-group.js +57 -0
  345. package/dist/collection/components/pf-command-group/pf-command-group.js.map +1 -0
  346. package/dist/collection/components/pf-command-item/pf-command-item.css +76 -0
  347. package/dist/collection/components/pf-command-item/pf-command-item.js +142 -0
  348. package/dist/collection/components/pf-command-item/pf-command-item.js.map +1 -0
  349. package/dist/collection/components/pf-command-palette/pf-command-palette.css +113 -0
  350. package/dist/collection/components/pf-command-palette/pf-command-palette.js +503 -0
  351. package/dist/collection/components/pf-command-palette/pf-command-palette.js.map +1 -0
  352. package/dist/collection/components/pf-content-divider/pf-content-divider.css +61 -0
  353. package/dist/collection/components/pf-content-divider/pf-content-divider.js +121 -0
  354. package/dist/collection/components/pf-content-divider/pf-content-divider.js.map +1 -0
  355. package/dist/collection/components/pf-context-menu/pf-context-menu.css +58 -0
  356. package/dist/collection/components/pf-context-menu/pf-context-menu.js +331 -0
  357. package/dist/collection/components/pf-context-menu/pf-context-menu.js.map +1 -0
  358. package/dist/collection/components/pf-credit-card/pf-credit-card.css +118 -0
  359. package/dist/collection/components/pf-credit-card/pf-credit-card.js +180 -0
  360. package/dist/collection/components/pf-credit-card/pf-credit-card.js.map +1 -0
  361. package/dist/collection/components/pf-date-picker/pf-date-picker.css +141 -0
  362. package/dist/collection/components/pf-date-picker/pf-date-picker.js +697 -0
  363. package/dist/collection/components/pf-date-picker/pf-date-picker.js.map +1 -0
  364. package/dist/collection/components/pf-date-range-picker/pf-date-range-picker.css +267 -0
  365. package/dist/collection/components/pf-date-range-picker/pf-date-range-picker.js +834 -0
  366. package/dist/collection/components/pf-date-range-picker/pf-date-range-picker.js.map +1 -0
  367. package/dist/collection/components/pf-dropdown/pf-dropdown.css +57 -0
  368. package/dist/collection/components/pf-dropdown/pf-dropdown.js +369 -0
  369. package/dist/collection/components/pf-dropdown/pf-dropdown.js.map +1 -0
  370. package/dist/collection/components/pf-empty-state/pf-empty-state.css +94 -0
  371. package/dist/collection/components/pf-empty-state/pf-empty-state.js +126 -0
  372. package/dist/collection/components/pf-empty-state/pf-empty-state.js.map +1 -0
  373. package/dist/collection/components/pf-file-uploader/pf-file-uploader.css +186 -0
  374. package/dist/collection/components/pf-file-uploader/pf-file-uploader.js +557 -0
  375. package/dist/collection/components/pf-file-uploader/pf-file-uploader.js.map +1 -0
  376. package/dist/collection/components/pf-gauge-chart/pf-gauge-chart.css +83 -0
  377. package/dist/collection/components/pf-gauge-chart/pf-gauge-chart.js +186 -0
  378. package/dist/collection/components/pf-gauge-chart/pf-gauge-chart.js.map +1 -0
  379. package/dist/collection/components/pf-header-navigation/pf-header-navigation.css +83 -0
  380. package/dist/collection/components/pf-header-navigation/pf-header-navigation.js +171 -0
  381. package/dist/collection/components/pf-header-navigation/pf-header-navigation.js.map +1 -0
  382. package/dist/collection/components/pf-heatmap/pf-heatmap.css +108 -0
  383. package/dist/collection/components/pf-heatmap/pf-heatmap.js +321 -0
  384. package/dist/collection/components/pf-heatmap/pf-heatmap.js.map +1 -0
  385. package/dist/collection/components/pf-icon/bundled-icons.js +40 -0
  386. package/dist/collection/components/pf-icon/bundled-icons.js.map +1 -0
  387. package/dist/collection/components/pf-icon/custom-icons.js +37 -0
  388. package/dist/collection/components/pf-icon/custom-icons.js.map +1 -0
  389. package/dist/collection/components/pf-icon/icon-names.js +9 -0
  390. package/dist/collection/components/pf-icon/icon-names.js.map +1 -0
  391. package/dist/collection/components/pf-icon/pf-icon.css +17 -0
  392. package/dist/collection/components/pf-icon/pf-icon.js +105 -0
  393. package/dist/collection/components/pf-icon/pf-icon.js.map +1 -0
  394. package/dist/collection/components/pf-inline-cta/pf-inline-cta.css +167 -0
  395. package/dist/collection/components/pf-inline-cta/pf-inline-cta.js +263 -0
  396. package/dist/collection/components/pf-inline-cta/pf-inline-cta.js.map +1 -0
  397. package/dist/collection/components/pf-input/pf-input.css +82 -0
  398. package/dist/collection/components/pf-input/pf-input.js +424 -0
  399. package/dist/collection/components/pf-input/pf-input.js.map +1 -0
  400. package/dist/collection/components/pf-kbd/pf-kbd.css +33 -0
  401. package/dist/collection/components/pf-kbd/pf-kbd.js +102 -0
  402. package/dist/collection/components/pf-kbd/pf-kbd.js.map +1 -0
  403. package/dist/collection/components/pf-line-chart/pf-line-chart.css +98 -0
  404. package/dist/collection/components/pf-line-chart/pf-line-chart.js +294 -0
  405. package/dist/collection/components/pf-line-chart/pf-line-chart.js.map +1 -0
  406. package/dist/collection/components/pf-loading-dots/pf-loading-dots.css +75 -0
  407. package/dist/collection/components/pf-loading-dots/pf-loading-dots.js +79 -0
  408. package/dist/collection/components/pf-loading-dots/pf-loading-dots.js.map +1 -0
  409. package/dist/collection/components/pf-loading-skeleton/pf-loading-skeleton.css +54 -0
  410. package/dist/collection/components/pf-loading-skeleton/pf-loading-skeleton.js +131 -0
  411. package/dist/collection/components/pf-loading-skeleton/pf-loading-skeleton.js.map +1 -0
  412. package/dist/collection/components/pf-loading-spinner/pf-loading-spinner.css +51 -0
  413. package/dist/collection/components/pf-loading-spinner/pf-loading-spinner.js +78 -0
  414. package/dist/collection/components/pf-loading-spinner/pf-loading-spinner.js.map +1 -0
  415. package/dist/collection/components/pf-menu-item/pf-menu-item.css +70 -0
  416. package/dist/collection/components/pf-menu-item/pf-menu-item.js +167 -0
  417. package/dist/collection/components/pf-menu-item/pf-menu-item.js.map +1 -0
  418. package/dist/collection/components/pf-menu-separator/pf-menu-separator.css +11 -0
  419. package/dist/collection/components/pf-menu-separator/pf-menu-separator.js +25 -0
  420. package/dist/collection/components/pf-menu-separator/pf-menu-separator.js.map +1 -0
  421. package/dist/collection/components/pf-metric-card/pf-metric-card.css +125 -0
  422. package/dist/collection/components/pf-metric-card/pf-metric-card.js +128 -0
  423. package/dist/collection/components/pf-metric-card/pf-metric-card.js.map +1 -0
  424. package/dist/collection/components/pf-metric-grid/pf-metric-grid.css +14 -0
  425. package/dist/collection/components/pf-metric-grid/pf-metric-grid.js +29 -0
  426. package/dist/collection/components/pf-metric-grid/pf-metric-grid.js.map +1 -0
  427. package/dist/collection/components/pf-modal/pf-modal.css +94 -0
  428. package/dist/collection/components/pf-modal/pf-modal.js +396 -0
  429. package/dist/collection/components/pf-modal/pf-modal.js.map +1 -0
  430. package/dist/collection/components/pf-modal-body/pf-modal-body.css +9 -0
  431. package/dist/collection/components/pf-modal-body/pf-modal-body.js +28 -0
  432. package/dist/collection/components/pf-modal-body/pf-modal-body.js.map +1 -0
  433. package/dist/collection/components/pf-modal-footer/pf-modal-footer.css +11 -0
  434. package/dist/collection/components/pf-modal-footer/pf-modal-footer.js +28 -0
  435. package/dist/collection/components/pf-modal-footer/pf-modal-footer.js.map +1 -0
  436. package/dist/collection/components/pf-modal-header/pf-modal-header.css +10 -0
  437. package/dist/collection/components/pf-modal-header/pf-modal-header.js +28 -0
  438. package/dist/collection/components/pf-modal-header/pf-modal-header.js.map +1 -0
  439. package/dist/collection/components/pf-multi-select/pf-multi-select.css +139 -0
  440. package/dist/collection/components/pf-multi-select/pf-multi-select.js +692 -0
  441. package/dist/collection/components/pf-multi-select/pf-multi-select.js.map +1 -0
  442. package/dist/collection/components/pf-nav-item/pf-nav-item.css +125 -0
  443. package/dist/collection/components/pf-nav-item/pf-nav-item.js +265 -0
  444. package/dist/collection/components/pf-nav-item/pf-nav-item.js.map +1 -0
  445. package/dist/collection/components/pf-nav-section/pf-nav-section.css +39 -0
  446. package/dist/collection/components/pf-nav-section/pf-nav-section.js +94 -0
  447. package/dist/collection/components/pf-nav-section/pf-nav-section.js.map +1 -0
  448. package/dist/collection/components/pf-notification/pf-notification.css +200 -0
  449. package/dist/collection/components/pf-notification/pf-notification.js +234 -0
  450. package/dist/collection/components/pf-notification/pf-notification.js.map +1 -0
  451. package/dist/collection/components/pf-number-input/pf-number-input.css +137 -0
  452. package/dist/collection/components/pf-number-input/pf-number-input.js +561 -0
  453. package/dist/collection/components/pf-number-input/pf-number-input.js.map +1 -0
  454. package/dist/collection/components/pf-option/pf-option.css +46 -0
  455. package/dist/collection/components/pf-option/pf-option.js +162 -0
  456. package/dist/collection/components/pf-option/pf-option.js.map +1 -0
  457. package/dist/collection/components/pf-page-header/pf-page-header.css +101 -0
  458. package/dist/collection/components/pf-page-header/pf-page-header.js +64 -0
  459. package/dist/collection/components/pf-page-header/pf-page-header.js.map +1 -0
  460. package/dist/collection/components/pf-pagination/pf-pagination.css +109 -0
  461. package/dist/collection/components/pf-pagination/pf-pagination.js +232 -0
  462. package/dist/collection/components/pf-pagination/pf-pagination.js.map +1 -0
  463. package/dist/collection/components/pf-pie-chart/pf-pie-chart.css +115 -0
  464. package/dist/collection/components/pf-pie-chart/pf-pie-chart.js +226 -0
  465. package/dist/collection/components/pf-pie-chart/pf-pie-chart.js.map +1 -0
  466. package/dist/collection/components/pf-pie-slice/pf-pie-slice.css +37 -0
  467. package/dist/collection/components/pf-pie-slice/pf-pie-slice.js +155 -0
  468. package/dist/collection/components/pf-pie-slice/pf-pie-slice.js.map +1 -0
  469. package/dist/collection/components/pf-popover/pf-popover.css +49 -0
  470. package/dist/collection/components/pf-popover/pf-popover.js +325 -0
  471. package/dist/collection/components/pf-popover/pf-popover.js.map +1 -0
  472. package/dist/collection/components/pf-progress-bar/pf-progress-bar.css +49 -0
  473. package/dist/collection/components/pf-progress-bar/pf-progress-bar.js +121 -0
  474. package/dist/collection/components/pf-progress-bar/pf-progress-bar.js.map +1 -0
  475. package/dist/collection/components/pf-progress-circle/pf-progress-circle.css +62 -0
  476. package/dist/collection/components/pf-progress-circle/pf-progress-circle.js +170 -0
  477. package/dist/collection/components/pf-progress-circle/pf-progress-circle.js.map +1 -0
  478. package/dist/collection/components/pf-progress-step/pf-progress-step.css +167 -0
  479. package/dist/collection/components/pf-progress-step/pf-progress-step.js +176 -0
  480. package/dist/collection/components/pf-progress-step/pf-progress-step.js.map +1 -0
  481. package/dist/collection/components/pf-progress-steps/pf-progress-steps.css +35 -0
  482. package/dist/collection/components/pf-progress-steps/pf-progress-steps.js +139 -0
  483. package/dist/collection/components/pf-progress-steps/pf-progress-steps.js.map +1 -0
  484. package/dist/collection/components/pf-radar-axis/pf-radar-axis.css +26 -0
  485. package/dist/collection/components/pf-radar-axis/pf-radar-axis.js +108 -0
  486. package/dist/collection/components/pf-radar-axis/pf-radar-axis.js.map +1 -0
  487. package/dist/collection/components/pf-radar-chart/pf-radar-chart.css +123 -0
  488. package/dist/collection/components/pf-radar-chart/pf-radar-chart.js +280 -0
  489. package/dist/collection/components/pf-radar-chart/pf-radar-chart.js.map +1 -0
  490. package/dist/collection/components/pf-radio-button/pf-radio-button.css +60 -0
  491. package/dist/collection/components/pf-radio-button/pf-radio-button.js +175 -0
  492. package/dist/collection/components/pf-radio-button/pf-radio-button.js.map +1 -0
  493. package/dist/collection/components/pf-radio-group/pf-radio-group.css +36 -0
  494. package/dist/collection/components/pf-radio-group/pf-radio-group.js +420 -0
  495. package/dist/collection/components/pf-radio-group/pf-radio-group.js.map +1 -0
  496. package/dist/collection/components/pf-rating-badge/pf-rating-badge.css +48 -0
  497. package/dist/collection/components/pf-rating-badge/pf-rating-badge.js +131 -0
  498. package/dist/collection/components/pf-rating-badge/pf-rating-badge.js.map +1 -0
  499. package/dist/collection/components/pf-rating-stars/pf-rating-stars.css +54 -0
  500. package/dist/collection/components/pf-rating-stars/pf-rating-stars.js +159 -0
  501. package/dist/collection/components/pf-rating-stars/pf-rating-stars.js.map +1 -0
  502. package/dist/collection/components/pf-resizable/pf-resizable.css +83 -0
  503. package/dist/collection/components/pf-resizable/pf-resizable.js +309 -0
  504. package/dist/collection/components/pf-resizable/pf-resizable.js.map +1 -0
  505. package/dist/collection/components/pf-rich-text-editor/pf-rich-text-editor.css +136 -0
  506. package/dist/collection/components/pf-rich-text-editor/pf-rich-text-editor.js +519 -0
  507. package/dist/collection/components/pf-rich-text-editor/pf-rich-text-editor.js.map +1 -0
  508. package/dist/collection/components/pf-scroll-area/pf-scroll-area.css +62 -0
  509. package/dist/collection/components/pf-scroll-area/pf-scroll-area.js +98 -0
  510. package/dist/collection/components/pf-scroll-area/pf-scroll-area.js.map +1 -0
  511. package/dist/collection/components/pf-section-footer/pf-section-footer.css +73 -0
  512. package/dist/collection/components/pf-section-footer/pf-section-footer.js +113 -0
  513. package/dist/collection/components/pf-section-footer/pf-section-footer.js.map +1 -0
  514. package/dist/collection/components/pf-section-header/pf-section-header.css +93 -0
  515. package/dist/collection/components/pf-section-header/pf-section-header.js +113 -0
  516. package/dist/collection/components/pf-section-header/pf-section-header.js.map +1 -0
  517. package/dist/collection/components/pf-select/pf-select.css +127 -0
  518. package/dist/collection/components/pf-select/pf-select.js +713 -0
  519. package/dist/collection/components/pf-select/pf-select.js.map +1 -0
  520. package/dist/collection/components/pf-sidebar-navigation/pf-sidebar-navigation.css +69 -0
  521. package/dist/collection/components/pf-sidebar-navigation/pf-sidebar-navigation.js +194 -0
  522. package/dist/collection/components/pf-sidebar-navigation/pf-sidebar-navigation.js.map +1 -0
  523. package/dist/collection/components/pf-slideout-menu/pf-slideout-menu.css +179 -0
  524. package/dist/collection/components/pf-slideout-menu/pf-slideout-menu.js +414 -0
  525. package/dist/collection/components/pf-slideout-menu/pf-slideout-menu.js.map +1 -0
  526. package/dist/collection/components/pf-slider/pf-slider.css +119 -0
  527. package/dist/collection/components/pf-slider/pf-slider.js +422 -0
  528. package/dist/collection/components/pf-slider/pf-slider.js.map +1 -0
  529. package/dist/collection/components/pf-sparkline/pf-sparkline.css +76 -0
  530. package/dist/collection/components/pf-sparkline/pf-sparkline.js +271 -0
  531. package/dist/collection/components/pf-sparkline/pf-sparkline.js.map +1 -0
  532. package/dist/collection/components/pf-switch/pf-switch.css +79 -0
  533. package/dist/collection/components/pf-switch/pf-switch.js +332 -0
  534. package/dist/collection/components/pf-switch/pf-switch.js.map +1 -0
  535. package/dist/collection/components/pf-tab/pf-tab.css +88 -0
  536. package/dist/collection/components/pf-tab/pf-tab.js +374 -0
  537. package/dist/collection/components/pf-tab/pf-tab.js.map +1 -0
  538. package/dist/collection/components/pf-tab-panel/pf-tab-panel.css +15 -0
  539. package/dist/collection/components/pf-tab-panel/pf-tab-panel.js +95 -0
  540. package/dist/collection/components/pf-tab-panel/pf-tab-panel.js.map +1 -0
  541. package/dist/collection/components/pf-table/pf-table.css +86 -0
  542. package/dist/collection/components/pf-table/pf-table.js +353 -0
  543. package/dist/collection/components/pf-table/pf-table.js.map +1 -0
  544. package/dist/collection/components/pf-table-cell/pf-table-cell.css +77 -0
  545. package/dist/collection/components/pf-table-cell/pf-table-cell.js +226 -0
  546. package/dist/collection/components/pf-table-cell/pf-table-cell.js.map +1 -0
  547. package/dist/collection/components/pf-table-row/pf-table-row.css +21 -0
  548. package/dist/collection/components/pf-table-row/pf-table-row.js +131 -0
  549. package/dist/collection/components/pf-table-row/pf-table-row.js.map +1 -0
  550. package/dist/collection/components/pf-tabs/pf-tabs.css +108 -0
  551. package/dist/collection/components/pf-tabs/pf-tabs.js +499 -0
  552. package/dist/collection/components/pf-tabs/pf-tabs.js.map +1 -0
  553. package/dist/collection/components/pf-tag/pf-tag.css +71 -0
  554. package/dist/collection/components/pf-tag/pf-tag.js +128 -0
  555. package/dist/collection/components/pf-tag/pf-tag.js.map +1 -0
  556. package/dist/collection/components/pf-tag-input/pf-tag-input.css +80 -0
  557. package/dist/collection/components/pf-tag-input/pf-tag-input.js +534 -0
  558. package/dist/collection/components/pf-tag-input/pf-tag-input.js.map +1 -0
  559. package/dist/collection/components/pf-textarea/pf-textarea.css +70 -0
  560. package/dist/collection/components/pf-textarea/pf-textarea.js +433 -0
  561. package/dist/collection/components/pf-textarea/pf-textarea.js.map +1 -0
  562. package/dist/collection/components/pf-time-picker/pf-time-picker.css +151 -0
  563. package/dist/collection/components/pf-time-picker/pf-time-picker.js +614 -0
  564. package/dist/collection/components/pf-time-picker/pf-time-picker.js.map +1 -0
  565. package/dist/collection/components/pf-timeline/pf-timeline.css +13 -0
  566. package/dist/collection/components/pf-timeline/pf-timeline.js +109 -0
  567. package/dist/collection/components/pf-timeline/pf-timeline.js.map +1 -0
  568. package/dist/collection/components/pf-timeline-item/pf-timeline-item.css +118 -0
  569. package/dist/collection/components/pf-timeline-item/pf-timeline-item.js +115 -0
  570. package/dist/collection/components/pf-timeline-item/pf-timeline-item.js.map +1 -0
  571. package/dist/collection/components/pf-toaster/pf-toaster.css +56 -0
  572. package/dist/collection/components/pf-toaster/pf-toaster.js +255 -0
  573. package/dist/collection/components/pf-toaster/pf-toaster.js.map +1 -0
  574. package/dist/collection/components/pf-toolbar/pf-toolbar.css +23 -0
  575. package/dist/collection/components/pf-toolbar/pf-toolbar.js +131 -0
  576. package/dist/collection/components/pf-toolbar/pf-toolbar.js.map +1 -0
  577. package/dist/collection/components/pf-toolbar-separator/pf-toolbar-separator.css +19 -0
  578. package/dist/collection/components/pf-toolbar-separator/pf-toolbar-separator.js +59 -0
  579. package/dist/collection/components/pf-toolbar-separator/pf-toolbar-separator.js.map +1 -0
  580. package/dist/collection/components/pf-tooltip/pf-tooltip.css +51 -0
  581. package/dist/collection/components/pf-tooltip/pf-tooltip.js +323 -0
  582. package/dist/collection/components/pf-tooltip/pf-tooltip.js.map +1 -0
  583. package/dist/collection/components/pf-tree-item/pf-tree-item.css +115 -0
  584. package/dist/collection/components/pf-tree-item/pf-tree-item.js +315 -0
  585. package/dist/collection/components/pf-tree-item/pf-tree-item.js.map +1 -0
  586. package/dist/collection/components/pf-tree-view/pf-tree-view.css +26 -0
  587. package/dist/collection/components/pf-tree-view/pf-tree-view.js +426 -0
  588. package/dist/collection/components/pf-tree-view/pf-tree-view.js.map +1 -0
  589. package/dist/collection/components/pf-utility-button/pf-utility-button.css +100 -0
  590. package/dist/collection/components/pf-utility-button/pf-utility-button.js +199 -0
  591. package/dist/collection/components/pf-utility-button/pf-utility-button.js.map +1 -0
  592. package/dist/collection/components/pf-video-player/pf-video-player.css +77 -0
  593. package/dist/collection/components/pf-video-player/pf-video-player.js +415 -0
  594. package/dist/collection/components/pf-video-player/pf-video-player.js.map +1 -0
  595. package/dist/collection/components/pf-visually-hidden/pf-visually-hidden.css +42 -0
  596. package/dist/collection/components/pf-visually-hidden/pf-visually-hidden.js +60 -0
  597. package/dist/collection/components/pf-visually-hidden/pf-visually-hidden.js.map +1 -0
  598. package/dist/collection/control-label.js +30 -0
  599. package/dist/collection/control-label.js.map +1 -0
  600. package/dist/collection/form-validity.js +31 -0
  601. package/dist/collection/form-validity.js.map +1 -0
  602. package/dist/collection/index.js +2 -0
  603. package/dist/collection/index.js.map +1 -0
  604. package/dist/collection/place-popover.js +22 -0
  605. package/dist/collection/place-popover.js.map +1 -0
  606. package/dist/components/index.d.ts +35 -0
  607. package/dist/components/index.js +2 -0
  608. package/dist/components/index.js.map +1 -0
  609. package/dist/components/p-BA6CMosJ.js +2 -0
  610. package/dist/components/p-BA6CMosJ.js.map +1 -0
  611. package/dist/components/p-Bb-s2aqK.js +2 -0
  612. package/dist/components/p-Bb-s2aqK.js.map +1 -0
  613. package/dist/components/p-BmcsJLdy.js +2 -0
  614. package/dist/components/p-BmcsJLdy.js.map +1 -0
  615. package/dist/components/p-C-VLyxRR.js +2 -0
  616. package/dist/components/p-C-VLyxRR.js.map +1 -0
  617. package/dist/components/p-C4aE66tt.js +2 -0
  618. package/dist/components/p-C4aE66tt.js.map +1 -0
  619. package/dist/components/p-C9jNMqLs.js +2 -0
  620. package/dist/components/p-C9jNMqLs.js.map +1 -0
  621. package/dist/components/p-CAz7-p8y.js +2 -0
  622. package/dist/components/p-CAz7-p8y.js.map +1 -0
  623. package/dist/components/p-CC7AyfOt.js +2 -0
  624. package/dist/components/p-CC7AyfOt.js.map +1 -0
  625. package/dist/components/p-COAc4ZDB.js +2 -0
  626. package/dist/components/p-COAc4ZDB.js.map +1 -0
  627. package/dist/components/p-CSsYpnzu.js +2 -0
  628. package/dist/components/p-CSsYpnzu.js.map +1 -0
  629. package/dist/components/p-CkFjPRTe.js +7 -0
  630. package/dist/components/p-CkFjPRTe.js.map +1 -0
  631. package/dist/components/p-ClI1g7kx.js +2 -0
  632. package/dist/components/p-ClI1g7kx.js.map +1 -0
  633. package/dist/components/p-CmX-kVk-.js +2 -0
  634. package/dist/components/p-CmX-kVk-.js.map +1 -0
  635. package/dist/components/p-Cr6IXrUk.js +2 -0
  636. package/dist/components/p-Cr6IXrUk.js.map +1 -0
  637. package/dist/components/p-Cta76kgc.js +2 -0
  638. package/dist/components/p-Cta76kgc.js.map +1 -0
  639. package/dist/components/p-Cy_kHPeC.js +2 -0
  640. package/dist/components/p-Cy_kHPeC.js.map +1 -0
  641. package/dist/components/p-DSXauhXX.js +2 -0
  642. package/dist/components/p-DSXauhXX.js.map +1 -0
  643. package/dist/components/p-DToIJg5W.js +2 -0
  644. package/dist/components/p-DToIJg5W.js.map +1 -0
  645. package/dist/components/p-DVK0sUX2.js +2 -0
  646. package/dist/components/p-DVK0sUX2.js.map +1 -0
  647. package/dist/components/p-DfpCerXM.js +2 -0
  648. package/dist/components/p-DfpCerXM.js.map +1 -0
  649. package/dist/components/p-DhgtpS36.js +2 -0
  650. package/dist/components/p-DhgtpS36.js.map +1 -0
  651. package/dist/components/p-DkBJMi_M.js +2 -0
  652. package/dist/components/p-DkBJMi_M.js.map +1 -0
  653. package/dist/components/p-Dkd7BUB5.js +2 -0
  654. package/dist/components/p-Dkd7BUB5.js.map +1 -0
  655. package/dist/components/p-E7EWeR1F.js +2 -0
  656. package/dist/components/p-E7EWeR1F.js.map +1 -0
  657. package/dist/components/p-Fiuz9ck7.js +2 -0
  658. package/dist/components/p-Fiuz9ck7.js.map +1 -0
  659. package/dist/components/p-g4FlTDZx.js +2 -0
  660. package/dist/components/p-g4FlTDZx.js.map +1 -0
  661. package/dist/components/pf-accordion-item.d.ts +11 -0
  662. package/dist/components/pf-accordion-item.js +2 -0
  663. package/dist/components/pf-accordion-item.js.map +1 -0
  664. package/dist/components/pf-accordion.d.ts +11 -0
  665. package/dist/components/pf-accordion.js +2 -0
  666. package/dist/components/pf-accordion.js.map +1 -0
  667. package/dist/components/pf-alert.d.ts +11 -0
  668. package/dist/components/pf-alert.js +2 -0
  669. package/dist/components/pf-alert.js.map +1 -0
  670. package/dist/components/pf-avatar-group.d.ts +11 -0
  671. package/dist/components/pf-avatar-group.js +2 -0
  672. package/dist/components/pf-avatar-group.js.map +1 -0
  673. package/dist/components/pf-avatar.d.ts +11 -0
  674. package/dist/components/pf-avatar.js +2 -0
  675. package/dist/components/pf-avatar.js.map +1 -0
  676. package/dist/components/pf-badge-group.d.ts +11 -0
  677. package/dist/components/pf-badge-group.js +2 -0
  678. package/dist/components/pf-badge-group.js.map +1 -0
  679. package/dist/components/pf-badge.d.ts +11 -0
  680. package/dist/components/pf-badge.js +2 -0
  681. package/dist/components/pf-badge.js.map +1 -0
  682. package/dist/components/pf-bar-chart.d.ts +11 -0
  683. package/dist/components/pf-bar-chart.js +2 -0
  684. package/dist/components/pf-bar-chart.js.map +1 -0
  685. package/dist/components/pf-breadcrumb.d.ts +11 -0
  686. package/dist/components/pf-breadcrumb.js +2 -0
  687. package/dist/components/pf-breadcrumb.js.map +1 -0
  688. package/dist/components/pf-breadcrumbs.d.ts +11 -0
  689. package/dist/components/pf-breadcrumbs.js +2 -0
  690. package/dist/components/pf-breadcrumbs.js.map +1 -0
  691. package/dist/components/pf-button-group-item.d.ts +11 -0
  692. package/dist/components/pf-button-group-item.js +2 -0
  693. package/dist/components/pf-button-group-item.js.map +1 -0
  694. package/dist/components/pf-button-group.d.ts +11 -0
  695. package/dist/components/pf-button-group.js +2 -0
  696. package/dist/components/pf-button-group.js.map +1 -0
  697. package/dist/components/pf-button.d.ts +11 -0
  698. package/dist/components/pf-button.js +2 -0
  699. package/dist/components/pf-button.js.map +1 -0
  700. package/dist/components/pf-calendar.d.ts +11 -0
  701. package/dist/components/pf-calendar.js +2 -0
  702. package/dist/components/pf-calendar.js.map +1 -0
  703. package/dist/components/pf-card-content.d.ts +11 -0
  704. package/dist/components/pf-card-content.js +2 -0
  705. package/dist/components/pf-card-content.js.map +1 -0
  706. package/dist/components/pf-card-footer.d.ts +11 -0
  707. package/dist/components/pf-card-footer.js +2 -0
  708. package/dist/components/pf-card-footer.js.map +1 -0
  709. package/dist/components/pf-card-header.d.ts +11 -0
  710. package/dist/components/pf-card-header.js +2 -0
  711. package/dist/components/pf-card-header.js.map +1 -0
  712. package/dist/components/pf-card.d.ts +11 -0
  713. package/dist/components/pf-card.js +2 -0
  714. package/dist/components/pf-card.js.map +1 -0
  715. package/dist/components/pf-carousel-slide.d.ts +11 -0
  716. package/dist/components/pf-carousel-slide.js +2 -0
  717. package/dist/components/pf-carousel-slide.js.map +1 -0
  718. package/dist/components/pf-carousel.d.ts +11 -0
  719. package/dist/components/pf-carousel.js +2 -0
  720. package/dist/components/pf-carousel.js.map +1 -0
  721. package/dist/components/pf-chart-series.d.ts +11 -0
  722. package/dist/components/pf-chart-series.js +2 -0
  723. package/dist/components/pf-chart-series.js.map +1 -0
  724. package/dist/components/pf-checkbox.d.ts +11 -0
  725. package/dist/components/pf-checkbox.js +2 -0
  726. package/dist/components/pf-checkbox.js.map +1 -0
  727. package/dist/components/pf-code-snippet.d.ts +11 -0
  728. package/dist/components/pf-code-snippet.js +2 -0
  729. package/dist/components/pf-code-snippet.js.map +1 -0
  730. package/dist/components/pf-collapsible.d.ts +11 -0
  731. package/dist/components/pf-collapsible.js +2 -0
  732. package/dist/components/pf-collapsible.js.map +1 -0
  733. package/dist/components/pf-combobox.d.ts +11 -0
  734. package/dist/components/pf-combobox.js +2 -0
  735. package/dist/components/pf-combobox.js.map +1 -0
  736. package/dist/components/pf-command-group.d.ts +11 -0
  737. package/dist/components/pf-command-group.js +2 -0
  738. package/dist/components/pf-command-group.js.map +1 -0
  739. package/dist/components/pf-command-item.d.ts +11 -0
  740. package/dist/components/pf-command-item.js +2 -0
  741. package/dist/components/pf-command-item.js.map +1 -0
  742. package/dist/components/pf-command-palette.d.ts +11 -0
  743. package/dist/components/pf-command-palette.js +2 -0
  744. package/dist/components/pf-command-palette.js.map +1 -0
  745. package/dist/components/pf-content-divider.d.ts +11 -0
  746. package/dist/components/pf-content-divider.js +2 -0
  747. package/dist/components/pf-content-divider.js.map +1 -0
  748. package/dist/components/pf-context-menu.d.ts +11 -0
  749. package/dist/components/pf-context-menu.js +2 -0
  750. package/dist/components/pf-context-menu.js.map +1 -0
  751. package/dist/components/pf-credit-card.d.ts +11 -0
  752. package/dist/components/pf-credit-card.js +2 -0
  753. package/dist/components/pf-credit-card.js.map +1 -0
  754. package/dist/components/pf-date-picker.d.ts +11 -0
  755. package/dist/components/pf-date-picker.js +2 -0
  756. package/dist/components/pf-date-picker.js.map +1 -0
  757. package/dist/components/pf-date-range-picker.d.ts +11 -0
  758. package/dist/components/pf-date-range-picker.js +2 -0
  759. package/dist/components/pf-date-range-picker.js.map +1 -0
  760. package/dist/components/pf-dropdown.d.ts +11 -0
  761. package/dist/components/pf-dropdown.js +2 -0
  762. package/dist/components/pf-dropdown.js.map +1 -0
  763. package/dist/components/pf-empty-state.d.ts +11 -0
  764. package/dist/components/pf-empty-state.js +2 -0
  765. package/dist/components/pf-empty-state.js.map +1 -0
  766. package/dist/components/pf-file-uploader.d.ts +11 -0
  767. package/dist/components/pf-file-uploader.js +2 -0
  768. package/dist/components/pf-file-uploader.js.map +1 -0
  769. package/dist/components/pf-gauge-chart.d.ts +11 -0
  770. package/dist/components/pf-gauge-chart.js +2 -0
  771. package/dist/components/pf-gauge-chart.js.map +1 -0
  772. package/dist/components/pf-header-navigation.d.ts +11 -0
  773. package/dist/components/pf-header-navigation.js +2 -0
  774. package/dist/components/pf-header-navigation.js.map +1 -0
  775. package/dist/components/pf-heatmap.d.ts +11 -0
  776. package/dist/components/pf-heatmap.js +2 -0
  777. package/dist/components/pf-heatmap.js.map +1 -0
  778. package/dist/components/pf-icon.d.ts +11 -0
  779. package/dist/components/pf-icon.js +2 -0
  780. package/dist/components/pf-icon.js.map +1 -0
  781. package/dist/components/pf-inline-cta.d.ts +11 -0
  782. package/dist/components/pf-inline-cta.js +2 -0
  783. package/dist/components/pf-inline-cta.js.map +1 -0
  784. package/dist/components/pf-input.d.ts +11 -0
  785. package/dist/components/pf-input.js +2 -0
  786. package/dist/components/pf-input.js.map +1 -0
  787. package/dist/components/pf-kbd.d.ts +11 -0
  788. package/dist/components/pf-kbd.js +2 -0
  789. package/dist/components/pf-kbd.js.map +1 -0
  790. package/dist/components/pf-line-chart.d.ts +11 -0
  791. package/dist/components/pf-line-chart.js +2 -0
  792. package/dist/components/pf-line-chart.js.map +1 -0
  793. package/dist/components/pf-loading-dots.d.ts +11 -0
  794. package/dist/components/pf-loading-dots.js +2 -0
  795. package/dist/components/pf-loading-dots.js.map +1 -0
  796. package/dist/components/pf-loading-skeleton.d.ts +11 -0
  797. package/dist/components/pf-loading-skeleton.js +2 -0
  798. package/dist/components/pf-loading-skeleton.js.map +1 -0
  799. package/dist/components/pf-loading-spinner.d.ts +11 -0
  800. package/dist/components/pf-loading-spinner.js +2 -0
  801. package/dist/components/pf-loading-spinner.js.map +1 -0
  802. package/dist/components/pf-menu-item.d.ts +11 -0
  803. package/dist/components/pf-menu-item.js +2 -0
  804. package/dist/components/pf-menu-item.js.map +1 -0
  805. package/dist/components/pf-menu-separator.d.ts +11 -0
  806. package/dist/components/pf-menu-separator.js +2 -0
  807. package/dist/components/pf-menu-separator.js.map +1 -0
  808. package/dist/components/pf-metric-card.d.ts +11 -0
  809. package/dist/components/pf-metric-card.js +2 -0
  810. package/dist/components/pf-metric-card.js.map +1 -0
  811. package/dist/components/pf-metric-grid.d.ts +11 -0
  812. package/dist/components/pf-metric-grid.js +2 -0
  813. package/dist/components/pf-metric-grid.js.map +1 -0
  814. package/dist/components/pf-modal-body.d.ts +11 -0
  815. package/dist/components/pf-modal-body.js +2 -0
  816. package/dist/components/pf-modal-body.js.map +1 -0
  817. package/dist/components/pf-modal-footer.d.ts +11 -0
  818. package/dist/components/pf-modal-footer.js +2 -0
  819. package/dist/components/pf-modal-footer.js.map +1 -0
  820. package/dist/components/pf-modal-header.d.ts +11 -0
  821. package/dist/components/pf-modal-header.js +2 -0
  822. package/dist/components/pf-modal-header.js.map +1 -0
  823. package/dist/components/pf-modal.d.ts +11 -0
  824. package/dist/components/pf-modal.js +2 -0
  825. package/dist/components/pf-modal.js.map +1 -0
  826. package/dist/components/pf-multi-select.d.ts +11 -0
  827. package/dist/components/pf-multi-select.js +2 -0
  828. package/dist/components/pf-multi-select.js.map +1 -0
  829. package/dist/components/pf-nav-item.d.ts +11 -0
  830. package/dist/components/pf-nav-item.js +2 -0
  831. package/dist/components/pf-nav-item.js.map +1 -0
  832. package/dist/components/pf-nav-section.d.ts +11 -0
  833. package/dist/components/pf-nav-section.js +2 -0
  834. package/dist/components/pf-nav-section.js.map +1 -0
  835. package/dist/components/pf-notification.d.ts +11 -0
  836. package/dist/components/pf-notification.js +2 -0
  837. package/dist/components/pf-notification.js.map +1 -0
  838. package/dist/components/pf-number-input.d.ts +11 -0
  839. package/dist/components/pf-number-input.js +2 -0
  840. package/dist/components/pf-number-input.js.map +1 -0
  841. package/dist/components/pf-option.d.ts +11 -0
  842. package/dist/components/pf-option.js +2 -0
  843. package/dist/components/pf-option.js.map +1 -0
  844. package/dist/components/pf-page-header.d.ts +11 -0
  845. package/dist/components/pf-page-header.js +2 -0
  846. package/dist/components/pf-page-header.js.map +1 -0
  847. package/dist/components/pf-pagination.d.ts +11 -0
  848. package/dist/components/pf-pagination.js +2 -0
  849. package/dist/components/pf-pagination.js.map +1 -0
  850. package/dist/components/pf-pie-chart.d.ts +11 -0
  851. package/dist/components/pf-pie-chart.js +2 -0
  852. package/dist/components/pf-pie-chart.js.map +1 -0
  853. package/dist/components/pf-pie-slice.d.ts +11 -0
  854. package/dist/components/pf-pie-slice.js +2 -0
  855. package/dist/components/pf-pie-slice.js.map +1 -0
  856. package/dist/components/pf-popover.d.ts +11 -0
  857. package/dist/components/pf-popover.js +2 -0
  858. package/dist/components/pf-popover.js.map +1 -0
  859. package/dist/components/pf-progress-bar.d.ts +11 -0
  860. package/dist/components/pf-progress-bar.js +2 -0
  861. package/dist/components/pf-progress-bar.js.map +1 -0
  862. package/dist/components/pf-progress-circle.d.ts +11 -0
  863. package/dist/components/pf-progress-circle.js +2 -0
  864. package/dist/components/pf-progress-circle.js.map +1 -0
  865. package/dist/components/pf-progress-step.d.ts +11 -0
  866. package/dist/components/pf-progress-step.js +2 -0
  867. package/dist/components/pf-progress-step.js.map +1 -0
  868. package/dist/components/pf-progress-steps.d.ts +11 -0
  869. package/dist/components/pf-progress-steps.js +2 -0
  870. package/dist/components/pf-progress-steps.js.map +1 -0
  871. package/dist/components/pf-radar-axis.d.ts +11 -0
  872. package/dist/components/pf-radar-axis.js +2 -0
  873. package/dist/components/pf-radar-axis.js.map +1 -0
  874. package/dist/components/pf-radar-chart.d.ts +11 -0
  875. package/dist/components/pf-radar-chart.js +2 -0
  876. package/dist/components/pf-radar-chart.js.map +1 -0
  877. package/dist/components/pf-radio-button.d.ts +11 -0
  878. package/dist/components/pf-radio-button.js +2 -0
  879. package/dist/components/pf-radio-button.js.map +1 -0
  880. package/dist/components/pf-radio-group.d.ts +11 -0
  881. package/dist/components/pf-radio-group.js +2 -0
  882. package/dist/components/pf-radio-group.js.map +1 -0
  883. package/dist/components/pf-rating-badge.d.ts +11 -0
  884. package/dist/components/pf-rating-badge.js +2 -0
  885. package/dist/components/pf-rating-badge.js.map +1 -0
  886. package/dist/components/pf-rating-stars.d.ts +11 -0
  887. package/dist/components/pf-rating-stars.js +2 -0
  888. package/dist/components/pf-rating-stars.js.map +1 -0
  889. package/dist/components/pf-resizable.d.ts +11 -0
  890. package/dist/components/pf-resizable.js +2 -0
  891. package/dist/components/pf-resizable.js.map +1 -0
  892. package/dist/components/pf-rich-text-editor.d.ts +11 -0
  893. package/dist/components/pf-rich-text-editor.js +2 -0
  894. package/dist/components/pf-rich-text-editor.js.map +1 -0
  895. package/dist/components/pf-scroll-area.d.ts +11 -0
  896. package/dist/components/pf-scroll-area.js +2 -0
  897. package/dist/components/pf-scroll-area.js.map +1 -0
  898. package/dist/components/pf-section-footer.d.ts +11 -0
  899. package/dist/components/pf-section-footer.js +2 -0
  900. package/dist/components/pf-section-footer.js.map +1 -0
  901. package/dist/components/pf-section-header.d.ts +11 -0
  902. package/dist/components/pf-section-header.js +2 -0
  903. package/dist/components/pf-section-header.js.map +1 -0
  904. package/dist/components/pf-select.d.ts +11 -0
  905. package/dist/components/pf-select.js +2 -0
  906. package/dist/components/pf-select.js.map +1 -0
  907. package/dist/components/pf-sidebar-navigation.d.ts +11 -0
  908. package/dist/components/pf-sidebar-navigation.js +2 -0
  909. package/dist/components/pf-sidebar-navigation.js.map +1 -0
  910. package/dist/components/pf-slideout-menu.d.ts +11 -0
  911. package/dist/components/pf-slideout-menu.js +2 -0
  912. package/dist/components/pf-slideout-menu.js.map +1 -0
  913. package/dist/components/pf-slider.d.ts +11 -0
  914. package/dist/components/pf-slider.js +2 -0
  915. package/dist/components/pf-slider.js.map +1 -0
  916. package/dist/components/pf-sparkline.d.ts +11 -0
  917. package/dist/components/pf-sparkline.js +2 -0
  918. package/dist/components/pf-sparkline.js.map +1 -0
  919. package/dist/components/pf-switch.d.ts +11 -0
  920. package/dist/components/pf-switch.js +2 -0
  921. package/dist/components/pf-switch.js.map +1 -0
  922. package/dist/components/pf-tab-panel.d.ts +11 -0
  923. package/dist/components/pf-tab-panel.js +2 -0
  924. package/dist/components/pf-tab-panel.js.map +1 -0
  925. package/dist/components/pf-tab.d.ts +11 -0
  926. package/dist/components/pf-tab.js +2 -0
  927. package/dist/components/pf-tab.js.map +1 -0
  928. package/dist/components/pf-table-cell.d.ts +11 -0
  929. package/dist/components/pf-table-cell.js +2 -0
  930. package/dist/components/pf-table-cell.js.map +1 -0
  931. package/dist/components/pf-table-row.d.ts +11 -0
  932. package/dist/components/pf-table-row.js +2 -0
  933. package/dist/components/pf-table-row.js.map +1 -0
  934. package/dist/components/pf-table.d.ts +11 -0
  935. package/dist/components/pf-table.js +2 -0
  936. package/dist/components/pf-table.js.map +1 -0
  937. package/dist/components/pf-tabs.d.ts +11 -0
  938. package/dist/components/pf-tabs.js +2 -0
  939. package/dist/components/pf-tabs.js.map +1 -0
  940. package/dist/components/pf-tag-input.d.ts +11 -0
  941. package/dist/components/pf-tag-input.js +2 -0
  942. package/dist/components/pf-tag-input.js.map +1 -0
  943. package/dist/components/pf-tag.d.ts +11 -0
  944. package/dist/components/pf-tag.js +2 -0
  945. package/dist/components/pf-tag.js.map +1 -0
  946. package/dist/components/pf-textarea.d.ts +11 -0
  947. package/dist/components/pf-textarea.js +2 -0
  948. package/dist/components/pf-textarea.js.map +1 -0
  949. package/dist/components/pf-time-picker.d.ts +11 -0
  950. package/dist/components/pf-time-picker.js +2 -0
  951. package/dist/components/pf-time-picker.js.map +1 -0
  952. package/dist/components/pf-timeline-item.d.ts +11 -0
  953. package/dist/components/pf-timeline-item.js +2 -0
  954. package/dist/components/pf-timeline-item.js.map +1 -0
  955. package/dist/components/pf-timeline.d.ts +11 -0
  956. package/dist/components/pf-timeline.js +2 -0
  957. package/dist/components/pf-timeline.js.map +1 -0
  958. package/dist/components/pf-toaster.d.ts +11 -0
  959. package/dist/components/pf-toaster.js +2 -0
  960. package/dist/components/pf-toaster.js.map +1 -0
  961. package/dist/components/pf-toolbar-separator.d.ts +11 -0
  962. package/dist/components/pf-toolbar-separator.js +2 -0
  963. package/dist/components/pf-toolbar-separator.js.map +1 -0
  964. package/dist/components/pf-toolbar.d.ts +11 -0
  965. package/dist/components/pf-toolbar.js +2 -0
  966. package/dist/components/pf-toolbar.js.map +1 -0
  967. package/dist/components/pf-tooltip.d.ts +11 -0
  968. package/dist/components/pf-tooltip.js +2 -0
  969. package/dist/components/pf-tooltip.js.map +1 -0
  970. package/dist/components/pf-tree-item.d.ts +11 -0
  971. package/dist/components/pf-tree-item.js +2 -0
  972. package/dist/components/pf-tree-item.js.map +1 -0
  973. package/dist/components/pf-tree-view.d.ts +11 -0
  974. package/dist/components/pf-tree-view.js +2 -0
  975. package/dist/components/pf-tree-view.js.map +1 -0
  976. package/dist/components/pf-utility-button.d.ts +11 -0
  977. package/dist/components/pf-utility-button.js +2 -0
  978. package/dist/components/pf-utility-button.js.map +1 -0
  979. package/dist/components/pf-video-player.d.ts +11 -0
  980. package/dist/components/pf-video-player.js +2 -0
  981. package/dist/components/pf-video-player.js.map +1 -0
  982. package/dist/components/pf-visually-hidden.d.ts +11 -0
  983. package/dist/components/pf-visually-hidden.js +2 -0
  984. package/dist/components/pf-visually-hidden.js.map +1 -0
  985. package/dist/docs.d.ts +480 -0
  986. package/dist/docs.json +26373 -0
  987. package/dist/elements.json +10049 -0
  988. package/dist/esm/aria-DfpCerXM.js +22 -0
  989. package/dist/esm/aria-DfpCerXM.js.map +1 -0
  990. package/dist/esm/cartesian-rMXGMSEx.js +184 -0
  991. package/dist/esm/cartesian-rMXGMSEx.js.map +1 -0
  992. package/dist/esm/command-Dkd7BUB5.js +39 -0
  993. package/dist/esm/command-Dkd7BUB5.js.map +1 -0
  994. package/dist/esm/control-label-Cy_kHPeC.js +34 -0
  995. package/dist/esm/control-label-Cy_kHPeC.js.map +1 -0
  996. package/dist/esm/date-C9jNMqLs.js +154 -0
  997. package/dist/esm/date-C9jNMqLs.js.map +1 -0
  998. package/dist/esm/form-validity-Cr6IXrUk.js +35 -0
  999. package/dist/esm/form-validity-Cr6IXrUk.js.map +1 -0
  1000. package/dist/esm/icons-CCln56Fj.js +75 -0
  1001. package/dist/esm/icons-CCln56Fj.js.map +1 -0
  1002. package/dist/esm/index-Bm6UxEit.js +2279 -0
  1003. package/dist/esm/index-Bm6UxEit.js.map +1 -0
  1004. package/dist/esm/index.js +4 -0
  1005. package/dist/esm/index.js.map +1 -0
  1006. package/dist/esm/keys-g4FlTDZx.js +17 -0
  1007. package/dist/esm/keys-g4FlTDZx.js.map +1 -0
  1008. package/dist/esm/loader.js +13 -0
  1009. package/dist/esm/loader.js.map +1 -0
  1010. package/dist/esm/motion-Cta76kgc.js +43 -0
  1011. package/dist/esm/motion-Cta76kgc.js.map +1 -0
  1012. package/dist/esm/nav-DToIJg5W.js +25 -0
  1013. package/dist/esm/nav-DToIJg5W.js.map +1 -0
  1014. package/dist/esm/navigation-CAz7-p8y.js +32 -0
  1015. package/dist/esm/navigation-CAz7-p8y.js.map +1 -0
  1016. package/dist/esm/number-field-DSXauhXX.js +70 -0
  1017. package/dist/esm/number-field-DSXauhXX.js.map +1 -0
  1018. package/dist/esm/pf-accordion-item.entry.js +60 -0
  1019. package/dist/esm/pf-accordion-item.entry.js.map +1 -0
  1020. package/dist/esm/pf-accordion.entry.js +144 -0
  1021. package/dist/esm/pf-accordion.entry.js.map +1 -0
  1022. package/dist/esm/pf-alert.entry.js +65 -0
  1023. package/dist/esm/pf-alert.entry.js.map +1 -0
  1024. package/dist/esm/pf-avatar-group.entry.js +118 -0
  1025. package/dist/esm/pf-avatar-group.entry.js.map +1 -0
  1026. package/dist/esm/pf-avatar.entry.js +28 -0
  1027. package/dist/esm/pf-avatar.entry.js.map +1 -0
  1028. package/dist/esm/pf-badge-group.entry.js +34 -0
  1029. package/dist/esm/pf-badge-group.entry.js.map +1 -0
  1030. package/dist/esm/pf-badge.entry.js +20 -0
  1031. package/dist/esm/pf-badge.entry.js.map +1 -0
  1032. package/dist/esm/pf-bar-chart.entry.js +110 -0
  1033. package/dist/esm/pf-bar-chart.entry.js.map +1 -0
  1034. package/dist/esm/pf-breadcrumb.entry.js +41 -0
  1035. package/dist/esm/pf-breadcrumb.entry.js.map +1 -0
  1036. package/dist/esm/pf-breadcrumbs.entry.js +94 -0
  1037. package/dist/esm/pf-breadcrumbs.entry.js.map +1 -0
  1038. package/dist/esm/pf-button-group-item.entry.js +49 -0
  1039. package/dist/esm/pf-button-group-item.entry.js.map +1 -0
  1040. package/dist/esm/pf-button-group.entry.js +100 -0
  1041. package/dist/esm/pf-button-group.entry.js.map +1 -0
  1042. package/dist/esm/pf-button.entry.js +41 -0
  1043. package/dist/esm/pf-button.entry.js.map +1 -0
  1044. package/dist/esm/pf-calendar.entry.js +220 -0
  1045. package/dist/esm/pf-calendar.entry.js.map +1 -0
  1046. package/dist/esm/pf-card-content.entry.js +18 -0
  1047. package/dist/esm/pf-card-content.entry.js.map +1 -0
  1048. package/dist/esm/pf-card-footer.entry.js +18 -0
  1049. package/dist/esm/pf-card-footer.entry.js.map +1 -0
  1050. package/dist/esm/pf-card-header.entry.js +18 -0
  1051. package/dist/esm/pf-card-header.entry.js.map +1 -0
  1052. package/dist/esm/pf-card.entry.js +18 -0
  1053. package/dist/esm/pf-card.entry.js.map +1 -0
  1054. package/dist/esm/pf-carousel-slide.entry.js +31 -0
  1055. package/dist/esm/pf-carousel-slide.entry.js.map +1 -0
  1056. package/dist/esm/pf-carousel.entry.js +168 -0
  1057. package/dist/esm/pf-carousel.entry.js.map +1 -0
  1058. package/dist/esm/pf-chart-series.entry.js +31 -0
  1059. package/dist/esm/pf-chart-series.entry.js.map +1 -0
  1060. package/dist/esm/pf-checkbox.entry.js +110 -0
  1061. package/dist/esm/pf-checkbox.entry.js.map +1 -0
  1062. package/dist/esm/pf-code-snippet.entry.js +155 -0
  1063. package/dist/esm/pf-code-snippet.entry.js.map +1 -0
  1064. package/dist/esm/pf-collapsible.entry.js +74 -0
  1065. package/dist/esm/pf-collapsible.entry.js.map +1 -0
  1066. package/dist/esm/pf-combobox.entry.js +338 -0
  1067. package/dist/esm/pf-combobox.entry.js.map +1 -0
  1068. package/dist/esm/pf-command-group.entry.js +20 -0
  1069. package/dist/esm/pf-command-group.entry.js.map +1 -0
  1070. package/dist/esm/pf-command-item.entry.js +48 -0
  1071. package/dist/esm/pf-command-item.entry.js.map +1 -0
  1072. package/dist/esm/pf-command-palette.entry.js +271 -0
  1073. package/dist/esm/pf-command-palette.entry.js.map +1 -0
  1074. package/dist/esm/pf-content-divider.entry.js +53 -0
  1075. package/dist/esm/pf-content-divider.entry.js.map +1 -0
  1076. package/dist/esm/pf-context-menu.entry.js +157 -0
  1077. package/dist/esm/pf-context-menu.entry.js.map +1 -0
  1078. package/dist/esm/pf-credit-card.entry.js +38 -0
  1079. package/dist/esm/pf-credit-card.entry.js.map +1 -0
  1080. package/dist/esm/pf-date-picker.entry.js +240 -0
  1081. package/dist/esm/pf-date-picker.entry.js.map +1 -0
  1082. package/dist/esm/pf-date-range-picker.entry.js +475 -0
  1083. package/dist/esm/pf-date-range-picker.entry.js.map +1 -0
  1084. package/dist/esm/pf-dropdown.entry.js +181 -0
  1085. package/dist/esm/pf-dropdown.entry.js.map +1 -0
  1086. package/dist/esm/pf-empty-state.entry.js +53 -0
  1087. package/dist/esm/pf-empty-state.entry.js.map +1 -0
  1088. package/dist/esm/pf-file-uploader.entry.js +310 -0
  1089. package/dist/esm/pf-file-uploader.entry.js.map +1 -0
  1090. package/dist/esm/pf-gauge-chart.entry.js +39 -0
  1091. package/dist/esm/pf-gauge-chart.entry.js.map +1 -0
  1092. package/dist/esm/pf-header-navigation.entry.js +87 -0
  1093. package/dist/esm/pf-header-navigation.entry.js.map +1 -0
  1094. package/dist/esm/pf-heatmap.entry.js +250 -0
  1095. package/dist/esm/pf-heatmap.entry.js.map +1 -0
  1096. package/dist/esm/pf-icon.entry.js +325 -0
  1097. package/dist/esm/pf-icon.entry.js.map +1 -0
  1098. package/dist/esm/pf-inline-cta.entry.js +84 -0
  1099. package/dist/esm/pf-inline-cta.entry.js.map +1 -0
  1100. package/dist/esm/pf-input.entry.js +122 -0
  1101. package/dist/esm/pf-input.entry.js.map +1 -0
  1102. package/dist/esm/pf-kbd.entry.js +25 -0
  1103. package/dist/esm/pf-kbd.entry.js.map +1 -0
  1104. package/dist/esm/pf-line-chart.entry.js +115 -0
  1105. package/dist/esm/pf-line-chart.entry.js.map +1 -0
  1106. package/dist/esm/pf-loading-dots.entry.js +22 -0
  1107. package/dist/esm/pf-loading-dots.entry.js.map +1 -0
  1108. package/dist/esm/pf-loading-skeleton.entry.js +41 -0
  1109. package/dist/esm/pf-loading-skeleton.entry.js.map +1 -0
  1110. package/dist/esm/pf-loading-spinner.entry.js +28 -0
  1111. package/dist/esm/pf-loading-spinner.entry.js.map +1 -0
  1112. package/dist/esm/pf-menu-item.entry.js +55 -0
  1113. package/dist/esm/pf-menu-item.entry.js.map +1 -0
  1114. package/dist/esm/pf-menu-separator.entry.js +18 -0
  1115. package/dist/esm/pf-menu-separator.entry.js.map +1 -0
  1116. package/dist/esm/pf-metric-card.entry.js +52 -0
  1117. package/dist/esm/pf-metric-card.entry.js.map +1 -0
  1118. package/dist/esm/pf-metric-grid.entry.js +18 -0
  1119. package/dist/esm/pf-metric-grid.entry.js.map +1 -0
  1120. package/dist/esm/pf-modal-body.entry.js +18 -0
  1121. package/dist/esm/pf-modal-body.entry.js.map +1 -0
  1122. package/dist/esm/pf-modal-footer.entry.js +18 -0
  1123. package/dist/esm/pf-modal-footer.entry.js.map +1 -0
  1124. package/dist/esm/pf-modal-header.entry.js +18 -0
  1125. package/dist/esm/pf-modal-header.entry.js.map +1 -0
  1126. package/dist/esm/pf-modal.entry.js +227 -0
  1127. package/dist/esm/pf-modal.entry.js.map +1 -0
  1128. package/dist/esm/pf-multi-select.entry.js +315 -0
  1129. package/dist/esm/pf-multi-select.entry.js.map +1 -0
  1130. package/dist/esm/pf-nav-item.entry.js +81 -0
  1131. package/dist/esm/pf-nav-item.entry.js.map +1 -0
  1132. package/dist/esm/pf-nav-section.entry.js +52 -0
  1133. package/dist/esm/pf-nav-section.entry.js.map +1 -0
  1134. package/dist/esm/pf-notification.entry.js +66 -0
  1135. package/dist/esm/pf-notification.entry.js.map +1 -0
  1136. package/dist/esm/pf-number-input.entry.js +191 -0
  1137. package/dist/esm/pf-number-input.entry.js.map +1 -0
  1138. package/dist/esm/pf-option.entry.js +48 -0
  1139. package/dist/esm/pf-option.entry.js.map +1 -0
  1140. package/dist/esm/pf-page-header.entry.js +33 -0
  1141. package/dist/esm/pf-page-header.entry.js.map +1 -0
  1142. package/dist/esm/pf-pagination.entry.js +111 -0
  1143. package/dist/esm/pf-pagination.entry.js.map +1 -0
  1144. package/dist/esm/pf-pie-chart.entry.js +92 -0
  1145. package/dist/esm/pf-pie-chart.entry.js.map +1 -0
  1146. package/dist/esm/pf-pie-slice.entry.js +34 -0
  1147. package/dist/esm/pf-pie-slice.entry.js.map +1 -0
  1148. package/dist/esm/pf-popover.entry.js +155 -0
  1149. package/dist/esm/pf-popover.entry.js.map +1 -0
  1150. package/dist/esm/pf-progress-bar.entry.js +30 -0
  1151. package/dist/esm/pf-progress-bar.entry.js.map +1 -0
  1152. package/dist/esm/pf-progress-circle.entry.js +38 -0
  1153. package/dist/esm/pf-progress-circle.entry.js.map +1 -0
  1154. package/dist/esm/pf-progress-step.entry.js +40 -0
  1155. package/dist/esm/pf-progress-step.entry.js.map +1 -0
  1156. package/dist/esm/pf-progress-steps.entry.js +97 -0
  1157. package/dist/esm/pf-progress-steps.entry.js.map +1 -0
  1158. package/dist/esm/pf-radar-axis.entry.js +31 -0
  1159. package/dist/esm/pf-radar-axis.entry.js.map +1 -0
  1160. package/dist/esm/pf-radar-chart.entry.js +183 -0
  1161. package/dist/esm/pf-radar-chart.entry.js.map +1 -0
  1162. package/dist/esm/pf-radio-button.entry.js +71 -0
  1163. package/dist/esm/pf-radio-button.entry.js.map +1 -0
  1164. package/dist/esm/pf-radio-group.entry.js +172 -0
  1165. package/dist/esm/pf-radio-group.entry.js.map +1 -0
  1166. package/dist/esm/pf-rating-badge.entry.js +33 -0
  1167. package/dist/esm/pf-rating-badge.entry.js.map +1 -0
  1168. package/dist/esm/pf-rating-stars.entry.js +44 -0
  1169. package/dist/esm/pf-rating-stars.entry.js.map +1 -0
  1170. package/dist/esm/pf-resizable.entry.js +203 -0
  1171. package/dist/esm/pf-resizable.entry.js.map +1 -0
  1172. package/dist/esm/pf-rich-text-editor.entry.js +259 -0
  1173. package/dist/esm/pf-rich-text-editor.entry.js.map +1 -0
  1174. package/dist/esm/pf-scroll-area.entry.js +41 -0
  1175. package/dist/esm/pf-scroll-area.entry.js.map +1 -0
  1176. package/dist/esm/pf-section-footer.entry.js +39 -0
  1177. package/dist/esm/pf-section-footer.entry.js.map +1 -0
  1178. package/dist/esm/pf-section-header.entry.js +35 -0
  1179. package/dist/esm/pf-section-header.entry.js.map +1 -0
  1180. package/dist/esm/pf-select.entry.js +411 -0
  1181. package/dist/esm/pf-select.entry.js.map +1 -0
  1182. package/dist/esm/pf-sidebar-navigation.entry.js +104 -0
  1183. package/dist/esm/pf-sidebar-navigation.entry.js.map +1 -0
  1184. package/dist/esm/pf-slideout-menu.entry.js +153 -0
  1185. package/dist/esm/pf-slideout-menu.entry.js.map +1 -0
  1186. package/dist/esm/pf-slider.entry.js +125 -0
  1187. package/dist/esm/pf-slider.entry.js.map +1 -0
  1188. package/dist/esm/pf-sparkline.entry.js +121 -0
  1189. package/dist/esm/pf-sparkline.entry.js.map +1 -0
  1190. package/dist/esm/pf-switch.entry.js +110 -0
  1191. package/dist/esm/pf-switch.entry.js.map +1 -0
  1192. package/dist/esm/pf-tab-panel.entry.js +39 -0
  1193. package/dist/esm/pf-tab-panel.entry.js.map +1 -0
  1194. package/dist/esm/pf-tab.entry.js +94 -0
  1195. package/dist/esm/pf-tab.entry.js.map +1 -0
  1196. package/dist/esm/pf-table-cell.entry.js +48 -0
  1197. package/dist/esm/pf-table-cell.entry.js.map +1 -0
  1198. package/dist/esm/pf-table-row.entry.js +49 -0
  1199. package/dist/esm/pf-table-row.entry.js.map +1 -0
  1200. package/dist/esm/pf-table.entry.js +143 -0
  1201. package/dist/esm/pf-table.entry.js.map +1 -0
  1202. package/dist/esm/pf-tabs.entry.js +340 -0
  1203. package/dist/esm/pf-tabs.entry.js.map +1 -0
  1204. package/dist/esm/pf-tag-input.entry.js +198 -0
  1205. package/dist/esm/pf-tag-input.entry.js.map +1 -0
  1206. package/dist/esm/pf-tag.entry.js +30 -0
  1207. package/dist/esm/pf-tag.entry.js.map +1 -0
  1208. package/dist/esm/pf-textarea.entry.js +139 -0
  1209. package/dist/esm/pf-textarea.entry.js.map +1 -0
  1210. package/dist/esm/pf-time-picker.entry.js +327 -0
  1211. package/dist/esm/pf-time-picker.entry.js.map +1 -0
  1212. package/dist/esm/pf-timeline-item.entry.js +44 -0
  1213. package/dist/esm/pf-timeline-item.entry.js.map +1 -0
  1214. package/dist/esm/pf-timeline.entry.js +53 -0
  1215. package/dist/esm/pf-timeline.entry.js.map +1 -0
  1216. package/dist/esm/pf-toaster.entry.js +88 -0
  1217. package/dist/esm/pf-toaster.entry.js.map +1 -0
  1218. package/dist/esm/pf-toolbar-separator.entry.js +20 -0
  1219. package/dist/esm/pf-toolbar-separator.entry.js.map +1 -0
  1220. package/dist/esm/pf-toolbar.entry.js +73 -0
  1221. package/dist/esm/pf-toolbar.entry.js.map +1 -0
  1222. package/dist/esm/pf-tooltip.entry.js +177 -0
  1223. package/dist/esm/pf-tooltip.entry.js.map +1 -0
  1224. package/dist/esm/pf-tree-item.entry.js +79 -0
  1225. package/dist/esm/pf-tree-item.entry.js.map +1 -0
  1226. package/dist/esm/pf-tree-view.entry.js +340 -0
  1227. package/dist/esm/pf-tree-view.entry.js.map +1 -0
  1228. package/dist/esm/pf-utility-button.entry.js +54 -0
  1229. package/dist/esm/pf-utility-button.entry.js.map +1 -0
  1230. package/dist/esm/pf-video-player.entry.js +60 -0
  1231. package/dist/esm/pf-video-player.entry.js.map +1 -0
  1232. package/dist/esm/pf-visually-hidden.entry.js +23 -0
  1233. package/dist/esm/pf-visually-hidden.entry.js.map +1 -0
  1234. package/dist/esm/pie-COAc4ZDB.js +111 -0
  1235. package/dist/esm/pie-COAc4ZDB.js.map +1 -0
  1236. package/dist/esm/pitchfork.js +23 -0
  1237. package/dist/esm/pitchfork.js.map +1 -0
  1238. package/dist/esm/place-popover-CC7AyfOt.js +195 -0
  1239. package/dist/esm/place-popover-CC7AyfOt.js.map +1 -0
  1240. package/dist/esm/progress-BA6CMosJ.js +80 -0
  1241. package/dist/esm/progress-BA6CMosJ.js.map +1 -0
  1242. package/dist/esm/rating-DVK0sUX2.js +52 -0
  1243. package/dist/esm/rating-DVK0sUX2.js.map +1 -0
  1244. package/dist/esm/roving-BzRAGyFO.js +67 -0
  1245. package/dist/esm/roving-BzRAGyFO.js.map +1 -0
  1246. package/dist/esm/scroll-lock-C-VLyxRR.js +44 -0
  1247. package/dist/esm/scroll-lock-C-VLyxRR.js.map +1 -0
  1248. package/dist/esm/text-B8ulhYUJ.js +54 -0
  1249. package/dist/esm/text-B8ulhYUJ.js.map +1 -0
  1250. package/dist/esm/value-list-BmcsJLdy.js +100 -0
  1251. package/dist/esm/value-list-BmcsJLdy.js.map +1 -0
  1252. package/dist/index.cjs.js +1 -0
  1253. package/dist/index.js +1 -0
  1254. package/dist/pitchfork/index.esm.js +2 -0
  1255. package/dist/pitchfork/index.esm.js.map +1 -0
  1256. package/dist/pitchfork/p-01ed0d56.entry.js +2 -0
  1257. package/dist/pitchfork/p-01ed0d56.entry.js.map +1 -0
  1258. package/dist/pitchfork/p-02e28338.entry.js +2 -0
  1259. package/dist/pitchfork/p-02e28338.entry.js.map +1 -0
  1260. package/dist/pitchfork/p-03db6bae.entry.js +2 -0
  1261. package/dist/pitchfork/p-03db6bae.entry.js.map +1 -0
  1262. package/dist/pitchfork/p-04869bdc.entry.js +2 -0
  1263. package/dist/pitchfork/p-04869bdc.entry.js.map +1 -0
  1264. package/dist/pitchfork/p-068baf6d.entry.js +2 -0
  1265. package/dist/pitchfork/p-068baf6d.entry.js.map +1 -0
  1266. package/dist/pitchfork/p-0bbec059.entry.js +2 -0
  1267. package/dist/pitchfork/p-0bbec059.entry.js.map +1 -0
  1268. package/dist/pitchfork/p-1133b2fa.entry.js +2 -0
  1269. package/dist/pitchfork/p-1133b2fa.entry.js.map +1 -0
  1270. package/dist/pitchfork/p-19c0145c.entry.js +2 -0
  1271. package/dist/pitchfork/p-19c0145c.entry.js.map +1 -0
  1272. package/dist/pitchfork/p-1bb6b456.entry.js +2 -0
  1273. package/dist/pitchfork/p-1bb6b456.entry.js.map +1 -0
  1274. package/dist/pitchfork/p-1bc87b8c.entry.js +2 -0
  1275. package/dist/pitchfork/p-1bc87b8c.entry.js.map +1 -0
  1276. package/dist/pitchfork/p-1e171d52.entry.js +2 -0
  1277. package/dist/pitchfork/p-1e171d52.entry.js.map +1 -0
  1278. package/dist/pitchfork/p-1e7e8d25.entry.js +2 -0
  1279. package/dist/pitchfork/p-1e7e8d25.entry.js.map +1 -0
  1280. package/dist/pitchfork/p-1fa3b37b.entry.js +2 -0
  1281. package/dist/pitchfork/p-1fa3b37b.entry.js.map +1 -0
  1282. package/dist/pitchfork/p-22c7e5b4.entry.js +2 -0
  1283. package/dist/pitchfork/p-22c7e5b4.entry.js.map +1 -0
  1284. package/dist/pitchfork/p-22d8c69d.entry.js +2 -0
  1285. package/dist/pitchfork/p-22d8c69d.entry.js.map +1 -0
  1286. package/dist/pitchfork/p-248bd301.entry.js +2 -0
  1287. package/dist/pitchfork/p-248bd301.entry.js.map +1 -0
  1288. package/dist/pitchfork/p-2577564c.entry.js +7 -0
  1289. package/dist/pitchfork/p-2577564c.entry.js.map +1 -0
  1290. package/dist/pitchfork/p-25d0a34b.entry.js +2 -0
  1291. package/dist/pitchfork/p-25d0a34b.entry.js.map +1 -0
  1292. package/dist/pitchfork/p-26e119df.entry.js +2 -0
  1293. package/dist/pitchfork/p-26e119df.entry.js.map +1 -0
  1294. package/dist/pitchfork/p-2798795f.entry.js +2 -0
  1295. package/dist/pitchfork/p-2798795f.entry.js.map +1 -0
  1296. package/dist/pitchfork/p-2add2e98.entry.js +2 -0
  1297. package/dist/pitchfork/p-2add2e98.entry.js.map +1 -0
  1298. package/dist/pitchfork/p-3133eb1a.entry.js +2 -0
  1299. package/dist/pitchfork/p-3133eb1a.entry.js.map +1 -0
  1300. package/dist/pitchfork/p-31e0fbc7.entry.js +2 -0
  1301. package/dist/pitchfork/p-31e0fbc7.entry.js.map +1 -0
  1302. package/dist/pitchfork/p-34f2df95.entry.js +2 -0
  1303. package/dist/pitchfork/p-34f2df95.entry.js.map +1 -0
  1304. package/dist/pitchfork/p-37ee290d.entry.js +2 -0
  1305. package/dist/pitchfork/p-37ee290d.entry.js.map +1 -0
  1306. package/dist/pitchfork/p-3843faa6.entry.js +2 -0
  1307. package/dist/pitchfork/p-3843faa6.entry.js.map +1 -0
  1308. package/dist/pitchfork/p-3cd7d421.entry.js +2 -0
  1309. package/dist/pitchfork/p-3cd7d421.entry.js.map +1 -0
  1310. package/dist/pitchfork/p-3fd3444b.entry.js +2 -0
  1311. package/dist/pitchfork/p-3fd3444b.entry.js.map +1 -0
  1312. package/dist/pitchfork/p-41d997d9.entry.js +2 -0
  1313. package/dist/pitchfork/p-41d997d9.entry.js.map +1 -0
  1314. package/dist/pitchfork/p-4217a92a.entry.js +2 -0
  1315. package/dist/pitchfork/p-4217a92a.entry.js.map +1 -0
  1316. package/dist/pitchfork/p-43c103bb.entry.js +2 -0
  1317. package/dist/pitchfork/p-43c103bb.entry.js.map +1 -0
  1318. package/dist/pitchfork/p-45039de3.entry.js +2 -0
  1319. package/dist/pitchfork/p-45039de3.entry.js.map +1 -0
  1320. package/dist/pitchfork/p-4959a556.entry.js +2 -0
  1321. package/dist/pitchfork/p-4959a556.entry.js.map +1 -0
  1322. package/dist/pitchfork/p-4b05851a.entry.js +2 -0
  1323. package/dist/pitchfork/p-4b05851a.entry.js.map +1 -0
  1324. package/dist/pitchfork/p-4b16ef92.entry.js +2 -0
  1325. package/dist/pitchfork/p-4b16ef92.entry.js.map +1 -0
  1326. package/dist/pitchfork/p-4b7c186f.entry.js +2 -0
  1327. package/dist/pitchfork/p-4b7c186f.entry.js.map +1 -0
  1328. package/dist/pitchfork/p-4df4eed8.entry.js +2 -0
  1329. package/dist/pitchfork/p-4df4eed8.entry.js.map +1 -0
  1330. package/dist/pitchfork/p-4dfe7e8a.entry.js +2 -0
  1331. package/dist/pitchfork/p-4dfe7e8a.entry.js.map +1 -0
  1332. package/dist/pitchfork/p-4e785310.entry.js +2 -0
  1333. package/dist/pitchfork/p-4e785310.entry.js.map +1 -0
  1334. package/dist/pitchfork/p-4e7c51e4.entry.js +2 -0
  1335. package/dist/pitchfork/p-4e7c51e4.entry.js.map +1 -0
  1336. package/dist/pitchfork/p-50ad12be.entry.js +2 -0
  1337. package/dist/pitchfork/p-50ad12be.entry.js.map +1 -0
  1338. package/dist/pitchfork/p-51353d53.entry.js +2 -0
  1339. package/dist/pitchfork/p-51353d53.entry.js.map +1 -0
  1340. package/dist/pitchfork/p-51528462.entry.js +2 -0
  1341. package/dist/pitchfork/p-51528462.entry.js.map +1 -0
  1342. package/dist/pitchfork/p-578db1a6.entry.js +2 -0
  1343. package/dist/pitchfork/p-578db1a6.entry.js.map +1 -0
  1344. package/dist/pitchfork/p-5b98848c.entry.js +2 -0
  1345. package/dist/pitchfork/p-5b98848c.entry.js.map +1 -0
  1346. package/dist/pitchfork/p-6066ce98.entry.js +2 -0
  1347. package/dist/pitchfork/p-6066ce98.entry.js.map +1 -0
  1348. package/dist/pitchfork/p-643f7e00.entry.js +2 -0
  1349. package/dist/pitchfork/p-643f7e00.entry.js.map +1 -0
  1350. package/dist/pitchfork/p-685f817b.entry.js +2 -0
  1351. package/dist/pitchfork/p-685f817b.entry.js.map +1 -0
  1352. package/dist/pitchfork/p-69d27f61.entry.js +2 -0
  1353. package/dist/pitchfork/p-69d27f61.entry.js.map +1 -0
  1354. package/dist/pitchfork/p-6cfacd82.entry.js +2 -0
  1355. package/dist/pitchfork/p-6cfacd82.entry.js.map +1 -0
  1356. package/dist/pitchfork/p-6d3c4094.entry.js +2 -0
  1357. package/dist/pitchfork/p-6d3c4094.entry.js.map +1 -0
  1358. package/dist/pitchfork/p-717b552a.entry.js +2 -0
  1359. package/dist/pitchfork/p-717b552a.entry.js.map +1 -0
  1360. package/dist/pitchfork/p-7197ef71.entry.js +2 -0
  1361. package/dist/pitchfork/p-7197ef71.entry.js.map +1 -0
  1362. package/dist/pitchfork/p-742f2cc4.entry.js +2 -0
  1363. package/dist/pitchfork/p-742f2cc4.entry.js.map +1 -0
  1364. package/dist/pitchfork/p-76f0f473.entry.js +2 -0
  1365. package/dist/pitchfork/p-76f0f473.entry.js.map +1 -0
  1366. package/dist/pitchfork/p-77168a0d.entry.js +2 -0
  1367. package/dist/pitchfork/p-77168a0d.entry.js.map +1 -0
  1368. package/dist/pitchfork/p-7e5ba1f9.entry.js +2 -0
  1369. package/dist/pitchfork/p-7e5ba1f9.entry.js.map +1 -0
  1370. package/dist/pitchfork/p-8718bb3a.entry.js +2 -0
  1371. package/dist/pitchfork/p-8718bb3a.entry.js.map +1 -0
  1372. package/dist/pitchfork/p-8a1e2ba8.entry.js +2 -0
  1373. package/dist/pitchfork/p-8a1e2ba8.entry.js.map +1 -0
  1374. package/dist/pitchfork/p-8e1a4b26.entry.js +2 -0
  1375. package/dist/pitchfork/p-8e1a4b26.entry.js.map +1 -0
  1376. package/dist/pitchfork/p-8e304481.entry.js +2 -0
  1377. package/dist/pitchfork/p-8e304481.entry.js.map +1 -0
  1378. package/dist/pitchfork/p-97dd4193.entry.js +2 -0
  1379. package/dist/pitchfork/p-97dd4193.entry.js.map +1 -0
  1380. package/dist/pitchfork/p-9d93b1ea.entry.js +2 -0
  1381. package/dist/pitchfork/p-9d93b1ea.entry.js.map +1 -0
  1382. package/dist/pitchfork/p-9dc1dd8a.entry.js +2 -0
  1383. package/dist/pitchfork/p-9dc1dd8a.entry.js.map +1 -0
  1384. package/dist/pitchfork/p-B8ulhYUJ.js +2 -0
  1385. package/dist/pitchfork/p-B8ulhYUJ.js.map +1 -0
  1386. package/dist/pitchfork/p-BA6CMosJ.js +2 -0
  1387. package/dist/pitchfork/p-BA6CMosJ.js.map +1 -0
  1388. package/dist/pitchfork/p-Bm6UxEit.js +3 -0
  1389. package/dist/pitchfork/p-Bm6UxEit.js.map +1 -0
  1390. package/dist/pitchfork/p-BmcsJLdy.js +2 -0
  1391. package/dist/pitchfork/p-BmcsJLdy.js.map +1 -0
  1392. package/dist/pitchfork/p-C-VLyxRR.js +2 -0
  1393. package/dist/pitchfork/p-C-VLyxRR.js.map +1 -0
  1394. package/dist/pitchfork/p-C9jNMqLs.js +2 -0
  1395. package/dist/pitchfork/p-C9jNMqLs.js.map +1 -0
  1396. package/dist/pitchfork/p-CAz7-p8y.js +2 -0
  1397. package/dist/pitchfork/p-CAz7-p8y.js.map +1 -0
  1398. package/dist/pitchfork/p-CC7AyfOt.js +2 -0
  1399. package/dist/pitchfork/p-CC7AyfOt.js.map +1 -0
  1400. package/dist/pitchfork/p-CCln56Fj.js +2 -0
  1401. package/dist/pitchfork/p-CCln56Fj.js.map +1 -0
  1402. package/dist/pitchfork/p-COAc4ZDB.js +2 -0
  1403. package/dist/pitchfork/p-COAc4ZDB.js.map +1 -0
  1404. package/dist/pitchfork/p-CmX-kVk-.js +2 -0
  1405. package/dist/pitchfork/p-CmX-kVk-.js.map +1 -0
  1406. package/dist/pitchfork/p-Cr6IXrUk.js +2 -0
  1407. package/dist/pitchfork/p-Cr6IXrUk.js.map +1 -0
  1408. package/dist/pitchfork/p-Cta76kgc.js +2 -0
  1409. package/dist/pitchfork/p-Cta76kgc.js.map +1 -0
  1410. package/dist/pitchfork/p-Cy_kHPeC.js +2 -0
  1411. package/dist/pitchfork/p-Cy_kHPeC.js.map +1 -0
  1412. package/dist/pitchfork/p-DSXauhXX.js +2 -0
  1413. package/dist/pitchfork/p-DSXauhXX.js.map +1 -0
  1414. package/dist/pitchfork/p-DToIJg5W.js +2 -0
  1415. package/dist/pitchfork/p-DToIJg5W.js.map +1 -0
  1416. package/dist/pitchfork/p-DVK0sUX2.js +2 -0
  1417. package/dist/pitchfork/p-DVK0sUX2.js.map +1 -0
  1418. package/dist/pitchfork/p-DfpCerXM.js +2 -0
  1419. package/dist/pitchfork/p-DfpCerXM.js.map +1 -0
  1420. package/dist/pitchfork/p-Dkd7BUB5.js +2 -0
  1421. package/dist/pitchfork/p-Dkd7BUB5.js.map +1 -0
  1422. package/dist/pitchfork/p-Fiuz9ck7.js +2 -0
  1423. package/dist/pitchfork/p-Fiuz9ck7.js.map +1 -0
  1424. package/dist/pitchfork/p-a1a7838d.entry.js +2 -0
  1425. package/dist/pitchfork/p-a1a7838d.entry.js.map +1 -0
  1426. package/dist/pitchfork/p-a4cc62e1.entry.js +2 -0
  1427. package/dist/pitchfork/p-a4cc62e1.entry.js.map +1 -0
  1428. package/dist/pitchfork/p-a4fad812.entry.js +2 -0
  1429. package/dist/pitchfork/p-a4fad812.entry.js.map +1 -0
  1430. package/dist/pitchfork/p-a5b5c09a.entry.js +2 -0
  1431. package/dist/pitchfork/p-a5b5c09a.entry.js.map +1 -0
  1432. package/dist/pitchfork/p-a7ce64b1.entry.js +2 -0
  1433. package/dist/pitchfork/p-a7ce64b1.entry.js.map +1 -0
  1434. package/dist/pitchfork/p-a864dae5.entry.js +2 -0
  1435. package/dist/pitchfork/p-a864dae5.entry.js.map +1 -0
  1436. package/dist/pitchfork/p-aa2acec3.entry.js +2 -0
  1437. package/dist/pitchfork/p-aa2acec3.entry.js.map +1 -0
  1438. package/dist/pitchfork/p-aa615fe9.entry.js +2 -0
  1439. package/dist/pitchfork/p-aa615fe9.entry.js.map +1 -0
  1440. package/dist/pitchfork/p-aa869013.entry.js +2 -0
  1441. package/dist/pitchfork/p-aa869013.entry.js.map +1 -0
  1442. package/dist/pitchfork/p-aac27e62.entry.js +2 -0
  1443. package/dist/pitchfork/p-aac27e62.entry.js.map +1 -0
  1444. package/dist/pitchfork/p-ab6c09e7.entry.js +2 -0
  1445. package/dist/pitchfork/p-ab6c09e7.entry.js.map +1 -0
  1446. package/dist/pitchfork/p-ac3fcb57.entry.js +2 -0
  1447. package/dist/pitchfork/p-ac3fcb57.entry.js.map +1 -0
  1448. package/dist/pitchfork/p-ad93b614.entry.js +2 -0
  1449. package/dist/pitchfork/p-ad93b614.entry.js.map +1 -0
  1450. package/dist/pitchfork/p-ae5fd08e.entry.js +2 -0
  1451. package/dist/pitchfork/p-ae5fd08e.entry.js.map +1 -0
  1452. package/dist/pitchfork/p-b26df5a0.entry.js +2 -0
  1453. package/dist/pitchfork/p-b26df5a0.entry.js.map +1 -0
  1454. package/dist/pitchfork/p-b2df1ecb.entry.js +2 -0
  1455. package/dist/pitchfork/p-b2df1ecb.entry.js.map +1 -0
  1456. package/dist/pitchfork/p-b442330b.entry.js +2 -0
  1457. package/dist/pitchfork/p-b442330b.entry.js.map +1 -0
  1458. package/dist/pitchfork/p-b4480baf.entry.js +2 -0
  1459. package/dist/pitchfork/p-b4480baf.entry.js.map +1 -0
  1460. package/dist/pitchfork/p-b4774cba.entry.js +2 -0
  1461. package/dist/pitchfork/p-b4774cba.entry.js.map +1 -0
  1462. package/dist/pitchfork/p-b6b18062.entry.js +2 -0
  1463. package/dist/pitchfork/p-b6b18062.entry.js.map +1 -0
  1464. package/dist/pitchfork/p-be2c6150.entry.js +2 -0
  1465. package/dist/pitchfork/p-be2c6150.entry.js.map +1 -0
  1466. package/dist/pitchfork/p-bf044fb5.entry.js +2 -0
  1467. package/dist/pitchfork/p-bf044fb5.entry.js.map +1 -0
  1468. package/dist/pitchfork/p-c07c5847.entry.js +2 -0
  1469. package/dist/pitchfork/p-c07c5847.entry.js.map +1 -0
  1470. package/dist/pitchfork/p-c82804d4.entry.js +2 -0
  1471. package/dist/pitchfork/p-c82804d4.entry.js.map +1 -0
  1472. package/dist/pitchfork/p-d4bbcba0.entry.js +2 -0
  1473. package/dist/pitchfork/p-d4bbcba0.entry.js.map +1 -0
  1474. package/dist/pitchfork/p-d7ca4026.entry.js +2 -0
  1475. package/dist/pitchfork/p-d7ca4026.entry.js.map +1 -0
  1476. package/dist/pitchfork/p-dcaaedeb.entry.js +2 -0
  1477. package/dist/pitchfork/p-dcaaedeb.entry.js.map +1 -0
  1478. package/dist/pitchfork/p-dd0e0d79.entry.js +2 -0
  1479. package/dist/pitchfork/p-dd0e0d79.entry.js.map +1 -0
  1480. package/dist/pitchfork/p-dd48d94d.entry.js +2 -0
  1481. package/dist/pitchfork/p-dd48d94d.entry.js.map +1 -0
  1482. package/dist/pitchfork/p-e882124b.entry.js +2 -0
  1483. package/dist/pitchfork/p-e882124b.entry.js.map +1 -0
  1484. package/dist/pitchfork/p-e9d767df.entry.js +2 -0
  1485. package/dist/pitchfork/p-e9d767df.entry.js.map +1 -0
  1486. package/dist/pitchfork/p-ea63c122.entry.js +2 -0
  1487. package/dist/pitchfork/p-ea63c122.entry.js.map +1 -0
  1488. package/dist/pitchfork/p-ec8df806.entry.js +2 -0
  1489. package/dist/pitchfork/p-ec8df806.entry.js.map +1 -0
  1490. package/dist/pitchfork/p-edb28479.entry.js +2 -0
  1491. package/dist/pitchfork/p-edb28479.entry.js.map +1 -0
  1492. package/dist/pitchfork/p-f0889512.entry.js +2 -0
  1493. package/dist/pitchfork/p-f0889512.entry.js.map +1 -0
  1494. package/dist/pitchfork/p-f3d80b42.entry.js +2 -0
  1495. package/dist/pitchfork/p-f3d80b42.entry.js.map +1 -0
  1496. package/dist/pitchfork/p-f5242cee.entry.js +2 -0
  1497. package/dist/pitchfork/p-f5242cee.entry.js.map +1 -0
  1498. package/dist/pitchfork/p-f5df568f.entry.js +2 -0
  1499. package/dist/pitchfork/p-f5df568f.entry.js.map +1 -0
  1500. package/dist/pitchfork/p-f689e353.entry.js +2 -0
  1501. package/dist/pitchfork/p-f689e353.entry.js.map +1 -0
  1502. package/dist/pitchfork/p-f713c62d.entry.js +2 -0
  1503. package/dist/pitchfork/p-f713c62d.entry.js.map +1 -0
  1504. package/dist/pitchfork/p-f855c9d4.entry.js +2 -0
  1505. package/dist/pitchfork/p-f855c9d4.entry.js.map +1 -0
  1506. package/dist/pitchfork/p-fa1302c7.entry.js +2 -0
  1507. package/dist/pitchfork/p-fa1302c7.entry.js.map +1 -0
  1508. package/dist/pitchfork/p-fd802631.entry.js +2 -0
  1509. package/dist/pitchfork/p-fd802631.entry.js.map +1 -0
  1510. package/dist/pitchfork/p-fe6f403c.entry.js +2 -0
  1511. package/dist/pitchfork/p-fe6f403c.entry.js.map +1 -0
  1512. package/dist/pitchfork/p-g4FlTDZx.js +2 -0
  1513. package/dist/pitchfork/p-g4FlTDZx.js.map +1 -0
  1514. package/dist/pitchfork/pitchfork.css +40 -0
  1515. package/dist/pitchfork/pitchfork.esm.js +2 -0
  1516. package/dist/pitchfork/pitchfork.esm.js.map +1 -0
  1517. package/dist/types/components/pf-accordion/pf-accordion.d.ts +80 -0
  1518. package/dist/types/components/pf-accordion-item/pf-accordion-item.d.ts +57 -0
  1519. package/dist/types/components/pf-alert/pf-alert.d.ts +57 -0
  1520. package/dist/types/components/pf-avatar/pf-avatar.d.ts +25 -0
  1521. package/dist/types/components/pf-avatar-group/pf-avatar-group.d.ts +46 -0
  1522. package/dist/types/components/pf-badge/pf-badge.d.ts +14 -0
  1523. package/dist/types/components/pf-badge-group/pf-badge-group.d.ts +23 -0
  1524. package/dist/types/components/pf-bar-chart/pf-bar-chart.d.ts +39 -0
  1525. package/dist/types/components/pf-breadcrumb/pf-breadcrumb.d.ts +40 -0
  1526. package/dist/types/components/pf-breadcrumbs/pf-breadcrumbs.d.ts +52 -0
  1527. package/dist/types/components/pf-button/pf-button.d.ts +38 -0
  1528. package/dist/types/components/pf-button-group/pf-button-group.d.ts +53 -0
  1529. package/dist/types/components/pf-button-group-item/pf-button-group-item.d.ts +47 -0
  1530. package/dist/types/components/pf-calendar/pf-calendar.d.ts +101 -0
  1531. package/dist/types/components/pf-card/pf-card.d.ts +16 -0
  1532. package/dist/types/components/pf-card-content/pf-card-content.d.ts +8 -0
  1533. package/dist/types/components/pf-card-footer/pf-card-footer.d.ts +10 -0
  1534. package/dist/types/components/pf-card-header/pf-card-header.d.ts +8 -0
  1535. package/dist/types/components/pf-carousel/pf-carousel.d.ts +73 -0
  1536. package/dist/types/components/pf-carousel-slide/pf-carousel-slide.d.ts +19 -0
  1537. package/dist/types/components/pf-chart-series/pf-chart-series.d.ts +33 -0
  1538. package/dist/types/components/pf-checkbox/pf-checkbox.d.ts +57 -0
  1539. package/dist/types/components/pf-code-snippet/pf-code-snippet.d.ts +74 -0
  1540. package/dist/types/components/pf-collapsible/pf-collapsible.d.ts +56 -0
  1541. package/dist/types/components/pf-combobox/pf-combobox.d.ts +123 -0
  1542. package/dist/types/components/pf-command-group/pf-command-group.d.ts +18 -0
  1543. package/dist/types/components/pf-command-item/pf-command-item.d.ts +41 -0
  1544. package/dist/types/components/pf-command-palette/pf-command-palette.d.ts +102 -0
  1545. package/dist/types/components/pf-content-divider/pf-content-divider.d.ts +39 -0
  1546. package/dist/types/components/pf-context-menu/pf-context-menu.d.ts +54 -0
  1547. package/dist/types/components/pf-credit-card/pf-credit-card.d.ts +31 -0
  1548. package/dist/types/components/pf-date-picker/pf-date-picker.d.ts +121 -0
  1549. package/dist/types/components/pf-date-range-picker/pf-date-range-picker.d.ts +122 -0
  1550. package/dist/types/components/pf-dropdown/pf-dropdown.d.ts +66 -0
  1551. package/dist/types/components/pf-empty-state/pf-empty-state.d.ts +43 -0
  1552. package/dist/types/components/pf-file-uploader/pf-file-uploader.d.ts +96 -0
  1553. package/dist/types/components/pf-gauge-chart/pf-gauge-chart.d.ts +36 -0
  1554. package/dist/types/components/pf-header-navigation/pf-header-navigation.d.ts +64 -0
  1555. package/dist/types/components/pf-heatmap/pf-heatmap.d.ts +55 -0
  1556. package/dist/types/components/pf-icon/bundled-icons.d.ts +3 -0
  1557. package/dist/types/components/pf-icon/custom-icons.d.ts +3 -0
  1558. package/dist/types/components/pf-icon/icon-names.d.ts +6 -0
  1559. package/dist/types/components/pf-icon/pf-icon.d.ts +22 -0
  1560. package/dist/types/components/pf-inline-cta/pf-inline-cta.d.ts +69 -0
  1561. package/dist/types/components/pf-input/pf-input.d.ts +80 -0
  1562. package/dist/types/components/pf-kbd/pf-kbd.d.ts +18 -0
  1563. package/dist/types/components/pf-line-chart/pf-line-chart.d.ts +68 -0
  1564. package/dist/types/components/pf-loading-dots/pf-loading-dots.d.ts +14 -0
  1565. package/dist/types/components/pf-loading-skeleton/pf-loading-skeleton.d.ts +24 -0
  1566. package/dist/types/components/pf-loading-spinner/pf-loading-spinner.d.ts +12 -0
  1567. package/dist/types/components/pf-menu-item/pf-menu-item.d.ts +43 -0
  1568. package/dist/types/components/pf-menu-separator/pf-menu-separator.d.ts +9 -0
  1569. package/dist/types/components/pf-metric-card/pf-metric-card.d.ts +42 -0
  1570. package/dist/types/components/pf-metric-grid/pf-metric-grid.d.ts +13 -0
  1571. package/dist/types/components/pf-modal/pf-modal.d.ts +137 -0
  1572. package/dist/types/components/pf-modal-body/pf-modal-body.d.ts +12 -0
  1573. package/dist/types/components/pf-modal-footer/pf-modal-footer.d.ts +12 -0
  1574. package/dist/types/components/pf-modal-header/pf-modal-header.d.ts +12 -0
  1575. package/dist/types/components/pf-multi-select/pf-multi-select.d.ts +108 -0
  1576. package/dist/types/components/pf-nav-item/pf-nav-item.d.ts +78 -0
  1577. package/dist/types/components/pf-nav-section/pf-nav-section.d.ts +44 -0
  1578. package/dist/types/components/pf-notification/pf-notification.d.ts +53 -0
  1579. package/dist/types/components/pf-number-input/pf-number-input.d.ts +87 -0
  1580. package/dist/types/components/pf-option/pf-option.d.ts +40 -0
  1581. package/dist/types/components/pf-page-header/pf-page-header.d.ts +33 -0
  1582. package/dist/types/components/pf-pagination/pf-pagination.d.ts +41 -0
  1583. package/dist/types/components/pf-pie-chart/pf-pie-chart.d.ts +52 -0
  1584. package/dist/types/components/pf-pie-slice/pf-pie-slice.d.ts +36 -0
  1585. package/dist/types/components/pf-popover/pf-popover.d.ts +82 -0
  1586. package/dist/types/components/pf-progress-bar/pf-progress-bar.d.ts +18 -0
  1587. package/dist/types/components/pf-progress-circle/pf-progress-circle.d.ts +23 -0
  1588. package/dist/types/components/pf-progress-step/pf-progress-step.d.ts +38 -0
  1589. package/dist/types/components/pf-progress-steps/pf-progress-steps.d.ts +42 -0
  1590. package/dist/types/components/pf-radar-axis/pf-radar-axis.d.ts +28 -0
  1591. package/dist/types/components/pf-radar-chart/pf-radar-chart.d.ts +62 -0
  1592. package/dist/types/components/pf-radio-button/pf-radio-button.d.ts +55 -0
  1593. package/dist/types/components/pf-radio-group/pf-radio-group.d.ts +80 -0
  1594. package/dist/types/components/pf-rating-badge/pf-rating-badge.d.ts +23 -0
  1595. package/dist/types/components/pf-rating-stars/pf-rating-stars.d.ts +31 -0
  1596. package/dist/types/components/pf-resizable/pf-resizable.d.ts +68 -0
  1597. package/dist/types/components/pf-rich-text-editor/pf-rich-text-editor.d.ts +99 -0
  1598. package/dist/types/components/pf-scroll-area/pf-scroll-area.d.ts +28 -0
  1599. package/dist/types/components/pf-section-footer/pf-section-footer.d.ts +30 -0
  1600. package/dist/types/components/pf-section-header/pf-section-header.d.ts +35 -0
  1601. package/dist/types/components/pf-select/pf-select.d.ts +110 -0
  1602. package/dist/types/components/pf-sidebar-navigation/pf-sidebar-navigation.d.ts +77 -0
  1603. package/dist/types/components/pf-slideout-menu/pf-slideout-menu.d.ts +103 -0
  1604. package/dist/types/components/pf-slider/pf-slider.d.ts +66 -0
  1605. package/dist/types/components/pf-sparkline/pf-sparkline.d.ts +54 -0
  1606. package/dist/types/components/pf-switch/pf-switch.d.ts +62 -0
  1607. package/dist/types/components/pf-tab/pf-tab.d.ts +83 -0
  1608. package/dist/types/components/pf-tab-panel/pf-tab-panel.d.ts +24 -0
  1609. package/dist/types/components/pf-table/pf-table.d.ts +76 -0
  1610. package/dist/types/components/pf-table-cell/pf-table-cell.d.ts +43 -0
  1611. package/dist/types/components/pf-table-row/pf-table-row.d.ts +31 -0
  1612. package/dist/types/components/pf-tabs/pf-tabs.d.ts +149 -0
  1613. package/dist/types/components/pf-tag/pf-tag.d.ts +26 -0
  1614. package/dist/types/components/pf-tag-input/pf-tag-input.d.ts +92 -0
  1615. package/dist/types/components/pf-textarea/pf-textarea.d.ts +89 -0
  1616. package/dist/types/components/pf-time-picker/pf-time-picker.d.ts +105 -0
  1617. package/dist/types/components/pf-timeline/pf-timeline.d.ts +27 -0
  1618. package/dist/types/components/pf-timeline-item/pf-timeline-item.d.ts +40 -0
  1619. package/dist/types/components/pf-toaster/pf-toaster.d.ts +66 -0
  1620. package/dist/types/components/pf-toolbar/pf-toolbar.d.ts +37 -0
  1621. package/dist/types/components/pf-toolbar-separator/pf-toolbar-separator.d.ts +14 -0
  1622. package/dist/types/components/pf-tooltip/pf-tooltip.d.ts +74 -0
  1623. package/dist/types/components/pf-tree-item/pf-tree-item.d.ts +75 -0
  1624. package/dist/types/components/pf-tree-view/pf-tree-view.d.ts +94 -0
  1625. package/dist/types/components/pf-utility-button/pf-utility-button.d.ts +41 -0
  1626. package/dist/types/components/pf-video-player/pf-video-player.d.ts +72 -0
  1627. package/dist/types/components/pf-visually-hidden/pf-visually-hidden.d.ts +20 -0
  1628. package/dist/types/components.d.ts +11987 -0
  1629. package/dist/types/control-label.d.ts +24 -0
  1630. package/dist/types/form-validity.d.ts +24 -0
  1631. package/dist/types/index.d.ts +1 -0
  1632. package/dist/types/place-popover.d.ts +16 -0
  1633. package/dist/types/stencil-public-runtime.d.ts +1879 -0
  1634. package/loader/cdn.js +1 -0
  1635. package/loader/index.cjs.js +1 -0
  1636. package/loader/index.d.ts +24 -0
  1637. package/loader/index.es2017.js +1 -0
  1638. package/loader/index.js +2 -0
  1639. package/package.json +95 -4
@@ -0,0 +1 @@
1
+ {"version":3,"names":["pfMultiSelectCss","MOVES","Keys","ArrowDown","ArrowUp","Home","End","PfMultiSelect","__stencil_proxyCustomElement","HTMLElement","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","controlAriaLabel","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 { controlAriaLabel } from '../../control-label';\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 aria-label={controlAriaLabel(this.el, this.label)}\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":"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","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PfNavItem extends Components.PfNavItem, HTMLElement {}
4
+ export const PfNavItem: {
5
+ prototype: PfNavItem;
6
+ new (): PfNavItem;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{t as e,p as t,H as a,c as r,h as n,a as i}from"./index.js";const o=()=>`:host{display:block}:host([hidden]){display:none}:host([orientation='horizontal']){flex:0 0 auto}.link{align-items:center;background:transparent;border:0;border-radius:var(--pf-nav-item-radius, var(--radius-sm));color:var(--pf-nav-item-text);cursor:pointer;display:flex;font:inherit;gap:var(--pf-nav-item-gap, var(--space-2));min-height:var(--pf-nav-item-min-height, 32px);padding:var(--pf-nav-item-padding, 0 var(--space-2));text-decoration:none;white-space:nowrap}:host([orientation='vertical']) .link{min-height:var(--pf-nav-item-vertical-min-height, 36px);padding:var(--pf-nav-item-vertical-padding, 0 var(--space-3));width:100%}.link:hover{background:var(--pf-nav-item-hover-bg);color:var(--pf-nav-item-hover-text)}a.link:focus-visible{box-shadow:var(--pf-nav-item-focus-ring, var(--pf-focus-ring));outline:none}:host([current-page]) .link{background:var(--pf-nav-item-current-bg);color:var(--pf-nav-item-current-text);font-weight:var(--font-weight-semibold)}:host([disabled]) .link{cursor:not-allowed;opacity:var(--pf-nav-item-disabled-opacity, 0.5)}:host([disabled]) .link:hover{background:transparent;color:var(--pf-nav-item-text)}.label{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}:host([orientation='horizontal']) .label{flex:0 0 auto}::slotted([slot='icon']){color:inherit;flex:0 0 auto}::slotted([slot='badge']){flex:0 0 auto}::slotted(a),::slotted(button){align-items:center;align-self:stretch;background:none;border:0;color:inherit;cursor:inherit;display:flex;flex:1 1 auto;font:inherit;margin:0;padding:0;text-decoration:none}`;const s=t(class e extends a{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow();this.pfNavStructure=r(this,"pfNavStructure")}href;target;rel;current=false;pfNavStructure;handleCurrentChange(){this.pfNavStructure.emit()}currentPage=false;disabled=false;orientation="horizontal";render(){const e=[n("slot",{key:"b478a66b7ae6c6d00b18f762600435dbac37996d",name:"icon"}),n("span",{key:"4b1ddbe87804c604d492b00bbc743299c54f7240",class:"label",part:"label"},n("slot",{key:"86778db42fef8af44096211cd8a743155dca3fb0"})),n("slot",{key:"02fef2701ef217701ce18e71e9ff873dc3bd3a44",name:"badge"})];return n(i,{key:"c4ee7f6245eedd2bf0546ebcb987120212ea18e3",role:"listitem"},this.href&&!this.disabled?n("a",{class:"link",part:"link",href:this.href,target:this.target,rel:this.rel,"aria-current":this.currentPage?"page":null},e):n("span",{class:"link",part:"link","aria-current":this.currentPage?"page":null,"aria-disabled":this.disabled?"true":null},e))}static get watchers(){return{current:[{handleCurrentChange:0}]}}static get style(){return o()}},[769,"pf-nav-item",{href:[513],target:[1],rel:[1],current:[516],currentPage:[1540,"current-page"],disabled:[516],orientation:[1537]},undefined,{current:[{handleCurrentChange:0}]}]);function l(){if(typeof customElements==="undefined"){return}const t=["pf-nav-item"];t.forEach((t=>{switch(t){case"pf-nav-item":if(!customElements.get(e(t))){customElements.define(e(t),s)}break}}))}l();const c=s;const d=l;export{c as PfNavItem,d as defineCustomElement};
2
+ //# sourceMappingURL=pf-nav-item.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["pfNavItemCss","PfNavItem","__stencil_proxyCustomElement","HTMLElement","href","target","rel","current","pfNavStructure","handleCurrentChange","this","emit","currentPage","disabled","orientation","render","content","h","key","name","class","part","Host","role"],"sources":["src/components/pf-nav-item/pf-nav-item.css?tag=pf-nav-item&encapsulation=shadow","src/components/pf-nav-item/pf-nav-item.tsx"],"sourcesContent":["/*\n * This element is shared by pf-header-navigation and pf-sidebar-navigation,\n * whose React counterparts have separate alias families with their own\n * values. Rather than pick one and diverge from the other, the item reads a\n * generic `--pf-nav-item-*` set that each navigation defines on itself --\n * custom properties inherit through the shadow boundary, so a slotted item\n * picks up whichever navigation it is inside, which no selector can do\n * (`:host-context` is not in Firefox). Exactly the pf-option arrangement, for\n * the same reason. There is deliberately no `:root` default: without one the\n * bridge is load-bearing, and a missing one shows up as an item with no\n * colours at all rather than as one that quietly looks right.\n */\n:host {\n display: block;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host([orientation='horizontal']) {\n flex: 0 0 auto;\n}\n\n.link {\n align-items: center;\n background: transparent;\n border: 0;\n border-radius: var(--pf-nav-item-radius, var(--radius-sm));\n color: var(--pf-nav-item-text);\n cursor: pointer;\n display: flex;\n font: inherit;\n gap: var(--pf-nav-item-gap, var(--space-2));\n min-height: var(--pf-nav-item-min-height, 32px);\n padding: var(--pf-nav-item-padding, 0 var(--space-2));\n text-decoration: none;\n white-space: nowrap;\n}\n\n:host([orientation='vertical']) .link {\n min-height: var(--pf-nav-item-vertical-min-height, 36px);\n padding: var(--pf-nav-item-vertical-padding, 0 var(--space-3));\n width: 100%;\n}\n\n.link:hover {\n background: var(--pf-nav-item-hover-bg);\n color: var(--pf-nav-item-hover-text);\n}\n\na.link:focus-visible {\n box-shadow: var(--pf-nav-item-focus-ring, var(--pf-focus-ring));\n outline: none;\n}\n\n/*\n * `current-page` is the group's answer, not the consumer's `current` ask: the\n * highlight and the announcement are the same decision, so they read the same\n * attribute.\n */\n:host([current-page]) .link {\n background: var(--pf-nav-item-current-bg);\n color: var(--pf-nav-item-current-text);\n font-weight: var(--font-weight-semibold);\n}\n\n:host([disabled]) .link {\n cursor: not-allowed;\n opacity: var(--pf-nav-item-disabled-opacity, 0.5);\n}\n\n:host([disabled]) .link:hover {\n background: transparent;\n color: var(--pf-nav-item-text);\n}\n\n/* The label takes the slack so a badge sits at the far edge of a sidebar. */\n.label {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n:host([orientation='horizontal']) .label {\n flex: 0 0 auto;\n}\n\n/*\n * No wrapper around the icon and badge slots: an unassigned slot is\n * `display: contents` and generates nothing, while a wrapper around one\n * cannot be collapsed from CSS and would cost a gap in front of every label\n * with no icon.\n */\n::slotted([slot='icon']) {\n color: inherit;\n flex: 0 0 auto;\n}\n\n::slotted([slot='badge']) {\n flex: 0 0 auto;\n}\n\n/*\n * A consumer's own router link, slotted in with no `href` of ours. It fills\n * the box's content area rather than being a word inside it, and it inherits\n * every colour the box resolved, so hover and the current page look the same\n * whichever of the two is the control.\n */\n::slotted(a),\n::slotted(button) {\n align-items: center;\n align-self: stretch;\n background: none;\n border: 0;\n color: inherit;\n cursor: inherit;\n display: flex;\n flex: 1 1 auto;\n font: inherit;\n margin: 0;\n padding: 0;\n text-decoration: none;\n}\n","import { Component, Event, EventEmitter, h, Host, Prop, Watch } from '@stencil/core';\n\n/**\n * One item in a `pf-header-navigation` or a `pf-sidebar-navigation`.\n *\n * Shared by both, because the React library's `HeaderNavigationItem` and\n * `SidebarNavigationItem` are the same shape — one element rather than two\n * that would drift. What differs is the layout, and that is the group's to\n * say: it pushes `orientation` down, which is the only thing an item cannot\n * work out for itself.\n *\n * With an `href` it renders a link; without one it renders a plain box, which\n * is how a framework's own router is used — slot an `<a routerLink>` or a\n * `<Link>` in and leave `href` unset.\n *\n * `currentPage` and `orientation` are the group's to set. A consumer asks by\n * setting `current`; the group resolves every item with core's rule and\n * writes the answer to `currentPage`. Changing the ask tells the group, so\n * the answer follows a framework's re-render without the consumer calling\n * anything.\n *\n * @slot - the item's label.\n * @slot icon - a leading icon.\n * @slot badge - a trailing badge or count.\n * @part link - the link, or the box standing in for one.\n */\n@Component({\n tag: 'pf-nav-item',\n styleUrl: 'pf-nav-item.css',\n shadow: true,\n})\nexport class PfNavItem {\n /** Where the item goes. Reflected; a consumer's stylesheet reads it. */\n @Prop({ reflect: true }) href?: string;\n\n /** Opens elsewhere, as on a plain anchor. Ignored without an `href`. */\n @Prop() target?: string;\n\n /** Goes on the anchor as-is. Ignored without an `href`. */\n @Prop() rel?: string;\n\n /**\n * Set it to mark this item as the current page.\n *\n * The *asking* half, which the group never writes — `currentPage` below is\n * the answer. The two are kept apart for the reason `pf-breadcrumb` keeps\n * them apart: a group that wrote its answer back would leave the mark\n * behind on an item the consumer had not marked.\n */\n @Prop({ reflect: true }) current = false;\n\n /**\n * Tells the group the ask changed, so it can resolve again.\n *\n * The same event `pf-nav-section` emits when its items move, because the\n * groups do the same thing with both: re-read every item and resolve the\n * one current page. Without this a navigation resolves at load and never\n * again for a consumer who marks items through the *property*, which is\n * every framework consumer — the generated bindings set props as\n * properties, so there is no attribute change and no `slotchange` either.\n * The symptom is a navigation whose highlight never moves while the router\n * works perfectly, which is what porting `apps/demo` ran into.\n *\n * `current` only. Watching `currentPage` would loop, since that is what the\n * group writes back.\n */\n @Event() pfNavStructure!: EventEmitter<void>;\n\n @Watch('current')\n handleCurrentChange() {\n this.pfNavStructure.emit();\n }\n\n /**\n * Set by the group: the resolved current page, which is the one thing that\n * renders `aria-current=\"page\"`. At most one item in a navigation carries\n * it, and the highlight follows it rather than `current` — a second\n * highlighted item with no `aria-current` would be a sighted-only lie.\n */\n @Prop({ mutable: true, reflect: true }) currentPage = false;\n\n /**\n * Takes the item out of the navigation without removing it.\n *\n * A disabled item renders **no anchor at all**, because an anchor has no\n * disabled state: `aria-disabled` alone leaves it focusable and clickable,\n * and dropping the `href` is the only thing that really takes it out of the\n * tab order.\n */\n @Prop({ reflect: true }) disabled = false;\n\n /** Set by the group, which is the only one that knows which it is. */\n @Prop({ mutable: true, reflect: true }) orientation: 'horizontal' | 'vertical' = 'horizontal';\n\n render() {\n const content = [\n <slot name=\"icon\" />,\n <span class=\"label\" part=\"label\">\n <slot />\n </span>,\n <slot name=\"badge\" />,\n ];\n\n return (\n <Host role=\"listitem\">\n {this.href && !this.disabled ? (\n <a\n class=\"link\"\n part=\"link\"\n href={this.href}\n target={this.target}\n rel={this.rel}\n aria-current={this.currentPage ? 'page' : null}\n >\n {content}\n </a>\n ) : (\n <span\n class=\"link\"\n part=\"link\"\n aria-current={this.currentPage ? 'page' : null}\n aria-disabled={this.disabled ? 'true' : null}\n >\n {content}\n </span>\n )}\n </Host>\n );\n }\n}\n"],"mappings":"kEAAA,MAAMA,EAAe,IAAM,6hD,MC+BdC,EAASC,EAAA,MAAAD,UAAAE,E,8HAEKC,KAGjBC,OAGAC,IAUiBC,QAAU,MAiB1BC,eAGT,mBAAAC,GACEC,KAAKF,eAAeG,M,CASkBC,YAAc,MAU7BC,SAAW,MAGIC,YAAyC,aAEjF,MAAAC,GACE,MAAMC,EAAU,CACdC,EAAA,QAAAC,IAAA,2CAAMC,KAAK,SACXF,EAAA,QAAAC,IAAA,2CAAME,MAAM,QAAQC,KAAK,SACvBJ,EAAA,QAAAC,IAAA,8CAEFD,EAAA,QAAAC,IAAA,2CAAMC,KAAK,WAGb,OACEF,EAACK,EAAI,CAAAJ,IAAA,2CAACK,KAAK,YACRb,KAAKN,OAASM,KAAKG,SAClBI,EAAA,KACEG,MAAM,OACNC,KAAK,OACLjB,KAAMM,KAAKN,KACXC,OAAQK,KAAKL,OACbC,IAAKI,KAAKJ,IAAG,eACCI,KAAKE,YAAc,OAAS,MAEzCI,GAGHC,EAAA,QACEG,MAAM,OACNC,KAAK,OAAM,eACGX,KAAKE,YAAc,OAAS,KAAI,gBAC/BF,KAAKG,SAAW,OAAS,MAEvCG,G","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PfNavSection extends Components.PfNavSection, HTMLElement {}
4
+ export const PfNavSection: {
5
+ prototype: PfNavSection;
6
+ new (): PfNavSection;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{t,p as e,H as s,c as i,h as a,a as n}from"./index.js";const l=()=>`:host{display:grid;gap:var(--space-1)}:host([hidden]){display:none}.title{color:var(--pf-sidebar-nav-text-muted);font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold);letter-spacing:0.04em;margin:0;padding:0 var(--space-2);text-transform:uppercase}.title.empty{display:none}.list{display:grid;gap:2px;list-style:none;margin:0;padding:0}.list slot{display:contents}`;const c=e(class t extends s{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow();this.pfNavStructure=i(this,"pfNavStructure")}get el(){return this}hasTitle=false;pfNavStructure;componentWillLoad(){this.readTitle()}readTitle(){this.hasTitle=Array.from(this.el.children).some((t=>t.getAttribute("slot")==="title"))}handleSlotChange(){this.readTitle();this.pfNavStructure.emit()}render(){return a(n,{key:"403390422ffe79fd7074cf127380b4c01f06e64c"},a("p",{key:"9da8bd54057acfdbcc8b05e843557ea13792e98c",class:{title:true,empty:!this.hasTitle},part:"title",id:"title"},a("slot",{key:"f5d6f38608e937f8842d0e2e5bf19773f38df1bd",name:"title",onSlotchange:()=>this.handleSlotChange()})),a("ul",{key:"536b579b106d4bc926a2ea309157e50dddc563c1",class:"list",part:"list","aria-labelledby":this.hasTitle?"title":null},a("slot",{key:"f80ef7903620ff32262dc8995f73ecb1c4971c57",onSlotchange:()=>this.handleSlotChange()})))}static get style(){return l()}},[769,"pf-nav-section",{hasTitle:[32]}]);function o(){if(typeof customElements==="undefined"){return}const e=["pf-nav-section"];e.forEach((e=>{switch(e){case"pf-nav-section":if(!customElements.get(t(e))){customElements.define(t(e),c)}break}}))}o();const r=c;const d=o;export{r as PfNavSection,d as defineCustomElement};
2
+ //# sourceMappingURL=pf-nav-section.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["pfNavSectionCss","PfNavSection","__stencil_proxyCustomElement","HTMLElement","hasTitle","pfNavStructure","componentWillLoad","this","readTitle","Array","from","el","children","some","child","getAttribute","handleSlotChange","emit","render","h","Host","key","class","title","empty","part","id","name","onSlotchange"],"sources":["src/components/pf-nav-section/pf-nav-section.css?tag=pf-nav-section&encapsulation=shadow","src/components/pf-nav-section/pf-nav-section.tsx"],"sourcesContent":[":host {\n display: grid;\n gap: var(--space-1);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n.title {\n color: var(--pf-sidebar-nav-text-muted);\n font-size: var(--font-size-xs);\n font-weight: var(--font-weight-semibold);\n letter-spacing: 0.04em;\n margin: 0;\n padding: 0 var(--space-2);\n text-transform: uppercase;\n}\n\n/*\n * Both classes rather than a bare `.empty`, so the rule does not depend on\n * sitting below the `display` the box sets on itself.\n */\n.title.empty {\n display: none;\n}\n\n.list {\n display: grid;\n gap: 2px;\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/* The items are grid children of the list, not of a box inside it. */\n.list slot {\n display: contents;\n}\n","import { Component, Element, Event, EventEmitter, h, Host, State } from '@stencil/core';\n\n/**\n * A titled group of `pf-nav-item` children inside a `pf-sidebar-navigation`.\n *\n * The React `SidebarNavigation` takes a `sections` array of `{ title, items }`.\n * Grouping slotted children has to be structural — one `<slot>` renders every\n * assigned child in source order, and a shadow root cannot wrap a subset of\n * them in a box — so the consumer nests, which is the §2.1 idiom and the same\n * answer `pf-command-group` gives.\n *\n * The title names the list with a **same-root** IDREF: both the title and the\n * `<ul>` are in this shadow root, so the reference resolves. An\n * `aria-labelledby` from the host could not point at either of them.\n *\n * @slot - the `pf-nav-item` children.\n * @slot title - the section's title.\n * @part title - the title's box.\n * @part list - the list the items are slotted into.\n */\n@Component({\n tag: 'pf-nav-section',\n styleUrl: 'pf-nav-section.css',\n shadow: true,\n})\nexport class PfNavSection {\n @Element() el!: HTMLElement;\n\n /**\n * Whether anything was slotted into `title`.\n *\n * Asked in JS because the box carries padding and a size of its own, and\n * because an `aria-labelledby` pointing at an empty element names the list\n * with an empty string rather than falling back to nothing.\n */\n @State() hasTitle = false;\n\n /**\n * Tells the navigation its items have moved.\n *\n * `slotchange` is not composed, so the navigation never hears this\n * section's own slot change — exactly the reason `pf-tree-item` emits\n * `pfTreeStructure`. Without it an item appended to a section is never\n * given an orientation or a place in the one-current resolution.\n */\n @Event() pfNavStructure!: EventEmitter<void>;\n\n /** The light DOM is readable here, so first paint is already right. */\n componentWillLoad() {\n this.readTitle();\n }\n\n private readTitle() {\n /*\n * `el.children` rather than a `:scope >` selector, which Stencil's mock\n * DOM throws on.\n */\n this.hasTitle = Array.from(this.el.children).some(\n (child) => child.getAttribute('slot') === 'title',\n );\n }\n\n private handleSlotChange() {\n this.readTitle();\n this.pfNavStructure.emit();\n }\n\n render() {\n return (\n <Host>\n {/*\n The slot stays in the tree whether or not it holds anything: a slot\n that is not rendered never fires `slotchange`, so a title added\n later would stay invisible for good.\n */}\n <p class={{ title: true, empty: !this.hasTitle }} part=\"title\" id=\"title\">\n <slot name=\"title\" onSlotchange={() => this.handleSlotChange()} />\n </p>\n\n <ul class=\"list\" part=\"list\" aria-labelledby={this.hasTitle ? 'title' : null}>\n <slot onSlotchange={() => this.handleSlotChange()} />\n </ul>\n </Host>\n );\n }\n}\n"],"mappings":"6DAAA,MAAMA,EAAkB,IAAM,+X,MCyBjBC,EAAYC,EAAA,MAAAD,UAAAE,E,mJAUdC,SAAW,MAUXC,eAGT,iBAAAC,GACEC,KAAKC,W,CAGC,SAAAA,GAKND,KAAKH,SAAWK,MAAMC,KAAKH,KAAKI,GAAGC,UAAUC,MAC1CC,GAAUA,EAAMC,aAAa,UAAY,S,CAItC,gBAAAC,GACNT,KAAKC,YACLD,KAAKF,eAAeY,M,CAGtB,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CAMHF,EAAA,KAAAE,IAAA,2CAAGC,MAAO,CAAEC,MAAO,KAAMC,OAAQjB,KAAKH,UAAYqB,KAAK,QAAQC,GAAG,SAChEP,EAAA,QAAAE,IAAA,2CAAMM,KAAK,QAAQC,aAAc,IAAMrB,KAAKS,sBAG9CG,EAAA,MAAAE,IAAA,2CAAIC,MAAM,OAAOG,KAAK,OAAM,kBAAkBlB,KAAKH,SAAW,QAAU,MACtEe,EAAA,QAAAE,IAAA,2CAAMO,aAAc,IAAMrB,KAAKS,sB","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PfNotification extends Components.PfNotification, HTMLElement {}
4
+ export const PfNotification: {
5
+ prototype: PfNotification;
6
+ new (): PfNotification;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{P as o,d as s}from"./p-E7EWeR1F.js";const t=o;const p=s;export{t as PfNotification,p as defineCustomElement};
2
+ //# sourceMappingURL=pf-notification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":[],"mappings":"","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PfNumberInput extends Components.PfNumberInput, HTMLElement {}
4
+ export const PfNumberInput: {
5
+ prototype: PfNumberInput;
6
+ new (): PfNumberInput;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{t as e,p as t,H as r,c as i,h as n,a as s}from"./index.js";import{c as a}from"./p-DfpCerXM.js";import{K as o}from"./p-g4FlTDZx.js";import{p as l,r as c,s as d,f as p,c as u}from"./p-DSXauhXX.js";import{a as f}from"./p-Cr6IXrUk.js";import{c as b}from"./p-Cy_kHPeC.js";import{d as h}from"./p-CkFjPRTe.js";const m=()=>`:host{display:block}:host([hidden]){display:none}.field{display:grid;gap:var(--space-2)}.label{color:var(--pf-numberinput-field-label, var(--pf-field-label));font-size:var(--font-size-sm);font-weight:var(--font-weight-medium)}.required{color:var(--pf-field-required);margin-inline-start:var(--space-1)}.control{align-items:stretch;background:var(--pf-numberinput-bg);border:1px solid var(--pf-numberinput-border);border-radius:var(--radius-md);display:inline-flex;min-height:40px;overflow:hidden;transition:border var(--pf-transition-fast), box-shadow var(--pf-transition-fast);width:100%}.control:focus-within{border-color:var(--pf-numberinput-focus-border);box-shadow:var(--pf-numberinput-focus-ring, var(--pf-focus-ring))}.control--invalid{border-color:var(--pf-numberinput-invalid-border)}:host([disabled]) .control{background:var(--pf-control-bg-disabled);border-color:var(--pf-control-border-disabled);color:var(--pf-control-text-disabled);opacity:0.6}.input{background:transparent;border:none;color:var(--pf-numberinput-text);flex:1;font:inherit;min-width:0;outline:none;padding:0 var(--space-3);text-align:center;width:100%}.input::placeholder{color:var(--pf-numberinput-placeholder)}.input:disabled{cursor:not-allowed}.step{align-items:center;align-self:stretch;background:var(--pf-numberinput-step-bg);border:none;color:var(--pf-numberinput-step-text);cursor:pointer;display:inline-flex;flex-shrink:0;justify-content:center;padding:0;transition:background var(--pf-transition-fast), color var(--pf-transition-fast);width:40px}.step:hover:not(:disabled){background:var(--pf-numberinput-step-hover-bg);color:var(--pf-numberinput-step-hover-text)}.step:disabled{cursor:not-allowed;opacity:0.45}[part='decrement']{border-inline-end:1px solid var(--pf-numberinput-border)}[part='increment']{border-inline-start:1px solid var(--pf-numberinput-border)}.step pf-icon{font-size:16px}.description{color:var(--pf-numberinput-field-description, 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}@media (prefers-reduced-motion: reduce){.control,.step{transition:none}}`;const v=t(class e extends r{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow();this.pfChange=i(this,"pfChange");this.internals=this.attachInternals()}get el(){return this}internals;name;value="";min;max;step=1;label;description;error;placeholder;required=false;disabled=false;decrementLabel="Decrease";incrementLabel="Increase";pfChange;draft=null;initialValue="";componentWillLoad(){this.initialValue=this.value??"";this.syncFormState()}syncFormState(){this.internals.setFormValue(this.value??"");f(this.internals,Boolean(this.value),this.required,this.error)}async checkValidity(){return this.internals.checkValidity()}async reportValidity(){return this.internals.reportValidity()}async getValidationMessage(){return this.internals.validationMessage}formResetCallback(){this.value=this.initialValue;this.draft=null}async stepBy(e){this.step_(e)}get bounds(){return{min:this.min===undefined?-Infinity:Number(this.min),max:this.max===undefined?Infinity:Number(this.max),step:Number(this.step)||1}}get current(){return l(this.value)}get atMin(){const{min:e}=this.bounds;return this.current!==null&&this.current<=e}get atMax(){const{max:e}=this.bounds;return this.current!==null&&this.current>=e}commit(e){const{min:t,max:r,step:i}=this.bounds;const n=e===null?"":String(c(u(e,t,r),i));if(n===this.value)return;this.value=n;this.pfChange.emit({value:n,number:l(n)})}step_(e){if(this.disabled)return;this.draft=null;this.commit(d(this.current,e,this.bounds))}onInput=e=>{const t=e.target.value;this.draft=t;const r=l(t);if(t.trim()===""){this.commit(null);return}if(r!==null)this.commit(r)};onBlur=()=>{this.draft=null};onKeyDown=e=>{if(this.disabled)return;const{min:t,max:r}=this.bounds;if(e.key===o.ArrowUp){e.preventDefault();this.step_(1)}else if(e.key===o.ArrowDown){e.preventDefault();this.step_(-1)}else if(e.key===o.Home&&Number.isFinite(t)){e.preventDefault();this.draft=null;this.commit(t)}else if(e.key===o.End&&Number.isFinite(r)){e.preventDefault();this.draft=null;this.commit(r)}};render(){const e=a(this.description&&"description",this.error&&"error");const{min:t,max:r}=this.bounds;const i=this.draft??p(this.current);return n(s,{key:"27f7f45a2732cbca6d252f4b9128901ed7868663"},n("div",{key:"75bfab2f72a83b830fd960e5fae19b9941eeae6c",class:"field",part:"field"},this.label&&n("label",{key:"f2e60206f153933cde6b36a23c510225bd5fb2ab",class:"label",part:"label",htmlFor:"input"},this.label,this.required&&n("span",{key:"3925b4690d5b560190aaa04e7e7cf83453c7c49e",class:"required","aria-hidden":"true"},"*")),n("div",{key:"dcf1949c7fd8626c5a334fd3d72d8c4544369b41",class:{control:true,"control--invalid":Boolean(this.error)},part:"control"},n("button",{key:"03e3592fa8ff57a23e3675c475e7a66908af6cc3",type:"button",class:"step",part:"decrement","aria-label":this.decrementLabel,disabled:this.disabled||this.atMin,tabindex:"-1",onMouseDown:e=>e.preventDefault(),onClick:()=>this.step_(-1)},n("pf-icon",{key:"157e45ebe127230052c34215c3f88d487dacd41a",name:"minus","aria-hidden":"true"})),n("input",{key:"6fb05cb46de22b37387a16869f93b31b2ea6cc0a",id:"input","aria-label":b(this.el,this.label),part:"input",class:"input",type:"text",inputMode:"decimal",role:"spinbutton",name:this.name,value:i,placeholder:this.placeholder,required:this.required,disabled:this.disabled,autocomplete:"off","aria-invalid":this.error?"true":null,"aria-describedby":e,"aria-valuenow":this.current??null,"aria-valuemin":Number.isFinite(t)?t:null,"aria-valuemax":Number.isFinite(r)?r:null,onInput:this.onInput,onBlur:this.onBlur,onKeyDown:this.onKeyDown}),n("button",{key:"9b6eeddb4884a2961ac5a5cfe6a406111635cf79",type:"button",class:"step",part:"increment","aria-label":this.incrementLabel,disabled:this.disabled||this.atMax,tabindex:"-1",onMouseDown:e=>e.preventDefault(),onClick:()=>this.step_(1)},n("pf-icon",{key:"2a97e66ca7bf42c6d10a872c4b8eec52316d0784",name:"plus","aria-hidden":"true"}))),this.description&&n("p",{key:"3943b0c1ec5ad58d749b0e6d1fb5f60a17eb917e",class:"description",part:"description",id:"description"},this.description),this.error&&n("p",{key:"5aafabcd042976f000f906e6c16fc3eb45d57bf6",class:"error",part:"error",id:"error"},this.error)))}static get delegatesFocus(){return true}static get formAssociated(){return true}static get watchers(){return{value:[{syncFormState:0}],error:[{syncFormState:0}],required:[{syncFormState:0}]}}static get style(){return m()}},[593,"pf-number-input",{name:[513],value:[1025],min:[2],max:[2],step:[2],label:[1],description:[1],error:[1],placeholder:[1],required:[516],disabled:[516],decrementLabel:[1,"decrement-label"],incrementLabel:[1,"increment-label"],draft:[32],checkValidity:[64],reportValidity:[64],getValidationMessage:[64],stepBy:[64]},undefined,{value:[{syncFormState:0}],error:[{syncFormState:0}],required:[{syncFormState:0}]}]);function y(){if(typeof customElements==="undefined"){return}const t=["pf-number-input","pf-icon"];t.forEach((t=>{switch(t){case"pf-number-input":if(!customElements.get(e(t))){customElements.define(e(t),v)}break;case"pf-icon":if(!customElements.get(e(t))){h()}break}}))}y();const g=v;const x=y;export{g as PfNumberInput,x as defineCustomElement};
2
+ //# sourceMappingURL=pf-number-input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["pfNumberInputCss","PfNumberInput","__stencil_proxyCustomElement","HTMLElement","internals","name","value","min","max","step","label","description","error","placeholder","required","disabled","decrementLabel","incrementLabel","pfChange","draft","initialValue","componentWillLoad","this","syncFormState","setFormValue","applyControlValidity","Boolean","checkValidity","reportValidity","getValidationMessage","validationMessage","formResetCallback","stepBy","direction","step_","bounds","undefined","Infinity","Number","current","parseNumberValue","atMin","atMax","commit","next","String","roundToStep","clampNumber","emit","number","stepNumber","onInput","event","raw","target","parsed","trim","onBlur","onKeyDown","key","Keys","ArrowUp","preventDefault","ArrowDown","Home","isFinite","End","render","describedBy","composeDescribedBy","shown","formatNumberValue","h","Host","class","part","htmlFor","control","type","tabindex","onMouseDown","onClick","id","controlAriaLabel","el","inputMode","role","autocomplete"],"sources":["src/components/pf-number-input/pf-number-input.css?tag=pf-number-input&encapsulation=shadow","src/components/pf-number-input/pf-number-input.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-numberinput-field-label, var(--pf-field-label));\n font-size: var(--font-size-sm);\n font-weight: var(--font-weight-medium);\n}\n\n.required {\n color: var(--pf-field-required);\n margin-inline-start: var(--space-1);\n}\n\n.control {\n align-items: stretch;\n background: var(--pf-numberinput-bg);\n border: 1px solid var(--pf-numberinput-border);\n border-radius: var(--radius-md);\n display: inline-flex;\n min-height: 40px;\n overflow: hidden;\n transition:\n border var(--pf-transition-fast),\n box-shadow var(--pf-transition-fast);\n width: 100%;\n}\n\n.control:focus-within {\n border-color: var(--pf-numberinput-focus-border);\n box-shadow: var(--pf-numberinput-focus-ring, var(--pf-focus-ring));\n}\n\n.control--invalid {\n border-color: var(--pf-numberinput-invalid-border);\n}\n\n/*\n * `:host([disabled])` rather than the React component's\n * `:has(.input:disabled)`: the host carries the reflected attribute, which is\n * both simpler and the thing a consumer's own stylesheet can see.\n */\n:host([disabled]) .control {\n background: var(--pf-control-bg-disabled);\n border-color: var(--pf-control-border-disabled);\n color: var(--pf-control-text-disabled);\n opacity: 0.6;\n}\n\n.input {\n background: transparent;\n border: none;\n color: var(--pf-numberinput-text);\n flex: 1;\n font: inherit;\n min-width: 0;\n outline: none;\n padding: 0 var(--space-3);\n text-align: center;\n width: 100%;\n}\n\n.input::placeholder {\n color: var(--pf-numberinput-placeholder);\n}\n\n.input:disabled {\n cursor: not-allowed;\n}\n\n.step {\n align-items: center;\n align-self: stretch;\n background: var(--pf-numberinput-step-bg);\n border: none;\n color: var(--pf-numberinput-step-text);\n cursor: pointer;\n display: inline-flex;\n flex-shrink: 0;\n justify-content: center;\n padding: 0;\n transition:\n background var(--pf-transition-fast),\n color var(--pf-transition-fast);\n width: 40px;\n}\n\n.step:hover:not(:disabled) {\n background: var(--pf-numberinput-step-hover-bg);\n color: var(--pf-numberinput-step-hover-text);\n}\n\n.step:disabled {\n cursor: not-allowed;\n opacity: 0.45;\n}\n\n[part='decrement'] {\n border-inline-end: 1px solid var(--pf-numberinput-border);\n}\n\n[part='increment'] {\n border-inline-start: 1px solid var(--pf-numberinput-border);\n}\n\n.step pf-icon {\n font-size: 16px;\n}\n\n.description {\n color: var(--pf-numberinput-field-description, 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@media (prefers-reduced-motion: reduce) {\n .control,\n .step {\n transition: none;\n }\n}\n","import {\n clampNumber,\n composeDescribedBy,\n formatNumberValue,\n Keys,\n parseNumberValue,\n roundToStep,\n stepNumber,\n} from '@pitchfork-ui/core';\nimport {\n AttachInternals,\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Method,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\n\nimport { applyControlValidity } from '../../form-validity';\nimport { controlAriaLabel } from '../../control-label';\n\n/**\n * A form-associated stepper field.\n *\n * The value is a **string** rather than a number, because that is what an\n * attribute can carry and what a form submits; `pfChange` reports the parsed\n * number beside it, which is what a framework consumer wants. An empty string\n * is an empty field — not zero, which is a value someone chose.\n *\n * All of the arithmetic is core's, so this and the React `NumberInput` step,\n * round and clamp identically: ten steps of `0.1` reach exactly 1 in both.\n *\n * @part field - the wrapper around label, control and messages.\n * @part label - the label element.\n * @part control - the box holding the steppers and the input.\n * @part decrement - the step-down button.\n * @part input - the native input.\n * @part increment - the step-up button.\n * @part description - the hint text below the control.\n * @part error - the error message below the control.\n */\n@Component({\n tag: 'pf-number-input',\n styleUrl: 'pf-number-input.css',\n formAssociated: true,\n shadow: { delegatesFocus: true },\n})\nexport class PfNumberInput {\n @Element() el!: HTMLElement;\n\n @AttachInternals() internals!: ElementInternals;\n\n /**\n * Submitted under this name. Reflected, because a form-associated element\n * takes its submission name from the attribute, not this property.\n */\n @Prop({ reflect: true }) name?: string;\n\n /** The value, as a string. Empty means an empty field. */\n @Prop({ mutable: true }) value = '';\n\n /** The lowest value the field accepts. */\n @Prop() min?: number;\n\n /** The highest value the field accepts. */\n @Prop() max?: number;\n\n /** How far one step moves, and what the result is rounded to. */\n @Prop() step = 1;\n\n /** Visible label. Rendered in the same root as the input, so `for` works. */\n @Prop() label?: string;\n\n /** Hint text below the control. */\n @Prop() description?: string;\n\n /** Error message. Its presence is what marks the control invalid. */\n @Prop() error?: string;\n\n @Prop() placeholder?: string;\n\n @Prop({ reflect: true }) required = false;\n\n @Prop({ reflect: true }) disabled = false;\n\n /** The step-down button's accessible name. */\n @Prop() decrementLabel = 'Decrease';\n\n /** The step-up button's accessible name. */\n @Prop() incrementLabel = 'Increase';\n\n /** Fires when the value changes, with the parsed number beside the string. */\n @Event() pfChange!: EventEmitter<{ value: string; number: number | null }>;\n\n /**\n * What the input shows while it is being edited, which is not always the\n * value: a half-typed \"-\" or \"1.\" is neither a number nor a reason to throw\n * the keystroke away.\n */\n @State() draft: string | null = null;\n\n /** The value a form reset restores, which is the initial attribute. */\n private initialValue = '';\n\n componentWillLoad() {\n this.initialValue = this.value ?? '';\n this.syncFormState();\n }\n\n @Watch('value')\n @Watch('error')\n @Watch('required')\n syncFormState() {\n this.internals.setFormValue(this.value ?? '');\n applyControlValidity(this.internals, Boolean(this.value), this.required, this.error);\n }\n\n /** A form-associated custom element does not inherit this. */\n @Method()\n async checkValidity(): Promise<boolean> {\n return this.internals.checkValidity();\n }\n\n /** As `checkValidity`, but also shows the browser's validation message. */\n @Method()\n async reportValidity(): Promise<boolean> {\n return this.internals.reportValidity();\n }\n\n /** The message explaining why the control is invalid, or an empty string. */\n @Method()\n async getValidationMessage(): Promise<string> {\n return this.internals.validationMessage;\n }\n\n /** A reset restores the value the field started with. */\n formResetCallback() {\n this.value = this.initialValue;\n this.draft = null;\n }\n\n /** Steps the value up or down, as the buttons and the arrows do. */\n @Method()\n async stepBy(direction: 1 | -1): Promise<void> {\n this.step_(direction);\n }\n\n private get bounds() {\n return {\n min: this.min === undefined ? -Infinity : Number(this.min),\n max: this.max === undefined ? Infinity : Number(this.max),\n step: Number(this.step) || 1,\n };\n }\n\n private get current(): number | null {\n return parseNumberValue(this.value);\n }\n\n private get atMin(): boolean {\n const { min } = this.bounds;\n return this.current !== null && this.current <= min;\n }\n\n private get atMax(): boolean {\n const { max } = this.bounds;\n return this.current !== null && this.current >= max;\n }\n\n private commit(next: number | null) {\n const { min, max, step } = this.bounds;\n const value = next === null ? '' : String(roundToStep(clampNumber(next, min, max), step));\n if (value === this.value) return;\n\n this.value = value;\n this.pfChange.emit({ value, number: parseNumberValue(value) });\n }\n\n private step_(direction: 1 | -1) {\n if (this.disabled) return;\n this.draft = null;\n this.commit(stepNumber(this.current, direction, this.bounds));\n }\n\n private onInput = (event: Event) => {\n const raw = (event.target as HTMLInputElement).value;\n /*\n * The draft is kept as typed and the value follows it, rather than the\n * input being rewritten from the value: clamping mid-keystroke would make\n * \"5\" unreachable in a field whose minimum is 50, and rounding would eat\n * the \".\" of \"1.5\" as it was typed.\n */\n this.draft = raw;\n const parsed = parseNumberValue(raw);\n if (raw.trim() === '') {\n this.commit(null);\n return;\n }\n if (parsed !== null) this.commit(parsed);\n };\n\n /** On blur the draft is given up, so the field shows its real value. */\n private onBlur = () => {\n this.draft = null;\n };\n\n private onKeyDown = (event: KeyboardEvent) => {\n if (this.disabled) return;\n const { min, max } = this.bounds;\n\n if (event.key === Keys.ArrowUp) {\n event.preventDefault();\n this.step_(1);\n } else if (event.key === Keys.ArrowDown) {\n event.preventDefault();\n this.step_(-1);\n } else if (event.key === Keys.Home && Number.isFinite(min)) {\n event.preventDefault();\n this.draft = null;\n this.commit(min);\n } else if (event.key === Keys.End && Number.isFinite(max)) {\n event.preventDefault();\n this.draft = null;\n this.commit(max);\n }\n };\n\n render() {\n // IDs are scoped to this shadow root, so they can be literal.\n const describedBy = composeDescribedBy(\n this.description && 'description',\n this.error && 'error',\n );\n const { min, max } = this.bounds;\n const shown = this.draft ?? formatNumberValue(this.current);\n\n return (\n <Host>\n <div class=\"field\" part=\"field\">\n {this.label && (\n <label class=\"label\" part=\"label\" htmlFor=\"input\">\n {this.label}\n {this.required && (\n <span class=\"required\" aria-hidden=\"true\">\n *\n </span>\n )}\n </label>\n )}\n\n <div class={{ control: true, 'control--invalid': Boolean(this.error) }} part=\"control\">\n {/*\n The steppers are out of the tab order and the arrows are on the\n input, which is the spinbutton pattern: a keyboard user steps\n without leaving the field. `mousedown` is prevented so a click\n does not take focus off it either.\n */}\n <button\n type=\"button\"\n class=\"step\"\n part=\"decrement\"\n aria-label={this.decrementLabel}\n disabled={this.disabled || this.atMin}\n tabindex=\"-1\"\n onMouseDown={(event) => event.preventDefault()}\n onClick={() => this.step_(-1)}\n >\n <pf-icon name=\"minus\" aria-hidden=\"true\"></pf-icon>\n </button>\n\n <input\n id=\"input\"\n aria-label={controlAriaLabel(this.el, this.label)}\n part=\"input\"\n class=\"input\"\n type=\"text\"\n inputMode=\"decimal\"\n role=\"spinbutton\"\n name={this.name}\n value={shown}\n placeholder={this.placeholder}\n required={this.required}\n disabled={this.disabled}\n autocomplete=\"off\"\n aria-invalid={this.error ? 'true' : null}\n aria-describedby={describedBy}\n aria-valuenow={this.current ?? null}\n aria-valuemin={Number.isFinite(min) ? min : null}\n aria-valuemax={Number.isFinite(max) ? max : null}\n onInput={this.onInput}\n onBlur={this.onBlur}\n onKeyDown={this.onKeyDown}\n />\n\n <button\n type=\"button\"\n class=\"step\"\n part=\"increment\"\n aria-label={this.incrementLabel}\n disabled={this.disabled || this.atMax}\n tabindex=\"-1\"\n onMouseDown={(event) => event.preventDefault()}\n onClick={() => this.step_(1)}\n >\n <pf-icon name=\"plus\" aria-hidden=\"true\"></pf-icon>\n </button>\n </div>\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 </Host>\n );\n }\n}\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PfOption extends Components.PfOption, HTMLElement {}
4
+ export const PfOption: {
5
+ prototype: PfOption;
6
+ new (): PfOption;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{t as e,p as t,H as s,c as o,h as a,a as i}from"./index.js";const r=()=>`:host{border-radius:var(--radius-sm);color:var(--pf-option-text);cursor:pointer;display:block;font-size:var(--font-size-sm);padding:var(--space-2) var(--space-3);user-select:none}:host([hidden]){display:none}:host([active]),:host(:hover:not([disabled])){background:var(--pf-option-active-bg);color:var(--pf-option-active-text)}:host([selected]){font-weight:var(--font-weight-medium)}:host([disabled]){background:transparent;color:var(--pf-option-text-disabled);cursor:not-allowed}:host([disabled]:hover){background:transparent}`;const n=t(class e extends s{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow();this.pfOptionSelect=o(this,"pfOptionSelect")}get el(){return this}value="";disabled=false;selected=false;active=false;pfOptionSelect;onClick=e=>{if(this.disabled){e.stopPropagation();return}this.pfOptionSelect.emit({value:this.value})};render(){return a(i,{key:"d1dd91cffb3c458ea6b9fb89ddc8a2c91f3b0292",role:"option","aria-selected":this.selected?"true":"false","aria-disabled":this.disabled?"true":null,onClick:this.onClick},a("slot",{key:"0ca5d298f12c9cb85406e65bcc47670d1642613d"}))}static get style(){return r()}},[769,"pf-option",{value:[513],disabled:[516],selected:[1540],active:[1540]}]);function c(){if(typeof customElements==="undefined"){return}const t=["pf-option"];t.forEach((t=>{switch(t){case"pf-option":if(!customElements.get(e(t))){customElements.define(e(t),n)}break}}))}c();const d=n;const l=c;export{d as PfOption,l as defineCustomElement};
2
+ //# sourceMappingURL=pf-option.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["pfOptionCss","PfOption","__stencil_proxyCustomElement","HTMLElement","value","disabled","selected","active","pfOptionSelect","onClick","event","this","stopPropagation","emit","render","h","Host","key","role"],"sources":["src/components/pf-option/pf-option.css?tag=pf-option&encapsulation=shadow","src/components/pf-option/pf-option.tsx"],"sourcesContent":["/*\n * This element is shared by pf-select and pf-combobox, whose React\n * counterparts have separate alias families with their own values. Rather than\n * pick one and diverge from the other, the option reads a generic\n * `--pf-option-*` set that each container defines on itself -- custom\n * properties inherit through the shadow boundary, so a slotted option picks up\n * whichever listbox it is inside. Exactly the pf-menu-item arrangement, for\n * the same reason.\n */\n:host {\n border-radius: var(--radius-sm);\n color: var(--pf-option-text);\n cursor: pointer;\n display: block;\n font-size: var(--font-size-sm);\n padding: var(--space-2) var(--space-3);\n user-select: none;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n/*\n * `active` is the select's, not `:hover` alone: the keyboard and the pointer\n * share one active option, and the select is what decides which.\n */\n:host([active]),\n:host(:hover:not([disabled])) {\n background: var(--pf-option-active-bg);\n color: var(--pf-option-active-text);\n}\n\n:host([selected]) {\n font-weight: var(--font-weight-medium);\n}\n\n:host([disabled]) {\n background: transparent;\n color: var(--pf-option-text-disabled);\n cursor: not-allowed;\n}\n\n:host([disabled]:hover) {\n background: transparent;\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\n\n/**\n * One choice inside a `pf-select`.\n *\n * It only reports that it was chosen; the select owns the value, the active\n * option and closing — the same division as `pf-radio-group` with its radios\n * and `pf-dropdown` with its menu items. The select writes `selected` and\n * `active` back onto it, so the stylesheet has reflected attributes to select\n * on without the option knowing anything about its container.\n *\n * @slot - the option's label, which is also what typeahead searches.\n */\n@Component({\n tag: 'pf-option',\n styleUrl: 'pf-option.css',\n shadow: true,\n})\nexport class PfOption {\n @Element() el!: HTMLElement;\n\n /**\n * The value the select reports when this option is chosen.\n *\n * Reflected, because the generated bindings set props as *properties*: an\n * unreflected prop leaves no attribute, and anything selecting on one — a\n * consumer's stylesheet, or a test — finds nothing.\n */\n @Prop({ reflect: true }) value = '';\n\n /** Reflected; the stylesheet and the select's own query both read it. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Set by the select. Reflected, so the stylesheet can mark the choice. */\n @Prop({ mutable: true, reflect: true }) selected = false;\n\n /** Set by the select: the option the keyboard is on. Reflected likewise. */\n @Prop({ mutable: true, reflect: true }) active = false;\n\n /** Asks the select to take this value. The select decides and closes. */\n @Event() pfOptionSelect!: EventEmitter<{ value: string }>;\n\n /**\n * Mouse only. Keyboard focus stays on the select's trigger and the active\n * option is tracked with `aria-activedescendant`, so an option never has\n * focus to receive a key on.\n */\n private onClick = (event: MouseEvent) => {\n if (this.disabled) {\n event.stopPropagation();\n return;\n }\n this.pfOptionSelect.emit({ value: this.value });\n };\n\n render() {\n return (\n <Host\n role=\"option\"\n aria-selected={this.selected ? 'true' : 'false'}\n aria-disabled={this.disabled ? 'true' : null}\n onClick={this.onClick}\n >\n <slot />\n </Host>\n );\n }\n}\n"],"mappings":"kEAAA,MAAMA,EAAc,IAAM,khB,MCkBbC,EAAQC,EAAA,MAAAD,UAAAE,E,mJAUMC,MAAQ,GAGRC,SAAW,MAGIC,SAAW,MAGXC,OAAS,MAGxCC,eAODC,QAAWC,IACjB,GAAIC,KAAKN,SAAU,CACjBK,EAAME,kBACN,M,CAEFD,KAAKH,eAAeK,KAAK,CAAET,MAAOO,KAAKP,OAAQ,EAGjD,MAAAU,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CACHC,KAAK,SAAQ,gBACEP,KAAKL,SAAW,OAAS,QAAO,gBAChCK,KAAKN,SAAW,OAAS,KACxCI,QAASE,KAAKF,SAEdM,EAAA,QAAAE,IAAA,6C","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PfPageHeader extends Components.PfPageHeader, HTMLElement {}
4
+ export const PfPageHeader: {
5
+ prototype: PfPageHeader;
6
+ new (): PfPageHeader;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{t as e,p as a,H as t,h as s,a as i}from"./index.js";const c=()=>`:host{display:grid;gap:var(--space-4)}:host([hidden]){display:none}.breadcrumbs.empty,.metadata.empty,.actions.empty{display:none}.breadcrumbs{min-width:0}.row{align-items:flex-start;display:flex;flex-direction:column;gap:var(--space-4);justify-content:space-between}@media (min-width: 768px){.row{flex-direction:row}}.content{display:grid;gap:var(--space-2);min-width:0}slot[name='eyebrow']::slotted(*){color:var(--pf-page-header-eyebrow);display:block;font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold);letter-spacing:0.08em;margin:0;text-transform:uppercase}.heading{color:var(--pf-page-header-text);font-size:clamp(var(--font-size-3xl), 3vw, var(--font-size-5xl));font-weight:var(--font-weight-semibold);letter-spacing:-0.03em;line-height:1.05;margin:0}slot[name='description']::slotted(*){color:var(--pf-page-header-text-muted);display:block;font-size:var(--font-size-sm);line-height:1.5;margin:0;max-width:68ch}@media (min-width: 768px){slot[name='description']::slotted(*){font-size:var(--font-size-md)}}.metadata{align-items:center;color:var(--pf-page-header-text-muted);display:inline-flex;flex-wrap:wrap;gap:var(--space-2)}.actions{align-items:center;display:inline-flex;flex:0 0 auto;flex-wrap:wrap;gap:var(--space-2);justify-content:flex-start;width:100%}@media (min-width: 768px){.actions{justify-content:flex-end;width:auto}}`;const n=a(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow()}get el(){return this}hasBreadcrumbs=false;hasMetadata=false;hasActions=false;componentWillLoad(){this.read()}read=()=>{const e=e=>Array.from(this.el.children).some((a=>a.getAttribute("slot")===e));this.hasBreadcrumbs=e("breadcrumbs");this.hasMetadata=e("metadata");this.hasActions=e("actions")};render(){return s(i,{key:"8d3f6dee92d62335462229dc68b3fecf579e4846"},s("div",{key:"d35751a575c614707ab5c2057f16521c78bd9f47",class:{breadcrumbs:true,empty:!this.hasBreadcrumbs},part:"breadcrumbs"},s("slot",{key:"1315edcc31c9fa99b04980180d7d58cc9cb9da88",name:"breadcrumbs",onSlotchange:this.read})),s("div",{key:"e67a5113345cddc79a0112885f40e25398b1223a",class:"row",part:"row"},s("div",{key:"3bd9e036d55367de2d65aa0769abe64c0a084acd",class:"content",part:"content"},s("slot",{key:"8f963cce99ea42a5b61301f3dc5845a60543cf1a",name:"eyebrow"}),s("h1",{key:"a9c1a9a94a0cbac5e7e45fe41d0accf88845a5a2",class:"heading",part:"heading"},s("slot",{key:"b81e457428dc2e55688255a9023fd7633c48054b"})),s("slot",{key:"fe46f6ae144d97c2f941957751b3389d0fe8f457",name:"description"}),s("div",{key:"02110682bf36ce17fd8e824a08f5ea9243b04a16",class:{metadata:true,empty:!this.hasMetadata},part:"metadata"},s("slot",{key:"3e60c5a167573f752c50546944b142a2a34b9437",name:"metadata",onSlotchange:this.read}))),s("div",{key:"8558c324c524782f8ef73e3596f64da9e3c0cd41",class:{actions:true,empty:!this.hasActions},part:"actions"},s("slot",{key:"518894f2b38e56234a0a3d9fcbc6b64dbd651a36",name:"actions",onSlotchange:this.read}))))}static get style(){return c()}},[769,"pf-page-header",{hasBreadcrumbs:[32],hasMetadata:[32],hasActions:[32]}]);function d(){if(typeof customElements==="undefined"){return}const a=["pf-page-header"];a.forEach((a=>{switch(a){case"pf-page-header":if(!customElements.get(e(a))){customElements.define(e(a),n)}break}}))}d();const r=n;const o=d;export{r as PfPageHeader,o as defineCustomElement};
2
+ //# sourceMappingURL=pf-page-header.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["pfPageHeaderCss","PfPageHeader","__stencil_proxyCustomElement","HTMLElement","hasBreadcrumbs","hasMetadata","hasActions","componentWillLoad","this","read","slotted","name","Array","from","el","children","some","child","getAttribute","render","h","Host","key","class","breadcrumbs","empty","part","onSlotchange","metadata","actions"],"sources":["src/components/pf-page-header/pf-page-header.css?tag=pf-page-header&encapsulation=shadow","src/components/pf-page-header/pf-page-header.tsx"],"sourcesContent":[":host {\n display: grid;\n gap: var(--space-4);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n/*\n * Hidden rather than left out, so a later `slotchange` still arrives. Two\n * classes deep, because these boxes set their own `display` below.\n */\n.breadcrumbs.empty,\n.metadata.empty,\n.actions.empty {\n display: none;\n}\n\n.breadcrumbs {\n min-width: 0;\n}\n\n.row {\n align-items: flex-start;\n display: flex;\n flex-direction: column;\n gap: var(--space-4);\n justify-content: space-between;\n}\n\n@media (--md) {\n .row {\n flex-direction: row;\n }\n}\n\n.content {\n display: grid;\n gap: var(--space-2);\n min-width: 0;\n}\n\nslot[name='eyebrow']::slotted(*) {\n color: var(--pf-page-header-eyebrow);\n display: block;\n font-size: var(--font-size-xs);\n font-weight: var(--font-weight-semibold);\n letter-spacing: 0.08em;\n margin: 0;\n text-transform: uppercase;\n}\n\n.heading {\n color: var(--pf-page-header-text);\n font-size: clamp(var(--font-size-3xl), 3vw, var(--font-size-5xl));\n font-weight: var(--font-weight-semibold);\n letter-spacing: -0.03em;\n line-height: 1.05;\n margin: 0;\n}\n\nslot[name='description']::slotted(*) {\n color: var(--pf-page-header-text-muted);\n display: block;\n font-size: var(--font-size-sm);\n line-height: 1.5;\n margin: 0;\n max-width: 68ch;\n}\n\n@media (--md) {\n slot[name='description']::slotted(*) {\n font-size: var(--font-size-md);\n }\n}\n\n.metadata {\n align-items: center;\n color: var(--pf-page-header-text-muted);\n display: inline-flex;\n flex-wrap: wrap;\n gap: var(--space-2);\n}\n\n.actions {\n align-items: center;\n display: inline-flex;\n flex: 0 0 auto;\n flex-wrap: wrap;\n gap: var(--space-2);\n justify-content: flex-start;\n width: 100%;\n}\n\n@media (--md) {\n .actions {\n justify-content: flex-end;\n width: auto;\n }\n}\n","import { Component, Element, h, Host, State } from '@stencil/core';\n\n/**\n * The heading of a page: a breadcrumb trail, an eyebrow, the title, a line of\n * explanation, some metadata and the page's actions.\n *\n * The trail is slotted rather than taken as data — the consumer nests a\n * `pf-breadcrumbs` (WEB-COMPONENTS-PLAN.md §2.1), where the React\n * `PageHeader` takes a `breadcrumbs` array and renders the component itself.\n * Each crumb's label is a node, which does not cross the HTML boundary.\n *\n * @slot breadcrumbs - a `pf-breadcrumbs` trail above the title.\n * @slot eyebrow - small text above the title.\n * @slot - the title.\n * @slot description - a line below the title.\n * @slot metadata - small facts below the description.\n * @slot actions - the page's controls.\n * @part breadcrumbs - the box holding the breadcrumbs slot.\n * @part row - the row holding the content and the actions.\n * @part content - the box holding everything but the actions.\n * @part heading - the title's box.\n * @part metadata - the box holding the metadata slot.\n * @part actions - the box holding the actions slot.\n */\n@Component({\n tag: 'pf-page-header',\n styleUrl: 'pf-page-header.css',\n shadow: true,\n})\nexport class PfPageHeader {\n @Element() el!: HTMLElement;\n\n /** Which of the boxes that carry layout have anything in them. */\n @State() hasBreadcrumbs = false;\n @State() hasMetadata = false;\n @State() hasActions = false;\n\n /** Read from the light DOM, so first paint is right without `slotchange`. */\n componentWillLoad() {\n this.read();\n }\n\n private read = () => {\n const slotted = (name: string) =>\n Array.from(this.el.children).some((child) => child.getAttribute('slot') === name);\n\n this.hasBreadcrumbs = slotted('breadcrumbs');\n this.hasMetadata = slotted('metadata');\n this.hasActions = slotted('actions');\n };\n\n render() {\n return (\n <Host>\n {/*\n Hidden rather than left out, every one of them: a slot that is not\n rendered never fires `slotchange`, so a trail or an action added\n later would stay invisible for good.\n */}\n <div class={{ breadcrumbs: true, empty: !this.hasBreadcrumbs }} part=\"breadcrumbs\">\n <slot name=\"breadcrumbs\" onSlotchange={this.read} />\n </div>\n\n <div class=\"row\" part=\"row\">\n <div class=\"content\" part=\"content\">\n <slot name=\"eyebrow\" />\n <h1 class=\"heading\" part=\"heading\">\n <slot />\n </h1>\n <slot name=\"description\" />\n <div class={{ metadata: true, empty: !this.hasMetadata }} part=\"metadata\">\n <slot name=\"metadata\" onSlotchange={this.read} />\n </div>\n </div>\n\n <div class={{ actions: true, empty: !this.hasActions }} part=\"actions\">\n <slot name=\"actions\" onSlotchange={this.read} />\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"2DAAA,MAAMA,EAAkB,IAAM,i1C,MC6BjBC,EAAYC,EAAA,MAAAD,UAAAE,E,sGAIdC,eAAiB,MACjBC,YAAc,MACdC,WAAa,MAGtB,iBAAAC,GACEC,KAAKC,M,CAGCA,KAAO,KACb,MAAMC,EAAWC,GACfC,MAAMC,KAAKL,KAAKM,GAAGC,UAAUC,MAAMC,GAAUA,EAAMC,aAAa,UAAYP,IAE9EH,KAAKJ,eAAiBM,EAAQ,eAC9BF,KAAKH,YAAcK,EAAQ,YAC3BF,KAAKF,WAAaI,EAAQ,UAAU,EAGtC,MAAAS,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CAMHF,EAAA,OAAAE,IAAA,2CAAKC,MAAO,CAAEC,YAAa,KAAMC,OAAQjB,KAAKJ,gBAAkBsB,KAAK,eACnEN,EAAA,QAAAE,IAAA,2CAAMX,KAAK,cAAcgB,aAAcnB,KAAKC,QAG9CW,EAAA,OAAAE,IAAA,2CAAKC,MAAM,MAAMG,KAAK,OACpBN,EAAA,OAAAE,IAAA,2CAAKC,MAAM,UAAUG,KAAK,WACxBN,EAAA,QAAAE,IAAA,2CAAMX,KAAK,YACXS,EAAA,MAAAE,IAAA,2CAAIC,MAAM,UAAUG,KAAK,WACvBN,EAAA,QAAAE,IAAA,8CAEFF,EAAA,QAAAE,IAAA,2CAAMX,KAAK,gBACXS,EAAA,OAAAE,IAAA,2CAAKC,MAAO,CAAEK,SAAU,KAAMH,OAAQjB,KAAKH,aAAeqB,KAAK,YAC7DN,EAAA,QAAAE,IAAA,2CAAMX,KAAK,WAAWgB,aAAcnB,KAAKC,SAI7CW,EAAA,OAAAE,IAAA,2CAAKC,MAAO,CAAEM,QAAS,KAAMJ,OAAQjB,KAAKF,YAAcoB,KAAK,WAC3DN,EAAA,QAAAE,IAAA,2CAAMX,KAAK,UAAUgB,aAAcnB,KAAKC,S","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PfPagination extends Components.PfPagination, HTMLElement {}
4
+ export const PfPagination: {
5
+ prototype: PfPagination;
6
+ new (): PfPagination;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{t,p as a,H as e,c as i,h as n,a as s}from"./index.js";function o(t,a){if(!(a>0))return 1;return Math.min(Math.max(t,1),a)}function r(t,a,e,i){const n=Math.max(a,1);const s=o(t,n);const r=Math.max(e,0);const p=Math.max(i,0);const c=new Set;const l=t=>{if(t>=1&&t<=n)c.add(t)};for(let t=1;t<=Math.min(p,n);t+=1)l(t);for(let t=n-p+1;t<=n;t+=1)l(t);for(let t=s-r;t<=s+r;t+=1)l(t);const d=[...c].sort(((t,a)=>t-a));for(let t=0;t<d.length-1;t+=1)if(d[t+1]-d[t]===2)l(d[t]+1);if(d[0]===2)l(1);if(d[d.length-1]===n-1)l(n);const f=[...c].sort(((t,a)=>t-a));const g=[];const h=t=>t<=s?"ellipsis-left":"ellipsis-right";if(f.length>0&&f[0]>1)g.push(h(f[0]));for(let t=0;t<f.length;t+=1){g.push(f[t]);const a=f[t+1];if(a!==void 0&&a-f[t]>1)g.push(h(a))}if(f.length>0&&f[f.length-1]<n)g.push("ellipsis-right");return g.length>0?g:[1]}const p=()=>`:host{align-items:center;display:flex;flex-wrap:wrap;gap:var(--space-2)}:host([hidden]){display:none}@media (min-width: 640px){:host{gap:var(--space-3)}}:host([disabled]){opacity:0.65}.list{align-items:center;display:flex;flex-wrap:wrap;gap:var(--space-2);justify-content:center;list-style:none;margin:0;padding:0}.page,.nav{align-items:center;background:var(--pf-pagination-bg);border:1px solid var(--pf-pagination-border);border-radius:var(--radius-md);color:var(--pf-pagination-text);cursor:pointer;display:inline-flex;font-family:inherit;font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);justify-content:center;line-height:1;transition:box-shadow 140ms ease}.page{height:var(--pf-pagination-page-size);min-width:var(--pf-pagination-page-size);padding:0 var(--space-2);transition:none}.nav{height:var(--pf-control-height-sm);min-width:var(--pf-control-height-sm);padding:0 var(--space-2)}@media (min-width: 640px){.nav{padding:0 var(--space-3)}}.page:hover,.nav:hover{border-color:var(--pf-pagination-active-border)}.page:focus-visible,.nav:focus-visible{box-shadow:var(--pf-focus-ring);outline:none}.page--active{background:var(--pf-pagination-active-bg);border-color:var(--pf-pagination-active-border);color:var(--pf-pagination-active-text)}.page--active:hover{background:var(--pf-pagination-active-hover-bg)}.page:disabled,.nav:disabled{cursor:not-allowed;opacity:0.5}.ellipsis{color:var(--pf-pagination-text-muted);display:inline-flex;font-size:var(--font-size-sm);justify-content:center;min-width:20px}@media (prefers-reduced-motion: reduce){.page,.nav{transition:none}}`;const c=a(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow();this.pfPageChange=i(this,"pfPageChange")}page=1;totalPages=1;siblingCount=1;boundaryCount=1;showPrevNext=true;disabled=false;label="Pagination";pfPageChange;goTo(t){if(this.disabled)return;const a=o(t,Math.max(this.totalPages,1));if(a===this.page)return;this.page=a;this.pfPageChange.emit({page:a})}render(){const t=Math.max(this.totalPages,1);const a=o(this.page,t);const e=r(a,t,this.siblingCount,this.boundaryCount);return n(s,{key:"7ddd3d35eb175a4ccedbebdbd75dba3046c94a01",role:"navigation","aria-label":this.label},this.showPrevNext&&n("button",{key:"c6ca9616468f6880fe2122f6f528faa26e43393a",class:"nav",part:"nav previous",type:"button",disabled:this.disabled||a<=1,onClick:()=>this.goTo(a-1)},n("slot",{key:"af06d4de8bc34089517c2aad15b8b08c8822743c",name:"previous"},"Previous")),n("ol",{key:"f82b6a3700a50ea0dad8d4416940428955a06c8f",class:"list",part:"list"},e.map(((t,e)=>typeof t==="number"?n("li",{key:t},n("button",{class:{page:true,"page--active":t===a},part:t===a?"page current":"page",type:"button",disabled:this.disabled,"aria-current":t===a?"page":null,onClick:()=>this.goTo(t)},t)):n("li",{key:`${t}-${e}`,class:"ellipsis",part:"ellipsis","aria-hidden":"true"},"...")))),this.showPrevNext&&n("button",{key:"7d6f1907a2b8ffd6cf8bfab1bc77f044d784bb94",class:"nav",part:"nav next",type:"button",disabled:this.disabled||a>=t,onClick:()=>this.goTo(a+1)},n("slot",{key:"5886d2d27c67b79f399e1bac4359a2cf3876c6c2",name:"next"},"Next")))}static get style(){return p()}},[769,"pf-pagination",{page:[1026],totalPages:[2,"total-pages"],siblingCount:[2,"sibling-count"],boundaryCount:[2,"boundary-count"],showPrevNext:[516,"show-prev-next"],disabled:[516],label:[1]}]);function l(){if(typeof customElements==="undefined"){return}const a=["pf-pagination"];a.forEach((a=>{switch(a){case"pf-pagination":if(!customElements.get(t(a))){customElements.define(t(a),c)}break}}))}l();const d=c;const f=l;export{d as PfPagination,f as defineCustomElement};
2
+ //# sourceMappingURL=pf-pagination.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["clampPage","page","totalPages","Math","min","max","getPaginationItems","currentPage","siblingCount","boundaryCount","safeTotal","safeCurrent","safeSiblingCount","safeBoundaryCount","shown","Set","add","pages","sort","a","b","index","length","finalPages","items","gapFor","nextPage","push","next","pfPaginationCss","PfPagination","__stencil_proxyCustomElement","HTMLElement","showPrevNext","disabled","label","pfPageChange","goTo","this","clamped","emit","render","total","current","h","Host","key","role","class","part","type","onClick","name","map","item"],"sources":["../core/dist/pagination.js","src/components/pf-pagination/pf-pagination.css?tag=pf-pagination&encapsulation=shadow","src/components/pf-pagination/pf-pagination.tsx"],"sourcesContent":["//#region src/pagination.ts\n/**\n* Keep `page` inside 1..totalPages. A total of zero or less has no page to\n* land on, so it reports page 1 — a pager always shows something.\n*/\nfunction clampPage(page, totalPages) {\n\tif (!(totalPages > 0)) return 1;\n\treturn Math.min(Math.max(page, 1), totalPages);\n}\n/**\n* The run of items to render: `boundaryCount` pages pinned at each end,\n* `siblingCount` pages either side of the current one, and an ellipsis\n* wherever that leaves pages genuinely hidden.\n*\n* Built by collecting the pages to show and then walking them, rather than by\n* placing gaps from the window's indexes. The index version got two cases\n* wrong, both of which this shape cannot express:\n*\n* - **A gap standing for nothing.** At 1 of 6 with `boundaryCount: 3` the two\n* boundaries meet in the middle, and it still emitted `1 2 3 … 4 5 6` — an\n* ellipsis between two consecutive pages, because it compared the window\n* against the boundary edges rather than asking which pages were actually\n* missing.\n* - **A gap hiding exactly one page.** An ellipsis costs the same room as the\n* page it stands for and says less, so `1 … 3 4 5 … 7` is strictly worse\n* than `1 2 3 4 5 6 7`. A single-page hole is filled instead.\n*\n* The `[1]` fallback at the end is insurance, not a path: the window always\n* contains the clamped current page, so `shown` is never empty. It stays\n* because a pager with no buttons would read as broken.\n*/\nfunction getPaginationItems(currentPage, totalPages, siblingCount, boundaryCount) {\n\tconst safeTotal = Math.max(totalPages, 1);\n\tconst safeCurrent = clampPage(currentPage, safeTotal);\n\tconst safeSiblingCount = Math.max(siblingCount, 0);\n\tconst safeBoundaryCount = Math.max(boundaryCount, 0);\n\tconst shown = /* @__PURE__ */ new Set();\n\tconst add = (page) => {\n\t\tif (page >= 1 && page <= safeTotal) shown.add(page);\n\t};\n\tfor (let page = 1; page <= Math.min(safeBoundaryCount, safeTotal); page += 1) add(page);\n\tfor (let page = safeTotal - safeBoundaryCount + 1; page <= safeTotal; page += 1) add(page);\n\tfor (let page = safeCurrent - safeSiblingCount; page <= safeCurrent + safeSiblingCount; page += 1) add(page);\n\tconst pages = [...shown].sort((a, b) => a - b);\n\tfor (let index = 0; index < pages.length - 1; index += 1) if (pages[index + 1] - pages[index] === 2) add(pages[index] + 1);\n\tif (pages[0] === 2) add(1);\n\tif (pages[pages.length - 1] === safeTotal - 1) add(safeTotal);\n\tconst finalPages = [...shown].sort((a, b) => a - b);\n\tconst items = [];\n\tconst gapFor = (nextPage) => nextPage <= safeCurrent ? \"ellipsis-left\" : \"ellipsis-right\";\n\tif (finalPages.length > 0 && finalPages[0] > 1) items.push(gapFor(finalPages[0]));\n\tfor (let index = 0; index < finalPages.length; index += 1) {\n\t\titems.push(finalPages[index]);\n\t\tconst next = finalPages[index + 1];\n\t\tif (next !== void 0 && next - finalPages[index] > 1) items.push(gapFor(next));\n\t}\n\tif (finalPages.length > 0 && finalPages[finalPages.length - 1] < safeTotal) items.push(\"ellipsis-right\");\n\treturn items.length > 0 ? items : [1];\n}\n//#endregion\nexport { clampPage, getPaginationItems };\n",":host {\n align-items: center;\n display: flex;\n flex-wrap: wrap;\n gap: var(--space-2);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n@media (--sm) {\n :host {\n gap: var(--space-3);\n }\n}\n\n:host([disabled]) {\n opacity: 0.65;\n}\n\n.list {\n align-items: center;\n display: flex;\n flex-wrap: wrap;\n gap: var(--space-2);\n justify-content: center;\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.page,\n.nav {\n align-items: center;\n background: var(--pf-pagination-bg);\n border: 1px solid var(--pf-pagination-border);\n border-radius: var(--radius-md);\n color: var(--pf-pagination-text);\n cursor: pointer;\n display: inline-flex;\n font-family: inherit;\n font-size: var(--font-size-sm);\n font-weight: var(--font-weight-medium);\n justify-content: center;\n line-height: 1;\n transition: box-shadow 140ms ease;\n}\n\n.page {\n height: var(--pf-pagination-page-size);\n min-width: var(--pf-pagination-page-size);\n padding: 0 var(--space-2);\n transition: none;\n}\n\n.nav {\n height: var(--pf-control-height-sm);\n min-width: var(--pf-control-height-sm);\n padding: 0 var(--space-2);\n}\n\n@media (--sm) {\n .nav {\n padding: 0 var(--space-3);\n }\n}\n\n.page:hover,\n.nav:hover {\n border-color: var(--pf-pagination-active-border);\n}\n\n.page:focus-visible,\n.nav:focus-visible {\n box-shadow: var(--pf-focus-ring);\n outline: none;\n}\n\n.page--active {\n background: var(--pf-pagination-active-bg);\n border-color: var(--pf-pagination-active-border);\n color: var(--pf-pagination-active-text);\n}\n\n.page--active:hover {\n background: var(--pf-pagination-active-hover-bg);\n}\n\n.page:disabled,\n.nav:disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n\n.ellipsis {\n color: var(--pf-pagination-text-muted);\n display: inline-flex;\n font-size: var(--font-size-sm);\n justify-content: center;\n min-width: 20px;\n}\n\n@media (prefers-reduced-motion: reduce) {\n .page,\n .nav {\n transition: none;\n }\n}\n","import { clampPage, getPaginationItems } from '@pitchfork-ui/core';\nimport { Component, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\n\n/**\n * A pager: boundary pages pinned at each end, a window around the current\n * page, and an ellipsis wherever that leaves a gap.\n *\n * Controlled or not, like `pf-input`: `page` is mutable, so leaving it alone\n * lets the element advance itself, and setting it on every `pfPageChange`\n * keeps the consumer in charge.\n *\n * @slot previous - the previous button's label. Defaults to \"Previous\".\n * @slot next - the next button's label. Defaults to \"Next\".\n * @part nav - either of the previous/next buttons.\n * @part previous - the previous button.\n * @part next - the next button.\n * @part list - the ordered list of pages.\n * @part page - each page button.\n * @part current - the page button for the current page.\n * @part ellipsis - each gap.\n */\n@Component({\n tag: 'pf-pagination',\n styleUrl: 'pf-pagination.css',\n shadow: true,\n})\nexport class PfPagination {\n /** The current page, 1-based. Mutable so the element can advance itself. */\n @Prop({ mutable: true }) page = 1;\n\n /** How many pages there are in total. */\n @Prop() totalPages = 1;\n\n /** Pages to show either side of the current one. */\n @Prop() siblingCount = 1;\n\n /** Pages to pin at each end. */\n @Prop() boundaryCount = 1;\n\n /** Show the previous/next buttons. Reflected for the stylesheet. */\n @Prop({ reflect: true }) showPrevNext = true;\n\n /** Disable every button. Reflected for the stylesheet. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Accessible name for the navigation landmark. */\n @Prop() label = 'Pagination';\n\n /** Emitted with the page the user asked for, already clamped to the range. */\n @Event() pfPageChange!: EventEmitter<{ page: number }>;\n\n private goTo(next: number) {\n if (this.disabled) return;\n\n const clamped = clampPage(next, Math.max(this.totalPages, 1));\n if (clamped === this.page) return;\n\n this.page = clamped;\n this.pfPageChange.emit({ page: clamped });\n }\n\n render() {\n const total = Math.max(this.totalPages, 1);\n // Both layers go through core, so the same inputs offer the same pages.\n const current = clampPage(this.page, total);\n const items = getPaginationItems(current, total, this.siblingCount, this.boundaryCount);\n\n return (\n <Host role=\"navigation\" aria-label={this.label}>\n {this.showPrevNext && (\n <button\n class=\"nav\"\n part=\"nav previous\"\n type=\"button\"\n disabled={this.disabled || current <= 1}\n onClick={() => this.goTo(current - 1)}\n >\n {/*\n Slot fallback is the web-component answer to React's\n `prevLabel = 'Previous'` default: the consumer overrides it by\n slotting something, and gets the text if they do not.\n */}\n <slot name=\"previous\">Previous</slot>\n </button>\n )}\n\n <ol class=\"list\" part=\"list\">\n {items.map((item, index) =>\n typeof item === 'number' ? (\n <li key={item}>\n <button\n class={{ page: true, 'page--active': item === current }}\n part={item === current ? 'page current' : 'page'}\n type=\"button\"\n disabled={this.disabled}\n aria-current={item === current ? 'page' : null}\n onClick={() => this.goTo(item)}\n >\n {item}\n </button>\n </li>\n ) : (\n // The gap is decorative: a screen reader walking the list gets\n // the page numbers, and \"...\" would only interrupt them.\n <li key={`${item}-${index}`} class=\"ellipsis\" part=\"ellipsis\" aria-hidden=\"true\">\n ...\n </li>\n ),\n )}\n </ol>\n\n {this.showPrevNext && (\n <button\n class=\"nav\"\n part=\"nav next\"\n type=\"button\"\n disabled={this.disabled || current >= total}\n onClick={() => this.goTo(current + 1)}\n >\n <slot name=\"next\">Next</slot>\n </button>\n )}\n </Host>\n );\n }\n}\n"],"mappings":"6DAKA,SAASA,EAAUC,EAAMC,GACxB,KAAMA,EAAa,GAAI,OAAO,EAC9B,OAAOC,KAAKC,IAAID,KAAKE,IAAIJ,EAAM,GAAIC,EACpC,CAuBA,SAASI,EAAmBC,EAAaL,EAAYM,EAAcC,GAClE,MAAMC,EAAYP,KAAKE,IAAIH,EAAY,GACvC,MAAMS,EAAcX,EAAUO,EAAaG,GAC3C,MAAME,EAAmBT,KAAKE,IAAIG,EAAc,GAChD,MAAMK,EAAoBV,KAAKE,IAAII,EAAe,GAClD,MAAMK,EAAwB,IAAIC,IAClC,MAAMC,EAAOf,IACZ,GAAIA,GAAQ,GAAKA,GAAQS,EAAWI,EAAME,IAAIf,EAAK,EAEpD,IAAK,IAAIA,EAAO,EAAGA,GAAQE,KAAKC,IAAIS,EAAmBH,GAAYT,GAAQ,EAAGe,EAAIf,GAClF,IAAK,IAAIA,EAAOS,EAAYG,EAAoB,EAAGZ,GAAQS,EAAWT,GAAQ,EAAGe,EAAIf,GACrF,IAAK,IAAIA,EAAOU,EAAcC,EAAkBX,GAAQU,EAAcC,EAAkBX,GAAQ,EAAGe,EAAIf,GACvG,MAAMgB,EAAQ,IAAIH,GAAOI,MAAK,CAACC,EAAGC,IAAMD,EAAIC,IAC5C,IAAK,IAAIC,EAAQ,EAAGA,EAAQJ,EAAMK,OAAS,EAAGD,GAAS,EAAG,GAAIJ,EAAMI,EAAQ,GAAKJ,EAAMI,KAAW,EAAGL,EAAIC,EAAMI,GAAS,GACxH,GAAIJ,EAAM,KAAO,EAAGD,EAAI,GACxB,GAAIC,EAAMA,EAAMK,OAAS,KAAOZ,EAAY,EAAGM,EAAIN,GACnD,MAAMa,EAAa,IAAIT,GAAOI,MAAK,CAACC,EAAGC,IAAMD,EAAIC,IACjD,MAAMI,EAAQ,GACd,MAAMC,EAAUC,GAAaA,GAAYf,EAAc,gBAAkB,iBACzE,GAAIY,EAAWD,OAAS,GAAKC,EAAW,GAAK,EAAGC,EAAMG,KAAKF,EAAOF,EAAW,KAC7E,IAAK,IAAIF,EAAQ,EAAGA,EAAQE,EAAWD,OAAQD,GAAS,EAAG,CAC1DG,EAAMG,KAAKJ,EAAWF,IACtB,MAAMO,EAAOL,EAAWF,EAAQ,GAChC,GAAIO,SAAS,GAAUA,EAAOL,EAAWF,GAAS,EAAGG,EAAMG,KAAKF,EAAOG,GACzE,CACC,GAAIL,EAAWD,OAAS,GAAKC,EAAWA,EAAWD,OAAS,GAAKZ,EAAWc,EAAMG,KAAK,kBACvF,OAAOH,EAAMF,OAAS,EAAIE,EAAQ,CAAC,EACpC,CC1DA,MAAMK,EAAkB,IAAM,+jD,MC0BjBC,EAAYC,EAAA,MAAAD,UAAAE,E,0HAEE/B,KAAO,EAGxBC,WAAa,EAGbM,aAAe,EAGfC,cAAgB,EAGCwB,aAAe,KAGfC,SAAW,MAG5BC,MAAQ,aAGPC,aAED,IAAAC,CAAKT,GACX,GAAIU,KAAKJ,SAAU,OAEnB,MAAMK,EAAUvC,EAAU4B,EAAMzB,KAAKE,IAAIiC,KAAKpC,WAAY,IAC1D,GAAIqC,IAAYD,KAAKrC,KAAM,OAE3BqC,KAAKrC,KAAOsC,EACZD,KAAKF,aAAaI,KAAK,CAAEvC,KAAMsC,G,CAGjC,MAAAE,GACE,MAAMC,EAAQvC,KAAKE,IAAIiC,KAAKpC,WAAY,GAExC,MAAMyC,EAAU3C,EAAUsC,KAAKrC,KAAMyC,GACrC,MAAMlB,EAAQlB,EAAmBqC,EAASD,EAAOJ,KAAK9B,aAAc8B,KAAK7B,eAEzE,OACEmC,EAACC,EAAI,CAAAC,IAAA,2CAACC,KAAK,aAAY,aAAaT,KAAKH,OACtCG,KAAKL,cACJW,EAAA,UAAAE,IAAA,2CACEE,MAAM,MACNC,KAAK,eACLC,KAAK,SACLhB,SAAUI,KAAKJ,UAAYS,GAAW,EACtCQ,QAAS,IAAMb,KAAKD,KAAKM,EAAU,IAOnCC,EAAA,QAAAE,IAAA,2CAAMM,KAAK,YAAU,aAIzBR,EAAA,MAAAE,IAAA,2CAAIE,MAAM,OAAOC,KAAK,QACnBzB,EAAM6B,KAAI,CAACC,EAAMjC,WACTiC,IAAS,SACdV,EAAA,MAAIE,IAAKQ,GACPV,EAAA,UACEI,MAAO,CAAE/C,KAAM,KAAM,eAAgBqD,IAASX,GAC9CM,KAAMK,IAASX,EAAU,eAAiB,OAC1CO,KAAK,SACLhB,SAAUI,KAAKJ,SAAQ,eACToB,IAASX,EAAU,OAAS,KAC1CQ,QAAS,IAAMb,KAAKD,KAAKiB,IAExBA,IAMLV,EAAA,MAAIE,IAAK,GAAGQ,KAAQjC,IAAS2B,MAAM,WAAWC,KAAK,WAAU,cAAa,QAAM,UAOrFX,KAAKL,cACJW,EAAA,UAAAE,IAAA,2CACEE,MAAM,MACNC,KAAK,WACLC,KAAK,SACLhB,SAAUI,KAAKJ,UAAYS,GAAWD,EACtCS,QAAS,IAAMb,KAAKD,KAAKM,EAAU,IAEnCC,EAAA,QAAAE,IAAA,2CAAMM,KAAK,QAAM,S","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PfPieChart extends Components.PfPieChart, HTMLElement {}
4
+ export const PfPieChart: {
5
+ prototype: PfPieChart;
6
+ new (): PfPieChart;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{t as e,p as t,H as i,h as a,a as n}from"./index.js";import{p as s,r,a as d,c as o}from"./p-COAc4ZDB.js";const c=()=>`:host{align-items:flex-start;display:inline-flex;flex-direction:column;gap:var(--space-4)}:host([hidden]){display:none}@media (min-width: 640px){:host{align-items:center;flex-direction:row;gap:var(--space-6)}}.visual{align-items:center;border-radius:var(--radius-full);display:inline-flex;flex:0 0 auto;justify-content:center;position:relative}@property --pf-pie-sweep{syntax:'<percentage>';inherits:false;initial-value:0%}.gradient{--pf-pie-sweep:100%;animation:pf-pie-sweep var(--duration-slow) var(--easing-decelerate);background-image:var(--pf-pie-gradient);border-radius:inherit;inset:0;mask:conic-gradient(#000 var(--pf-pie-sweep), #0000 0);position:absolute}@keyframes pf-pie-sweep{from{--pf-pie-sweep:0%}}@media (prefers-reduced-motion: reduce){.gradient{animation:none}}.visual--empty{outline:1px solid var(--pf-piechart-border-muted)}.center{align-items:center;background:var(--pf-piechart-bg);border-radius:var(--radius-full);color:var(--pf-piechart-text);display:inline-flex;font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold);justify-content:center;line-height:1.2;position:relative;text-align:center;z-index:1}.legend{display:grid;gap:var(--space-2);list-style:none;margin:0;min-width:0;padding:0;width:100%}@media (min-width: 640px){.legend{min-width:180px;width:auto}}.legend.legend--hidden{display:none}.legend slot{display:contents}`;const l=t(class e extends i{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow()}get el(){return this}size=192;cutout=.58;showLegend=true;label="Pie chart";gradient="conic-gradient(var(--pf-piechart-empty) 0% 100%)";hasData=false;componentWillLoad(){this.sync()}componentDidLoad(){this.sync()}async refresh(){this.sync()}get slices(){return Array.from(this.el.querySelectorAll("pf-pie-slice")).filter((e=>e.parentElement===this.el))}read(e){const t=e;const i=t.value??Number(e.getAttribute("value"));return{value:Number(i),color:t.color??e.getAttribute("color")??undefined}}sync(){const e=this.slices;const t=s(e.map((e=>this.read(e))));const i=r(t.map((e=>e.percentage)));this.hasData=t.length>0;this.gradient=this.hasData?d(t):"conic-gradient(var(--pf-piechart-empty) 0% 100%)";const a=new Map(t.map(((e,t)=>[e.index,t])));for(const[n,s]of e.entries()){const e=a.get(n);const r=s;r.drawn=e!==undefined;r.swatch=e===undefined?"":t[e].color;r.share=e===undefined?0:i[e]}}render(){const e=Math.max(Number(this.size)||192,120);const t=Math.round(e*o(Number(this.cutout)));return a(n,{key:"022a7813d1656d3dbbfe1da544ba8d141a02b027"},a("div",{key:"7cdca0aa65218b02f82a52eb6b7b56e466a8e88d",class:{visual:true,"visual--empty":!this.hasData},part:"visual",role:"img","aria-label":this.label,style:{width:`${e}px`,height:`${e}px`}},a("div",{key:"a9117ff8be6a7365368b2a137d9be1ac087f9a5e",class:"gradient",part:"gradient","aria-hidden":"true",style:{"--pf-pie-gradient":this.gradient}}),a("div",{key:"0a952bb9a7bdaa508bd3b700f9ca39deaa25fede",class:"center",part:"center",style:{width:`${t}px`,height:`${t}px`}},this.hasData?a("slot",{name:"center"}):a("slot",{name:"empty"},"No data"))),a("ul",{key:"4700e4485029a450f28e8aa18dd1f53b6891b3fe",class:{legend:true,"legend--hidden":!this.showLegend},part:"legend"},a("slot",{key:"dd50658f3539b602ef305d24fd66d3b3c87eb552",onSlotchange:()=>this.refresh()})))}static get watchers(){return{cutout:[{sync:0}]}}static get style(){return c()}},[769,"pf-pie-chart",{size:[2],cutout:[2],showLegend:[516,"show-legend"],label:[1],gradient:[32],hasData:[32],refresh:[64]},undefined,{cutout:[{sync:0}]}]);function p(){if(typeof customElements==="undefined"){return}const t=["pf-pie-chart"];t.forEach((t=>{switch(t){case"pf-pie-chart":if(!customElements.get(e(t))){customElements.define(e(t),l)}break}}))}p();const f=l;const h=p;export{f as PfPieChart,h as defineCustomElement};
2
+ //# sourceMappingURL=pf-pie-chart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["pfPieChartCss","PfPieChart","__stencil_proxyCustomElement","HTMLElement","size","cutout","showLegend","label","gradient","hasData","componentWillLoad","this","sync","componentDidLoad","refresh","slices","Array","from","el","querySelectorAll","filter","slice","parentElement","read","node","value","Number","getAttribute","color","undefined","segments","preparePieSegments","map","shares","roundPercentages","segment","percentage","length","pieConicGradient","bySlice","Map","position","index","entries","get","drawn","swatch","share","render","Math","max","centerSize","round","clampPieCutout","h","Host","key","class","visual","part","role","style","width","height","name","legend","onSlotchange"],"sources":["src/components/pf-pie-chart/pf-pie-chart.css?tag=pf-pie-chart&encapsulation=shadow","src/components/pf-pie-chart/pf-pie-chart.tsx"],"sourcesContent":["/* Mobile first: the legend under the chart, beside it on a wider screen. */\n:host {\n align-items: flex-start;\n display: inline-flex;\n flex-direction: column;\n gap: var(--space-4);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n@media (--sm) {\n :host {\n align-items: center;\n flex-direction: row;\n gap: var(--space-6);\n }\n}\n\n.visual {\n align-items: center;\n border-radius: var(--radius-full);\n display: inline-flex;\n flex: 0 0 auto;\n justify-content: center;\n position: relative;\n}\n\n/*\n * A registered custom property, because an unregistered one cannot be\n * animated: `--pf-pie-sweep` has to interpolate as a percentage for the\n * sweep to happen at all, and without `@property` it would jump from 0% to\n * 100% at the halfway point. Declared here rather than relying on the React\n * library's copy — `@property` registers document-globally, but a consumer\n * who ships only the elements has no other source for it.\n */\n@property --pf-pie-sweep {\n syntax: '<percentage>';\n inherits: false;\n initial-value: 0%;\n}\n\n.gradient {\n --pf-pie-sweep: 100%;\n\n animation: pf-pie-sweep var(--duration-slow) var(--easing-decelerate);\n background-image: var(--pf-pie-gradient);\n border-radius: inherit;\n inset: 0;\n mask: conic-gradient(#000 var(--pf-pie-sweep), #0000 0);\n position: absolute;\n}\n\n/* Its own copy: `@keyframes` do not cross a shadow boundary. */\n@keyframes pf-pie-sweep {\n from {\n --pf-pie-sweep: 0%;\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .gradient {\n animation: none;\n }\n}\n\n.visual--empty {\n outline: 1px solid var(--pf-piechart-border-muted);\n}\n\n.center {\n align-items: center;\n background: var(--pf-piechart-bg);\n border-radius: var(--radius-full);\n color: var(--pf-piechart-text);\n display: inline-flex;\n font-size: var(--font-size-sm);\n font-weight: var(--font-weight-semibold);\n justify-content: center;\n line-height: 1.2;\n position: relative;\n text-align: center;\n z-index: 1;\n}\n\n.legend {\n display: grid;\n gap: var(--space-2);\n list-style: none;\n margin: 0;\n min-width: 0;\n padding: 0;\n width: 100%;\n}\n\n@media (--sm) {\n .legend {\n min-width: 180px;\n width: auto;\n }\n}\n\n/*\n * Hidden rather than dropped, so the slices stay slotted and `slotchange`\n * still fires. Two classes deep, because the tie breaks on source order.\n */\n.legend.legend--hidden {\n display: none;\n}\n\n/* The slices are grid children of the list, not of a box inside it. */\n.legend slot {\n display: contents;\n}\n","import {\n clampPieCutout,\n pieConicGradient,\n preparePieSegments,\n roundPercentages,\n} from '@pitchfork-ui/core';\nimport { Component, Element, h, Host, Method, Prop, State, Watch } from '@stencil/core';\n\n/**\n * A pie or donut over `pf-pie-slice` children.\n *\n * The chart owns the two things a slice cannot know: its share of the total\n * and its colour. Both go to the slice, which draws its own legend row —\n * a slot renders its assigned content once and in one place, so a legend\n * built in the shadow root could never reach labels that live in the light\n * DOM.\n *\n * All of the arithmetic is core's, so this and the React `PieChart` show the\n * same breakdown, down to the legend's percentages summing to 100.\n *\n * @slot - the `pf-pie-slice` children.\n * @slot center - what goes in the hole.\n * @slot empty - what to show when nothing is drawable.\n * @part visual - the circle.\n * @part gradient - the layer the wedges are painted on.\n * @part center - the hole in the middle.\n * @part legend - the list the slices are slotted into.\n */\n@Component({\n tag: 'pf-pie-chart',\n styleUrl: 'pf-pie-chart.css',\n shadow: true,\n})\nexport class PfPieChart {\n @Element() el!: HTMLElement;\n\n /** Diameter, in pixels. Never below 120, where the ring stops reading. */\n @Prop() size = 192;\n\n /** The hole in the middle, as a fraction of the diameter. */\n @Prop() cutout = 0.58;\n\n /** Show the legend the slices make up. Reflected. */\n @Prop({ reflect: true }) showLegend = true;\n\n /** The chart's accessible name. */\n @Prop() label = 'Pie chart';\n\n /** The gradient painting the wedges, which only the chart can work out. */\n @State() gradient = 'conic-gradient(var(--pf-piechart-empty) 0% 100%)';\n\n /** Whether anything is drawable, which decides between chart and empty state. */\n @State() hasData = false;\n\n /** The light DOM is readable here, so first paint is already right. */\n componentWillLoad() {\n this.sync();\n }\n\n componentDidLoad() {\n this.sync();\n }\n\n /**\n * Re-reads the slices, for a consumer who changed a value through its\n * *property* — which leaves no attribute and fires no `slotchange`.\n */\n @Method()\n async refresh() {\n this.sync();\n }\n\n /** Direct children only: a nested chart owns its own slices. */\n private get slices(): HTMLElement[] {\n return Array.from(this.el.querySelectorAll<HTMLElement>('pf-pie-slice')).filter(\n (slice) => slice.parentElement === this.el,\n );\n }\n\n /**\n * The property if the slice has upgraded, the attribute if it has not:\n * `componentWillLoad` can run before a child parsed from HTML upgrades.\n */\n private read(slice: HTMLElement) {\n const node = slice as HTMLElement & { value?: number; color?: string };\n const value = node.value ?? Number(slice.getAttribute('value'));\n return {\n value: Number(value),\n color: node.color ?? slice.getAttribute('color') ?? undefined,\n };\n }\n\n @Watch('cutout')\n sync() {\n const slices = this.slices;\n const segments = preparePieSegments(slices.map((slice) => this.read(slice)));\n const shares = roundPercentages(segments.map((segment) => segment.percentage));\n\n this.hasData = segments.length > 0;\n this.gradient = this.hasData\n ? pieConicGradient(segments)\n : 'conic-gradient(var(--pf-piechart-empty) 0% 100%)';\n\n /*\n * `index` is the slice's place in the original children, which is what\n * carries the answer back to the right slice: `preparePieSegments` drops\n * the ones that are not drawable, so its own positions no longer line up\n * with the children.\n */\n const bySlice = new Map(segments.map((segment, position) => [segment.index, position]));\n\n for (const [index, slice] of slices.entries()) {\n const position = bySlice.get(index);\n const node = slice as HTMLElement & { swatch: string; share: number; drawn: boolean };\n\n node.drawn = position !== undefined;\n node.swatch = position === undefined ? '' : segments[position].color;\n node.share = position === undefined ? 0 : shares[position];\n }\n }\n\n render() {\n const size = Math.max(Number(this.size) || 192, 120);\n const centerSize = Math.round(size * clampPieCutout(Number(this.cutout)));\n\n return (\n <Host>\n <div\n class={{ visual: true, 'visual--empty': !this.hasData }}\n part=\"visual\"\n role=\"img\"\n aria-label={this.label}\n style={{ width: `${size}px`, height: `${size}px` }}\n >\n {/*\n The gradient goes on a real child rather than a `::before`, so a\n contrast checker can see the centre label against it.\n */}\n <div\n class=\"gradient\"\n part=\"gradient\"\n aria-hidden=\"true\"\n style={{ '--pf-pie-gradient': this.gradient }}\n ></div>\n <div\n class=\"center\"\n part=\"center\"\n style={{ width: `${centerSize}px`, height: `${centerSize}px` }}\n >\n {this.hasData ? <slot name=\"center\" /> : <slot name=\"empty\">No data</slot>}\n </div>\n </div>\n\n {/*\n The list stays in the tree whether or not the legend is shown: a\n slot that is not rendered never fires `slotchange`, so slices added\n later would stay invisible for good — and the slices have to be\n read even when the legend is hidden, because they are the data.\n */}\n <ul class={{ legend: true, 'legend--hidden': !this.showLegend }} part=\"legend\">\n <slot onSlotchange={() => this.refresh()} />\n </ul>\n </Host>\n );\n }\n}\n"],"mappings":"+GAAA,MAAMA,EAAgB,IAAM,21C,MCiCfC,EAAUC,EAAA,MAAAD,UAAAE,E,sGAIbC,KAAO,IAGPC,OAAS,IAGQC,WAAa,KAG9BC,MAAQ,YAGPC,SAAW,mDAGXC,QAAU,MAGnB,iBAAAC,GACEC,KAAKC,M,CAGP,gBAAAC,GACEF,KAAKC,M,CAQP,aAAME,GACJH,KAAKC,M,CAIP,UAAYG,GACV,OAAOC,MAAMC,KAAKN,KAAKO,GAAGC,iBAA8B,iBAAiBC,QACtEC,GAAUA,EAAMC,gBAAkBX,KAAKO,I,CAQpC,IAAAK,CAAKF,GACX,MAAMG,EAAOH,EACb,MAAMI,EAAQD,EAAKC,OAASC,OAAOL,EAAMM,aAAa,UACtD,MAAO,CACLF,MAAOC,OAAOD,GACdG,MAAOJ,EAAKI,OAASP,EAAMM,aAAa,UAAYE,U,CAKxD,IAAAjB,GACE,MAAMG,EAASJ,KAAKI,OACpB,MAAMe,EAAWC,EAAmBhB,EAAOiB,KAAKX,GAAUV,KAAKY,KAAKF,MACpE,MAAMY,EAASC,EAAiBJ,EAASE,KAAKG,GAAYA,EAAQC,cAElEzB,KAAKF,QAAUqB,EAASO,OAAS,EACjC1B,KAAKH,SAAWG,KAAKF,QACjB6B,EAAiBR,GACjB,mDAQJ,MAAMS,EAAU,IAAIC,IAAIV,EAASE,KAAI,CAACG,EAASM,IAAa,CAACN,EAAQO,MAAOD,MAE5E,IAAK,MAAOC,EAAOrB,KAAUN,EAAO4B,UAAW,CAC7C,MAAMF,EAAWF,EAAQK,IAAIF,GAC7B,MAAMlB,EAAOH,EAEbG,EAAKqB,MAAQJ,IAAaZ,UAC1BL,EAAKsB,OAASL,IAAaZ,UAAY,GAAKC,EAASW,GAAUb,MAC/DJ,EAAKuB,MAAQN,IAAaZ,UAAY,EAAII,EAAOQ,E,EAIrD,MAAAO,GACE,MAAM5C,EAAO6C,KAAKC,IAAIxB,OAAOf,KAAKP,OAAS,IAAK,KAChD,MAAM+C,EAAaF,KAAKG,MAAMhD,EAAOiD,EAAe3B,OAAOf,KAAKN,UAEhE,OACEiD,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,OAAAE,IAAA,2CACEC,MAAO,CAAEC,OAAQ,KAAM,iBAAkB/C,KAAKF,SAC9CkD,KAAK,SACLC,KAAK,MAAK,aACEjD,KAAKJ,MACjBsD,MAAO,CAAEC,MAAO,GAAG1D,MAAU2D,OAAQ,GAAG3D,QAMxCkD,EAAA,OAAAE,IAAA,2CACEC,MAAM,WACNE,KAAK,WAAU,cACH,OACZE,MAAO,CAAE,oBAAqBlD,KAAKH,YAErC8C,EAAA,OAAAE,IAAA,2CACEC,MAAM,SACNE,KAAK,SACLE,MAAO,CAAEC,MAAO,GAAGX,MAAgBY,OAAQ,GAAGZ,QAE7CxC,KAAKF,QAAU6C,EAAA,QAAMU,KAAK,WAAcV,EAAA,QAAMU,KAAK,SAAO,aAU/DV,EAAA,MAAAE,IAAA,2CAAIC,MAAO,CAAEQ,OAAQ,KAAM,kBAAmBtD,KAAKL,YAAcqD,KAAK,UACpEL,EAAA,QAAAE,IAAA,2CAAMU,aAAc,IAAMvD,KAAKG,a","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PfPieSlice extends Components.PfPieSlice, HTMLElement {}
4
+ export const PfPieSlice: {
5
+ prototype: PfPieSlice;
6
+ new (): PfPieSlice;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{t as e,p as a,H as t,h as s,a as r}from"./index.js";const c=()=>`:host{align-items:center;display:grid;gap:var(--space-2);grid-template-columns:10px 1fr auto}:host([hidden]){display:none}:host(:not([drawn])){display:none}.dot{border-radius:var(--radius-full);display:inline-block;height:10px;width:10px}.label{color:var(--pf-piechart-text);font-size:var(--font-size-sm);min-width:0}.value{color:var(--pf-piechart-text-muted);font-size:var(--font-size-sm);font-variant-numeric:tabular-nums}`;const i=a(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow()}value=0;color;swatch="";share=0;drawn=false;render(){return s(r,{key:"122c85fbc58816acce27ac06547eb4f2adf63788",role:"listitem"},s("span",{key:"d2d41879c922a4b929b801e4e3b2add7227cd79f",class:"dot",part:"dot","aria-hidden":"true",style:{background:this.swatch}}),s("span",{key:"46ea91d2d36a9269558548f0c2bc446b7d556467",class:"label",part:"label"},s("slot",{key:"d8eb86e569151c9b26de626e6dd6c08feee8da75"})),s("span",{key:"cbf292f34e267cf4ff37bded7da86649d7ea9ed6",class:"value",part:"value"},this.share,"%"))}static get style(){return c()}},[769,"pf-pie-slice",{value:[514],color:[513],swatch:[1025],share:[1026],drawn:[1540]}]);function d(){if(typeof customElements==="undefined"){return}const a=["pf-pie-slice"];a.forEach((a=>{switch(a){case"pf-pie-slice":if(!customElements.get(e(a))){customElements.define(e(a),i)}break}}))}d();const n=i;const l=d;export{n as PfPieSlice,l as defineCustomElement};
2
+ //# sourceMappingURL=pf-pie-slice.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["pfPieSliceCss","PfPieSlice","__stencil_proxyCustomElement","HTMLElement","value","color","swatch","share","drawn","render","h","Host","key","role","class","part","style","background","this"],"sources":["src/components/pf-pie-slice/pf-pie-slice.css?tag=pf-pie-slice&encapsulation=shadow","src/components/pf-pie-slice/pf-pie-slice.tsx"],"sourcesContent":[":host {\n align-items: center;\n display: grid;\n gap: var(--space-2);\n grid-template-columns: 10px 1fr auto;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n/*\n * A slice the chart did not draw is not a legend row either: a legend listing\n * a colour that appears nowhere in the chart is worse than a shorter legend.\n */\n:host(:not([drawn])) {\n display: none;\n}\n\n.dot {\n border-radius: var(--radius-full);\n display: inline-block;\n height: 10px;\n width: 10px;\n}\n\n.label {\n color: var(--pf-piechart-text);\n font-size: var(--font-size-sm);\n min-width: 0;\n}\n\n.value {\n color: var(--pf-piechart-text-muted);\n font-size: var(--font-size-sm);\n font-variant-numeric: tabular-nums;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n/**\n * One slice of a `pf-pie-chart`, and its own row in the legend.\n *\n * The React `PieChart` takes a `data` array of `{ label, value, color }`; a\n * slot renders its assigned content once and in one place, so there is no way\n * for the chart's shadow root to build a legend out of labels that live in the\n * light DOM. The slice renders its own row instead, which is the §2.1 idiom\n * and lets a consumer put anything in a label.\n *\n * `swatch`, `share` and `drawn` are the chart's to set: only it can see the\n * total.\n *\n * @slot - the slice's label.\n * @part dot - the colour swatch.\n * @part label - the label's box.\n * @part value - the share, as a whole percentage.\n */\n@Component({\n tag: 'pf-pie-slice',\n styleUrl: 'pf-pie-slice.css',\n shadow: true,\n})\nexport class PfPieSlice {\n /** How big the slice is, in whatever unit the chart's slices share. */\n @Prop({ reflect: true }) value = 0;\n\n /** Overrides the palette colour the chart would give it. */\n @Prop({ reflect: true }) color?: string;\n\n /** Set by the chart: the colour actually used, palette or override. */\n @Prop({ mutable: true }) swatch = '';\n\n /** Set by the chart: this slice's share, as a whole percentage. */\n @Prop({ mutable: true }) share = 0;\n\n /**\n * Set by the chart: whether this slice is in the drawing at all.\n *\n * A slice of zero is not a wedge, so it is not a legend row either —\n * otherwise the legend lists colours that appear nowhere in the chart.\n * Reflected, because that is what the stylesheet hides it with.\n */\n @Prop({ mutable: true, reflect: true }) drawn = false;\n\n render() {\n return (\n <Host role=\"listitem\">\n <span class=\"dot\" part=\"dot\" aria-hidden=\"true\" style={{ background: this.swatch }}></span>\n <span class=\"label\" part=\"label\">\n <slot />\n </span>\n <span class=\"value\" part=\"value\">\n {this.share}%\n </span>\n </Host>\n );\n }\n}\n"],"mappings":"2DAAA,MAAMA,EAAgB,IAAM,2a,MCwBfC,EAAUC,EAAA,MAAAD,UAAAE,E,iFAEIC,MAAQ,EAGRC,MAGAC,OAAS,GAGTC,MAAQ,EASOC,MAAQ,MAEhD,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CAACC,KAAK,YACTH,EAAA,QAAAE,IAAA,2CAAME,MAAM,MAAMC,KAAK,MAAK,cAAa,OAAOC,MAAO,CAAEC,WAAYC,KAAKZ,UAC1EI,EAAA,QAAAE,IAAA,2CAAME,MAAM,QAAQC,KAAK,SACvBL,EAAA,QAAAE,IAAA,8CAEFF,EAAA,QAAAE,IAAA,2CAAME,MAAM,QAAQC,KAAK,SACtBG,KAAKX,MACD,K","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PfPopover extends Components.PfPopover, HTMLElement {}
4
+ export const PfPopover: {
5
+ prototype: PfPopover;
6
+ new (): PfPopover;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{t as e,p as t,H as s,c as n,h as o,a as i}from"./index.js";import{o as a,p as r}from"./p-CC7AyfOt.js";import{K as p}from"./p-g4FlTDZx.js";const l=()=>`:host{display:inline-flex}:host([hidden]){display:none}.panel{inset:auto;margin:0;background:var(--pf-popover-bg);border:1px solid var(--pf-popover-border);border-radius:var(--radius-md);box-shadow:var(--shadow-lg);color:var(--pf-popover-text);max-width:min(320px, calc(100vw - 2 * var(--space-4)));padding:var(--space-3);width:max-content}.panel:focus-visible{outline:none}.panel:popover-open{animation:pf-popover-in var(--duration-fast) var(--easing-decelerate)}@keyframes pf-popover-in{from{opacity:0;transform:translateY(-4px)}}@media (prefers-reduced-motion: reduce){.panel:popover-open{animation:none}}`;const c=t(class e extends s{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow();this.pfOpenChange=n(this,"pfOpenChange")}get el(){return this}open=false;align="start";label;dismissable=true;pfOpenChange;stopObserving;componentDidLoad(){this.syncTrigger();if(this.open)this.showPanel()}disconnectedCallback(){this.stopObserving?.()}async show(){this.open=true}async hide(){this.open=false}syncOpen(e,t){if(e)this.showPanel();else this.hidePanel();this.syncTrigger();if(e!==t)this.pfOpenChange.emit({open:e})}get panel(){return this.el.shadowRoot?.querySelector('[part="panel"]')??null}get trigger(){return this.el.firstElementChild}syncTrigger(){const e=this.trigger;if(!e)return;e.setAttribute("aria-haspopup","dialog");e.setAttribute("aria-expanded",this.open?"true":"false")}showPanel(){const e=this.panel;if(!e||e.matches(":popover-open"))return;e.showPopover();this.stopObserving?.();this.stopObserving=a({getAnchor:()=>this.trigger,getFloating:()=>e,align:this.align,matchAnchorWidth:false,flip:true,onChange:({left:t,top:s})=>r(e,t,s)});e.focus()}hidePanel(){this.stopObserving?.();this.stopObserving=undefined;const e=this.panel;if(e?.matches(":popover-open"))e.hidePopover()}handleClick(e){const t=this.trigger;if(!t||!e.composedPath().includes(t))return;this.open=!this.open}handleKeyDown(e){if(e.key!==p.Escape||this.dismissable||!this.open)return;e.stopPropagation();this.open=false}onToggle=e=>{const t=e.newState==="open";if(t!==this.open)this.open=t};render(){return o(i,{key:"df31f83d35301ca9e0cee9952b990ed09d9bb1a3"},o("slot",{key:"a302c69a56ff5e286b5d78b7fd17c0592bc5268d",onSlotchange:()=>this.syncTrigger()}),o("div",{key:"e1e7272e02705426eb375e4397cbc8941ccfb995",class:"panel",part:"panel",popover:this.dismissable?"auto":"manual",role:"dialog","aria-label":this.label,tabindex:"-1",onToggle:this.onToggle},o("slot",{key:"56c901b8c16a17dc5725e49c55262e0218262595",name:"content"})))}static get watchers(){return{open:[{syncOpen:0}]}}static get style(){return l()}},[769,"pf-popover",{open:[1540],align:[1],label:[1],dismissable:[4],show:[64],hide:[64]},[[0,"click","handleClick"],[0,"keydown","handleKeyDown"]],{open:[{syncOpen:0}]}]);function h(){if(typeof customElements==="undefined"){return}const t=["pf-popover"];t.forEach((t=>{switch(t){case"pf-popover":if(!customElements.get(e(t))){customElements.define(e(t),c)}break}}))}h();const d=c;const f=h;export{d as PfPopover,f as defineCustomElement};
2
+ //# sourceMappingURL=pf-popover.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["pfPopoverCss","PfPopover","__stencil_proxyCustomElement","HTMLElement","open","align","label","dismissable","pfOpenChange","stopObserving","componentDidLoad","this","syncTrigger","showPanel","disconnectedCallback","show","hide","syncOpen","next","previous","hidePanel","emit","panel","el","shadowRoot","querySelector","trigger","firstElementChild","setAttribute","matches","showPopover","observeAnchoredPosition","getAnchor","getFloating","matchAnchorWidth","flip","onChange","left","top","placePopover","focus","undefined","hidePopover","handleClick","event","composedPath","includes","handleKeyDown","key","Keys","Escape","stopPropagation","onToggle","newState","render","h","Host","onSlotchange","class","part","popover","role","tabindex","name"],"sources":["src/components/pf-popover/pf-popover.css?tag=pf-popover&encapsulation=shadow","src/components/pf-popover/pf-popover.tsx"],"sourcesContent":[":host {\n display: inline-flex;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n/*\n * `inset: auto` and `margin: 0` are essential, not tidying -- see\n * `src/place-popover.ts`, which sets the same two inline and explains the\n * measurement. They are declared in both places deliberately: here so the\n * cascade carries them for the whole life of the panel, and inline so a panel\n * is still positioned where this stylesheet has not been applied.\n */\n.panel {\n inset: auto;\n margin: 0;\n background: var(--pf-popover-bg);\n border: 1px solid var(--pf-popover-border);\n border-radius: var(--radius-md);\n box-shadow: var(--shadow-lg);\n color: var(--pf-popover-text);\n max-width: min(320px, calc(100vw - 2 * var(--space-4)));\n padding: var(--space-3);\n width: max-content;\n}\n\n.panel:focus-visible {\n outline: none;\n}\n\n.panel:popover-open {\n animation: pf-popover-in var(--duration-fast) var(--easing-decelerate);\n}\n\n/* Its own copy: @keyframes do not cross a shadow boundary. */\n@keyframes pf-popover-in {\n from {\n opacity: 0;\n transform: translateY(-4px);\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .panel:popover-open {\n animation: none;\n }\n}\n","import { Keys, observeAnchoredPosition } from '@pitchfork-ui/core';\n\nimport { placePopover } from '../../place-popover';\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Method,\n Prop,\n Watch,\n} from '@stencil/core';\n\n/**\n * An interactive panel anchored to its trigger.\n *\n * `popover=\"auto\"` rather than `manual`, because the browser then does\n * light-dismiss and Escape itself — measured from inside a shadow root with\n * trusted input: a real outside click and a real Escape both close an `auto`\n * popover while a `manual` one stays open. That is less code than\n * `onOutsideInteraction` and it composes with the top-layer stack, so a\n * popover inside a popover closes in the right order.\n *\n * @slot - the trigger.\n * @slot content - the panel's content.\n * @part panel - the floating panel.\n */\n@Component({\n tag: 'pf-popover',\n styleUrl: 'pf-popover.css',\n shadow: true,\n})\nexport class PfPopover {\n @Element() el!: HTMLElement;\n\n /** Whether the panel is showing. Reflected so the stylesheet can select on it. */\n @Prop({ mutable: true, reflect: true }) open = false;\n\n /** Which edge of the trigger the panel lines up with. */\n @Prop() align: 'start' | 'end' = 'start';\n\n /** Accessible name for the panel, which is a dialog. */\n @Prop() label?: string;\n\n /**\n * Close on an outside click or Escape. Defaults to true.\n *\n * This is the `auto`/`manual` popover switch: turning it off hands the\n * consumer responsibility for closing, which is what a popover holding an\n * unfinished form wants.\n */\n @Prop() dismissable = true;\n\n /** Fires whenever the panel opens or closes, whoever caused it. */\n @Event() pfOpenChange!: EventEmitter<{ open: boolean }>;\n\n private stopObserving?: () => void;\n\n componentDidLoad() {\n this.syncTrigger();\n if (this.open) this.showPanel();\n }\n\n disconnectedCallback() {\n this.stopObserving?.();\n }\n\n /** Opens the panel. */\n @Method()\n async show(): Promise<void> {\n this.open = true;\n }\n\n /** Closes the panel. */\n @Method()\n async hide(): Promise<void> {\n this.open = false;\n }\n\n /**\n * The one place a state change is announced, whatever caused it: a trigger\n * click, `show()`/`hide()`, a consumer writing the prop, or the browser's own\n * light-dismiss mirrored in below.\n *\n * Emitting from the `toggle` handler instead looked right and fired for none\n * of the user-driven paths — by the time `toggle` arrives the click handler\n * has already moved `open`, so the guard there saw no change. A consumer\n * mirroring this value back sets `open` to what it already is, which Stencil\n * does not treat as a change, so there is no loop.\n */\n @Watch('open')\n syncOpen(next: boolean, previous: boolean) {\n if (next) this.showPanel();\n else this.hidePanel();\n this.syncTrigger();\n if (next !== previous) this.pfOpenChange.emit({ open: next });\n }\n\n private get panel() {\n return this.el.shadowRoot?.querySelector<HTMLElement>('[part=\"panel\"]') ?? null;\n }\n\n private get trigger() {\n return this.el.firstElementChild as HTMLElement | null;\n }\n\n /**\n * The trigger's disclosure state.\n *\n * `aria-controls` is deliberately absent: it is an IDREF, and an IDREF does\n * not cross a shadow boundary, so pointing it at the panel's id would leave\n * a dangling reference — worse than none. `aria-expanded` and\n * `aria-haspopup` carry what a screen reader announces here.\n */\n private syncTrigger() {\n const trigger = this.trigger;\n if (!trigger) return;\n trigger.setAttribute('aria-haspopup', 'dialog');\n trigger.setAttribute('aria-expanded', this.open ? 'true' : 'false');\n }\n\n private showPanel() {\n const panel = this.panel;\n if (!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 align: this.align,\n // A popover sizes to its own content rather than to the trigger, and\n // flips above when there is no room below.\n matchAnchorWidth: false,\n flip: true,\n onChange: ({ left, top }) => placePopover(panel, left, top),\n });\n\n // The panel is a dialog, so focus belongs inside it once it is showing.\n panel.focus();\n }\n\n private hidePanel() {\n this.stopObserving?.();\n this.stopObserving = undefined;\n const panel = this.panel;\n if (panel?.matches(':popover-open')) panel.hidePopover();\n }\n\n @Listen('click')\n handleClick(event: MouseEvent) {\n const trigger = this.trigger;\n // Only the trigger toggles. A click inside the panel is the content's.\n if (!trigger || !event.composedPath().includes(trigger)) return;\n this.open = !this.open;\n }\n\n /**\n * Escape for the `manual` case only. An `auto` popover is dismissed by the\n * browser, and handling it here as well would fight that.\n */\n @Listen('keydown')\n handleKeyDown(event: KeyboardEvent) {\n if (event.key !== Keys.Escape || this.dismissable || !this.open) return;\n event.stopPropagation();\n this.open = false;\n }\n\n /**\n * Mirrors a change the browser made — light-dismiss, or being closed because\n * another popover took the top layer — back into `open`, which then announces\n * it through the watch above. Without this a consumer's `open` goes stale\n * after a dismiss they did not initiate.\n */\n private onToggle = (event: Event) => {\n const next = (event as ToggleEvent).newState === 'open';\n if (next !== this.open) this.open = next;\n };\n\n render() {\n return (\n <Host>\n <slot onSlotchange={() => this.syncTrigger()} />\n <div\n class=\"panel\"\n part=\"panel\"\n popover={this.dismissable ? 'auto' : 'manual'}\n role=\"dialog\"\n aria-label={this.label}\n tabindex=\"-1\"\n onToggle={this.onToggle}\n >\n <slot name=\"content\" />\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"iJAAA,MAAMA,EAAe,IAAM,mmB,MCmCdC,EAASC,EAAA,MAAAD,UAAAE,E,+IAIoBC,KAAO,MAGvCC,MAAyB,QAGzBC,MASAC,YAAc,KAGbC,aAEDC,cAER,gBAAAC,GACEC,KAAKC,cACL,GAAID,KAAKP,KAAMO,KAAKE,W,CAGtB,oBAAAC,GACEH,KAAKF,iB,CAKP,UAAMM,GACJJ,KAAKP,KAAO,I,CAKd,UAAMY,GACJL,KAAKP,KAAO,K,CAed,QAAAa,CAASC,EAAeC,GACtB,GAAID,EAAMP,KAAKE,iBACVF,KAAKS,YACVT,KAAKC,cACL,GAAIM,IAASC,EAAUR,KAAKH,aAAaa,KAAK,CAAEjB,KAAMc,G,CAGxD,SAAYI,GACV,OAAOX,KAAKY,GAAGC,YAAYC,cAA2B,mBAAqB,I,CAG7E,WAAYC,GACV,OAAOf,KAAKY,GAAGI,iB,CAWT,WAAAf,GACN,MAAMc,EAAUf,KAAKe,QACrB,IAAKA,EAAS,OACdA,EAAQE,aAAa,gBAAiB,UACtCF,EAAQE,aAAa,gBAAiBjB,KAAKP,KAAO,OAAS,Q,CAGrD,SAAAS,GACN,MAAMS,EAAQX,KAAKW,MACnB,IAAKA,GAASA,EAAMO,QAAQ,iBAAkB,OAE9CP,EAAMQ,cACNnB,KAAKF,kBACLE,KAAKF,cAAgBsB,EAAwB,CAC3CC,UAAW,IAAMrB,KAAKe,QACtBO,YAAa,IAAMX,EACnBjB,MAAOM,KAAKN,MAGZ6B,iBAAkB,MAClBC,KAAM,KACNC,SAAU,EAAGC,OAAMC,SAAUC,EAAajB,EAAOe,EAAMC,KAIzDhB,EAAMkB,O,CAGA,SAAApB,GACNT,KAAKF,kBACLE,KAAKF,cAAgBgC,UACrB,MAAMnB,EAAQX,KAAKW,MACnB,GAAIA,GAAOO,QAAQ,iBAAkBP,EAAMoB,a,CAI7C,WAAAC,CAAYC,GACV,MAAMlB,EAAUf,KAAKe,QAErB,IAAKA,IAAYkB,EAAMC,eAAeC,SAASpB,GAAU,OACzDf,KAAKP,MAAQO,KAAKP,I,CAQpB,aAAA2C,CAAcH,GACZ,GAAIA,EAAMI,MAAQC,EAAKC,QAAUvC,KAAKJ,cAAgBI,KAAKP,KAAM,OACjEwC,EAAMO,kBACNxC,KAAKP,KAAO,K,CASNgD,SAAYR,IAClB,MAAM1B,EAAQ0B,EAAsBS,WAAa,OACjD,GAAInC,IAASP,KAAKP,KAAMO,KAAKP,KAAOc,CAAI,EAG1C,MAAAoC,GACE,OACEC,EAACC,EAAI,CAAAR,IAAA,4CACHO,EAAA,QAAAP,IAAA,2CAAMS,aAAc,IAAM9C,KAAKC,gBAC/B2C,EAAA,OAAAP,IAAA,2CACEU,MAAM,QACNC,KAAK,QACLC,QAASjD,KAAKJ,YAAc,OAAS,SACrCsD,KAAK,SAAQ,aACDlD,KAAKL,MACjBwD,SAAS,KACTV,SAAUzC,KAAKyC,UAEfG,EAAA,QAAAP,IAAA,2CAAMe,KAAK,a","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PfProgressBar extends Components.PfProgressBar, HTMLElement {}
4
+ export const PfProgressBar: {
5
+ prototype: PfProgressBar;
6
+ new (): PfProgressBar;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,2 @@
1
+ import{t as e,p as r,H as a,h as s,a as t}from"./index.js";import{c as i,p as o}from"./p-BA6CMosJ.js";const n=()=>`@keyframes pf-progress-bar-in{from{width:0}}:host{align-items:center;display:inline-flex;gap:var(--space-2);min-width:220px}:host([hidden]){display:none}.track{background:var(--pf-progress-track-bg);border-radius:var(--radius-full);flex:1;height:8px;overflow:hidden;pointer-events:none}.fill{animation:pf-progress-bar-in var(--duration-slow) var(--easing-decelerate);background:var(--pf-progress-accent);border-radius:inherit;height:100%;transition:width var(--pf-transition-slow);width:var(--pf-progress-fill, 0%)}.value{color:var(--pf-progress-text-muted);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium)}@media (prefers-reduced-motion: reduce){.fill{animation:none;transition:none}}`;const l=r(class e extends a{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow()}value=0;max=100;showValue=true;label;render(){const e=i(this.value,this.max);return s(t,{key:"09d62e00646da11864dcc3bb4724da8864d223fe",role:"progressbar","aria-label":this.label,"aria-valuemin":"0","aria-valuemax":`${this.max}`,"aria-valuenow":`${o(e,this.max)}`},s("div",{key:"42db85945311bd44d03058c0cd957b6397624cff",class:"track",part:"track"},s("div",{key:"8222865b45a18175308f87f4fd30a313bb5452d5",class:"fill",part:"fill",style:{"--pf-progress-fill":`${e}%`}})),this.showValue&&s("span",{key:"9e7a195ef193fd4e730bdf3eefb2f0170be56ecc",class:"value",part:"value"},Math.round(e),"%"))}static get style(){return n()}},[513,"pf-progress-bar",{value:[2],max:[2],showValue:[516,"show-value"],label:[1]}]);function f(){if(typeof customElements==="undefined"){return}const r=["pf-progress-bar"];r.forEach((r=>{switch(r){case"pf-progress-bar":if(!customElements.get(e(r))){customElements.define(e(r),l)}break}}))}f();const d=l;const p=f;export{d as PfProgressBar,p as defineCustomElement};
2
+ //# sourceMappingURL=pf-progress-bar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["pfProgressBarCss","PfProgressBar","__stencil_proxyCustomElement","HTMLElement","value","max","showValue","label","render","percent","clampProgressPercent","this","h","Host","key","role","progressValueNow","class","part","style","Math","round"],"sources":["src/components/pf-progress-bar/pf-progress-bar.css?tag=pf-progress-bar&encapsulation=shadow","src/components/pf-progress-bar/pf-progress-bar.tsx"],"sourcesContent":["/* Its own copy: @keyframes do not cross a shadow boundary. */\n@keyframes pf-progress-bar-in {\n from {\n width: 0;\n }\n}\n\n:host {\n align-items: center;\n display: inline-flex;\n gap: var(--space-2);\n min-width: 220px;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n.track {\n background: var(--pf-progress-track-bg);\n border-radius: var(--radius-full);\n flex: 1;\n height: 8px;\n overflow: hidden;\n pointer-events: none;\n}\n\n.fill {\n animation: pf-progress-bar-in var(--duration-slow) var(--easing-decelerate);\n background: var(--pf-progress-accent);\n border-radius: inherit;\n height: 100%;\n /* Animate in from 0 on mount, and smoothly between values on change. */\n transition: width var(--pf-transition-slow);\n width: var(--pf-progress-fill, 0%);\n}\n\n.value {\n color: var(--pf-progress-text-muted);\n font-size: var(--font-size-sm);\n font-weight: var(--font-weight-medium);\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fill {\n animation: none;\n transition: none;\n }\n}\n","import { clampProgressPercent, progressValueNow } from '@pitchfork-ui/core';\nimport { Component, h, Host, Prop } from '@stencil/core';\n\n/**\n * A horizontal determinate progress track.\n *\n * @part track - the unfilled groove.\n * @part fill - the filled portion.\n * @part value - the percentage readout.\n */\n@Component({\n tag: 'pf-progress-bar',\n styleUrl: 'pf-progress-bar.css',\n shadow: true,\n})\nexport class PfProgressBar {\n /** How far along, on the 0..max scale. */\n @Prop() value = 0;\n\n /** The top of the scale. */\n @Prop() max = 100;\n\n /** Show the percentage beside the track. Reflected for the stylesheet. */\n @Prop({ reflect: true }) showValue = true;\n\n /** Accessible name. */\n @Prop() label?: string;\n\n render() {\n // Both layers go through core, so the same value and max always report the\n // same aria-valuenow and draw the same fill.\n const percent = clampProgressPercent(this.value, this.max);\n\n return (\n <Host\n role=\"progressbar\"\n aria-label={this.label}\n aria-valuemin=\"0\"\n aria-valuemax={`${this.max}`}\n aria-valuenow={`${progressValueNow(percent, this.max)}`}\n >\n <div class=\"track\" part=\"track\">\n <div class=\"fill\" part=\"fill\" style={{ '--pf-progress-fill': `${percent}%` }} />\n </div>\n {this.showValue && (\n <span class=\"value\" part=\"value\">\n {Math.round(percent)}%\n </span>\n )}\n </Host>\n );\n }\n}\n"],"mappings":"sGAAA,MAAMA,EAAmB,IAAM,msB,MCelBC,EAAaC,EAAA,MAAAD,UAAAE,E,iFAEhBC,MAAQ,EAGRC,IAAM,IAGWC,UAAY,KAG7BC,MAER,MAAAC,GAGE,MAAMC,EAAUC,EAAqBC,KAAKP,MAAOO,KAAKN,KAEtD,OACEO,EAACC,EAAI,CAAAC,IAAA,2CACHC,KAAK,cAAa,aACNJ,KAAKJ,MAAK,gBACR,IAAG,gBACF,GAAGI,KAAKN,MAAK,gBACb,GAAGW,EAAiBP,EAASE,KAAKN,QAEjDO,EAAA,OAAAE,IAAA,2CAAKG,MAAM,QAAQC,KAAK,SACtBN,EAAA,OAAAE,IAAA,2CAAKG,MAAM,OAAOC,KAAK,OAAOC,MAAO,CAAE,qBAAsB,GAAGV,SAEjEE,KAAKL,WACJM,EAAA,QAAAE,IAAA,2CAAMG,MAAM,QAAQC,KAAK,SACtBE,KAAKC,MAAMZ,GAAQ,K","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PfProgressCircle extends Components.PfProgressCircle, HTMLElement {}
4
+ export const PfProgressCircle: {
5
+ prototype: PfProgressCircle;
6
+ new (): PfProgressCircle;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;