@thewhatmatters/wmds 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (720) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/CONSUMING.md +352 -0
  3. package/LICENSE +21 -0
  4. package/README.md +65 -0
  5. package/bin/wmds-check.mjs +173 -0
  6. package/dist/cluster.css +14 -0
  7. package/dist/collapse.css +24 -0
  8. package/dist/colors.css +282 -0
  9. package/dist/components/atoms/Avatar/Avatar.d.ts +22 -0
  10. package/dist/components/atoms/Avatar/Avatar.d.ts.map +1 -0
  11. package/dist/components/atoms/Avatar/Avatar.js +52 -0
  12. package/dist/components/atoms/Avatar/avatarStyles.d.ts +23 -0
  13. package/dist/components/atoms/Avatar/avatarStyles.d.ts.map +1 -0
  14. package/dist/components/atoms/Avatar/avatarStyles.js +48 -0
  15. package/dist/components/atoms/Badge/Badge.d.ts +47 -0
  16. package/dist/components/atoms/Badge/Badge.d.ts.map +1 -0
  17. package/dist/components/atoms/Badge/Badge.js +68 -0
  18. package/dist/components/atoms/Badge/BadgeIcon.d.ts +7 -0
  19. package/dist/components/atoms/Badge/BadgeIcon.d.ts.map +1 -0
  20. package/dist/components/atoms/Badge/BadgeIcon.js +14 -0
  21. package/dist/components/atoms/Badge/BadgeSegmentCount.d.ts +6 -0
  22. package/dist/components/atoms/Badge/BadgeSegmentCount.d.ts.map +1 -0
  23. package/dist/components/atoms/Badge/BadgeSegmentCount.js +13 -0
  24. package/dist/components/atoms/Badge/badgeStyles.d.ts +37 -0
  25. package/dist/components/atoms/Badge/badgeStyles.d.ts.map +1 -0
  26. package/dist/components/atoms/Badge/badgeStyles.js +46 -0
  27. package/dist/components/atoms/Button/Button.d.ts +77 -0
  28. package/dist/components/atoms/Button/Button.d.ts.map +1 -0
  29. package/dist/components/atoms/Button/Button.js +138 -0
  30. package/dist/components/atoms/Button/ButtonBadge.d.ts +5 -0
  31. package/dist/components/atoms/Button/ButtonBadge.d.ts.map +1 -0
  32. package/dist/components/atoms/Button/ButtonBadge.js +14 -0
  33. package/dist/components/atoms/Button/ButtonIcon.d.ts +8 -0
  34. package/dist/components/atoms/Button/ButtonIcon.d.ts.map +1 -0
  35. package/dist/components/atoms/Button/ButtonIcon.js +14 -0
  36. package/dist/components/atoms/Button/ButtonSpinner.d.ts +6 -0
  37. package/dist/components/atoms/Button/ButtonSpinner.d.ts.map +1 -0
  38. package/dist/components/atoms/Button/ButtonSpinner.js +13 -0
  39. package/dist/components/atoms/Button/ButtonStatusButton.d.ts +23 -0
  40. package/dist/components/atoms/Button/ButtonStatusButton.d.ts.map +1 -0
  41. package/dist/components/atoms/Button/ButtonStatusButton.js +43 -0
  42. package/dist/components/atoms/Button/ButtonStatusContent.d.ts +10 -0
  43. package/dist/components/atoms/Button/ButtonStatusContent.d.ts.map +1 -0
  44. package/dist/components/atoms/Button/ButtonStatusContent.js +92 -0
  45. package/dist/components/atoms/Button/buttonStatusMotion.d.ts +40 -0
  46. package/dist/components/atoms/Button/buttonStatusMotion.d.ts.map +1 -0
  47. package/dist/components/atoms/Button/buttonStatusMotion.js +100 -0
  48. package/dist/components/atoms/Button/buttonStatusStyles.d.ts +21 -0
  49. package/dist/components/atoms/Button/buttonStatusStyles.d.ts.map +1 -0
  50. package/dist/components/atoms/Button/buttonStatusStyles.js +39 -0
  51. package/dist/components/atoms/Button/buttonStyles.d.ts +47 -0
  52. package/dist/components/atoms/Button/buttonStyles.d.ts.map +1 -0
  53. package/dist/components/atoms/Button/buttonStyles.js +54 -0
  54. package/dist/components/atoms/Checkbox/Checkbox.d.ts +31 -0
  55. package/dist/components/atoms/Checkbox/Checkbox.d.ts.map +1 -0
  56. package/dist/components/atoms/Checkbox/Checkbox.js +101 -0
  57. package/dist/components/atoms/Checkbox/checkboxStyles.d.ts +37 -0
  58. package/dist/components/atoms/Checkbox/checkboxStyles.d.ts.map +1 -0
  59. package/dist/components/atoms/Checkbox/checkboxStyles.js +42 -0
  60. package/dist/components/atoms/IconButton/IconButton.d.ts +49 -0
  61. package/dist/components/atoms/IconButton/IconButton.d.ts.map +1 -0
  62. package/dist/components/atoms/IconButton/IconButton.js +84 -0
  63. package/dist/components/atoms/IconButton/iconButtonStyles.d.ts +17 -0
  64. package/dist/components/atoms/IconButton/iconButtonStyles.d.ts.map +1 -0
  65. package/dist/components/atoms/IconButton/iconButtonStyles.js +13 -0
  66. package/dist/components/atoms/Input/Input.d.ts +37 -0
  67. package/dist/components/atoms/Input/Input.d.ts.map +1 -0
  68. package/dist/components/atoms/Input/Input.js +105 -0
  69. package/dist/components/atoms/Input/inputShellStyles.d.ts +99 -0
  70. package/dist/components/atoms/Input/inputShellStyles.d.ts.map +1 -0
  71. package/dist/components/atoms/Input/inputShellStyles.js +119 -0
  72. package/dist/components/atoms/Kbd/Kbd.d.ts +18 -0
  73. package/dist/components/atoms/Kbd/Kbd.d.ts.map +1 -0
  74. package/dist/components/atoms/Kbd/Kbd.js +15 -0
  75. package/dist/components/atoms/Kbd/kbdStyles.d.ts +5 -0
  76. package/dist/components/atoms/Kbd/kbdStyles.d.ts.map +1 -0
  77. package/dist/components/atoms/Kbd/kbdStyles.js +8 -0
  78. package/dist/components/atoms/Kbd/useKbdChoiceKeys.d.ts +21 -0
  79. package/dist/components/atoms/Kbd/useKbdChoiceKeys.d.ts.map +1 -0
  80. package/dist/components/atoms/Kbd/useKbdChoiceKeys.js +18 -0
  81. package/dist/components/atoms/Radio/Radio.d.ts +26 -0
  82. package/dist/components/atoms/Radio/Radio.d.ts.map +1 -0
  83. package/dist/components/atoms/Radio/Radio.js +84 -0
  84. package/dist/components/atoms/Radio/radioStyles.d.ts +28 -0
  85. package/dist/components/atoms/Radio/radioStyles.d.ts.map +1 -0
  86. package/dist/components/atoms/Radio/radioStyles.js +36 -0
  87. package/dist/components/atoms/RiveHand/RiveHand.d.ts +44 -0
  88. package/dist/components/atoms/RiveHand/RiveHand.d.ts.map +1 -0
  89. package/dist/components/atoms/RiveHand/RiveHand.js +254 -0
  90. package/dist/components/atoms/RiveHand/riveHandUtils.d.ts +168 -0
  91. package/dist/components/atoms/RiveHand/riveHandUtils.d.ts.map +1 -0
  92. package/dist/components/atoms/RiveHand/riveHandUtils.js +123 -0
  93. package/dist/components/atoms/Skeleton/Skeleton.d.ts +28 -0
  94. package/dist/components/atoms/Skeleton/Skeleton.d.ts.map +1 -0
  95. package/dist/components/atoms/Skeleton/Skeleton.js +32 -0
  96. package/dist/components/atoms/Skeleton/skeletonStyles.d.ts +23 -0
  97. package/dist/components/atoms/Skeleton/skeletonStyles.d.ts.map +1 -0
  98. package/dist/components/atoms/Skeleton/skeletonStyles.js +30 -0
  99. package/dist/components/atoms/Status/Status.d.ts +40 -0
  100. package/dist/components/atoms/Status/Status.d.ts.map +1 -0
  101. package/dist/components/atoms/Status/Status.js +84 -0
  102. package/dist/components/atoms/Status/statusDotStyles.d.ts +10 -0
  103. package/dist/components/atoms/Status/statusDotStyles.d.ts.map +1 -0
  104. package/dist/components/atoms/Status/statusDotStyles.js +17 -0
  105. package/dist/components/atoms/Status/statusRingStyles.d.ts +12 -0
  106. package/dist/components/atoms/Status/statusRingStyles.d.ts.map +1 -0
  107. package/dist/components/atoms/Status/statusRingStyles.js +6 -0
  108. package/dist/components/atoms/Switch/Switch.d.ts +27 -0
  109. package/dist/components/atoms/Switch/Switch.d.ts.map +1 -0
  110. package/dist/components/atoms/Switch/Switch.js +109 -0
  111. package/dist/components/atoms/Switch/switchStyles.d.ts +36 -0
  112. package/dist/components/atoms/Switch/switchStyles.d.ts.map +1 -0
  113. package/dist/components/atoms/Switch/switchStyles.js +39 -0
  114. package/dist/components/atoms/TextArea/TextArea.d.ts +37 -0
  115. package/dist/components/atoms/TextArea/TextArea.d.ts.map +1 -0
  116. package/dist/components/atoms/TextArea/TextArea.js +115 -0
  117. package/dist/components/atoms/TextArea/textareaShellStyles.d.ts +41 -0
  118. package/dist/components/atoms/TextArea/textareaShellStyles.d.ts.map +1 -0
  119. package/dist/components/atoms/TextArea/textareaShellStyles.js +71 -0
  120. package/dist/components/atoms/TextLink/TextLink.d.ts +14 -0
  121. package/dist/components/atoms/TextLink/TextLink.d.ts.map +1 -0
  122. package/dist/components/atoms/TextLink/TextLink.js +26 -0
  123. package/dist/components/atoms/TextLink/textLinkStyles.d.ts +3 -0
  124. package/dist/components/atoms/TextLink/textLinkStyles.d.ts.map +1 -0
  125. package/dist/components/atoms/TextLink/textLinkStyles.js +6 -0
  126. package/dist/components/atoms/TextSequenceShape/TextSequenceShape.d.ts +21 -0
  127. package/dist/components/atoms/TextSequenceShape/TextSequenceShape.d.ts.map +1 -0
  128. package/dist/components/atoms/TextSequenceShape/TextSequenceShape.js +175 -0
  129. package/dist/components/atoms/TextSequenceShape/textSequenceShapeStyles.d.ts +28 -0
  130. package/dist/components/atoms/TextSequenceShape/textSequenceShapeStyles.d.ts.map +1 -0
  131. package/dist/components/atoms/TextSequenceShape/textSequenceShapeStyles.js +39 -0
  132. package/dist/components/atoms/Tooltip/Tooltip.d.ts +63 -0
  133. package/dist/components/atoms/Tooltip/Tooltip.d.ts.map +1 -0
  134. package/dist/components/atoms/Tooltip/Tooltip.js +82 -0
  135. package/dist/components/atoms/Tooltip/tooltipStyles.d.ts +4 -0
  136. package/dist/components/atoms/Tooltip/tooltipStyles.d.ts.map +1 -0
  137. package/dist/components/atoms/Tooltip/tooltipStyles.js +15 -0
  138. package/dist/components/atoms/inputShared/InputStatusBanner.d.ts +13 -0
  139. package/dist/components/atoms/inputShared/InputStatusBanner.d.ts.map +1 -0
  140. package/dist/components/atoms/inputShared/InputStatusBanner.js +24 -0
  141. package/dist/components/atoms/inputShared/InputTrailingAffordance.d.ts +8 -0
  142. package/dist/components/atoms/inputShared/InputTrailingAffordance.d.ts.map +1 -0
  143. package/dist/components/atoms/inputShared/InputTrailingAffordance.js +26 -0
  144. package/dist/components/molecules/Accordion/Accordion.d.ts +36 -0
  145. package/dist/components/molecules/Accordion/Accordion.d.ts.map +1 -0
  146. package/dist/components/molecules/Accordion/Accordion.js +82 -0
  147. package/dist/components/molecules/Accordion/accordionStyles.d.ts +45 -0
  148. package/dist/components/molecules/Accordion/accordionStyles.d.ts.map +1 -0
  149. package/dist/components/molecules/Accordion/accordionStyles.js +12 -0
  150. package/dist/components/molecules/CalEmbed/CalEmbed.d.ts +58 -0
  151. package/dist/components/molecules/CalEmbed/CalEmbed.d.ts.map +1 -0
  152. package/dist/components/molecules/CalEmbed/CalEmbed.js +50 -0
  153. package/dist/components/molecules/CalEmbed/calEmbedStyles.d.ts +5 -0
  154. package/dist/components/molecules/CalEmbed/calEmbedStyles.d.ts.map +1 -0
  155. package/dist/components/molecules/CalEmbed/calEmbedStyles.js +5 -0
  156. package/dist/components/molecules/Card/Card.d.ts +53 -0
  157. package/dist/components/molecules/Card/Card.d.ts.map +1 -0
  158. package/dist/components/molecules/Card/Card.js +72 -0
  159. package/dist/components/molecules/Card/cardStyles.d.ts +82 -0
  160. package/dist/components/molecules/Card/cardStyles.d.ts.map +1 -0
  161. package/dist/components/molecules/Card/cardStyles.js +60 -0
  162. package/dist/components/molecules/ChatQa/ChatQa.d.ts +25 -0
  163. package/dist/components/molecules/ChatQa/ChatQa.d.ts.map +1 -0
  164. package/dist/components/molecules/ChatQa/ChatQa.js +23 -0
  165. package/dist/components/molecules/ChatQa/chatQaStyles.d.ts +9 -0
  166. package/dist/components/molecules/ChatQa/chatQaStyles.d.ts.map +1 -0
  167. package/dist/components/molecules/ChatQa/chatQaStyles.js +5 -0
  168. package/dist/components/molecules/CheckboxGroup/CheckboxGroup.d.ts +29 -0
  169. package/dist/components/molecules/CheckboxGroup/CheckboxGroup.d.ts.map +1 -0
  170. package/dist/components/molecules/CheckboxGroup/CheckboxGroup.js +76 -0
  171. package/dist/components/molecules/CheckboxGroup/CheckboxGroupContext.d.ts +14 -0
  172. package/dist/components/molecules/CheckboxGroup/CheckboxGroupContext.d.ts.map +1 -0
  173. package/dist/components/molecules/CheckboxGroup/CheckboxGroupContext.js +17 -0
  174. package/dist/components/molecules/CheckboxGroup/CheckboxGroupItem.d.ts +12 -0
  175. package/dist/components/molecules/CheckboxGroup/CheckboxGroupItem.d.ts.map +1 -0
  176. package/dist/components/molecules/CheckboxGroup/CheckboxGroupItem.js +23 -0
  177. package/dist/components/molecules/CheckboxGroup/checkboxGroupStyles.d.ts +16 -0
  178. package/dist/components/molecules/CheckboxGroup/checkboxGroupStyles.d.ts.map +1 -0
  179. package/dist/components/molecules/CheckboxGroup/checkboxGroupStyles.js +15 -0
  180. package/dist/components/molecules/Chip/Chip.d.ts +32 -0
  181. package/dist/components/molecules/Chip/Chip.d.ts.map +1 -0
  182. package/dist/components/molecules/Chip/Chip.js +116 -0
  183. package/dist/components/molecules/Chip/ChipFilterGroup.d.ts +30 -0
  184. package/dist/components/molecules/Chip/ChipFilterGroup.d.ts.map +1 -0
  185. package/dist/components/molecules/Chip/ChipFilterGroup.js +45 -0
  186. package/dist/components/molecules/Chip/chipStyles.d.ts +12 -0
  187. package/dist/components/molecules/Chip/chipStyles.d.ts.map +1 -0
  188. package/dist/components/molecules/Chip/chipStyles.js +23 -0
  189. package/dist/components/molecules/DisplayControls/DisplayControls.d.ts +27 -0
  190. package/dist/components/molecules/DisplayControls/DisplayControls.d.ts.map +1 -0
  191. package/dist/components/molecules/DisplayControls/DisplayControls.js +76 -0
  192. package/dist/components/molecules/DisplayControls/displayControlsState.d.ts +6 -0
  193. package/dist/components/molecules/DisplayControls/displayControlsState.d.ts.map +1 -0
  194. package/dist/components/molecules/DisplayControls/displayControlsState.js +18 -0
  195. package/dist/components/molecules/DisplayControls/displayControlsStyles.d.ts +4 -0
  196. package/dist/components/molecules/DisplayControls/displayControlsStyles.d.ts.map +1 -0
  197. package/dist/components/molecules/DisplayControls/displayControlsStyles.js +5 -0
  198. package/dist/components/molecules/Dropdown/Dropdown.d.ts +9 -0
  199. package/dist/components/molecules/Dropdown/Dropdown.d.ts.map +1 -0
  200. package/dist/components/molecules/Dropdown/Dropdown.js +10 -0
  201. package/dist/components/molecules/Dropdown/DropdownItem.d.ts +23 -0
  202. package/dist/components/molecules/Dropdown/DropdownItem.d.ts.map +1 -0
  203. package/dist/components/molecules/Dropdown/DropdownItem.js +36 -0
  204. package/dist/components/molecules/Dropdown/DropdownMenu.d.ts +10 -0
  205. package/dist/components/molecules/Dropdown/DropdownMenu.d.ts.map +1 -0
  206. package/dist/components/molecules/Dropdown/DropdownMenu.js +14 -0
  207. package/dist/components/molecules/Dropdown/dropdownMenuPosition.d.ts +25 -0
  208. package/dist/components/molecules/Dropdown/dropdownMenuPosition.d.ts.map +1 -0
  209. package/dist/components/molecules/Dropdown/dropdownMenuPosition.js +56 -0
  210. package/dist/components/molecules/Dropdown/dropdownStyles.d.ts +31 -0
  211. package/dist/components/molecules/Dropdown/dropdownStyles.d.ts.map +1 -0
  212. package/dist/components/molecules/Dropdown/dropdownStyles.js +8 -0
  213. package/dist/components/molecules/Field/Field.d.ts +25 -0
  214. package/dist/components/molecules/Field/Field.d.ts.map +1 -0
  215. package/dist/components/molecules/Field/Field.js +80 -0
  216. package/dist/components/molecules/Field/fieldStyles.d.ts +16 -0
  217. package/dist/components/molecules/Field/fieldStyles.d.ts.map +1 -0
  218. package/dist/components/molecules/Field/fieldStyles.js +11 -0
  219. package/dist/components/molecules/FloatingActionButton/FloatingActionButton.d.ts +22 -0
  220. package/dist/components/molecules/FloatingActionButton/FloatingActionButton.d.ts.map +1 -0
  221. package/dist/components/molecules/FloatingActionButton/FloatingActionButton.js +135 -0
  222. package/dist/components/molecules/FloatingActionButton/floatingActionButtonStyles.d.ts +9 -0
  223. package/dist/components/molecules/FloatingActionButton/floatingActionButtonStyles.d.ts.map +1 -0
  224. package/dist/components/molecules/FloatingActionButton/floatingActionButtonStyles.js +7 -0
  225. package/dist/components/molecules/HeroIntro/HeroIntro.d.ts +32 -0
  226. package/dist/components/molecules/HeroIntro/HeroIntro.d.ts.map +1 -0
  227. package/dist/components/molecules/HeroIntro/HeroIntro.js +24 -0
  228. package/dist/components/molecules/HeroIntro/heroIntroStyles.d.ts +30 -0
  229. package/dist/components/molecules/HeroIntro/heroIntroStyles.d.ts.map +1 -0
  230. package/dist/components/molecules/HeroIntro/heroIntroStyles.js +5 -0
  231. package/dist/components/molecules/IntakeForm/IntakeForm.d.ts +30 -0
  232. package/dist/components/molecules/IntakeForm/IntakeForm.d.ts.map +1 -0
  233. package/dist/components/molecules/IntakeForm/IntakeForm.js +137 -0
  234. package/dist/components/molecules/IntakeForm/intakeFormStyles.d.ts +3 -0
  235. package/dist/components/molecules/IntakeForm/intakeFormStyles.d.ts.map +1 -0
  236. package/dist/components/molecules/IntakeForm/intakeFormStyles.js +5 -0
  237. package/dist/components/molecules/NavList/NavList.d.ts +55 -0
  238. package/dist/components/molecules/NavList/NavList.d.ts.map +1 -0
  239. package/dist/components/molecules/NavList/NavList.js +103 -0
  240. package/dist/components/molecules/NavList/navListStyles.d.ts +15 -0
  241. package/dist/components/molecules/NavList/navListStyles.d.ts.map +1 -0
  242. package/dist/components/molecules/NavList/navListStyles.js +11 -0
  243. package/dist/components/molecules/PageHeader/PageHeader.d.ts +24 -0
  244. package/dist/components/molecules/PageHeader/PageHeader.d.ts.map +1 -0
  245. package/dist/components/molecules/PageHeader/PageHeader.js +43 -0
  246. package/dist/components/molecules/PageHeader/pageHeaderStyles.d.ts +9 -0
  247. package/dist/components/molecules/PageHeader/pageHeaderStyles.d.ts.map +1 -0
  248. package/dist/components/molecules/PageHeader/pageHeaderStyles.js +20 -0
  249. package/dist/components/molecules/PillGroup/PillGroup.d.ts +31 -0
  250. package/dist/components/molecules/PillGroup/PillGroup.d.ts.map +1 -0
  251. package/dist/components/molecules/PillGroup/PillGroup.js +53 -0
  252. package/dist/components/molecules/PillGroup/pillGroupStyles.d.ts +13 -0
  253. package/dist/components/molecules/PillGroup/pillGroupStyles.d.ts.map +1 -0
  254. package/dist/components/molecules/PillGroup/pillGroupStyles.js +7 -0
  255. package/dist/components/molecules/PromptBar/PromptBar.d.ts +33 -0
  256. package/dist/components/molecules/PromptBar/PromptBar.d.ts.map +1 -0
  257. package/dist/components/molecules/PromptBar/PromptBar.js +56 -0
  258. package/dist/components/molecules/PromptBar/promptBarStyles.d.ts +24 -0
  259. package/dist/components/molecules/PromptBar/promptBarStyles.d.ts.map +1 -0
  260. package/dist/components/molecules/PromptBar/promptBarStyles.js +6 -0
  261. package/dist/components/molecules/RadioGroup/RadioGroup.d.ts +34 -0
  262. package/dist/components/molecules/RadioGroup/RadioGroup.d.ts.map +1 -0
  263. package/dist/components/molecules/RadioGroup/RadioGroup.js +76 -0
  264. package/dist/components/molecules/RadioGroup/RadioGroupContext.d.ts +16 -0
  265. package/dist/components/molecules/RadioGroup/RadioGroupContext.d.ts.map +1 -0
  266. package/dist/components/molecules/RadioGroup/RadioGroupContext.js +23 -0
  267. package/dist/components/molecules/RadioGroup/RadioGroupItem.d.ts +12 -0
  268. package/dist/components/molecules/RadioGroup/RadioGroupItem.d.ts.map +1 -0
  269. package/dist/components/molecules/RadioGroup/RadioGroupItem.js +21 -0
  270. package/dist/components/molecules/RadioGroup/radioGroupStyles.d.ts +16 -0
  271. package/dist/components/molecules/RadioGroup/radioGroupStyles.d.ts.map +1 -0
  272. package/dist/components/molecules/RadioGroup/radioGroupStyles.js +15 -0
  273. package/dist/components/molecules/Search/Search.d.ts +24 -0
  274. package/dist/components/molecules/Search/Search.d.ts.map +1 -0
  275. package/dist/components/molecules/Search/Search.js +33 -0
  276. package/dist/components/molecules/Search/searchStyles.d.ts +10 -0
  277. package/dist/components/molecules/Search/searchStyles.d.ts.map +1 -0
  278. package/dist/components/molecules/Search/searchStyles.js +15 -0
  279. package/dist/components/molecules/SegmentedControl/SegmentedControl.d.ts +25 -0
  280. package/dist/components/molecules/SegmentedControl/SegmentedControl.d.ts.map +1 -0
  281. package/dist/components/molecules/SegmentedControl/SegmentedControl.js +36 -0
  282. package/dist/components/molecules/SegmentedControl/SegmentedControlContext.d.ts +16 -0
  283. package/dist/components/molecules/SegmentedControl/SegmentedControlContext.d.ts.map +1 -0
  284. package/dist/components/molecules/SegmentedControl/SegmentedControlContext.js +18 -0
  285. package/dist/components/molecules/SegmentedControl/SegmentedControlItem.d.ts +25 -0
  286. package/dist/components/molecules/SegmentedControl/SegmentedControlItem.d.ts.map +1 -0
  287. package/dist/components/molecules/SegmentedControl/SegmentedControlItem.js +55 -0
  288. package/dist/components/molecules/SegmentedControl/segmentedControlStyles.d.ts +31 -0
  289. package/dist/components/molecules/SegmentedControl/segmentedControlStyles.d.ts.map +1 -0
  290. package/dist/components/molecules/SegmentedControl/segmentedControlStyles.js +28 -0
  291. package/dist/components/molecules/Select/Select.d.ts +34 -0
  292. package/dist/components/molecules/Select/Select.d.ts.map +1 -0
  293. package/dist/components/molecules/Select/Select.js +161 -0
  294. package/dist/components/molecules/Select/selectMenuPosition.d.ts +11 -0
  295. package/dist/components/molecules/Select/selectMenuPosition.d.ts.map +1 -0
  296. package/dist/components/molecules/Select/selectMenuPosition.js +14 -0
  297. package/dist/components/molecules/Select/selectStyles.d.ts +21 -0
  298. package/dist/components/molecules/Select/selectStyles.d.ts.map +1 -0
  299. package/dist/components/molecules/Select/selectStyles.js +21 -0
  300. package/dist/components/molecules/SelectableCard/SelectableCard.d.ts +33 -0
  301. package/dist/components/molecules/SelectableCard/SelectableCard.d.ts.map +1 -0
  302. package/dist/components/molecules/SelectableCard/SelectableCard.js +84 -0
  303. package/dist/components/molecules/SelectableCard/selectableCardStyles.d.ts +14 -0
  304. package/dist/components/molecules/SelectableCard/selectableCardStyles.d.ts.map +1 -0
  305. package/dist/components/molecules/SelectableCard/selectableCardStyles.js +7 -0
  306. package/dist/components/molecules/Stat/Stat.d.ts +47 -0
  307. package/dist/components/molecules/Stat/Stat.d.ts.map +1 -0
  308. package/dist/components/molecules/Stat/Stat.js +76 -0
  309. package/dist/components/molecules/Stat/statStyles.d.ts +23 -0
  310. package/dist/components/molecules/Stat/statStyles.d.ts.map +1 -0
  311. package/dist/components/molecules/Stat/statStyles.js +37 -0
  312. package/dist/components/molecules/StepProgress/StepProgress.d.ts +21 -0
  313. package/dist/components/molecules/StepProgress/StepProgress.d.ts.map +1 -0
  314. package/dist/components/molecules/StepProgress/StepProgress.js +44 -0
  315. package/dist/components/molecules/StepProgress/stepProgressStyles.d.ts +7 -0
  316. package/dist/components/molecules/StepProgress/stepProgressStyles.d.ts.map +1 -0
  317. package/dist/components/molecules/StepProgress/stepProgressStyles.js +7 -0
  318. package/dist/components/molecules/TaskRows/TaskRows.d.ts +67 -0
  319. package/dist/components/molecules/TaskRows/TaskRows.d.ts.map +1 -0
  320. package/dist/components/molecules/TaskRows/TaskRows.js +164 -0
  321. package/dist/components/molecules/TaskRows/taskRowsStyles.d.ts +32 -0
  322. package/dist/components/molecules/TaskRows/taskRowsStyles.d.ts.map +1 -0
  323. package/dist/components/molecules/TaskRows/taskRowsStyles.js +16 -0
  324. package/dist/components/molecules/TextSequence/TextSequence.d.ts +47 -0
  325. package/dist/components/molecules/TextSequence/TextSequence.d.ts.map +1 -0
  326. package/dist/components/molecules/TextSequence/TextSequence.js +242 -0
  327. package/dist/components/molecules/TextSequence/textSequenceStyles.d.ts +10 -0
  328. package/dist/components/molecules/TextSequence/textSequenceStyles.d.ts.map +1 -0
  329. package/dist/components/molecules/TextSequence/textSequenceStyles.js +5 -0
  330. package/dist/components/organisms/Chart/Chart.d.ts +76 -0
  331. package/dist/components/organisms/Chart/Chart.d.ts.map +1 -0
  332. package/dist/components/organisms/Chart/Chart.js +152 -0
  333. package/dist/components/organisms/Chart/ChartCartesian.d.ts +54 -0
  334. package/dist/components/organisms/Chart/ChartCartesian.d.ts.map +1 -0
  335. package/dist/components/organisms/Chart/ChartCartesian.js +479 -0
  336. package/dist/components/organisms/Chart/ChartDistributionStrip.d.ts +24 -0
  337. package/dist/components/organisms/Chart/ChartDistributionStrip.d.ts.map +1 -0
  338. package/dist/components/organisms/Chart/ChartDistributionStrip.js +156 -0
  339. package/dist/components/organisms/Chart/ChartHeatmap.d.ts +24 -0
  340. package/dist/components/organisms/Chart/ChartHeatmap.d.ts.map +1 -0
  341. package/dist/components/organisms/Chart/ChartHeatmap.js +163 -0
  342. package/dist/components/organisms/Chart/ChartHoverTooltip.d.ts +13 -0
  343. package/dist/components/organisms/Chart/ChartHoverTooltip.d.ts.map +1 -0
  344. package/dist/components/organisms/Chart/ChartHoverTooltip.js +29 -0
  345. package/dist/components/organisms/Chart/ChartLegend.d.ts +13 -0
  346. package/dist/components/organisms/Chart/ChartLegend.d.ts.map +1 -0
  347. package/dist/components/organisms/Chart/ChartLegend.js +30 -0
  348. package/dist/components/organisms/Chart/ChartLoading.d.ts +12 -0
  349. package/dist/components/organisms/Chart/ChartLoading.d.ts.map +1 -0
  350. package/dist/components/organisms/Chart/ChartLoading.js +24 -0
  351. package/dist/components/organisms/Chart/ChartRankedBars.d.ts +18 -0
  352. package/dist/components/organisms/Chart/ChartRankedBars.d.ts.map +1 -0
  353. package/dist/components/organisms/Chart/ChartRankedBars.js +52 -0
  354. package/dist/components/organisms/Chart/ChartTooltipContent.d.ts +19 -0
  355. package/dist/components/organisms/Chart/ChartTooltipContent.d.ts.map +1 -0
  356. package/dist/components/organisms/Chart/ChartTooltipContent.js +36 -0
  357. package/dist/components/organisms/Chart/ChartUnitGrid.d.ts +17 -0
  358. package/dist/components/organisms/Chart/ChartUnitGrid.d.ts.map +1 -0
  359. package/dist/components/organisms/Chart/ChartUnitGrid.js +95 -0
  360. package/dist/components/organisms/Chart/chartCartesianContext.d.ts +50 -0
  361. package/dist/components/organisms/Chart/chartCartesianContext.d.ts.map +1 -0
  362. package/dist/components/organisms/Chart/chartCartesianContext.js +18 -0
  363. package/dist/components/organisms/Chart/chartCartesianGaps.d.ts +74 -0
  364. package/dist/components/organisms/Chart/chartCartesianGaps.d.ts.map +1 -0
  365. package/dist/components/organisms/Chart/chartCartesianGaps.js +92 -0
  366. package/dist/components/organisms/Chart/chartCartesianMotion.d.ts +11 -0
  367. package/dist/components/organisms/Chart/chartCartesianMotion.d.ts.map +1 -0
  368. package/dist/components/organisms/Chart/chartCartesianMotion.js +15 -0
  369. package/dist/components/organisms/Chart/chartExploration.d.ts +8 -0
  370. package/dist/components/organisms/Chart/chartExploration.d.ts.map +1 -0
  371. package/dist/components/organisms/Chart/chartExploration.js +31 -0
  372. package/dist/components/organisms/Chart/chartSegmentedBarMotion.d.ts +12 -0
  373. package/dist/components/organisms/Chart/chartSegmentedBarMotion.d.ts.map +1 -0
  374. package/dist/components/organisms/Chart/chartSegmentedBarMotion.js +9 -0
  375. package/dist/components/organisms/Chart/chartStyles.d.ts +93 -0
  376. package/dist/components/organisms/Chart/chartStyles.d.ts.map +1 -0
  377. package/dist/components/organisms/Chart/chartStyles.js +11 -0
  378. package/dist/components/organisms/Confetti/Confetti.d.ts +35 -0
  379. package/dist/components/organisms/Confetti/Confetti.d.ts.map +1 -0
  380. package/dist/components/organisms/Confetti/Confetti.js +96 -0
  381. package/dist/components/organisms/Confetti/confettiPhysics.d.ts +116 -0
  382. package/dist/components/organisms/Confetti/confettiPhysics.d.ts.map +1 -0
  383. package/dist/components/organisms/Confetti/confettiPhysics.js +121 -0
  384. package/dist/components/organisms/Confetti/confettiStyles.d.ts +3 -0
  385. package/dist/components/organisms/Confetti/confettiStyles.d.ts.map +1 -0
  386. package/dist/components/organisms/Confetti/confettiStyles.js +5 -0
  387. package/dist/components/organisms/Dialog/AlertDialog.d.ts +31 -0
  388. package/dist/components/organisms/Dialog/AlertDialog.d.ts.map +1 -0
  389. package/dist/components/organisms/Dialog/AlertDialog.js +80 -0
  390. package/dist/components/organisms/Dialog/Dialog.d.ts +54 -0
  391. package/dist/components/organisms/Dialog/Dialog.d.ts.map +1 -0
  392. package/dist/components/organisms/Dialog/Dialog.js +158 -0
  393. package/dist/components/organisms/Dialog/DialogContext.d.ts +22 -0
  394. package/dist/components/organisms/Dialog/DialogContext.d.ts.map +1 -0
  395. package/dist/components/organisms/Dialog/DialogContext.js +25 -0
  396. package/dist/components/organisms/Dialog/OverlayPanelHeader.d.ts +21 -0
  397. package/dist/components/organisms/Dialog/OverlayPanelHeader.d.ts.map +1 -0
  398. package/dist/components/organisms/Dialog/OverlayPanelHeader.js +50 -0
  399. package/dist/components/organisms/Dialog/dialogStyles.d.ts +66 -0
  400. package/dist/components/organisms/Dialog/dialogStyles.d.ts.map +1 -0
  401. package/dist/components/organisms/Dialog/dialogStyles.js +24 -0
  402. package/dist/components/organisms/FooterReveal/FooterReveal.d.ts +78 -0
  403. package/dist/components/organisms/FooterReveal/FooterReveal.d.ts.map +1 -0
  404. package/dist/components/organisms/FooterReveal/FooterReveal.js +208 -0
  405. package/dist/components/organisms/FooterReveal/FooterRevealRuled.d.ts +40 -0
  406. package/dist/components/organisms/FooterReveal/FooterRevealRuled.d.ts.map +1 -0
  407. package/dist/components/organisms/FooterReveal/FooterRevealRuled.js +120 -0
  408. package/dist/components/organisms/FooterReveal/footerRevealAt.d.ts +8 -0
  409. package/dist/components/organisms/FooterReveal/footerRevealAt.d.ts.map +1 -0
  410. package/dist/components/organisms/FooterReveal/footerRevealAt.js +7 -0
  411. package/dist/components/organisms/FooterReveal/footerRevealStyles.d.ts +142 -0
  412. package/dist/components/organisms/FooterReveal/footerRevealStyles.d.ts.map +1 -0
  413. package/dist/components/organisms/FooterReveal/footerRevealStyles.js +12 -0
  414. package/dist/components/organisms/FooterReveal/footerRevealWordmark.d.ts +37 -0
  415. package/dist/components/organisms/FooterReveal/footerRevealWordmark.d.ts.map +1 -0
  416. package/dist/components/organisms/FooterReveal/footerRevealWordmark.js +51 -0
  417. package/dist/components/organisms/HeroTileStack/HeroTileStack.d.ts +62 -0
  418. package/dist/components/organisms/HeroTileStack/HeroTileStack.d.ts.map +1 -0
  419. package/dist/components/organisms/HeroTileStack/HeroTileStack.js +257 -0
  420. package/dist/components/organisms/HeroTileStack/heroTileScatter.d.ts +120 -0
  421. package/dist/components/organisms/HeroTileStack/heroTileScatter.d.ts.map +1 -0
  422. package/dist/components/organisms/HeroTileStack/heroTileScatter.js +83 -0
  423. package/dist/components/organisms/HeroTileStack/heroTileStackStyles.d.ts +33 -0
  424. package/dist/components/organisms/HeroTileStack/heroTileStackStyles.d.ts.map +1 -0
  425. package/dist/components/organisms/HeroTileStack/heroTileStackStyles.js +11 -0
  426. package/dist/components/organisms/IntakeConfirmation/IntakeConfirmation.d.ts +33 -0
  427. package/dist/components/organisms/IntakeConfirmation/IntakeConfirmation.d.ts.map +1 -0
  428. package/dist/components/organisms/IntakeConfirmation/IntakeConfirmation.js +77 -0
  429. package/dist/components/organisms/IntakeConfirmation/intakeConfirmationStyles.d.ts +22 -0
  430. package/dist/components/organisms/IntakeConfirmation/intakeConfirmationStyles.d.ts.map +1 -0
  431. package/dist/components/organisms/IntakeConfirmation/intakeConfirmationStyles.js +25 -0
  432. package/dist/components/organisms/IntakeModal/IntakeModal.d.ts +33 -0
  433. package/dist/components/organisms/IntakeModal/IntakeModal.d.ts.map +1 -0
  434. package/dist/components/organisms/IntakeModal/IntakeModal.js +108 -0
  435. package/dist/components/organisms/IntakeModal/intakeModalStyles.d.ts +14 -0
  436. package/dist/components/organisms/IntakeModal/intakeModalStyles.d.ts.map +1 -0
  437. package/dist/components/organisms/IntakeModal/intakeModalStyles.js +7 -0
  438. package/dist/components/organisms/MoreMenu/MoreMenu.d.ts +28 -0
  439. package/dist/components/organisms/MoreMenu/MoreMenu.d.ts.map +1 -0
  440. package/dist/components/organisms/MoreMenu/MoreMenu.js +133 -0
  441. package/dist/components/organisms/MoreMenu/moreMenuStyles.d.ts +3 -0
  442. package/dist/components/organisms/MoreMenu/moreMenuStyles.d.ts.map +1 -0
  443. package/dist/components/organisms/MoreMenu/moreMenuStyles.js +5 -0
  444. package/dist/components/organisms/Panel/Panel.d.ts +40 -0
  445. package/dist/components/organisms/Panel/Panel.d.ts.map +1 -0
  446. package/dist/components/organisms/Panel/Panel.js +135 -0
  447. package/dist/components/organisms/Panel/PanelContext.d.ts +19 -0
  448. package/dist/components/organisms/Panel/PanelContext.d.ts.map +1 -0
  449. package/dist/components/organisms/Panel/PanelContext.js +25 -0
  450. package/dist/components/organisms/Panel/panelStyles.d.ts +17 -0
  451. package/dist/components/organisms/Panel/panelStyles.d.ts.map +1 -0
  452. package/dist/components/organisms/Panel/panelStyles.js +25 -0
  453. package/dist/components/organisms/ScrollHorizontal/ScrollHorizontal.d.ts +74 -0
  454. package/dist/components/organisms/ScrollHorizontal/ScrollHorizontal.d.ts.map +1 -0
  455. package/dist/components/organisms/ScrollHorizontal/ScrollHorizontal.js +163 -0
  456. package/dist/components/organisms/ScrollHorizontal/ScrollHorizontalIntro.d.ts +41 -0
  457. package/dist/components/organisms/ScrollHorizontal/ScrollHorizontalIntro.d.ts.map +1 -0
  458. package/dist/components/organisms/ScrollHorizontal/ScrollHorizontalIntro.js +40 -0
  459. package/dist/components/organisms/ScrollHorizontal/scrollHorizontalIntroContext.d.ts +3 -0
  460. package/dist/components/organisms/ScrollHorizontal/scrollHorizontalIntroContext.d.ts.map +1 -0
  461. package/dist/components/organisms/ScrollHorizontal/scrollHorizontalIntroContext.js +6 -0
  462. package/dist/components/organisms/ScrollHorizontal/scrollHorizontalMath.d.ts +167 -0
  463. package/dist/components/organisms/ScrollHorizontal/scrollHorizontalMath.d.ts.map +1 -0
  464. package/dist/components/organisms/ScrollHorizontal/scrollHorizontalMath.js +136 -0
  465. package/dist/components/organisms/ScrollHorizontal/scrollHorizontalStyles.d.ts +84 -0
  466. package/dist/components/organisms/ScrollHorizontal/scrollHorizontalStyles.d.ts.map +1 -0
  467. package/dist/components/organisms/ScrollHorizontal/scrollHorizontalStyles.js +79 -0
  468. package/dist/components/organisms/Sheet/Sheet.d.ts +44 -0
  469. package/dist/components/organisms/Sheet/Sheet.d.ts.map +1 -0
  470. package/dist/components/organisms/Sheet/Sheet.js +152 -0
  471. package/dist/components/organisms/Sheet/SheetContext.d.ts +20 -0
  472. package/dist/components/organisms/Sheet/SheetContext.d.ts.map +1 -0
  473. package/dist/components/organisms/Sheet/SheetContext.js +25 -0
  474. package/dist/components/organisms/Sheet/sheetStyles.d.ts +30 -0
  475. package/dist/components/organisms/Sheet/sheetStyles.d.ts.map +1 -0
  476. package/dist/components/organisms/Sheet/sheetStyles.js +72 -0
  477. package/dist/components/organisms/SiteNav/SiteNav.d.ts +170 -0
  478. package/dist/components/organisms/SiteNav/SiteNav.d.ts.map +1 -0
  479. package/dist/components/organisms/SiteNav/SiteNav.js +536 -0
  480. package/dist/components/organisms/SiteNav/siteNavStyles.d.ts +128 -0
  481. package/dist/components/organisms/SiteNav/siteNavStyles.d.ts.map +1 -0
  482. package/dist/components/organisms/SiteNav/siteNavStyles.js +25 -0
  483. package/dist/components/organisms/SiteNav/useSiteNavCollapse.d.ts +18 -0
  484. package/dist/components/organisms/SiteNav/useSiteNavCollapse.d.ts.map +1 -0
  485. package/dist/components/organisms/SiteNav/useSiteNavCollapse.js +34 -0
  486. package/dist/components/organisms/Tab/Tab.d.ts +27 -0
  487. package/dist/components/organisms/Tab/Tab.d.ts.map +1 -0
  488. package/dist/components/organisms/Tab/Tab.js +223 -0
  489. package/dist/components/organisms/Tab/tabOverflow.d.ts +14 -0
  490. package/dist/components/organisms/Tab/tabOverflow.d.ts.map +1 -0
  491. package/dist/components/organisms/Tab/tabOverflow.js +26 -0
  492. package/dist/components/organisms/Tab/tabStyles.d.ts +16 -0
  493. package/dist/components/organisms/Tab/tabStyles.d.ts.map +1 -0
  494. package/dist/components/organisms/Tab/tabStyles.js +17 -0
  495. package/dist/components/organisms/Toast/Toast.d.ts +17 -0
  496. package/dist/components/organisms/Toast/Toast.d.ts.map +1 -0
  497. package/dist/components/organisms/Toast/Toast.js +150 -0
  498. package/dist/components/organisms/Toast/toastStore.d.ts +41 -0
  499. package/dist/components/organisms/Toast/toastStore.d.ts.map +1 -0
  500. package/dist/components/organisms/Toast/toastStore.js +60 -0
  501. package/dist/components/organisms/Toast/toastStyles.d.ts +11 -0
  502. package/dist/components/organisms/Toast/toastStyles.d.ts.map +1 -0
  503. package/dist/components/organisms/Toast/toastStyles.js +21 -0
  504. package/dist/files/geist-cyrillic-ext-wght-normal.woff2 +0 -0
  505. package/dist/files/geist-cyrillic-wght-normal.woff2 +0 -0
  506. package/dist/files/geist-latin-ext-wght-normal.woff2 +0 -0
  507. package/dist/files/geist-latin-wght-normal.woff2 +0 -0
  508. package/dist/files/geist-mono-cyrillic-ext-wght-normal.woff2 +0 -0
  509. package/dist/files/geist-mono-cyrillic-wght-normal.woff2 +0 -0
  510. package/dist/files/geist-mono-latin-ext-wght-normal.woff2 +0 -0
  511. package/dist/files/geist-mono-latin-wght-normal.woff2 +0 -0
  512. package/dist/files/geist-mono-symbols2-wght-normal.woff2 +0 -0
  513. package/dist/files/geist-mono-vietnamese-wght-normal.woff2 +0 -0
  514. package/dist/files/geist-vietnamese-wght-normal.woff2 +0 -0
  515. package/dist/fonts.css +124 -0
  516. package/dist/grid.css +214 -0
  517. package/dist/index.d.ts +73 -0
  518. package/dist/index.d.ts.map +1 -0
  519. package/dist/index.js +122 -0
  520. package/dist/lib/GridOverlay.d.ts +23 -0
  521. package/dist/lib/GridOverlay.d.ts.map +1 -0
  522. package/dist/lib/GridOverlay.js +78 -0
  523. package/dist/lib/backgroundPatterns.d.ts +27 -0
  524. package/dist/lib/backgroundPatterns.d.ts.map +1 -0
  525. package/dist/lib/backgroundPatterns.js +21 -0
  526. package/dist/lib/chartSampleData.d.ts +20 -0
  527. package/dist/lib/chartSampleData.d.ts.map +1 -0
  528. package/dist/lib/chartTheme.d.ts +367 -0
  529. package/dist/lib/chartTheme.d.ts.map +1 -0
  530. package/dist/lib/chartTheme.js +329 -0
  531. package/dist/lib/clusterScale.d.ts +48 -0
  532. package/dist/lib/clusterScale.d.ts.map +1 -0
  533. package/dist/lib/clusterScale.js +48 -0
  534. package/dist/lib/cn.d.ts +3 -0
  535. package/dist/lib/cn.d.ts.map +1 -0
  536. package/dist/lib/cn.js +7 -0
  537. package/dist/lib/compositionAudit.d.ts +59 -0
  538. package/dist/lib/compositionAudit.d.ts.map +1 -0
  539. package/dist/lib/dialogOverlay.d.ts +7 -0
  540. package/dist/lib/dialogOverlay.d.ts.map +1 -0
  541. package/dist/lib/dialogOverlay.js +41 -0
  542. package/dist/lib/displayCascade.d.ts +27 -0
  543. package/dist/lib/displayCascade.d.ts.map +1 -0
  544. package/dist/lib/gridOverlayUtils.d.ts +34 -0
  545. package/dist/lib/gridOverlayUtils.d.ts.map +1 -0
  546. package/dist/lib/gridOverlayUtils.js +43 -0
  547. package/dist/lib/insetWell.d.ts +19 -0
  548. package/dist/lib/insetWell.d.ts.map +1 -0
  549. package/dist/lib/insetWell.js +5 -0
  550. package/dist/lib/motion.d.ts +81 -0
  551. package/dist/lib/motion.d.ts.map +1 -0
  552. package/dist/lib/motion.js +119 -0
  553. package/dist/lib/segmentedControl.d.ts +9 -0
  554. package/dist/lib/segmentedControl.d.ts.map +1 -0
  555. package/dist/lib/segmentedControl.js +6 -0
  556. package/dist/lib/semanticVariants.d.ts +5 -0
  557. package/dist/lib/semanticVariants.d.ts.map +1 -0
  558. package/dist/lib/shadows.d.ts +17 -0
  559. package/dist/lib/shadows.d.ts.map +1 -0
  560. package/dist/lib/storyCopySource.d.ts +16 -0
  561. package/dist/lib/storyCopySource.d.ts.map +1 -0
  562. package/dist/lib/tableLayout/index.d.ts +4 -0
  563. package/dist/lib/tableLayout/index.d.ts.map +1 -0
  564. package/dist/lib/tableLayout/tableLayout.d.ts +24 -0
  565. package/dist/lib/tableLayout/tableLayout.d.ts.map +1 -0
  566. package/dist/lib/tableLayout/tableMeasurer.d.ts +21 -0
  567. package/dist/lib/tableLayout/tableMeasurer.d.ts.map +1 -0
  568. package/dist/lib/tableLayout/useTableLayout.d.ts +6 -0
  569. package/dist/lib/tableLayout/useTableLayout.d.ts.map +1 -0
  570. package/dist/lib/typography.d.ts +93 -0
  571. package/dist/lib/typography.d.ts.map +1 -0
  572. package/dist/lib/typography.js +170 -0
  573. package/dist/lib/useScrollThreshold.d.ts +22 -0
  574. package/dist/lib/useScrollThreshold.d.ts.map +1 -0
  575. package/dist/lib/useScrollThreshold.js +29 -0
  576. package/dist/lib/viewports.d.ts +120 -0
  577. package/dist/lib/viewports.d.ts.map +1 -0
  578. package/dist/motion.css +73 -0
  579. package/dist/patterns.css +37 -0
  580. package/dist/scrollFade.css +380 -0
  581. package/dist/shape.css +8 -0
  582. package/dist/sources.css +70 -0
  583. package/dist/stateColors.css +73 -0
  584. package/dist/styles.css +2 -0
  585. package/dist/theme.css +200 -0
  586. package/dist/typography.css +224 -0
  587. package/docs/README.md +27 -0
  588. package/docs/component-contracts.md +27 -0
  589. package/docs/components.md +61 -0
  590. package/docs/consumer-agents.md +34 -0
  591. package/docs/exports.json +803 -0
  592. package/docs/patterns/components-avatar--dropdown-row.tsx +20 -0
  593. package/docs/patterns/components-badge--with-avatar.tsx +28 -0
  594. package/docs/patterns/components-button-button--destructive-action.tsx +7 -0
  595. package/docs/patterns/components-button-button--ghost-action.tsx +7 -0
  596. package/docs/patterns/components-button-button--inverse-action.tsx +7 -0
  597. package/docs/patterns/components-button-button--link-render.tsx +14 -0
  598. package/docs/patterns/components-button-button--multi-state-badge.tsx +16 -0
  599. package/docs/patterns/components-button-button--outline-mono.tsx +10 -0
  600. package/docs/patterns/components-button-button--primary-action.tsx +7 -0
  601. package/docs/patterns/components-button-button--row-hug.tsx +15 -0
  602. package/docs/patterns/components-button-button--row-layout.tsx +14 -0
  603. package/docs/patterns/components-button-button--secondary-action.tsx +7 -0
  604. package/docs/patterns/components-button-button--suggestion-pills.tsx +17 -0
  605. package/docs/patterns/components-button-button--with-count.tsx +9 -0
  606. package/docs/patterns/components-button-button--with-icon.tsx +22 -0
  607. package/docs/patterns/components-button-floatingactionbutton--vertical-actions.tsx +22 -0
  608. package/docs/patterns/components-calembed--pattern-skip-in-footer.tsx +25 -0
  609. package/docs/patterns/components-card-card--body-slot-occupancy-history.tsx +44 -0
  610. package/docs/patterns/components-card-card--headerless-media.tsx +23 -0
  611. package/docs/patterns/components-card-card--outlined-layout.tsx +16 -0
  612. package/docs/patterns/components-card-card--pinned-height.tsx +39 -0
  613. package/docs/patterns/components-card-selectablecard--selectable-cards-pattern.tsx +48 -0
  614. package/docs/patterns/components-chart--audience-activity-heatmap.tsx +26 -0
  615. package/docs/patterns/components-chart--cartesian-no-data-gaps.tsx +25 -0
  616. package/docs/patterns/components-chart--occupancy-history-in-card.tsx +44 -0
  617. package/docs/patterns/components-chart--occupancy-in-card.tsx +49 -0
  618. package/docs/patterns/components-chart--post-reach-distribution.tsx +21 -0
  619. package/docs/patterns/components-chart--ranked-audience-breakdown.tsx +16 -0
  620. package/docs/patterns/components-chart--unit-grid-composition.tsx +22 -0
  621. package/docs/patterns/components-chatqa--pattern-qa-with-reply.tsx +25 -0
  622. package/docs/patterns/components-checkbox-checkbox--default.tsx +17 -0
  623. package/docs/patterns/components-checkbox-checkbox--with-description.tsx +18 -0
  624. package/docs/patterns/components-checkbox-checkboxgroup--default.tsx +21 -0
  625. package/docs/patterns/components-dialog--alert-dialog-destructive.tsx +28 -0
  626. package/docs/patterns/components-dialog--default-dialog.tsx +39 -0
  627. package/docs/patterns/components-dialog--form-dialog.tsx +41 -0
  628. package/docs/patterns/components-displaycontrols--page-utilities.tsx +36 -0
  629. package/docs/patterns/components-field--horizontal-input.tsx +9 -0
  630. package/docs/patterns/components-field--horizontal-text-area.tsx +9 -0
  631. package/docs/patterns/components-field--multi-control.tsx +10 -0
  632. package/docs/patterns/components-footerreveal--marketing-hero-pattern.tsx +94 -0
  633. package/docs/patterns/components-footerreveal--marketing-hero-ruled-pattern.tsx +121 -0
  634. package/docs/patterns/components-footerreveal--marketing-hero-with-gallery-intro.tsx +114 -0
  635. package/docs/patterns/components-footerreveal--marketing-page-pattern.tsx +76 -0
  636. package/docs/patterns/components-footerreveal--ruled-grid-footer-pattern.tsx +42 -0
  637. package/docs/patterns/components-footerreveal--sequenced-marketing-hero.tsx +123 -0
  638. package/docs/patterns/components-herointro--two-line-intro.tsx +15 -0
  639. package/docs/patterns/components-herotilestack--marketing-hero-pattern.tsx +72 -0
  640. package/docs/patterns/components-herotilestack--marketing-hero-text-sequence.tsx +84 -0
  641. package/docs/patterns/components-herotilestack--marketing-hero-with-gallery-intro.tsx +92 -0
  642. package/docs/patterns/components-intakeconfirmation--booked-pattern.tsx +20 -0
  643. package/docs/patterns/components-intakeconfirmation--emailed-pattern.tsx +13 -0
  644. package/docs/patterns/components-intakeform--about-you-pattern.tsx +12 -0
  645. package/docs/patterns/components-intakemodal--intake-modal-pattern.tsx +32 -0
  646. package/docs/patterns/components-kbd--command-row.tsx +13 -0
  647. package/docs/patterns/components-kbd--numbered-choices.tsx +53 -0
  648. package/docs/patterns/components-kbd--shortcut.tsx +11 -0
  649. package/docs/patterns/components-moremenu--action-menu.tsx +36 -0
  650. package/docs/patterns/components-moremenu--in-card-header.tsx +72 -0
  651. package/docs/patterns/components-navlist--side-nav-settings.tsx +58 -0
  652. package/docs/patterns/components-pageheader--app-header-pattern.tsx +40 -0
  653. package/docs/patterns/components-pageheader--page-section-header.tsx +20 -0
  654. package/docs/patterns/components-pageheader--toolbar-header.tsx +37 -0
  655. package/docs/patterns/components-panel--end-detail-rail.tsx +65 -0
  656. package/docs/patterns/components-pillgroup--pill-group-pattern.tsx +22 -0
  657. package/docs/patterns/components-promptbar--pattern-marketing-composer.tsx +37 -0
  658. package/docs/patterns/components-promptbar--pattern-prompt-bar.tsx +20 -0
  659. package/docs/patterns/components-radio-radiogroup--default.tsx +21 -0
  660. package/docs/patterns/components-scrollhorizontal--project-gallery-pattern.tsx +22 -0
  661. package/docs/patterns/components-scrollhorizontal--with-intro.tsx +42 -0
  662. package/docs/patterns/components-sheet--bottom-sheet.tsx +40 -0
  663. package/docs/patterns/components-sheet--end-sheet.tsx +33 -0
  664. package/docs/patterns/components-sitenav--brand-and-cta.tsx +17 -0
  665. package/docs/patterns/components-sitenav--centered-links.tsx +20 -0
  666. package/docs/patterns/components-sitenav--compact.tsx +24 -0
  667. package/docs/patterns/components-sitenav--marketing-header.tsx +80 -0
  668. package/docs/patterns/components-sitenav--mega-menu.tsx +51 -0
  669. package/docs/patterns/components-stat--insights-row.tsx +28 -0
  670. package/docs/patterns/components-stepprogress--step-progress-pattern.tsx +9 -0
  671. package/docs/patterns/components-switch--default.tsx +17 -0
  672. package/docs/patterns/components-switch--settings-row.tsx +19 -0
  673. package/docs/patterns/components-tab--settings-pages.tsx +21 -0
  674. package/docs/patterns/components-taskrows--action-details.tsx +40 -0
  675. package/docs/patterns/components-taskrows--capsules.tsx +14 -0
  676. package/docs/patterns/components-taskrows--card-with-status-rows.tsx +30 -0
  677. package/docs/patterns/components-taskrows--controlled-expand.tsx +31 -0
  678. package/docs/patterns/components-taskrows--custom-slots.tsx +21 -0
  679. package/docs/patterns/components-taskrows--status-list.tsx +23 -0
  680. package/docs/patterns/components-taskrows--tag-chips.tsx +19 -0
  681. package/docs/patterns/components-textlink--external-destination.tsx +9 -0
  682. package/docs/patterns/components-textlink--inline-prose.tsx +9 -0
  683. package/docs/patterns/components-textlink--supporting-copy.tsx +9 -0
  684. package/docs/patterns/components-textsequence--default.tsx +16 -0
  685. package/docs/patterns/components-textsequence--reduced-motion.tsx +16 -0
  686. package/docs/patterns/components-textsequence--shapes.tsx +40 -0
  687. package/docs/patterns/components-toast--stacked-notifications.tsx +31 -0
  688. package/docs/patterns/components-tooltip--controlled.tsx +20 -0
  689. package/docs/patterns/components-tooltip--disabled-control.tsx +20 -0
  690. package/docs/patterns/components-tooltip--icon-action.tsx +21 -0
  691. package/docs/patterns/components-tooltip--keyboard-shortcut.tsx +17 -0
  692. package/docs/patterns/components-tooltip--placement.tsx +12 -0
  693. package/docs/patterns/foundations-scroll-fade--horizontal-rail.tsx +24 -0
  694. package/docs/patterns/foundations-scroll-fade--overflowing-list.tsx +25 -0
  695. package/docs/patterns/guides-chart-explorations--comparison-gallery.tsx +78 -0
  696. package/docs/patterns/guides-overlay-flows--notification-preferences.tsx +140 -0
  697. package/docs/patterns/guides-profile-typography--editorial-profile.tsx +81 -0
  698. package/docs/patterns/index.json +1006 -0
  699. package/docs/patterns/sites-pitchkit-account-settings--account-settings-owner.tsx +265 -0
  700. package/docs/patterns/sites-pitchkit-creator-identity--creator-identity-owner-settings.tsx +154 -0
  701. package/docs/patterns/sites-pitchkit-creator-identity--creator-identity-public.tsx +96 -0
  702. package/docs/patterns/sites-pitchkit-insights-and-kit--creator-insights-loading.tsx +1006 -0
  703. package/docs/patterns/sites-pitchkit-insights-and-kit--creator-insights.tsx +1031 -0
  704. package/docs/patterns/sites-pitchkit-insights-and-kit--insufficient-audience-data.tsx +1015 -0
  705. package/docs/patterns/sites-pitchkit-insights-and-kit--insufficient-reach-and-audience-data.tsx +1017 -0
  706. package/docs/patterns/sites-pitchkit-insights-and-kit--insufficient-reach-data.tsx +1033 -0
  707. package/docs/patterns/sites-pitchkit-insights-and-kit--owner-pitch-kit.tsx +838 -0
  708. package/docs/patterns/sites-pitchkit-insights-and-kit--shareable-pitch-kit.tsx +608 -0
  709. package/docs/patterns/sites-pitchkit-intro--intro-owner.tsx +161 -0
  710. package/docs/patterns/sites-pitchkit-intro--intro-public.tsx +111 -0
  711. package/docs/patterns/sites-pitchkit-past-brands--past-brands-owner.tsx +611 -0
  712. package/docs/patterns/sites-pitchkit-past-brands--past-brands-public.tsx +299 -0
  713. package/docs/patterns/sites-pitchkit-theme-picker--theme-picker-owner.tsx +832 -0
  714. package/docs/patterns/sites-whatmatters-intake--start-a-project-pattern.tsx +234 -0
  715. package/docs/patterns/sites-whatmatters-marketing-landing--marketing-landing.tsx +87 -0
  716. package/docs/patterns/sites-whatmatters-prompt-chat--landing-to-chat.tsx +899 -0
  717. package/docs/patterns/sites-whatmatters-rfp-submitted--rfp-submitted.tsx +302 -0
  718. package/package.json +123 -0
  719. package/public/rive/CREDITS.md +13 -0
  720. package/public/rive/interactive-icon-set.riv +0 -0
@@ -0,0 +1,1006 @@
1
+ // @thewhatmatters/wmds@0.2.0 · Pattern — creator Insights (loading)
2
+ // Storybook: Sites/PitchKit/Insights and kit → Pattern — creator Insights (loading) (?path=/story/sites-pitchkit-insights-and-kit--creator-insights-loading)
3
+ // Show code — copy verbatim and keep this header; upgrades find pasted patterns by it.
4
+
5
+ import { useLayoutEffect, useRef, useState, type CSSProperties } from "react";
6
+ import {
7
+ AlertDialog,
8
+ Avatar,
9
+ Badge,
10
+ Button,
11
+ ButtonIcon,
12
+ Card,
13
+ Chart,
14
+ Chip,
15
+ Dialog,
16
+ Dropdown,
17
+ MoreMenu,
18
+ PageHeader,
19
+ SegmentedControl,
20
+ Skeleton,
21
+ Stat,
22
+ TextLink,
23
+ Toaster,
24
+ cardSubtitleClasses,
25
+ cardTitleClasses,
26
+ chartSeriesConfigFromKeys,
27
+ toast,
28
+ type ChartCartesianPoint,
29
+ type ChartRankedBarItem,
30
+ } from "@thewhatmatters/wmds";
31
+ import { EyeOff } from "lucide-react";
32
+
33
+ const reachConfig = chartSeriesConfigFromKeys([
34
+ { key: "typical", label: "Typical reach" },
35
+ { key: "reach", label: "Daily reach" },
36
+ ]);
37
+
38
+ const compactNumber = new Intl.NumberFormat("en", {
39
+ notation: "compact",
40
+ maximumFractionDigits: 1,
41
+ });
42
+
43
+ const proofSkeletonCount = 6;
44
+ const audienceSkeletonSections = [
45
+ { titleWidth: 72, bars: [100, 82, 64] },
46
+ { titleWidth: 56, bars: [92, 74, 58] },
47
+ { titleWidth: 40, bars: [88, 70, 52] },
48
+ { titleWidth: 60, bars: [96, 68, 44] },
49
+ ];
50
+
51
+
52
+ function copyShareKitUrl(handle: string) {
53
+ const path = `/k/${handle}`;
54
+ void navigator.clipboard.writeText(path);
55
+ toast.add({
56
+ title: "Kit URL copied",
57
+ description: path,
58
+ tone: "success",
59
+ });
60
+ }
61
+
62
+ function AccountSettingsDialog({
63
+ identity,
64
+ open,
65
+ onOpenChange,
66
+ }: {
67
+ identity: PitchKitCreatorIdentity;
68
+ open: boolean;
69
+ onOpenChange: (open: boolean) => void;
70
+ }) {
71
+ return (
72
+ <Dialog open={open} onOpenChange={onOpenChange}>
73
+ <Dialog.Content size="md" title="Account settings">
74
+ <div className="flex w-full min-w-0 flex-col gap-4">
75
+ <Card variant="outlined" shape="rounded" bodyTerminal className="col-span-full">
76
+ <Card.Header
77
+ start={<h2 className={cardTitleClasses}>Connected Instagram</h2>}
78
+ end={
79
+ identity.connected ? (
80
+ <Badge variant="success" emphasis="muted" size="sm">
81
+ Connected
82
+ </Badge>
83
+ ) : null
84
+ }
85
+ />
86
+ <Card.Body>
87
+ <div className="flex min-w-0 flex-col gap-4 px-3.5 py-[16px]">
88
+ <CreatorIdentityStrip
89
+ identity={identity}
90
+ nameAs="p"
91
+ showProfessionalChip
92
+ />
93
+ {identity.lastSyncedLabel != null ? (
94
+ <p className="type-supporting text-muted text-muted">
95
+ Last synced {identity.lastSyncedLabel}
96
+ </p>
97
+ ) : null}
98
+ </div>
99
+ </Card.Body>
100
+ </Card>
101
+ </div>
102
+ </Dialog.Content>
103
+ </Dialog>
104
+ );
105
+ }
106
+
107
+ function OwnerAccountMenu({ identity }: { identity: PitchKitCreatorIdentity }) {
108
+ const [menuOpen, setMenuOpen] = useState(false);
109
+ const [settingsOpen, setSettingsOpen] = useState(false);
110
+ const [deleteOpen, setDeleteOpen] = useState(false);
111
+
112
+ function handleAction(actionId: string) {
113
+ setMenuOpen(false);
114
+ if (actionId === "settings") {
115
+ setSettingsOpen(true);
116
+ return;
117
+ }
118
+ if (actionId === "share") {
119
+ copyShareKitUrl(identity.handle);
120
+ return;
121
+ }
122
+ if (actionId === "delete") {
123
+ setDeleteOpen(true);
124
+ }
125
+ }
126
+
127
+ return (
128
+ <>
129
+ <div className="relative">
130
+ <Button
131
+ type="button"
132
+ role="ghost"
133
+ size="sm"
134
+ aria-label="My account"
135
+ aria-haspopup="menu"
136
+ aria-expanded={menuOpen}
137
+ className="size-9 min-h-9 gap-0 px-0 py-0 focus-visible:ring-offset-0"
138
+ onClick={() => setMenuOpen((open) => !open)}
139
+ >
140
+ <Avatar
141
+ name={identity.displayName ?? identity.handle}
142
+ src={identity.profilePictureUrl}
143
+ size="md"
144
+ />
145
+ </Button>
146
+ {menuOpen ? (
147
+ <Dropdown.Menu
148
+ role="menu"
149
+ aria-label="My account"
150
+ className="absolute end-0 top-full mt-1 min-w-56"
151
+ >
152
+ <li role="presentation">
153
+ <p className="type-supporting font-medium uppercase tracking-wider text-muted px-3.5 py-2">My account</p>
154
+ </li>
155
+ <li role="presentation">
156
+ <Dropdown.Item role="menuitem" truncate={false} onClick={() => handleAction("settings")}>
157
+ Account settings
158
+ </Dropdown.Item>
159
+ </li>
160
+ <li role="presentation">
161
+ <Dropdown.Item role="menuitem" truncate={false} onClick={() => handleAction("share")}>
162
+ Share kit
163
+ </Dropdown.Item>
164
+ </li>
165
+ <li role="separator" className="mx-1.5 my-0.5 border-0 border-t border-border" />
166
+ <li role="presentation">
167
+ <Dropdown.Item role="menuitem" truncate={false} onClick={() => handleAction("signout")}>
168
+ Sign out
169
+ </Dropdown.Item>
170
+ </li>
171
+ <li role="presentation">
172
+ <Dropdown.Item role="menuitem" truncate={false} onClick={() => handleAction("disconnect")}>
173
+ Disconnect
174
+ </Dropdown.Item>
175
+ </li>
176
+ <li role="presentation">
177
+ <Dropdown.Item role="menuitem" truncate={false} onClick={() => handleAction("delete")}>Delete</Dropdown.Item>
178
+ </li>
179
+ </Dropdown.Menu>
180
+ ) : null}
181
+ </div>
182
+ <AccountSettingsDialog
183
+ identity={identity}
184
+ open={settingsOpen}
185
+ onOpenChange={setSettingsOpen}
186
+ />
187
+ <AlertDialog
188
+ open={deleteOpen}
189
+ onOpenChange={setDeleteOpen}
190
+ title="Delete your Pitchkit account?"
191
+ description="This permanently deletes your kit, stored media copies, and connection. Your Instagram account is not deleted. This cannot be undone."
192
+ cancelLabel="Cancel"
193
+ confirmLabel="Delete account"
194
+ confirmRole="destructive"
195
+ onConfirm={() => setDeleteOpen(false)}
196
+ />
197
+ </>
198
+ );
199
+ }
200
+
201
+ function PitchKitPageFooter() {
202
+ return (
203
+ <div className="band pb-6 pt-10">
204
+ <footer className="col-span-full flex items-center justify-center gap-4">
205
+ <TextLink href="/privacy">Privacy</TextLink>
206
+ <TextLink href="mailto:hello@whatmatters.com">Support</TextLink>
207
+ </footer>
208
+ </div>
209
+ );
210
+ }
211
+
212
+
213
+
214
+ export interface PitchKitCreatorIdentity {
215
+ displayName?: string;
216
+ /** Without the @ — shown as @handle, shared as /k/[handle]. */
217
+ handle: string;
218
+ profilePictureUrl?: string;
219
+ followersCount?: number;
220
+ professionalAccount?: "Business" | "Creator";
221
+ connected?: boolean;
222
+ lastSyncedLabel?: string;
223
+ }
224
+
225
+ function CreatorIdentityStrip({
226
+ identity,
227
+ nameAs = "h1",
228
+ showProfessionalChip = false,
229
+ }: {
230
+ identity: PitchKitCreatorIdentity;
231
+ nameAs?: "h1" | "p";
232
+ showProfessionalChip?: boolean;
233
+ }) {
234
+ const NameTag = nameAs;
235
+ const avatarName = identity.displayName ?? identity.handle;
236
+ const handleLabel = `@${identity.handle}`;
237
+ const followerLabel =
238
+ identity.followersCount == null
239
+ ? null
240
+ : `${compactNumber.format(identity.followersCount)} followers`;
241
+ const meta = [handleLabel, followerLabel].filter(Boolean).join(" · ");
242
+ const showTitleRow =
243
+ identity.displayName != null ||
244
+ (showProfessionalChip && identity.professionalAccount != null);
245
+
246
+ return (
247
+ <div className="flex flex-wrap items-center gap-4">
248
+ <Avatar
249
+ name={avatarName}
250
+ src={identity.profilePictureUrl}
251
+ size="lg"
252
+ />
253
+ <div className="flex min-w-0 flex-col gap-1">
254
+ {showTitleRow ? (
255
+ <div className="flex flex-wrap items-center gap-2">
256
+ {identity.displayName != null ? (
257
+ <NameTag className="type-heading-2 text-fg">
258
+ {identity.displayName}
259
+ </NameTag>
260
+ ) : null}
261
+ {showProfessionalChip && identity.professionalAccount != null ? (
262
+ <Chip readOnly size="sm">
263
+ {identity.professionalAccount}
264
+ </Chip>
265
+ ) : null}
266
+ </div>
267
+ ) : null}
268
+ <p className="type-body text-fg text-muted">{meta}</p>
269
+ </div>
270
+ </div>
271
+ );
272
+ }
273
+
274
+
275
+ export interface PitchKitPost {
276
+ id: string;
277
+ publishedAt: string;
278
+ imageUrl: string;
279
+ imageAlt: string;
280
+ saves: number;
281
+ reach: number;
282
+ likes: number;
283
+ comments: number;
284
+ }
285
+
286
+ export interface PitchKitContact {
287
+ email: string;
288
+ websiteHref: string;
289
+ websiteLabel: string;
290
+ location: string;
291
+ }
292
+
293
+ /** "insufficient" when the 30-day reach series cannot be plotted. */
294
+ export type PitchKitReachState = "resolved" | "insufficient";
295
+
296
+ export interface PitchKitPageData {
297
+ identity: PitchKitCreatorIdentity;
298
+ intro: string;
299
+ posts: PitchKitPost[];
300
+ contact: PitchKitContact;
301
+ brands: PitchKitPastBrand[];
302
+ countries: ChartRankedBarItem[];
303
+ reachData: ChartCartesianPoint[];
304
+ }
305
+
306
+
307
+ export interface PitchKitPastBrand {
308
+ id: string;
309
+ name: string;
310
+ /** Curated mark key — missing or unknown keys use a letter Avatar. */
311
+ logo_key?: string;
312
+ result_label?: string;
313
+ }
314
+
315
+ const PITCHKIT_BRAND_RESULT_MAX = 24;
316
+ const PITCHKIT_BRAND_LOGO_LETTER = "letter";
317
+
318
+ const pitchKitBrandLogoKeys = [
319
+ "nike", "adidas", "apple", "google", "meta", "amazon", "spotify", "netflix",
320
+ "sephora", "glossier", "nordstrom", "target", "walmart", "starbucks",
321
+ "coca-cola", "pepsi", "samsung", "microsoft", "adobe", "shopify",
322
+ "uber", "airbnb", "disney", "lululemon", "reebok", "puma",
323
+ "dior", "chanel", "bmw", "ford", "chase", "visa",
324
+ ];
325
+
326
+ const pastBrandLogoKeySet = new Set(pitchKitBrandLogoKeys);
327
+
328
+ function resolvePastBrandLogoKey(logoKey: string | null | undefined) {
329
+ if (logoKey == null || logoKey === "" || logoKey === PITCHKIT_BRAND_LOGO_LETTER) {
330
+ return undefined;
331
+ }
332
+ return pastBrandLogoKeySet.has(logoKey) ? logoKey : undefined;
333
+ }
334
+
335
+ function pastBrandLogoMonogram(logoKey: string) {
336
+ const parts = logoKey.split("-");
337
+ if (parts.length > 1) {
338
+ return parts.map((part) => part.charAt(0).toUpperCase()).join("").slice(0, 2);
339
+ }
340
+ return logoKey.slice(0, 1).toUpperCase();
341
+ }
342
+
343
+ function normalizePastBrandResult(value: string | null | undefined) {
344
+ const trimmed = value?.trim() ?? "";
345
+ if (trimmed.length === 0) return undefined;
346
+ return trimmed.slice(0, PITCHKIT_BRAND_RESULT_MAX);
347
+ }
348
+
349
+ function BrandMark({ name, logoKey }: { name: string; logoKey?: string }) {
350
+ const resolved = resolvePastBrandLogoKey(logoKey);
351
+ if (resolved == null) {
352
+ return <Avatar name={name} size="sm" />;
353
+ }
354
+
355
+ return (
356
+ <span className="flex size-6 shrink-0 items-center justify-center rounded-full bg-fg type-supporting text-muted font-medium uppercase leading-none text-bg" role="img" aria-label={name}>
357
+ <span aria-hidden>{pastBrandLogoMonogram(resolved)}</span>
358
+ </span>
359
+ );
360
+ }
361
+
362
+ function BrandResultChip({ label }: { label?: string }) {
363
+ const result = normalizePastBrandResult(label);
364
+ if (result == null) return null;
365
+ return <Chip readOnly size="sm">{result}</Chip>;
366
+ }
367
+
368
+ function BrandLockup({ brand }: { brand: PitchKitPastBrand }) {
369
+ return (
370
+ <div className="flex min-w-0 items-center gap-3">
371
+ <BrandMark name={brand.name} logoKey={brand.logo_key} />
372
+ <h3 className="type-label text-fg">{brand.name}</h3>
373
+ <BrandResultChip label={brand.result_label} />
374
+ </div>
375
+ );
376
+ }
377
+
378
+ function PastBrandCard({ brand, className }: { brand: PitchKitPastBrand; className: string }) {
379
+ return (
380
+ <Card variant="outlined" shape="rounded" className={className}>
381
+ <Card.Header start={<BrandLockup brand={brand} />} />
382
+ </Card>
383
+ );
384
+ }
385
+
386
+ function PastBrandsRail({ brands }: { brands: readonly PitchKitPastBrand[] }) {
387
+ const hostRef = useRef<HTMLDivElement>(null);
388
+ const measureRef = useRef<HTMLUListElement>(null);
389
+ const [overflows, setOverflows] = useState(false);
390
+ const [reduceMotion, setReduceMotion] = useState(false);
391
+
392
+ useLayoutEffect(() => {
393
+ const media = window.matchMedia("(prefers-reduced-motion: reduce)");
394
+ const updateMotion = () => setReduceMotion(media.matches);
395
+ updateMotion();
396
+ media.addEventListener("change", updateMotion);
397
+ return () => media.removeEventListener("change", updateMotion);
398
+ }, []);
399
+
400
+ useLayoutEffect(() => {
401
+ const host = hostRef.current;
402
+ const measure = measureRef.current;
403
+ if (host == null || measure == null) return;
404
+
405
+ const update = () => {
406
+ setOverflows(measure.scrollWidth > host.clientWidth + 1);
407
+ };
408
+ update();
409
+ const observer = new ResizeObserver(update);
410
+ observer.observe(host);
411
+ observer.observe(measure);
412
+ return () => observer.disconnect();
413
+ }, [brands]);
414
+
415
+ const duration = Math.max(16, brands.length * 4);
416
+ const showMarquee = overflows && !reduceMotion;
417
+
418
+ return (
419
+ <div
420
+ ref={hostRef}
421
+ className="relative col-span-full min-w-0"
422
+ data-overflow={showMarquee ? "true" : "false"}
423
+ >
424
+ <ul ref={measureRef} className="pointer-events-none invisible absolute flex w-max items-center gap-3" aria-hidden>
425
+ {brands.map((brand) => (
426
+ <li key={`${brand.id}-measure`}>
427
+ <PastBrandCard brand={brand} className="w-max max-w-full shrink-0" />
428
+ </li>
429
+ ))}
430
+ </ul>
431
+ {reduceMotion ? (
432
+ <ul className="flex min-w-0 flex-wrap items-center gap-3" aria-label="Past brands">
433
+ {brands.map((brand) => (
434
+ <li key={brand.id}>
435
+ <PastBrandCard brand={brand} className="w-max max-w-full shrink-0" />
436
+ </li>
437
+ ))}
438
+ </ul>
439
+ ) : showMarquee ? (
440
+ <>
441
+ <ul className="sr-only" aria-label="Past brands">
442
+ {brands.map((brand) => {
443
+ const result = normalizePastBrandResult(brand.result_label);
444
+ return (
445
+ <li key={brand.id}>
446
+ {result == null ? brand.name : `${brand.name}, ${result}`}
447
+ </li>
448
+ );
449
+ })}
450
+ </ul>
451
+ <div className="group overflow-hidden" aria-hidden>
452
+ <div
453
+ className="marquee-track flex w-max items-center"
454
+ style={{ "--marquee-duration": `${duration}s` } as CSSProperties}
455
+ >
456
+ <ul className="flex min-w-0 items-center gap-3">
457
+ {brands.map((brand) => (
458
+ <li key={`${brand.id}-loop-a`}>
459
+ <PastBrandCard brand={brand} className="w-max max-w-full shrink-0" />
460
+ </li>
461
+ ))}
462
+ </ul>
463
+ <ul className="flex min-w-0 items-center gap-3">
464
+ {brands.map((brand) => (
465
+ <li key={`${brand.id}-loop-b`}>
466
+ <PastBrandCard brand={brand} className="w-max max-w-full shrink-0" />
467
+ </li>
468
+ ))}
469
+ </ul>
470
+ </div>
471
+ </div>
472
+ </>
473
+ ) : (
474
+ <ul className="flex min-w-0 items-center gap-3" aria-label="Past brands">
475
+ {brands.map((brand) => (
476
+ <li key={brand.id}>
477
+ <PastBrandCard brand={brand} className="w-max max-w-full shrink-0" />
478
+ </li>
479
+ ))}
480
+ </ul>
481
+ )}
482
+ </div>
483
+ );
484
+ }
485
+
486
+ export function PublicPastBrands({ brands }: { brands: readonly PitchKitPastBrand[] }) {
487
+ if (brands.length === 0) return null;
488
+
489
+ return (
490
+ <section className="band min-w-0 gap-y-4">
491
+ <div className="col-span-full flex flex-wrap items-end justify-between gap-3">
492
+ <h2 className={cardTitleClasses}>Past brands</h2>
493
+ </div>
494
+ <PastBrandsRail brands={brands} />
495
+ </section>
496
+ );
497
+ }
498
+
499
+
500
+ interface OwnerPitchKitProps extends PitchKitPageData {
501
+ reachState?: PitchKitReachState;
502
+ }
503
+
504
+ function pitchKitIntroIsEmpty(intro: string) {
505
+ return intro.trim().length === 0;
506
+ }
507
+
508
+ function PublicIntro({ intro }: { intro: string }) {
509
+ if (pitchKitIntroIsEmpty(intro)) return null;
510
+ return <p className="type-body text-fg text-fg">{intro}</p>;
511
+ }
512
+
513
+ function OwnerReachCard({
514
+ reachState,
515
+ reachData,
516
+ }: {
517
+ reachState: PitchKitReachState;
518
+ reachData: ChartCartesianPoint[];
519
+ }) {
520
+ return (
521
+ <Card
522
+ variant="outlined"
523
+ shape="rounded"
524
+ bodyTerminal
525
+ className="col-span-full min-w-0"
526
+ >
527
+ <Card.Header
528
+ start={
529
+ <>
530
+ <h2 className={cardTitleClasses}>Reach over 30 days</h2>
531
+ <p className={cardSubtitleClasses}>
532
+ Typical performance with unusual spikes left visible.
533
+ </p>
534
+ </>
535
+ }
536
+ end={
537
+ <Badge variant="neutral" emphasis="muted" size="sm">
538
+ Graph data
539
+ </Badge>
540
+ }
541
+ />
542
+ <Card.Body>
543
+ {reachState === "insufficient" ? (
544
+ <div
545
+ className="flex min-w-0 flex-col gap-4 bg-body px-3.5 py-4 rounded-[var(--radius-card-body)] items-center justify-center text-center"
546
+ style={{ minHeight: 220 }}
547
+ >
548
+ <div className="flex max-w-lg flex-col gap-2 items-center text-center">
549
+ <Badge variant="neutral" emphasis="muted">No data</Badge>
550
+ <h3 className="type-heading-2 text-fg">No reach data yet</h3>
551
+ <p className="type-body text-fg text-muted">
552
+ Connect more Instagram activity to plot the last 30 days.
553
+ </p>
554
+ </div>
555
+ </div>
556
+ ) : (
557
+ <div className="flex min-w-0 flex-col gap-4 bg-body px-3.5 py-4 rounded-[var(--radius-card-body)]">
558
+ <Chart.Cartesian
559
+ data={reachData}
560
+ config={reachConfig}
561
+ periodKind="month"
562
+ minHeight={220}
563
+ aria-label="Daily and typical Instagram reach over the last 30 days"
564
+ />
565
+ <Chart.Legend config={reachConfig} />
566
+ </div>
567
+ )}
568
+ </Card.Body>
569
+ </Card>
570
+ );
571
+ }
572
+
573
+ function OwnerCountries({ countries }: { countries: ChartRankedBarItem[] }) {
574
+ const topCountries = countries.slice(0, 3);
575
+ if (topCountries.length === 0) return null;
576
+
577
+ return (
578
+ <Card
579
+ variant="outlined"
580
+ shape="rounded"
581
+ bodyTerminal
582
+ className="col-span-full min-w-0"
583
+ >
584
+ <Card.Header
585
+ start={
586
+ <>
587
+ <h2 className={cardTitleClasses}>Top countries</h2>
588
+ <p className={cardSubtitleClasses}>
589
+ Top 3 from Instagram Insights.
590
+ </p>
591
+ </>
592
+ }
593
+ />
594
+ <Card.Body>
595
+ <div className="flex min-w-0 flex-col gap-4 bg-body px-3.5 py-4 rounded-[var(--radius-card-body)]">
596
+ <Chart.RankedBars
597
+ aria-label="Audience by country"
598
+ items={topCountries}
599
+ animate="initial"
600
+ />
601
+ </div>
602
+ </Card.Body>
603
+ </Card>
604
+ );
605
+ }
606
+
607
+ function OwnerPitchKit({
608
+ identity,
609
+ intro,
610
+ posts,
611
+ contact,
612
+ brands,
613
+ countries,
614
+ reachData,
615
+ reachState = "resolved",
616
+ }: OwnerPitchKitProps) {
617
+ const [visiblePosts, setVisiblePosts] = useState(posts);
618
+ const [postNotice, setPostNotice] = useState<string | null>(null);
619
+ const [pendingHidePostId, setPendingHidePostId] = useState<string | null>(null);
620
+ const engagementRate = reachState === "resolved" ? "5.8%" : null;
621
+ const typicalReach = reachState === "resolved" ? "9.3K" : "—";
622
+
623
+ function handlePostAction(postId: string, actionId: string) {
624
+ if (actionId === "hide") {
625
+ setPendingHidePostId(postId);
626
+ }
627
+ }
628
+
629
+ function hidePendingPost() {
630
+ const hiddenPost = visiblePosts.find((post) => post.id === pendingHidePostId);
631
+ if (!hiddenPost) return;
632
+
633
+ setVisiblePosts((current) =>
634
+ current.filter((post) => post.id !== hiddenPost.id),
635
+ );
636
+ setPostNotice("Post hidden from the shareable kit.");
637
+ setPendingHidePostId(null);
638
+ toast.add({
639
+ title: "Post hidden from kit",
640
+ description: "It no longer appears in the shareable PitchKit.",
641
+ duration: 6000,
642
+ action: {
643
+ label: "Undo",
644
+ onClick: () => {
645
+ setVisiblePosts((current) =>
646
+ current.some((post) => post.id === hiddenPost.id)
647
+ ? current
648
+ : [...current, hiddenPost],
649
+ );
650
+ setPostNotice("Post restored to the shareable kit.");
651
+ },
652
+ },
653
+ });
654
+ }
655
+
656
+ return (
657
+ <>
658
+ <section className="col-span-full">
659
+ <PageHeader variant="page" title="Your Pitchkit" />
660
+ <div className="flex max-w-2xl flex-col gap-1">
661
+ <p className="type-body text-fg text-muted">Edit what brands see</p>
662
+ </div>
663
+ </section>
664
+
665
+ <section className="col-span-full border-b border-border pb-6">
666
+ <div className="flex min-w-0 flex-col gap-3">
667
+ <CreatorIdentityStrip
668
+ identity={identity}
669
+ nameAs="h1"
670
+ showProfessionalChip
671
+ />
672
+ <PublicIntro intro={intro} />
673
+ </div>
674
+ </section>
675
+
676
+ <div
677
+ role="group"
678
+ aria-label="Instagram performance summary"
679
+ className="band gap-y-4"
680
+ >
681
+ <Stat className="col-span-2 md:col-span-4 lg:col-span-3" label="Followers" value="84.2K" />
682
+ {engagementRate != null ? (
683
+ <Stat className="col-span-2 md:col-span-4 lg:col-span-3" label="Engagement rate" value={engagementRate} />
684
+ ) : null}
685
+ <Stat className="col-span-2 md:col-span-4 lg:col-span-3" label="Typical reach" value={typicalReach} />
686
+ <Stat className="col-span-2 md:col-span-4 lg:col-span-3" label="Typical saves" value="6.1K" />
687
+ </div>
688
+
689
+ <div className="band min-w-0 gap-y-6 [align-items:stretch]">
690
+ <OwnerReachCard reachState={reachState} reachData={reachData} />
691
+ <OwnerCountries countries={countries} />
692
+ </div>
693
+
694
+ <section className="band min-w-0 gap-y-4">
695
+ <div className="col-span-full flex flex-wrap items-end justify-between gap-3">
696
+ <div>
697
+ <h2 className={cardTitleClasses}>Selected posts</h2>
698
+ <p className="type-body text-fg text-muted">
699
+ {postNotice ?? "Proof from the current Instagram set."}
700
+ </p>
701
+ </div>
702
+ </div>
703
+ <div className="band col-span-full min-w-0 gap-y-4">
704
+ {visiblePosts.map((post, index) => (
705
+ <Card key={post.id} variant="outlined" shape="rounded" className="col-span-full min-w-0 md:col-span-4 lg:col-span-4">
706
+ <Card.Header
707
+ end={
708
+ <MoreMenu
709
+ aria-label={`Manage selected post ${index + 1}`}
710
+ size="xs"
711
+ items={[
712
+ {
713
+ id: "hide",
714
+ label: "Hide from kit",
715
+ start: (
716
+ <ButtonIcon size="sm">
717
+ <EyeOff />
718
+ </ButtonIcon>
719
+ ),
720
+ },
721
+ ]}
722
+ onAction={(actionId) => handlePostAction(post.id, actionId)}
723
+ />
724
+ }
725
+ />
726
+ <Card.Body>
727
+ <img
728
+ className="aspect-[4/3] w-full bg-body object-cover rounded-[var(--radius-card-body)]"
729
+ src={post.imageUrl}
730
+ alt={post.imageAlt}
731
+ />
732
+ </Card.Body>
733
+ <Card.Footer>
734
+ <div className="grid w-full grid-cols-2 gap-3">
735
+ {[
736
+ ["Likes", post.likes],
737
+ ["Comments", post.comments],
738
+ ].map(([label, value]) => (
739
+ <span key={label} className="flex min-w-0 flex-col gap-1">
740
+ <span className="type-supporting font-medium uppercase tracking-wider text-muted text-muted">{label}</span>
741
+ <span className="font-mono text-sm tabular-nums text-fg">
742
+ {compactNumber.format(value as number)}
743
+ </span>
744
+ </span>
745
+ ))}
746
+ </div>
747
+ </Card.Footer>
748
+ </Card>
749
+ ))}
750
+ </div>
751
+ </section>
752
+
753
+ <section className="band min-w-0 gap-y-4">
754
+ <div className="col-span-full flex flex-wrap items-end justify-between gap-3">
755
+ <div>
756
+ <h2 className={cardTitleClasses}>Contact</h2>
757
+ <p className="type-body text-fg text-muted">
758
+ Creator-entered details for brand outreach.
759
+ </p>
760
+ </div>
761
+ </div>
762
+ <Card variant="outlined" padding="md" shape="rounded" className="col-span-full">
763
+ <div className="flex flex-col gap-3">
764
+ <div className="flex flex-col gap-1 sm:flex-row sm:items-center sm:justify-between sm:gap-3">
765
+ <span className="type-supporting font-medium uppercase tracking-wider text-muted text-muted">Email</span>
766
+ <TextLink href={`mailto:${contact.email}`}>{contact.email}</TextLink>
767
+ </div>
768
+ <div className="flex flex-col gap-1 sm:flex-row sm:items-center sm:justify-between sm:gap-3">
769
+ <span className="type-supporting font-medium uppercase tracking-wider text-muted text-muted">Website</span>
770
+ <TextLink href={contact.websiteHref} external>{contact.websiteLabel}</TextLink>
771
+ </div>
772
+ <div className="flex flex-col gap-1 sm:flex-row sm:items-center sm:justify-between sm:gap-3">
773
+ <span className="type-supporting font-medium uppercase tracking-wider text-muted text-muted">Location</span>
774
+ <span className="type-body text-fg text-muted">{contact.location}</span>
775
+ </div>
776
+ </div>
777
+ </Card>
778
+ </section>
779
+
780
+ <PublicPastBrands brands={brands} />
781
+ <AlertDialog
782
+ open={pendingHidePostId != null}
783
+ onOpenChange={(open) => {
784
+ if (!open) setPendingHidePostId(null);
785
+ }}
786
+ title="Hide this post from PitchKit?"
787
+ description="It will no longer appear in the shareable PitchKit. You can add it back later."
788
+ cancelLabel="Keep post"
789
+ confirmLabel="Hide from kit"
790
+ onConfirm={hidePendingPost}
791
+ />
792
+ </>
793
+ );
794
+ }
795
+
796
+
797
+ interface PitchKitInsightsLoadingPageProps extends Omit<PitchKitPageData, "posts"> {
798
+ /** Selected posts on the PitchKit tab. */
799
+ kitPosts: PitchKitPost[];
800
+ }
801
+
802
+ export function PitchKitInsightsLoadingPage({
803
+ contact,
804
+ brands,
805
+ identity,
806
+ kitPosts,
807
+ intro,
808
+ countries,
809
+ reachData,
810
+ }: PitchKitInsightsLoadingPageProps) {
811
+ const [view, setView] = useState("insights");
812
+
813
+ return (
814
+ <main className="grid-page min-h-screen bg-body [--grid-column-gap:8px] [--grid-max:1140px] [padding-bottom:44px]">
815
+
816
+ <div className="band pb-4">
817
+ <header className="col-span-full grid grid-cols-[1fr_auto_1fr] items-center gap-3">
818
+ <span className="type-heading-4 text-fg text-fg">PitchKit</span>
819
+ <SegmentedControl
820
+ aria-label="PitchKit primary navigation"
821
+ size="sm"
822
+ value={view}
823
+ onValueChange={setView}
824
+ >
825
+ <SegmentedControl.Item value="insights">Insights</SegmentedControl.Item>
826
+ <SegmentedControl.Item value="pitchkit">PitchKit</SegmentedControl.Item>
827
+ </SegmentedControl>
828
+ <span className="justify-self-end">
829
+ <OwnerAccountMenu identity={identity} />
830
+ </span>
831
+ </header>
832
+ </div>
833
+
834
+ <div className="band pt-6 sm:pt-8">
835
+ <div className="band min-w-0 gap-y-6 sm:gap-y-8">
836
+ {view === "pitchkit" ? (
837
+ <OwnerPitchKit identity={identity} intro={intro} posts={kitPosts} contact={contact} brands={brands} countries={countries} reachData={reachData} />
838
+ ) : (
839
+ <>
840
+ <section className="col-span-full">
841
+ <PageHeader variant="page" title="Insights" />
842
+ <div className="flex max-w-2xl flex-col gap-2">
843
+ <Skeleton width={280} height={16} radius="inner" index={20} />
844
+ <Skeleton width={220} height={12} radius="inner" index={21} />
845
+ </div>
846
+ </section>
847
+
848
+ <div className="band gap-y-2">
849
+ <div
850
+ role="group"
851
+ aria-label="Loading Instagram performance summary"
852
+ className="band gap-y-4"
853
+ >
854
+ <Stat className="col-span-2 md:col-span-4 lg:col-span-3" label="Followers" value="" loading />
855
+ <Stat className="col-span-2 md:col-span-4 lg:col-span-3" label="Engagement rate" value="" loading />
856
+ <Stat className="col-span-2 md:col-span-4 lg:col-span-3" label="Typical reach" value="" loading />
857
+ <Stat className="col-span-2 md:col-span-4 lg:col-span-3" label="Saves" value="" loading />
858
+ </div>
859
+
860
+ <div className="band min-w-0 gap-y-6 [align-items:stretch]">
861
+ <Card
862
+ variant="outlined"
863
+ shape="rounded"
864
+ bodyTerminal
865
+ className="col-span-full min-w-0 lg:col-span-6"
866
+ aria-busy="true"
867
+ aria-label="Loading reach over 30 days"
868
+ >
869
+ <Card.Header
870
+ start={
871
+ <div className="flex flex-col gap-1">
872
+ <Skeleton width={168} height={18} radius="inner" index={0} />
873
+ <Skeleton width={240} height={14} radius="inner" index={1} />
874
+ </div>
875
+ }
876
+ end={<Skeleton width={88} height={28} radius="full" index={2} />}
877
+ />
878
+ <Card.Body>
879
+ <div className="flex min-w-0 flex-col gap-4 bg-body px-3.5 py-4 rounded-[var(--radius-card-body)]">
880
+ <Skeleton
881
+ width="100%"
882
+ height={344}
883
+ radius="element"
884
+ index={3}
885
+ />
886
+ <div className="flex flex-wrap gap-4">
887
+ <Skeleton width={112} height={12} radius="inner" index={4} />
888
+ <Skeleton width={96} height={12} radius="inner" index={5} />
889
+ </div>
890
+ </div>
891
+ </Card.Body>
892
+ </Card>
893
+
894
+ <Card
895
+ variant="outlined"
896
+ shape="rounded"
897
+ bodyTerminal
898
+ className="col-span-full min-w-0 lg:col-span-6"
899
+ aria-busy="true"
900
+ aria-label="Loading audience fit"
901
+ >
902
+ <Card.Header
903
+ start={
904
+ <div className="flex flex-col gap-1">
905
+ <Skeleton width={120} height={18} radius="inner" index={6} />
906
+ <Skeleton width={188} height={14} radius="inner" index={7} />
907
+ </div>
908
+ }
909
+ />
910
+ <Card.Body>
911
+ <div className="grid min-w-0 gap-y-6 bg-body px-3.5 py-4 [column-gap:var(--grid-column-gap)] sm:grid-cols-2 rounded-[var(--radius-card-body)]">
912
+ {audienceSkeletonSections.map((section, sectionIndex) => (
913
+ <section
914
+ key={section.titleWidth}
915
+ className="flex min-w-0 flex-col gap-3"
916
+ >
917
+ <Skeleton
918
+ width={section.titleWidth}
919
+ height={12}
920
+ radius="inner"
921
+ index={8 + sectionIndex}
922
+ />
923
+ <div className="flex min-w-0 flex-col gap-2">
924
+ {section.bars.map((width, barIndex) => (
925
+ <Skeleton
926
+ key={`${section.titleWidth}-${width}`}
927
+ width={`${width}%`}
928
+ height={16}
929
+ radius="inner"
930
+ index={12 + sectionIndex * 3 + barIndex}
931
+ />
932
+ ))}
933
+ </div>
934
+ </section>
935
+ ))}
936
+ </div>
937
+ </Card.Body>
938
+ </Card>
939
+ </div>
940
+ </div>
941
+
942
+ <section
943
+ className="band min-w-0 gap-y-4"
944
+ aria-busy="true"
945
+ aria-label="Loading recent proof"
946
+ >
947
+ <div className="col-span-full flex flex-wrap items-end justify-between gap-3">
948
+ <div className="flex max-w-2xl flex-col gap-2">
949
+ <Skeleton width={132} height={18} radius="inner" index={22} />
950
+ <Skeleton width={196} height={14} radius="inner" index={23} />
951
+ </div>
952
+ </div>
953
+ <div className="band col-span-full min-w-0 gap-y-4">
954
+ {Array.from({ length: proofSkeletonCount }, (_, index) => {
955
+ const base = 24 + index * 8;
956
+ return (
957
+ <Card
958
+ key={index}
959
+ variant="outlined"
960
+ shape="rounded"
961
+ className="col-span-full min-w-0 md:col-span-4 lg:col-span-4"
962
+ aria-hidden
963
+ >
964
+ <Card.Header
965
+ start={
966
+ <span className="flex items-center gap-2">
967
+ <Skeleton width={28} height={20} radius="full" index={base} />
968
+ <Skeleton width={48} height={14} radius="inner" index={base + 1} />
969
+ </span>
970
+ }
971
+ />
972
+ <Card.Body>
973
+ <div className="aspect-[4/3] w-full bg-body object-cover rounded-[var(--radius-card-body)]">
974
+ <Skeleton
975
+ width="100%"
976
+ height="100%"
977
+ radius="element"
978
+ className="h-full w-full"
979
+ index={base + 2}
980
+ />
981
+ </div>
982
+ </Card.Body>
983
+ <Card.Footer>
984
+ <div className="grid w-full grid-cols-3 gap-3">
985
+ {[0, 1, 2].map((metric) => (
986
+ <span key={metric} className="flex min-w-0 flex-col gap-1">
987
+ <Skeleton width={40} height={10} radius="inner" index={base + 3 + metric} />
988
+ <Skeleton width={56} height={16} radius="inner" index={base + 6 + metric} />
989
+ </span>
990
+ ))}
991
+ </div>
992
+ </Card.Footer>
993
+ </Card>
994
+ );
995
+ })}
996
+ </div>
997
+ </section>
998
+ </>
999
+ )}
1000
+ </div>
1001
+ </div>
1002
+ <PitchKitPageFooter />
1003
+ <Toaster position="bottom-right" />
1004
+ </main>
1005
+ );
1006
+ }