@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,2 @@
1
+ import{t as e,p as s,H as r,h as t,a}from"./index.js";import{c as i,g as o,p as c}from"./p-BA6CMosJ.js";const l=()=>`@keyframes pf-progress-circle-in{from{stroke-dashoffset:var(--pf-progress-circ)}}:host{align-items:center;display:inline-flex;height:var(--pf-progress-circle-size, 64px);justify-content:center;position:relative;width:var(--pf-progress-circle-size, 64px)}:host([hidden]){display:none}.svg{display:block;height:100%;transform:rotate(-90deg);width:100%}.circle-track,.circle-fill{fill:none}.circle-track{stroke:var(--pf-progress-track-bg)}.circle-fill{animation:pf-progress-circle-in var(--duration-slow) var(--easing-decelerate);stroke:var(--pf-progress-accent);stroke-dashoffset:var(--pf-progress-dashoffset);stroke-linecap:round;transition:stroke-dashoffset var(--pf-transition-slow)}.value{color:var(--pf-progress-text);font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold);left:50%;position:absolute;top:50%;transform:translate(-50%, -50%)}@media (prefers-reduced-motion: reduce){.circle-fill{animation:none;transition:none}}`;const f=s(class e extends r{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow()}value=0;max=100;size=64;strokeWidth=6;showValue=true;label;render(){const e=i(this.value,this.max);const{radius:s,circumference:r,dashOffset:l,center:f}=o(this.size,this.strokeWidth,e);return t(a,{key:"b99d70605eb7b981da829d5cda0a194e6c266fc5",role:"progressbar","aria-label":this.label,"aria-valuemin":"0","aria-valuemax":`${this.max}`,"aria-valuenow":`${c(e,this.max)}`,style:{"--pf-progress-circle-size":`${this.size}px`}},t("svg",{key:"1bee11db8cfeebb35fe84bca03621a9e64a84c60",class:"svg",part:"svg",viewBox:`0 0 ${this.size} ${this.size}`,"aria-hidden":"true",focusable:"false"},t("circle",{key:"8dc237646a40afa9d8f8ddff456367afa3b35718",class:"circle-track",part:"track",cx:`${f}`,cy:`${f}`,r:`${s}`,"stroke-width":`${this.strokeWidth}`}),t("circle",{key:"34f8f094047de322717ff56dc956de39749de1eb",class:"circle-fill",part:"fill",cx:`${f}`,cy:`${f}`,r:`${s}`,"stroke-width":`${this.strokeWidth}`,"stroke-dasharray":`${r}`,style:{"--pf-progress-dashoffset":`${l}`,"--pf-progress-circ":`${r}`}})),this.showValue&&t("span",{key:"18a89c9d9f967609f23db7e2a520df4f8400b1ad",class:"value",part:"value"},Math.round(e),"%"))}static get style(){return l()}},[513,"pf-progress-circle",{value:[2],max:[2],size:[2],strokeWidth:[2,"stroke-width"],showValue:[516,"show-value"],label:[1]}]);function n(){if(typeof customElements==="undefined"){return}const s=["pf-progress-circle"];s.forEach((s=>{switch(s){case"pf-progress-circle":if(!customElements.get(e(s))){customElements.define(e(s),f)}break}}))}n();const p=f;const d=n;export{p as PfProgressCircle,d as defineCustomElement};
2
+ //# sourceMappingURL=pf-progress-circle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["pfProgressCircleCss","PfProgressCircle","__stencil_proxyCustomElement","HTMLElement","value","max","size","strokeWidth","showValue","label","render","percent","clampProgressPercent","this","radius","circumference","dashOffset","center","getProgressCircleGeometry","h","Host","key","role","progressValueNow","style","class","part","viewBox","focusable","cx","cy","r","Math","round"],"sources":["src/components/pf-progress-circle/pf-progress-circle.css?tag=pf-progress-circle&encapsulation=shadow","src/components/pf-progress-circle/pf-progress-circle.tsx"],"sourcesContent":["/* Its own copy: @keyframes do not cross a shadow boundary. */\n@keyframes pf-progress-circle-in {\n from {\n stroke-dashoffset: var(--pf-progress-circ);\n }\n}\n\n:host {\n align-items: center;\n display: inline-flex;\n height: var(--pf-progress-circle-size, 64px);\n justify-content: center;\n position: relative;\n width: var(--pf-progress-circle-size, 64px);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n.svg {\n display: block;\n height: 100%;\n /* Start the arc at twelve o'clock rather than three. */\n transform: rotate(-90deg);\n width: 100%;\n}\n\n.circle-track,\n.circle-fill {\n fill: none;\n}\n\n.circle-track {\n stroke: var(--pf-progress-track-bg);\n}\n\n.circle-fill {\n animation: pf-progress-circle-in var(--duration-slow) var(--easing-decelerate);\n stroke: var(--pf-progress-accent);\n stroke-dashoffset: var(--pf-progress-dashoffset);\n stroke-linecap: round;\n /* Animate in from empty on mount, and smoothly between values on change. */\n transition: stroke-dashoffset var(--pf-transition-slow);\n}\n\n.value {\n color: var(--pf-progress-text);\n font-size: var(--font-size-xs);\n font-weight: var(--font-weight-semibold);\n left: 50%;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n\n@media (prefers-reduced-motion: reduce) {\n .circle-fill {\n animation: none;\n transition: none;\n }\n}\n","import {\n clampProgressPercent,\n getProgressCircleGeometry,\n progressValueNow,\n} from '@pitchfork-ui/core';\nimport { Component, h, Host, Prop } from '@stencil/core';\n\n/**\n * A circular determinate progress track.\n *\n * @part svg - the drawing surface.\n * @part track - the unfilled ring.\n * @part fill - the drawn arc.\n * @part value - the percentage readout.\n */\n@Component({\n tag: 'pf-progress-circle',\n styleUrl: 'pf-progress-circle.css',\n shadow: true,\n})\nexport class PfProgressCircle {\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 /** Diameter in pixels. */\n @Prop() size = 64;\n\n /** Ring thickness in pixels. */\n @Prop() strokeWidth = 6;\n\n /** Show the percentage in the middle. Reflected for the stylesheet. */\n @Prop({ reflect: true }) showValue = true;\n\n /** Accessible name. */\n @Prop() label?: string;\n\n render() {\n const percent = clampProgressPercent(this.value, this.max);\n // The arc only lands on the right angle if the dash offset and the dash\n // array come from the same radius, which is why core returns them together.\n const { radius, circumference, dashOffset, center } = getProgressCircleGeometry(\n this.size,\n this.strokeWidth,\n percent,\n );\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 style={{ '--pf-progress-circle-size': `${this.size}px` }}\n >\n <svg\n class=\"svg\"\n part=\"svg\"\n viewBox={`0 0 ${this.size} ${this.size}`}\n aria-hidden=\"true\"\n focusable=\"false\"\n >\n <circle\n class=\"circle-track\"\n part=\"track\"\n cx={`${center}`}\n cy={`${center}`}\n r={`${radius}`}\n stroke-width={`${this.strokeWidth}`}\n />\n <circle\n class=\"circle-fill\"\n part=\"fill\"\n cx={`${center}`}\n cy={`${center}`}\n r={`${radius}`}\n stroke-width={`${this.strokeWidth}`}\n stroke-dasharray={`${circumference}`}\n style={{\n '--pf-progress-dashoffset': `${dashOffset}`,\n '--pf-progress-circ': `${circumference}`,\n }}\n />\n </svg>\n {this.showValue && (\n <span class=\"value\" part=\"value\">\n {Math.round(percent)}%\n </span>\n )}\n </Host>\n );\n }\n}\n"],"mappings":"wGAAA,MAAMA,EAAsB,IAAM,k7B,MCoBrBC,EAAgBC,EAAA,MAAAD,UAAAE,E,iFAEnBC,MAAQ,EAGRC,IAAM,IAGNC,KAAO,GAGPC,YAAc,EAGGC,UAAY,KAG7BC,MAER,MAAAC,GACE,MAAMC,EAAUC,EAAqBC,KAAKT,MAAOS,KAAKR,KAGtD,MAAMS,OAAEA,EAAMC,cAAEA,EAAaC,WAAEA,EAAUC,OAAEA,GAAWC,EACpDL,KAAKP,KACLO,KAAKN,YACLI,GAGF,OACEQ,EAACC,EAAI,CAAAC,IAAA,2CACHC,KAAK,cAAa,aACNT,KAAKJ,MAAK,gBACR,IAAG,gBACF,GAAGI,KAAKR,MAAK,gBACb,GAAGkB,EAAiBZ,EAASE,KAAKR,OACjDmB,MAAO,CAAE,4BAA6B,GAAGX,KAAKP,WAE9Ca,EAAA,OAAAE,IAAA,2CACEI,MAAM,MACNC,KAAK,MACLC,QAAS,OAAOd,KAAKP,QAAQO,KAAKP,OAAM,cAC5B,OACZsB,UAAU,SAEVT,EAAA,UAAAE,IAAA,2CACEI,MAAM,eACNC,KAAK,QACLG,GAAI,GAAGZ,IACPa,GAAI,GAAGb,IACPc,EAAG,GAAGjB,IAAQ,eACA,GAAGD,KAAKN,gBAExBY,EAAA,UAAAE,IAAA,2CACEI,MAAM,cACNC,KAAK,OACLG,GAAI,GAAGZ,IACPa,GAAI,GAAGb,IACPc,EAAG,GAAGjB,IAAQ,eACA,GAAGD,KAAKN,cAAa,mBACjB,GAAGQ,IACrBS,MAAO,CACL,2BAA4B,GAAGR,IAC/B,qBAAsB,GAAGD,QAI9BF,KAAKL,WACJW,EAAA,QAAAE,IAAA,2CAAMI,MAAM,QAAQC,KAAK,SACtBM,KAAKC,MAAMtB,GAAQ,K","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PfProgressStep extends Components.PfProgressStep, HTMLElement {}
4
+ export const PfProgressStep: {
5
+ prototype: PfProgressStep;
6
+ new (): PfProgressStep;
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 r,h as o,a as s}from"./index.js";const a=()=>`:host{display:flex;gap:var(--space-3)}:host([hidden]){display:none}:host([orientation='horizontal']){align-items:center;flex-direction:column;gap:var(--space-2)}:host([orientation='vertical']){align-items:flex-start;position:relative}.marker-wrap{align-items:center;display:flex;flex:0 0 auto}:host([orientation='horizontal']) .marker-wrap{justify-content:center}@media (min-width: 640px){:host([orientation='horizontal']) .marker-wrap{flex:1;position:relative;width:100%}}:host([orientation='vertical']) .marker-wrap{align-items:center;flex-direction:column}.marker{align-items:center;background:var(--pf-progress-steps-bg);border:1px solid var(--pf-progress-steps-border);border-radius:var(--radius-full);color:var(--pf-progress-steps-text-muted);display:inline-flex;flex:0 0 auto;font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold);height:28px;justify-content:center;position:relative;width:28px;z-index:1;transition:background-color var(--pf-transition-medium), border-color var(--pf-transition-medium), color var(--pf-transition-medium), box-shadow var(--pf-transition-medium)}.connector{background:var(--pf-progress-steps-border);display:block;flex:1;margin-inline-start:var(--space-2);transition:background-color var(--pf-transition-slow)}:host([orientation='horizontal']) .connector{display:none}@media (min-width: 640px){:host([orientation='horizontal']) .connector{display:block;height:1px;left:50%;margin-inline-start:0;position:absolute;top:50%;transform:translateY(-50%);width:calc(100% + var(--pf-progresssteps-progress-step-gap, var(--pf-progress-step-gap)));z-index:0}}:host([orientation='vertical']) .connector{bottom:calc(var(--space-3) * -1);inset-inline-start:14px;margin:0;position:absolute;top:28px;width:1px}.content{min-width:0}:host([orientation='horizontal']) .content{text-align:center}.title{color:var(--pf-progress-steps-text);font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold);margin:var(--space-1) 0 0;transition:color var(--pf-transition-medium)}slot[name='description']::slotted(*){color:var(--pf-progress-steps-text-muted);display:block;font-size:var(--font-size-sm);line-height:1.4;margin:var(--space-1) 0 0}:host([state='complete']) .marker{background:var(--pf-progress-steps-complete-bg);border-color:var(--pf-progress-steps-complete-border);color:var(--pf-progress-steps-complete-text)}:host([state='current']) .marker{background:var(--pf-progress-steps-current-bg);border-color:var(--pf-progress-steps-current-border);box-shadow:var(--pf-focus-ring);color:var(--pf-progress-steps-current-text)}:host([state='complete']) .connector{background:var(--pf-progress-steps-complete-border)}:host([state='current']) .title{color:var(--pf-progress-steps-current-title)}@media (prefers-reduced-motion: reduce){.marker,.connector,.title{transition:none}}`;const n=e(class t extends r{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow()}status;state="upcoming";position=1;last=false;orientation="horizontal";render(){return o(s,{key:"178b256dfa9df01c41cacddbd9e49c72beb2567f",role:"listitem","aria-current":this.state==="current"?"step":null},o("div",{key:"f8b100c14751727adaad8a604de7a900a7963086",class:"marker-wrap",part:"marker-wrap","aria-hidden":"true"},o("span",{key:"bcf15a8d42e80f56cd53da2a41513d90454d7c76",class:"marker",part:"marker"},this.position),!this.last&&o("span",{key:"eade849134d12e42e40cc8fb6dfe21c3c026ed5b",class:"connector",part:"connector"})),o("div",{key:"6b169c22f58a7c4eba922f19d969d7560fa71b9e",class:"content",part:"content"},o("p",{key:"b12aa29ae1dee718543f3ed7d586e2c901bb6562",class:"title",part:"title"},o("slot",{key:"a61cf4299dddc0e92a1b89cc6d21496b0519efef",name:"title"})),o("slot",{key:"b026c37e8600250f9df2e01b7704a60f0b876fd9",name:"description"})))}static get style(){return a()}},[769,"pf-progress-step",{status:[513],state:[1537],position:[1026],last:[1540],orientation:[1537]}]);function i(){if(typeof customElements==="undefined"){return}const e=["pf-progress-step"];e.forEach((e=>{switch(e){case"pf-progress-step":if(!customElements.get(t(e))){customElements.define(t(e),n)}break}}))}i();const p=n;const c=i;export{p as PfProgressStep,c as defineCustomElement};
2
+ //# sourceMappingURL=pf-progress-step.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["pfProgressStepCss","PfProgressStep","__stencil_proxyCustomElement","HTMLElement","status","state","position","last","orientation","render","h","Host","key","role","this","class","part","name"],"sources":["src/components/pf-progress-step/pf-progress-step.css?tag=pf-progress-step&encapsulation=shadow","src/components/pf-progress-step/pf-progress-step.tsx"],"sourcesContent":[":host {\n display: flex;\n gap: var(--space-3);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host([orientation='horizontal']) {\n align-items: center;\n flex-direction: column;\n gap: var(--space-2);\n}\n\n:host([orientation='vertical']) {\n align-items: flex-start;\n position: relative;\n}\n\n.marker-wrap {\n align-items: center;\n display: flex;\n flex: 0 0 auto;\n}\n\n:host([orientation='horizontal']) .marker-wrap {\n justify-content: center;\n}\n\n@media (--sm) {\n :host([orientation='horizontal']) .marker-wrap {\n flex: 1;\n position: relative;\n width: 100%;\n }\n}\n\n:host([orientation='vertical']) .marker-wrap {\n align-items: center;\n flex-direction: column;\n}\n\n.marker {\n align-items: center;\n background: var(--pf-progress-steps-bg);\n border: 1px solid var(--pf-progress-steps-border);\n border-radius: var(--radius-full);\n color: var(--pf-progress-steps-text-muted);\n display: inline-flex;\n flex: 0 0 auto;\n font-size: var(--font-size-xs);\n font-weight: var(--font-weight-semibold);\n height: 28px;\n justify-content: center;\n position: relative;\n width: 28px;\n z-index: 1;\n /* The marker changes as the current step advances. */\n transition:\n background-color var(--pf-transition-medium),\n border-color var(--pf-transition-medium),\n color var(--pf-transition-medium),\n box-shadow var(--pf-transition-medium);\n}\n\n.connector {\n background: var(--pf-progress-steps-border);\n display: block;\n flex: 1;\n margin-inline-start: var(--space-2);\n /* The connector fills in as the step completes. */\n transition: background-color var(--pf-transition-slow);\n}\n\n:host([orientation='horizontal']) .connector {\n display: none;\n}\n\n@media (--sm) {\n :host([orientation='horizontal']) .connector {\n display: block;\n height: 1px;\n left: 50%;\n margin-inline-start: 0;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n /* Spans the group's own gap, which it reads through the bridge above. */\n width: calc(100% + var(--pf-progresssteps-progress-step-gap, var(--pf-progress-step-gap)));\n z-index: 0;\n }\n}\n\n:host([orientation='vertical']) .connector {\n bottom: calc(var(--space-3) * -1);\n inset-inline-start: 14px;\n margin: 0;\n position: absolute;\n top: 28px;\n width: 1px;\n}\n\n.content {\n min-width: 0;\n}\n\n:host([orientation='horizontal']) .content {\n text-align: center;\n}\n\n.title {\n color: var(--pf-progress-steps-text);\n font-size: var(--font-size-sm);\n font-weight: var(--font-weight-semibold);\n margin: var(--space-1) 0 0;\n transition: color var(--pf-transition-medium);\n}\n\n/*\n * The description is styled through the slot rather than wrapped in a box of\n * its own, so that a step without one has no stray margin: a wrapper cannot be\n * collapsed from CSS, while an unassigned slot generates nothing at all.\n */\nslot[name='description']::slotted(*) {\n color: var(--pf-progress-steps-text-muted);\n display: block;\n font-size: var(--font-size-sm);\n line-height: 1.4;\n margin: var(--space-1) 0 0;\n}\n\n:host([state='complete']) .marker {\n background: var(--pf-progress-steps-complete-bg);\n border-color: var(--pf-progress-steps-complete-border);\n color: var(--pf-progress-steps-complete-text);\n}\n\n:host([state='current']) .marker {\n background: var(--pf-progress-steps-current-bg);\n border-color: var(--pf-progress-steps-current-border);\n /*\n * `--pf-focus-ring`, not the `--focus-ring-shadow` the React component asked\n * for: that one is defined nowhere, and an undefined custom property makes\n * the declaration invalid at computed-value time -- measured in Chromium,\n * `box-shadow: var(--focus-ring-shadow)` computes to `none`, so the ring had\n * never been drawn. Fixed in both layers.\n */\n box-shadow: var(--pf-focus-ring);\n color: var(--pf-progress-steps-current-text);\n}\n\n:host([state='complete']) .connector {\n background: var(--pf-progress-steps-complete-border);\n}\n\n:host([state='current']) .title {\n color: var(--pf-progress-steps-current-title);\n}\n\n@media (prefers-reduced-motion: reduce) {\n .marker,\n .connector,\n .title {\n transition: none;\n }\n}\n","import type { StepStatus } from '@pitchfork-ui/core';\nimport { Component, h, Host, Prop } from '@stencil/core';\n\nimport type { PfProgressStepsOrientation } from '../pf-progress-steps/pf-progress-steps';\n\n/**\n * One step inside a `pf-progress-steps`.\n *\n * @slot title - the step's title.\n * @slot description - secondary text below the title.\n * @part marker-wrap - the box holding the marker and the connector.\n * @part marker - the numbered circle.\n * @part connector - the line to the next step. Absent on the last.\n * @part content - the box holding the title and description.\n * @part title - the title's box.\n */\n@Component({\n tag: 'pf-progress-step',\n styleUrl: 'pf-progress-step.css',\n shadow: true,\n})\nexport class PfProgressStep {\n /**\n * Set it to say where the trail has got to — usually `current` on one step,\n * and the group infers the rest.\n *\n * This is the *asking* half, which the group never writes; `state` below is\n * the answer. Keeping them apart is what lets the trail change: if the\n * answer were written back here, the first step of a trail that said nothing\n * would look explicitly `current`, and prepending a step would leave the\n * mark behind on it.\n */\n @Prop({ reflect: true }) status?: StepStatus;\n\n /**\n * Set by the group: the resolved status, which is what the stylesheet reads\n * and what carries `aria-current=\"step\"` for the one current step.\n */\n @Prop({ mutable: true, reflect: true }) state: StepStatus = 'upcoming';\n\n /** Set by the group: the step's number, counting from 1. */\n @Prop({ mutable: true }) position = 1;\n\n /** Set by the group: the last step draws no connector. */\n @Prop({ mutable: true, reflect: true }) last = false;\n\n /** Set by the group from its own `orientation`. Reflected for the stylesheet. */\n @Prop({ mutable: true, reflect: true }) orientation: PfProgressStepsOrientation = 'horizontal';\n\n render() {\n return (\n <Host role=\"listitem\" aria-current={this.state === 'current' ? 'step' : null}>\n {/* Decorative: the number repeats the step's position in the list. */}\n <div class=\"marker-wrap\" part=\"marker-wrap\" aria-hidden=\"true\">\n <span class=\"marker\" part=\"marker\">\n {this.position}\n </span>\n {!this.last && <span class=\"connector\" part=\"connector\" />}\n </div>\n\n <div class=\"content\" part=\"content\">\n <p class=\"title\" part=\"title\">\n <slot name=\"title\" />\n </p>\n {/*\n No wrapper around the description, deliberately: a box around a\n slot cannot be collapsed from CSS — `:not(:has(*))` never matches,\n because the slot is itself a child — so an empty one would leave\n its margin under every step without a description. An *unassigned*\n slot generates nothing, so the styling goes on `::slotted(*)` and\n the box goes away with the content.\n */}\n <slot name=\"description\" />\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"sDAAA,MAAMA,EAAoB,IAAM,kxF,MCqBnBC,EAAcC,EAAA,MAAAD,UAAAE,E,iFAWAC,OAMeC,MAAoB,WAGnCC,SAAW,EAGIC,KAAO,MAGPC,YAA0C,aAElF,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CAACC,KAAK,WAAU,eAAeC,KAAKT,QAAU,UAAY,OAAS,MAEtEK,EAAA,OAAAE,IAAA,2CAAKG,MAAM,cAAcC,KAAK,cAAa,cAAa,QACtDN,EAAA,QAAAE,IAAA,2CAAMG,MAAM,SAASC,KAAK,UACvBF,KAAKR,WAENQ,KAAKP,MAAQG,EAAA,QAAAE,IAAA,2CAAMG,MAAM,YAAYC,KAAK,eAG9CN,EAAA,OAAAE,IAAA,2CAAKG,MAAM,UAAUC,KAAK,WACxBN,EAAA,KAAAE,IAAA,2CAAGG,MAAM,QAAQC,KAAK,SACpBN,EAAA,QAAAE,IAAA,2CAAMK,KAAK,WAUbP,EAAA,QAAAE,IAAA,2CAAMK,KAAK,iB","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PfProgressSteps extends Components.PfProgressSteps, HTMLElement {}
4
+ export const PfProgressSteps: {
5
+ prototype: PfProgressSteps;
6
+ new (): PfProgressSteps;
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,h as n,a as r}from"./index.js";function o(t){const e=t.findIndex((t=>t.status==="current"));return t.map(((t,s)=>{if(t.status)return t.status;if(e===-1)return s===0?"current":"upcoming";return s<e?"complete":"upcoming"}))}const i=()=>`:host{display:grid}:host([hidden]){display:none}:host([orientation='horizontal']){--pf-progress-step-gap:var(--space-3);gap:var(--pf-progresssteps-progress-step-gap, var(--pf-progress-step-gap));grid-template-columns:1fr}@media (min-width: 640px){:host([orientation='horizontal']){--pf-progress-step-gap:var(--space-4);grid-template-columns:repeat(auto-fit, minmax(160px, 1fr))}}:host([orientation='vertical']){gap:var(--space-3)}slot{display:contents}`;const a=e(class t extends s{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow()}get el(){return this}orientation="horizontal";componentWillLoad(){this.sync()}componentDidLoad(){this.sync()}handleOrientationChange(){this.sync()}async refresh(){this.sync()}get steps(){return Array.from(this.el.querySelectorAll("pf-progress-step")).filter((t=>t.parentElement===this.el))}askedStatus(t){const e=t.status;return e??t.getAttribute("status")??undefined}sync(){const t=this.steps;const e=o(t.map((t=>({status:this.askedStatus(t)}))));for(const[s,n]of t.entries()){const r=n;r.state=e[s];r.position=s+1;r.last=s===t.length-1;r.orientation=this.orientation}}render(){return n(r,{key:"cf93162c6e257b13786028c3c4d602642786fd39",role:"list"},n("slot",{key:"1d1d22b80605aff984af850933c4221a7ae740da",onSlotchange:()=>this.refresh()}))}static get watchers(){return{orientation:[{handleOrientationChange:0}]}}static get style(){return i()}},[769,"pf-progress-steps",{orientation:[513],refresh:[64]},undefined,{orientation:[{handleOrientationChange:0}]}]);function p(){if(typeof customElements==="undefined"){return}const e=["pf-progress-steps"];e.forEach((e=>{switch(e){case"pf-progress-steps":if(!customElements.get(t(e))){customElements.define(t(e),a)}break}}))}p();const c=a;const h=p;export{c as PfProgressSteps,h as defineCustomElement};
2
+ //# sourceMappingURL=pf-progress-steps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["resolveStepStatuses","steps","firstCurrent","findIndex","step","status","map","index","pfProgressStepsCss","PfProgressSteps","__stencil_proxyCustomElement","HTMLElement","orientation","componentWillLoad","this","sync","componentDidLoad","handleOrientationChange","refresh","Array","from","el","querySelectorAll","filter","parentElement","askedStatus","asProp","getAttribute","undefined","statuses","entries","node","state","position","last","length","render","h","Host","key","role","onSlotchange"],"sources":["../core/dist/steps.js","src/components/pf-progress-steps/pf-progress-steps.css?tag=pf-progress-steps&encapsulation=shadow","src/components/pf-progress-steps/pf-progress-steps.tsx"],"sourcesContent":["//#region src/steps.ts\n/**\n* A status for every step, in order.\n*\n* An explicit status always wins, so a trail can mark several steps complete\n* out of order if it really wants to. Everything else follows from the first\n* step marked `current`: before it is complete, after it is upcoming. With\n* nothing marked at all the first step is the current one, because a progress\n* indicator showing no progress at all reads as broken.\n*\n* The whole array rather than one step's answer, so the scan for that first\n* `current` happens once instead of once per step.\n*/\nfunction resolveStepStatuses(steps) {\n\tconst firstCurrent = steps.findIndex((step) => step.status === \"current\");\n\treturn steps.map((step, index) => {\n\t\tif (step.status) return step.status;\n\t\tif (firstCurrent === -1) return index === 0 ? \"current\" : \"upcoming\";\n\t\treturn index < firstCurrent ? \"complete\" : \"upcoming\";\n\t});\n}\n//#endregion\nexport { resolveStepStatuses };\n",":host {\n display: grid;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n/*\n * The gap is declared here and read by each step's connector, which has to\n * span it: custom properties inherit through the shadow boundary, so the\n * child picks up whichever indicator it is slotted into. The same bridge\n * pf-option uses for its colours.\n */\n:host([orientation='horizontal']) {\n --pf-progress-step-gap: var(--space-3);\n gap: var(--pf-progresssteps-progress-step-gap, var(--pf-progress-step-gap));\n grid-template-columns: 1fr;\n}\n\n@media (--sm) {\n :host([orientation='horizontal']) {\n --pf-progress-step-gap: var(--space-4);\n grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));\n }\n}\n\n:host([orientation='vertical']) {\n gap: var(--space-3);\n}\n\n/* The steps have to be grid items of the host, not of a box inside it. */\nslot {\n display: contents;\n}\n","import { resolveStepStatuses, type StepStatus } from '@pitchfork-ui/core';\nimport { Component, Element, h, Host, Method, Prop, Watch } from '@stencil/core';\n\nexport type PfProgressStepsOrientation = 'horizontal' | 'vertical';\n\n/**\n * A step indicator over `pf-progress-step` children.\n *\n * The group owns everything a step cannot see on its own: its number, whether\n * it is last — so only the others draw a connector — the orientation, and the\n * status inference, which depends on where the current step is.\n *\n * @slot - the `pf-progress-step` children.\n */\n@Component({\n tag: 'pf-progress-steps',\n styleUrl: 'pf-progress-steps.css',\n shadow: true,\n})\nexport class PfProgressSteps {\n @Element() el!: HTMLElement;\n\n /** Layout. Reflected, and pushed down onto every step. */\n @Prop({ reflect: true }) orientation: PfProgressStepsOrientation = 'horizontal';\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 @Watch('orientation')\n handleOrientationChange() {\n this.sync();\n }\n\n /**\n * Re-reads the children, for a consumer who set a step's status 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 indicator owns its own steps. */\n private get steps(): HTMLElement[] {\n return Array.from(this.el.querySelectorAll<HTMLElement>('pf-progress-step')).filter(\n (step) => step.parentElement === this.el,\n );\n }\n\n /**\n * The property if the step has upgraded, the attribute if it has not:\n * `componentWillLoad` can run before a child parsed from HTML upgrades.\n */\n private askedStatus(step: HTMLElement): StepStatus | undefined {\n const asProp = (step as HTMLElement & { status?: StepStatus }).status;\n return asProp ?? (step.getAttribute('status') as StepStatus | null) ?? undefined;\n }\n\n /**\n * Core's inference, so the React `ProgressSteps` reads the same trail the\n * same way.\n *\n * The answer goes to `state`, never to the `status` a consumer asked with —\n * the lesson `pf-breadcrumbs` learned the hard way. Writing it back would\n * make the first step of an unmarked trail look explicitly `current`, and\n * prepending a step would then leave the mark behind on it.\n */\n private sync() {\n const steps = this.steps;\n const statuses = resolveStepStatuses(steps.map((step) => ({ status: this.askedStatus(step) })));\n\n for (const [index, step] of steps.entries()) {\n const node = step as HTMLElement & {\n state: StepStatus;\n position: number;\n last: boolean;\n orientation: PfProgressStepsOrientation;\n };\n node.state = statuses[index];\n node.position = index + 1;\n node.last = index === steps.length - 1;\n node.orientation = this.orientation;\n }\n }\n\n render() {\n return (\n <Host role=\"list\">\n <slot onSlotchange={() => this.refresh()} />\n </Host>\n );\n }\n}\n"],"mappings":"sDAaA,SAASA,EAAoBC,GAC5B,MAAMC,EAAeD,EAAME,WAAWC,GAASA,EAAKC,SAAW,YAC/D,OAAOJ,EAAMK,KAAI,CAACF,EAAMG,KACvB,GAAIH,EAAKC,OAAQ,OAAOD,EAAKC,OAC7B,GAAIH,KAAiB,EAAI,OAAOK,IAAU,EAAI,UAAY,WAC1D,OAAOA,EAAQL,EAAe,WAAa,UAAU,GAEvD,CCpBA,MAAMM,EAAqB,IAAM,uc,MCmBpBC,EAAeC,EAAA,MAAAD,UAAAE,E,sGAIDC,YAA0C,aAGnE,iBAAAC,GACEC,KAAKC,M,CAGP,gBAAAC,GACEF,KAAKC,M,CAIP,uBAAAE,GACEH,KAAKC,M,CAQP,aAAMG,GACJJ,KAAKC,M,CAIP,SAAYd,GACV,OAAOkB,MAAMC,KAAKN,KAAKO,GAAGC,iBAA8B,qBAAqBC,QAC1EnB,GAASA,EAAKoB,gBAAkBV,KAAKO,I,CAQlC,WAAAI,CAAYrB,GAClB,MAAMsB,EAAUtB,EAA+CC,OAC/D,OAAOqB,GAAWtB,EAAKuB,aAAa,WAAmCC,S,CAYjE,IAAAb,GACN,MAAMd,EAAQa,KAAKb,MACnB,MAAM4B,EAAW7B,EAAoBC,EAAMK,KAAKF,IAAI,CAAQC,OAAQS,KAAKW,YAAYrB,QAErF,IAAK,MAAOG,EAAOH,KAASH,EAAM6B,UAAW,CAC3C,MAAMC,EAAO3B,EAMb2B,EAAKC,MAAQH,EAAStB,GACtBwB,EAAKE,SAAW1B,EAAQ,EACxBwB,EAAKG,KAAO3B,IAAUN,EAAMkC,OAAS,EACrCJ,EAAKnB,YAAcE,KAAKF,W,EAI5B,MAAAwB,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CAACC,KAAK,QACTH,EAAA,QAAAE,IAAA,2CAAME,aAAc,IAAM3B,KAAKI,Y","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PfRadarAxis extends Components.PfRadarAxis, HTMLElement {}
4
+ export const PfRadarAxis: {
5
+ prototype: PfRadarAxis;
6
+ new (): PfRadarAxis;
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 s,h as t,a as n}from"./index.js";const r=()=>`:host{align-items:center;display:flex;gap:var(--space-2);justify-content:space-between}:host([hidden]){display:none}:host(:not([drawn])){display:none}.label{color:var(--pf-radar-legend-text);font-size:var(--font-size-sm)}.value{color:var(--pf-radar-legend-value);font-size:var(--font-size-sm);font-variant-numeric:tabular-nums}`;const l=a(class e extends s{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow()}label="";value=0;drawn=false;render(){return t(n,{key:"41f13fdd1cdc8cf1bf0ae402af0007047cfa0545",role:"listitem"},t("span",{key:"061bc65887e2bdac027a2bb4e15f0e03512e7add",class:"label",part:"label"},this.label),t("span",{key:"c9edf254f3998b842bd62eb0c071366ac6082a40",class:"value",part:"value"},this.value))}static get style(){return r()}},[513,"pf-radar-axis",{label:[513],value:[514],drawn:[1540]}]);function c(){if(typeof customElements==="undefined"){return}const a=["pf-radar-axis"];a.forEach((a=>{switch(a){case"pf-radar-axis":if(!customElements.get(e(a))){customElements.define(e(a),l)}break}}))}c();const o=l;const i=c;export{o as PfRadarAxis,i as defineCustomElement};
2
+ //# sourceMappingURL=pf-radar-axis.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["pfRadarAxisCss","PfRadarAxis","__stencil_proxyCustomElement","HTMLElement","label","value","drawn","render","h","Host","key","role","class","part","this"],"sources":["src/components/pf-radar-axis/pf-radar-axis.css?tag=pf-radar-axis&encapsulation=shadow","src/components/pf-radar-axis/pf-radar-axis.tsx"],"sourcesContent":[":host {\n align-items: center;\n display: flex;\n gap: var(--space-2);\n justify-content: space-between;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n/* An axis the chart did not draw is not a legend row either. */\n:host(:not([drawn])) {\n display: none;\n}\n\n.label {\n color: var(--pf-radar-legend-text);\n font-size: var(--font-size-sm);\n}\n\n.value {\n color: var(--pf-radar-legend-value);\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 axis of a `pf-radar-chart`, and its own row in the legend.\n *\n * The name is a `label` **attribute** rather than slotted content, which is\n * the one place this differs from the React `RadarChart`'s `ReactNode`: the\n * chart draws each name inside its own SVG as a `<text>`, and an SVG `<text>`\n * cannot hold arbitrary markup in either layer. The legend row the axis draws\n * for itself uses the same string, so the two always agree.\n *\n * @part label - the legend row's name.\n * @part value - the legend row's number.\n */\n@Component({\n tag: 'pf-radar-axis',\n styleUrl: 'pf-radar-axis.css',\n shadow: true,\n})\nexport class PfRadarAxis {\n /** The axis's name, drawn in the chart and in the legend. */\n @Prop({ reflect: true }) label = '';\n\n /** How far along this axis the shape reaches. */\n @Prop({ reflect: true }) value = 0;\n\n /**\n * Set by the chart: whether this axis is in the drawing.\n *\n * An axis with an unusable value is not drawn, so it is not a legend row\n * either — a legend naming an axis that appears nowhere is worse than a\n * shorter legend. Reflected, because that is what the stylesheet hides it\n * with.\n */\n @Prop({ mutable: true, reflect: true }) drawn = false;\n\n render() {\n return (\n <Host role=\"listitem\">\n <span class=\"label\" part=\"label\">\n {this.label}\n </span>\n <span class=\"value\" part=\"value\">\n {this.value}\n </span>\n </Host>\n );\n }\n}\n"],"mappings":"2DAAA,MAAMA,EAAiB,IAAM,0U,MCmBhBC,EAAWC,EAAA,MAAAD,UAAAE,E,iFAEGC,MAAQ,GAGRC,MAAQ,EAUOC,MAAQ,MAEhD,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CAACC,KAAK,YACTH,EAAA,QAAAE,IAAA,2CAAME,MAAM,QAAQC,KAAK,SACtBC,KAAKV,OAERI,EAAA,QAAAE,IAAA,2CAAME,MAAM,QAAQC,KAAK,SACtBC,KAAKT,O","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PfRadarChart extends Components.PfRadarChart, HTMLElement {}
4
+ export const PfRadarChart: {
5
+ prototype: PfRadarChart;
6
+ new (): PfRadarChart;
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,h as a,a as s}from"./index.js";var n=3;function i(e,t,r){return{x:e+t*Math.cos(r),y:e+t*Math.sin(r)}}function o(e){if(!(e>0))return[];const t=2*Math.PI/e;return Array.from({length:e},((e,r)=>-Math.PI/2+r*t))}function l(e){return e.filter((e=>Number.isFinite(e.value)&&e.value>=0))}function d(e,t){if(typeof t==="number"&&t>0)return t;const r=Math.max(...l(e).map((e=>e.value)),1);return r>0?r:1}function c(e){return e.map((e=>`${e.x.toFixed(2)},${e.y.toFixed(2)}`)).join(" ")}function h(e,t,r,a){const s=Math.max(2,Math.floor(a)||2);return Array.from({length:s},((a,n)=>{const o=(n+1)/s;return c(e.map((e=>i(t,r*o,e))))}))}function p(e,t,r,a,s){const n=t>0?t:1;return r.map(((t,r)=>{const o=e[r];return i(a,s*(Number.isFinite(o)?Math.max(0,Math.min(1,o/n)):0),t)}))}const u=()=>`:host{align-items:stretch;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)}}.svg{display:block;height:auto;overflow:visible;width:min(100%, 320px)}.grid{fill:none;stroke:var(--pf-radar-grid-stroke);stroke-width:1}.axis{stroke:var(--pf-radar-axis-stroke);stroke-width:1}.area{fill:var(--pf-radar-fill);stroke:var(--pf-radar-stroke);stroke-width:2}.point{fill:var(--pf-radar-stroke);stroke:var(--pf-radar-point-stroke);stroke-width:1.5}.axis-label{fill:var(--pf-radar-label);font-size:var(--font-size-2xs);font-weight:var(--font-weight-medium)}.value{animation:pf-radar-grow var(--duration-slow) var(--easing-decelerate)}@keyframes pf-radar-grow{from{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion: reduce){.value{animation:none}}.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:140px;width:auto}}.legend.legend--hidden{display:none}.legend slot{display:contents}.empty{align-items:center;border:1px dashed var(--pf-radar-empty-border);border-radius:var(--radius-md);color:var(--pf-radar-empty-text);display:inline-flex;font-size:var(--font-size-sm);justify-content:center;min-height:180px;min-width:260px;padding:var(--space-4);text-align:center}`;const f=t(class e extends r{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow()}get el(){return this}size=280;max;levels=4;showAxes=true;showLegend=true;label="Radar chart";axes=[];componentWillLoad(){this.sync()}componentDidLoad(){this.sync()}async refresh(){this.sync()}get axisElements(){return Array.from(this.el.children).filter((e=>e.tagName.toLowerCase()==="pf-radar-axis"))}sync(){const e=this.axisElements;const t=e.map((e=>{const t=e;return{label:t.label??e.getAttribute("label")??"",value:Number(t.value??e.getAttribute("value"))}}));const r=l(t);const a=r.length>=n;this.axes=a?r:[];const s=new Set(r);for(const[r,n]of e.entries()){n.drawn=a&&s.has(t[r])}}render(){const e=Math.max(Number(this.size)||280,180);const t=e/2;const r=t-36;if(this.axes.length<n){return a(s,null,a("div",{class:"empty",part:"empty"},a("slot",{name:"empty"},"A radar chart needs at least ",n," axes.")),a("ul",{class:"legend legend--hidden",part:"legend"},a("slot",{onSlotchange:()=>this.refresh()})))}const l=d(this.axes,this.max);const u=o(this.axes.length);const f=h(u,t,r,Number(this.levels));const m=p(this.axes.map((e=>e.value)),l,u,t,r);return a(s,null,a("svg",{class:"svg",part:"svg",viewBox:`0 0 ${e} ${e}`,role:"img","aria-label":this.label},f.map((e=>a("polygon",{class:"grid",part:"grid",points:e}))),this.showAxes&&u.map((e=>{const s=i(t,r,e);return a("line",{class:"axis",part:"axis",x1:t,y1:t,x2:s.x,y2:s.y})})),a("g",{class:"value",style:{transformBox:"view-box",transformOrigin:`${t}px ${t}px`}},a("polygon",{class:"area",part:"area",points:c(m)}),m.map((e=>a("circle",{class:"point",part:"point",cx:e.x,cy:e.y,r:"3"})))),u.map(((e,s)=>{const n=i(t,r+18,e);return a("text",{class:"axis-label",part:"axis-label",x:n.x,y:n.y,"text-anchor":"middle","dominant-baseline":"middle"},this.axes[s].label)}))),a("ul",{class:{legend:true,"legend--hidden":!this.showLegend},part:"legend"},a("slot",{onSlotchange:()=>this.refresh()})))}static get watchers(){return{max:[{sync:0}]}}static get style(){return u()}},[769,"pf-radar-chart",{size:[2],max:[2],levels:[2],showAxes:[516,"show-axes"],showLegend:[516,"show-legend"],label:[1],axes:[32],refresh:[64]},undefined,{max:[{sync:0}]}]);function m(){if(typeof customElements==="undefined"){return}const t=["pf-radar-chart"];t.forEach((t=>{switch(t){case"pf-radar-chart":if(!customElements.get(e(t))){customElements.define(e(t),f)}break}}))}m();const g=f;const x=m;export{g as PfRadarChart,x as defineCustomElement};
2
+ //# sourceMappingURL=pf-radar-chart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["RADAR_MINIMUM_AXES","polarPoint","center","radius","angle","x","Math","cos","y","sin","radarAxisAngles","count","step","PI","Array","from","length","_","index","usableRadarAxes","data","filter","item","Number","isFinite","value","radarMax","explicit","largest","max","map","pointsToAttribute","points","point","toFixed","join","radarGridPolygons","angles","levels","rings","floor","ratio","radarValuePoints","values","top","min","pfRadarChartCss","PfRadarChart","__stencil_proxyCustomElement","HTMLElement","size","showAxes","showLegend","label","axes","componentWillLoad","this","sync","componentDidLoad","refresh","axisElements","el","children","child","tagName","toLowerCase","read","axis","node","getAttribute","usable","drawable","usableSet","Set","entries","drawn","has","render","h","Host","class","part","name","onSlotchange","viewBox","role","ring","end","x1","y1","x2","y2","style","transformBox","transformOrigin","cx","cy","r","at","legend"],"sources":["../core/dist/radar.js","src/components/pf-radar-chart/pf-radar-chart.css?tag=pf-radar-chart&encapsulation=shadow","src/components/pf-radar-chart/pf-radar-chart.tsx"],"sourcesContent":["//#region src/radar.ts\n/** A radar needs at least three axes to enclose anything. */\nvar RADAR_MINIMUM_AXES = 3;\n/** A point at `radius` from the centre, along `angle` in radians. */\nfunction polarPoint(center, radius, angle) {\n\treturn {\n\t\tx: center + radius * Math.cos(angle),\n\t\ty: center + radius * Math.sin(angle)\n\t};\n}\n/**\n* The angle of each axis, in radians, evenly spaced.\n*\n* The first points **up**, not right: a radar whose first axis is at three\n* o'clock reads as rotated, and every radar anyone has seen starts at the\n* top. In SVG that is `-π/2`, because y grows downwards.\n*/\nfunction radarAxisAngles(count) {\n\tif (!(count > 0)) return [];\n\tconst step = 2 * Math.PI / count;\n\treturn Array.from({ length: count }, (_, index) => -Math.PI / 2 + index * step);\n}\n/**\n* The axes worth drawing: the ones with a usable value.\n*\n* A value that is not a number is dropped, since `NaN >= 0` is false — which\n* is also what the React `RadarChart` relied on, by accident rather than by\n* saying so.\n*/\nfunction usableRadarAxes(data) {\n\treturn data.filter((item) => Number.isFinite(item.value) && item.value >= 0);\n}\n/**\n* The scale's top.\n*\n* The explicit `max` wins, even when a value exceeds it — a consumer who set\n* a scale means it, and the polygon is clamped to the outer ring instead.\n* Otherwise the largest value, never below 1, so a chart of all zeroes has a\n* grid rather than a division by zero.\n*/\nfunction radarMax(data, explicit) {\n\tif (typeof explicit === \"number\" && explicit > 0) return explicit;\n\tconst largest = Math.max(...usableRadarAxes(data).map((item) => item.value), 1);\n\treturn largest > 0 ? largest : 1;\n}\n/** Points as an SVG `points` attribute, rounded to two places. */\nfunction pointsToAttribute(points) {\n\treturn points.map((point) => `${point.x.toFixed(2)},${point.y.toFixed(2)}`).join(\" \");\n}\n/**\n* The grid rings, outermost last, as `points` attributes.\n*\n* `levels` rings, the last of which is the outer edge — so a four-level radar\n* has rings at 25%, 50%, 75% and 100% and the outermost doubles as the\n* chart's boundary. Never fewer than two, or there is no grid to read a value\n* against.\n*/\nfunction radarGridPolygons(angles, center, radius, levels) {\n\tconst rings = Math.max(2, Math.floor(levels) || 2);\n\treturn Array.from({ length: rings }, (_, index) => {\n\t\tconst ratio = (index + 1) / rings;\n\t\treturn pointsToAttribute(angles.map((angle) => polarPoint(center, radius * ratio, angle)));\n\t});\n}\n/**\n* Where each value lands, clamped into the grid.\n*\n* Clamped rather than allowed to overshoot, because a point outside the outer\n* ring is drawn outside the chart's own box and clipped by the viewBox: a\n* value above `max` would simply disappear.\n*/\nfunction radarValuePoints(values, max, angles, center, radius) {\n\tconst top = max > 0 ? max : 1;\n\treturn angles.map((angle, index) => {\n\t\tconst value = values[index];\n\t\treturn polarPoint(center, radius * (Number.isFinite(value) ? Math.max(0, Math.min(1, value / top)) : 0), angle);\n\t});\n}\n//#endregion\nexport { RADAR_MINIMUM_AXES, pointsToAttribute, polarPoint, radarAxisAngles, radarGridPolygons, radarMax, radarValuePoints, usableRadarAxes };\n","/* Mobile first: the legend under the chart, beside it on a wider screen. */\n:host {\n align-items: stretch;\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.svg {\n display: block;\n height: auto;\n /* The names are drawn outside the rings, so the box must not clip. */\n overflow: visible;\n width: min(100%, 320px);\n}\n\n.grid {\n fill: none;\n stroke: var(--pf-radar-grid-stroke);\n stroke-width: 1;\n}\n\n.axis {\n stroke: var(--pf-radar-axis-stroke);\n stroke-width: 1;\n}\n\n.area {\n fill: var(--pf-radar-fill);\n stroke: var(--pf-radar-stroke);\n stroke-width: 2;\n}\n\n.point {\n fill: var(--pf-radar-stroke);\n stroke: var(--pf-radar-point-stroke);\n stroke-width: 1.5;\n}\n\n.axis-label {\n fill: var(--pf-radar-label);\n font-size: var(--font-size-2xs);\n font-weight: var(--font-weight-medium);\n}\n\n.value {\n animation: pf-radar-grow var(--duration-slow) var(--easing-decelerate);\n}\n\n/* Its own copy: `@keyframes` do not cross a shadow boundary. */\n@keyframes pf-radar-grow {\n from {\n opacity: 0;\n transform: scale(0);\n }\n\n to {\n opacity: 1;\n transform: scale(1);\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .value {\n animation: none;\n }\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: 140px;\n width: auto;\n }\n}\n\n/*\n * Hidden rather than dropped, so the axes stay slotted and `slotchange` still\n * fires. Two classes deep, because the tie breaks on source order.\n */\n.legend.legend--hidden {\n display: none;\n}\n\n/* The axes are grid children of the list, not of a box inside it. */\n.legend slot {\n display: contents;\n}\n\n.empty {\n align-items: center;\n border: 1px dashed var(--pf-radar-empty-border);\n border-radius: var(--radius-md);\n color: var(--pf-radar-empty-text);\n display: inline-flex;\n font-size: var(--font-size-sm);\n justify-content: center;\n min-height: 180px;\n min-width: 260px;\n padding: var(--space-4);\n text-align: center;\n}\n","import {\n RADAR_MINIMUM_AXES,\n pointsToAttribute,\n polarPoint,\n radarAxisAngles,\n radarGridPolygons,\n radarMax,\n radarValuePoints,\n usableRadarAxes,\n} from '@pitchfork-ui/core';\nimport { Component, Element, h, Host, Method, Prop, State, Watch } from '@stencil/core';\n\n/**\n * A radar chart over `pf-radar-axis` children.\n *\n * The chart owns the drawing; each axis owns its own legend row, as a pie's\n * slices do. The axis names are attributes rather than slotted content,\n * because the chart has to draw them inside its own SVG and an SVG `<text>`\n * cannot hold arbitrary markup.\n *\n * All of the trigonometry is core's, so this and the React `RadarChart` put\n * the same numbers in the same places — the grid rings and the value polygon\n * only line up if both were built from the same centre, radius and angles.\n *\n * @slot - the `pf-radar-axis` children.\n * @slot empty - what to show when there are too few axes to enclose anything.\n * @part svg - the drawing.\n * @part grid - one grid ring.\n * @part axis - one spoke.\n * @part area - the value polygon.\n * @part point - one vertex of it.\n * @part axis-label - one name drawn around the edge.\n * @part legend - the list the axes are slotted into.\n * @part empty - the empty state's box.\n */\n@Component({\n tag: 'pf-radar-chart',\n styleUrl: 'pf-radar-chart.css',\n shadow: true,\n})\nexport class PfRadarChart {\n @Element() el!: HTMLElement;\n\n /** Width of the drawing's viewBox, in pixels. Never below 180. */\n @Prop() size = 280;\n\n /** The scale's top. Defaults to the largest value, never below 1. */\n @Prop() max?: number;\n\n /** Grid rings, the outermost of which is the chart's edge. */\n @Prop() levels = 4;\n\n @Prop({ reflect: true }) showAxes = true;\n\n @Prop({ reflect: true }) showLegend = true;\n\n /** The chart's accessible name. */\n @Prop() label = 'Radar chart';\n\n /** What the axes add up to, which only the chart can see. */\n @State() axes: { label: string; value: number }[] = [];\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 axes, 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 /**\n * Direct children only: a nested chart owns its own axes.\n *\n * **Not** called `children`. A component class's members land on the custom\n * element itself, so a private getter named after a DOM property shadows\n * it: `get children()` made `this.el.children` call itself, and the mock\n * DOM's own `getElementsByTagName` — which walks `.children` — recursed\n * until the stack ran out. Stencil warns about a `@Prop` that shadows a\n * prototype member (`animate` is one) but says nothing about a getter.\n */\n private get axisElements(): HTMLElement[] {\n return Array.from(this.el.children).filter(\n (child) => child.tagName.toLowerCase() === 'pf-radar-axis',\n ) as HTMLElement[];\n }\n\n @Watch('max')\n sync() {\n const children = this.axisElements;\n const read = children.map((axis) => {\n const node = axis as HTMLElement & { label?: string; value?: number };\n return {\n // The property if the child has upgraded, the attribute if it has not.\n label: node.label ?? axis.getAttribute('label') ?? '',\n value: Number(node.value ?? axis.getAttribute('value')),\n };\n });\n\n const usable = usableRadarAxes(read);\n const drawable = usable.length >= RADAR_MINIMUM_AXES;\n this.axes = drawable ? usable : [];\n\n /*\n * `drawn` is set per child by identity of its reading, not by position:\n * `usableRadarAxes` drops the ones it cannot plot, so its own positions\n * no longer line up with the children.\n */\n const usableSet = new Set(usable);\n for (const [index, axis] of children.entries()) {\n (axis as HTMLElement & { drawn: boolean }).drawn = drawable && usableSet.has(read[index]);\n }\n }\n\n render() {\n const size = Math.max(Number(this.size) || 280, 180);\n const center = size / 2;\n // Room for the names drawn around the edge.\n const radius = center - 36;\n\n if (this.axes.length < RADAR_MINIMUM_AXES) {\n return (\n <Host>\n <div class=\"empty\" part=\"empty\">\n <slot name=\"empty\">A radar chart needs at least {RADAR_MINIMUM_AXES} axes.</slot>\n </div>\n {/*\n The list stays in the tree even with too few axes: a slot that is\n not rendered never fires `slotchange`, so an axis added later\n would never be counted.\n */}\n <ul class=\"legend legend--hidden\" part=\"legend\">\n <slot onSlotchange={() => this.refresh()} />\n </ul>\n </Host>\n );\n }\n\n const max = radarMax(this.axes, this.max);\n const angles = radarAxisAngles(this.axes.length);\n const rings = radarGridPolygons(angles, center, radius, Number(this.levels));\n const points = radarValuePoints(\n this.axes.map((axis) => axis.value),\n max,\n angles,\n center,\n radius,\n );\n\n return (\n <Host>\n <svg\n class=\"svg\"\n part=\"svg\"\n viewBox={`0 0 ${size} ${size}`}\n role=\"img\"\n aria-label={this.label}\n >\n {rings.map((ring) => (\n <polygon class=\"grid\" part=\"grid\" points={ring} />\n ))}\n\n {this.showAxes &&\n angles.map((angle) => {\n const end = polarPoint(center, radius, angle);\n return (\n <line class=\"axis\" part=\"axis\" x1={center} y1={center} x2={end.x} y2={end.y} />\n );\n })}\n\n {/*\n The grow-from-the-centre animation has to scale about the chart's\n middle, not about the group's own bounding box — which moves with\n the data, so the shape would grow from wherever it happens to be\n heaviest. `transform-origin` is what says so.\n\n `transform-box: view-box` alongside it is the initial value in\n current browsers (an early draft defaulted SVG to `border-box`),\n so it is belt-and-braces rather than load-bearing — measured, by\n removing it and watching nothing change.\n */}\n <g\n class=\"value\"\n style={{ transformBox: 'view-box', transformOrigin: `${center}px ${center}px` }}\n >\n <polygon class=\"area\" part=\"area\" points={pointsToAttribute(points)} />\n {points.map((point) => (\n <circle class=\"point\" part=\"point\" cx={point.x} cy={point.y} r=\"3\" />\n ))}\n </g>\n\n {angles.map((angle, index) => {\n const at = polarPoint(center, radius + 18, angle);\n return (\n <text\n class=\"axis-label\"\n part=\"axis-label\"\n x={at.x}\n y={at.y}\n text-anchor=\"middle\"\n dominant-baseline=\"middle\"\n >\n {this.axes[index].label}\n </text>\n );\n })}\n </svg>\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":"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","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PfRadioButton extends Components.PfRadioButton, HTMLElement {}
4
+ export const PfRadioButton: {
5
+ prototype: PfRadioButton;
6
+ new (): PfRadioButton;
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,c as s,h as a,a as n}from"./index.js";const o=()=>`:host{align-items:flex-start;display:inline-flex;gap:var(--space-2)}:host([hidden]){display:none}.input{accent-color:var(--pf-radiogroup-accent);height:18px;margin-top:2px;width:18px}.input:focus-visible{box-shadow:var(--pf-radiogroup-focus-ring, var(--pf-focus-ring));outline:none}.text{color:var(--pf-radiogroup-text);cursor:pointer;display:grid;gap:2px}.label-text{font-size:var(--font-size-md);line-height:1.3}.description{color:var(--pf-radiogroup-text-muted);font-size:var(--font-size-sm);line-height:1.35}.description:not(:has(*)){display:none}:host([disabled]) .text{cursor:not-allowed;opacity:0.6}`;const c=t(class e extends i{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow();this.pfRadioSelect=s(this,"pfRadioSelect")}get el(){return this}value="";checked=false;disabled=false;pfRadioSelect;componentDidRender(){const e=this.el.shadowRoot?.querySelector("input");if(e&&e.checked!==this.checked){e.checked=this.checked}}onChange=()=>{const e=this.el.shadowRoot?.querySelector("input");if(e)e.checked=this.checked;if(this.disabled)return;this.pfRadioSelect.emit({value:this.value})};render(){return a(n,{key:"020ab86762039d87706de73cfc8f310fe0a4f107"},a("input",{key:"e071c04150c76955a04b2a5b0b801b9c6015c8d0",id:"input",part:"input",class:"input",type:"radio",tabindex:"-1",checked:this.checked,disabled:this.disabled,onChange:this.onChange}),a("label",{key:"bd345592c343cc38f028a671aab8a3612ccf54aa",class:"text",part:"label",htmlFor:"input"},a("span",{key:"f58cc544dee2150e7df08bc6e21f26b3ccf6543b",class:"label-text"},a("slot",{key:"24fb49ee5cb132e5840448680bb73732cfac8a01"})),a("span",{key:"9d09bfae1ef9c5905a972a3b7c12ab1469f99c94",class:"description",part:"description"},a("slot",{key:"e0803f90fb20d9d83d8f0645aae4baefd1f43bf5",name:"description"}))))}static get delegatesFocus(){return true}static get style(){return o()}},[785,"pf-radio-button",{value:[513],checked:[1540],disabled:[516]}]);function r(){if(typeof customElements==="undefined"){return}const t=["pf-radio-button"];t.forEach((t=>{switch(t){case"pf-radio-button":if(!customElements.get(e(t))){customElements.define(e(t),c)}break}}))}r();const d=c;const p=r;export{d as PfRadioButton,p as defineCustomElement};
2
+ //# sourceMappingURL=pf-radio-button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["pfRadioButtonCss","PfRadioButton","__stencil_proxyCustomElement","HTMLElement","value","checked","disabled","pfRadioSelect","componentDidRender","input","this","el","shadowRoot","querySelector","onChange","emit","render","h","Host","key","id","part","class","type","tabindex","htmlFor","name"],"sources":["src/components/pf-radio-button/pf-radio-button.css?tag=pf-radio-button&encapsulation=shadow","src/components/pf-radio-button/pf-radio-button.tsx"],"sourcesContent":[":host {\n align-items: flex-start;\n display: inline-flex;\n gap: var(--space-2);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n/*\n * `accent-color` on a native radio, exactly as the React component does it, so\n * the dot is the browser's and the two layers look the same.\n */\n.input {\n accent-color: var(--pf-radiogroup-accent);\n height: 18px;\n margin-top: 2px;\n width: 18px;\n}\n\n/*\n * The ring lands here rather than on the host: the host delegates focus, so\n * `:focus-visible` matches the input — measured, not assumed.\n */\n.input:focus-visible {\n box-shadow: var(--pf-radiogroup-focus-ring, var(--pf-focus-ring));\n outline: none;\n}\n\n.text {\n color: var(--pf-radiogroup-text);\n cursor: pointer;\n display: grid;\n gap: 2px;\n}\n\n.label-text {\n font-size: var(--font-size-md);\n line-height: 1.3;\n}\n\n.description {\n color: var(--pf-radiogroup-text-muted);\n font-size: var(--font-size-sm);\n line-height: 1.35;\n}\n\n/*\n * A slot is `display: contents`, so an empty description slot leaves this\n * wrapper with no content — collapse it so the grid gap does not open.\n */\n.description:not(:has(*)) {\n display: none;\n}\n\n:host([disabled]) .text {\n cursor: not-allowed;\n opacity: 0.6;\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\n\n/**\n * One choice inside a `pf-radio-group`.\n *\n * Not form-associated, and deliberately so: a form-associated custom element\n * gets no radio grouping from the browser. Measured — checking a second one\n * leaves the first checked and the form submits *both* values, where native\n * radios submit one. So `pf-radio-group` owns the single-selection invariant\n * and the form value, and this element only asks to be chosen.\n *\n * The control is a native `<input type=\"radio\">` so the dot is the browser's,\n * drawn from `accent-color` exactly as the React component's is. It carries\n * `tabindex=\"-1\"` and the host delegates focus, which means the group governs\n * the tab order through the host while `:focus-visible` still lands on the\n * input the user can see.\n *\n * @slot - the choice's label.\n * @slot description - secondary text below the label.\n * @part input - the native radio.\n * @part label - the label element.\n * @part description - the wrapper around the description slot.\n */\n@Component({\n tag: 'pf-radio-button',\n styleUrl: 'pf-radio-button.css',\n shadow: { delegatesFocus: true },\n})\nexport class PfRadioButton {\n @Element() el!: HTMLElement;\n\n /** Submitted by the group when this choice is the selected one. */\n /**\n * Reflected because the generated bindings set props as properties, so\n * without it a consumer selecting `pf-radio-button[value=\"...\"]` in a React\n * or Angular app finds nothing. The group reads the property, so this was\n * never a live defect here -- it is the same trap that was one in\n * `pf-command-item`.\n */\n @Prop({ reflect: true }) value = '';\n\n /**\n * Whether this is the chosen one. The group sets this — a consumer who sets\n * it directly will have it overwritten the next time the group syncs.\n */\n @Prop({ mutable: true, reflect: true }) checked = false;\n\n /** Disable this choice alone. Reflected so the stylesheet can select on it. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Asks the group to select this choice. The group decides. */\n @Event() pfRadioSelect!: EventEmitter<{ value: string }>;\n\n /**\n * The native input checks itself the instant it is clicked, before the group\n * has had any say. Writing the property back on every render is what undoes\n * that when the group declines — a disabled group, or a value the consumer\n * is holding. Guarded on inequality so an unrelated re-render does not\n * disturb it.\n */\n componentDidRender() {\n const input = this.el.shadowRoot?.querySelector('input');\n if (input && input.checked !== this.checked) {\n input.checked = this.checked;\n }\n }\n\n private onChange = () => {\n /*\n * Put the dot back before asking, every time. The native input has already\n * moved it, and nothing here knows yet whether the group will agree — it\n * may be disabled, this choice may be disabled, or a consumer may be\n * holding `value`. Restoring first makes every one of those paths correct\n * without the group having to undo anything; when it does agree, `checked`\n * flips and the next render writes the dot back on.\n */\n const input = this.el.shadowRoot?.querySelector('input');\n if (input) input.checked = this.checked;\n\n if (this.disabled) return;\n this.pfRadioSelect.emit({ value: this.value });\n };\n\n render() {\n return (\n <Host>\n <input\n id=\"input\"\n part=\"input\"\n class=\"input\"\n type=\"radio\"\n // Never an independent tab stop: the group drives the tab order\n // through the host, and the host delegates focus down to here.\n tabindex=\"-1\"\n checked={this.checked}\n disabled={this.disabled}\n onChange={this.onChange}\n />\n <label class=\"text\" part=\"label\" htmlFor=\"input\">\n <span class=\"label-text\">\n <slot />\n </span>\n <span class=\"description\" part=\"description\">\n <slot name=\"description\" />\n </span>\n </label>\n </Host>\n );\n }\n}\n"],"mappings":"kEAAA,MAAMA,EAAmB,IAAM,imB,MC4BlBC,EAAaC,EAAA,MAAAD,UAAAE,E,iJAWCC,MAAQ,GAMOC,QAAU,MAGzBC,SAAW,MAG3BC,cAST,kBAAAC,GACE,MAAMC,EAAQC,KAAKC,GAAGC,YAAYC,cAAc,SAChD,GAAIJ,GAASA,EAAMJ,UAAYK,KAAKL,QAAS,CAC3CI,EAAMJ,QAAUK,KAAKL,O,EAIjBS,SAAW,KASjB,MAAML,EAAQC,KAAKC,GAAGC,YAAYC,cAAc,SAChD,GAAIJ,EAAOA,EAAMJ,QAAUK,KAAKL,QAEhC,GAAIK,KAAKJ,SAAU,OACnBI,KAAKH,cAAcQ,KAAK,CAAEX,MAAOM,KAAKN,OAAQ,EAGhD,MAAAY,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,SAAAE,IAAA,2CACEC,GAAG,QACHC,KAAK,QACLC,MAAM,QACNC,KAAK,QAGLC,SAAS,KACTnB,QAASK,KAAKL,QACdC,SAAUI,KAAKJ,SACfQ,SAAUJ,KAAKI,WAEjBG,EAAA,SAAAE,IAAA,2CAAOG,MAAM,OAAOD,KAAK,QAAQI,QAAQ,SACvCR,EAAA,QAAAE,IAAA,2CAAMG,MAAM,cACVL,EAAA,QAAAE,IAAA,8CAEFF,EAAA,QAAAE,IAAA,2CAAMG,MAAM,cAAcD,KAAK,eAC7BJ,EAAA,QAAAE,IAAA,2CAAMO,KAAK,kB","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PfRadioGroup extends Components.PfRadioGroup, HTMLElement {}
4
+ export const PfRadioGroup: {
5
+ prototype: PfRadioGroup;
6
+ new (): PfRadioGroup;
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 s,h as i,a}from"./index.js";import{r as o}from"./p-CAz7-p8y.js";import{s as n,r as c}from"./p-Fiuz9ck7.js";import{a as d}from"./p-Cr6IXrUk.js";const l=()=>`:host{display:block}:host([hidden]){display:none}.field{display:grid;gap:var(--space-2)}.legend{color:var(--pf-radiogroup-text);font-size:var(--font-size-md);font-weight:var(--font-weight-semibold);margin-bottom:var(--space-1)}.choices{display:grid;gap:var(--space-3)}:host([orientation='horizontal']) .choices{column-gap:var(--space-6);grid-auto-flow:column;justify-content:flex-start}.error{color:var(--pf-radiogroup-field-error, var(--pf-field-error));font-size:var(--font-size-sm);margin:0}`;const h=t(class e extends r{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow();this.pfChange=s(this,"pfChange");this.internals=this.attachInternals()}get el(){return this}internals;name;value="";legend;error;orientation="vertical";required=false;disabled=false;pfChange;initialValue="";componentWillLoad(){this.initialValue=this.value;this.syncFormState()}componentDidLoad(){this.syncChildren()}syncFormState(){this.internals.setFormValue(this.value||null);d(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.syncChildren()}get radios(){return Array.from(this.el.querySelectorAll("pf-radio-button"))}isDisabled(e){return this.disabled||e.hasAttribute("disabled")}syncChildren(){const e=this.radios;if(e.length===0)return;for(const t of e){const e=t.value===this.value;t.checked=e;t.setAttribute("aria-checked",e?"true":"false")}const t=e.filter((e=>!this.isDisabled(e)));const r=t.find((e=>e.value===this.value));n(t,r??t[0]);for(const t of e){if(this.isDisabled(t))t.tabIndex=-1}}handleSelect(e){e.stopPropagation();if(this.disabled)return;const t=e.detail.value;if(t===this.value)return;this.value=t;this.syncChildren();this.pfChange.emit({value:t})}handleKeyDown(e){if(e.defaultPrevented||this.disabled)return;const t=c(e.key,this.orientation);if(!t)return;const r=this.radios.filter((e=>!this.isDisabled(e)));if(r.length===0)return;const s=r.indexOf(document.activeElement);const i=o(t,r.map(((e,t)=>t)),s);if(i<0)return;e.preventDefault();const a=r[i];this.value=a.value;this.syncChildren();a.focus();this.pfChange.emit({value:a.value})}render(){return i(a,{key:"a1fceefbb8b63d192de9d4c47b13655d86c699cb",role:"radiogroup","aria-labelledby":this.legend?"legend":null,"aria-describedby":this.error?"error":null,"aria-invalid":this.error?"true":null,"aria-required":this.required?"true":null},i("div",{key:"9ac01e771ab31419fcfc3f9c13f6d5e7610ea902",class:"field",part:"field"},this.legend&&i("span",{key:"ae208de4c221e0d83b1612fe2e24aa6b35453717",class:"legend",part:"legend",id:"legend"},this.legend),i("div",{key:"e015065c2d269b5b29bba200df93ec4a0c2fc777",class:"choices",part:"choices"},i("slot",{key:"32f707a32f56beaa9ee538ef00fe03b1c14aed80",onSlotchange:()=>this.syncChildren()})),this.error&&i("p",{key:"9dc3e40a8b44ae72cdb1839c2109b703b28b7ad0",class:"error",part:"error",id:"error"},this.error)))}static get formAssociated(){return true}static get watchers(){return{value:[{syncFormState:0},{syncChildren:0}],error:[{syncFormState:0}],required:[{syncFormState:0}],disabled:[{syncChildren:0}]}}static get style(){return l()}},[833,"pf-radio-group",{name:[513],value:[1025],legend:[1],error:[1],orientation:[513],required:[516],disabled:[516],checkValidity:[64],reportValidity:[64],getValidationMessage:[64]},[[0,"pfRadioSelect","handleSelect"],[0,"keydown","handleKeyDown"]],{value:[{syncFormState:0},{syncChildren:0}],error:[{syncFormState:0}],required:[{syncFormState:0}],disabled:[{syncChildren:0}]}]);function f(){if(typeof customElements==="undefined"){return}const t=["pf-radio-group"];t.forEach((t=>{switch(t){case"pf-radio-group":if(!customElements.get(e(t))){customElements.define(e(t),h)}break}}))}f();const u=h;const p=f;export{u as PfRadioGroup,p as defineCustomElement};
2
+ //# sourceMappingURL=pf-radio-group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["pfRadioGroupCss","PfRadioGroup","__stencil_proxyCustomElement","HTMLElement","internals","name","value","legend","error","orientation","required","disabled","pfChange","initialValue","componentWillLoad","this","syncFormState","componentDidLoad","syncChildren","setFormValue","applyControlValidity","Boolean","checkValidity","reportValidity","getValidationMessage","validationMessage","formResetCallback","radios","Array","from","el","querySelectorAll","isDisabled","radio","hasAttribute","length","selected","checked","setAttribute","enabled","filter","find","syncRovingTabIndex","tabIndex","handleSelect","event","stopPropagation","next","detail","emit","handleKeyDown","defaultPrevented","action","resolveRovingKey","key","currentIndex","indexOf","document","activeElement","nextIndex","resolveListMove","map","_","index","preventDefault","target","focus","render","h","Host","role","class","part","id","onSlotchange"],"sources":["src/components/pf-radio-group/pf-radio-group.css?tag=pf-radio-group&encapsulation=shadow","src/components/pf-radio-group/pf-radio-group.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.legend {\n color: var(--pf-radiogroup-text);\n font-size: var(--font-size-md);\n font-weight: var(--font-weight-semibold);\n margin-bottom: var(--space-1);\n}\n\n.choices {\n display: grid;\n gap: var(--space-3);\n}\n\n:host([orientation='horizontal']) .choices {\n column-gap: var(--space-6);\n grid-auto-flow: column;\n justify-content: flex-start;\n}\n\n.error {\n color: var(--pf-radiogroup-field-error, var(--pf-field-error));\n font-size: var(--font-size-sm);\n margin: 0;\n}\n","import { resolveListMove, resolveRovingKey, syncRovingTabIndex } from '@pitchfork-ui/core';\nimport {\n AttachInternals,\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\nimport { applyControlValidity } from '../../form-validity';\n\nexport type PfRadioGroupOrientation = 'vertical' | 'horizontal';\n\n/**\n * A form-associated group of `pf-radio-button` children.\n *\n * The group is the control, not the radios: it holds the one `name` and the\n * one `value`, because a form-associated custom element gets no radio grouping\n * from the browser. Measured — three independent form-associated elements with\n * the same name all stay checked and all submit. So single selection is this\n * element's job, and it is the only one of the pair that touches the form.\n *\n * Keyboard follows the ARIA radiogroup pattern rather than the toolbar one:\n * the group is a single tab stop, and the arrows both move and select.\n *\n * @slot - the `pf-radio-button` children.\n * @part field - the wrapper around legend, choices and error.\n * @part legend - the group's heading.\n * @part choices - the container the children are slotted into.\n * @part error - the error message below the group.\n */\n@Component({\n tag: 'pf-radio-group',\n styleUrl: 'pf-radio-group.css',\n formAssociated: true,\n shadow: true,\n})\nexport class PfRadioGroup {\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 selected choice's value. Empty means nothing is selected. */\n @Prop({ mutable: true }) value = '';\n\n /** The group's heading. */\n @Prop() legend?: string;\n\n /** Error message. Its presence is what marks the group invalid. */\n @Prop() error?: string;\n\n /** Layout and arrow-key axis. Reflected for the stylesheet. */\n @Prop({ reflect: true }) orientation: PfRadioGroupOrientation = 'vertical';\n\n @Prop({ reflect: true }) required = false;\n\n /** Disable every choice. Reflected for the stylesheet. */\n @Prop({ reflect: true }) disabled = false;\n\n /** Fires when the selection changes. */\n @Event() pfChange!: EventEmitter<{ value: string }>;\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 componentDidLoad() {\n this.syncChildren();\n }\n\n @Watch('value')\n @Watch('error')\n @Watch('required')\n syncFormState() {\n /*\n * `null`, not an empty string, with nothing selected: a radio group where\n * no choice is picked is absent from the submission, exactly as a set of\n * native radios with none checked is.\n */\n this.internals.setFormValue(this.value || null);\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 group 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 choice the group started with. */\n formResetCallback() {\n this.value = this.initialValue;\n this.syncChildren();\n }\n\n /** The choices, in source order. */\n private get radios(): HTMLElement[] {\n return Array.from(this.el.querySelectorAll('pf-radio-button'));\n }\n\n private isDisabled(radio: HTMLElement) {\n return this.disabled || radio.hasAttribute('disabled');\n }\n\n /**\n * Pushes the group's state onto its children: one checked, the rest not, and\n * exactly one tab stop.\n *\n * The ARIA pattern puts the tab stop on the *selected* choice rather than on\n * whichever was focused last, so that tabbing into the group lands on the\n * current answer. With nothing selected it falls to the first enabled one,\n * which is how a user reaches an unanswered group at all.\n */\n @Watch('value')\n @Watch('disabled')\n syncChildren() {\n const radios = this.radios;\n if (radios.length === 0) return;\n\n for (const radio of radios) {\n const selected = (radio as HTMLElement & { value: string }).value === this.value;\n (radio as HTMLElement & { checked: boolean }).checked = selected;\n radio.setAttribute('aria-checked', selected ? 'true' : 'false');\n }\n\n const enabled = radios.filter((radio) => !this.isDisabled(radio));\n const checked = enabled.find(\n (radio) => (radio as HTMLElement & { value: string }).value === this.value,\n );\n // Only the enabled choices are tab stops; a disabled one is never reachable.\n syncRovingTabIndex(enabled, checked ?? enabled[0]);\n for (const radio of radios) {\n if (this.isDisabled(radio)) radio.tabIndex = -1;\n }\n }\n\n @Listen('pfRadioSelect')\n handleSelect(event: CustomEvent<{ value: string }>) {\n event.stopPropagation();\n if (this.disabled) return;\n\n const next = event.detail.value;\n if (next === this.value) return;\n\n this.value = next;\n this.syncChildren();\n this.pfChange.emit({ value: next });\n }\n\n /**\n * In a radiogroup the arrows move *and* select — unlike a toolbar, where\n * they only move. Disabled choices are skipped entirely, which is why the\n * index maths runs over the enabled subset rather than over all children.\n */\n @Listen('keydown')\n handleKeyDown(event: KeyboardEvent) {\n if (event.defaultPrevented || this.disabled) return;\n\n const action = resolveRovingKey(event.key, this.orientation);\n if (!action) return;\n\n const enabled = this.radios.filter((radio) => !this.isDisabled(radio));\n if (enabled.length === 0) return;\n\n const currentIndex = enabled.indexOf(document.activeElement as HTMLElement);\n const nextIndex = resolveListMove(\n action,\n enabled.map((_, index) => index),\n currentIndex,\n );\n if (nextIndex < 0) return;\n\n event.preventDefault();\n const target = enabled[nextIndex] as HTMLElement & { value: string };\n this.value = target.value;\n this.syncChildren();\n target.focus();\n this.pfChange.emit({ value: target.value });\n }\n\n render() {\n return (\n <Host\n role=\"radiogroup\"\n aria-labelledby={this.legend ? 'legend' : null}\n aria-describedby={this.error ? 'error' : null}\n aria-invalid={this.error ? 'true' : null}\n aria-required={this.required ? 'true' : null}\n >\n <div class=\"field\" part=\"field\">\n {this.legend && (\n <span class=\"legend\" part=\"legend\" id=\"legend\">\n {this.legend}\n </span>\n )}\n <div class=\"choices\" part=\"choices\">\n <slot onSlotchange={() => this.syncChildren()} />\n </div>\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 PfRatingBadge extends Components.PfRatingBadge, HTMLElement {}
4
+ export const PfRatingBadge: {
5
+ prototype: PfRatingBadge;
6
+ new (): PfRatingBadge;
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 s,h as t,a as i}from"./index.js";import{f as r,c as n}from"./p-DVK0sUX2.js";import{d as c}from"./p-CkFjPRTe.js";const o=()=>`:host{align-items:center;background:var(--pf-rating-badge-bg);border:1px solid var(--pf-rating-badge-border);border-radius:var(--radius-full);color:var(--pf-rating-badge-text);display:inline-flex;font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold);gap:var(--space-2);line-height:1}:host([hidden]){display:none}:host([size='sm']){min-height:24px;padding:0 var(--space-2)}:host([size='md']){min-height:28px;padding:0 var(--space-3)}.icon{display:block;fill:currentColor;height:14px;width:14px}.value{align-items:center;display:inline-flex;gap:var(--space-1)}.separator{opacity:0.65}.reviews{color:var(--pf-rating-badge-reviews);font-weight:var(--font-weight-medium)}`;const f=a(class e extends s{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow()}value=0;max=5;reviews;size="md";render(){const e=Number(this.max);const a=n(Number(this.value),e);const s=this.reviews;return t(i,{key:"6136e9ef02a72ad066bcd78116ce754d539fcfae"},t("pf-icon",{key:"716cfacb32809c7baed7a0033175e243f4999ff6",class:"icon",part:"icon",name:"star","aria-hidden":"true"}),t("span",{key:"33ac2a3b281d0fb975f94aee3f1f15a7c4ed095c",class:"value",part:"value"},r(a),t("span",{key:"876cd76f0cd653874a258d12f2288ce92ed38f02",class:"separator"},"/"),r(e)),s!==undefined&&s!==null&&t("span",{key:"158525f1ceaf5f08ef158eef1e5e99a521c37620",class:"reviews",part:"reviews"},"(",Number(s).toLocaleString(),")"))}static get style(){return o()}},[513,"pf-rating-badge",{value:[2],max:[2],reviews:[2],size:[513]}]);function d(){if(typeof customElements==="undefined"){return}const a=["pf-rating-badge","pf-icon"];a.forEach((a=>{switch(a){case"pf-rating-badge":if(!customElements.get(e(a))){customElements.define(e(a),f)}break;case"pf-icon":if(!customElements.get(e(a))){c()}break}}))}d();const p=f;const l=d;export{p as PfRatingBadge,l as defineCustomElement};
2
+ //# sourceMappingURL=pf-rating-badge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["pfRatingBadgeCss","PfRatingBadge","__stencil_proxyCustomElement","HTMLElement","value","max","reviews","size","render","Number","this","clampRating","h","Host","key","class","part","name","formatRating","undefined","toLocaleString"],"sources":["src/components/pf-rating-badge/pf-rating-badge.css?tag=pf-rating-badge&encapsulation=shadow","src/components/pf-rating-badge/pf-rating-badge.tsx"],"sourcesContent":[":host {\n align-items: center;\n background: var(--pf-rating-badge-bg);\n border: 1px solid var(--pf-rating-badge-border);\n border-radius: var(--radius-full);\n color: var(--pf-rating-badge-text);\n display: inline-flex;\n font-size: var(--font-size-sm);\n font-weight: var(--font-weight-semibold);\n gap: var(--space-2);\n line-height: 1;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host([size='sm']) {\n min-height: 24px;\n padding: 0 var(--space-2);\n}\n\n:host([size='md']) {\n min-height: 28px;\n padding: 0 var(--space-3);\n}\n\n.icon {\n display: block;\n fill: currentColor;\n height: 14px;\n width: 14px;\n}\n\n.value {\n align-items: center;\n display: inline-flex;\n gap: var(--space-1);\n}\n\n.separator {\n opacity: 0.65;\n}\n\n.reviews {\n color: var(--pf-rating-badge-reviews);\n font-weight: var(--font-weight-medium);\n}\n","import { clampRating, formatRating } from '@pitchfork-ui/core';\nimport { Component, h, Host, Prop } from '@stencil/core';\n\nexport type PfRatingBadgeSize = 'sm' | 'md';\n\n/**\n * A rating as a compact pill: one star, the number out of the maximum, and\n * optionally how many reviews it came from.\n *\n * @part icon - the star.\n * @part value - the rating and the maximum.\n * @part reviews - the review count, when `reviews` is set.\n */\n@Component({\n tag: 'pf-rating-badge',\n styleUrl: 'pf-rating-badge.css',\n shadow: true,\n})\nexport class PfRatingBadge {\n /** The rating. Clamped into 0..max. */\n @Prop() value = 0;\n\n /** The top of the scale. */\n @Prop() max = 5;\n\n /**\n * How many reviews the rating came from. Omit it to show no count at all —\n * which is different from `0`, a product nobody has reviewed yet.\n */\n @Prop() reviews?: number;\n\n /** Padding and height. Reflected so the stylesheet can select on it. */\n @Prop({ reflect: true }) size: PfRatingBadgeSize = 'md';\n\n render() {\n const max = Number(this.max);\n const value = clampRating(Number(this.value), max);\n const reviews = this.reviews;\n\n return (\n <Host>\n <pf-icon class=\"icon\" part=\"icon\" name=\"star\" aria-hidden=\"true\"></pf-icon>\n <span class=\"value\" part=\"value\">\n {formatRating(value)}\n <span class=\"separator\">/</span>\n {formatRating(max)}\n </span>\n {reviews !== undefined && reviews !== null && (\n <span class=\"reviews\" part=\"reviews\">\n ({Number(reviews).toLocaleString()})\n </span>\n )}\n </Host>\n );\n }\n}\n"],"mappings":"0IAAA,MAAMA,EAAmB,IAAM,6qB,MCkBlBC,EAAaC,EAAA,MAAAD,UAAAE,E,iFAEhBC,MAAQ,EAGRC,IAAM,EAMNC,QAGiBC,KAA0B,KAEnD,MAAAC,GACE,MAAMH,EAAMI,OAAOC,KAAKL,KACxB,MAAMD,EAAQO,EAAYF,OAAOC,KAAKN,OAAQC,GAC9C,MAAMC,EAAUI,KAAKJ,QAErB,OACEM,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,WAAAE,IAAA,2CAASC,MAAM,OAAOC,KAAK,OAAOC,KAAK,OAAM,cAAa,SAC1DL,EAAA,QAAAE,IAAA,2CAAMC,MAAM,QAAQC,KAAK,SACtBE,EAAad,GACdQ,EAAA,QAAAE,IAAA,2CAAMC,MAAM,aAAW,KACtBG,EAAab,IAEfC,IAAYa,WAAab,IAAY,MACpCM,EAAA,QAAAE,IAAA,2CAAMC,MAAM,UAAUC,KAAK,WAAS,IAChCP,OAAOH,GAASc,iBAAgB,K","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PfRatingStars extends Components.PfRatingStars, HTMLElement {}
4
+ export const PfRatingStars: {
5
+ prototype: PfRatingStars;
6
+ new (): PfRatingStars;
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,h as s,a as i}from"./index.js";import{f as r,s as n,c as l}from"./p-DVK0sUX2.js";import{d as o}from"./p-CkFjPRTe.js";const f=()=>`:host{align-items:center;color:var(--pf-rating-text);display:inline-flex;gap:var(--space-2)}:host([hidden]){display:none}.track{display:inline-flex;gap:2px}.star{display:inline-flex;height:var(--pf-rating-size, var(--font-size-lg));position:relative;width:var(--pf-rating-size, var(--font-size-lg))}.icon{font-size:var(--pf-rating-size, var(--font-size-lg));height:1em;width:1em}.base{color:var(--pf-rating-star-empty)}.fill{display:inline-flex;inset:0;overflow:hidden;position:absolute;width:var(--pf-rating-fill, 0%)}.filled{color:var(--pf-rating-star-fill)}.value{color:var(--pf-rating-text-muted);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium)}`;const c=t(class e extends a{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow()}value=0;max=5;size=18;showValue=false;label;get count(){const e=Math.round(Number(this.max));return Number.isFinite(e)?Math.max(e,0):0}render(){const e=this.count;const t=l(Number(this.value),e);return s(i,{key:"01f323b4b49ee170a9849e74c14f4d13709b8e52",role:"img","aria-label":this.label??`Rating ${t} out of ${e}`},s("div",{key:"717c1eddcb89120cd107f0f2f57ed1e2d132e763",class:"track",part:"track","aria-hidden":"true"},Array.from({length:e},((e,a)=>s("span",{class:"star",part:"star",style:{"--pf-rating-fill":`${n(t,a)}%`,"--pf-rating-size":`${Number(this.size)}px`}},s("pf-icon",{class:"icon base",name:"star"}),s("span",{class:"fill"},s("pf-icon",{class:"icon filled",name:"star"})))))),this.showValue&&s("span",{key:"9f035bc5082e359f1c91a5a81af152f76d3371bf",class:"value",part:"value"},r(t)))}static get style(){return f()}},[513,"pf-rating-stars",{value:[2],max:[2],size:[2],showValue:[4,"show-value"],label:[1]}]);function p(){if(typeof customElements==="undefined"){return}const t=["pf-rating-stars","pf-icon"];t.forEach((t=>{switch(t){case"pf-rating-stars":if(!customElements.get(e(t))){customElements.define(e(t),c)}break;case"pf-icon":if(!customElements.get(e(t))){o()}break}}))}p();const d=c;const m=p;export{d as PfRatingStars,m as defineCustomElement};
2
+ //# sourceMappingURL=pf-rating-stars.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["pfRatingStarsCss","PfRatingStars","__stencil_proxyCustomElement","HTMLElement","value","max","size","showValue","label","count","asNumber","Math","round","Number","this","isFinite","render","clampRating","h","Host","key","role","class","part","Array","from","length","_","index","style","starFillPercent","name","formatRating"],"sources":["src/components/pf-rating-stars/pf-rating-stars.css?tag=pf-rating-stars&encapsulation=shadow","src/components/pf-rating-stars/pf-rating-stars.tsx"],"sourcesContent":[":host {\n align-items: center;\n color: var(--pf-rating-text);\n display: inline-flex;\n gap: var(--space-2);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n.track {\n display: inline-flex;\n gap: 2px;\n}\n\n.star {\n display: inline-flex;\n height: var(--pf-rating-size, var(--font-size-lg));\n position: relative;\n width: var(--pf-rating-size, var(--font-size-lg));\n}\n\n.icon {\n font-size: var(--pf-rating-size, var(--font-size-lg));\n height: 1em;\n width: 1em;\n}\n\n.base {\n color: var(--pf-rating-star-empty);\n}\n\n/*\n * The filled star is the same glyph clipped to the fraction, which is what\n * makes a half star look like half a star rather than a different icon.\n */\n.fill {\n display: inline-flex;\n inset: 0;\n overflow: hidden;\n position: absolute;\n width: var(--pf-rating-fill, 0%);\n}\n\n.filled {\n color: var(--pf-rating-star-fill);\n}\n\n.value {\n color: var(--pf-rating-text-muted);\n font-size: var(--font-size-sm);\n font-weight: var(--font-weight-medium);\n}\n","import { clampRating, formatRating, starFillPercent } from '@pitchfork-ui/core';\nimport { Component, h, Host, Prop } from '@stencil/core';\n\n/**\n * A row of stars showing a rating, filled to the fraction.\n *\n * One `role=\"img\"` with a name rather than a star-by-star reading: the stars\n * are an image of the rating, and the number is the thing worth announcing.\n * Every star inside is therefore `aria-hidden`.\n *\n * @part track - the row of stars.\n * @part star - one star, filled to its own share of the rating.\n * @part value - the rating written out, when `showValue` is set.\n */\n@Component({\n tag: 'pf-rating-stars',\n styleUrl: 'pf-rating-stars.css',\n shadow: true,\n})\nexport class PfRatingStars {\n /** The rating. Clamped into 0..max, so it cannot overfill the row. */\n @Prop() value = 0;\n\n /** How many stars there are. */\n @Prop() max = 5;\n\n /** Star size in pixels. */\n @Prop() size = 18;\n\n /** Write the rating out beside the stars. */\n @Prop() showValue = false;\n\n /** Overrides the generated name, for a rating that means something else. */\n @Prop() label?: string;\n\n /**\n * Coerced, because the stars are built from it: `Number(max)` of an\n * attribute string works by luck in a loop count and not at all in\n * arithmetic, and a nonsense value would render an empty row rather than\n * throwing.\n */\n private get count(): number {\n const asNumber = Math.round(Number(this.max));\n return Number.isFinite(asNumber) ? Math.max(asNumber, 0) : 0;\n }\n\n render() {\n const max = this.count;\n const value = clampRating(Number(this.value), max);\n\n return (\n <Host role=\"img\" aria-label={this.label ?? `Rating ${value} out of ${max}`}>\n <div class=\"track\" part=\"track\" aria-hidden=\"true\">\n {Array.from({ length: max }, (_, index) => (\n <span\n class=\"star\"\n part=\"star\"\n style={{\n '--pf-rating-fill': `${starFillPercent(value, index)}%`,\n '--pf-rating-size': `${Number(this.size)}px`,\n }}\n >\n <pf-icon class=\"icon base\" name=\"star\"></pf-icon>\n <span class=\"fill\">\n <pf-icon class=\"icon filled\" name=\"star\"></pf-icon>\n </span>\n </span>\n ))}\n </div>\n {this.showValue && (\n <span class=\"value\" part=\"value\">\n {formatRating(value)}\n </span>\n )}\n </Host>\n );\n }\n}\n"],"mappings":"iJAAA,MAAMA,EAAmB,IAAM,gqB,MCmBlBC,EAAaC,EAAA,MAAAD,UAAAE,E,iFAEhBC,MAAQ,EAGRC,IAAM,EAGNC,KAAO,GAGPC,UAAY,MAGZC,MAQR,SAAYC,GACV,MAAMC,EAAWC,KAAKC,MAAMC,OAAOC,KAAKT,MACxC,OAAOQ,OAAOE,SAASL,GAAYC,KAAKN,IAAIK,EAAU,GAAK,C,CAG7D,MAAAM,GACE,MAAMX,EAAMS,KAAKL,MACjB,MAAML,EAAQa,EAAYJ,OAAOC,KAAKV,OAAQC,GAE9C,OACEa,EAACC,EAAI,CAAAC,IAAA,2CAACC,KAAK,MAAK,aAAaP,KAAKN,OAAS,UAAUJ,YAAgBC,KACnEa,EAAA,OAAAE,IAAA,2CAAKE,MAAM,QAAQC,KAAK,QAAO,cAAa,QACzCC,MAAMC,KAAK,CAAEC,OAAQrB,IAAO,CAACsB,EAAGC,IAC/BV,EAAA,QACEI,MAAM,OACNC,KAAK,OACLM,MAAO,CACL,mBAAoB,GAAGC,EAAgB1B,EAAOwB,MAC9C,mBAAoB,GAAGf,OAAOC,KAAKR,YAGrCY,EAAA,WAASI,MAAM,YAAYS,KAAK,SAChCb,EAAA,QAAMI,MAAM,QACVJ,EAAA,WAASI,MAAM,cAAcS,KAAK,cAKzCjB,KAAKP,WACJW,EAAA,QAAAE,IAAA,2CAAME,MAAM,QAAQC,KAAK,SACtBS,EAAa5B,I","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PfResizable extends Components.PfResizable, HTMLElement {}
4
+ export const PfResizable: {
5
+ prototype: PfResizable;
6
+ new (): PfResizable;
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 n,H as t,c as i,h as a,a as r}from"./index.js";import{c as s}from"./p-DSXauhXX.js";function o(e,{min:n=0,max:t=100}={}){if(!Number.isFinite(e))return s((n+t)/2,n,t);return s(e,n,t)}function h(e,n,t,i={}){if(!(t>0))return null;return o(Math.round((e-n)/t*100),i)}function l(e,n){const{orientation:t,size:i,step:a=2,min:r=0,max:s=100}=n;const h=o(i,{min:r,max:s});const l=t==="horizontal"?"ArrowLeft":"ArrowUp";const d=t==="horizontal"?"ArrowRight":"ArrowDown";if(e===l)return o(h-a,{min:r,max:s});if(e===d)return o(h+a,{min:r,max:s});if(e==="Home")return o(r,{min:r,max:s});if(e==="End")return o(s,{min:r,max:s});return null}const d=()=>`:host{display:flex;overflow:hidden;width:100%}:host([hidden]){display:none}:host([orientation='horizontal']){flex-direction:row}:host([orientation='vertical']){flex-direction:column}.panel{flex-grow:0;flex-shrink:0;min-height:0;min-width:0;overflow:auto}.end{flex:1 1 0}.handle{align-items:center;background:var(--pf-resizable-handle-bg);display:flex;flex-shrink:0;justify-content:center;position:relative;touch-action:none;transition:background var(--pf-transition-fast)}.handle:hover,.handle:focus-visible{background:var(--pf-resizable-handle-active-bg)}.handle:focus-visible{box-shadow:var(--pf-resizable-focus-ring, var(--pf-focus-ring));outline:none}:host([orientation='horizontal']) .handle{cursor:col-resize;width:var(--pf-resizable-handle-size, 6px)}:host([orientation='vertical']) .handle{cursor:row-resize;height:var(--pf-resizable-handle-size, 6px)}.grip{background:var(--pf-resizable-grip);border-radius:var(--radius-full)}:host([orientation='horizontal']) .grip{height:24px;width:2px}:host([orientation='vertical']) .grip{height:2px;width:24px}@media (prefers-reduced-motion: reduce){.handle{transition:none}}`;const c=n(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow();this.pfChange=i(this,"pfChange")}get el(){return this}orientation="horizontal";size=50;min=10;max=90;step=2;handleLabel="Resize panels";pfChange;dragging=false;handleBoundsChange(){const e=this.resolved;if(e!==this.size)this.size=e}get resolved(){return o(Number(this.size),{min:this.min,max:this.max})}get bounds(){return{min:this.min,max:this.max}}handlePointerEnd(e){if(!this.dragging)return;this.dragging=false;const n=this.handle;if(n?.hasPointerCapture(e.pointerId))n.releasePointerCapture(e.pointerId)}get handle(){return this.el.shadowRoot?.querySelector(".handle")??null}onPointerDown=e=>{e.preventDefault();this.dragging=true;const n=e.currentTarget;n.setPointerCapture(e.pointerId);n.focus()};onPointerMove=e=>{if(!this.dragging)return;const n=this.el.getBoundingClientRect();const t=this.orientation==="horizontal"?h(e.clientX,n.left,n.width,this.bounds):h(e.clientY,n.top,n.height,this.bounds);if(t!==null)this.commit(t)};onKeyDown=e=>{const n=l(e.key,{orientation:this.orientation,size:this.resolved,min:this.min,max:this.max,step:Number(this.step)});if(n===null)return;e.preventDefault();this.commit(n)};commit(e){if(e===this.resolved)return;this.size=e;this.pfChange.emit({size:e})}render(){const e=this.resolved;const n=this.orientation==="horizontal";return a(r,{key:"2ac1ef130571d8eea4d6443bdf154c30190c7f68"},a("div",{key:"acce0a5eac7e80d55f29094d349615e741544b9a",class:"panel start",part:"start",style:{flexBasis:`${e}%`}},a("slot",{key:"da6b586f6501216f9496172c359418b27bbe2dda",name:"start"})),a("div",{key:"0d36376c8f1916c6d302216d88a49399b2f1e983",class:"handle",part:"handle",role:"separator",tabindex:"0","aria-label":this.handleLabel,"aria-orientation":n?"vertical":"horizontal","aria-valuenow":String(e),"aria-valuemin":String(this.min),"aria-valuemax":String(this.max),onPointerDown:this.onPointerDown,onPointerMove:this.onPointerMove,onKeyDown:this.onKeyDown},a("span",{key:"5d90a73260ad56738b9d697faa86e1eb5cd6bda2",class:"grip",part:"grip","aria-hidden":"true"})),a("div",{key:"758514a9446b4f9be4164334c56c98cff4492d79",class:"panel end",part:"end"},a("slot",{key:"8361324119a9ab7b732128d9680125b99a13c6be",name:"end"})))}static get watchers(){return{min:[{handleBoundsChange:0}],max:[{handleBoundsChange:0}]}}static get style(){return d()}},[769,"pf-resizable",{orientation:[513],size:[1026],min:[2],max:[2],step:[2],handleLabel:[1,"handle-label"]},[[1,"pointerup","handlePointerEnd"],[1,"pointercancel","handlePointerEnd"]],{min:[{handleBoundsChange:0}],max:[{handleBoundsChange:0}]}]);function f(){if(typeof customElements==="undefined"){return}const n=["pf-resizable"];n.forEach((n=>{switch(n){case"pf-resizable":if(!customElements.get(e(n))){customElements.define(e(n),c)}break}}))}f();const u=c;const p=f;export{u as PfResizable,p as defineCustomElement};
2
+ //# sourceMappingURL=pf-resizable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["clampSplitSize","size","min","max","Number","isFinite","clampNumber","splitSizeFromPointer","position","start","length","bounds","Math","round","resolveSplitterKey","key","state","orientation","step","current","decrease","increase","pfResizableCss","PfResizable","__stencil_proxyCustomElement","HTMLElement","handleLabel","pfChange","dragging","handleBoundsChange","next","this","resolved","handlePointerEnd","event","handle","hasPointerCapture","pointerId","releasePointerCapture","el","shadowRoot","querySelector","onPointerDown","preventDefault","currentTarget","setPointerCapture","focus","onPointerMove","rect","getBoundingClientRect","clientX","left","width","clientY","top","height","commit","onKeyDown","emit","render","horizontal","h","Host","class","part","style","flexBasis","name","role","tabindex","String"],"sources":["../core/dist/splitter.js","src/components/pf-resizable/pf-resizable.css?tag=pf-resizable&encapsulation=shadow","src/components/pf-resizable/pf-resizable.tsx"],"sourcesContent":["import { clampNumber } from \"./number-field.js\";\n//#region src/splitter.ts\n/**\n* The arithmetic behind a two-panel splitter: what a pointer position means\n* as a percentage, what a key does to it, and what it is clamped into.\n*\n* Shared because every part of it is visible to a consumer, and because a\n* splitter's keys depend on its orientation — a React `Resizable` and a\n* `<pf-resizable>` that disagreed about which arrow grows the first panel\n* would be two controls wearing one name.\n*/\n/**\n* Keeps a size inside min..max, in percent.\n*\n* A size that is not a finite number becomes an even split *of the bounds*\n* rather than `NaN`. It matters because `NaN` survives arithmetic silently and\n* then reaches the DOM as `flex-basis: NaN%`, an invalid declaration that\n* collapses the panel — the same failure mode as an undefined custom property,\n* and just as hard to read back from the result.\n*/\nfunction clampSplitSize(size, { min = 0, max = 100 } = {}) {\n\tif (!Number.isFinite(size)) return clampNumber((min + max) / 2, min, max);\n\treturn clampNumber(size, min, max);\n}\n/**\n* Where a pointer sits along a container, as the first panel's share.\n*\n* `null` when the container has no length, which is not a hypothetical: a\n* splitter inside a closed disclosure, or one dragged before its first\n* layout, measures zero, and dividing by it gives `Infinity` — or `NaN` when\n* the pointer is at the container's own edge. The caller keeps the size it\n* had instead.\n*/\nfunction splitSizeFromPointer(position, start, length, bounds = {}) {\n\tif (!(length > 0)) return null;\n\treturn clampSplitSize(Math.round((position - start) / length * 100), bounds);\n}\n/**\n* What a key does to the size, or `null` for a key the splitter does not\n* handle — which is also the signal not to call `preventDefault`.\n*\n* Which arrows apply follows the orientation: side-by-side panels are grown\n* and shrunk with Left and Right, stacked ones with Up and Down. The other\n* pair is deliberately not handled, so Up and Down still scroll a page with a\n* horizontal splitter focused. Home and End jump to the bounds, which is the\n* only way to collapse a panel in one press.\n*/\nfunction resolveSplitterKey(key, state) {\n\tconst { orientation, size, step = 2, min = 0, max = 100 } = state;\n\tconst current = clampSplitSize(size, {\n\t\tmin,\n\t\tmax\n\t});\n\tconst decrease = orientation === \"horizontal\" ? \"ArrowLeft\" : \"ArrowUp\";\n\tconst increase = orientation === \"horizontal\" ? \"ArrowRight\" : \"ArrowDown\";\n\tif (key === decrease) return clampSplitSize(current - step, {\n\t\tmin,\n\t\tmax\n\t});\n\tif (key === increase) return clampSplitSize(current + step, {\n\t\tmin,\n\t\tmax\n\t});\n\tif (key === \"Home\") return clampSplitSize(min, {\n\t\tmin,\n\t\tmax\n\t});\n\tif (key === \"End\") return clampSplitSize(max, {\n\t\tmin,\n\t\tmax\n\t});\n\treturn null;\n}\n//#endregion\nexport { clampSplitSize, resolveSplitterKey, splitSizeFromPointer };\n",":host {\n display: flex;\n overflow: hidden;\n width: 100%;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host([orientation='horizontal']) {\n flex-direction: row;\n}\n\n:host([orientation='vertical']) {\n flex-direction: column;\n}\n\n.panel {\n flex-grow: 0;\n flex-shrink: 0;\n min-height: 0;\n min-width: 0;\n overflow: auto;\n}\n\n/* The second panel takes whatever the first one leaves. */\n.end {\n flex: 1 1 0;\n}\n\n.handle {\n align-items: center;\n background: var(--pf-resizable-handle-bg);\n display: flex;\n flex-shrink: 0;\n justify-content: center;\n position: relative;\n /* Without this a touch drag scrolls the page instead of moving the split. */\n touch-action: none;\n transition: background var(--pf-transition-fast);\n}\n\n.handle:hover,\n.handle:focus-visible {\n background: var(--pf-resizable-handle-active-bg);\n}\n\n.handle:focus-visible {\n box-shadow: var(--pf-resizable-focus-ring, var(--pf-focus-ring));\n outline: none;\n}\n\n:host([orientation='horizontal']) .handle {\n cursor: col-resize;\n width: var(--pf-resizable-handle-size, 6px);\n}\n\n:host([orientation='vertical']) .handle {\n cursor: row-resize;\n height: var(--pf-resizable-handle-size, 6px);\n}\n\n.grip {\n background: var(--pf-resizable-grip);\n border-radius: var(--radius-full);\n}\n\n:host([orientation='horizontal']) .grip {\n height: 24px;\n width: 2px;\n}\n\n:host([orientation='vertical']) .grip {\n height: 2px;\n width: 24px;\n}\n\n@media (prefers-reduced-motion: reduce) {\n .handle {\n transition: none;\n }\n}\n","import { clampSplitSize, resolveSplitterKey, splitSizeFromPointer } from '@pitchfork-ui/core';\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n Watch,\n} from '@stencil/core';\n\n/**\n * Two panels with a draggable separator between them.\n *\n * The panels are slotted — `start` and `end` rather than a default slot taking\n * exactly two children, because a slot cannot be told to take only the first\n * assigned node and a consumer looping in their own template would otherwise\n * find the third child silently ignored, which is what the React `Resizable`\n * does with `Children.toArray(children)`.\n *\n * All of the arithmetic is core's, so this and the React `Resizable` agree on\n * which arrow grows the first panel, on where a pointer sits, and on what a\n * size outside the bounds becomes.\n *\n * @slot start - the first panel: the one whose size this controls.\n * @slot end - the second panel, which takes the rest.\n * @part start - the first panel's box.\n * @part end - the second panel's box.\n * @part handle - the separator.\n * @part grip - the mark in the middle of the separator.\n */\n@Component({\n tag: 'pf-resizable',\n styleUrl: 'pf-resizable.css',\n shadow: true,\n})\nexport class PfResizable {\n @Element() el!: HTMLElement;\n\n /**\n * `horizontal` puts the panels side by side and drags left and right;\n * `vertical` stacks them. Reflected, because the stylesheet selects on it.\n */\n @Prop({ reflect: true }) orientation: 'horizontal' | 'vertical' = 'horizontal';\n\n /** The first panel's share, in percent. */\n @Prop({ mutable: true }) size = 50;\n\n /** The first panel's smallest share, in percent. */\n @Prop() min = 10;\n\n /** Its largest. */\n @Prop() max = 90;\n\n /** How far one key press moves it, in percent. */\n @Prop() step = 2;\n\n /** The separator's accessible name. */\n @Prop() handleLabel = 'Resize panels';\n\n /** Fires when the split changes, by pointer or by key. */\n @Event() pfChange!: EventEmitter<{ size: number }>;\n\n private dragging = false;\n\n @Watch('min')\n @Watch('max')\n handleBoundsChange() {\n // A consumer narrowing the bounds must not leave the panel outside them.\n const next = this.resolved;\n if (next !== this.size) this.size = next;\n }\n\n /**\n * The size actually in force. The consumer's `size` is left as they set it,\n * so narrowing the bounds and widening them again restores what they asked\n * for rather than what it was clamped to.\n */\n private get resolved(): number {\n return clampSplitSize(Number(this.size), { min: this.min, max: this.max });\n }\n\n private get bounds() {\n return { min: this.min, max: this.max };\n }\n\n /**\n * A pointer release anywhere ends the drag.\n *\n * On the host rather than the handle, and `pointercancel` as well as\n * `pointerup`: a drag interrupted by the browser — a touch turning into a\n * scroll gesture, a window losing focus mid-drag — fires only `pointercancel`,\n * and without it the splitter stays in a dragging state and follows the\n * pointer around with no button held.\n */\n @Listen('pointerup')\n @Listen('pointercancel')\n handlePointerEnd(event: PointerEvent) {\n if (!this.dragging) return;\n this.dragging = false;\n const handle = this.handle;\n if (handle?.hasPointerCapture(event.pointerId)) handle.releasePointerCapture(event.pointerId);\n }\n\n private get handle(): HTMLElement | null {\n return this.el.shadowRoot?.querySelector('.handle') ?? null;\n }\n\n private onPointerDown = (event: PointerEvent) => {\n event.preventDefault();\n this.dragging = true;\n const handle = event.currentTarget as HTMLElement;\n handle.setPointerCapture(event.pointerId);\n // The separator is the control, so a drag has to focus it.\n handle.focus();\n };\n\n private onPointerMove = (event: PointerEvent) => {\n if (!this.dragging) return;\n\n const rect = this.el.getBoundingClientRect();\n /*\n * `null` when the host has no length, which is not hypothetical: a\n * splitter inside a collapsed box measures zero and dividing by it gives\n * Infinity. The size it already had stands.\n */\n const next =\n this.orientation === 'horizontal'\n ? splitSizeFromPointer(event.clientX, rect.left, rect.width, this.bounds)\n : splitSizeFromPointer(event.clientY, rect.top, rect.height, this.bounds);\n\n if (next !== null) this.commit(next);\n };\n\n private onKeyDown = (event: KeyboardEvent) => {\n const next = resolveSplitterKey(event.key, {\n orientation: this.orientation,\n size: this.resolved,\n min: this.min,\n max: this.max,\n step: Number(this.step),\n });\n\n // Nothing is prevented for a key the splitter does not handle, so Up and\n // Down still scroll a page with a horizontal splitter focused.\n if (next === null) return;\n event.preventDefault();\n this.commit(next);\n };\n\n private commit(next: number) {\n if (next === this.resolved) return;\n this.size = next;\n this.pfChange.emit({ size: next });\n }\n\n render() {\n const size = this.resolved;\n const horizontal = this.orientation === 'horizontal';\n\n return (\n <Host>\n <div class=\"panel start\" part=\"start\" style={{ flexBasis: `${size}%` }}>\n <slot name=\"start\" />\n </div>\n\n <div\n class=\"handle\"\n part=\"handle\"\n role=\"separator\"\n tabindex=\"0\"\n aria-label={this.handleLabel}\n aria-orientation={horizontal ? 'vertical' : 'horizontal'}\n aria-valuenow={String(size)}\n aria-valuemin={String(this.min)}\n aria-valuemax={String(this.max)}\n onPointerDown={this.onPointerDown}\n onPointerMove={this.onPointerMove}\n onKeyDown={this.onKeyDown}\n >\n <span class=\"grip\" part=\"grip\" aria-hidden=\"true\"></span>\n </div>\n\n <div class=\"panel end\" part=\"end\">\n <slot name=\"end\" />\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 PfRichTextEditor extends Components.PfRichTextEditor, HTMLElement {}
4
+ export const PfRichTextEditor: {
5
+ prototype: PfRichTextEditor;
6
+ new (): PfRichTextEditor;
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 r,c as i,h as a,a as o}from"./index.js";import{c as s}from"./p-DfpCerXM.js";import{r as n}from"./p-CAz7-p8y.js";import{s as d,g as l,r as c}from"./p-Fiuz9ck7.js";import{a as h}from"./p-Cr6IXrUk.js";var f=[{command:"bold",label:"Bold",text:"B"},{command:"italic",label:"Italic",text:"I"},{command:"underline",label:"Underline",text:"U"},{command:"insertUnorderedList",label:"Bulleted list",text:"• List",separatorBefore:true},{command:"insertOrderedList",label:"Numbered list",text:"1. List"},{command:"removeFormat",label:"Clear formatting",text:"Clear"}];function p(t){if(!t)return"";const e=t.trim();if(!e.startsWith("<p>")||!e.endsWith("</p>"))return t;if(e.indexOf("</p>")!==e.length-4)return t;return e.slice(3,-4)}const u=()=>`:host{display:block}:host([hidden]){display:none}.field{display:grid;gap:var(--space-2)}.label{color:var(--pf-field-label);font-size:var(--font-size-sm);font-weight:var(--font-weight-medium)}.required{color:var(--pf-field-required);margin-inline-start:var(--space-1)}.description{color:var(--pf-field-description);font-size:var(--font-size-sm);margin:0}.error{color:var(--pf-field-error);font-size:var(--font-size-sm);margin:0}.box{background:var(--pf-rte-bg);border:1px solid var(--pf-rte-border);border-radius:var(--radius-md);overflow:hidden}.box:focus-within{border-color:var(--pf-rte-focus-border);box-shadow:var(--pf-rte-focus-ring, var(--pf-focus-ring))}.box--invalid{border-color:var(--pf-rte-invalid-border)}.box--disabled{opacity:var(--pf-rte-disabled-opacity, 0.75)}.toolbar{align-items:center;background:var(--pf-rte-bg-subtle);border-bottom:1px solid var(--pf-rte-border);display:flex;flex-wrap:wrap;gap:var(--space-1);padding:var(--space-2)}.tool{background:transparent;border:1px solid transparent;border-radius:var(--radius-sm);color:var(--pf-rte-text);cursor:pointer;font:inherit;font-size:var(--font-size-sm);font-weight:var(--font-weight-medium);min-height:28px;padding:0 var(--space-2)}.tool:hover:not(:disabled){background:var(--pf-rte-bg);border-color:var(--pf-rte-border)}.tool:focus-visible{box-shadow:var(--pf-rte-focus-ring, var(--pf-focus-ring));outline:none}.tool:disabled{cursor:not-allowed;opacity:var(--pf-rte-disabled-opacity, 0.55)}.divider{background:var(--pf-rte-border);height:18px;margin:0 var(--space-1);width:1px}.editor{color:var(--pf-rte-text);font:inherit;line-height:1.5;min-height:var(--pf-rte-min-height, 140px);outline:none;overflow-wrap:anywhere;padding:var(--space-3)}.editor p{margin:0 0 0.75em}.editor p:last-child{margin-bottom:0}.editor:empty::before{color:var(--pf-rte-text-muted);content:attr(data-placeholder);pointer-events:none}.count{color:var(--pf-rte-text-muted);font-size:var(--font-size-sm);margin:0;text-align:end}`;const b=e(class t extends r{constructor(t){super();if(t!==false){this.__registerHost()}this.__attachShadow();this.pfChange=i(this,"pfChange");this.internals=this.attachInternals()}internals;get el(){return this}name;value="";label;description;error;placeholder="Start typing...";minHeight=140;characterMax;required=false;disabled=false;pfChange;characterCount=0;initialValue="";lastWithinLimit="";editor;toolbar;componentWillLoad(){this.initialValue=this.value??"";this.syncFormState()}componentDidLoad(){this.writeValueIntoEditor();if(this.toolbar)d(l(this.toolbar))}handleValueChange(){this.writeValueIntoEditor();this.syncFormState()}syncFormState(){const t=this.editor?.textContent??"";this.internals.setFormValue(this.value??"");h(this.internals,t.trim().length>0,this.required,this.error)}async checkValidity(){return this.internals.checkValidity()}async reportValidity(){return this.internals.reportValidity()}async getValidationMessage(){return this.internals.validationMessage}async format(t){this.runCommand(t)}formResetCallback(){this.value=this.initialValue;this.writeValueIntoEditor()}writeValueIntoEditor(){const t=p(this.value??"");if(this.editor&&this.editor.innerHTML!==t)this.editor.innerHTML=t;this.lastWithinLimit=t;this.characterCount=this.editor?.textContent?.length??0}onInput=()=>{if(!this.editor)return;const t=this.editor.textContent?.length??0;if(typeof this.characterMax==="number"&&t>this.characterMax){this.editor.innerHTML=this.lastWithinLimit;this.characterCount=this.editor.textContent?.length??0;return}this.lastWithinLimit=this.editor.innerHTML;this.characterCount=t;this.value=this.editor.innerHTML;this.syncFormState();this.pfChange.emit({value:this.value})};runCommand(t){if(!this.editor||this.disabled)return;this.editor.focus();document.execCommand?.(t);this.onInput()}onToolbarKeyDown=t=>{if(t.defaultPrevented||!this.toolbar)return;const e=c(t.key,"horizontal");if(!e)return;const r=l(this.toolbar);const i=r.indexOf(this.el.shadowRoot?.activeElement);if(i===-1)return;const a=n(e,r.map(((t,e)=>e)),i);if(a>=0){t.preventDefault();r[a].focus()}};onToolbarFocusIn=t=>{if(this.toolbar)d(l(this.toolbar),t.target)};render(){const t=typeof this.characterMax==="number";const e=s(this.description&&"description",this.error&&"error",t&&"count");return a(o,{key:"1e777ccc50af79784ab6348ff378ebc505919fb2"},a("div",{key:"432f2eaa3288f993ec43423cccc29461713d0231",class:"field",part:"field"},this.label&&a("label",{key:"04fea69f6c553e6f0a9008696ec9a65b5741ba42",class:"label",part:"label",id:"label",htmlFor:"editor"},this.label,this.required&&a("span",{key:"104964261dc140c4aa59b3831ed40bdcd298b714",class:"required","aria-hidden":"true"},"*")),a("div",{key:"221e3f47b1bec4663155ad201bef63e1533eeb85",class:{box:true,"box--invalid":Boolean(this.error),"box--disabled":this.disabled}},a("div",{key:"20e03010935746f7491ec091395c698520d65f1b",class:"toolbar",part:"toolbar",role:"toolbar","aria-label":"Formatting options","aria-orientation":"horizontal",ref:t=>this.toolbar=t,onKeyDown:this.onToolbarKeyDown,onFocusin:this.onToolbarFocusIn},f.map((t=>[t.separatorBefore?a("span",{class:"divider","aria-hidden":"true"}):null,a("button",{type:"button",class:"tool",part:"tool","data-command":t.command,"aria-label":t.label,disabled:this.disabled,onMouseDown:t=>t.preventDefault(),onClick:()=>this.runCommand(t.command)},t.text)]))),a("div",{key:"ee4fa67a3c45efe5fb9d4e9f77d1a639fcee5c1a",id:"editor",class:"editor",part:"editor",role:"textbox","aria-multiline":"true","aria-labelledby":this.label?"label":null,"aria-required":this.required?"true":null,"aria-invalid":this.error?"true":null,"aria-describedby":e,"aria-disabled":this.disabled?"true":null,contentEditable:!this.disabled,"data-placeholder":this.placeholder,style:{"--pf-rte-min-height":`${this.minHeight}px`},ref:t=>this.editor=t,onInput:this.onInput})),this.description&&a("p",{key:"e55178dd64e111d6940a9a2de5541a1adfefef8d",class:"description",part:"description",id:"description"},this.description),this.error&&a("p",{key:"118e10b3463e82ef5af5f0a51df45693b864b695",class:"error",part:"error",id:"error"},this.error),t&&a("p",{key:"c8163c0bb3c46c1ea8c6b0def9179fbd93dffa56",class:"count",part:"count",id:"count","aria-live":"polite"},this.characterCount,"/",this.characterMax)))}static get formAssociated(){return true}static get watchers(){return{value:[{handleValueChange:0}],error:[{syncFormState:0}],required:[{syncFormState:0}]}}static get style(){return u()}},[577,"pf-rich-text-editor",{name:[513],value:[1025],label:[1],description:[1],error:[1],placeholder:[1],minHeight:[2,"min-height"],characterMax:[2,"character-max"],required:[516],disabled:[516],characterCount:[32],checkValidity:[64],reportValidity:[64],getValidationMessage:[64],format:[64]},undefined,{value:[{handleValueChange:0}],error:[{syncFormState:0}],required:[{syncFormState:0}]}]);function m(){if(typeof customElements==="undefined"){return}const e=["pf-rich-text-editor"];e.forEach((e=>{switch(e){case"pf-rich-text-editor":if(!customElements.get(t(e))){customElements.define(t(e),b)}break}}))}m();const v=b;const g=m;export{v as PfRichTextEditor,g as defineCustomElement};
2
+ //# sourceMappingURL=pf-rich-text-editor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["RICH_TEXT_COMMANDS","command","label","text","separatorBefore","stripOuterParagraph","html","trimmed","trim","startsWith","endsWith","indexOf","length","slice","pfRichTextEditorCss","PfRichTextEditor","__stencil_proxyCustomElement","HTMLElement","internals","name","value","description","error","placeholder","minHeight","characterMax","required","disabled","pfChange","characterCount","initialValue","lastWithinLimit","editor","toolbar","componentWillLoad","this","syncFormState","componentDidLoad","writeValueIntoEditor","syncRovingTabIndex","getRovingItems","handleValueChange","textContent","setFormValue","applyControlValidity","checkValidity","reportValidity","getValidationMessage","validationMessage","format","runCommand","formResetCallback","next","innerHTML","onInput","emit","focus","document","execCommand","onToolbarKeyDown","event","defaultPrevented","action","resolveRovingKey","key","items","current","el","shadowRoot","activeElement","resolveListMove","map","_","index","preventDefault","onToolbarFocusIn","target","render","hasCount","describedBy","composeDescribedBy","h","Host","class","part","id","htmlFor","box","Boolean","role","ref","node","onKeyDown","onFocusin","tool","type","onMouseDown","onClick","contentEditable","style"],"sources":["../core/dist/rich-text.js","src/components/pf-rich-text-editor/pf-rich-text-editor.css?tag=pf-rich-text-editor&encapsulation=shadow","src/components/pf-rich-text-editor/pf-rich-text-editor.tsx"],"sourcesContent":["//#region src/rich-text.ts\n/**\n* The toolbar, as data.\n*\n* Shared so the two layers cannot offer different buttons, or the same\n* buttons under different names — a design system whose editor is `B I U` in\n* one framework and `B I U S` in another is two editors.\n*/\nvar RICH_TEXT_COMMANDS = [\n\t{\n\t\tcommand: \"bold\",\n\t\tlabel: \"Bold\",\n\t\ttext: \"B\"\n\t},\n\t{\n\t\tcommand: \"italic\",\n\t\tlabel: \"Italic\",\n\t\ttext: \"I\"\n\t},\n\t{\n\t\tcommand: \"underline\",\n\t\tlabel: \"Underline\",\n\t\ttext: \"U\"\n\t},\n\t{\n\t\tcommand: \"insertUnorderedList\",\n\t\tlabel: \"Bulleted list\",\n\t\ttext: \"• List\",\n\t\tseparatorBefore: true\n\t},\n\t{\n\t\tcommand: \"insertOrderedList\",\n\t\tlabel: \"Numbered list\",\n\t\ttext: \"1. List\"\n\t},\n\t{\n\t\tcommand: \"removeFormat\",\n\t\tlabel: \"Clear formatting\",\n\t\ttext: \"Clear\"\n\t}\n];\n/**\n* Drops a single wrapping `<p>` from a value, leaving everything else alone.\n*\n* A contenteditable browsers have been left to themselves wraps a first line\n* in `<p>` in some engines and not others, so a value round-tripped through\n* one and set into another gains a level of nesting each time. Stripping one\n* outer paragraph is what keeps `value` stable.\n*\n* The check that matters is that the first `</p>` **is** the last one. The\n* React `RichTextEditor` tested `startsWith('<p>')`, `endsWith('</p>')`,\n* `indexOf('<p>') === 0` and `lastIndexOf('</p>') === length - 4`, every one\n* of which is true of `<p>a</p><p>b</p>` — two paragraphs, which it then cut\n* into the broken fragment `a</p><p>b`. Measured against that exact input.\n*/\nfunction stripOuterParagraph(html) {\n\tif (!html) return \"\";\n\tconst trimmed = html.trim();\n\tif (!trimmed.startsWith(\"<p>\") || !trimmed.endsWith(\"</p>\")) return html;\n\tif (trimmed.indexOf(\"</p>\") !== trimmed.length - 4) return html;\n\treturn trimmed.slice(3, -4);\n}\n//#endregion\nexport { RICH_TEXT_COMMANDS, stripOuterParagraph };\n",":host {\n display: block;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n.field {\n display: grid;\n gap: var(--space-2);\n}\n\n.label {\n color: var(--pf-field-label);\n font-size: var(--font-size-sm);\n font-weight: var(--font-weight-medium);\n}\n\n.required {\n color: var(--pf-field-required);\n margin-inline-start: var(--space-1);\n}\n\n.description {\n color: var(--pf-field-description);\n font-size: var(--font-size-sm);\n margin: 0;\n}\n\n.error {\n color: var(--pf-field-error);\n font-size: var(--font-size-sm);\n margin: 0;\n}\n\n.box {\n background: var(--pf-rte-bg);\n border: 1px solid var(--pf-rte-border);\n border-radius: var(--radius-md);\n overflow: hidden;\n}\n\n.box:focus-within {\n border-color: var(--pf-rte-focus-border);\n box-shadow: var(--pf-rte-focus-ring, var(--pf-focus-ring));\n}\n\n.box--invalid {\n border-color: var(--pf-rte-invalid-border);\n}\n\n.box--disabled {\n opacity: var(--pf-rte-disabled-opacity, 0.75);\n}\n\n.toolbar {\n align-items: center;\n background: var(--pf-rte-bg-subtle);\n border-bottom: 1px solid var(--pf-rte-border);\n display: flex;\n flex-wrap: wrap;\n gap: var(--space-1);\n padding: var(--space-2);\n}\n\n.tool {\n background: transparent;\n border: 1px solid transparent;\n border-radius: var(--radius-sm);\n color: var(--pf-rte-text);\n cursor: pointer;\n font: inherit;\n font-size: var(--font-size-sm);\n font-weight: var(--font-weight-medium);\n min-height: 28px;\n padding: 0 var(--space-2);\n}\n\n.tool:hover:not(:disabled) {\n background: var(--pf-rte-bg);\n border-color: var(--pf-rte-border);\n}\n\n.tool:focus-visible {\n box-shadow: var(--pf-rte-focus-ring, var(--pf-focus-ring));\n outline: none;\n}\n\n.tool:disabled {\n cursor: not-allowed;\n opacity: var(--pf-rte-disabled-opacity, 0.55);\n}\n\n.divider {\n background: var(--pf-rte-border);\n height: 18px;\n margin: 0 var(--space-1);\n width: 1px;\n}\n\n.editor {\n color: var(--pf-rte-text);\n font: inherit;\n line-height: 1.5;\n min-height: var(--pf-rte-min-height, 140px);\n outline: none;\n overflow-wrap: anywhere;\n padding: var(--space-3);\n}\n\n/*\n * The browser's own paragraphs, which `execCommand` and Enter both produce.\n * There is no `::slotted` involved: this content is in the shadow root,\n * written there imperatively, so a plain descendant selector reaches it.\n */\n.editor p {\n margin: 0 0 0.75em;\n}\n\n.editor p:last-child {\n margin-bottom: 0;\n}\n\n.editor:empty::before {\n color: var(--pf-rte-text-muted);\n content: attr(data-placeholder);\n pointer-events: none;\n}\n\n.count {\n color: var(--pf-rte-text-muted);\n font-size: var(--font-size-sm);\n margin: 0;\n text-align: end;\n}\n","import {\n RICH_TEXT_COMMANDS,\n composeDescribedBy,\n getRovingItems,\n resolveListMove,\n resolveRovingKey,\n stripOuterParagraph,\n syncRovingTabIndex,\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';\nimport { applyControlValidity } from '../../form-validity';\n\n/**\n * A form-associated rich-text field over a `contenteditable`.\n *\n * The toolbar is core's list, so this and the React `RichTextEditor` cannot\n * offer different buttons, and the value is normalised with core's\n * `stripOuterParagraph`, so they cannot disagree about what a round trip\n * looks like.\n *\n * Two things differ from the React component, both deliberate:\n *\n * - **The toolbar is one tab stop**, with the arrows moving inside it, which\n * is the ARIA toolbar pattern and what `pf-toolbar` already does. The React\n * version is six tab stops inside a `role=\"toolbar\"`, so tabbing past the\n * field walks every button; `todo.md` has that.\n * - **It is a real form control.** `formAssociated` with `ElementInternals` is\n * what puts the value in `FormData`; a `contenteditable` is not a form\n * control in any framework, and the React component's value reaches a form\n * only if the consumer wires it there themselves.\n *\n * `document.execCommand` is deprecated and is still the only way to apply\n * formatting inside a `contenteditable` without a dependency, which is the\n * same trade the React component makes.\n *\n * @part field - the wrapper around label, toolbar, editor and messages.\n * @part label - the label element.\n * @part toolbar - the formatting toolbar.\n * @part tool - one toolbar button.\n * @part editor - the editable area.\n * @part count - the character counter.\n * @part description - the hint text.\n * @part error - the error message.\n */\n@Component({\n tag: 'pf-rich-text-editor',\n styleUrl: 'pf-rich-text-editor.css',\n formAssociated: true,\n shadow: true,\n})\nexport class PfRichTextEditor {\n @AttachInternals() internals!: ElementInternals;\n\n @Element() el!: HTMLElement;\n\n /**\n * Submitted under this name.\n *\n * Reflected, because a form-associated custom element takes its submission\n * name from the `name` content attribute rather than from this property.\n */\n @Prop({ reflect: true }) name?: string;\n\n /** The field's value, as HTML. */\n @Prop({ mutable: true }) value = '';\n\n @Prop() label?: string;\n\n @Prop() description?: string;\n\n /** Error message from the consumer. Its presence marks the control invalid. */\n @Prop() error?: string;\n\n @Prop() placeholder = 'Start typing...';\n\n /** The editable area's smallest height, in pixels. */\n @Prop() minHeight = 140;\n\n /** The most characters of text the field will hold. */\n @Prop() characterMax?: number;\n\n @Prop({ reflect: true }) required = false;\n\n @Prop({ reflect: true }) disabled = false;\n\n /** Fires when the value changes, however it changed. */\n @Event() pfChange!: EventEmitter<{ value: string }>;\n\n /** The text length, which the counter shows. */\n @State() characterCount = 0;\n\n /** The value a reset restores, captured before `value` can be replaced. */\n private initialValue = '';\n\n /** The last value inside the character limit, which an overrun reverts to. */\n private lastWithinLimit = '';\n\n private editor?: HTMLElement;\n\n private toolbar?: HTMLElement;\n\n componentWillLoad() {\n this.initialValue = this.value ?? '';\n this.syncFormState();\n }\n\n componentDidLoad() {\n this.writeValueIntoEditor();\n if (this.toolbar) syncRovingTabIndex(getRovingItems(this.toolbar));\n }\n\n @Watch('value')\n handleValueChange() {\n this.writeValueIntoEditor();\n this.syncFormState();\n }\n\n @Watch('error')\n @Watch('required')\n syncFormState() {\n const text = this.editor?.textContent ?? '';\n this.internals.setFormValue(this.value ?? '');\n applyControlValidity(this.internals, text.trim().length > 0, this.required, this.error);\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 /** Applies one of the toolbar's commands, as pressing its button does. */\n @Method()\n async format(command: string) {\n this.runCommand(command);\n }\n\n /**\n * A reset restores the value the control started with, not an empty string —\n * the rule a native `<input value=\"initial\">` follows.\n */\n formResetCallback() {\n this.value = this.initialValue;\n this.writeValueIntoEditor();\n }\n\n /**\n * The editable area's content is written imperatively, never rendered.\n *\n * A `contenteditable` that a vdom also owns is a fight: the person types,\n * the DOM changes under the renderer, and the next render puts the old\n * content back with the caret at the start. So the element renders an empty\n * box once and sets `innerHTML` only when the value it holds and the value\n * in the box actually differ.\n */\n private writeValueIntoEditor() {\n const next = stripOuterParagraph(this.value ?? '');\n if (this.editor && this.editor.innerHTML !== next) this.editor.innerHTML = next;\n\n this.lastWithinLimit = next;\n this.characterCount = this.editor?.textContent?.length ?? 0;\n }\n\n private onInput = () => {\n if (!this.editor) return;\n\n const length = this.editor.textContent?.length ?? 0;\n\n /*\n * Over the limit: put the last good value back rather than let the\n * content grow. The caret lands at the start of the box, which is the\n * cost of this approach and the reason a limit should be generous.\n */\n if (typeof this.characterMax === 'number' && length > this.characterMax) {\n this.editor.innerHTML = this.lastWithinLimit;\n this.characterCount = this.editor.textContent?.length ?? 0;\n return;\n }\n\n this.lastWithinLimit = this.editor.innerHTML;\n this.characterCount = length;\n this.value = this.editor.innerHTML;\n this.syncFormState();\n this.pfChange.emit({ value: this.value });\n };\n\n private runCommand(command: string) {\n if (!this.editor || this.disabled) return;\n\n this.editor.focus();\n /*\n * Deprecated, and still the only way to format inside a\n * `contenteditable` without a dependency. It is also the one DOM call\n * here that a test project cannot make: Stencil's mock DOM has no\n * `execCommand` at all, so the toolbar is browser-tested.\n */\n document.execCommand?.(command);\n this.onInput();\n }\n\n /** The toolbar is one tab stop, with the arrows moving inside it. */\n private onToolbarKeyDown = (event: KeyboardEvent) => {\n if (event.defaultPrevented || !this.toolbar) return;\n\n const action = resolveRovingKey(event.key, 'horizontal');\n if (!action) return;\n\n const items = getRovingItems(this.toolbar);\n const current = items.indexOf(this.el.shadowRoot?.activeElement as HTMLElement);\n if (current === -1) return;\n\n const next = resolveListMove(\n action,\n items.map((_, index) => index),\n current,\n );\n if (next >= 0) {\n event.preventDefault();\n items[next].focus();\n }\n };\n\n private onToolbarFocusIn = (event: FocusEvent) => {\n if (this.toolbar) syncRovingTabIndex(getRovingItems(this.toolbar), event.target as HTMLElement);\n };\n\n render() {\n const hasCount = typeof this.characterMax === 'number';\n const describedBy = composeDescribedBy(\n this.description && 'description',\n this.error && 'error',\n hasCount && 'count',\n );\n\n return (\n <Host>\n <div class=\"field\" part=\"field\">\n {this.label && (\n <label class=\"label\" part=\"label\" id=\"label\" htmlFor=\"editor\">\n {this.label}\n {this.required && (\n <span class=\"required\" aria-hidden=\"true\">\n *\n </span>\n )}\n </label>\n )}\n\n <div\n class={{\n box: true,\n 'box--invalid': Boolean(this.error),\n 'box--disabled': this.disabled,\n }}\n >\n <div\n class=\"toolbar\"\n part=\"toolbar\"\n role=\"toolbar\"\n aria-label=\"Formatting options\"\n aria-orientation=\"horizontal\"\n ref={(node) => (this.toolbar = node)}\n onKeyDown={this.onToolbarKeyDown}\n onFocusin={this.onToolbarFocusIn}\n >\n {RICH_TEXT_COMMANDS.map((tool) => [\n tool.separatorBefore ? <span class=\"divider\" aria-hidden=\"true\"></span> : null,\n <button\n type=\"button\"\n class=\"tool\"\n part=\"tool\"\n data-command={tool.command}\n aria-label={tool.label}\n disabled={this.disabled}\n // A press must not take the caret out of the editor, or the\n // command has no selection to apply to.\n onMouseDown={(event: MouseEvent) => event.preventDefault()}\n onClick={() => this.runCommand(tool.command)}\n >\n {tool.text}\n </button>,\n ])}\n </div>\n\n {/*\n Rendered empty, once. Its content is set imperatively, because a\n vdom that also owned it would put the old content back under the\n person's caret on the next render.\n */}\n <div\n id=\"editor\"\n class=\"editor\"\n part=\"editor\"\n role=\"textbox\"\n aria-multiline=\"true\"\n aria-labelledby={this.label ? 'label' : null}\n aria-required={this.required ? 'true' : null}\n aria-invalid={this.error ? 'true' : null}\n aria-describedby={describedBy}\n aria-disabled={this.disabled ? 'true' : null}\n contentEditable={!this.disabled}\n data-placeholder={this.placeholder}\n style={{ '--pf-rte-min-height': `${this.minHeight}px` }}\n ref={(node) => (this.editor = node)}\n onInput={this.onInput}\n ></div>\n </div>\n\n {this.description && (\n <p class=\"description\" part=\"description\" id=\"description\">\n {this.description}\n </p>\n )}\n\n {this.error && (\n <p class=\"error\" part=\"error\" id=\"error\">\n {this.error}\n </p>\n )}\n\n {hasCount && (\n <p class=\"count\" part=\"count\" id=\"count\" aria-live=\"polite\">\n {this.characterCount}/{this.characterMax}\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 PfScrollArea extends Components.PfScrollArea, HTMLElement {}
4
+ export const PfScrollArea: {
5
+ prototype: PfScrollArea;
6
+ new (): PfScrollArea;
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 r,p as o,H as t,h as e,a}from"./index.js";const s=()=>`:host{display:block;scrollbar-color:var(--pf-scrollarea-thumb) transparent;scrollbar-width:thin;scrollbar-gutter:stable}:host([hidden]){display:none}:host(:focus-visible){border-radius:var(--radius-sm);box-shadow:var(--pf-scrollarea-focus-ring, var(--pf-focus-ring));outline:none}:host([orientation='vertical']){overflow-x:hidden;overflow-y:auto}:host([orientation='horizontal']){overflow-x:auto;overflow-y:hidden}:host([orientation='both']){overflow:auto}:host::-webkit-scrollbar{height:10px;width:10px}:host::-webkit-scrollbar-track{background:transparent}:host::-webkit-scrollbar-thumb{background:var(--pf-scrollarea-thumb);background-clip:padding-box;border:2px solid transparent;border-radius:var(--radius-full)}:host::-webkit-scrollbar-thumb:hover{background:var(--pf-scrollarea-thumb-hover);background-clip:padding-box}:host::-webkit-scrollbar-corner{background:transparent}`;const n=o(class r extends t{constructor(r){super();if(r!==false){this.__registerHost()}this.__attachShadow()}get el(){return this}orientation="vertical";focusable=true;componentWillLoad(){if(this.focusable&&!this.el.hasAttribute("tabindex")){this.el.setAttribute("tabindex","0")}}render(){return e(a,{key:"1981de11e7e17cb513ca642b180062c3767fbf41"},e("slot",{key:"1260c995e6571cc826038be07fffc584343675c7"}))}static get style(){return s()}},[769,"pf-scroll-area",{orientation:[513],focusable:[4]}]);function l(){if(typeof customElements==="undefined"){return}const o=["pf-scroll-area"];o.forEach((o=>{switch(o){case"pf-scroll-area":if(!customElements.get(r(o))){customElements.define(r(o),n)}break}}))}l();const i=n;const c=l;export{i as PfScrollArea,c as defineCustomElement};
2
+ //# sourceMappingURL=pf-scroll-area.js.map