@useloops/design-system 1.4.671 → 1.4.673

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 (278) hide show
  1. package/README.md +7 -7
  2. package/dist/Platform.js +1 -1
  3. package/dist/WebCore/Text.d.ts +2 -0
  4. package/dist/WebCore/Text.js +1 -0
  5. package/dist/WebCore.d.ts +2 -0
  6. package/dist/WebCore.js +1 -1
  7. package/dist/esm/Platform.js +1 -1
  8. package/dist/esm/WebCore/Text.js +1 -0
  9. package/dist/esm/WebCore.js +1 -1
  10. package/dist/esm/index.js +1 -1
  11. package/dist/esm/systems/Marketing/PlanFeatureTable/PlanFeatureTable.js +1 -1
  12. package/dist/esm/systems/Marketing/PlanFeatureTable/PlanFeatureTableSkeleton.js +1 -1
  13. package/dist/esm/systems/Marketing/PlanTierCard/FeatureListItem.js +1 -1
  14. package/dist/esm/systems/Marketing/PlanTierCard/PlanTierCard.js +1 -1
  15. package/dist/esm/systems/Marketing/PlanTierCard/PlanTierCardSkeleton.js +1 -1
  16. package/dist/esm/systems/Marketing/PlanTierCard/RespondentPricingCard.js +1 -1
  17. package/dist/esm/systems/Marketing/PlanTierCard/SavingsPill.js +1 -1
  18. package/dist/esm/systems/Marketing/TickGroup/TickGroup.js +1 -1
  19. package/dist/esm/systems/Platform/AIInsight/AIInsight.js +1 -1
  20. package/dist/esm/systems/Platform/AISummary/AISummary.js +1 -1
  21. package/dist/esm/systems/Platform/AIWrittenByLockUp/AiWrittenByLockUp.js +1 -1
  22. package/dist/esm/systems/Platform/ArrowTextIndicator/ArrowTextIndicator.js +2 -2
  23. package/dist/esm/systems/Platform/AssetItem/AssetItem.js +1 -1
  24. package/dist/esm/systems/Platform/AssetItem/_partials/AssetItemMenu.js +1 -1
  25. package/dist/esm/systems/Platform/AssetItem/_partials/CoverTypeIndicator.js +1 -1
  26. package/dist/esm/systems/Platform/AssetItem/_partials/ImageTile.js +1 -1
  27. package/dist/esm/systems/Platform/CommentCard/CommentCard.js +1 -1
  28. package/dist/esm/systems/Platform/DataPointInfo/DataPointInfo.js +1 -1
  29. package/dist/esm/systems/Platform/DataPointInfo/_partials/DataSourceItem.js +1 -1
  30. package/dist/esm/systems/Platform/DataPointInfo/_partials/EmptyStateMessage.js +1 -1
  31. package/dist/esm/systems/Platform/DataPointInfo/_partials/StatValue.js +1 -1
  32. package/dist/esm/systems/Platform/DemographicSelectionSection/DemographicSelectionSection.js +1 -1
  33. package/dist/esm/systems/Platform/EmojiListItem/EmojiListItem.js +1 -1
  34. package/dist/esm/systems/Platform/EmojiListItem/_partials/StyledSurface.js +1 -1
  35. package/dist/esm/systems/Platform/EmojiQuestionEditorOption/EmojiQuestionEditorOption.js +1 -1
  36. package/dist/esm/systems/Platform/EmptyStateCard/EmptyStateCard.js +1 -1
  37. package/dist/esm/systems/Platform/ExtendedTestStatus/ExtendedTestStatus.js +1 -1
  38. package/dist/esm/systems/Platform/ExtendedTestStatus/_partials/QuestionControllerSegment/QuestionControllerSegment.js +1 -1
  39. package/dist/esm/systems/Platform/FilterCount/FilterCount.js +1 -1
  40. package/dist/esm/systems/Platform/FilterGroupAccordion/FilterGroupAccordion.js +1 -1
  41. package/dist/esm/systems/Platform/FilterPyramidGraph/FilterPyramidGraph.js +1 -1
  42. package/dist/esm/systems/Platform/FilterRow/FilterRow.js +1 -1
  43. package/dist/esm/systems/Platform/FilteredItemsCard/FilteredItemsCard.js +1 -1
  44. package/dist/esm/systems/Platform/ForgotYourPassword/ForgotYourPasswordForm.js +1 -1
  45. package/dist/esm/systems/Platform/GraphBar/GraphBar.js +1 -1
  46. package/dist/esm/systems/Platform/GraphBar/_partials/UnitText/UnitText.js +1 -1
  47. package/dist/esm/systems/Platform/GraphPopoverDataLayout/GraphPopoverDataLayout.js +1 -1
  48. package/dist/esm/systems/Platform/Header/Header.js +1 -1
  49. package/dist/esm/systems/Platform/KpiDataPopover/KpiDataPopover.js +1 -1
  50. package/dist/esm/systems/Platform/KpiDataPopover/KpiDetails.js +1 -1
  51. package/dist/esm/systems/Platform/KpiDataPopover/QuestionStatsCard.js +1 -1
  52. package/dist/esm/systems/Platform/KpiDataPopover/ScaleChart.js +1 -1
  53. package/dist/esm/systems/Platform/KpiDataPopover/SliderChart.js +1 -1
  54. package/dist/esm/systems/Platform/LikertGraph/_partials/LikertActionController/LikertActionController.js +1 -1
  55. package/dist/esm/systems/Platform/LikertGraph/_partials/LikertGraphBar/LikertGraphBar.js +1 -1
  56. package/dist/esm/systems/Platform/LinkExpired/LinkExpired.js +1 -1
  57. package/dist/esm/systems/Platform/LoginForm/LoginForm.js +1 -1
  58. package/dist/esm/systems/Platform/LoopItem/LoopItem.js +1 -1
  59. package/dist/esm/systems/Platform/LoopItem/_partials/styledPartials.js +1 -1
  60. package/dist/esm/systems/Platform/LoopItemEmpty/LoopItemEmpty.js +1 -1
  61. package/dist/esm/systems/Platform/LoopVideoNudge/LoopVideoNudge.js +1 -1
  62. package/dist/esm/systems/Platform/MFACodeVerify/MFACodeVerify.js +1 -1
  63. package/dist/esm/systems/Platform/MiniResultCard/MiniResultCard.js +1 -1
  64. package/dist/esm/systems/Platform/MiniResultCard/graphVariants.js +1 -1
  65. package/dist/esm/systems/Platform/Navigation/Navigation.js +1 -1
  66. package/dist/esm/systems/Platform/OnboardingCard/OnboardingCard.js +1 -1
  67. package/dist/esm/systems/Platform/OnboardingCard/StyledOnboardingCard.js +1 -1
  68. package/dist/esm/systems/Platform/OnboardingCard/StyledTimeline.js +1 -1
  69. package/dist/esm/systems/Platform/PaginationControl/PaginationControl.js +1 -1
  70. package/dist/esm/systems/Platform/PinchIndicator/PinchIndicator.js +1 -1
  71. package/dist/esm/systems/Platform/PinchIndicator/_partials/StyledSurface/StyledSurface.js +1 -1
  72. package/dist/esm/systems/Platform/ProjectItem/ProjectItemGridView.js +1 -1
  73. package/dist/esm/systems/Platform/ProjectItem/ProjectItemListView.js +1 -1
  74. package/dist/esm/systems/Platform/ProjectItem/_partials/NoThumbnailPlaceholder.js +1 -1
  75. package/dist/esm/systems/Platform/ProjectItem/_partials/ProjectInfo.js +1 -1
  76. package/dist/esm/systems/Platform/ProjectItem/_partials/ProjectItemBadge.js +1 -1
  77. package/dist/esm/systems/Platform/ProjectItem/_partials/ProjectItemTitle.js +1 -1
  78. package/dist/esm/systems/Platform/ProjectItem/_partials/UpdatedInfo.js +1 -1
  79. package/dist/esm/systems/Platform/ProjectItem/_partials/styledPartials.js +1 -1
  80. package/dist/esm/systems/Platform/QuestionBar/QuestionBar.js +1 -1
  81. package/dist/esm/systems/Platform/QuestionBlock/QuestionBlock.js +1 -1
  82. package/dist/esm/systems/Platform/QuestionSelector/QuestionSelector.js +1 -1
  83. package/dist/esm/systems/Platform/ScrollIndicator/ScrollIndicator.js +1 -1
  84. package/dist/esm/systems/Platform/SearchInput/SearchInput.js +1 -1
  85. package/dist/esm/systems/Platform/SectionHeader/SectionHeader.js +1 -1
  86. package/dist/esm/systems/Platform/SentimentArrow/SentimentArrow.js +1 -1
  87. package/dist/esm/systems/Platform/SignUpForm/SignUpForm.js +1 -1
  88. package/dist/esm/systems/Platform/SliderGraph/_partials/SliderGraphBar/SliderGraphBar.js +1 -1
  89. package/dist/esm/systems/Platform/SliderGraph/_partials/SliderGraphYAxis/SliderGraphYAxis.js +1 -1
  90. package/dist/esm/systems/Platform/SliderGraph/utils/useSliderGraphProps.js +1 -1
  91. package/dist/esm/systems/Platform/Tab/Tab.js +1 -1
  92. package/dist/esm/systems/Platform/TestItem/TestItem.js +1 -1
  93. package/dist/esm/systems/Platform/TestKPICard/TestKPICard.js +1 -1
  94. package/dist/esm/systems/Platform/TestStatus/TestStatus.js +1 -1
  95. package/dist/esm/systems/Platform/VideoControls/VideoControls.js +1 -1
  96. package/dist/esm/systems/Platform/VideoControls/components/Timeline/Timeline.js +1 -1
  97. package/dist/esm/systems/WebCore/Accordion/Accordion.js +1 -1
  98. package/dist/esm/systems/WebCore/AnnualController/AnnualController.js +1 -1
  99. package/dist/esm/systems/WebCore/AuthFormHeader/AuthFormHeader.js +1 -1
  100. package/dist/esm/systems/WebCore/Badge/Badge.js +1 -1
  101. package/dist/esm/systems/WebCore/Breadcrumb/Breadcrumb.js +1 -1
  102. package/dist/esm/systems/WebCore/ButtonTabGroup/ButtonTabGroup.js +1 -1
  103. package/dist/esm/systems/WebCore/ExpandableTypographyClamp/ExpandableTypographyClamp.js +1 -1
  104. package/dist/esm/systems/WebCore/ExpandableTypographyClamp/components/ExpandCollapseButton/ExpandCollapseButton.js +1 -1
  105. package/dist/esm/systems/WebCore/FormGenerator/components/StengthIndicator/StrengthIndicator.js +1 -1
  106. package/dist/esm/systems/WebCore/GridOverlay/GridOverlay.js +1 -1
  107. package/dist/esm/systems/WebCore/HtmlParser/HtmlParser.js +1 -1
  108. package/dist/esm/systems/WebCore/KbdGroup/Kbd.js +1 -1
  109. package/dist/esm/systems/WebCore/KbdGroup/KbdGroup.js +1 -1
  110. package/dist/esm/systems/WebCore/KeyValueLabel/KeyValueLabel.js +1 -1
  111. package/dist/esm/systems/WebCore/Markdown/Markdown.js +1 -1
  112. package/dist/esm/systems/WebCore/Menu/MenuItem.js +1 -1
  113. package/dist/esm/systems/WebCore/ModalLayout/ModalLayout.js +1 -1
  114. package/dist/esm/systems/WebCore/NavigationButton/NavigationButton.js +1 -1
  115. package/dist/esm/systems/WebCore/Nudge/NudgeBox.js +1 -1
  116. package/dist/esm/systems/WebCore/Pill/Pill.js +1 -1
  117. package/dist/esm/systems/WebCore/Select/Select.js +1 -1
  118. package/dist/esm/systems/WebCore/Text/Text.helpers.js +1 -0
  119. package/dist/esm/systems/WebCore/Text/Text.js +1 -0
  120. package/dist/esm/systems/WebCore/TextBarDivider/TextBarDivider.js +1 -1
  121. package/dist/esm/systems/WebCore/Toast/Toast.js +1 -1
  122. package/dist/esm/systems/WebCore/TrialCard/TrialCard.js +1 -1
  123. package/dist/esm/systems/WebCore/UserMenu/UserMenuButton.js +1 -1
  124. package/dist/esm/systems/WebCore/utils/typography.util.js +1 -1
  125. package/dist/index.d.ts +2 -0
  126. package/dist/index.js +1 -1
  127. package/dist/systems/BrandCore/primitiveVariables.d.ts +1 -1
  128. package/dist/systems/Marketing/PlanFeatureTable/PlanFeatureTable.js +1 -1
  129. package/dist/systems/Marketing/PlanFeatureTable/PlanFeatureTableSkeleton.js +1 -1
  130. package/dist/systems/Marketing/PlanTierCard/FeatureListItem.js +1 -1
  131. package/dist/systems/Marketing/PlanTierCard/PlanTierCard.js +1 -1
  132. package/dist/systems/Marketing/PlanTierCard/PlanTierCardSkeleton.js +1 -1
  133. package/dist/systems/Marketing/PlanTierCard/RespondentPricingCard.js +1 -1
  134. package/dist/systems/Marketing/PlanTierCard/SavingsPill.js +1 -1
  135. package/dist/systems/Marketing/TickGroup/TickGroup.js +1 -1
  136. package/dist/systems/Platform/AIInsight/AIInsight.js +1 -1
  137. package/dist/systems/Platform/AISummary/AISummary.d.ts +4 -4
  138. package/dist/systems/Platform/AISummary/AISummary.js +1 -1
  139. package/dist/systems/Platform/AIWrittenByLockUp/AiWrittenByLockUp.js +1 -1
  140. package/dist/systems/Platform/ArrowTextIndicator/ArrowTextIndicator.js +2 -2
  141. package/dist/systems/Platform/AssetItem/AssetItem.d.ts +1 -0
  142. package/dist/systems/Platform/AssetItem/AssetItem.js +1 -1
  143. package/dist/systems/Platform/AssetItem/_partials/AssetItemMenu.js +1 -1
  144. package/dist/systems/Platform/AssetItem/_partials/CoverTypeIndicator.js +1 -1
  145. package/dist/systems/Platform/AssetItem/_partials/ImageTile.js +1 -1
  146. package/dist/systems/Platform/CommentCard/CommentCard.js +1 -1
  147. package/dist/systems/Platform/CommentCard/types.d.ts +1 -0
  148. package/dist/systems/Platform/DataPointInfo/DataPointInfo.js +1 -1
  149. package/dist/systems/Platform/DataPointInfo/_partials/DataSourceItem.js +1 -1
  150. package/dist/systems/Platform/DataPointInfo/_partials/EmptyStateMessage.js +1 -1
  151. package/dist/systems/Platform/DataPointInfo/_partials/StatValue.js +1 -1
  152. package/dist/systems/Platform/DemographicSelectionSection/DemographicSelectionSection.js +1 -1
  153. package/dist/systems/Platform/EmojiListItem/EmojiListItem.d.ts +2 -2
  154. package/dist/systems/Platform/EmojiListItem/EmojiListItem.js +1 -1
  155. package/dist/systems/Platform/EmojiListItem/_partials/StyledSurface.js +1 -1
  156. package/dist/systems/Platform/EmojiQuestionEditorOption/EmojiQuestionEditorOption.d.ts +2 -2
  157. package/dist/systems/Platform/EmojiQuestionEditorOption/EmojiQuestionEditorOption.js +1 -1
  158. package/dist/systems/Platform/EmptyStateCard/EmptyStateCard.d.ts +3 -3
  159. package/dist/systems/Platform/EmptyStateCard/EmptyStateCard.js +1 -1
  160. package/dist/systems/Platform/ExtendedTestStatus/ExtendedTestStatus.js +1 -1
  161. package/dist/systems/Platform/ExtendedTestStatus/_partials/QuestionControllerSegment/QuestionControllerSegment.js +1 -1
  162. package/dist/systems/Platform/FilterCount/FilterCount.js +1 -1
  163. package/dist/systems/Platform/FilterGroupAccordion/FilterGroupAccordion.js +1 -1
  164. package/dist/systems/Platform/FilterPyramidGraph/FilterPyramidGraph.js +1 -1
  165. package/dist/systems/Platform/FilterRow/FilterRow.d.ts +1 -0
  166. package/dist/systems/Platform/FilterRow/FilterRow.js +1 -1
  167. package/dist/systems/Platform/FilteredItemsCard/FilteredItemsCard.js +1 -1
  168. package/dist/systems/Platform/ForgotYourPassword/ForgotYourPasswordForm.js +1 -1
  169. package/dist/systems/Platform/GraphBar/GraphBar.d.ts +2 -2
  170. package/dist/systems/Platform/GraphBar/GraphBar.js +1 -1
  171. package/dist/systems/Platform/GraphBar/_partials/UnitText/UnitText.d.ts +3 -3
  172. package/dist/systems/Platform/GraphBar/_partials/UnitText/UnitText.js +1 -1
  173. package/dist/systems/Platform/GraphPopoverDataLayout/GraphPopoverDataLayout.js +1 -1
  174. package/dist/systems/Platform/Header/Header.js +1 -1
  175. package/dist/systems/Platform/KpiDataPopover/KpiDataPopover.js +1 -1
  176. package/dist/systems/Platform/KpiDataPopover/KpiDetails.js +1 -1
  177. package/dist/systems/Platform/KpiDataPopover/QuestionStatsCard.js +1 -1
  178. package/dist/systems/Platform/KpiDataPopover/ScaleChart.js +1 -1
  179. package/dist/systems/Platform/KpiDataPopover/SliderChart.js +1 -1
  180. package/dist/systems/Platform/LikertGraph/_partials/LikertActionController/LikertActionController.js +1 -1
  181. package/dist/systems/Platform/LikertGraph/_partials/LikertGraphBar/LikertGraphBar.js +1 -1
  182. package/dist/systems/Platform/LikertGraph/types.d.ts +2 -2
  183. package/dist/systems/Platform/LinkExpired/LinkExpired.js +1 -1
  184. package/dist/systems/Platform/LoginForm/LoginForm.js +1 -1
  185. package/dist/systems/Platform/LoopItem/LoopItem.js +1 -1
  186. package/dist/systems/Platform/LoopItem/_partials/styledPartials.js +1 -1
  187. package/dist/systems/Platform/LoopItemEmpty/LoopItemEmpty.js +1 -1
  188. package/dist/systems/Platform/LoopVideoNudge/LoopVideoNudge.js +1 -1
  189. package/dist/systems/Platform/MFACodeVerify/MFACodeVerify.js +1 -1
  190. package/dist/systems/Platform/MiniResultCard/MiniResultCard.js +1 -1
  191. package/dist/systems/Platform/MiniResultCard/graphVariants.js +1 -1
  192. package/dist/systems/Platform/Navigation/Navigation.js +1 -1
  193. package/dist/systems/Platform/OnboardingCard/OnboardingCard.js +1 -1
  194. package/dist/systems/Platform/OnboardingCard/StyledOnboardingCard.js +1 -1
  195. package/dist/systems/Platform/OnboardingCard/StyledTimeline.js +1 -1
  196. package/dist/systems/Platform/PaginationControl/PaginationControl.js +1 -1
  197. package/dist/systems/Platform/PinchIndicator/PinchIndicator.js +1 -1
  198. package/dist/systems/Platform/PinchIndicator/_partials/StyledSurface/StyledSurface.js +1 -1
  199. package/dist/systems/Platform/ProjectItem/ProjectItemGridView.js +1 -1
  200. package/dist/systems/Platform/ProjectItem/ProjectItemListView.js +1 -1
  201. package/dist/systems/Platform/ProjectItem/_partials/NoThumbnailPlaceholder.js +1 -1
  202. package/dist/systems/Platform/ProjectItem/_partials/ProjectInfo.js +1 -1
  203. package/dist/systems/Platform/ProjectItem/_partials/ProjectItemBadge.js +1 -1
  204. package/dist/systems/Platform/ProjectItem/_partials/ProjectItemTitle.js +1 -1
  205. package/dist/systems/Platform/ProjectItem/_partials/UpdatedInfo.js +1 -1
  206. package/dist/systems/Platform/ProjectItem/_partials/styledPartials.js +1 -1
  207. package/dist/systems/Platform/QuestionBar/QuestionBar.js +1 -1
  208. package/dist/systems/Platform/QuestionBlock/QuestionBlock.d.ts +3 -3
  209. package/dist/systems/Platform/QuestionBlock/QuestionBlock.js +1 -1
  210. package/dist/systems/Platform/QuestionSelector/QuestionSelector.d.ts +1 -0
  211. package/dist/systems/Platform/QuestionSelector/QuestionSelector.js +1 -1
  212. package/dist/systems/Platform/ScrollIndicator/ScrollIndicator.d.ts +2 -2
  213. package/dist/systems/Platform/ScrollIndicator/ScrollIndicator.js +1 -1
  214. package/dist/systems/Platform/SearchInput/SearchInput.js +1 -1
  215. package/dist/systems/Platform/SectionHeader/SectionHeader.js +1 -1
  216. package/dist/systems/Platform/SentimentArrow/SentimentArrow.js +1 -1
  217. package/dist/systems/Platform/SignUpForm/SignUpForm.js +1 -1
  218. package/dist/systems/Platform/SliderGraph/_partials/SliderGraphBar/SliderGraphBar.js +1 -1
  219. package/dist/systems/Platform/SliderGraph/_partials/SliderGraphYAxis/SliderGraphYAxis.js +1 -1
  220. package/dist/systems/Platform/SliderGraph/_partials/StyledComponents.d.ts +8 -8
  221. package/dist/systems/Platform/SliderGraph/types.d.ts +1 -0
  222. package/dist/systems/Platform/SliderGraph/utils/useSliderGraphProps.js +1 -1
  223. package/dist/systems/Platform/Tab/Tab.js +1 -1
  224. package/dist/systems/Platform/TestItem/TestItem.d.ts +2 -2
  225. package/dist/systems/Platform/TestItem/TestItem.js +1 -1
  226. package/dist/systems/Platform/TestKPICard/TestKPICard.js +1 -1
  227. package/dist/systems/Platform/TestStatus/TestStatus.js +1 -1
  228. package/dist/systems/Platform/VideoControls/VideoControls.d.ts +1 -0
  229. package/dist/systems/Platform/VideoControls/VideoControls.js +1 -1
  230. package/dist/systems/Platform/VideoControls/components/Timeline/Timeline.js +1 -1
  231. package/dist/systems/Platform/VideoControls/components/Timeline/components/Markers/Markers.d.ts +2 -0
  232. package/dist/systems/WebCore/Accordion/Accordion.js +1 -1
  233. package/dist/systems/WebCore/AnnualController/AnnualController.js +1 -1
  234. package/dist/systems/WebCore/AuthFormHeader/AuthFormHeader.js +1 -1
  235. package/dist/systems/WebCore/Badge/Badge.js +1 -1
  236. package/dist/systems/WebCore/Breadcrumb/Breadcrumb.js +1 -1
  237. package/dist/systems/WebCore/ButtonTabGroup/ButtonTabGroup.js +1 -1
  238. package/dist/systems/WebCore/ExpandableTypographyClamp/ExpandableTypographyClamp.d.ts +2 -2
  239. package/dist/systems/WebCore/ExpandableTypographyClamp/ExpandableTypographyClamp.js +1 -1
  240. package/dist/systems/WebCore/ExpandableTypographyClamp/components/ExpandCollapseButton/ExpandCollapseButton.js +1 -1
  241. package/dist/systems/WebCore/FormGenerator/components/StengthIndicator/StrengthIndicator.js +1 -1
  242. package/dist/systems/WebCore/FormGenerator/types.d.ts +1 -0
  243. package/dist/systems/WebCore/GridOverlay/GridOverlay.js +1 -1
  244. package/dist/systems/WebCore/HtmlParser/HtmlParser.d.ts +2 -2
  245. package/dist/systems/WebCore/HtmlParser/HtmlParser.js +1 -1
  246. package/dist/systems/WebCore/InputFieldBase/InputFieldBase.d.ts +1 -1
  247. package/dist/systems/WebCore/KbdGroup/Kbd.js +1 -1
  248. package/dist/systems/WebCore/KbdGroup/KbdGroup.d.ts +3 -3
  249. package/dist/systems/WebCore/KbdGroup/KbdGroup.js +1 -1
  250. package/dist/systems/WebCore/KeyValueLabel/KeyValueLabel.js +1 -1
  251. package/dist/systems/WebCore/Markdown/Markdown.d.ts +2 -2
  252. package/dist/systems/WebCore/Markdown/Markdown.js +1 -1
  253. package/dist/systems/WebCore/Menu/MenuItem.js +1 -1
  254. package/dist/systems/WebCore/ModalLayout/ModalLayout.js +1 -1
  255. package/dist/systems/WebCore/NavigationButton/NavigationButton.js +1 -1
  256. package/dist/systems/WebCore/Nudge/NudgeBox.js +1 -1
  257. package/dist/systems/WebCore/Pill/Pill.js +1 -1
  258. package/dist/systems/WebCore/Select/Select.js +1 -1
  259. package/dist/systems/WebCore/Text/Text.d.ts +6 -0
  260. package/dist/systems/WebCore/Text/Text.helpers.js +1 -0
  261. package/dist/systems/WebCore/Text/Text.js +1 -0
  262. package/dist/systems/WebCore/Text/types.d.ts +38 -0
  263. package/dist/systems/WebCore/TextBarDivider/TextBarDivider.d.ts +2 -2
  264. package/dist/systems/WebCore/TextBarDivider/TextBarDivider.js +1 -1
  265. package/dist/systems/WebCore/Toast/Toast.js +1 -1
  266. package/dist/systems/WebCore/TrialCard/TrialCard.js +1 -1
  267. package/dist/systems/WebCore/Typography/Typography.d.ts +1 -1
  268. package/dist/systems/WebCore/UserMenu/UserMenuButton.js +1 -1
  269. package/dist/systems/WebCore/utils/typography.util.js +1 -1
  270. package/package.json +1 -4
  271. package/dist/esm/node_modules/uuid/dist/esm-browser/native.js +0 -1
  272. package/dist/esm/node_modules/uuid/dist/esm-browser/rng.js +0 -1
  273. package/dist/esm/node_modules/uuid/dist/esm-browser/stringify.js +0 -1
  274. package/dist/esm/node_modules/uuid/dist/esm-browser/v4.js +0 -1
  275. package/dist/node_modules/uuid/dist/esm-browser/native.js +0 -1
  276. package/dist/node_modules/uuid/dist/esm-browser/rng.js +0 -1
  277. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +0 -1
  278. package/dist/node_modules/uuid/dist/esm-browser/v4.js +0 -1
@@ -1 +1 @@
1
- import{jsxs as e,jsx as o}from"react/jsx-runtime";import{forwardRef as r}from"react";import"@mui/material";import t from"../../BrandCore/Icon/Icon.js";import"../../../utils/formValidation/misc.js";import"../../BrandCore/primitiveVariables.js";import"../../WebCore/utils/typography.util.js";import"../../WebCore/AnnualController/AnnualController.js";import"../../WebCore/SelectItem/SelectItem.js";import"../../WebCore/Accordion/Accordion.js";import"../../WebCore/Animations/FadeIn.js";import i from"../../WebCore/Typography/Typography.js";import"@mui/icons-material";import"../../WebCore/AutocompleteBaseField/_partials/AutocompleteListbox.js";import"../../WebCore/AutocompleteBaseField/_partials/StyledPopper.js";import"../../WebCore/AutocompleteBaseField/_partials/StyledAutocompleteField.js";import"../../WebCore/AutocompleteBaseField/_partials/AutocompleteChip.js";import"../../WebCore/AutocompleteBaseField/_partials/StyledAutocompleteInput.js";import"merge-sx";import"../../WebCore/Badge/Badge.js";import"../../WebCore/Breadcrumb/Breadcrumb.js";import"../../WebCore/Button/Button.js";import"../../WebCore/ButtonBase/ButtonBase.js";import"../../WebCore/ButtonTabGroup/_partials/ActiveIndicator.js";import"../../WebCore/ButtonTabGroup/_partials/ButtonTabsWrapper.js";import"../../WebCore/ButtonTabGroup/_partials/TabButton.js";import"../../WebCore/Checkbox/StyledCheckbox.js";import"../../WebCore/InputFieldBase/InputFieldBase.js";import"../../WebCore/CreatableAutocomplete/CreatableAutocomplete.js";import"../../WebCore/InputLabelBase/StyledInputLabelBase.js";import"../../WebCore/Differential/DifferentialContainer.js";import"../../WebCore/Differential/DifferentialRadio.js";import"../../WebCore/DropdownMenu/StyledMenu.js";import"../../WebCore/ExpandableTypographyClamp/ExpandableTypographyClamp.js";import"../../WebCore/FormGenerator/FormGenerator.js";import"../../WebCore/GridOverlay/GridOverlay.js";import"html-react-parser";import"../../WebCore/IconButton/IconButton.js";import"../../WebCore/IconButtonBase/IconButtonBase.js";import"../../WebCore/IconButtonGroup/IconButtonGroup.js";import"../../WebCore/Image/Image.js";import"../../WebCore/KbdGroup/Kbd.js";import"../../WebCore/KbdGroup/KbdGroup.js";import"../../WebCore/KeyValueLabel/KeyValueLabel.js";import"../../WebCore/Label/Label.js";import"../../WebCore/Likert/LikertContainer.js";import"../../WebCore/Likert/LikertLabel.js";import"../../WebCore/Likert/LikertRadio.js";import"../../WebCore/Link/StyledLink.js";import"@lottiefiles/dotlottie-react";import"../../WebCore/LoopsAiButton/LoopsAiButton.js";import"markdown-to-jsx";import"material-ui-popup-state/hooks";import"../../WebCore/Surface/Surface.js";import"../../WebCore/Menu/MenuItem.js";import"../../WebCore/ModalLayout/_partials/ModalActionsWrapper.js";import"../../WebCore/ModalLayout/_partials/ModalContentWrapper.js";import"../../WebCore/NavigationButton/NavigationButton.js";import"../../WebCore/Nudge/NudgeButton.js";import"../../WebCore/NumberField/NumberField.js";import"../../BrandCore/colorRamps.js";import"../../BrandCore/semanticColor.js";import"../../BrandCore/types.js";import"../../BrandCore/typography.js";import"../../WebCore/Progress/Progress.js";import"../../WebCore/Pill/StyledPill.js";import"../../WebCore/ProgressBar/ProgressBar.js";import"../../WebCore/Radio/StyledRadio.js";import"../../WebCore/Select/StyledSelect.js";import"../../WebCore/RankItem/RankItemContainer.js";import"../../WebCore/RankItem/RankItemLabel.js";import"../../WebCore/SortableList/SortableList.js";import"../../WebCore/SortableList/components/SortableItem/SortableItem.js";import"../../WebCore/SortableList/components/SortableOverlay/SortableOverlay.js";import"@tiptap/extension-placeholder";import"@tiptap/starter-kit";import"mui-tiptap";import"../../WebCore/RichTextField/StyledRichTextEditor.js";import"../../WebCore/Skeleton/Skeleton.js";import"../../WebCore/Slider/StyledSlider.js";import"../../WebCore/StarRating/StarRating.js";import"../../WebCore/Switch/StyledSwitch.js";import"../../WebCore/Textarea/Textarea.js";import"../../WebCore/TrialCard/TrialCardContainers.js";import"../../WebCore/TrialCard/TrialPill.js";import"../../WebCore/UserMenu/UserMenuButton.js";import"../../WebCore/VideoModal/VideoModal.js";import{StyledTestStatus as a}from"./_partials/StyledBox/StyledBox.js";import{getStatusIconName as p,getStatusText as s}from"./helpers/index.js";const m=r(({status:r,sizing:m,...l},n)=>e(a,{ref:n,sizing:m,status:r,...l,children:[o(t,{name:p(r)}),o(i,{component:"p",variation:"sm",children:s(r)})]}));export{m as default};
1
+ import{jsxs as e,jsx as o}from"react/jsx-runtime";import{forwardRef as r}from"react";import"@mui/material";import t from"../../BrandCore/Icon/Icon.js";import"../../../utils/formValidation/misc.js";import"../../BrandCore/primitiveVariables.js";import"../../WebCore/utils/typography.util.js";import"../../WebCore/AnnualController/AnnualController.js";import"../../WebCore/SelectItem/SelectItem.js";import"../../WebCore/Accordion/Accordion.js";import"../../WebCore/Animations/FadeIn.js";import{Text as i}from"../../WebCore/Text/Text.js";import"@mui/icons-material";import"../../WebCore/AutocompleteBaseField/_partials/AutocompleteListbox.js";import"../../WebCore/AutocompleteBaseField/_partials/StyledPopper.js";import"../../WebCore/AutocompleteBaseField/_partials/StyledAutocompleteField.js";import"../../WebCore/AutocompleteBaseField/_partials/AutocompleteChip.js";import"../../WebCore/AutocompleteBaseField/_partials/StyledAutocompleteInput.js";import"merge-sx";import"../../WebCore/Badge/Badge.js";import"../../WebCore/Breadcrumb/Breadcrumb.js";import"../../WebCore/Button/Button.js";import"../../WebCore/ButtonBase/ButtonBase.js";import"../../WebCore/ButtonTabGroup/_partials/ActiveIndicator.js";import"../../WebCore/ButtonTabGroup/_partials/ButtonTabsWrapper.js";import"../../WebCore/ButtonTabGroup/_partials/TabButton.js";import"../../WebCore/Checkbox/StyledCheckbox.js";import"../../WebCore/InputFieldBase/InputFieldBase.js";import"../../WebCore/CreatableAutocomplete/CreatableAutocomplete.js";import"../../WebCore/InputLabelBase/StyledInputLabelBase.js";import"../../WebCore/Differential/DifferentialContainer.js";import"../../WebCore/Differential/DifferentialRadio.js";import"../../WebCore/DropdownMenu/StyledMenu.js";import"../../WebCore/ExpandableTypographyClamp/ExpandableTypographyClamp.js";import"../../WebCore/FormGenerator/FormGenerator.js";import"../../WebCore/GridOverlay/GridOverlay.js";import"html-react-parser";import"../../WebCore/IconButton/IconButton.js";import"../../WebCore/IconButtonBase/IconButtonBase.js";import"../../WebCore/IconButtonGroup/IconButtonGroup.js";import"../../WebCore/Image/Image.js";import"../../WebCore/KbdGroup/Kbd.js";import"../../WebCore/KbdGroup/KbdGroup.js";import"../../WebCore/KeyValueLabel/KeyValueLabel.js";import"../../WebCore/Label/Label.js";import"../../WebCore/Likert/LikertContainer.js";import"../../WebCore/Likert/LikertLabel.js";import"../../WebCore/Likert/LikertRadio.js";import"../../WebCore/Link/StyledLink.js";import"@lottiefiles/dotlottie-react";import"../../WebCore/LoopsAiButton/LoopsAiButton.js";import"markdown-to-jsx";import"material-ui-popup-state/hooks";import"../../WebCore/Surface/Surface.js";import"../../WebCore/Menu/MenuItem.js";import"../../WebCore/ModalLayout/_partials/ModalActionsWrapper.js";import"../../WebCore/ModalLayout/_partials/ModalContentWrapper.js";import"../../WebCore/NavigationButton/NavigationButton.js";import"../../WebCore/Nudge/NudgeButton.js";import"../../WebCore/NumberField/NumberField.js";import"../../BrandCore/colorRamps.js";import"../../BrandCore/semanticColor.js";import"../../BrandCore/types.js";import"../../BrandCore/typography.js";import"../../WebCore/Progress/Progress.js";import"../../WebCore/Pill/StyledPill.js";import"../../WebCore/ProgressBar/ProgressBar.js";import"../../WebCore/Radio/StyledRadio.js";import"../../WebCore/Select/StyledSelect.js";import"../../WebCore/RankItem/RankItemContainer.js";import"../../WebCore/RankItem/RankItemLabel.js";import"../../WebCore/SortableList/SortableList.js";import"../../WebCore/SortableList/components/SortableItem/SortableItem.js";import"../../WebCore/SortableList/components/SortableOverlay/SortableOverlay.js";import"@tiptap/extension-placeholder";import"@tiptap/starter-kit";import"mui-tiptap";import"../../WebCore/RichTextField/StyledRichTextEditor.js";import"../../WebCore/Skeleton/Skeleton.js";import"../../WebCore/Slider/StyledSlider.js";import"../../WebCore/StarRating/StarRating.js";import"../../WebCore/Switch/StyledSwitch.js";import"../../WebCore/Textarea/Textarea.js";import"../../WebCore/TrialCard/TrialCardContainers.js";import"../../WebCore/TrialCard/TrialPill.js";import"../../WebCore/Typography/Typography.js";import"../../WebCore/UserMenu/UserMenuButton.js";import"../../WebCore/VideoModal/VideoModal.js";import{StyledTestStatus as a}from"./_partials/StyledBox/StyledBox.js";import{getStatusIconName as p,getStatusText as s}from"./helpers/index.js";const m=r(({status:r,sizing:m,...l},n)=>e(a,{ref:n,sizing:m,status:r,...l,children:[o(t,{name:p(r)}),o(i,{size:"sm",children:s(r)})]}));export{m as default};
@@ -1 +1 @@
1
- import{jsxs as e,jsx as r}from"react/jsx-runtime";import{forwardRef as t,useState as o,useEffect as i,useCallback as n,useImperativeHandle as a,memo as s}from"react";import{styled as m,Stack as l}from"@mui/material";import d from"@use-it/event-listener";import{normaliseFloat as p}from"../../../utils/normaliseFloat.js";import"../../../utils/formValidation/misc.js";import"../../BrandCore/Icon/Icon.js";import"../../BrandCore/primitiveVariables.js";import"../../WebCore/utils/typography.util.js";import"../../WebCore/AnnualController/AnnualController.js";import"../../WebCore/SelectItem/SelectItem.js";import"../../WebCore/Accordion/Accordion.js";import"../../WebCore/Animations/FadeIn.js";import"../../WebCore/Typography/Typography.js";import"@mui/icons-material";import"../../WebCore/AutocompleteBaseField/_partials/AutocompleteListbox.js";import"../../WebCore/AutocompleteBaseField/_partials/StyledPopper.js";import"../../WebCore/AutocompleteBaseField/_partials/StyledAutocompleteField.js";import"../../WebCore/AutocompleteBaseField/_partials/AutocompleteChip.js";import"../../WebCore/AutocompleteBaseField/_partials/StyledAutocompleteInput.js";import"merge-sx";import"../../WebCore/Badge/Badge.js";import"../../WebCore/Breadcrumb/Breadcrumb.js";import"../../WebCore/Button/Button.js";import"../../WebCore/ButtonBase/ButtonBase.js";import"../../WebCore/ButtonTabGroup/_partials/ActiveIndicator.js";import"../../WebCore/ButtonTabGroup/_partials/ButtonTabsWrapper.js";import"../../WebCore/ButtonTabGroup/_partials/TabButton.js";import"../../WebCore/Checkbox/StyledCheckbox.js";import"../../WebCore/InputFieldBase/InputFieldBase.js";import"../../WebCore/CreatableAutocomplete/CreatableAutocomplete.js";import"../../WebCore/InputLabelBase/StyledInputLabelBase.js";import"../../WebCore/Differential/DifferentialContainer.js";import"../../WebCore/Differential/DifferentialRadio.js";import"../../WebCore/DropdownMenu/StyledMenu.js";import"../../WebCore/ExpandableTypographyClamp/ExpandableTypographyClamp.js";import"../../WebCore/FormGenerator/FormGenerator.js";import"../../WebCore/GridOverlay/GridOverlay.js";import"html-react-parser";import"../../WebCore/IconButton/IconButton.js";import"../../WebCore/IconButtonBase/IconButtonBase.js";import"../../WebCore/IconButtonGroup/IconButtonGroup.js";import"../../WebCore/Image/Image.js";import"../../WebCore/KbdGroup/Kbd.js";import"../../WebCore/KbdGroup/KbdGroup.js";import"../../WebCore/KeyValueLabel/KeyValueLabel.js";import"../../WebCore/Label/Label.js";import"../../WebCore/Likert/LikertContainer.js";import"../../WebCore/Likert/LikertLabel.js";import"../../WebCore/Likert/LikertRadio.js";import"../../WebCore/Link/StyledLink.js";import"@lottiefiles/dotlottie-react";import"../../WebCore/LoopsAiButton/LoopsAiButton.js";import"markdown-to-jsx";import"material-ui-popup-state/hooks";import u from"../../WebCore/Surface/Surface.js";import"../../WebCore/Menu/MenuItem.js";import"../../WebCore/ModalLayout/_partials/ModalActionsWrapper.js";import"../../WebCore/ModalLayout/_partials/ModalContentWrapper.js";import"../../WebCore/NavigationButton/NavigationButton.js";import"../../WebCore/Nudge/NudgeButton.js";import"../../WebCore/NumberField/NumberField.js";import"../../BrandCore/colorRamps.js";import"../../BrandCore/semanticColor.js";import"../../BrandCore/types.js";import"../../BrandCore/typography.js";import"../../WebCore/Progress/Progress.js";import"../../WebCore/Pill/StyledPill.js";import"../../WebCore/ProgressBar/ProgressBar.js";import"../../WebCore/Radio/StyledRadio.js";import"../../WebCore/Select/StyledSelect.js";import"../../WebCore/RankItem/RankItemContainer.js";import"../../WebCore/RankItem/RankItemLabel.js";import"../../WebCore/SortableList/SortableList.js";import"../../WebCore/SortableList/components/SortableItem/SortableItem.js";import"../../WebCore/SortableList/components/SortableOverlay/SortableOverlay.js";import"@tiptap/extension-placeholder";import"@tiptap/starter-kit";import"mui-tiptap";import"../../WebCore/RichTextField/StyledRichTextEditor.js";import"../../WebCore/Skeleton/Skeleton.js";import"../../WebCore/Slider/StyledSlider.js";import"../../WebCore/StarRating/StarRating.js";import"../../WebCore/Switch/StyledSwitch.js";import"../../WebCore/Textarea/Textarea.js";import"../../WebCore/TrialCard/TrialCardContainers.js";import"../../WebCore/TrialCard/TrialPill.js";import"../../WebCore/UserMenu/UserMenuButton.js";import"../../WebCore/VideoModal/VideoModal.js";import b from"./components/ActionButton/ActionButton.js";import c from"./components/Timeline/Timeline.js";const C=m(u)(({theme:e})=>({display:"flex",flex:1,padding:e.spacing(e.custom.padding.md),borderColor:e.custom.palette.stroke.light,borderWidth:1,gap:e.spacing(e.custom.padding.sm),borderStyle:"solid",flexDirection:"column"})),f=m(l)(({theme:e})=>({alignItems:"center",gap:e.spacing(e.custom.padding.md),justifyContent:"space-between",flexDirection:"row",flex:1})),g=s(t(({id:t,videoElement:s,initialEndTime:m=0,initialCurrentTime:l=0,initialMuted:u,initialVolume:g,markers:j,options:y,slots:W,events:{onEnd:T,onPlay:B,onSeekEnd:k,onSeeking:v,onSeekStart:S,onTimeUpdate:h,onPause:I,onVolumeChange:E,onVolumeMute:L,onRestart:P,onFirstPlay:x,onFirstEnded:A,onReset:w}={},videoSeekTime:M,slotProps:F},R)=>{const[G,V]=o(!1),[_,D]=o([]),K={rtl:!1,volumeControls:!0,normaliseTime:!1,markerIndicatorMode:"time",markerIndicator:!1,markerIndicatorSize:3,volumeControlsType:"mute",disableBufferingEvents:!1,...y},[{seeking:N,endTime:O,currentTime:z,playing:U,buffering:q,loaded:H,ended:J,volume:Q,muted:X,startTime:Y,firstPlay:Z,firstEnded:$},ee]=o({startTime:p(K.normaliseTime?l:0),endTime:p(K.normaliseTime?m:s.duration),currentTime:p(l??0),loaded:!0,ended:!1,firstPlay:!1,firstEnded:!1,seeking:!1,playing:!1,volume:g||1,muted:u||!1,buffering:!1});i(()=>{if(s.muted=X,s.volume=Q,K.normaliseTime&&(void 0===m||void 0===l))throw new Error("Please supply an initial end time and initial currentTime for normalising time in VideoControls.tsx");return()=>{ue()}},[]),i(()=>{ee(e=>({...e,startTime:p(K.normaliseTime?l:0),endTime:p(K.normaliseTime?m:s.duration),currentTime:p(l??0)})),s.currentTime=p(l??0)},[l,m]);const re=n(()=>{ee(e=>({...e,playing:!1,ended:!0,...!$&&{firstEnded:!0}})),T&&T(),!$&&A&&A()},[$]);i(()=>{if(!s||null==M)return;(async()=>{const e=!s.paused,r=M===O;ee(e=>({...e,playing:!1,currentTime:p(M)})),await new Promise(e=>{const r=()=>{s.removeEventListener("seeked",r),e()};s.addEventListener("seeked",r),setTimeout(e,500)}),ee(e=>({...e,currentTime:p(M)})),await new Promise(e=>setTimeout(e,50)),ee(t=>({...t,playing:e,currentTime:p(r?M-.001:M+.001)}))})().catch(e=>{console.error("Error seeking video:",e)})},[M,s]);const te=n(e=>{ee(r=>({...r,muted:e.target?.muted,volume:"number"==typeof e.target?.volume?e.target?.volume:1})),X!==e.target?.muted&&L&&L(!X),Q!==e.target?.volume&&E&&E(Q)},[X,Q]),oe=n(()=>{const e=p(s.currentTime)>=O&&O!==p(s.duration)&&!J,r=p(s.currentTime)>=O&&O===p(s.duration)&&!J&&!U;(e||r)&&(s.pause(),s.dispatchEvent(new Event("ended"))),ee(e=>({...e,currentTime:p(s.currentTime)})),h&&h(p(s.currentTime))},[O,J,U]),ie=n(()=>{ee(e=>({...e,playing:!1})),I&&I()},[z]),ne=n(()=>{ee(e=>({...e,playing:!0,ended:!1,...!K?.disableBufferingEvents&&{buffering:!1},...!Z&&{firstPlay:!0}})),!Z&&x&&x(),B&&B()},[Z,K?.disableBufferingEvents]),ae=n(()=>{K?.disableBufferingEvents||ee(e=>({...e,buffering:!0}))},[K?.disableBufferingEvents]),se=n(()=>{K?.disableBufferingEvents||ee(e=>({...e,buffering:!1}))},[q,K?.disableBufferingEvents]),me=n(()=>{if(K?.disableBufferingEvents)return;const e=[];for(let r=0;r<s.buffered.length;r++){const t=s.buffered.start(r),o=s.buffered.end(r);if(o>=Y&&t<=O){const r=Math.max(t,Y),i=Math.min(o,O);e.push({start:r-Y,end:i-Y,startPercent:(r-Y)/(O-Y)*100,widthPercent:(i-r)/(O-Y)*100})}}D(e)},[N,O,z,U,q,H,J,Q,X,Y,_,K?.disableBufferingEvents]),le=n(async e=>{U&&ue(),s.currentTime=Y,e&&await pe(),P&&P()},[U,z,Y,O,J]),de=n(async()=>{U&&ue(),s.currentTime=Y,ee(e=>({...e,startTime:p(K.normaliseTime?l:0),endTime:p(K.normaliseTime?m:s.duration),currentTime:p(l??0),loaded:!0,ended:!1,firstPlay:!1,firstEnded:!1,seeking:!1,playing:!1})),w&&w()},[U,z,Y,O,J,l,m]),pe=async()=>{await s.play()},ue=()=>{s.pause()},be=n(e=>{s.currentTime=p(e),ee(r=>({...r,currentTime:p(e),ended:!1,seeking:!0,...!K?.disableBufferingEvents&&{buffering:!1},firstPlay:!Z||r.firstPlay,bufferProgress:e})),v&&v(e),!Z&&x&&x()},[q,Z,K?.disableBufferingEvents]),ce=n(async()=>{document.hidden?U&&!s.paused?(V(!0),ue()):V(!1):(G&&!U&&await pe(),V(!1))},[U,G,ue,pe,s]),Ce=n(e=>{e&&s.pause(),ee(e=>({...e,seeking:!0})),S&&S()},[J]),fe=n(async(e,r,t)=>{r&&(s.currentTime=r),e&&!J&&await s.play(),t&&U&&s.pause(),ee(e=>({...e,...r?{currentTime:r}:{},ended:!t&&e.ended,seeking:!1})),k&&k(r)},[U,J,q,N]);return d("visibilitychange",ce,document),d("pause",ie,s),d("playing",ne,s),d("timeupdate",oe,s),d("ended",re,s),d("volumechange",te,s),d("waiting",ae,s),d("canplay",se,s),d("progress",me,s),a(R,()=>({play:pe,pause:ue,restart:le,reset:de,seek:(e,r,t)=>fe(r,e,t),videoState:{seeking:N,endTime:O,currentTime:z,playing:U,buffering:q,loaded:H,ended:J,volume:Q,firstPlay:Z,firstEnded:$,muted:X,startTime:Y}})),e(C,{variation:"raised",borderradius:"xl",id:t,sx:F?.paperContainer?.sx,children:[e(f,{...K?.rtl&&{dir:"rtl"},children:[r(b,{seeking:N,playing:U,ended:J,buffering:q,handleAction:async()=>{J?await le(!0):U?ue():await pe()}}),r(c,{handleSeeking:be,handleSeekEnd:fe,handleSeekStart:Ce,ended:J,marker:W?.marker,markers:j,markerIndicatorMode:K.markerIndicatorMode,markerIndicatorSize:K.markerIndicatorSize,markerIndicator:K.markerIndicator,startTime:K.normaliseTime?Y:0,currentTime:z,endTime:O,playing:U,bufferRanges:_,buffering:q,volume:Q,muted:X,volumeControls:K.volumeControls,volumeControlsType:K.volumeControlsType,handleVolumeMute:()=>{s.muted=!X},handleVolumeChange:e=>{s.volume=e,X&&(s.muted=!1)}})]}),W?.bottom]})}));export{g as default};
1
+ import{jsxs as e,jsx as r}from"react/jsx-runtime";import{forwardRef as t,useState as o,useEffect as i,useCallback as n,useImperativeHandle as a,memo as s}from"react";import{styled as m,Stack as l}from"@mui/material";import d from"@use-it/event-listener";import{normaliseFloat as p}from"../../../utils/normaliseFloat.js";import"../../../utils/formValidation/misc.js";import"../../BrandCore/Icon/Icon.js";import"../../BrandCore/primitiveVariables.js";import"../../WebCore/utils/typography.util.js";import"../../WebCore/AnnualController/AnnualController.js";import"../../WebCore/SelectItem/SelectItem.js";import"../../WebCore/Accordion/Accordion.js";import"../../WebCore/Animations/FadeIn.js";import"../../WebCore/Text/Text.js";import"@mui/icons-material";import"../../WebCore/AutocompleteBaseField/_partials/AutocompleteListbox.js";import"../../WebCore/AutocompleteBaseField/_partials/StyledPopper.js";import"../../WebCore/AutocompleteBaseField/_partials/StyledAutocompleteField.js";import"../../WebCore/AutocompleteBaseField/_partials/AutocompleteChip.js";import"../../WebCore/AutocompleteBaseField/_partials/StyledAutocompleteInput.js";import"merge-sx";import"../../WebCore/Badge/Badge.js";import"../../WebCore/Breadcrumb/Breadcrumb.js";import"../../WebCore/Button/Button.js";import"../../WebCore/ButtonBase/ButtonBase.js";import"../../WebCore/ButtonTabGroup/_partials/ActiveIndicator.js";import"../../WebCore/ButtonTabGroup/_partials/ButtonTabsWrapper.js";import"../../WebCore/ButtonTabGroup/_partials/TabButton.js";import"../../WebCore/Checkbox/StyledCheckbox.js";import"../../WebCore/InputFieldBase/InputFieldBase.js";import"../../WebCore/CreatableAutocomplete/CreatableAutocomplete.js";import"../../WebCore/InputLabelBase/StyledInputLabelBase.js";import"../../WebCore/Differential/DifferentialContainer.js";import"../../WebCore/Differential/DifferentialRadio.js";import"../../WebCore/DropdownMenu/StyledMenu.js";import"../../WebCore/ExpandableTypographyClamp/ExpandableTypographyClamp.js";import"../../WebCore/FormGenerator/FormGenerator.js";import"../../WebCore/GridOverlay/GridOverlay.js";import"html-react-parser";import"../../WebCore/IconButton/IconButton.js";import"../../WebCore/IconButtonBase/IconButtonBase.js";import"../../WebCore/IconButtonGroup/IconButtonGroup.js";import"../../WebCore/Image/Image.js";import"../../WebCore/KbdGroup/Kbd.js";import"../../WebCore/KbdGroup/KbdGroup.js";import"../../WebCore/KeyValueLabel/KeyValueLabel.js";import"../../WebCore/Label/Label.js";import"../../WebCore/Likert/LikertContainer.js";import"../../WebCore/Likert/LikertLabel.js";import"../../WebCore/Likert/LikertRadio.js";import"../../WebCore/Link/StyledLink.js";import"@lottiefiles/dotlottie-react";import"../../WebCore/LoopsAiButton/LoopsAiButton.js";import"markdown-to-jsx";import"material-ui-popup-state/hooks";import u from"../../WebCore/Surface/Surface.js";import"../../WebCore/Menu/MenuItem.js";import"../../WebCore/ModalLayout/_partials/ModalActionsWrapper.js";import"../../WebCore/ModalLayout/_partials/ModalContentWrapper.js";import"../../WebCore/NavigationButton/NavigationButton.js";import"../../WebCore/Nudge/NudgeButton.js";import"../../WebCore/NumberField/NumberField.js";import"../../BrandCore/colorRamps.js";import"../../BrandCore/semanticColor.js";import"../../BrandCore/types.js";import"../../BrandCore/typography.js";import"../../WebCore/Progress/Progress.js";import"../../WebCore/Pill/StyledPill.js";import"../../WebCore/ProgressBar/ProgressBar.js";import"../../WebCore/Radio/StyledRadio.js";import"../../WebCore/Select/StyledSelect.js";import"../../WebCore/RankItem/RankItemContainer.js";import"../../WebCore/RankItem/RankItemLabel.js";import"../../WebCore/SortableList/SortableList.js";import"../../WebCore/SortableList/components/SortableItem/SortableItem.js";import"../../WebCore/SortableList/components/SortableOverlay/SortableOverlay.js";import"@tiptap/extension-placeholder";import"@tiptap/starter-kit";import"mui-tiptap";import"../../WebCore/RichTextField/StyledRichTextEditor.js";import"../../WebCore/Skeleton/Skeleton.js";import"../../WebCore/Slider/StyledSlider.js";import"../../WebCore/StarRating/StarRating.js";import"../../WebCore/Switch/StyledSwitch.js";import"../../WebCore/Textarea/Textarea.js";import"../../WebCore/TrialCard/TrialCardContainers.js";import"../../WebCore/TrialCard/TrialPill.js";import"../../WebCore/Typography/Typography.js";import"../../WebCore/UserMenu/UserMenuButton.js";import"../../WebCore/VideoModal/VideoModal.js";import b from"./components/ActionButton/ActionButton.js";import c from"./components/Timeline/Timeline.js";const C=m(u)(({theme:e})=>({display:"flex",flex:1,padding:e.spacing(e.custom.padding.md),borderColor:e.custom.palette.stroke.light,borderWidth:1,gap:e.spacing(e.custom.padding.sm),borderStyle:"solid",flexDirection:"column"})),f=m(l)(({theme:e})=>({alignItems:"center",gap:e.spacing(e.custom.padding.md),justifyContent:"space-between",flexDirection:"row",flex:1})),g=s(t(({id:t,videoElement:s,initialEndTime:m=0,initialCurrentTime:l=0,initialMuted:u,initialVolume:g,markers:j,options:y,slots:T,events:{onEnd:W,onPlay:B,onSeekEnd:k,onSeeking:v,onSeekStart:S,onTimeUpdate:h,onPause:I,onVolumeChange:E,onVolumeMute:L,onRestart:x,onFirstPlay:P,onFirstEnded:A,onReset:w}={},videoSeekTime:M,slotProps:F},R)=>{const[G,V]=o(!1),[_,D]=o([]),K={rtl:!1,volumeControls:!0,normaliseTime:!1,markerIndicatorMode:"time",markerIndicator:!1,markerIndicatorSize:3,volumeControlsType:"mute",disableBufferingEvents:!1,...y},[{seeking:N,endTime:O,currentTime:z,playing:U,buffering:q,loaded:H,ended:J,volume:Q,muted:X,startTime:Y,firstPlay:Z,firstEnded:$},ee]=o({startTime:p(K.normaliseTime?l:0),endTime:p(K.normaliseTime?m:s.duration),currentTime:p(l??0),loaded:!0,ended:!1,firstPlay:!1,firstEnded:!1,seeking:!1,playing:!1,volume:g||1,muted:u||!1,buffering:!1});i(()=>{if(s.muted=X,s.volume=Q,K.normaliseTime&&(void 0===m||void 0===l))throw new Error("Please supply an initial end time and initial currentTime for normalising time in VideoControls.tsx");return()=>{ue()}},[]),i(()=>{ee(e=>({...e,startTime:p(K.normaliseTime?l:0),endTime:p(K.normaliseTime?m:s.duration),currentTime:p(l??0)})),s.currentTime=p(l??0)},[l,m]);const re=n(()=>{ee(e=>({...e,playing:!1,ended:!0,...!$&&{firstEnded:!0}})),W&&W(),!$&&A&&A()},[$]);i(()=>{if(!s||null==M)return;(async()=>{const e=!s.paused,r=M===O;ee(e=>({...e,playing:!1,currentTime:p(M)})),await new Promise(e=>{const r=()=>{s.removeEventListener("seeked",r),e()};s.addEventListener("seeked",r),setTimeout(e,500)}),ee(e=>({...e,currentTime:p(M)})),await new Promise(e=>setTimeout(e,50)),ee(t=>({...t,playing:e,currentTime:p(r?M-.001:M+.001)}))})().catch(e=>{console.error("Error seeking video:",e)})},[M,s]);const te=n(e=>{ee(r=>({...r,muted:e.target?.muted,volume:"number"==typeof e.target?.volume?e.target?.volume:1})),X!==e.target?.muted&&L&&L(!X),Q!==e.target?.volume&&E&&E(Q)},[X,Q]),oe=n(()=>{const e=p(s.currentTime)>=O&&O!==p(s.duration)&&!J,r=p(s.currentTime)>=O&&O===p(s.duration)&&!J&&!U;(e||r)&&(s.pause(),s.dispatchEvent(new Event("ended"))),ee(e=>({...e,currentTime:p(s.currentTime)})),h&&h(p(s.currentTime))},[O,J,U]),ie=n(()=>{ee(e=>({...e,playing:!1})),I&&I()},[z]),ne=n(()=>{ee(e=>({...e,playing:!0,ended:!1,...!K?.disableBufferingEvents&&{buffering:!1},...!Z&&{firstPlay:!0}})),!Z&&P&&P(),B&&B()},[Z,K?.disableBufferingEvents]),ae=n(()=>{K?.disableBufferingEvents||ee(e=>({...e,buffering:!0}))},[K?.disableBufferingEvents]),se=n(()=>{K?.disableBufferingEvents||ee(e=>({...e,buffering:!1}))},[q,K?.disableBufferingEvents]),me=n(()=>{if(K?.disableBufferingEvents)return;const e=[];for(let r=0;r<s.buffered.length;r++){const t=s.buffered.start(r),o=s.buffered.end(r);if(o>=Y&&t<=O){const r=Math.max(t,Y),i=Math.min(o,O);e.push({start:r-Y,end:i-Y,startPercent:(r-Y)/(O-Y)*100,widthPercent:(i-r)/(O-Y)*100})}}D(e)},[N,O,z,U,q,H,J,Q,X,Y,_,K?.disableBufferingEvents]),le=n(async e=>{U&&ue(),s.currentTime=Y,e&&await pe(),x&&x()},[U,z,Y,O,J]),de=n(async()=>{U&&ue(),s.currentTime=Y,ee(e=>({...e,startTime:p(K.normaliseTime?l:0),endTime:p(K.normaliseTime?m:s.duration),currentTime:p(l??0),loaded:!0,ended:!1,firstPlay:!1,firstEnded:!1,seeking:!1,playing:!1})),w&&w()},[U,z,Y,O,J,l,m]),pe=async()=>{await s.play()},ue=()=>{s.pause()},be=n(e=>{s.currentTime=p(e),ee(r=>({...r,currentTime:p(e),ended:!1,seeking:!0,...!K?.disableBufferingEvents&&{buffering:!1},firstPlay:!Z||r.firstPlay,bufferProgress:e})),v&&v(e),!Z&&P&&P()},[q,Z,K?.disableBufferingEvents]),ce=n(async()=>{document.hidden?U&&!s.paused?(V(!0),ue()):V(!1):(G&&!U&&await pe(),V(!1))},[U,G,ue,pe,s]),Ce=n(e=>{e&&s.pause(),ee(e=>({...e,seeking:!0})),S&&S()},[J]),fe=n(async(e,r,t)=>{r&&(s.currentTime=r),e&&!J&&await s.play(),t&&U&&s.pause(),ee(e=>({...e,...r?{currentTime:r}:{},ended:!t&&e.ended,seeking:!1})),k&&k(r)},[U,J,q,N]);return d("visibilitychange",ce,document),d("pause",ie,s),d("playing",ne,s),d("timeupdate",oe,s),d("ended",re,s),d("volumechange",te,s),d("waiting",ae,s),d("canplay",se,s),d("progress",me,s),a(R,()=>({play:pe,pause:ue,restart:le,reset:de,seek:(e,r,t)=>fe(r,e,t),videoState:{seeking:N,endTime:O,currentTime:z,playing:U,buffering:q,loaded:H,ended:J,volume:Q,firstPlay:Z,firstEnded:$,muted:X,startTime:Y}})),e(C,{variation:"raised",borderradius:"xl",id:t,sx:F?.paperContainer?.sx,children:[e(f,{...K?.rtl&&{dir:"rtl"},children:[r(b,{seeking:N,playing:U,ended:J,buffering:q,handleAction:async()=>{J?await le(!0):U?ue():await pe()}}),r(c,{handleSeeking:be,handleSeekEnd:fe,handleSeekStart:Ce,ended:J,marker:T?.marker,markers:j,markerIndicatorMode:K.markerIndicatorMode,markerIndicatorSize:K.markerIndicatorSize,markerIndicator:K.markerIndicator,startTime:K.normaliseTime?Y:0,currentTime:z,endTime:O,playing:U,bufferRanges:_,buffering:q,volume:Q,muted:X,volumeControls:K.volumeControls,volumeControlsType:K.volumeControlsType,handleVolumeMute:()=>{s.muted=!X},handleVolumeChange:e=>{s.volume=e,X&&(s.muted=!1)}})]}),T?.bottom]})}));export{g as default};
@@ -1 +1 @@
1
- import{jsxs as e,jsx as t}from"react/jsx-runtime";import{styled as o,Stack as r,Box as n}from"@mui/material";import{memo as a,useState as m,useCallback as i}from"react";import{formatTime as l}from"../../../../../utils/formatTime.js";import s from"../../../../WebCore/Typography/Typography.js";import d from"./components/Markers/Markers.js";import p from"./components/Scrubber/Scrubber.js";import u from"./components/VolumeControls/VolumeControls.js";const c=o(r)({flex:1,position:"relative"}),h=o(r)(({theme:e})=>({ml:"auto",alignItems:"center",position:"absolute",width:"100%",overflow:"hidden",right:0,bottom:8,gap:e.spacing(e.custom.margin.xs)})),g=o(s)(({theme:e})=>({color:e.custom.palette.text.secondary,textOverflow:"ellipsis",overflow:"hidden",textWrap:"nowrap",marginLeft:"auto"})),f=o(n)(({theme:e})=>({position:"relative",width:"100%",display:"flex",gap:e.spacing(e.custom.margin.xs),alignItems:"center"})),k=o(n)(({theme:e,left:t,width:o})=>({background:e.custom.palette.neutral[300],height:4,position:"absolute",left:`${t}%`,pointerEvents:"none",top:"50%",transform:"translateY(-50%)",borderRadius:e.custom.radius.round,width:`${o}%`})),v=a(({startTime:o,currentTime:r,endTime:n,playing:a,markerIndicator:s,bufferRanges:v,handleSeeking:T,handleSeekEnd:w,handleSeekStart:b,markers:C,marker:x,markerIndicatorMode:y,markerIndicatorSize:S,volume:I,muted:M,handleVolumeMute:j,handleVolumeChange:V,volumeControlsType:P,volumeControls:E})=>{const[z,R]=m(a),W=i((e,t)=>{e.stopPropagation(),T?.(t)},[T]),$=i((e,t)=>{e.stopPropagation(),w?.(z),z&&R(!1)},[z,w]),D=i(e=>{e.stopPropagation(),a&&R(a),b?.(a)},[a,b]),L=i(()=>{a&&R(a),b?.(a)},[a,b]),O=i(()=>{w?.(z),z&&R(!1)},[z,w]);return e(c,{children:[e(h,{direction:"row",children:[e(g,{component:"p",variation:"md",children:[l(r-o)," / ",l(n-o)]}),E&&t(u,{volume:I,muted:M,handleVolumeMute:j,handleVolumeChange:V,volumeControlsType:P})]}),v.length>0&&v.map(({startPercent:e,widthPercent:o},r)=>t(k,{left:e,width:o},r)),e(f,{children:[t(p,{step:.05,value:r,max:n,min:o,onChangeCommitted:$,onMouseDown:D,onChange:W,onTouchStart:L,onTouchEnd:O}),C&&C?.length>0&&t(d,{markerIndicatorMode:y,markerIndicatorSize:S,markerIndicator:s,markers:C,marker:x,startTime:o,currentTime:r,endTime:n})]})]})});export{v as default};
1
+ import{jsxs as e,jsx as t}from"react/jsx-runtime";import{styled as o,Stack as r,Box as n}from"@mui/material";import{memo as a,useState as m,useCallback as i}from"react";import{formatTime as s}from"../../../../../utils/formatTime.js";import{Text as l}from"../../../../WebCore/Text/Text.js";import d from"./components/Markers/Markers.js";import u from"./components/Scrubber/Scrubber.js";import p from"./components/VolumeControls/VolumeControls.js";const c=o(r)({flex:1,position:"relative"}),h=o(r)(({theme:e})=>({ml:"auto",alignItems:"center",position:"absolute",width:"100%",overflow:"hidden",right:0,bottom:8,gap:e.spacing(e.custom.margin.xs)})),g=o(l)(({theme:e})=>({color:e.custom.palette.text.secondary,textOverflow:"ellipsis",overflow:"hidden",textWrap:"nowrap",marginLeft:"auto"})),f=o(n)(({theme:e})=>({position:"relative",width:"100%",display:"flex",gap:e.spacing(e.custom.margin.xs),alignItems:"center"})),k=o(n)(({theme:e,left:t,width:o})=>({background:e.custom.palette.neutral[300],height:4,position:"absolute",left:`${t}%`,pointerEvents:"none",top:"50%",transform:"translateY(-50%)",borderRadius:e.custom.radius.round,width:`${o}%`})),T=a(({startTime:o,currentTime:r,endTime:n,playing:a,markerIndicator:l,bufferRanges:T,handleSeeking:x,handleSeekEnd:v,handleSeekStart:w,markers:b,marker:C,markerIndicatorMode:S,markerIndicatorSize:I,volume:M,muted:j,handleVolumeMute:V,handleVolumeChange:y,volumeControlsType:P,volumeControls:z})=>{const[E,R]=m(a),W=i((e,t)=>{e.stopPropagation(),x?.(t)},[x]),$=i((e,t)=>{e.stopPropagation(),v?.(E),E&&R(!1)},[E,v]),D=i(e=>{e.stopPropagation(),a&&R(a),w?.(a)},[a,w]),L=i(()=>{a&&R(a),w?.(a)},[a,w]),O=i(()=>{v?.(E),E&&R(!1)},[E,v]);return e(c,{children:[e(h,{direction:"row",children:[e(g,{size:"md",children:[s(r-o)," / ",s(n-o)]}),z&&t(p,{volume:M,muted:j,handleVolumeMute:V,handleVolumeChange:y,volumeControlsType:P})]}),T.length>0&&T.map(({startPercent:e,widthPercent:o},r)=>t(k,{left:e,width:o},r)),e(f,{children:[t(u,{step:.05,value:r,max:n,min:o,onChangeCommitted:$,onMouseDown:D,onChange:W,onTouchStart:L,onTouchEnd:O}),b&&b?.length>0&&t(d,{markerIndicatorMode:S,markerIndicatorSize:I,markerIndicator:l,markers:b,marker:C,startTime:o,currentTime:r,endTime:n})]})]})});export{T as default};
@@ -1 +1 @@
1
- import{jsx as e,jsxs as n}from"react/jsx-runtime";import{Accordion as r,AccordionSummary as a,AccordionDetails as i,useTheme as o,Container as t,Grid as c}from"@mui/material";import{styled as d}from"@mui/material/styles";import{useState as p}from"react";import m from"../../BrandCore/Icon/Icon.js";import s from"../Typography/Typography.js";const l=({heading:r,items:a})=>{const{custom:i}=o(),[d,m]=p("");return e(t,{sx:{backgroundColor:i.palette.surface.default,color:i.palette.text.primary},children:n(c,{container:!0,sx:{alignItems:"center",display:"flex",justifyContent:"center",py:{sm:4,lg:6},gap:2},children:[e(c,{size:[12,12,12,8],children:e(s,{variation:"xl",component:"h2",fontWeight:500,sx:{textAlign:"center"},children:r})}),e(c,{size:[12,12,12,8],children:a?.map(r=>{return n(g,{expanded:d===r.heading,onChange:(a=r.heading,(e,n)=>{m(!!n&&a)}),children:[e(h,{"aria-controls":`${r.heading}-content`,id:`${r.heading}-header`,heading:r.heading,children:e(s,{variation:"lg",component:"p",fontWeight:500,children:r.heading})}),e(u,{children:"string"==typeof r.body?e(s,{variation:"lg",component:"p",sx:{whiteSpace:"break-spaces"},children:r.body}):r.body})]},r.heading);var a})})]})})},g=d(n=>e(r,{disableGutters:!0,elevation:0,square:!0,...n}))(()=>({"&.Mui-expanded::before":{opacity:1}})),h=d(n=>e(a,{expandIcon:e(m,{name:"chevron-down",size:24}),...n}))(({theme:e})=>({backgroundColor:e.custom.palette.surface.default,padding:`${e.spacing(1)} ${e.spacing(2)}`,minHeight:"none","& .MuiAccordionSummary-expandIconWrapper":{color:e.custom.palette.text.primary},"& .MuiAccordionSummary-content":{margin:0}})),u=d(i)(({theme:e})=>({padding:`0 ${e.spacing(2)} ${e.spacing(4)}`}));export{u as AccordionDetails,h as AccordionSummary,l as default};
1
+ import{jsx as e,jsxs as r}from"react/jsx-runtime";import{Accordion as n,AccordionSummary as a,AccordionDetails as i,useTheme as o,Container as t,Grid as c}from"@mui/material";import{styled as d}from"@mui/material/styles";import{useState as s}from"react";import l from"../../BrandCore/Icon/Icon.js";import{Text as m}from"../Text/Text.js";const p=({heading:n,items:a})=>{const{custom:i}=o(),[d,l]=s("");return e(t,{sx:{backgroundColor:i.palette.surface.default,color:i.palette.text.primary},children:r(c,{container:!0,sx:{alignItems:"center",display:"flex",justifyContent:"center",py:{sm:4,lg:6},gap:2},children:[e(c,{size:[12,12,12,8],children:e(m,{size:"xl",headline:!0,bold:!0,sx:{color:"red"},children:n})}),e(c,{size:[12,12,12,8],children:a?.map(n=>{return r(h,{expanded:d===n.heading,onChange:(a=n.heading,(e,r)=>{l(!!r&&a)}),children:[e(g,{"aria-controls":`${n.heading}-content`,id:`${n.heading}-header`,heading:n.heading,children:e(m,{size:"lg",bold:!0,children:n.heading})}),e(u,{children:"string"==typeof n.body?e(m,{size:"lg",sx:{whiteSpace:"break-spaces"},children:n.body}):n.body})]},n.heading);var a})})]})})},h=d(r=>e(n,{disableGutters:!0,elevation:0,square:!0,...r}))(()=>({"&.Mui-expanded::before":{opacity:1}})),g=d(r=>e(a,{expandIcon:e(l,{name:"chevron-down",size:24}),...r}))(({theme:e})=>({backgroundColor:e.custom.palette.surface.default,padding:`${e.spacing(1)} ${e.spacing(2)}`,minHeight:"none","& .MuiAccordionSummary-expandIconWrapper":{color:e.custom.palette.text.primary},"& .MuiAccordionSummary-content":{margin:0}})),u=d(i)(({theme:e})=>({padding:`0 ${e.spacing(2)} ${e.spacing(4)}`}));export{u as AccordionDetails,g as AccordionSummary,p as default};
@@ -1 +1 @@
1
- import{jsxs as e,jsx as a}from"react/jsx-runtime";import{styled as t,useTheme as i,Box as n,Stack as l}from"@mui/material";import{useBreakpoint as s}from"../../../utils/breakpoint.hook.js";import"../SelectItem/SelectItem.js";import r from"../Select/Select.js";import c from"../Switch/Switch.js";import o from"../Typography/Typography.js";const d=t(c)(({theme:e})=>({"& .MuiSwitch-root":{[e.breakpoints.up("lg")]:{width:54,height:30,"& .MuiSwitch-switchBase":{margin:3,"&.Mui-checked":{transform:"translateX(24px)"}},"& .MuiSwitch-thumb":{width:24,height:24,outline:"2px solid rgba(255, 255, 255, 0.12)"},"& .MuiSwitch-track":{borderRadius:15}}}})),m=({body:t,currency:c,hideCurrency:m=!1,changeCurrencyEvent:u=()=>{},frequency:p,heading:g,setCurrency:h=()=>{},setFrequency:y=()=>{},togglePayAnnuallyEvent:x=()=>{},selections:f=[{value:"gbp",label:"£"},{value:"eur",label:"€"},{value:"usd",label:"$"}]})=>{const b=i(),v=s();return e(n,{sx:{alignItems:"center",backgroundColor:b.custom.palette.surface.default,borderRadius:b.custom.radius.round,boxShadow:b.custom.elevation.raised,display:"flex",gap:{sm:b.spacing(b.custom.padding.md),lg:b.spacing(b.custom.padding.lg)},pl:{sm:b.spacing(b.custom.padding.md),lg:b.spacing(b.custom.padding.lg)},pr:{sm:b.spacing(b.custom.padding.md+.5),lg:b.spacing(b.custom.padding.lg)},py:b.spacing(b.custom.padding.md)},children:[e(n,{sx:{alignItems:"center",display:"flex",gap:e=>({sm:e.spacing(e.custom.padding.sm),lg:e.spacing(e.custom.padding.md)})},children:[a(n,{sx:{pr:e=>e.spacing(e.custom.padding.md),display:"flex"},children:a(d,{onChange:()=>(x(),void y("monthly"===p?"annually":"monthly")),role:"switch","aria-checked":"annually"===p,"aria-label":"Switch between monthly and annual billing",checked:"annually"===p})}),e(l,{sx:{alignItems:"flex-start",display:"flex"},children:[a(o,{variation:"md",component:"p",children:g}),a(o,{variation:"sm",component:"p",sx:{color:b.custom.palette.text.secondary},children:t})]})]}),!m&&a(r,{name:"currency",onChange:e=>{return a=e.target.value,u(a),void h(a);var a},selections:f,value:f.find(e=>e.value===c)?.value,sizing:["xs","sm","md"].includes(v)?"md":"lg",sx:{minWidth:{sm:64,lg:72}}})]})};export{m as default};
1
+ import{jsxs as e,jsx as t}from"react/jsx-runtime";import{styled as a,useTheme as i,Box as n,Stack as s}from"@mui/material";import{useBreakpoint as l}from"../../../utils/breakpoint.hook.js";import"../SelectItem/SelectItem.js";import c from"../Select/Select.js";import r from"../Switch/Switch.js";import{Text as d}from"../Text/Text.js";const o=a(r)(({theme:e})=>({"& .MuiSwitch-root":{[e.breakpoints.up("lg")]:{width:54,height:30,"& .MuiSwitch-switchBase":{margin:3,"&.Mui-checked":{transform:"translateX(24px)"}},"& .MuiSwitch-thumb":{width:24,height:24,outline:"2px solid rgba(255, 255, 255, 0.12)"},"& .MuiSwitch-track":{borderRadius:15}}}})),m=({body:a,currency:r,hideCurrency:m=!1,changeCurrencyEvent:u=()=>{},frequency:g,heading:p,setCurrency:h=()=>{},setFrequency:y=()=>{},togglePayAnnuallyEvent:x=()=>{},selections:f=[{value:"gbp",label:"£"},{value:"eur",label:"€"},{value:"usd",label:"$"}]})=>{const b=i(),v=l();return e(n,{sx:{alignItems:"center",backgroundColor:b.custom.palette.surface.default,borderRadius:b.custom.radius.round,boxShadow:b.custom.elevation.raised,display:"flex",gap:{sm:b.spacing(b.custom.padding.md),lg:b.spacing(b.custom.padding.lg)},pl:{sm:b.spacing(b.custom.padding.md),lg:b.spacing(b.custom.padding.lg)},pr:{sm:b.spacing(b.custom.padding.md+.5),lg:b.spacing(b.custom.padding.lg)},py:b.spacing(b.custom.padding.md)},children:[e(n,{sx:{alignItems:"center",display:"flex",gap:e=>({sm:e.spacing(e.custom.padding.sm),lg:e.spacing(e.custom.padding.md)})},children:[t(n,{sx:{pr:e=>e.spacing(e.custom.padding.md),display:"flex"},children:t(o,{onChange:()=>(x(),void y("monthly"===g?"annually":"monthly")),role:"switch","aria-checked":"annually"===g,"aria-label":"Switch between monthly and annual billing",checked:"annually"===g})}),e(s,{sx:{alignItems:"flex-start",display:"flex"},children:[t(d,{children:p}),t(d,{size:"sm",sx:{color:b.custom.palette.text.secondary},children:a})]})]}),!m&&t(c,{name:"currency",onChange:e=>{return t=e.target.value,u(t),void h(t);var t},selections:f,value:f.find(e=>e.value===r)?.value,sizing:["xs","sm","md"].includes(v)?"md":"lg",sx:{minWidth:{sm:64,lg:72}}})]})};export{m as default};
@@ -1 +1 @@
1
- import{jsxs as r,jsx as n}from"react/jsx-runtime";import{useTheme as t,Stack as m}from"@mui/material";import o from"../../BrandCore/Icon/Icon.js";import i from"../Typography/Typography.js";const e=({logo:e,headerText:a,subText:c})=>{const g=t();return r(m,{gap:g.spacing(g.custom.margin.md),alignItems:"center",mb:g.spacing(g.custom.margin.lg),children:[!1===e?null:e||n(o,{name:"brand-wordmark",sx:{width:{sm:79,md:79,lg:106},height:{sm:24,md:24,lg:32}}}),r(m,{gap:g.spacing(g.custom.margin.md),children:[a&&n(i,{variation:"sm",component:"h1",align:"center",weight:"bold",children:a}),function(){if(c)return"string"==typeof c?n(i,{variation:"md",component:"p",align:"center",children:c}):c}()]})]})};export{e as default};
1
+ import{jsxs as r,jsx as e}from"react/jsx-runtime";import{useTheme as n,Stack as t}from"@mui/material";import m from"../../BrandCore/Icon/Icon.js";import{Text as i}from"../Text/Text.js";const a=({logo:a,headerText:o,subText:s})=>{const c=n();return r(t,{gap:c.spacing(c.custom.margin.md),alignItems:"center",mb:c.spacing(c.custom.margin.lg),children:[!1===a?null:a||e(m,{name:"brand-wordmark",sx:{width:{sm:79,md:79,lg:106},height:{sm:24,md:24,lg:32}}}),r(t,{gap:c.spacing(c.custom.margin.md),children:[o&&e(i,{size:"sm",headline:!0,align:"center",bold:!0,children:o}),function(){if(s)return"string"==typeof s?e(i,{align:"center",children:s}):s}()]})]})};export{a as default};
@@ -1 +1 @@
1
- import{jsx as t}from"react/jsx-runtime";import{styled as e,Box as o}from"@mui/material";import r from"../Typography/Typography.js";const i=e(o)(({theme:t})=>({alignItems:"center",backgroundColor:t.custom.palette.red[500],borderRadius:t.custom.radius.round,display:"flex",height:16,justifyContent:"center",minWidth:16,padding:t.spacing(0,.5)})),n=e(r)(({theme:t})=>({color:t.custom.palette.text.lockedWhite})),a=({children:e})=>t(i,{children:t(n,{variation:"xs",component:"p",type:"button",weight:"bold",children:e})});export{a as default};
1
+ import{jsx as t}from"react/jsx-runtime";import{styled as e,Box as r}from"@mui/material";import{Text as i}from"../Text/Text.js";const o=e(r)(({theme:t})=>({alignItems:"center",backgroundColor:t.custom.palette.red[500],borderRadius:t.custom.radius.round,display:"flex",height:16,justifyContent:"center",minWidth:16,padding:t.spacing(0,.5)})),n=({children:e})=>t(o,{children:t(i,{size:"xs",variant:"button",bold:!0,lockedWhite:!0,children:e})});export{n as default};
@@ -1 +1 @@
1
- import{jsx as e,jsxs as t}from"react/jsx-runtime";import{styled as o,Box as r,linkClasses as n}from"@mui/material";import{Fragment as i}from"react";import m from"../Link/Link.js";import a from"../Typography/Typography.js";const c=o(r)(({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(.5)})),l=o(m)(({theme:e})=>({[`&.${n.root}`]:{"&:hover":{textDecorationColor:e.custom.palette.text.secondary}}})),p=o(a)(({theme:e})=>({color:e.custom.palette.text.secondary})),s=o(a)(({theme:e})=>({color:e.custom.palette.text.secondary})),h=({links:o})=>e(c,{children:o?.map(({label:r,...n},m)=>t(i,{children:[n.href||void 0!==n.onClick?e(l,{underline:"hover",...n,children:e(p,{variation:"sm",component:"p",children:r})},r):e(p,{variation:"sm",component:"p",children:r}),e(s,{variation:"sm",component:"p",children:m+1<o?.length?"/":""})]},r))});export{h as default};
1
+ import{jsx as e,jsxs as r}from"react/jsx-runtime";import{styled as t,Box as i,linkClasses as o}from"@mui/material";import{Fragment as n}from"react";import m from"../Link/Link.js";import{Text as s}from"../Text/Text.js";const a=t(i)(({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(.5)})),l=t(m)(({theme:e})=>({[`&.${o.root}`]:{"&:hover":{textDecorationColor:e.custom.palette.text.secondary}}})),c=({links:t})=>e(a,{children:t?.map(({label:i,...o},m)=>r(n,{children:[o.href||void 0!==o.onClick?e(l,{underline:"hover",...o,children:e(s,{size:"sm",secondary:!0,children:i})},i):e(s,{size:"sm",secondary:!0,children:i}),e(s,{size:"sm",secondary:!0,children:m+1<t?.length?"/":""})]},i))});export{c as default};
@@ -1 +1 @@
1
- import{jsxs as t,jsx as r}from"react/jsx-runtime";import{useTheme as a}from"@mui/material";import{useState as e}from"react";import i from"../Typography/Typography.js";import o from"./_partials/ActiveIndicator.js";import s from"./_partials/ButtonTabsWrapper.js";import n from"./_partials/TabButton.js";const c=({tabs:c,defaultActiveTab:m=0,onTabChange:l,id:d,sx:p})=>{const[f,u]=e(m),b=a(),x=c.some(t=>void 0!==t.active),h=(()=>{if(x){const t=c.findIndex(t=>t.active);return-1!==t?t:0}return f})(),v=c.length,T=b.m.xs,$=b.p.sm;return t(s,{id:d,tabCount:v,sx:p,children:[r(o,{sx:{width:`calc((100% - ${$} - (${v} - 1) * ${T}) / ${v})`,transform:`translateX(calc(${h} * (100% + ${T})))`}}),c.map((t,a)=>{const e=t.index??a,o=x?t.active:h===a;return r(n,{isActive:o,onClick:()=>((t,r)=>{t.disabled||(x||u(r),t.onClick?.(),l?.(r))})(t,a),disabled:t.disabled,children:r(i,{variation:"sm",component:"p",sx:{transition:"color 300ms ease",color:o?b.custom.palette.text.lockedWhite:b.custom.palette.text.primary,fontWeight:500},disabled:t.disabled,children:t.label})},e)})]})};export{c as default};
1
+ import{jsxs as t,jsx as i}from"react/jsx-runtime";import{useTheme as e}from"@mui/material";import{useState as r}from"react";import{Text as a}from"../Text/Text.js";import s from"./_partials/ActiveIndicator.js";import o from"./_partials/ButtonTabsWrapper.js";import n from"./_partials/TabButton.js";const d=({tabs:d,defaultActiveTab:l=0,onTabChange:c,id:m,sx:p})=>{const[b,f]=r(l),x=e(),u=d.some(t=>void 0!==t.active),h=(()=>{if(u){const t=d.findIndex(t=>t.active);return-1!==t?t:0}return b})(),v=d.length,T=x.m.xs,$=x.p.sm;return t(o,{id:m,tabCount:v,sx:p,children:[i(s,{sx:{width:`calc((100% - ${$} - (${v} - 1) * ${T}) / ${v})`,transform:`translateX(calc(${h} * (100% + ${T})))`}}),d.map((t,e)=>{const r=t.index??e,s=u?t.active:h===e;return i(n,{isActive:s,onClick:()=>((t,i)=>{t.disabled||(u||f(i),t.onClick?.(),c?.(i))})(t,e),disabled:t.disabled,children:i(a,{size:"sm",bold:!0,lockedWhite:s,disabled:t.disabled,sx:{transition:"color 300ms ease"},children:t.label})},r)})]})};export{d as default};
@@ -1 +1 @@
1
- import{jsxs as o,jsx as e}from"react/jsx-runtime";import{styled as t,Box as r,useTheme as s}from"@mui/material";import{useRef as i,useState as n,useEffect as a}from"react";import{usePrevious as l}from"../../../utils/usePrevious.js";import c from"../Typography/Typography.js";import d from"./components/ExpandCollapseButton/ExpandCollapseButton.js";import p from"./components/GradientShim/GradientShim.js";import{createShimGradient as m}from"./helpers/shimUtils.js";const u=t(r)(()=>({position:"absolute",bottom:0,right:0,display:"flex",alignItems:"center",overflow:"hidden"})),h=({onShowMoreClick:t,onShowLessClick:h,disabled:x,backgroundColorOverride:f,dimmed:g,sizing:b="sm",slotProps:w,...y})=>{const v=s(),B=i(null),[C,k]=n(!1),j=l(C),z=()=>{if(!B.current)return;const{scrollHeight:o,clientHeight:e}=B.current;k(o>e)};return a(()=>{if(B.current){z();new ResizeObserver(z).observe(B.current)}return()=>{}},[y.children]),o(r,{sx:{position:"relative"},id:"ExpandableTypography",children:[e(c,{ref:B,component:"p",clamp:2,sx:{color:x||g?v.custom.palette.text.disabled:v.custom.palette.text.primary},...y}),void 0!==t&&C&&o(u,{className:"ExpandableTypography__show-more-container",children:[e(p,{...w?.gradientBox,sizing:b}),e(r,{className:"ExpandableTypography__show-more-button",sx:{backgroundColor:f??v.custom.palette.surface.default,boxShadow:m(f??v.custom.palette.surface.default),...w?.showMoreButton?.sx},children:e(d,{sizing:b,disabled:x,onClick:x?void 0:t,...w?.showMoreButton,children:"More"})})]}),void 0!==h&&j&&!C&&o(u,{children:[e(p,{...w?.gradientBox,sx:w?.gradientBox?.sx,sizing:b}),e(r,{className:"ExpandableTypography__show-more-button",sx:{backgroundColor:f??v.custom.palette.surface.default,boxShadow:m(f??v.custom.palette.surface.default),...w?.showLessButton?.sx},children:e(d,{sizing:b,onClick:x?void 0:h,...w?.showLessButton,sx:w?.showLessButton?.sx,children:"Less"})})]})]})};export{h as default};
1
+ import{jsxs as e,jsx as o}from"react/jsx-runtime";import{styled as r,Box as t,useTheme as s}from"@mui/material";import{useRef as i,useState as n,useEffect as a}from"react";import{usePrevious as l}from"../../../utils/usePrevious.js";import{Text as d}from"../Text/Text.js";import c from"./components/ExpandCollapseButton/ExpandCollapseButton.js";import m from"./components/GradientShim/GradientShim.js";import{createShimGradient as u}from"./helpers/shimUtils.js";const p=r(t)(()=>({position:"absolute",bottom:0,right:0,display:"flex",alignItems:"center",overflow:"hidden"})),h=({onShowMoreClick:r,onShowLessClick:h,disabled:x,backgroundColorOverride:f,dimmed:g,sizing:b="sm",slotProps:w,...v})=>{const B=s(),y=i(null),[C,k]=n(!1),T=l(C),j=()=>{if(!y.current)return;const{scrollHeight:e,clientHeight:o}=y.current;k(e>o)};return a(()=>{if(y.current){j();new ResizeObserver(j).observe(y.current)}return()=>{}},[v.children]),e(t,{sx:{position:"relative"},id:"ExpandableTypography",children:[o(d,{ref:y,clamp:2,disabled:x||g,...v}),void 0!==r&&C&&e(p,{className:"ExpandableTypography__show-more-container",children:[o(m,{...w?.gradientBox,sizing:b}),o(t,{className:"ExpandableTypography__show-more-button",sx:{backgroundColor:f??B.custom.palette.surface.default,boxShadow:u(f??B.custom.palette.surface.default),...w?.showMoreButton?.sx},children:o(c,{sizing:b,disabled:x,onClick:x?void 0:r,...w?.showMoreButton,children:"More"})})]}),void 0!==h&&T&&!C&&e(p,{children:[o(m,{...w?.gradientBox,sx:w?.gradientBox?.sx,sizing:b}),o(t,{className:"ExpandableTypography__show-more-button",sx:{backgroundColor:f??B.custom.palette.surface.default,boxShadow:u(f??B.custom.palette.surface.default),...w?.showLessButton?.sx},children:o(c,{sizing:b,onClick:x?void 0:h,...w?.showLessButton,sx:w?.showLessButton?.sx,children:"Less"})})]})]})};export{h as default};
@@ -1 +1 @@
1
- import{jsx as t}from"react/jsx-runtime";import{useTheme as o,Box as r}from"@mui/material";import{mergeSx as e}from"merge-sx";import i from"../../../Typography/Typography.js";const n=({onClick:n,sizing:s,sx:p,children:a,disabled:m,...c})=>{const l=o();return t(r,{onClick:n,sx:e({pointerEvents:m?"none":"auto",paddingX:l.custom.padding.xs,"&:hover":{cursor:"pointer"}},p),...c,children:t(i,{component:"p",variation:s,sx:{textTransform:"uppercase",fontWeight:500,color:m?l.custom.palette.text.disabled:l.custom.palette.text.link},children:a})})};export{n as default};
1
+ import{jsx as e}from"react/jsx-runtime";import{useTheme as t,Box as r}from"@mui/material";import{mergeSx as o}from"merge-sx";import{Text as i}from"../../../Text/Text.js";const s=({onClick:s,sizing:n,sx:m,children:a,disabled:d,...l})=>{const x=t();return e(r,{onClick:s,sx:o({pointerEvents:d?"none":"auto",paddingX:x.custom.padding.xs,"&:hover":{cursor:"pointer"}},m),...l,children:e(i,{size:n,bold:!0,disabled:d,textColor:x.custom.palette.text.link,sx:{textTransform:"uppercase"},children:a})})};export{s as default};
@@ -1 +1 @@
1
- import{jsxs as r,jsx as o}from"react/jsx-runtime";import{useTheme as e,Stack as t}from"@mui/material";import{passwordStrength as a}from"check-password-strength";import{useState as i,useEffect as n}from"react";import m from"../../../Typography/Typography.js";import s from"./components/LinearBar/LinearBar.js";import{getTextColorBasedOnScore as p}from"./helpers/getColorBasedOnScore.js";const c=({label:c="Strength",width:l=60,value:d,onChange:h})=>{const[f,g]=i(0),u=e();return n(()=>{if(d){const r=a(d);g(r.id+1)}else g(0)},[d]),n(()=>{h(f)},[f]),r(t,{direction:"row",gap:1,sx:{alignItems:"center"},children:[o(m,{variation:"sm",component:"p",children:c}),o(s,{variant:"determinate",value:0===f?6.6:25*f,score:f,sx:{width:l}}),o(m,{variation:"sm",component:"p",sx:{color:p(f,u)},children:["","Too weak","Weak","Medium","Strong"][f]})]})};export{c as default};
1
+ import{jsxs as e,jsx as r}from"react/jsx-runtime";import{useTheme as t,Stack as o}from"@mui/material";import{passwordStrength as i}from"check-password-strength";import{useState as a,useEffect as s}from"react";import{Text as m}from"../../../Text/Text.js";import n from"./components/LinearBar/LinearBar.js";import{getTextColorBasedOnScore as c}from"./helpers/getColorBasedOnScore.js";const l=({label:l="Strength",width:d=60,value:p,onChange:h})=>{const[f,x]=a(0),g=t();return s(()=>{if(p){const e=i(p);x(e.id+1)}else x(0)},[p]),s(()=>{h(f)},[f]),e(o,{direction:"row",gap:1,sx:{alignItems:"center"},children:[r(m,{size:"sm",children:l}),r(n,{variant:"determinate",value:0===f?6.6:25*f,score:f,sx:{width:d}}),r(m,{size:"sm",textColor:c(f,g),children:["","Too weak","Weak","Medium","Strong"][f]})]})};export{l as default};
@@ -1 +1 @@
1
- import{jsxs as e,jsx as o}from"react/jsx-runtime";import{styled as t,Box as i,Container as r,Grid as n}from"@mui/material";import{useState as l}from"react";import{useBreakpoint as a}from"../../../utils/breakpoint.hook.js";import{useKeyCombo as s}from"../../../utils/useKeyCombo.js";import d from"../Typography/Typography.js";const m=t(i)(({position:e,theme:o})=>({alignItems:"center",display:"flex",flexDirection:"column",height:"100%",left:0,pointerEvents:"none",position:e,top:0,width:"100%",zIndex:o.zIndex.tooltip})),p=t(r)(({theme:e})=>({background:e.custom.palette.red[300],display:"flex",flex:1,opacity:.2,position:"relative"})),c=t(i)(({theme:e})=>({background:e.custom.palette.purple[300],display:"flex",flex:1})),h=t(i)(({theme:e})=>({background:e.custom.palette.green[300],height:"100%"})),u=t(i)(({theme:e})=>({backgroundColor:e.custom.palette.surface.default,borderRadius:e.spacing(e.custom.radius.md),bottom:16,boxShadow:e.custom.elevation.overlay,display:"block",left:16,padding:e.spacing(1,2),position:"fixed"})),g=({breakpoint:t=!0,maxWidth:i=!1,position:r="fixed",visible:g=!1})=>{const f=Array.from({length:6},(e,o)=>o),x=a(),[b,y]=l(g);return s("cmd+g",e=>{e.preventDefault(),console.log("Command+G keyboard shortcut triggered"),y(!b)}),b&&e(m,{position:r,children:[o(p,{maxWidth:!!i&&"xl",children:o(c,{children:e(n,{container:!0,spacing:2,sx:{flex:1},children:[f.map(e=>o(n,{sx:{display:{sm:"none",md:"block"}},size:"grow",children:o(h,{})},`grid-1-${e}`)),f.map(e=>o(n,{sx:{display:{sm:"block"}},size:"grow",children:o(h,{})},`grid-2-${e}`))]})})}),t&&o(u,{children:o(d,{variation:"md",component:"p",weight:"bold",children:x})})]})};export{p as GridContainer,g as default};
1
+ import{jsxs as e,jsx as o}from"react/jsx-runtime";import{styled as t,Box as i,Container as r,Grid as l}from"@mui/material";import{useState as n}from"react";import{useBreakpoint as s}from"../../../utils/breakpoint.hook.js";import{useKeyCombo as a}from"../../../utils/useKeyCombo.js";import{Text as d}from"../Text/Text.js";const m=t(i)(({position:e,theme:o})=>({alignItems:"center",display:"flex",flexDirection:"column",height:"100%",left:0,pointerEvents:"none",position:e,top:0,width:"100%",zIndex:o.zIndex.tooltip})),p=t(r)(({theme:e})=>({background:e.custom.palette.red[300],display:"flex",flex:1,opacity:.2,position:"relative"})),c=t(i)(({theme:e})=>({background:e.custom.palette.purple[300],display:"flex",flex:1})),u=t(i)(({theme:e})=>({background:e.custom.palette.green[300],height:"100%"})),h=t(i)(({theme:e})=>({backgroundColor:e.custom.palette.surface.default,borderRadius:e.spacing(e.custom.radius.md),bottom:16,boxShadow:e.custom.elevation.overlay,display:"block",left:16,padding:e.spacing(1,2),position:"fixed"})),x=({breakpoint:t=!0,maxWidth:i=!1,position:r="fixed",visible:x=!1})=>{const f=Array.from({length:6},(e,o)=>o),g=s(),[b,k]=n(x);return a("cmd+g",e=>{e.preventDefault(),console.log("Command+G keyboard shortcut triggered"),k(!b)}),b&&e(m,{position:r,children:[o(p,{maxWidth:!!i&&"xl",children:o(c,{children:e(l,{container:!0,spacing:2,sx:{flex:1},children:[f.map(e=>o(l,{sx:{display:{sm:"none",md:"block"}},size:"grow",children:o(u,{})},`grid-1-${e}`)),f.map(e=>o(l,{sx:{display:{sm:"block"}},size:"grow",children:o(u,{})},`grid-2-${e}`))]})})}),t&&o(h,{children:o(d,{bold:!0,children:g})})]})};export{p as GridContainer,x as default};
@@ -1 +1 @@
1
- import{jsx as r}from"react/jsx-runtime";import{Box as e}from"@mui/material";import i,{domToReact as n}from"html-react-parser";import t from"../Typography/Typography.js";const o=({children:o,typographyProps:l={variation:"lg",component:"p"}})=>{const p=(r=>{const e=r.replaceAll(/<p><\/p>/g,"<br />");return/<(p|div|h[1-6]|ul|ol|li|blockquote)[\s>]/i.test(e)?e:`<p>${e}</p>`})(o),a={replace(i){const o=i;if(o.attribs){if("p"===o.name)return r(t,{...l,children:n(o.children,a)});if("ul"===o.name)return r(e,{component:"ul",sx:{margin:0,pl:4},children:n(o.children,a)});if("ol"===o.name)return r(e,{component:"ol",sx:{margin:0,pl:4},children:n(o.children,a)});if("li"===o.name)return r(e,{component:"li",sx:{...l?.sx||{},fontSize:"inherit",lineHeight:"inherit"},children:n(o.children,a)})}}};return r(e,{sx:{overflowWrap:"break-word",whiteSpace:"pre-wrap"},children:i(p,a)})};export{o as default};
1
+ import{jsx as r}from"react/jsx-runtime";import{Box as e}from"@mui/material";import i,{domToReact as t}from"html-react-parser";import{Text as n}from"../Text/Text.js";const l=({children:l,typographyProps:o={size:"lg"}})=>{const p=(r=>{const e=r.replaceAll(/<p><\/p>/g,"<br />");return/<(p|div|h[1-6]|ul|ol|li|blockquote)[\s>]/i.test(e)?e:`<p>${e}</p>`})(l),c={replace(i){const l=i;if(l.attribs){if("p"===l.name)return r(n,{...o,children:t(l.children,c)});if("ul"===l.name)return r(e,{component:"ul",sx:{margin:0,pl:4},children:t(l.children,c)});if("ol"===l.name)return r(e,{component:"ol",sx:{margin:0,pl:4},children:t(l.children,c)});if("li"===l.name)return r(e,{component:"li",sx:{...o?.sx||{},fontSize:"inherit",lineHeight:"inherit"},children:t(l.children,c)})}}};return r(e,{sx:{overflowWrap:"break-word",whiteSpace:"pre-wrap"},children:i(p,c)})};export{l as default};
@@ -1 +1 @@
1
- import{jsx as e}from"react/jsx-runtime";import{styled as o}from"@mui/material";import t from"../Typography/Typography.js";const r=o("kbd")(({theme:e})=>({display:"flex",minWidth:20,boxSizing:"border-box",justifyContent:"center",alignItems:"center",backgroundColor:e.custom.palette.surface.default,border:`1px solid ${e.custom.palette.stroke.light}`,borderRadius:e.spacing(e.custom.radius.sm),padding:"2px 4px"})),i=({children:o})=>e(r,{children:e(t,{variation:"sm",component:"p",secondary:!0,sx:{lineHeight:"110%",fontFamily:'"SF Compact", "Segoe UI Symbol", "Segoe Fluent Icons", "Segoe UI Emoji", "Founders Grotesk", sans-serif'},children:o})});export{i as default};
1
+ import{jsx as e}from"react/jsx-runtime";import{styled as t}from"@mui/material";import{Text as o}from"../Text/Text.js";const r=t("kbd")(({theme:e})=>({display:"flex",minWidth:20,boxSizing:"border-box",justifyContent:"center",alignItems:"center",backgroundColor:e.custom.palette.surface.default,border:`1px solid ${e.custom.palette.stroke.light}`,borderRadius:e.spacing(e.custom.radius.sm),padding:"2px 4px"})),i=({children:t})=>e(r,{children:e(o,{size:"sm",secondary:!0,sx:{lineHeight:"110%",fontFamily:'"SF Compact", "Segoe UI Symbol", "Segoe Fluent Icons", "Segoe UI Emoji", "Founders Grotesk", sans-serif'},children:t})});export{i as default};
@@ -1 +1 @@
1
- import{jsxs as e,jsx as r}from"react/jsx-runtime";import{styled as o,Box as t}from"@mui/material";import{mergeSx as a}from"merge-sx";import n from"../Typography/Typography.js";const s=o(t,{shouldForwardProp:e=>"sx"!==e})(({theme:e,sx:r})=>({display:"flex",alignItems:"center",gap:e.spacing(.5),color:e.custom.palette.text.secondary,fontSize:"0.875rem"})),i=({startText:o,children:i,endText:p,slotProps:m})=>e(s,{...m?.root,children:[o&&r(n,{component:"p",variation:"sm",secondary:!0,...m?.startText,children:o}),r(t,{sx:a({display:"flex",gap:e=>e.p.xs},m?.iconContainer?.sx),children:i}),p&&r(n,{component:"p",variation:"sm",secondary:!0,...m?.endText,children:p})]});export{i as default};
1
+ import{jsxs as e,jsx as t}from"react/jsx-runtime";import{styled as r,Box as s}from"@mui/material";import{mergeSx as o}from"merge-sx";import{bodyFontSizeMap as i}from"../utils/typography.util.js";import{Text as a}from"../Text/Text.js";const m=r(s,{shouldForwardProp:e=>"sx"!==e})(({theme:e,sx:t})=>({display:"flex",alignItems:"center",gap:e.spacing(.5),color:e.custom.palette.text.secondary,fontSize:i.sm})),n=({startText:r,children:i,endText:n,slotProps:l})=>e(m,{...l?.root,children:[r&&t(a,{size:"sm",secondary:!0,...l?.startText,children:r}),t(s,{sx:o({display:"flex",gap:e=>e.p.xs},l?.iconContainer?.sx),children:i}),n&&t(a,{size:"sm",secondary:!0,...l?.endText,children:n})]});export{n as default};
@@ -1 +1 @@
1
- import{jsx as r,jsxs as o,Fragment as t}from"react/jsx-runtime";import{styled as e,Box as i}from"@mui/material";import p from"../Tooltip/Tooltip.js";import a from"../Typography/Typography.js";const m=e(i)(({theme:r})=>({backgroundColor:r.custom.palette.neutral[50],border:`1px solid ${r.custom.palette.stroke.light}`,borderRadius:r.r.md,padding:`${r.p.xs} ${r.p.sm}`,maxWidth:"192px"})),s=({keyString:e,valueString:i})=>r(p,{message:o(t,{children:[r("strong",{children:e}),r("br",{}),i]}),slotProps:{wrapper:{sx:{maxWidth:192,cursor:"default"}}},children:o(m,{children:[r(a,{component:"p",variation:"xxs",secondary:!0,clamp:1,children:e}),r(a,{component:"p",variation:"sm",clamp:1,children:i})]})});export{s as default};
1
+ import{jsx as r,jsxs as e,Fragment as t}from"react/jsx-runtime";import{styled as o,Box as i}from"@mui/material";import{Text as s}from"../Text/Text.js";import m from"../Tooltip/Tooltip.js";const a=o(i)(({theme:r})=>({backgroundColor:r.custom.palette.neutral[50],border:`1px solid ${r.custom.palette.stroke.light}`,borderRadius:r.r.md,padding:`${r.p.xs} ${r.p.sm}`,maxWidth:"192px"})),l=({keyString:o,valueString:i})=>r(m,{message:e(t,{children:[r("strong",{children:o}),r("br",{}),i]}),slotProps:{wrapper:{sx:{maxWidth:192,cursor:"default"}}},children:e(a,{children:[r(s,{size:"xxs",secondary:!0,clamp:1,children:o}),r(s,{size:"sm",clamp:1,children:i})]})});export{l as default};
@@ -1 +1 @@
1
- import{jsx as o}from"react/jsx-runtime";import r from"markdown-to-jsx";import p from"../Typography/Typography.js";const e=({typographyProps:e={variation:"lg",component:"p"},children:t=""})=>o(r,{options:{overrides:{p:{component:p,props:e},ul:{component:({children:r,...p})=>o("ul",{...p,children:r}),props:{style:{color:"object"==typeof e?.sx&&e?.sx&&"color"in e.sx&&"string"==typeof e.sx.color?e.sx.color:"inherit"}}}},forceBlock:!0,forceWrapper:!0},children:t});export{e as default};
1
+ import{jsx as o}from"react/jsx-runtime";import r from"markdown-to-jsx";import{Text as e}from"../Text/Text.js";const t=({typographyProps:t={size:"lg"},children:p=""})=>o(r,{options:{overrides:{p:{component:e,props:t},ul:{component:({children:r,...e})=>o("ul",{...e,children:r}),props:{style:{color:"object"==typeof t?.sx&&t?.sx&&"color"in t.sx&&"string"==typeof t.sx.color?t.sx.color:"inherit"}}}},forceBlock:!0,forceWrapper:!0},children:p});export{t as default};
@@ -1 +1 @@
1
- import{jsx as e,jsxs as t}from"react/jsx-runtime";import{styled as o,Button as i,Box as r,Stack as n,useTheme as a,Grow as s,buttonBaseClasses as l,typographyClasses as c}from"@mui/material";import{mergeSx as d}from"merge-sx";import"../../BrandCore/colorRamps.js";import{base as p}from"../../BrandCore/primitiveVariables.js";import"../../BrandCore/semanticColor.js";import"../../BrandCore/types.js";import"../../BrandCore/typography.js";import m from"../../BrandCore/Icon/Icon.js";import{buttonInteraction as h}from"../ButtonBase/Button.variant-helpers.js";import"../ButtonBase/ButtonBase.js";import g from"../Label/Label.js";import u from"../Tooltip/Tooltip.js";import x from"../Typography/Typography.js";const f=o(i,{shouldForwardProp:e=>!["active","iconHeight"].includes(e)})(({active:e,iconHeight:t=24,theme:o})=>({borderRadius:o.spacing(o.custom.radius.sm),maxWidth:"100%",padding:o.spacing(.5,1),textTransform:"none",width:"100%",textOverflow:"ellipsis",whiteSpace:"nowrap",...h(o,e),backgroundColor:e?o.custom.palette.surface.sunken:"transparent","& p":{minHeight:t},"&:disabled":{backgroundColor:"inherit","& p":{color:o.custom.palette.text.disabled}}})),y=o(r)(({theme:e})=>({padding:e.spacing(.5,1)})),w=o(r)(({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),textAlign:"left"})),b=o(n,{shouldForwardProp:e=>"iconHeight"!==e})(({iconHeight:e=24,theme:t})=>({height:e,width:24,alignItems:"center",color:t.custom.palette.icon.secondary,display:"flex",justifyContent:"center",marginLeft:"auto"})),v=({baseState:o,label:i,active:n,danger:h,divider:v,heading:j,selected:B,disabled:C,closeOnClick:I,hidden:k,onClick:H,startIcon:S,slotProps:T,tooltip:W,showItemNumber:O=!1,itemNumber:P,children:z})=>{const L=a(),$=3*p;return k?null:v?e(r,{sx:{height:32,display:"flex",alignItems:"center"},children:e(r,{sx:{borderBottom:`1px solid ${L.custom.palette.stroke.default}`,width:"100%"}})}):i?j?e(y,{children:e(x,{component:"p",type:"button",variation:"md",sx:{color:L.custom.palette.text.secondary},children:i})}):e(f,{active:n,disabled:C,onClick:e=>{H&&H(e),I&&o?.close()},iconHeight:$,sx:{[`&.${l.root} .${c.root}`]:{minHeight:"initial"}},children:t(w,{sx:{width:"100%",justifyContent:"space-between",gap:1},children:[t(w,{sx:{flex:"1 1 auto",gap:1,minWidth:0},children:[O&&!!P&&e(g,{body:P,sizing:"xxs",colorScheme:"neutral",sx:{minWidth:32}}),void 0!==S&&e(m,{name:S,...T?.startIcon}),W?e(u,{message:i,slotProps:{wrapper:{sx:{minWidth:0,overflow:"hidden",flex:"1 1 auto"}}},children:e(x,{monospaced:!0,component:"p",sx:d({whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},h&&{color:L.custom.palette.text.negative},j&&{color:L.custom.palette.text.secondary}),type:"button",variation:"md",children:i})}):e(x,{monospaced:!0,component:"p",sx:d({whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},h&&{color:L.custom.palette.text.negative},j&&{color:L.custom.palette.text.secondary}),type:"button",variation:"md",children:i})]}),t(b,{iconHeight:$,minWidth:$,children:[z?.length&&z.length>0&&e(s,{in:!0,children:e(r,{sx:{display:"flex",alignItems:"center"},children:e(m,{name:"chevron-right",size:$})})}),B&&e(s,{in:!0,children:e(r,{sx:{display:"flex",alignItems:"center"},children:e(m,{name:"check",size:$})})})]})]})}):null};export{v as default};
1
+ import{jsx as e,jsxs as t}from"react/jsx-runtime";import{styled as o,Button as i,Box as r,Stack as n,useTheme as a,Grow as s,buttonBaseClasses as l,typographyClasses as c}from"@mui/material";import{mergeSx as d}from"merge-sx";import"../../BrandCore/colorRamps.js";import{base as m}from"../../BrandCore/primitiveVariables.js";import"../../BrandCore/semanticColor.js";import"../../BrandCore/types.js";import"../../BrandCore/typography.js";import p from"../../BrandCore/Icon/Icon.js";import{buttonInteraction as h}from"../ButtonBase/Button.variant-helpers.js";import"../ButtonBase/ButtonBase.js";import u from"../Label/Label.js";import{Text as g}from"../Text/Text.js";import x from"../Tooltip/Tooltip.js";const f=o(i,{shouldForwardProp:e=>!["active","iconHeight"].includes(e)})(({active:e,iconHeight:t=24,theme:o})=>({borderRadius:o.spacing(o.custom.radius.sm),maxWidth:"100%",padding:o.spacing(.5,1),textTransform:"none",width:"100%",textOverflow:"ellipsis",whiteSpace:"nowrap",...h(o,e),backgroundColor:e?o.custom.palette.surface.sunken:"transparent","& p":{minHeight:t},"&:disabled":{backgroundColor:"inherit","& p":{color:o.custom.palette.text.disabled}}})),w=o(r)(({theme:e})=>({padding:e.spacing(.5,1)})),b=o(r)(({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),textAlign:"left"})),v=o(n,{shouldForwardProp:e=>"iconHeight"!==e})(({iconHeight:e=24,theme:t})=>({height:e,width:24,alignItems:"center",color:t.custom.palette.icon.secondary,display:"flex",justifyContent:"center",marginLeft:"auto"})),y=({baseState:o,label:i,active:n,danger:h,divider:y,heading:j,selected:B,disabled:C,closeOnClick:I,hidden:k,onClick:H,startIcon:T,slotProps:S,tooltip:W,showItemNumber:O=!1,itemNumber:P,children:z})=>{const L=a(),$=3*m;return k?null:y?e(r,{sx:{height:32,display:"flex",alignItems:"center"},children:e(r,{sx:{borderBottom:`1px solid ${L.custom.palette.stroke.default}`,width:"100%"}})}):i?j?e(w,{children:e(g,{variant:"button",secondary:!0,children:i})}):e(f,{active:n,disabled:C,onClick:e=>{H&&H(e),I&&o?.close()},iconHeight:$,sx:{[`&.${l.root} .${c.root}`]:{minHeight:"initial"}},children:t(b,{sx:{width:"100%",justifyContent:"space-between",gap:1},children:[t(b,{sx:{flex:"1 1 auto",gap:1,minWidth:0},children:[O&&!!P&&e(u,{body:P,sizing:"xxs",colorScheme:"neutral",sx:{minWidth:32}}),void 0!==T&&e(p,{name:T,...S?.startIcon}),W?e(x,{message:i,slotProps:{wrapper:{sx:{minWidth:0,overflow:"hidden",flex:"1 1 auto"}}},children:e(g,{monospaced:!0,sx:d({whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},h&&{color:L.custom.palette.text.negative},j&&{color:L.custom.palette.text.secondary}),variant:"button",children:i})}):e(g,{monospaced:!0,sx:d({whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},h&&{color:L.custom.palette.text.negative},j&&{color:L.custom.palette.text.secondary}),variant:"button",children:i})]}),t(v,{iconHeight:$,minWidth:$,children:[z?.length&&z.length>0&&e(s,{in:!0,children:e(r,{sx:{display:"flex",alignItems:"center"},children:e(p,{name:"chevron-right",size:$})})}),B&&e(s,{in:!0,children:e(r,{sx:{display:"flex",alignItems:"center"},children:e(p,{name:"check",size:$})})})]})]})}):null};export{y as default};
@@ -1 +1 @@
1
- import{jsxs as t,jsx as o}from"react/jsx-runtime";import{useTheme as i,Stack as n}from"@mui/material";import r from"../../BrandCore/Icon/Icon.js";import e from"../IconButton/IconButton.js";import"../../BrandCore/primitiveVariables.js";import a from"../Surface/Surface.js";import d from"../Typography/Typography.js";import{ModalContentWrapper as c}from"./_partials/ModalContentWrapper.js";const m=({title:m,subtitle:p,body:s,children:l,extraAction:g,hideCloseButton:h,contentPadding:u,handleClose:f})=>{const x=i();return t(a,{variation:"overlay",sx:{minWidth:320,width:"100%",maxWidth:600,overflow:"hidden",position:"relative"},children:[t(n,{direction:"row",alignItems:"center",justifyContent:"space-between",gap:x.custom.margin.md,padding:x.custom.padding.md,paddingLeft:x.custom.padding.lg,children:[t(n,{children:["string"==typeof m?o(d,{component:"p",variation:"xl",weight:"bold",children:m}):m,p&&o(d,{component:"p",variation:"md",sx:{color:x.custom.palette.text.secondary},children:p})]}),t(n,{direction:"row",gap:x.spacing(x.custom.margin.md),height:32,children:[g,!h&&o(e,{sizing:"md",icon:o(r,{name:"close"}),sx:{color:x.custom.palette.icon.primary},onClick:f})]})]}),s&&o(c,{contentPadding:!!u,children:o(n,{gap:x.custom.padding.md,sx:{maxWidth:600},children:"string"==typeof s?o(d,{component:"p",variation:"md",children:s}):s})}),l&&o(c,{contentPadding:!!u,children:l})]})};export{m as default};
1
+ import{jsxs as t,jsx as i}from"react/jsx-runtime";import{useTheme as n,Stack as e}from"@mui/material";import o from"../../BrandCore/Icon/Icon.js";import r from"../IconButton/IconButton.js";import"../../BrandCore/primitiveVariables.js";import d from"../Surface/Surface.js";import{Text as a}from"../Text/Text.js";import{ModalContentWrapper as c}from"./_partials/ModalContentWrapper.js";const m=({title:m,subtitle:s,body:l,children:p,extraAction:g,hideCloseButton:h,contentPadding:u,handleClose:f})=>{const x=n();return t(d,{variation:"overlay",sx:{minWidth:320,width:"100%",maxWidth:600,overflow:"hidden",position:"relative"},children:[t(e,{direction:"row",alignItems:"center",justifyContent:"space-between",gap:x.custom.margin.md,padding:x.custom.padding.md,paddingLeft:x.custom.padding.lg,children:[t(e,{children:["string"==typeof m?i(a,{size:"xl",bold:!0,children:m}):m,s&&i(a,{secondary:!0,children:s})]}),t(e,{direction:"row",gap:x.spacing(x.custom.margin.md),height:32,children:[g,!h&&i(r,{sizing:"md",icon:i(o,{name:"close"}),sx:{color:x.custom.palette.icon.primary},onClick:f})]})]}),l&&i(c,{contentPadding:!!u,children:i(e,{gap:x.custom.padding.md,sx:{maxWidth:600},children:"string"==typeof l?i(a,{children:l}):l})}),p&&i(c,{contentPadding:!!u,children:p})]})};export{m as default};
@@ -1 +1 @@
1
- import{jsxs as t,jsx as e}from"react/jsx-runtime";import{styled as n,Box as i,Button as r,boxClasses as o,useTheme as a,Slide as s,Fade as c,Grow as l}from"@mui/material";import{mergeSx as p}from"merge-sx";import{useRef as m}from"react";import u from"../../BrandCore/Icon/Icon.js";import{buttonInteraction as d}from"../ButtonBase/Button.variant-helpers.js";import"../ButtonBase/ButtonBase.js";import g from"../Typography/Typography.js";const h=n(i)(({theme:t})=>({alignItems:"center",cursor:"pointer",display:"flex",flexDirection:"column",gap:t.spacing(.5),justifyContent:"center",transition:t.custom.easing.input})),f=n(i)(({theme:t})=>({alignItems:"center",color:t.custom.palette.text.secondary,display:"flex",opacity:0,transition:t.custom.easing.input})),y=n(g)(({active:t,theme:e})=>({color:t?e.custom.palette.text.primary:e.custom.palette.text.secondary,textAlign:"center"})),x=(t,e)=>{switch(t){case"sm":return e.spacing(.5625);case"md":return e.spacing(.8125);case"lg":return e.spacing(1)}},v=n(r,{shouldForwardProp:t=>!["active","sizing"].includes(t)})(({active:t,fullWidth:e,sizing:n,theme:i})=>({...d(i,t),alignItems:"center",backgroundColor:t?i.custom.palette.interaction.press:"transparent",borderRadius:i.spacing(i.custom.radius.md),color:i.custom.palette.text.primary,display:"flex",gap:i.spacing(1),justifyContent:e?"space-between":"center",minWidth:0,padding:x(n,i),textTransform:"none",width:e?"100%":"auto","&:hover":{...d(i,t)["&:hover"],[`.${o.root}`]:{opacity:1}},"&:focus":{...d(i,t)["&:focus"],[`.${o.root}`]:{opacity:1}}})),j=({active:n,fullWidth:r=!0,danger:o,href:d,target:x,external:j=!1,icon:B,label:b,navigationSizing:w,onClick:z,sizing:C="lg"})=>{const I=a(),k=m(null);return t(h,{onClick:j&&d?()=>window.open(d,x||"_blank"):z,children:[t(v,{active:!d&&n,sizing:C,fullWidth:r,children:[t(i,{display:"flex",alignItems:"center",justifyContent:"center",gap:1.5,ref:k,children:[B&&e(u,{name:B,size:24}),"lg"===w&&e(s,{in:!0,direction:"right",container:k.current,children:e(i,{sx:{display:"flex"},children:e(c,{in:!0,style:{transitionDelay:"100ms"},children:e(i,{sx:{display:"flex"},children:e(g,{component:"p",variation:"sm"===C?"xs":"md",type:"button",clamp:1,sx:p(o&&{color:I.custom.palette.text.negative}),children:b})})})})})]}),"lg"===w&&j&&e(f,{children:e(u,{name:"open-in-new",size:20})})]}),"sm"===w&&e(l,{in:!0,style:{transformOrigin:"0 100%",transitionDelay:"100ms"},children:e(i,{children:e(y,{active:n,component:"p",type:"button",variation:"xs",sx:p(o&&{color:I.custom.palette.text.negative}),children:b})})})]})};export{j as default};
1
+ import{jsxs as t,jsx as e}from"react/jsx-runtime";import{styled as i,Box as n,Button as r,boxClasses as a,useTheme as o,Slide as s,Fade as c,Grow as l}from"@mui/material";import{mergeSx as m}from"merge-sx";import{useRef as p}from"react";import u from"../../BrandCore/Icon/Icon.js";import{buttonInteraction as d}from"../ButtonBase/Button.variant-helpers.js";import"../ButtonBase/ButtonBase.js";import{Text as g}from"../Text/Text.js";const h=i(n)(({theme:t})=>({alignItems:"center",cursor:"pointer",display:"flex",flexDirection:"column",gap:t.spacing(.5),justifyContent:"center",transition:t.custom.easing.input})),x=i(n)(({theme:t})=>({alignItems:"center",color:t.custom.palette.text.secondary,display:"flex",opacity:0,transition:t.custom.easing.input})),f=i(g)(({active:t,theme:e})=>({color:t?e.custom.palette.text.primary:e.custom.palette.text.secondary,textAlign:"center"})),y=(t,e)=>{switch(t){case"sm":return e.spacing(.5625);case"md":return e.spacing(.8125);case"lg":return e.spacing(1)}},v=i(r,{shouldForwardProp:t=>!["active","sizing"].includes(t)})(({active:t,fullWidth:e,sizing:i,theme:n})=>({...d(n,t),alignItems:"center",backgroundColor:t?n.custom.palette.interaction.press:"transparent",borderRadius:n.spacing(n.custom.radius.md),color:n.custom.palette.text.primary,display:"flex",gap:n.spacing(1),justifyContent:e?"space-between":"center",minWidth:0,padding:y(i,n),textTransform:"none",width:e?"100%":"auto","&:hover":{...d(n,t)["&:hover"],[`.${a.root}`]:{opacity:1}},"&:focus":{...d(n,t)["&:focus"],[`.${a.root}`]:{opacity:1}}})),z=({active:i,fullWidth:r=!0,danger:a,href:d,target:y,external:z=!1,icon:j,label:B,navigationSizing:b,onClick:w,sizing:C="lg"})=>{const I=o(),k=p(null);return t(h,{onClick:z&&d?()=>window.open(d,y||"_blank"):w,children:[t(v,{active:!d&&i,sizing:C,fullWidth:r,children:[t(n,{display:"flex",alignItems:"center",justifyContent:"center",gap:1.5,ref:k,children:[j&&e(u,{name:j,size:24}),"lg"===b&&e(s,{in:!0,direction:"right",container:k.current,children:e(n,{sx:{display:"flex"},children:e(c,{in:!0,style:{transitionDelay:"100ms"},children:e(n,{sx:{display:"flex"},children:e(g,{size:"sm"===C?"xs":"md",variant:"button",clamp:1,sx:m(a&&{color:I.custom.palette.text.negative}),children:B})})})})})]}),"lg"===b&&z&&e(x,{children:e(u,{name:"open-in-new",size:20})})]}),"sm"===b&&e(l,{in:!0,style:{transformOrigin:"0 100%",transitionDelay:"100ms"},children:e(n,{children:e(f,{active:i,variant:"button",size:"xs",sx:m(a&&{color:I.custom.palette.text.negative}),children:B})})})]})};export{z as default};
@@ -1 +1 @@
1
- import{jsxs as r,jsx as i}from"react/jsx-runtime";import{Stack as o}from"@mui/material";import t from"../Typography/Typography.js";const p=({children:p,description:e,title:n})=>r(o,{sx:{gap:2,p:1},children:[r(o,{sx:{gap:1},children:[i(t,{variation:"sm",component:"p",weight:"bold",children:n}),i(t,{variation:"sm",component:"p",children:e})]}),p]});export{p as default};
1
+ import{jsxs as e,jsx as i}from"react/jsx-runtime";import{Stack as r}from"@mui/material";import{Text as t}from"../Text/Text.js";const s=({children:s,description:m,title:o})=>e(r,{sx:{gap:2,p:1},children:[e(r,{sx:{gap:1},children:[i(t,{size:"sm",bold:!0,children:o}),i(t,{size:"sm",children:m})]}),s]});export{s as default};
@@ -1 +1 @@
1
- import{jsxs as o,jsx as r,Fragment as e}from"react/jsx-runtime";import{useTheme as i}from"@mui/material";import"../../BrandCore/colorRamps.js";import"../../BrandCore/primitiveVariables.js";import"../../BrandCore/semanticColor.js";import"../../BrandCore/types.js";import"../../BrandCore/typography.js";import s from"../../BrandCore/Icon/Icon.js";import t from"../IconButton/IconButton.js";import n from"../Progress/Progress.js";import a from"../Tooltip/Tooltip.js";import p from"../Typography/Typography.js";import d from"./StyledPill.js";import l from"./useTextTruncation.js";const m=m=>{const c=i(),{label:u,secondaryLabel:g,iconLeft:f,iconRight:x,onDelete:b,active:j,slots:y,loading:h,sizing:B,disabled:C,slotProps:T}=m,{textRef:I,isTruncated:v}=l([u]),z=o(d,{className:"loops-pill",tabIndex:0,...m,sx:{...T?.root?.sx},children:[h&&r(n,{sizing:B||"xl",sx:{color:c.custom.palette.icon.disabled}}),!h&&o(e,{children:[f&&r(s,{disabled:C,size:16,name:f}),"string"==typeof u?r(p,{component:"p",variation:"sm",noWrap:!0,ref:I,disabled:C,sx:{padding:`0 ${c.spacing(c.custom.padding.xs)}`},children:u}):u,"string"==typeof g?r(p,{component:"p",secondary:!0,variation:"sm",monospaced:!0,noWrap:!0,ref:I,disabled:C,sx:{padding:`0 ${c.spacing(c.custom.padding.xs)}`},children:g}):g,x&&r(s,{disabled:C,size:16,name:x}),b&&r(t,{sizing:"xs",onClick:b,shape:"round",disabled:C,variation:"default",sx:{"&.MuiIconButton-root.Mui-disabled":{"&:before":{backgroundColor:"transparent"}}},icon:r(s,{name:"cancel",sx:{color:j?c.custom.palette.blue[1e3]:c.custom.palette.icon.secondary}})})]})]});return v?r(a,{message:u,...y?.tooltip,children:z}):z};export{m as default};
1
+ import{jsxs as o,jsx as e,Fragment as r}from"react/jsx-runtime";import{useTheme as s}from"@mui/material";import"../../BrandCore/colorRamps.js";import"../../BrandCore/primitiveVariables.js";import"../../BrandCore/semanticColor.js";import"../../BrandCore/types.js";import"../../BrandCore/typography.js";import i from"../../BrandCore/Icon/Icon.js";import t from"../IconButton/IconButton.js";import n from"../Progress/Progress.js";import{Text as a}from"../Text/Text.js";import d from"../Tooltip/Tooltip.js";import l from"./StyledPill.js";import m from"./useTextTruncation.js";const p=p=>{const c=s(),{label:u,secondaryLabel:x,iconLeft:f,iconRight:g,onDelete:b,active:j,slots:y,loading:B,sizing:C,disabled:h,slotProps:T}=p,{textRef:z,isTruncated:I}=m([u]),P=o(l,{className:"loops-pill",tabIndex:0,...p,sx:{...T?.root?.sx},children:[B&&e(n,{sizing:C||"xl",sx:{color:c.custom.palette.icon.disabled}}),!B&&o(r,{children:[f&&e(i,{disabled:h,size:16,name:f}),"string"==typeof u?e(a,{size:"sm",noWrap:!0,ref:z,disabled:h,sx:{padding:`0 ${c.spacing(c.custom.padding.xs)}`},children:u}):u,"string"==typeof x?e(a,{secondary:!0,size:"sm",monospaced:!0,noWrap:!0,ref:z,disabled:h,sx:{padding:`0 ${c.spacing(c.custom.padding.xs)}`},children:x}):x,g&&e(i,{disabled:h,size:16,name:g}),b&&e(t,{sizing:"xs",onClick:b,shape:"round",disabled:h,variation:"default",sx:{"&.MuiIconButton-root.Mui-disabled":{"&:before":{backgroundColor:"transparent"}}},icon:e(i,{name:"cancel",sx:{color:j?c.custom.palette.blue[1e3]:c.custom.palette.icon.secondary}})})]})]});return I?e(d,{message:u,...y?.tooltip,children:P}):P};export{p as default};
@@ -1 +1 @@
1
- import{jsx as e}from"react/jsx-runtime";import{KeyboardArrowDown as l}from"@mui/icons-material";import{useTheme as t,Box as i}from"@mui/material";import{useBreakpoint as o}from"../../../utils/breakpoint.hook.js";import r from"../Typography/Typography.js";import{popperStyles as a}from"../AutocompleteBaseField/_partials/StyledPopper.js";import n from"../SelectItem/SelectItem.js";import m from"./StyledSelect.js";const s=({selections:s,disabled:p=!1,disablePortal:d=!1,inputRef:c,internalChange:u,onChange:h,placeholder:g="",selectOptionProps:f,sizing:v="lg",sx:b,value:x=[],multi:y,renderListItem:j,renderSelectedItem:I,...S})=>{const P=t(),z=o();return e(m,{sizing:v,inputRef:c,MenuProps:{disablePortal:d,sx:a(P,v),anchorOrigin:{vertical:"bottom",horizontal:"center"}},multiple:y,disabled:p,displayEmpty:!0,IconComponent:l,renderValue:l=>g&&!l||g&&0===l.length?e(r,{component:"p",variation:"sm"===z||"md"===z?"sm":"lg",sx:{color:P.custom.palette.text.placeholder},children:g}):I?e(i,{sx:{display:"flex",alignItems:"center",pl:P.p.xs,width:1},children:I(l,s?.find(({value:e})=>e===l)?.label)}):e(r,y?{id:"value-multi",component:"p",variation:"sm"===z||"md"===z?"sm":"lg",children:l.map(e=>s?.find(({value:l})=>l===e)?.label||e).join(", ")}:{id:"value-single",component:"p",variation:"sm"===z||"md"===z?"sm":"lg",children:s?.find(({value:e})=>e===l)?.label}),onChange:(e,l)=>{h&&h(e,l),u&&u()},sx:b,value:x,...S,children:s?.map(({value:l,label:t})=>e(n,{value:l,...f,sizing:v,children:j?j(l,t):t},l))})};export{s as default};
1
+ import{jsx as e}from"react/jsx-runtime";import{KeyboardArrowDown as l}from"@mui/icons-material";import{useTheme as t,Box as i}from"@mui/material";import{useBreakpoint as r}from"../../../utils/breakpoint.hook.js";import{Text as o}from"../Text/Text.js";import{popperStyles as a}from"../AutocompleteBaseField/_partials/StyledPopper.js";import s from"../SelectItem/SelectItem.js";import m from"./StyledSelect.js";const n=({selections:n,disabled:d=!1,disablePortal:p=!1,inputRef:c,internalChange:u,onChange:h,placeholder:f="",selectOptionProps:g,sizing:x="lg",sx:b,value:v=[],multi:j,renderListItem:z,renderSelectedItem:I,...S})=>{const y=t(),P=r();return e(m,{sizing:x,inputRef:c,MenuProps:{disablePortal:p,sx:a(y,x),anchorOrigin:{vertical:"bottom",horizontal:"center"}},multiple:j,disabled:d,displayEmpty:!0,IconComponent:l,renderValue:l=>f&&!l||f&&0===l.length?e(o,{size:"sm"===P||"md"===P?"sm":"lg",sx:{color:y.custom.palette.text.placeholder},children:f}):I?e(i,{sx:{display:"flex",alignItems:"center",pl:y.p.xs,width:1},children:I(l,n?.find(({value:e})=>e===l)?.label)}):e(o,j?{id:"value-multi",size:"sm"===P||"md"===P?"sm":"lg",children:l.map(e=>n?.find(({value:l})=>l===e)?.label||e).join(", ")}:{id:"value-single",size:"sm"===P||"md"===P?"sm":"lg",children:n?.find(({value:e})=>e===l)?.label}),onChange:(e,l)=>{h&&h(e,l),u&&u()},sx:b,value:v,...S,children:n?.map(({value:l,label:t})=>e(s,{value:l,...g,sizing:x,children:z?z(l,t):t},l))})};export{n as default};
@@ -0,0 +1 @@
1
+ import{tone3 as t}from"../../BrandCore/gradients.js";import"../utils/typography.util.js";const e=t=>({color:t.custom.palette.text.secondary}),o=t=>({color:t.custom.palette.text.disabled}),i=e=>({background:t(e),backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",width:"fit-content"}),r=t=>({color:t}),l=t=>({color:t.custom.palette.text.lockedWhite}),a=t=>({display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical",WebkitLineClamp:t}),n=()=>({fontVariantNumeric:"tabular-nums"}),x=()=>({lineHeight:1.2}),c=(t,e)=>e?"xxs"===t||"xs"===t?"sm":t:"xxxl"===t?"xxl":t;export{i as aiStyle,x as buttonVariantStyle,a as clampStyle,o as disabledStyle,c as getSizeBoundary,l as lockedWhiteColorStyle,n as monospacedStyle,e as secondaryStyle,r as textColorStyle};
@@ -0,0 +1 @@
1
+ import{jsx as o}from"react/jsx-runtime";import t from"@mui/material/Typography";import{useTheme as e}from"@mui/material/styles";import{mergeSx as r}from"merge-sx";import{forwardRef as i}from"react";import{disabledStyle as m,clampStyle as a,textColorStyle as d,lockedWhiteColorStyle as s,aiStyle as p,secondaryStyle as n,monospacedStyle as l,buttonVariantStyle as c,getSizeBoundary as v}from"./Text.helpers.js";const f=i(({as:i="p",variant:f,component:x,size:h="md",clamp:u=0,disabled:y,monospaced:T,secondary:b,textColor:g,lockedWhite:j,ai:W,bold:k,headline:z,sx:C,...N},q)=>{const w=e();return o(t,{ref:q,variant:v(h,z??!1),component:z?x||"h2":"p",fontWeight:k?"500":"normal",...N,sx:r({..."button"===f?c():void 0,...T?l():void 0,...b?n(w):void 0,...W?p(w):void 0,...j?s(w):void 0,...g?d(g):void 0,...u?a(u):void 0,...y?m(w):void 0},C)})});f.displayName="Text";export{f as Text,f as default};
@@ -1 +1 @@
1
- import{jsx as t}from"react/jsx-runtime";import{useTheme as e,Box as r}from"@mui/material";import{mergeSx as o}from"merge-sx";import a from"../Typography/Typography.js";const i=({typographyProps:i,text:n,sx:p})=>{const l=e();return t(r,{sx:o(p,{width:"100%",position:"relative",display:"flex",gap:4,my:l.spacing(l.custom.margin.md),"&:before":{content:'""',width:"100%",background:l.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"},"&:after":{content:'""',width:"100%",background:l.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"}}),children:t(a,{align:"center",variation:"sm",component:"p",...i,children:n})})};export{i as default};
1
+ import{jsx as t}from"react/jsx-runtime";import{useTheme as e,Box as r}from"@mui/material";import{mergeSx as i}from"merge-sx";import{Text as o}from"../Text/Text.js";const a=({typographyProps:a,text:s,sx:n})=>{const l=e();return t(r,{sx:i(n,{width:"100%",position:"relative",display:"flex",gap:4,my:l.spacing(l.custom.margin.md),"&:before":{content:'""',width:"100%",background:l.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"},"&:after":{content:'""',width:"100%",background:l.custom.palette.stroke.default,height:"1px",display:"flex",alignSelf:"center"}}),children:t(o,{align:"center",size:"sm",...a,children:s})})};export{a as default};
@@ -1 +1 @@
1
- import{jsx as e,jsxs as r}from"react/jsx-runtime";import{useTheme as t,Stack as o,Box as a}from"@mui/material";import s from"../../BrandCore/Icon/Icon.js";import l from"../Typography/Typography.js";const n=({buttons:s,message:n,status:i="neutral",variation:u="sm"})=>{const d=t();return e(o,{sx:{backgroundColor:d.custom.palette.surface.overlay,borderRadius:d.spacing(d.custom.radius.lg),boxShadow:d.custom.elevation.overlay,color:d.custom.palette.text.primaryInverted,display:"flex",flex:1,gap:1,p:2},children:r(a,{sx:{display:"flex",flex:1,flexDirection:"sm"===u?"row":"column",gap:2},children:[r(a,{sx:{display:"flex",flex:1,gap:1},children:["neutral"!==i&&e(c,{status:i}),e(a,{sx:{display:"flex"},children:e(l,{variation:"md",component:"p",sx:{px:1,pt:.5},children:n})})]}),s&&e(a,{sx:{alignItems:"center",display:"flex",gap:2,justifyContent:"flex-end"},children:s})]})})},c=({status:r})=>{const o=t();switch(r){case"neutral":return null;case"success":return e(i,{backgroundColor:o.custom.palette.green[500],name:"check-circle"});case"warning":return e(i,{backgroundColor:o.custom.palette.yellow[500],name:"error"});case"danger":return e(i,{backgroundColor:o.custom.palette.red[500],name:"warning"});case"discover":return e(i,{backgroundColor:o.custom.palette.purple[500],name:"lightbulb"})}},i=({backgroundColor:r,name:o})=>{const l=t();return e(a,{sx:{display:"flex",alignItems:"flex-start",pt:.25},children:e(a,{sx:{backgroundColor:r,borderRadius:l.custom.radius.round,color:l.custom.palette.white,display:"flex",p:.5},children:e(s,{name:o,size:20})})})};export{n as default};
1
+ import{jsx as e,jsxs as r}from"react/jsx-runtime";import{useTheme as t,Stack as a,Box as o}from"@mui/material";import s from"../../BrandCore/Icon/Icon.js";import{Text as l}from"../Text/Text.js";const n=({buttons:s,message:n,status:u="neutral",variation:i="sm"})=>{const d=t();return e(a,{sx:{backgroundColor:d.custom.palette.surface.overlay,borderRadius:d.spacing(d.custom.radius.lg),boxShadow:d.custom.elevation.overlay,color:d.custom.palette.text.primaryInverted,display:"flex",flex:1,gap:1,p:2},children:r(o,{sx:{display:"flex",flex:1,flexDirection:"sm"===i?"row":"column",gap:2},children:[r(o,{sx:{display:"flex",flex:1,gap:1},children:["neutral"!==u&&e(c,{status:u}),e(o,{sx:{display:"flex"},children:e(l,{sx:{px:1,pt:.5},children:n})})]}),s&&e(o,{sx:{alignItems:"center",display:"flex",gap:2,justifyContent:"flex-end"},children:s})]})})},c=({status:r})=>{const a=t();switch(r){case"neutral":return null;case"success":return e(u,{backgroundColor:a.custom.palette.green[500],name:"check-circle"});case"warning":return e(u,{backgroundColor:a.custom.palette.yellow[500],name:"error"});case"danger":return e(u,{backgroundColor:a.custom.palette.red[500],name:"warning"});case"discover":return e(u,{backgroundColor:a.custom.palette.purple[500],name:"lightbulb"})}},u=({backgroundColor:r,name:a})=>{const l=t();return e(o,{sx:{display:"flex",alignItems:"flex-start",pt:.25},children:e(o,{sx:{backgroundColor:r,borderRadius:l.custom.radius.round,color:l.custom.palette.white,display:"flex",p:.5},children:e(s,{name:a,size:20})})})};export{n as default};
@@ -1 +1 @@
1
- import{jsxs as t,jsx as o}from"react/jsx-runtime";import"@mui/material";import r from"../../BrandCore/Icon/Icon.js";import i from"../Typography/Typography.js";import a from"./TrialCardContainers.js";import{TrialPill as e}from"./TrialPill.js";const n=({promoHeadline:n,promoDescription:m,ctaText:l,ctaFn:c})=>t(a.TrialCard,{gradient:"tone1",texture:"noise1",children:[t(a.Top,{sx:{alignItems:"start"},children:[o(e,{body:n,weight:"heavy",icon:o(r,{name:"gift"})}),o(i,{component:"p",variation:"lg",sx:{maxWidth:{lg:600,md:"initial"},color:t=>t.custom.palette.text.lockedWhite},children:m})]}),o(a.CtaButtonContainer,{children:o(a.CtaButton,{variation:"secondary",onClick:c,children:l})})]});export{n as default};
1
+ import{jsxs as t,jsx as i}from"react/jsx-runtime";import"@mui/material";import r from"../../BrandCore/Icon/Icon.js";import{Text as o}from"../Text/Text.js";import e from"./TrialCardContainers.js";import{TrialPill as a}from"./TrialPill.js";const n=({promoHeadline:n,promoDescription:m,ctaText:l,ctaFn:s})=>t(e.TrialCard,{gradient:"tone1",texture:"noise1",children:[t(e.Top,{sx:{alignItems:"start"},children:[i(a,{body:n,weight:"heavy",icon:i(r,{name:"gift"})}),i(o,{size:"lg",lockedWhite:!0,sx:{maxWidth:{lg:600,md:"initial"}},children:m})]}),i(e.CtaButtonContainer,{children:i(e.CtaButton,{variation:"secondary",onClick:s,children:l})})]});export{n as default};
@@ -1 +1 @@
1
- import{jsx as e,jsxs as t}from"react/jsx-runtime";import{styled as r,Box as n,Stack as o,Button as i,useTheme as a,Fade as c}from"@mui/material";import{useRef as s}from"react";import d from"../../BrandCore/Icon/Icon.js";import l from"../Avatar/Avatar.js";import p from"../Typography/Typography.js";const m=r(n)(({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),justifyContent:"space-between"})),u=r(o,{shouldForwardProp:e=>!["withMenu"].includes(e)})(({withMenu:e})=>({textAlign:"left",width:e?118:152,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"})),h=r(o)(({theme:e})=>({alignItems:"center",color:e.custom.palette.icon.secondary,display:"flex",justifyContent:"center"})),f=r(i,{shouldForwardProp:e=>!["active","rounded"].includes(e)})(({active:e,rounded:t,theme:r})=>({backgroundColor:e?r.custom.palette.interaction.press:"transparent",borderRadius:r.spacing(t?r.custom.radius.round:r.custom.radius.md),justifyContent:"flex-start",minWidth:0,overflow:"hidden",padding:r.spacing(.5),textTransform:"none",width:"100%","&:hover":{backgroundColor:r.custom.palette.interaction.hover}})),v=({active:r,avatar:n,email:o,name:i,rounded:v,withMenu:g})=>{const w=a(),y=s(null);return e(f,{active:r,rounded:v,children:t(m,{ref:y,children:[e(l,{src:n,sizing:"sm"}),e(c,{in:!0,children:t(m,{children:[t(u,{withMenu:g,children:[e(p,{variation:"sm",component:"p",type:"button",noWrap:!0,children:i}),e(p,{variation:"xs",component:"p",type:"button",noWrap:!0,sx:{color:w.custom.palette.text.secondary},children:o})]}),g&&e(h,{children:e(d,{name:"chevron-right",size:24})})]})})]})})};export{v as default};
1
+ import{jsx as e,jsxs as t}from"react/jsx-runtime";import{styled as r,Box as n,Stack as o,Button as i,useTheme as a,Fade as s}from"@mui/material";import{useRef as c}from"react";import d from"../../BrandCore/Icon/Icon.js";import l from"../Avatar/Avatar.js";import{Text as m}from"../Text/Text.js";const u=r(n)(({theme:e})=>({alignItems:"center",display:"flex",gap:e.spacing(1),justifyContent:"space-between"})),p=r(o,{shouldForwardProp:e=>!["withMenu"].includes(e)})(({withMenu:e})=>({textAlign:"left",width:e?118:152,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"})),h=r(o)(({theme:e})=>({alignItems:"center",color:e.custom.palette.icon.secondary,display:"flex",justifyContent:"center"})),f=r(i,{shouldForwardProp:e=>!["active","rounded"].includes(e)})(({active:e,rounded:t,theme:r})=>({backgroundColor:e?r.custom.palette.interaction.press:"transparent",borderRadius:r.spacing(t?r.custom.radius.round:r.custom.radius.md),justifyContent:"flex-start",minWidth:0,overflow:"hidden",padding:r.spacing(.5),textTransform:"none",width:"100%","&:hover":{backgroundColor:r.custom.palette.interaction.hover}})),v=({active:r,avatar:n,email:o,name:i,rounded:v,withMenu:w})=>{const x=a(),g=c(null);return e(f,{active:r,rounded:v,children:t(u,{ref:g,children:[e(l,{src:n,sizing:"sm"}),e(s,{in:!0,children:t(u,{children:[t(p,{withMenu:w,children:[e(m,{size:"sm",variant:"button",noWrap:!0,children:i}),e(m,{size:"xs",variant:"button",noWrap:!0,sx:{color:x.custom.palette.text.secondary},children:o})]}),w&&e(h,{children:e(d,{name:"chevron-right",size:24})})]})})]})})};export{v as default};
@@ -1 +1 @@
1
- import{fonts as t}from"../../BrandCore/typography.js";const o=["xxs","xs","sm","md","lg","xl","xxl","xxxl"],n=(t,o=16)=>{const n=1/o*t;return Math.round(1e3*n)/1e3},e=(t,e="xs")=>{const s=o.reduce((n,s,r)=>{const a=o.indexOf(e)||0,x=Number((16*Math.pow(t,r-a)).toFixed(2));return n[s]=x,n},{}),r={};for(const[t,o]of Object.entries(s))r[t]=n(o)+"rem";return r},s={lg:{headline:e(1.309,"xs"),body:e(1.125,"md")},sm:{headline:e(1.125,"xs"),body:e(1.1,"md")},button:e(1.125,"md")},r=n=>{const e=o.map(o=>({props:{variant:o},style:{fontFamily:`${t.FontStack.Serif}`,fontSize:s[n].headline[o]}})),r=o.map(o=>({props:{variant:o,component:"h5"},style:{fontFamily:`${t.FontStack.SansSerif}`,fontSize:s[n].body[o]}})),a=o.map(o=>({props:{variant:o,component:"h6"},style:{fontFamily:`${t.FontStack.SansSerif}`,fontSize:s[n].body[o]}}));return[...e,...o.map(o=>({props:{variant:o,component:"p"},style:{fontFamily:`${t.FontStack.SansSerif}`,fontSize:s[n].body[o]}})),...r,...a]},a={xxs:s.button.xxs,xs:s.button.xs,sm:s.button.sm,md:s.button.sm,lg:s.button.md,xl:s.button.lg,xxl:s.button.xl,xxxl:s.button.xxl};export{a as fontSizemap,n as pxToRem,e as typographicScale,o as typographicSizes,s as typographyVariantMap,r as typographyVariants};
1
+ import{fonts as t}from"../../BrandCore/typography.js";const o=["xxs","xs","sm","md","lg","xl","xxl","xxxl"],n=(t,o=16)=>{const n=1/o*t;return Math.round(1e3*n)/1e3},x=(t,x="xs")=>{const l=o.reduce((n,l,s)=>{const e=o.indexOf(x)||0,r=Number((16*Math.pow(t,s-e)).toFixed(2));return n[l]=r,n},{}),s={};for(const[t,o]of Object.entries(l))s[t]=n(o)+"rem";return s},l={lg:{headline:x(1.309,"xs"),body:x(1.125,"md")},sm:{headline:x(1.125,"xs"),body:x(1.1,"md")},button:x(1.125,"md")},s=n=>{const x=o.map(o=>({props:{variant:o},style:{fontFamily:`${t.FontStack.Serif}`,fontSize:l[n].headline[o]}})),s=o.map(o=>({props:{variant:o,component:"h5"},style:{fontFamily:`${t.FontStack.SansSerif}`,fontSize:l[n].body[o]}})),e=o.map(o=>({props:{variant:o,component:"h6"},style:{fontFamily:`${t.FontStack.SansSerif}`,fontSize:l[n].body[o]}}));return[...x,...o.map(o=>({props:{variant:o,component:"p"},style:{fontFamily:`${t.FontStack.SansSerif}`,fontSize:l[n].body[o]}})),...s,...e]},e={xxs:l.button.xxs,xs:l.button.xs,sm:l.button.sm,md:l.button.sm,lg:l.button.md,xl:l.button.lg,xxl:l.button.xl,xxxl:l.button.xxl},r={xxs:l.lg.body.xxs,xs:l.lg.body.xs,sm:l.lg.body.sm,md:l.lg.body.md,lg:l.lg.body.lg,xl:l.lg.body.xl,xxl:l.lg.body.xxl,xxxl:l.lg.body.xxxl};export{r as bodyFontSizeMap,e as fontSizemap,n as pxToRem,x as typographicScale,o as typographicSizes,l as typographyVariantMap,s as typographyVariants};
package/dist/index.d.ts CHANGED
@@ -157,6 +157,8 @@ export { default as SortableList, SortableListProps } from './systems/WebCore/So
157
157
  export { default as StarRating, StarRatingProps } from './systems/WebCore/StarRating/StarRating.js';
158
158
  export { default as Surface, SurfaceProps } from './systems/WebCore/Surface/Surface.js';
159
159
  export { default as Switch, SwitchProps } from './systems/WebCore/Switch/Switch.js';
160
+ export { Text } from './systems/WebCore/Text/Text.js';
161
+ export { TextProps } from './systems/WebCore/Text/types.js';
160
162
  export { default as Textarea, TextareaProps } from './systems/WebCore/Textarea/Textarea.js';
161
163
  export { default as TextBarDivider, TextBarDividerProps } from './systems/WebCore/TextBarDivider/TextBarDivider.js';
162
164
  export { default as TextField, TextFieldProps } from './systems/WebCore/TextField/TextField.js';
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";var e=require("./systems/BrandCore/colorRamps.js"),r=require("./systems/BrandCore/gradients.js"),s=require("./systems/BrandCore/primitiveColor.js"),t=require("./systems/BrandCore/primitiveVariables.js"),o=require("./systems/BrandCore/semanticColor.js"),a=require("./systems/BrandCore/types.js"),i=require("./systems/BrandCore/typography.js");require("react/jsx-runtime"),require("@mui/material");var p=require("./systems/BrandCore/Icon/Icon.js"),u=require("./systems/Marketing/PlanFeatureTable/PlanFeatureTable.js"),n=require("./systems/Marketing/PlanTierCard/PlanTierCard.js"),m=require("./systems/Marketing/TickGroup/TickGroup.js"),l=require("./systems/Platform/AiContentContainer/AiContentContainer.js"),d=require("./systems/Platform/AIInsight/AIInsight.js"),x=require("./systems/Platform/AISummary/AISummary.js"),y=require("./systems/Platform/AIWrittenByLockUp/AiWrittenByLockUp.js"),C=require("./systems/Platform/ArrowTextIndicator/ArrowTextIndicator.js"),j=require("./systems/Platform/AssetItem/AssetItem.js"),b=require("./systems/Platform/AuthContainerSurface/AuthContainerSurface.js"),c=require("./systems/Platform/ClipboardCopyingOverlay/ClipboardCopyingOverlay.js"),q=require("./systems/Platform/CommentCard/CommentCard.js"),P=require("./systems/Platform/DataPointInfo/DataPointInfo.js"),h=require("./systems/Platform/DemographicSelectionSection/DemographicSelectionSection.js"),g=require("./systems/Platform/EmojiListItem/EmojiListItem.js"),B=require("./systems/Platform/EmojiQuestionEditorOption/EmojiQuestionEditorOption.js"),W=require("./systems/Platform/EmptyStateCard/EmptyStateCard.js"),I=require("./systems/Platform/ExtendedTestStatus/ExtendedTestStatus.js"),f=require("./systems/Platform/FilterCount/FilterCount.js"),S=require("./systems/Platform/FilteredItemsCard/FilteredItemsCard.js"),A=require("./systems/Platform/FilterGroupAccordion/FilterGroupAccordion.js"),T=require("./systems/Platform/FilterPyramidGraph/FilterPyramidGraph.js"),L=require("./systems/Platform/FilterRow/FilterRow.js"),G=require("./systems/Platform/GraphBar/GraphBar.js"),k=require("./systems/Platform/Header/Header.js"),F=require("./systems/Platform/KpiDataPopover/KpiDataPopover.js"),M=require("./systems/Platform/KpiIndicator/KpiIndicator.js"),v=require("./systems/Platform/KpiIndicator/utils.js"),R=require("./systems/Platform/LikertGraph/LikertGraph.js"),w=require("./systems/Platform/LoopItem/LoopItem.js"),E=require("./systems/Platform/LoopItemEmpty/LoopItemEmpty.js"),D=require("./systems/Platform/MiniResultCard/graphVariants.js"),K=require("./systems/Platform/MiniResultCard/MiniResultCard.js"),N=require("./systems/Platform/Navigation/Navigation.js"),H=require("./systems/Platform/OnboardingCard/OnboardingCard.js"),V=require("./systems/Platform/PaginationControl/PaginationControl.js"),_=require("./systems/Platform/ProjectItem/ProjectItem.js"),O=require("./systems/Platform/ProjectItem/ProjectItemEmpty.js"),Q=require("./utils/formValidation/email.js"),U=require("./utils/formValidation/misc.js"),z=require("./utils/formValidation/password.js"),X=require("./systems/WebCore/ButtonBase/Button.variant-helpers.js"),Y=require("./systems/WebCore/utils/backgroundCreator.js"),J=require("./systems/WebCore/AnnualController/AnnualController.js"),Z=require("./systems/WebCore/SelectItem/SelectItem.js"),$=require("./systems/WebCore/Accordion/Accordion.js"),ee=require("./systems/WebCore/Animations/FadeIn.js"),re=require("./systems/WebCore/AuthFormHeader/AuthFormHeader.js"),se=require("./systems/WebCore/AutocompleteBaseField/AutocompleteBaseField.js"),te=require("./systems/WebCore/AutocompleteField/AutocompleteField.js"),oe=require("./systems/WebCore/Avatar/Avatar.js"),ae=require("./systems/WebCore/AvatarGroup/AvatarGroup.js"),ie=require("./systems/WebCore/Badge/Badge.js"),pe=require("./systems/WebCore/BrandBadge/BrandBadge.js"),ue=require("./systems/WebCore/Breadcrumb/Breadcrumb.js"),ne=require("./systems/WebCore/BulletGraphic/BulletGraphic.js"),me=require("./systems/WebCore/Button/Button.js"),le=require("./systems/WebCore/ButtonBase/ButtonBase.js"),de=require("./systems/WebCore/ButtonTabGroup/ButtonTabGroup.js"),xe=require("./systems/WebCore/Checkbox/Checkbox.js");require("./systems/WebCore/Checkbox/StyledCheckbox.js");var ye=require("./systems/WebCore/CheckboxGroup/CheckboxGroup.js"),Ce=require("./systems/WebCore/ColorBackgroundContainer/ColorBackgroundContainer.js"),je=require("./systems/WebCore/CreatableAutocomplete/CreatableAutocomplete.js"),be=require("./systems/WebCore/CustomField/CustomField.js"),ce=require("./systems/WebCore/Differential/Differential.js"),qe=require("./systems/WebCore/DropdownMenu/DropdownMenu.js"),Pe=require("./systems/WebCore/DropdownMenu/DropdownMenu.hook.js"),he=require("./systems/WebCore/EmojiWrapper/EmojiWrapper.js"),ge=require("./systems/WebCore/ExpandableTypographyClamp/ExpandableTypographyClamp.js"),Be=require("./systems/WebCore/Flag/Flag.js"),We=require("./systems/WebCore/FormControlLabel/FormControlLabel.js"),Ie=require("./systems/WebCore/FormGenerator/FormGenerator.js"),fe=require("./systems/WebCore/GridOverlay/GridOverlay.js"),Se=require("./systems/WebCore/Html/Html.js"),Ae=require("./systems/WebCore/HtmlParser/HtmlParser.js"),Te=require("./systems/WebCore/IconButton/IconButton.js"),Le=require("./systems/WebCore/IconButtonBase/IconButton.variant-helpers.js"),Ge=require("./systems/WebCore/IconButtonBase/IconButtonBase.js"),ke=require("./systems/WebCore/IconButtonGroup/IconButtonGroup.js"),Fe=require("./systems/WebCore/Image/Image.js"),Me=require("./systems/WebCore/InputFieldBase/InputFieldBase.js"),ve=require("./systems/WebCore/InputLabel/InputLabel.js"),Re=require("./systems/WebCore/InputLabelHelp/InputLabelHelp.js"),we=require("./systems/WebCore/KbdGroup/Kbd.js"),Ee=require("./systems/WebCore/KbdGroup/KbdGroup.js"),De=require("./systems/WebCore/KeyValueLabel/KeyValueLabel.js"),Ke=require("./systems/WebCore/Label/Label.js"),Ne=require("./systems/WebCore/Likert/Likert.js"),He=require("./systems/WebCore/Link/Link.js"),Ve=require("./systems/WebCore/Loader/Loader.js"),_e=require("./systems/WebCore/Logo/Logo.js"),Oe=require("./systems/WebCore/LoopsAiButton/LoopsAiButton.js"),Qe=require("./systems/WebCore/Markdown/Markdown.js"),Ue=require("./systems/WebCore/Menu/Menu.js"),ze=require("./systems/WebCore/ModalLayout/_partials/ModalActionsWrapper.js"),Xe=require("./systems/WebCore/ModalLayout/_partials/ModalContentWrapper.js"),Ye=require("./systems/WebCore/ModalLayout/ModalLayout.js"),Je=require("./systems/WebCore/NavigationButton/NavigationButton.js"),Ze=require("./systems/WebCore/Nudge/Nudge.js"),$e=require("./systems/WebCore/Typography/Typography.js");require("./systems/WebCore/Nudge/NudgeButton.js");var er=require("./systems/WebCore/NumberField/NumberField.js"),rr=require("./systems/WebCore/Pill/Pill.js"),sr=require("./systems/WebCore/Popper/Popper.js"),tr=require("./systems/WebCore/PoweredByWatermarkLogo/PoweredByWatermarkLogo.js"),or=require("./systems/WebCore/Progress/Progress.js"),ar=require("./systems/WebCore/ProgressBar/ProgressBar.js"),ir=require("./systems/WebCore/Radio/Radio.js");require("./systems/WebCore/Radio/StyledRadio.js");var pr=require("./systems/WebCore/RadioGroup/RadioGroup.js"),ur=require("./systems/WebCore/Rank/Rank.js"),nr=require("./systems/WebCore/RichTextField/RichTextField.js"),mr=require("./systems/WebCore/Select/Select.js"),lr=require("./systems/WebCore/Skeleton/Skeleton.js"),dr=require("./systems/WebCore/Slider/Slider.js"),xr=require("./systems/WebCore/SortableList/SortableList.js"),yr=require("./systems/WebCore/StarRating/StarRating.js"),Cr=require("./systems/WebCore/Surface/Surface.js"),jr=require("./systems/WebCore/Switch/Switch.js"),br=require("./systems/WebCore/Textarea/Textarea.js"),cr=require("./systems/WebCore/TextBarDivider/TextBarDivider.js"),qr=require("./systems/WebCore/TextField/TextField.js"),Pr=require("./systems/WebCore/Toast/Toast.js"),hr=require("./systems/WebCore/Tooltip/Tooltip.js"),gr=require("./systems/WebCore/TrialCard/TrialCard.js"),Br=require("./systems/WebCore/UserMenu/UserMenu.js"),Wr=require("./systems/WebCore/VideoModal/VideoModal.js"),Ir=require("./utils/pluralise.js");require("./systems/Platform/ProjectItem/_partials/ProjectItemBadge.js"),require("merge-sx"),require("./systems/Platform/ProjectItem/_partials/styledPartials.js"),require("dayjs");var fr=require("./systems/Platform/QuestionBar/QuestionBar.js"),Sr=require("./systems/Platform/QuestionBlock/QuestionBlock.js"),Ar=require("./systems/Platform/QuestionSelector/QuestionSelector.js"),Tr=require("./systems/Platform/ScrollIndicator/ScrollIndicator.js"),Lr=require("./systems/Platform/SearchInput/SearchInput.js"),Gr=require("./systems/Platform/SectionHeader/SectionHeader.js"),kr=require("./systems/Platform/SentimentArrow/SentimentArrow.js");require("./systems/Platform/SliderGraph/_partials/SliderGraphYAxis/SliderGraphYAxis.js");var Fr=require("./systems/Platform/SliderGraph/SliderGraph.js");require("react");var Mr=require("./systems/Platform/GraphPopoverDataLayout/GraphPopoverDataLayout.js");require("./systems/Platform/SliderGraph/_partials/StyledComponents.js");var vr=require("./systems/Platform/Tab/Tab.js"),Rr=require("./systems/Platform/TestItem/TestItem.js"),wr=require("./systems/Platform/TestKPICard/TestKPICard.js"),Er=require("./systems/Platform/VideoControls/VideoControls.js"),Dr=require("./systems/Platform/LoopVideoNudge/LoopVideoNudge.js"),Kr=require("./systems/Platform/PinchIndicator/PinchIndicator.js"),Nr=require("./utils/breakpoint.hook.js"),Hr=require("./utils/compareArrayMembers.js"),Vr=require("./utils/isButton.js"),_r=require("./utils/screen.hook.js"),Or=require("./utils/useKeyCombo.js"),Qr=require("./utils/usePrevious.js"),Ur=require("./utils/shouldForwardProp.js"),zr=require("./theme/theme.js"),Xr=require("./theme/theme.hooks.js"),Yr=require("./theme/theme.provider.js"),Jr=require("./theme/theme.context.js");exports.blueRamp=e.blueRamp,exports.generateRamp=e.generateRamp,exports.greenRamp=e.greenRamp,exports.neutralRamp=e.neutralRamp,exports.peachRamp=e.peachRamp,exports.purpleRamp=e.purpleRamp,exports.redRamp=e.redRamp,exports.yellowRamp=e.yellowRamp,exports.tone1=r.tone1,exports.tone2=r.tone2,exports.tone3=r.tone3,exports.tone3_ai_icon=r.tone3_ai_icon,exports.tone3_border=r.tone3_border,exports.tone3_lowOpacity_text=r.tone3_lowOpacity_text,exports.tone4=r.tone4,exports.tone5=r.tone5,exports.blue=s.blue,exports.darkNeutral=s.darkNeutral,exports.darkNeutralAlpha=s.darkNeutralAlpha,exports.green=s.green,exports.neutral=s.neutral,exports.neutralAlpha=s.neutralAlpha,exports.peach=s.peach,exports.purple=s.purple,exports.red=s.red,exports.yellow=s.yellow,exports.base=t.base,exports.boxShadow=t.boxShadow,exports.breakpoints=t.breakpoints,exports.easing=t.easing,exports.elevation=t.elevation,exports.elevationFilter=t.elevationFilter,exports.margin=t.margin,exports.padding=t.padding,exports.radius=t.radius,exports.space=t.space,exports.semantic=o.semantic,Object.defineProperty(exports,"FontWeight",{enumerable:!0,get:function(){return a.FontWeight}}),exports.fonts=i.fonts,exports.Icon=p.default,exports.iconSizeMap=p.iconSizeMap,exports.PlanFeatureTable=u,exports.PlanTierCard=n,exports.TickGroup=m,exports.AiContentContainer=l.default,exports.AIInsight=d,exports.AISummary=x,exports.AIWrittenByLockUp=y,exports.ArrowTextIndicator=C,exports.AssetItem=j,exports.AuthContainerSurface=b,exports.ClipboardCopyingOverlay=c,exports.CommentCard=q.default,exports.getAuthorAvatarColor=q.getAuthorAvatarColor,exports.DataPointInfo=P,exports.DemographicSelectionSection=h,exports.EmojiListItem=g,exports.EmojiQuestionEditorOption=B,exports.EmptyStateCard=W,exports.ExtendedTestStatus=I,exports.FilterCount=f,exports.FilteredItemsCard=S,exports.FilterGroupAccordion=A,exports.FilterPyramidGraph=T,exports.FilterRow=L,exports.GraphBar=G,exports.Header=k,exports.KpiDataPopover=F,exports.KpiIndicator=M,exports.getKpiIndicatorColor=v.getKpiIndicatorColor,exports.mapKpiColorSchemeByInteger=v.mapKpiColorSchemeByInteger,exports.LikertGraph=R,exports.LoopItem=w,exports.LoopItemEmpty=E,exports.MiniEmojiGraph=D.MiniEmojiGraph,exports.MiniLikertGraph=D.MiniLikertGraph,exports.MiniOpenQuestionGraph=D.MiniOpenQuestionGraph,exports.MiniPunchGraph=D.MiniPunchGraph,exports.MiniRankGraph=D.MiniRankGraph,exports.MiniSliderGraph=D.MiniSliderGraph,exports.MiniResultCard=K,exports.Navigation=N,exports.OnboardingCard=H,exports.PaginationControl=V,exports.ProjectItem=_,exports.ProjectItemEmpty=O,exports.emailValidation=Q.emailValidation,exports.DEFAULT_MAX_INPUT_LENGTH=U.DEFAULT_MAX_INPUT_LENGTH,exports.chooseArticle=U.chooseArticle,exports.defaultInputValidation=U.defaultInputValidation,exports.passwordValidation=z.passwordValidation,exports.buttonHeightMap=X.buttonHeightMap,exports.buttonInteraction=X.buttonInteraction,exports.buttonPadding=X.buttonPadding,exports.getButtonSizing=X.getButtonSizing,exports.getButtonTypography=X.getButtonTypography,exports.getIconSizing=X.getIconSizing,exports.outlined=X.outlined,exports.primary=X.primary,exports.secondary=X.secondary,exports.subtle=X.subtle,exports.backgroundCreator=Y.backgroundCreator,exports.AnnualController=J,exports.SelectItem=Z,exports.Accordion=$.default,exports.FadeIn=ee,exports.AuthFormHeader=re,exports.AutocompleteBaseField=se,exports.AutocompleteField=te,exports.Avatar=oe,exports.AvatarGroup=ae,exports.Badge=ie,exports.BrandBadge=pe.default,exports.Breadcrumb=ue,exports.BulletGraphic=ne.default,exports.Button=me,exports.ButtonBase=le,exports.ButtonTabGroup=de,exports.Checkbox=xe,exports.CheckboxGroup=ye,exports.ColorBackgroundContainer=Ce,exports.CreatableAutocomplete=je,exports.CustomField=be,exports.Differential=ce,exports.DropdownMenu=qe,exports.useDropdownMenu=Pe.useDropdownMenu,exports.EmojiWrapper=he,exports.ExpandableTypographyClamp=ge,exports.Flag=Be,exports.FormControlLabel=We,exports.FormGenerator=Ie.default,exports.GridOverlay=fe.default,exports.Html=Se,exports.HtmlParser=Ae,exports.IconButton=Te,exports.iconButtonHelpers=Le,exports.IconButtonBase=Ge,exports.IconButtonGroup=ke,exports.Image=Fe,exports.InputFieldBase=Me,exports.InputLabel=ve,exports.InputLabelHelp=Re,exports.Kbd=we,exports.KbdGroup=Ee,exports.KeyValueLabel=De,exports.Label=Ke,exports.Likert=Ne,exports.Link=He,exports.Loader=Ve,exports.Logo=_e,exports.LoopsAiButton=Oe,exports.Markdown=Qe,exports.Menu=Ue.default,exports.ModalActionsWrapper=ze.ModalActionsWrapper,exports.ModalContentWrapper=Xe.ModalContentWrapper,exports.ModalLayout=Ye,exports.NavigationButton=Je,exports.Nudge=Ze,exports.Typography=$e,exports.NumberField=er,exports.Pill=rr,exports.Popper=sr,exports.PoweredByWatermarkLogo=tr,exports.Progress=or,exports.ProgressBar=ar,exports.Radio=ir,exports.RadioGroup=pr,exports.Rank=ur,exports.RichTextField=nr,exports.Select=mr,exports.Skeleton=lr,exports.Slider=dr,exports.SortableList=xr,exports.StarRating=yr,exports.Surface=Cr,exports.Switch=jr,exports.Textarea=br,exports.TextBarDivider=cr,exports.TextField=qr,exports.Toast=Pr,exports.Tooltip=hr,exports.TrialCard=gr,exports.UserMenu=Br,exports.VideoModal=Wr,exports.pluralise=Ir.pluralise,exports.QuestionLabel=fr,exports.QuestionBlock=Sr,exports.QuestionSelector=Ar,exports.ScrollIndicator=Tr,exports.SearchInput=Lr,exports.SectionHeader=Gr,exports.SentimentArrow=kr,exports.SliderGraph=Fr,exports.GraphPopoverDataLayout=Mr,exports.Tab=vr,exports.TestItem=Rr,exports.TestKPICard=wr,exports.VideoControls=Er,exports.LoopVideoNudge=Dr,exports.PinchIndicator=Kr,exports.useBreakpoint=Nr.useBreakpoint,exports.compareArrayMembers=Hr.compareArrayMembers,exports.isButton=Vr.isButton,exports.useScreenSize=_r.useScreenSize,exports.useKeyCombo=Or.useKeyCombo,exports.usePrevious=Qr.usePrevious,exports.omitProps=Ur.omitProps,exports.customTheme=zr.customTheme,exports.useTheme=Xr.useTheme,exports.useThemeBuilder=Xr.useThemeBuilder,exports.ThemeProvider=Yr.ThemeProvider,exports.ThemeContext=Jr.ThemeContext;
1
+ "use strict";var e=require("./systems/BrandCore/colorRamps.js"),r=require("./systems/BrandCore/gradients.js"),s=require("./systems/BrandCore/primitiveColor.js"),t=require("./systems/BrandCore/primitiveVariables.js"),o=require("./systems/BrandCore/semanticColor.js"),a=require("./systems/BrandCore/types.js"),i=require("./systems/BrandCore/typography.js");require("react/jsx-runtime"),require("@mui/material");var p=require("./systems/BrandCore/Icon/Icon.js"),u=require("./systems/Marketing/PlanFeatureTable/PlanFeatureTable.js"),n=require("./systems/Marketing/PlanTierCard/PlanTierCard.js"),m=require("./systems/Marketing/TickGroup/TickGroup.js"),l=require("./systems/Platform/AiContentContainer/AiContentContainer.js"),d=require("./systems/Platform/AIInsight/AIInsight.js"),x=require("./systems/Platform/AISummary/AISummary.js"),y=require("./systems/Platform/AIWrittenByLockUp/AiWrittenByLockUp.js"),C=require("./systems/Platform/ArrowTextIndicator/ArrowTextIndicator.js"),j=require("./systems/Platform/AssetItem/AssetItem.js"),b=require("./systems/Platform/AuthContainerSurface/AuthContainerSurface.js"),c=require("./systems/Platform/ClipboardCopyingOverlay/ClipboardCopyingOverlay.js"),q=require("./systems/Platform/CommentCard/CommentCard.js"),P=require("./systems/Platform/DataPointInfo/DataPointInfo.js"),h=require("./systems/Platform/DemographicSelectionSection/DemographicSelectionSection.js"),g=require("./systems/Platform/EmojiListItem/EmojiListItem.js"),W=require("./systems/Platform/EmojiQuestionEditorOption/EmojiQuestionEditorOption.js"),B=require("./systems/Platform/EmptyStateCard/EmptyStateCard.js"),I=require("./systems/Platform/ExtendedTestStatus/ExtendedTestStatus.js"),f=require("./systems/Platform/FilterCount/FilterCount.js"),S=require("./systems/Platform/FilteredItemsCard/FilteredItemsCard.js"),A=require("./systems/Platform/FilterGroupAccordion/FilterGroupAccordion.js"),T=require("./systems/Platform/FilterPyramidGraph/FilterPyramidGraph.js"),L=require("./systems/Platform/FilterRow/FilterRow.js"),G=require("./systems/Platform/GraphBar/GraphBar.js"),k=require("./systems/Platform/Header/Header.js"),F=require("./systems/Platform/KpiDataPopover/KpiDataPopover.js"),M=require("./systems/Platform/KpiIndicator/KpiIndicator.js"),v=require("./systems/Platform/KpiIndicator/utils.js"),R=require("./systems/Platform/LikertGraph/LikertGraph.js"),w=require("./systems/Platform/LoopItem/LoopItem.js"),E=require("./systems/Platform/LoopItemEmpty/LoopItemEmpty.js"),D=require("./systems/Platform/MiniResultCard/graphVariants.js"),K=require("./systems/Platform/MiniResultCard/MiniResultCard.js"),N=require("./systems/Platform/Navigation/Navigation.js"),H=require("./systems/Platform/OnboardingCard/OnboardingCard.js"),V=require("./systems/Platform/PaginationControl/PaginationControl.js"),_=require("./systems/Platform/ProjectItem/ProjectItem.js"),O=require("./systems/Platform/ProjectItem/ProjectItemEmpty.js"),Q=require("./utils/formValidation/email.js"),U=require("./utils/formValidation/misc.js"),z=require("./utils/formValidation/password.js"),X=require("./systems/WebCore/ButtonBase/Button.variant-helpers.js"),Y=require("./systems/WebCore/utils/backgroundCreator.js"),J=require("./systems/WebCore/AnnualController/AnnualController.js"),Z=require("./systems/WebCore/SelectItem/SelectItem.js"),$=require("./systems/WebCore/Accordion/Accordion.js"),ee=require("./systems/WebCore/Animations/FadeIn.js"),re=require("./systems/WebCore/AuthFormHeader/AuthFormHeader.js"),se=require("./systems/WebCore/AutocompleteBaseField/AutocompleteBaseField.js"),te=require("./systems/WebCore/AutocompleteField/AutocompleteField.js"),oe=require("./systems/WebCore/Avatar/Avatar.js"),ae=require("./systems/WebCore/AvatarGroup/AvatarGroup.js"),ie=require("./systems/WebCore/Badge/Badge.js"),pe=require("./systems/WebCore/BrandBadge/BrandBadge.js"),ue=require("./systems/WebCore/Breadcrumb/Breadcrumb.js"),ne=require("./systems/WebCore/BulletGraphic/BulletGraphic.js"),me=require("./systems/WebCore/Button/Button.js"),le=require("./systems/WebCore/ButtonBase/ButtonBase.js"),de=require("./systems/WebCore/ButtonTabGroup/ButtonTabGroup.js"),xe=require("./systems/WebCore/Checkbox/Checkbox.js");require("./systems/WebCore/Checkbox/StyledCheckbox.js");var ye=require("./systems/WebCore/CheckboxGroup/CheckboxGroup.js"),Ce=require("./systems/WebCore/ColorBackgroundContainer/ColorBackgroundContainer.js"),je=require("./systems/WebCore/CreatableAutocomplete/CreatableAutocomplete.js"),be=require("./systems/WebCore/CustomField/CustomField.js"),ce=require("./systems/WebCore/Differential/Differential.js"),qe=require("./systems/WebCore/DropdownMenu/DropdownMenu.js"),Pe=require("./systems/WebCore/DropdownMenu/DropdownMenu.hook.js"),he=require("./systems/WebCore/EmojiWrapper/EmojiWrapper.js"),ge=require("./systems/WebCore/ExpandableTypographyClamp/ExpandableTypographyClamp.js"),We=require("./systems/WebCore/Flag/Flag.js"),Be=require("./systems/WebCore/FormControlLabel/FormControlLabel.js"),Ie=require("./systems/WebCore/FormGenerator/FormGenerator.js"),fe=require("./systems/WebCore/GridOverlay/GridOverlay.js"),Se=require("./systems/WebCore/Html/Html.js"),Ae=require("./systems/WebCore/HtmlParser/HtmlParser.js"),Te=require("./systems/WebCore/IconButton/IconButton.js"),Le=require("./systems/WebCore/IconButtonBase/IconButton.variant-helpers.js"),Ge=require("./systems/WebCore/IconButtonBase/IconButtonBase.js"),ke=require("./systems/WebCore/IconButtonGroup/IconButtonGroup.js"),Fe=require("./systems/WebCore/Image/Image.js"),Me=require("./systems/WebCore/InputFieldBase/InputFieldBase.js"),ve=require("./systems/WebCore/InputLabel/InputLabel.js"),Re=require("./systems/WebCore/InputLabelHelp/InputLabelHelp.js"),we=require("./systems/WebCore/KbdGroup/Kbd.js"),Ee=require("./systems/WebCore/KbdGroup/KbdGroup.js"),De=require("./systems/WebCore/KeyValueLabel/KeyValueLabel.js"),Ke=require("./systems/WebCore/Label/Label.js"),Ne=require("./systems/WebCore/Likert/Likert.js"),He=require("./systems/WebCore/Link/Link.js"),Ve=require("./systems/WebCore/Loader/Loader.js"),_e=require("./systems/WebCore/Logo/Logo.js"),Oe=require("./systems/WebCore/LoopsAiButton/LoopsAiButton.js"),Qe=require("./systems/WebCore/Markdown/Markdown.js"),Ue=require("./systems/WebCore/Menu/Menu.js"),ze=require("./systems/WebCore/ModalLayout/_partials/ModalActionsWrapper.js"),Xe=require("./systems/WebCore/ModalLayout/_partials/ModalContentWrapper.js"),Ye=require("./systems/WebCore/ModalLayout/ModalLayout.js"),Je=require("./systems/WebCore/NavigationButton/NavigationButton.js"),Ze=require("./systems/WebCore/Nudge/Nudge.js"),$e=require("./systems/WebCore/Text/Text.js");require("./systems/WebCore/Nudge/NudgeButton.js");var er=require("./systems/WebCore/NumberField/NumberField.js"),rr=require("./systems/WebCore/Pill/Pill.js"),sr=require("./systems/WebCore/Popper/Popper.js"),tr=require("./systems/WebCore/PoweredByWatermarkLogo/PoweredByWatermarkLogo.js"),or=require("./systems/WebCore/Progress/Progress.js"),ar=require("./systems/WebCore/ProgressBar/ProgressBar.js"),ir=require("./systems/WebCore/Radio/Radio.js");require("./systems/WebCore/Radio/StyledRadio.js");var pr=require("./systems/WebCore/RadioGroup/RadioGroup.js"),ur=require("./systems/WebCore/Rank/Rank.js"),nr=require("./systems/WebCore/RichTextField/RichTextField.js"),mr=require("./systems/WebCore/Select/Select.js"),lr=require("./systems/WebCore/Skeleton/Skeleton.js"),dr=require("./systems/WebCore/Slider/Slider.js"),xr=require("./systems/WebCore/SortableList/SortableList.js"),yr=require("./systems/WebCore/StarRating/StarRating.js"),Cr=require("./systems/WebCore/Surface/Surface.js"),jr=require("./systems/WebCore/Switch/Switch.js"),br=require("./systems/WebCore/Textarea/Textarea.js"),cr=require("./systems/WebCore/TextBarDivider/TextBarDivider.js"),qr=require("./systems/WebCore/TextField/TextField.js"),Pr=require("./systems/WebCore/Toast/Toast.js"),hr=require("./systems/WebCore/Tooltip/Tooltip.js"),gr=require("./systems/WebCore/TrialCard/TrialCard.js"),Wr=require("./systems/WebCore/Typography/Typography.js"),Br=require("./systems/WebCore/UserMenu/UserMenu.js"),Ir=require("./systems/WebCore/VideoModal/VideoModal.js"),fr=require("./utils/pluralise.js");require("./systems/Platform/ProjectItem/_partials/ProjectItemBadge.js"),require("merge-sx"),require("./systems/Platform/ProjectItem/_partials/styledPartials.js"),require("dayjs");var Sr=require("./systems/Platform/QuestionBar/QuestionBar.js"),Ar=require("./systems/Platform/QuestionBlock/QuestionBlock.js"),Tr=require("./systems/Platform/QuestionSelector/QuestionSelector.js"),Lr=require("./systems/Platform/ScrollIndicator/ScrollIndicator.js"),Gr=require("./systems/Platform/SearchInput/SearchInput.js"),kr=require("./systems/Platform/SectionHeader/SectionHeader.js"),Fr=require("./systems/Platform/SentimentArrow/SentimentArrow.js");require("./systems/Platform/SliderGraph/_partials/SliderGraphYAxis/SliderGraphYAxis.js");var Mr=require("./systems/Platform/SliderGraph/SliderGraph.js");require("react");var vr=require("./systems/Platform/GraphPopoverDataLayout/GraphPopoverDataLayout.js");require("./systems/Platform/SliderGraph/_partials/StyledComponents.js");var Rr=require("./systems/Platform/Tab/Tab.js"),wr=require("./systems/Platform/TestItem/TestItem.js"),Er=require("./systems/Platform/TestKPICard/TestKPICard.js"),Dr=require("./systems/Platform/VideoControls/VideoControls.js"),Kr=require("./systems/Platform/LoopVideoNudge/LoopVideoNudge.js"),Nr=require("./systems/Platform/PinchIndicator/PinchIndicator.js"),Hr=require("./utils/breakpoint.hook.js"),Vr=require("./utils/compareArrayMembers.js"),_r=require("./utils/isButton.js"),Or=require("./utils/screen.hook.js"),Qr=require("./utils/useKeyCombo.js"),Ur=require("./utils/usePrevious.js"),zr=require("./utils/shouldForwardProp.js"),Xr=require("./theme/theme.js"),Yr=require("./theme/theme.hooks.js"),Jr=require("./theme/theme.provider.js"),Zr=require("./theme/theme.context.js");exports.blueRamp=e.blueRamp,exports.generateRamp=e.generateRamp,exports.greenRamp=e.greenRamp,exports.neutralRamp=e.neutralRamp,exports.peachRamp=e.peachRamp,exports.purpleRamp=e.purpleRamp,exports.redRamp=e.redRamp,exports.yellowRamp=e.yellowRamp,exports.tone1=r.tone1,exports.tone2=r.tone2,exports.tone3=r.tone3,exports.tone3_ai_icon=r.tone3_ai_icon,exports.tone3_border=r.tone3_border,exports.tone3_lowOpacity_text=r.tone3_lowOpacity_text,exports.tone4=r.tone4,exports.tone5=r.tone5,exports.blue=s.blue,exports.darkNeutral=s.darkNeutral,exports.darkNeutralAlpha=s.darkNeutralAlpha,exports.green=s.green,exports.neutral=s.neutral,exports.neutralAlpha=s.neutralAlpha,exports.peach=s.peach,exports.purple=s.purple,exports.red=s.red,exports.yellow=s.yellow,exports.base=t.base,exports.boxShadow=t.boxShadow,exports.breakpoints=t.breakpoints,exports.easing=t.easing,exports.elevation=t.elevation,exports.elevationFilter=t.elevationFilter,exports.margin=t.margin,exports.padding=t.padding,exports.radius=t.radius,exports.space=t.space,exports.semantic=o.semantic,Object.defineProperty(exports,"FontWeight",{enumerable:!0,get:function(){return a.FontWeight}}),exports.fonts=i.fonts,exports.Icon=p.default,exports.iconSizeMap=p.iconSizeMap,exports.PlanFeatureTable=u,exports.PlanTierCard=n,exports.TickGroup=m,exports.AiContentContainer=l.default,exports.AIInsight=d,exports.AISummary=x,exports.AIWrittenByLockUp=y,exports.ArrowTextIndicator=C,exports.AssetItem=j,exports.AuthContainerSurface=b,exports.ClipboardCopyingOverlay=c,exports.CommentCard=q.default,exports.getAuthorAvatarColor=q.getAuthorAvatarColor,exports.DataPointInfo=P,exports.DemographicSelectionSection=h,exports.EmojiListItem=g,exports.EmojiQuestionEditorOption=W,exports.EmptyStateCard=B,exports.ExtendedTestStatus=I,exports.FilterCount=f,exports.FilteredItemsCard=S,exports.FilterGroupAccordion=A,exports.FilterPyramidGraph=T,exports.FilterRow=L,exports.GraphBar=G,exports.Header=k,exports.KpiDataPopover=F,exports.KpiIndicator=M,exports.getKpiIndicatorColor=v.getKpiIndicatorColor,exports.mapKpiColorSchemeByInteger=v.mapKpiColorSchemeByInteger,exports.LikertGraph=R,exports.LoopItem=w,exports.LoopItemEmpty=E,exports.MiniEmojiGraph=D.MiniEmojiGraph,exports.MiniLikertGraph=D.MiniLikertGraph,exports.MiniOpenQuestionGraph=D.MiniOpenQuestionGraph,exports.MiniPunchGraph=D.MiniPunchGraph,exports.MiniRankGraph=D.MiniRankGraph,exports.MiniSliderGraph=D.MiniSliderGraph,exports.MiniResultCard=K,exports.Navigation=N,exports.OnboardingCard=H,exports.PaginationControl=V,exports.ProjectItem=_,exports.ProjectItemEmpty=O,exports.emailValidation=Q.emailValidation,exports.DEFAULT_MAX_INPUT_LENGTH=U.DEFAULT_MAX_INPUT_LENGTH,exports.chooseArticle=U.chooseArticle,exports.defaultInputValidation=U.defaultInputValidation,exports.passwordValidation=z.passwordValidation,exports.buttonHeightMap=X.buttonHeightMap,exports.buttonInteraction=X.buttonInteraction,exports.buttonPadding=X.buttonPadding,exports.getButtonSizing=X.getButtonSizing,exports.getButtonTypography=X.getButtonTypography,exports.getIconSizing=X.getIconSizing,exports.outlined=X.outlined,exports.primary=X.primary,exports.secondary=X.secondary,exports.subtle=X.subtle,exports.backgroundCreator=Y.backgroundCreator,exports.AnnualController=J,exports.SelectItem=Z,exports.Accordion=$.default,exports.FadeIn=ee,exports.AuthFormHeader=re,exports.AutocompleteBaseField=se,exports.AutocompleteField=te,exports.Avatar=oe,exports.AvatarGroup=ae,exports.Badge=ie,exports.BrandBadge=pe.default,exports.Breadcrumb=ue,exports.BulletGraphic=ne.default,exports.Button=me,exports.ButtonBase=le,exports.ButtonTabGroup=de,exports.Checkbox=xe,exports.CheckboxGroup=ye,exports.ColorBackgroundContainer=Ce,exports.CreatableAutocomplete=je,exports.CustomField=be,exports.Differential=ce,exports.DropdownMenu=qe,exports.useDropdownMenu=Pe.useDropdownMenu,exports.EmojiWrapper=he,exports.ExpandableTypographyClamp=ge,exports.Flag=We,exports.FormControlLabel=Be,exports.FormGenerator=Ie.default,exports.GridOverlay=fe.default,exports.Html=Se,exports.HtmlParser=Ae,exports.IconButton=Te,exports.iconButtonHelpers=Le,exports.IconButtonBase=Ge,exports.IconButtonGroup=ke,exports.Image=Fe,exports.InputFieldBase=Me,exports.InputLabel=ve,exports.InputLabelHelp=Re,exports.Kbd=we,exports.KbdGroup=Ee,exports.KeyValueLabel=De,exports.Label=Ke,exports.Likert=Ne,exports.Link=He,exports.Loader=Ve,exports.Logo=_e,exports.LoopsAiButton=Oe,exports.Markdown=Qe,exports.Menu=Ue.default,exports.ModalActionsWrapper=ze.ModalActionsWrapper,exports.ModalContentWrapper=Xe.ModalContentWrapper,exports.ModalLayout=Ye,exports.NavigationButton=Je,exports.Nudge=Ze,exports.Text=$e.Text,exports.NumberField=er,exports.Pill=rr,exports.Popper=sr,exports.PoweredByWatermarkLogo=tr,exports.Progress=or,exports.ProgressBar=ar,exports.Radio=ir,exports.RadioGroup=pr,exports.Rank=ur,exports.RichTextField=nr,exports.Select=mr,exports.Skeleton=lr,exports.Slider=dr,exports.SortableList=xr,exports.StarRating=yr,exports.Surface=Cr,exports.Switch=jr,exports.Textarea=br,exports.TextBarDivider=cr,exports.TextField=qr,exports.Toast=Pr,exports.Tooltip=hr,exports.TrialCard=gr,exports.Typography=Wr,exports.UserMenu=Br,exports.VideoModal=Ir,exports.pluralise=fr.pluralise,exports.QuestionLabel=Sr,exports.QuestionBlock=Ar,exports.QuestionSelector=Tr,exports.ScrollIndicator=Lr,exports.SearchInput=Gr,exports.SectionHeader=kr,exports.SentimentArrow=Fr,exports.SliderGraph=Mr,exports.GraphPopoverDataLayout=vr,exports.Tab=Rr,exports.TestItem=wr,exports.TestKPICard=Er,exports.VideoControls=Dr,exports.LoopVideoNudge=Kr,exports.PinchIndicator=Nr,exports.useBreakpoint=Hr.useBreakpoint,exports.compareArrayMembers=Vr.compareArrayMembers,exports.isButton=_r.isButton,exports.useScreenSize=Or.useScreenSize,exports.useKeyCombo=Qr.useKeyCombo,exports.usePrevious=Ur.usePrevious,exports.omitProps=zr.omitProps,exports.customTheme=Xr.customTheme,exports.useTheme=Yr.useTheme,exports.useThemeBuilder=Yr.useThemeBuilder,exports.ThemeProvider=Jr.ThemeProvider,exports.ThemeContext=Zr.ThemeContext;
@@ -1,4 +1,4 @@
1
- type GenericSizeMap = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl';
1
+ type GenericSizeMap = 'none' | 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl';
2
2
  declare const breakpoints: {
3
3
  sm: number;
4
4
  md: number;