@lockin90/ui-native 0.0.0-stage → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1055) hide show
  1. package/lib/commonjs/components/Accordion.js +144 -0
  2. package/lib/commonjs/components/Accordion.js.map +1 -0
  3. package/lib/commonjs/components/AchievementBadge.js +225 -0
  4. package/lib/commonjs/components/AchievementBadge.js.map +1 -0
  5. package/lib/commonjs/components/Alert.js +232 -0
  6. package/lib/commonjs/components/Alert.js.map +1 -0
  7. package/lib/commonjs/components/AreaChart.js +506 -0
  8. package/lib/commonjs/components/AreaChart.js.map +1 -0
  9. package/lib/commonjs/components/AuroraBackground.js +267 -0
  10. package/lib/commonjs/components/AuroraBackground.js.map +1 -0
  11. package/lib/commonjs/components/Avatar.js +187 -0
  12. package/lib/commonjs/components/Avatar.js.map +1 -0
  13. package/lib/commonjs/components/AvatarStack.js +95 -0
  14. package/lib/commonjs/components/AvatarStack.js.map +1 -0
  15. package/lib/commonjs/components/BackLink.js +77 -0
  16. package/lib/commonjs/components/BackLink.js.map +1 -0
  17. package/lib/commonjs/components/Badge.js +136 -0
  18. package/lib/commonjs/components/Badge.js.map +1 -0
  19. package/lib/commonjs/components/BarChart.js +641 -0
  20. package/lib/commonjs/components/BarChart.js.map +1 -0
  21. package/lib/commonjs/components/BarFill.js +55 -0
  22. package/lib/commonjs/components/BarFill.js.map +1 -0
  23. package/lib/commonjs/components/BeeswarmChart.js +615 -0
  24. package/lib/commonjs/components/BeeswarmChart.js.map +1 -0
  25. package/lib/commonjs/components/BiomarkerRange.js +610 -0
  26. package/lib/commonjs/components/BiomarkerRange.js.map +1 -0
  27. package/lib/commonjs/components/BodyBattery.js +563 -0
  28. package/lib/commonjs/components/BodyBattery.js.map +1 -0
  29. package/lib/commonjs/components/BrandMark.js +184 -0
  30. package/lib/commonjs/components/BrandMark.js.map +1 -0
  31. package/lib/commonjs/components/BulletChart.js +406 -0
  32. package/lib/commonjs/components/BulletChart.js.map +1 -0
  33. package/lib/commonjs/components/Button.js +154 -0
  34. package/lib/commonjs/components/Button.js.map +1 -0
  35. package/lib/commonjs/components/CaffeineClock.js +491 -0
  36. package/lib/commonjs/components/CaffeineClock.js.map +1 -0
  37. package/lib/commonjs/components/Card.js +142 -0
  38. package/lib/commonjs/components/Card.js.map +1 -0
  39. package/lib/commonjs/components/CharCounter.js +106 -0
  40. package/lib/commonjs/components/CharCounter.js.map +1 -0
  41. package/lib/commonjs/components/ChartState.js +554 -0
  42. package/lib/commonjs/components/ChartState.js.map +1 -0
  43. package/lib/commonjs/components/Checkbox.js +180 -0
  44. package/lib/commonjs/components/Checkbox.js.map +1 -0
  45. package/lib/commonjs/components/Chip.js +218 -0
  46. package/lib/commonjs/components/Chip.js.map +1 -0
  47. package/lib/commonjs/components/ChoiceChip.js +133 -0
  48. package/lib/commonjs/components/ChoiceChip.js.map +1 -0
  49. package/lib/commonjs/components/CodeBlock.js +126 -0
  50. package/lib/commonjs/components/CodeBlock.js.map +1 -0
  51. package/lib/commonjs/components/CodeField.js +129 -0
  52. package/lib/commonjs/components/CodeField.js.map +1 -0
  53. package/lib/commonjs/components/ColorPicker.js +181 -0
  54. package/lib/commonjs/components/ColorPicker.js.map +1 -0
  55. package/lib/commonjs/components/ComboChart.js +419 -0
  56. package/lib/commonjs/components/ComboChart.js.map +1 -0
  57. package/lib/commonjs/components/Combobox.js +108 -0
  58. package/lib/commonjs/components/Combobox.js.map +1 -0
  59. package/lib/commonjs/components/CompareChart.js +627 -0
  60. package/lib/commonjs/components/CompareChart.js.map +1 -0
  61. package/lib/commonjs/components/CompositeChart.js +654 -0
  62. package/lib/commonjs/components/CompositeChart.js.map +1 -0
  63. package/lib/commonjs/components/Countdown.js +152 -0
  64. package/lib/commonjs/components/Countdown.js.map +1 -0
  65. package/lib/commonjs/components/CreditCardVisual.js +167 -0
  66. package/lib/commonjs/components/CreditCardVisual.js.map +1 -0
  67. package/lib/commonjs/components/DateField.js +365 -0
  68. package/lib/commonjs/components/DateField.js.map +1 -0
  69. package/lib/commonjs/components/DayTimelineBlocks.js +253 -0
  70. package/lib/commonjs/components/DayTimelineBlocks.js.map +1 -0
  71. package/lib/commonjs/components/DayWheel.js +467 -0
  72. package/lib/commonjs/components/DayWheel.js.map +1 -0
  73. package/lib/commonjs/components/DeltaPill.js +154 -0
  74. package/lib/commonjs/components/DeltaPill.js.map +1 -0
  75. package/lib/commonjs/components/DistributionChart.js +776 -0
  76. package/lib/commonjs/components/DistributionChart.js.map +1 -0
  77. package/lib/commonjs/components/Divider.js +74 -0
  78. package/lib/commonjs/components/Divider.js.map +1 -0
  79. package/lib/commonjs/components/DonutChart.js +337 -0
  80. package/lib/commonjs/components/DonutChart.js.map +1 -0
  81. package/lib/commonjs/components/DotsLoader.js +94 -0
  82. package/lib/commonjs/components/DotsLoader.js.map +1 -0
  83. package/lib/commonjs/components/EffectAttributionLine.js +105 -0
  84. package/lib/commonjs/components/EffectAttributionLine.js.map +1 -0
  85. package/lib/commonjs/components/EmptyState.js +120 -0
  86. package/lib/commonjs/components/EmptyState.js.map +1 -0
  87. package/lib/commonjs/components/EngagementBar.js +122 -0
  88. package/lib/commonjs/components/EngagementBar.js.map +1 -0
  89. package/lib/commonjs/components/EnvironmentChart.js +573 -0
  90. package/lib/commonjs/components/EnvironmentChart.js.map +1 -0
  91. package/lib/commonjs/components/Eyebrow.js +32 -0
  92. package/lib/commonjs/components/Eyebrow.js.map +1 -0
  93. package/lib/commonjs/components/FocalPointPicker.js +196 -0
  94. package/lib/commonjs/components/FocalPointPicker.js.map +1 -0
  95. package/lib/commonjs/components/FollowButton.js +95 -0
  96. package/lib/commonjs/components/FollowButton.js.map +1 -0
  97. package/lib/commonjs/components/ForecastCallout.js +116 -0
  98. package/lib/commonjs/components/ForecastCallout.js.map +1 -0
  99. package/lib/commonjs/components/FormField.js +204 -0
  100. package/lib/commonjs/components/FormField.js.map +1 -0
  101. package/lib/commonjs/components/FunnelChart.js +260 -0
  102. package/lib/commonjs/components/FunnelChart.js.map +1 -0
  103. package/lib/commonjs/components/Gauge.js +252 -0
  104. package/lib/commonjs/components/Gauge.js.map +1 -0
  105. package/lib/commonjs/components/GradientText.js +136 -0
  106. package/lib/commonjs/components/GradientText.js.map +1 -0
  107. package/lib/commonjs/components/Heatmap.js +419 -0
  108. package/lib/commonjs/components/Heatmap.js.map +1 -0
  109. package/lib/commonjs/components/Highlight.js +55 -0
  110. package/lib/commonjs/components/Highlight.js.map +1 -0
  111. package/lib/commonjs/components/Hypnogram.js +842 -0
  112. package/lib/commonjs/components/Hypnogram.js.map +1 -0
  113. package/lib/commonjs/components/Icon.js +486 -0
  114. package/lib/commonjs/components/Icon.js.map +1 -0
  115. package/lib/commonjs/components/Input.js +142 -0
  116. package/lib/commonjs/components/Input.js.map +1 -0
  117. package/lib/commonjs/components/InsightCard.js +119 -0
  118. package/lib/commonjs/components/InsightCard.js.map +1 -0
  119. package/lib/commonjs/components/KeyValue.js +93 -0
  120. package/lib/commonjs/components/KeyValue.js.map +1 -0
  121. package/lib/commonjs/components/LeaderboardRow.js +140 -0
  122. package/lib/commonjs/components/LeaderboardRow.js.map +1 -0
  123. package/lib/commonjs/components/LineChart.js +1544 -0
  124. package/lib/commonjs/components/LineChart.js.map +1 -0
  125. package/lib/commonjs/components/ListRow.js +122 -0
  126. package/lib/commonjs/components/ListRow.js.map +1 -0
  127. package/lib/commonjs/components/Menu.js +183 -0
  128. package/lib/commonjs/components/Menu.js.map +1 -0
  129. package/lib/commonjs/components/MessageBubble.js +117 -0
  130. package/lib/commonjs/components/MessageBubble.js.map +1 -0
  131. package/lib/commonjs/components/MessageComposer.js +212 -0
  132. package/lib/commonjs/components/MessageComposer.js.map +1 -0
  133. package/lib/commonjs/components/MetaphorWidget.js +1053 -0
  134. package/lib/commonjs/components/MetaphorWidget.js.map +1 -0
  135. package/lib/commonjs/components/Meter.js +173 -0
  136. package/lib/commonjs/components/Meter.js.map +1 -0
  137. package/lib/commonjs/components/MetricTile.js +268 -0
  138. package/lib/commonjs/components/MetricTile.js.map +1 -0
  139. package/lib/commonjs/components/MiniRing.js +30 -0
  140. package/lib/commonjs/components/MiniRing.js.map +1 -0
  141. package/lib/commonjs/components/Modal.js +153 -0
  142. package/lib/commonjs/components/Modal.js.map +1 -0
  143. package/lib/commonjs/components/MuscleDiagram.js +326 -0
  144. package/lib/commonjs/components/MuscleDiagram.js.map +1 -0
  145. package/lib/commonjs/components/NoteField.js +73 -0
  146. package/lib/commonjs/components/NoteField.js.map +1 -0
  147. package/lib/commonjs/components/NotificationRow.js +234 -0
  148. package/lib/commonjs/components/NotificationRow.js.map +1 -0
  149. package/lib/commonjs/components/Pagination.js +212 -0
  150. package/lib/commonjs/components/Pagination.js.map +1 -0
  151. package/lib/commonjs/components/PasswordInput.js +120 -0
  152. package/lib/commonjs/components/PasswordInput.js.map +1 -0
  153. package/lib/commonjs/components/PasswordStrengthMeter.js +108 -0
  154. package/lib/commonjs/components/PasswordStrengthMeter.js.map +1 -0
  155. package/lib/commonjs/components/PendingPatternCard.js +182 -0
  156. package/lib/commonjs/components/PendingPatternCard.js.map +1 -0
  157. package/lib/commonjs/components/PhaseWheel.js +704 -0
  158. package/lib/commonjs/components/PhaseWheel.js.map +1 -0
  159. package/lib/commonjs/components/PkChart.js +566 -0
  160. package/lib/commonjs/components/PkChart.js.map +1 -0
  161. package/lib/commonjs/components/Popover.js +234 -0
  162. package/lib/commonjs/components/Popover.js.map +1 -0
  163. package/lib/commonjs/components/PrBadge.js +71 -0
  164. package/lib/commonjs/components/PrBadge.js.map +1 -0
  165. package/lib/commonjs/components/PrCard.js +150 -0
  166. package/lib/commonjs/components/PrCard.js.map +1 -0
  167. package/lib/commonjs/components/PricingTierCard.js +237 -0
  168. package/lib/commonjs/components/PricingTierCard.js.map +1 -0
  169. package/lib/commonjs/components/ProGate.js +235 -0
  170. package/lib/commonjs/components/ProGate.js.map +1 -0
  171. package/lib/commonjs/components/ProgressBar.js +515 -0
  172. package/lib/commonjs/components/ProgressBar.js.map +1 -0
  173. package/lib/commonjs/components/Pulse.js +36 -0
  174. package/lib/commonjs/components/Pulse.js.map +1 -0
  175. package/lib/commonjs/components/QRCode.js +519 -0
  176. package/lib/commonjs/components/QRCode.js.map +1 -0
  177. package/lib/commonjs/components/RadarChart.js +492 -0
  178. package/lib/commonjs/components/RadarChart.js.map +1 -0
  179. package/lib/commonjs/components/RangeBar.js +191 -0
  180. package/lib/commonjs/components/RangeBar.js.map +1 -0
  181. package/lib/commonjs/components/ReauthDialog.js +261 -0
  182. package/lib/commonjs/components/ReauthDialog.js.map +1 -0
  183. package/lib/commonjs/components/RestTimer.js +246 -0
  184. package/lib/commonjs/components/RestTimer.js.map +1 -0
  185. package/lib/commonjs/components/RichText.js +81 -0
  186. package/lib/commonjs/components/RichText.js.map +1 -0
  187. package/lib/commonjs/components/RichTextEditor.js +274 -0
  188. package/lib/commonjs/components/RichTextEditor.js.map +1 -0
  189. package/lib/commonjs/components/Ring.js +239 -0
  190. package/lib/commonjs/components/Ring.js.map +1 -0
  191. package/lib/commonjs/components/RoseChart.js +376 -0
  192. package/lib/commonjs/components/RoseChart.js.map +1 -0
  193. package/lib/commonjs/components/SankeyChart.js +652 -0
  194. package/lib/commonjs/components/SankeyChart.js.map +1 -0
  195. package/lib/commonjs/components/ScatterChart.js +432 -0
  196. package/lib/commonjs/components/ScatterChart.js.map +1 -0
  197. package/lib/commonjs/components/ScrollProgress.js +66 -0
  198. package/lib/commonjs/components/ScrollProgress.js.map +1 -0
  199. package/lib/commonjs/components/SectionDivider.js +59 -0
  200. package/lib/commonjs/components/SectionDivider.js.map +1 -0
  201. package/lib/commonjs/components/SectionHeader.js +53 -0
  202. package/lib/commonjs/components/SectionHeader.js.map +1 -0
  203. package/lib/commonjs/components/SegmentedTabs.js +336 -0
  204. package/lib/commonjs/components/SegmentedTabs.js.map +1 -0
  205. package/lib/commonjs/components/Select.js +380 -0
  206. package/lib/commonjs/components/Select.js.map +1 -0
  207. package/lib/commonjs/components/SessionBanner.js +220 -0
  208. package/lib/commonjs/components/SessionBanner.js.map +1 -0
  209. package/lib/commonjs/components/SessionChart.js +1046 -0
  210. package/lib/commonjs/components/SessionChart.js.map +1 -0
  211. package/lib/commonjs/components/SetTable.js +351 -0
  212. package/lib/commonjs/components/SetTable.js.map +1 -0
  213. package/lib/commonjs/components/ShareCard.js +227 -0
  214. package/lib/commonjs/components/ShareCard.js.map +1 -0
  215. package/lib/commonjs/components/Sheet.js +220 -0
  216. package/lib/commonjs/components/Sheet.js.map +1 -0
  217. package/lib/commonjs/components/Skeleton.js +28 -0
  218. package/lib/commonjs/components/Skeleton.js.map +1 -0
  219. package/lib/commonjs/components/Slider.js +173 -0
  220. package/lib/commonjs/components/Slider.js.map +1 -0
  221. package/lib/commonjs/components/Sortable.js +230 -0
  222. package/lib/commonjs/components/Sortable.js.map +1 -0
  223. package/lib/commonjs/components/SourceChip.js +111 -0
  224. package/lib/commonjs/components/SourceChip.js.map +1 -0
  225. package/lib/commonjs/components/Sparkline.js +110 -0
  226. package/lib/commonjs/components/Sparkline.js.map +1 -0
  227. package/lib/commonjs/components/Spinner.js +132 -0
  228. package/lib/commonjs/components/Spinner.js.map +1 -0
  229. package/lib/commonjs/components/SplitButton.js +158 -0
  230. package/lib/commonjs/components/SplitButton.js.map +1 -0
  231. package/lib/commonjs/components/SsoButton.js +109 -0
  232. package/lib/commonjs/components/SsoButton.js.map +1 -0
  233. package/lib/commonjs/components/StackedBar.js +133 -0
  234. package/lib/commonjs/components/StackedBar.js.map +1 -0
  235. package/lib/commonjs/components/Stat.js +167 -0
  236. package/lib/commonjs/components/Stat.js.map +1 -0
  237. package/lib/commonjs/components/StatTile.js +644 -0
  238. package/lib/commonjs/components/StatTile.js.map +1 -0
  239. package/lib/commonjs/components/StateLabel.js +73 -0
  240. package/lib/commonjs/components/StateLabel.js.map +1 -0
  241. package/lib/commonjs/components/StatusDot.js +65 -0
  242. package/lib/commonjs/components/StatusDot.js.map +1 -0
  243. package/lib/commonjs/components/Stepper.js +355 -0
  244. package/lib/commonjs/components/Stepper.js.map +1 -0
  245. package/lib/commonjs/components/SupplementChart.js +1002 -0
  246. package/lib/commonjs/components/SupplementChart.js.map +1 -0
  247. package/lib/commonjs/components/TabBar.js +303 -0
  248. package/lib/commonjs/components/TabBar.js.map +1 -0
  249. package/lib/commonjs/components/Table.js +458 -0
  250. package/lib/commonjs/components/Table.js.map +1 -0
  251. package/lib/commonjs/components/Tabs.js +88 -0
  252. package/lib/commonjs/components/Tabs.js.map +1 -0
  253. package/lib/commonjs/components/TagCloud.js +118 -0
  254. package/lib/commonjs/components/TagCloud.js.map +1 -0
  255. package/lib/commonjs/components/TagInput.js +298 -0
  256. package/lib/commonjs/components/TagInput.js.map +1 -0
  257. package/lib/commonjs/components/TemplateCard.js +206 -0
  258. package/lib/commonjs/components/TemplateCard.js.map +1 -0
  259. package/lib/commonjs/components/Timeline.js +219 -0
  260. package/lib/commonjs/components/Timeline.js.map +1 -0
  261. package/lib/commonjs/components/TimelineChart.js +1228 -0
  262. package/lib/commonjs/components/TimelineChart.js.map +1 -0
  263. package/lib/commonjs/components/Toast.js +156 -0
  264. package/lib/commonjs/components/Toast.js.map +1 -0
  265. package/lib/commonjs/components/Toggle.js +166 -0
  266. package/lib/commonjs/components/Toggle.js.map +1 -0
  267. package/lib/commonjs/components/Toolbar.js +310 -0
  268. package/lib/commonjs/components/Toolbar.js.map +1 -0
  269. package/lib/commonjs/components/Tooltip.js +245 -0
  270. package/lib/commonjs/components/Tooltip.js.map +1 -0
  271. package/lib/commonjs/components/TypingIndicator.js +112 -0
  272. package/lib/commonjs/components/TypingIndicator.js.map +1 -0
  273. package/lib/commonjs/components/UnitChart.js +482 -0
  274. package/lib/commonjs/components/UnitChart.js.map +1 -0
  275. package/lib/commonjs/components/VersionBadge.js +133 -0
  276. package/lib/commonjs/components/VersionBadge.js.map +1 -0
  277. package/lib/commonjs/components/VideoThumbnail.js +152 -0
  278. package/lib/commonjs/components/VideoThumbnail.js.map +1 -0
  279. package/lib/commonjs/components/VitalsStrip.js +766 -0
  280. package/lib/commonjs/components/VitalsStrip.js.map +1 -0
  281. package/lib/commonjs/components/WatchComplication.js +563 -0
  282. package/lib/commonjs/components/WatchComplication.js.map +1 -0
  283. package/lib/commonjs/components/ZoneBar.js +149 -0
  284. package/lib/commonjs/components/ZoneBar.js.map +1 -0
  285. package/lib/commonjs/components/ZonePyramid.js +398 -0
  286. package/lib/commonjs/components/ZonePyramid.js.map +1 -0
  287. package/lib/commonjs/index.js +1140 -0
  288. package/lib/commonjs/index.js.map +1 -0
  289. package/lib/commonjs/internal/optionalBlur.js +34 -0
  290. package/lib/commonjs/internal/optionalBlur.js.map +1 -0
  291. package/lib/commonjs/internal/optionalHaptics.js +40 -0
  292. package/lib/commonjs/internal/optionalHaptics.js.map +1 -0
  293. package/lib/commonjs/package.json +1 -0
  294. package/lib/commonjs/theme.js +73 -0
  295. package/lib/commonjs/theme.js.map +1 -0
  296. package/lib/module/components/Accordion.js +139 -0
  297. package/lib/module/components/Accordion.js.map +1 -0
  298. package/lib/module/components/AchievementBadge.js +223 -0
  299. package/lib/module/components/AchievementBadge.js.map +1 -0
  300. package/lib/module/components/Alert.js +227 -0
  301. package/lib/module/components/Alert.js.map +1 -0
  302. package/lib/module/components/AreaChart.js +501 -0
  303. package/lib/module/components/AreaChart.js.map +1 -0
  304. package/lib/module/components/AuroraBackground.js +262 -0
  305. package/lib/module/components/AuroraBackground.js.map +1 -0
  306. package/lib/module/components/Avatar.js +183 -0
  307. package/lib/module/components/Avatar.js.map +1 -0
  308. package/lib/module/components/AvatarStack.js +91 -0
  309. package/lib/module/components/AvatarStack.js.map +1 -0
  310. package/lib/module/components/BackLink.js +73 -0
  311. package/lib/module/components/BackLink.js.map +1 -0
  312. package/lib/module/components/Badge.js +132 -0
  313. package/lib/module/components/Badge.js.map +1 -0
  314. package/lib/module/components/BarChart.js +636 -0
  315. package/lib/module/components/BarChart.js.map +1 -0
  316. package/lib/module/components/BarFill.js +51 -0
  317. package/lib/module/components/BarFill.js.map +1 -0
  318. package/lib/module/components/BeeswarmChart.js +610 -0
  319. package/lib/module/components/BeeswarmChart.js.map +1 -0
  320. package/lib/module/components/BiomarkerRange.js +605 -0
  321. package/lib/module/components/BiomarkerRange.js.map +1 -0
  322. package/lib/module/components/BodyBattery.js +558 -0
  323. package/lib/module/components/BodyBattery.js.map +1 -0
  324. package/lib/module/components/BrandMark.js +179 -0
  325. package/lib/module/components/BrandMark.js.map +1 -0
  326. package/lib/module/components/BulletChart.js +401 -0
  327. package/lib/module/components/BulletChart.js.map +1 -0
  328. package/lib/module/components/Button.js +150 -0
  329. package/lib/module/components/Button.js.map +1 -0
  330. package/lib/module/components/CaffeineClock.js +486 -0
  331. package/lib/module/components/CaffeineClock.js.map +1 -0
  332. package/lib/module/components/Card.js +138 -0
  333. package/lib/module/components/Card.js.map +1 -0
  334. package/lib/module/components/CharCounter.js +102 -0
  335. package/lib/module/components/CharCounter.js.map +1 -0
  336. package/lib/module/components/ChartState.js +549 -0
  337. package/lib/module/components/ChartState.js.map +1 -0
  338. package/lib/module/components/Checkbox.js +175 -0
  339. package/lib/module/components/Checkbox.js.map +1 -0
  340. package/lib/module/components/Chip.js +214 -0
  341. package/lib/module/components/Chip.js.map +1 -0
  342. package/lib/module/components/ChoiceChip.js +129 -0
  343. package/lib/module/components/ChoiceChip.js.map +1 -0
  344. package/lib/module/components/CodeBlock.js +122 -0
  345. package/lib/module/components/CodeBlock.js.map +1 -0
  346. package/lib/module/components/CodeField.js +125 -0
  347. package/lib/module/components/CodeField.js.map +1 -0
  348. package/lib/module/components/ColorPicker.js +177 -0
  349. package/lib/module/components/ColorPicker.js.map +1 -0
  350. package/lib/module/components/ComboChart.js +414 -0
  351. package/lib/module/components/ComboChart.js.map +1 -0
  352. package/lib/module/components/Combobox.js +104 -0
  353. package/lib/module/components/Combobox.js.map +1 -0
  354. package/lib/module/components/CompareChart.js +622 -0
  355. package/lib/module/components/CompareChart.js.map +1 -0
  356. package/lib/module/components/CompositeChart.js +649 -0
  357. package/lib/module/components/CompositeChart.js.map +1 -0
  358. package/lib/module/components/Countdown.js +148 -0
  359. package/lib/module/components/Countdown.js.map +1 -0
  360. package/lib/module/components/CreditCardVisual.js +163 -0
  361. package/lib/module/components/CreditCardVisual.js.map +1 -0
  362. package/lib/module/components/DateField.js +361 -0
  363. package/lib/module/components/DateField.js.map +1 -0
  364. package/lib/module/components/DayTimelineBlocks.js +249 -0
  365. package/lib/module/components/DayTimelineBlocks.js.map +1 -0
  366. package/lib/module/components/DayWheel.js +462 -0
  367. package/lib/module/components/DayWheel.js.map +1 -0
  368. package/lib/module/components/DeltaPill.js +149 -0
  369. package/lib/module/components/DeltaPill.js.map +1 -0
  370. package/lib/module/components/DistributionChart.js +771 -0
  371. package/lib/module/components/DistributionChart.js.map +1 -0
  372. package/lib/module/components/Divider.js +70 -0
  373. package/lib/module/components/Divider.js.map +1 -0
  374. package/lib/module/components/DonutChart.js +332 -0
  375. package/lib/module/components/DonutChart.js.map +1 -0
  376. package/lib/module/components/DotsLoader.js +90 -0
  377. package/lib/module/components/DotsLoader.js.map +1 -0
  378. package/lib/module/components/EffectAttributionLine.js +101 -0
  379. package/lib/module/components/EffectAttributionLine.js.map +1 -0
  380. package/lib/module/components/EmptyState.js +115 -0
  381. package/lib/module/components/EmptyState.js.map +1 -0
  382. package/lib/module/components/EngagementBar.js +118 -0
  383. package/lib/module/components/EngagementBar.js.map +1 -0
  384. package/lib/module/components/EnvironmentChart.js +568 -0
  385. package/lib/module/components/EnvironmentChart.js.map +1 -0
  386. package/lib/module/components/Eyebrow.js +28 -0
  387. package/lib/module/components/Eyebrow.js.map +1 -0
  388. package/lib/module/components/FocalPointPicker.js +192 -0
  389. package/lib/module/components/FocalPointPicker.js.map +1 -0
  390. package/lib/module/components/FollowButton.js +91 -0
  391. package/lib/module/components/FollowButton.js.map +1 -0
  392. package/lib/module/components/ForecastCallout.js +112 -0
  393. package/lib/module/components/ForecastCallout.js.map +1 -0
  394. package/lib/module/components/FormField.js +198 -0
  395. package/lib/module/components/FormField.js.map +1 -0
  396. package/lib/module/components/FunnelChart.js +255 -0
  397. package/lib/module/components/FunnelChart.js.map +1 -0
  398. package/lib/module/components/Gauge.js +249 -0
  399. package/lib/module/components/Gauge.js.map +1 -0
  400. package/lib/module/components/GradientText.js +130 -0
  401. package/lib/module/components/GradientText.js.map +1 -0
  402. package/lib/module/components/Heatmap.js +414 -0
  403. package/lib/module/components/Heatmap.js.map +1 -0
  404. package/lib/module/components/Highlight.js +51 -0
  405. package/lib/module/components/Highlight.js.map +1 -0
  406. package/lib/module/components/Hypnogram.js +837 -0
  407. package/lib/module/components/Hypnogram.js.map +1 -0
  408. package/lib/module/components/Icon.js +480 -0
  409. package/lib/module/components/Icon.js.map +1 -0
  410. package/lib/module/components/Input.js +138 -0
  411. package/lib/module/components/Input.js.map +1 -0
  412. package/lib/module/components/InsightCard.js +115 -0
  413. package/lib/module/components/InsightCard.js.map +1 -0
  414. package/lib/module/components/KeyValue.js +89 -0
  415. package/lib/module/components/KeyValue.js.map +1 -0
  416. package/lib/module/components/LeaderboardRow.js +136 -0
  417. package/lib/module/components/LeaderboardRow.js.map +1 -0
  418. package/lib/module/components/LineChart.js +1539 -0
  419. package/lib/module/components/LineChart.js.map +1 -0
  420. package/lib/module/components/ListRow.js +118 -0
  421. package/lib/module/components/ListRow.js.map +1 -0
  422. package/lib/module/components/Menu.js +179 -0
  423. package/lib/module/components/Menu.js.map +1 -0
  424. package/lib/module/components/MessageBubble.js +113 -0
  425. package/lib/module/components/MessageBubble.js.map +1 -0
  426. package/lib/module/components/MessageComposer.js +208 -0
  427. package/lib/module/components/MessageComposer.js.map +1 -0
  428. package/lib/module/components/MetaphorWidget.js +1048 -0
  429. package/lib/module/components/MetaphorWidget.js.map +1 -0
  430. package/lib/module/components/Meter.js +169 -0
  431. package/lib/module/components/Meter.js.map +1 -0
  432. package/lib/module/components/MetricTile.js +263 -0
  433. package/lib/module/components/MetricTile.js.map +1 -0
  434. package/lib/module/components/MiniRing.js +26 -0
  435. package/lib/module/components/MiniRing.js.map +1 -0
  436. package/lib/module/components/Modal.js +148 -0
  437. package/lib/module/components/Modal.js.map +1 -0
  438. package/lib/module/components/MuscleDiagram.js +321 -0
  439. package/lib/module/components/MuscleDiagram.js.map +1 -0
  440. package/lib/module/components/NoteField.js +69 -0
  441. package/lib/module/components/NoteField.js.map +1 -0
  442. package/lib/module/components/NotificationRow.js +230 -0
  443. package/lib/module/components/NotificationRow.js.map +1 -0
  444. package/lib/module/components/Pagination.js +207 -0
  445. package/lib/module/components/Pagination.js.map +1 -0
  446. package/lib/module/components/PasswordInput.js +116 -0
  447. package/lib/module/components/PasswordInput.js.map +1 -0
  448. package/lib/module/components/PasswordStrengthMeter.js +104 -0
  449. package/lib/module/components/PasswordStrengthMeter.js.map +1 -0
  450. package/lib/module/components/PendingPatternCard.js +178 -0
  451. package/lib/module/components/PendingPatternCard.js.map +1 -0
  452. package/lib/module/components/PhaseWheel.js +699 -0
  453. package/lib/module/components/PhaseWheel.js.map +1 -0
  454. package/lib/module/components/PkChart.js +558 -0
  455. package/lib/module/components/PkChart.js.map +1 -0
  456. package/lib/module/components/Popover.js +230 -0
  457. package/lib/module/components/Popover.js.map +1 -0
  458. package/lib/module/components/PrBadge.js +66 -0
  459. package/lib/module/components/PrBadge.js.map +1 -0
  460. package/lib/module/components/PrCard.js +146 -0
  461. package/lib/module/components/PrCard.js.map +1 -0
  462. package/lib/module/components/PricingTierCard.js +233 -0
  463. package/lib/module/components/PricingTierCard.js.map +1 -0
  464. package/lib/module/components/ProGate.js +229 -0
  465. package/lib/module/components/ProGate.js.map +1 -0
  466. package/lib/module/components/ProgressBar.js +511 -0
  467. package/lib/module/components/ProgressBar.js.map +1 -0
  468. package/lib/module/components/Pulse.js +32 -0
  469. package/lib/module/components/Pulse.js.map +1 -0
  470. package/lib/module/components/QRCode.js +514 -0
  471. package/lib/module/components/QRCode.js.map +1 -0
  472. package/lib/module/components/RadarChart.js +487 -0
  473. package/lib/module/components/RadarChart.js.map +1 -0
  474. package/lib/module/components/RangeBar.js +187 -0
  475. package/lib/module/components/RangeBar.js.map +1 -0
  476. package/lib/module/components/ReauthDialog.js +256 -0
  477. package/lib/module/components/ReauthDialog.js.map +1 -0
  478. package/lib/module/components/RestTimer.js +239 -0
  479. package/lib/module/components/RestTimer.js.map +1 -0
  480. package/lib/module/components/RichText.js +77 -0
  481. package/lib/module/components/RichText.js.map +1 -0
  482. package/lib/module/components/RichTextEditor.js +269 -0
  483. package/lib/module/components/RichTextEditor.js.map +1 -0
  484. package/lib/module/components/Ring.js +236 -0
  485. package/lib/module/components/Ring.js.map +1 -0
  486. package/lib/module/components/RoseChart.js +371 -0
  487. package/lib/module/components/RoseChart.js.map +1 -0
  488. package/lib/module/components/SankeyChart.js +647 -0
  489. package/lib/module/components/SankeyChart.js.map +1 -0
  490. package/lib/module/components/ScatterChart.js +427 -0
  491. package/lib/module/components/ScatterChart.js.map +1 -0
  492. package/lib/module/components/ScrollProgress.js +62 -0
  493. package/lib/module/components/ScrollProgress.js.map +1 -0
  494. package/lib/module/components/SectionDivider.js +55 -0
  495. package/lib/module/components/SectionDivider.js.map +1 -0
  496. package/lib/module/components/SectionHeader.js +49 -0
  497. package/lib/module/components/SectionHeader.js.map +1 -0
  498. package/lib/module/components/SegmentedTabs.js +332 -0
  499. package/lib/module/components/SegmentedTabs.js.map +1 -0
  500. package/lib/module/components/Select.js +375 -0
  501. package/lib/module/components/Select.js.map +1 -0
  502. package/lib/module/components/SessionBanner.js +216 -0
  503. package/lib/module/components/SessionBanner.js.map +1 -0
  504. package/lib/module/components/SessionChart.js +1040 -0
  505. package/lib/module/components/SessionChart.js.map +1 -0
  506. package/lib/module/components/SetTable.js +345 -0
  507. package/lib/module/components/SetTable.js.map +1 -0
  508. package/lib/module/components/ShareCard.js +223 -0
  509. package/lib/module/components/ShareCard.js.map +1 -0
  510. package/lib/module/components/Sheet.js +216 -0
  511. package/lib/module/components/Sheet.js.map +1 -0
  512. package/lib/module/components/Skeleton.js +24 -0
  513. package/lib/module/components/Skeleton.js.map +1 -0
  514. package/lib/module/components/Slider.js +169 -0
  515. package/lib/module/components/Slider.js.map +1 -0
  516. package/lib/module/components/Sortable.js +226 -0
  517. package/lib/module/components/Sortable.js.map +1 -0
  518. package/lib/module/components/SourceChip.js +107 -0
  519. package/lib/module/components/SourceChip.js.map +1 -0
  520. package/lib/module/components/Sparkline.js +105 -0
  521. package/lib/module/components/Sparkline.js.map +1 -0
  522. package/lib/module/components/Spinner.js +127 -0
  523. package/lib/module/components/Spinner.js.map +1 -0
  524. package/lib/module/components/SplitButton.js +154 -0
  525. package/lib/module/components/SplitButton.js.map +1 -0
  526. package/lib/module/components/SsoButton.js +104 -0
  527. package/lib/module/components/SsoButton.js.map +1 -0
  528. package/lib/module/components/StackedBar.js +129 -0
  529. package/lib/module/components/StackedBar.js.map +1 -0
  530. package/lib/module/components/Stat.js +163 -0
  531. package/lib/module/components/Stat.js.map +1 -0
  532. package/lib/module/components/StatTile.js +639 -0
  533. package/lib/module/components/StatTile.js.map +1 -0
  534. package/lib/module/components/StateLabel.js +69 -0
  535. package/lib/module/components/StateLabel.js.map +1 -0
  536. package/lib/module/components/StatusDot.js +61 -0
  537. package/lib/module/components/StatusDot.js.map +1 -0
  538. package/lib/module/components/Stepper.js +350 -0
  539. package/lib/module/components/Stepper.js.map +1 -0
  540. package/lib/module/components/SupplementChart.js +997 -0
  541. package/lib/module/components/SupplementChart.js.map +1 -0
  542. package/lib/module/components/TabBar.js +298 -0
  543. package/lib/module/components/TabBar.js.map +1 -0
  544. package/lib/module/components/Table.js +452 -0
  545. package/lib/module/components/Table.js.map +1 -0
  546. package/lib/module/components/Tabs.js +84 -0
  547. package/lib/module/components/Tabs.js.map +1 -0
  548. package/lib/module/components/TagCloud.js +113 -0
  549. package/lib/module/components/TagCloud.js.map +1 -0
  550. package/lib/module/components/TagInput.js +291 -0
  551. package/lib/module/components/TagInput.js.map +1 -0
  552. package/lib/module/components/TemplateCard.js +202 -0
  553. package/lib/module/components/TemplateCard.js.map +1 -0
  554. package/lib/module/components/Timeline.js +214 -0
  555. package/lib/module/components/Timeline.js.map +1 -0
  556. package/lib/module/components/TimelineChart.js +1223 -0
  557. package/lib/module/components/TimelineChart.js.map +1 -0
  558. package/lib/module/components/Toast.js +151 -0
  559. package/lib/module/components/Toast.js.map +1 -0
  560. package/lib/module/components/Toggle.js +162 -0
  561. package/lib/module/components/Toggle.js.map +1 -0
  562. package/lib/module/components/Toolbar.js +306 -0
  563. package/lib/module/components/Toolbar.js.map +1 -0
  564. package/lib/module/components/Tooltip.js +241 -0
  565. package/lib/module/components/Tooltip.js.map +1 -0
  566. package/lib/module/components/TypingIndicator.js +108 -0
  567. package/lib/module/components/TypingIndicator.js.map +1 -0
  568. package/lib/module/components/UnitChart.js +477 -0
  569. package/lib/module/components/UnitChart.js.map +1 -0
  570. package/lib/module/components/VersionBadge.js +129 -0
  571. package/lib/module/components/VersionBadge.js.map +1 -0
  572. package/lib/module/components/VideoThumbnail.js +147 -0
  573. package/lib/module/components/VideoThumbnail.js.map +1 -0
  574. package/lib/module/components/VitalsStrip.js +761 -0
  575. package/lib/module/components/VitalsStrip.js.map +1 -0
  576. package/lib/module/components/WatchComplication.js +558 -0
  577. package/lib/module/components/WatchComplication.js.map +1 -0
  578. package/lib/module/components/ZoneBar.js +145 -0
  579. package/lib/module/components/ZoneBar.js.map +1 -0
  580. package/lib/module/components/ZonePyramid.js +393 -0
  581. package/lib/module/components/ZonePyramid.js.map +1 -0
  582. package/lib/module/index.js +166 -0
  583. package/lib/module/index.js.map +1 -0
  584. package/lib/module/internal/optionalBlur.js +30 -0
  585. package/lib/module/internal/optionalBlur.js.map +1 -0
  586. package/lib/module/internal/optionalHaptics.js +34 -0
  587. package/lib/module/internal/optionalHaptics.js.map +1 -0
  588. package/lib/module/theme.js +6 -0
  589. package/lib/module/theme.js.map +1 -0
  590. package/lib/typescript/components/Accordion.d.ts +20 -0
  591. package/lib/typescript/components/Accordion.d.ts.map +1 -0
  592. package/lib/typescript/components/AchievementBadge.d.ts +29 -0
  593. package/lib/typescript/components/AchievementBadge.d.ts.map +1 -0
  594. package/lib/typescript/components/Alert.d.ts +18 -0
  595. package/lib/typescript/components/Alert.d.ts.map +1 -0
  596. package/lib/typescript/components/AreaChart.d.ts +58 -0
  597. package/lib/typescript/components/AreaChart.d.ts.map +1 -0
  598. package/lib/typescript/components/AuroraBackground.d.ts +24 -0
  599. package/lib/typescript/components/AuroraBackground.d.ts.map +1 -0
  600. package/lib/typescript/components/Avatar.d.ts +38 -0
  601. package/lib/typescript/components/Avatar.d.ts.map +1 -0
  602. package/lib/typescript/components/AvatarStack.d.ts +26 -0
  603. package/lib/typescript/components/AvatarStack.d.ts.map +1 -0
  604. package/lib/typescript/components/BackLink.d.ts +20 -0
  605. package/lib/typescript/components/BackLink.d.ts.map +1 -0
  606. package/lib/typescript/components/Badge.d.ts +12 -0
  607. package/lib/typescript/components/Badge.d.ts.map +1 -0
  608. package/lib/typescript/components/BarChart.d.ts +83 -0
  609. package/lib/typescript/components/BarChart.d.ts.map +1 -0
  610. package/lib/typescript/components/BarFill.d.ts +15 -0
  611. package/lib/typescript/components/BarFill.d.ts.map +1 -0
  612. package/lib/typescript/components/BeeswarmChart.d.ts +71 -0
  613. package/lib/typescript/components/BeeswarmChart.d.ts.map +1 -0
  614. package/lib/typescript/components/BiomarkerRange.d.ts +64 -0
  615. package/lib/typescript/components/BiomarkerRange.d.ts.map +1 -0
  616. package/lib/typescript/components/BodyBattery.d.ts +70 -0
  617. package/lib/typescript/components/BodyBattery.d.ts.map +1 -0
  618. package/lib/typescript/components/BrandMark.d.ts +10 -0
  619. package/lib/typescript/components/BrandMark.d.ts.map +1 -0
  620. package/lib/typescript/components/BulletChart.d.ts +61 -0
  621. package/lib/typescript/components/BulletChart.d.ts.map +1 -0
  622. package/lib/typescript/components/Button.d.ts +27 -0
  623. package/lib/typescript/components/Button.d.ts.map +1 -0
  624. package/lib/typescript/components/CaffeineClock.d.ts +64 -0
  625. package/lib/typescript/components/CaffeineClock.d.ts.map +1 -0
  626. package/lib/typescript/components/Card.d.ts +23 -0
  627. package/lib/typescript/components/Card.d.ts.map +1 -0
  628. package/lib/typescript/components/CharCounter.d.ts +30 -0
  629. package/lib/typescript/components/CharCounter.d.ts.map +1 -0
  630. package/lib/typescript/components/ChartState.d.ts +58 -0
  631. package/lib/typescript/components/ChartState.d.ts.map +1 -0
  632. package/lib/typescript/components/Checkbox.d.ts +44 -0
  633. package/lib/typescript/components/Checkbox.d.ts.map +1 -0
  634. package/lib/typescript/components/Chip.d.ts +17 -0
  635. package/lib/typescript/components/Chip.d.ts.map +1 -0
  636. package/lib/typescript/components/ChoiceChip.d.ts +31 -0
  637. package/lib/typescript/components/ChoiceChip.d.ts.map +1 -0
  638. package/lib/typescript/components/CodeBlock.d.ts +18 -0
  639. package/lib/typescript/components/CodeBlock.d.ts.map +1 -0
  640. package/lib/typescript/components/CodeField.d.ts +22 -0
  641. package/lib/typescript/components/CodeField.d.ts.map +1 -0
  642. package/lib/typescript/components/ColorPicker.d.ts +20 -0
  643. package/lib/typescript/components/ColorPicker.d.ts.map +1 -0
  644. package/lib/typescript/components/ComboChart.d.ts +56 -0
  645. package/lib/typescript/components/ComboChart.d.ts.map +1 -0
  646. package/lib/typescript/components/Combobox.d.ts +39 -0
  647. package/lib/typescript/components/Combobox.d.ts.map +1 -0
  648. package/lib/typescript/components/CompareChart.d.ts +80 -0
  649. package/lib/typescript/components/CompareChart.d.ts.map +1 -0
  650. package/lib/typescript/components/CompositeChart.d.ts +83 -0
  651. package/lib/typescript/components/CompositeChart.d.ts.map +1 -0
  652. package/lib/typescript/components/Countdown.d.ts +28 -0
  653. package/lib/typescript/components/Countdown.d.ts.map +1 -0
  654. package/lib/typescript/components/CreditCardVisual.d.ts +26 -0
  655. package/lib/typescript/components/CreditCardVisual.d.ts.map +1 -0
  656. package/lib/typescript/components/DateField.d.ts +39 -0
  657. package/lib/typescript/components/DateField.d.ts.map +1 -0
  658. package/lib/typescript/components/DayTimelineBlocks.d.ts +40 -0
  659. package/lib/typescript/components/DayTimelineBlocks.d.ts.map +1 -0
  660. package/lib/typescript/components/DayWheel.d.ts +70 -0
  661. package/lib/typescript/components/DayWheel.d.ts.map +1 -0
  662. package/lib/typescript/components/DeltaPill.d.ts +22 -0
  663. package/lib/typescript/components/DeltaPill.d.ts.map +1 -0
  664. package/lib/typescript/components/DistributionChart.d.ts +94 -0
  665. package/lib/typescript/components/DistributionChart.d.ts.map +1 -0
  666. package/lib/typescript/components/Divider.d.ts +16 -0
  667. package/lib/typescript/components/Divider.d.ts.map +1 -0
  668. package/lib/typescript/components/DonutChart.d.ts +70 -0
  669. package/lib/typescript/components/DonutChart.d.ts.map +1 -0
  670. package/lib/typescript/components/DotsLoader.d.ts +19 -0
  671. package/lib/typescript/components/DotsLoader.d.ts.map +1 -0
  672. package/lib/typescript/components/EffectAttributionLine.d.ts +24 -0
  673. package/lib/typescript/components/EffectAttributionLine.d.ts.map +1 -0
  674. package/lib/typescript/components/EmptyState.d.ts +17 -0
  675. package/lib/typescript/components/EmptyState.d.ts.map +1 -0
  676. package/lib/typescript/components/EngagementBar.d.ts +23 -0
  677. package/lib/typescript/components/EngagementBar.d.ts.map +1 -0
  678. package/lib/typescript/components/EnvironmentChart.d.ts +89 -0
  679. package/lib/typescript/components/EnvironmentChart.d.ts.map +1 -0
  680. package/lib/typescript/components/Eyebrow.d.ts +7 -0
  681. package/lib/typescript/components/Eyebrow.d.ts.map +1 -0
  682. package/lib/typescript/components/FocalPointPicker.d.ts +31 -0
  683. package/lib/typescript/components/FocalPointPicker.d.ts.map +1 -0
  684. package/lib/typescript/components/FollowButton.d.ts +21 -0
  685. package/lib/typescript/components/FollowButton.d.ts.map +1 -0
  686. package/lib/typescript/components/ForecastCallout.d.ts +21 -0
  687. package/lib/typescript/components/ForecastCallout.d.ts.map +1 -0
  688. package/lib/typescript/components/FormField.d.ts +32 -0
  689. package/lib/typescript/components/FormField.d.ts.map +1 -0
  690. package/lib/typescript/components/FunnelChart.d.ts +46 -0
  691. package/lib/typescript/components/FunnelChart.d.ts.map +1 -0
  692. package/lib/typescript/components/Gauge.d.ts +70 -0
  693. package/lib/typescript/components/Gauge.d.ts.map +1 -0
  694. package/lib/typescript/components/GradientText.d.ts +21 -0
  695. package/lib/typescript/components/GradientText.d.ts.map +1 -0
  696. package/lib/typescript/components/Heatmap.d.ts +87 -0
  697. package/lib/typescript/components/Heatmap.d.ts.map +1 -0
  698. package/lib/typescript/components/Highlight.d.ts +11 -0
  699. package/lib/typescript/components/Highlight.d.ts.map +1 -0
  700. package/lib/typescript/components/Hypnogram.d.ts +94 -0
  701. package/lib/typescript/components/Hypnogram.d.ts.map +1 -0
  702. package/lib/typescript/components/Icon.d.ts +30 -0
  703. package/lib/typescript/components/Icon.d.ts.map +1 -0
  704. package/lib/typescript/components/Input.d.ts +25 -0
  705. package/lib/typescript/components/Input.d.ts.map +1 -0
  706. package/lib/typescript/components/InsightCard.d.ts +37 -0
  707. package/lib/typescript/components/InsightCard.d.ts.map +1 -0
  708. package/lib/typescript/components/KeyValue.d.ts +18 -0
  709. package/lib/typescript/components/KeyValue.d.ts.map +1 -0
  710. package/lib/typescript/components/LeaderboardRow.d.ts +31 -0
  711. package/lib/typescript/components/LeaderboardRow.d.ts.map +1 -0
  712. package/lib/typescript/components/LineChart.d.ts +166 -0
  713. package/lib/typescript/components/LineChart.d.ts.map +1 -0
  714. package/lib/typescript/components/ListRow.d.ts +37 -0
  715. package/lib/typescript/components/ListRow.d.ts.map +1 -0
  716. package/lib/typescript/components/Menu.d.ts +28 -0
  717. package/lib/typescript/components/Menu.d.ts.map +1 -0
  718. package/lib/typescript/components/MessageBubble.d.ts +20 -0
  719. package/lib/typescript/components/MessageBubble.d.ts.map +1 -0
  720. package/lib/typescript/components/MessageComposer.d.ts +20 -0
  721. package/lib/typescript/components/MessageComposer.d.ts.map +1 -0
  722. package/lib/typescript/components/MetaphorWidget.d.ts +107 -0
  723. package/lib/typescript/components/MetaphorWidget.d.ts.map +1 -0
  724. package/lib/typescript/components/Meter.d.ts +34 -0
  725. package/lib/typescript/components/Meter.d.ts.map +1 -0
  726. package/lib/typescript/components/MetricTile.d.ts +43 -0
  727. package/lib/typescript/components/MetricTile.d.ts.map +1 -0
  728. package/lib/typescript/components/MiniRing.d.ts +9 -0
  729. package/lib/typescript/components/MiniRing.d.ts.map +1 -0
  730. package/lib/typescript/components/Modal.d.ts +19 -0
  731. package/lib/typescript/components/Modal.d.ts.map +1 -0
  732. package/lib/typescript/components/MuscleDiagram.d.ts +37 -0
  733. package/lib/typescript/components/MuscleDiagram.d.ts.map +1 -0
  734. package/lib/typescript/components/NoteField.d.ts +9 -0
  735. package/lib/typescript/components/NoteField.d.ts.map +1 -0
  736. package/lib/typescript/components/NotificationRow.d.ts +36 -0
  737. package/lib/typescript/components/NotificationRow.d.ts.map +1 -0
  738. package/lib/typescript/components/Pagination.d.ts +22 -0
  739. package/lib/typescript/components/Pagination.d.ts.map +1 -0
  740. package/lib/typescript/components/PasswordInput.d.ts +24 -0
  741. package/lib/typescript/components/PasswordInput.d.ts.map +1 -0
  742. package/lib/typescript/components/PasswordStrengthMeter.d.ts +18 -0
  743. package/lib/typescript/components/PasswordStrengthMeter.d.ts.map +1 -0
  744. package/lib/typescript/components/PendingPatternCard.d.ts +27 -0
  745. package/lib/typescript/components/PendingPatternCard.d.ts.map +1 -0
  746. package/lib/typescript/components/PhaseWheel.d.ts +103 -0
  747. package/lib/typescript/components/PhaseWheel.d.ts.map +1 -0
  748. package/lib/typescript/components/PkChart.d.ts +67 -0
  749. package/lib/typescript/components/PkChart.d.ts.map +1 -0
  750. package/lib/typescript/components/Popover.d.ts +27 -0
  751. package/lib/typescript/components/Popover.d.ts.map +1 -0
  752. package/lib/typescript/components/PrBadge.d.ts +21 -0
  753. package/lib/typescript/components/PrBadge.d.ts.map +1 -0
  754. package/lib/typescript/components/PrCard.d.ts +29 -0
  755. package/lib/typescript/components/PrCard.d.ts.map +1 -0
  756. package/lib/typescript/components/PricingTierCard.d.ts +46 -0
  757. package/lib/typescript/components/PricingTierCard.d.ts.map +1 -0
  758. package/lib/typescript/components/ProGate.d.ts +26 -0
  759. package/lib/typescript/components/ProGate.d.ts.map +1 -0
  760. package/lib/typescript/components/ProgressBar.d.ts +60 -0
  761. package/lib/typescript/components/ProgressBar.d.ts.map +1 -0
  762. package/lib/typescript/components/Pulse.d.ts +8 -0
  763. package/lib/typescript/components/Pulse.d.ts.map +1 -0
  764. package/lib/typescript/components/QRCode.d.ts +17 -0
  765. package/lib/typescript/components/QRCode.d.ts.map +1 -0
  766. package/lib/typescript/components/RadarChart.d.ts +59 -0
  767. package/lib/typescript/components/RadarChart.d.ts.map +1 -0
  768. package/lib/typescript/components/RangeBar.d.ts +38 -0
  769. package/lib/typescript/components/RangeBar.d.ts.map +1 -0
  770. package/lib/typescript/components/ReauthDialog.d.ts +44 -0
  771. package/lib/typescript/components/ReauthDialog.d.ts.map +1 -0
  772. package/lib/typescript/components/RestTimer.d.ts +45 -0
  773. package/lib/typescript/components/RestTimer.d.ts.map +1 -0
  774. package/lib/typescript/components/RichText.d.ts +26 -0
  775. package/lib/typescript/components/RichText.d.ts.map +1 -0
  776. package/lib/typescript/components/RichTextEditor.d.ts +25 -0
  777. package/lib/typescript/components/RichTextEditor.d.ts.map +1 -0
  778. package/lib/typescript/components/Ring.d.ts +63 -0
  779. package/lib/typescript/components/Ring.d.ts.map +1 -0
  780. package/lib/typescript/components/RoseChart.d.ts +54 -0
  781. package/lib/typescript/components/RoseChart.d.ts.map +1 -0
  782. package/lib/typescript/components/SankeyChart.d.ts +93 -0
  783. package/lib/typescript/components/SankeyChart.d.ts.map +1 -0
  784. package/lib/typescript/components/ScatterChart.d.ts +59 -0
  785. package/lib/typescript/components/ScatterChart.d.ts.map +1 -0
  786. package/lib/typescript/components/ScrollProgress.d.ts +24 -0
  787. package/lib/typescript/components/ScrollProgress.d.ts.map +1 -0
  788. package/lib/typescript/components/SectionDivider.d.ts +18 -0
  789. package/lib/typescript/components/SectionDivider.d.ts.map +1 -0
  790. package/lib/typescript/components/SectionHeader.d.ts +18 -0
  791. package/lib/typescript/components/SectionHeader.d.ts.map +1 -0
  792. package/lib/typescript/components/SegmentedTabs.d.ts +85 -0
  793. package/lib/typescript/components/SegmentedTabs.d.ts.map +1 -0
  794. package/lib/typescript/components/Select.d.ts +47 -0
  795. package/lib/typescript/components/Select.d.ts.map +1 -0
  796. package/lib/typescript/components/SessionBanner.d.ts +45 -0
  797. package/lib/typescript/components/SessionBanner.d.ts.map +1 -0
  798. package/lib/typescript/components/SessionChart.d.ts +130 -0
  799. package/lib/typescript/components/SessionChart.d.ts.map +1 -0
  800. package/lib/typescript/components/SetTable.d.ts +58 -0
  801. package/lib/typescript/components/SetTable.d.ts.map +1 -0
  802. package/lib/typescript/components/ShareCard.d.ts +40 -0
  803. package/lib/typescript/components/ShareCard.d.ts.map +1 -0
  804. package/lib/typescript/components/Sheet.d.ts +22 -0
  805. package/lib/typescript/components/Sheet.d.ts.map +1 -0
  806. package/lib/typescript/components/Skeleton.d.ts +9 -0
  807. package/lib/typescript/components/Skeleton.d.ts.map +1 -0
  808. package/lib/typescript/components/Slider.d.ts +27 -0
  809. package/lib/typescript/components/Slider.d.ts.map +1 -0
  810. package/lib/typescript/components/Sortable.d.ts +25 -0
  811. package/lib/typescript/components/Sortable.d.ts.map +1 -0
  812. package/lib/typescript/components/SourceChip.d.ts +24 -0
  813. package/lib/typescript/components/SourceChip.d.ts.map +1 -0
  814. package/lib/typescript/components/Sparkline.d.ts +28 -0
  815. package/lib/typescript/components/Sparkline.d.ts.map +1 -0
  816. package/lib/typescript/components/Spinner.d.ts +23 -0
  817. package/lib/typescript/components/Spinner.d.ts.map +1 -0
  818. package/lib/typescript/components/SplitButton.d.ts +21 -0
  819. package/lib/typescript/components/SplitButton.d.ts.map +1 -0
  820. package/lib/typescript/components/SsoButton.d.ts +10 -0
  821. package/lib/typescript/components/SsoButton.d.ts.map +1 -0
  822. package/lib/typescript/components/StackedBar.d.ts +32 -0
  823. package/lib/typescript/components/StackedBar.d.ts.map +1 -0
  824. package/lib/typescript/components/Stat.d.ts +33 -0
  825. package/lib/typescript/components/Stat.d.ts.map +1 -0
  826. package/lib/typescript/components/StatTile.d.ts +90 -0
  827. package/lib/typescript/components/StatTile.d.ts.map +1 -0
  828. package/lib/typescript/components/StateLabel.d.ts +12 -0
  829. package/lib/typescript/components/StateLabel.d.ts.map +1 -0
  830. package/lib/typescript/components/StatusDot.d.ts +13 -0
  831. package/lib/typescript/components/StatusDot.d.ts.map +1 -0
  832. package/lib/typescript/components/Stepper.d.ts +47 -0
  833. package/lib/typescript/components/Stepper.d.ts.map +1 -0
  834. package/lib/typescript/components/SupplementChart.d.ts +121 -0
  835. package/lib/typescript/components/SupplementChart.d.ts.map +1 -0
  836. package/lib/typescript/components/TabBar.d.ts +52 -0
  837. package/lib/typescript/components/TabBar.d.ts.map +1 -0
  838. package/lib/typescript/components/Table.d.ts +64 -0
  839. package/lib/typescript/components/Table.d.ts.map +1 -0
  840. package/lib/typescript/components/Tabs.d.ts +16 -0
  841. package/lib/typescript/components/Tabs.d.ts.map +1 -0
  842. package/lib/typescript/components/TagCloud.d.ts +31 -0
  843. package/lib/typescript/components/TagCloud.d.ts.map +1 -0
  844. package/lib/typescript/components/TagInput.d.ts +37 -0
  845. package/lib/typescript/components/TagInput.d.ts.map +1 -0
  846. package/lib/typescript/components/TemplateCard.d.ts +43 -0
  847. package/lib/typescript/components/TemplateCard.d.ts.map +1 -0
  848. package/lib/typescript/components/Timeline.d.ts +18 -0
  849. package/lib/typescript/components/Timeline.d.ts.map +1 -0
  850. package/lib/typescript/components/TimelineChart.d.ts +124 -0
  851. package/lib/typescript/components/TimelineChart.d.ts.map +1 -0
  852. package/lib/typescript/components/Toast.d.ts +18 -0
  853. package/lib/typescript/components/Toast.d.ts.map +1 -0
  854. package/lib/typescript/components/Toggle.d.ts +22 -0
  855. package/lib/typescript/components/Toggle.d.ts.map +1 -0
  856. package/lib/typescript/components/Toolbar.d.ts +48 -0
  857. package/lib/typescript/components/Toolbar.d.ts.map +1 -0
  858. package/lib/typescript/components/Tooltip.d.ts +16 -0
  859. package/lib/typescript/components/Tooltip.d.ts.map +1 -0
  860. package/lib/typescript/components/TypingIndicator.d.ts +16 -0
  861. package/lib/typescript/components/TypingIndicator.d.ts.map +1 -0
  862. package/lib/typescript/components/UnitChart.d.ts +84 -0
  863. package/lib/typescript/components/UnitChart.d.ts.map +1 -0
  864. package/lib/typescript/components/VersionBadge.d.ts +17 -0
  865. package/lib/typescript/components/VersionBadge.d.ts.map +1 -0
  866. package/lib/typescript/components/VideoThumbnail.d.ts +24 -0
  867. package/lib/typescript/components/VideoThumbnail.d.ts.map +1 -0
  868. package/lib/typescript/components/VitalsStrip.d.ts +53 -0
  869. package/lib/typescript/components/VitalsStrip.d.ts.map +1 -0
  870. package/lib/typescript/components/WatchComplication.d.ts +84 -0
  871. package/lib/typescript/components/WatchComplication.d.ts.map +1 -0
  872. package/lib/typescript/components/ZoneBar.d.ts +33 -0
  873. package/lib/typescript/components/ZoneBar.d.ts.map +1 -0
  874. package/lib/typescript/components/ZonePyramid.d.ts +51 -0
  875. package/lib/typescript/components/ZonePyramid.d.ts.map +1 -0
  876. package/lib/typescript/index.d.ts +288 -0
  877. package/lib/typescript/index.d.ts.map +1 -0
  878. package/lib/typescript/internal/optionalBlur.d.ts +13 -0
  879. package/lib/typescript/internal/optionalBlur.d.ts.map +1 -0
  880. package/lib/typescript/internal/optionalHaptics.d.ts +7 -0
  881. package/lib/typescript/internal/optionalHaptics.d.ts.map +1 -0
  882. package/lib/typescript/theme.d.ts +5 -0
  883. package/lib/typescript/theme.d.ts.map +1 -0
  884. package/package.json +92 -3
  885. package/src/components/Accordion.tsx +130 -0
  886. package/src/components/AchievementBadge.tsx +217 -0
  887. package/src/components/Alert.tsx +149 -0
  888. package/src/components/AreaChart.tsx +546 -0
  889. package/src/components/AuroraBackground.tsx +198 -0
  890. package/src/components/Avatar.tsx +164 -0
  891. package/src/components/AvatarStack.tsx +94 -0
  892. package/src/components/BackLink.tsx +64 -0
  893. package/src/components/Badge.tsx +91 -0
  894. package/src/components/BarChart.tsx +643 -0
  895. package/src/components/BarFill.tsx +37 -0
  896. package/src/components/BeeswarmChart.tsx +567 -0
  897. package/src/components/BiomarkerRange.tsx +571 -0
  898. package/src/components/BodyBattery.tsx +551 -0
  899. package/src/components/BrandMark.tsx +107 -0
  900. package/src/components/BulletChart.tsx +433 -0
  901. package/src/components/Button.tsx +127 -0
  902. package/src/components/CaffeineClock.tsx +472 -0
  903. package/src/components/Card.tsx +139 -0
  904. package/src/components/CharCounter.tsx +113 -0
  905. package/src/components/ChartState.tsx +473 -0
  906. package/src/components/Checkbox.tsx +175 -0
  907. package/src/components/Chip.tsx +132 -0
  908. package/src/components/ChoiceChip.tsx +119 -0
  909. package/src/components/CodeBlock.tsx +106 -0
  910. package/src/components/CodeField.tsx +137 -0
  911. package/src/components/ColorPicker.tsx +169 -0
  912. package/src/components/ComboChart.tsx +476 -0
  913. package/src/components/Combobox.tsx +141 -0
  914. package/src/components/CompareChart.tsx +651 -0
  915. package/src/components/CompositeChart.tsx +609 -0
  916. package/src/components/Countdown.tsx +155 -0
  917. package/src/components/CreditCardVisual.tsx +151 -0
  918. package/src/components/DateField.tsx +346 -0
  919. package/src/components/DayTimelineBlocks.tsx +270 -0
  920. package/src/components/DayWheel.tsx +483 -0
  921. package/src/components/DeltaPill.tsx +114 -0
  922. package/src/components/DistributionChart.tsx +739 -0
  923. package/src/components/Divider.tsx +61 -0
  924. package/src/components/DonutChart.tsx +399 -0
  925. package/src/components/DotsLoader.tsx +74 -0
  926. package/src/components/EffectAttributionLine.tsx +82 -0
  927. package/src/components/EmptyState.tsx +108 -0
  928. package/src/components/EngagementBar.tsx +140 -0
  929. package/src/components/EnvironmentChart.tsx +522 -0
  930. package/src/components/Eyebrow.tsx +22 -0
  931. package/src/components/FocalPointPicker.tsx +193 -0
  932. package/src/components/FollowButton.tsx +78 -0
  933. package/src/components/ForecastCallout.tsx +100 -0
  934. package/src/components/FormField.tsx +217 -0
  935. package/src/components/FunnelChart.tsx +310 -0
  936. package/src/components/Gauge.tsx +329 -0
  937. package/src/components/GradientText.tsx +114 -0
  938. package/src/components/Heatmap.tsx +459 -0
  939. package/src/components/Highlight.tsx +36 -0
  940. package/src/components/Hypnogram.tsx +751 -0
  941. package/src/components/Icon.tsx +680 -0
  942. package/src/components/Input.tsx +125 -0
  943. package/src/components/InsightCard.tsx +130 -0
  944. package/src/components/KeyValue.tsx +83 -0
  945. package/src/components/LeaderboardRow.tsx +156 -0
  946. package/src/components/LineChart.tsx +1529 -0
  947. package/src/components/ListRow.tsx +153 -0
  948. package/src/components/Menu.tsx +156 -0
  949. package/src/components/MessageBubble.tsx +118 -0
  950. package/src/components/MessageComposer.tsx +202 -0
  951. package/src/components/MetaphorWidget.tsx +848 -0
  952. package/src/components/Meter.tsx +186 -0
  953. package/src/components/MetricTile.tsx +247 -0
  954. package/src/components/MiniRing.tsx +17 -0
  955. package/src/components/Modal.tsx +129 -0
  956. package/src/components/MuscleDiagram.tsx +319 -0
  957. package/src/components/NoteField.tsx +68 -0
  958. package/src/components/NotificationRow.tsx +230 -0
  959. package/src/components/Pagination.tsx +188 -0
  960. package/src/components/PasswordInput.tsx +111 -0
  961. package/src/components/PasswordStrengthMeter.tsx +104 -0
  962. package/src/components/PendingPatternCard.tsx +163 -0
  963. package/src/components/PhaseWheel.tsx +781 -0
  964. package/src/components/PkChart.tsx +539 -0
  965. package/src/components/Popover.tsx +206 -0
  966. package/src/components/PrBadge.tsx +51 -0
  967. package/src/components/PrCard.tsx +132 -0
  968. package/src/components/PricingTierCard.tsx +234 -0
  969. package/src/components/ProGate.tsx +194 -0
  970. package/src/components/ProgressBar.tsx +439 -0
  971. package/src/components/Pulse.tsx +17 -0
  972. package/src/components/QRCode.tsx +555 -0
  973. package/src/components/RadarChart.tsx +538 -0
  974. package/src/components/RangeBar.tsx +206 -0
  975. package/src/components/ReauthDialog.tsx +282 -0
  976. package/src/components/RestTimer.tsx +193 -0
  977. package/src/components/RichText.tsx +71 -0
  978. package/src/components/RichTextEditor.tsx +207 -0
  979. package/src/components/Ring.tsx +269 -0
  980. package/src/components/RoseChart.tsx +375 -0
  981. package/src/components/SankeyChart.tsx +687 -0
  982. package/src/components/ScatterChart.tsx +498 -0
  983. package/src/components/ScrollProgress.tsx +61 -0
  984. package/src/components/SectionDivider.tsx +51 -0
  985. package/src/components/SectionHeader.tsx +41 -0
  986. package/src/components/SegmentedTabs.tsx +389 -0
  987. package/src/components/Select.tsx +335 -0
  988. package/src/components/SessionBanner.tsx +195 -0
  989. package/src/components/SessionChart.tsx +917 -0
  990. package/src/components/SetTable.tsx +341 -0
  991. package/src/components/ShareCard.tsx +145 -0
  992. package/src/components/Sheet.tsx +212 -0
  993. package/src/components/Skeleton.tsx +13 -0
  994. package/src/components/Slider.tsx +187 -0
  995. package/src/components/Sortable.tsx +263 -0
  996. package/src/components/SourceChip.tsx +95 -0
  997. package/src/components/Sparkline.tsx +108 -0
  998. package/src/components/Spinner.tsx +128 -0
  999. package/src/components/SplitButton.tsx +111 -0
  1000. package/src/components/SsoButton.tsx +93 -0
  1001. package/src/components/StackedBar.tsx +138 -0
  1002. package/src/components/Stat.tsx +118 -0
  1003. package/src/components/StatTile.tsx +581 -0
  1004. package/src/components/StateLabel.tsx +62 -0
  1005. package/src/components/StatusDot.tsx +58 -0
  1006. package/src/components/Stepper.tsx +359 -0
  1007. package/src/components/SupplementChart.tsx +1044 -0
  1008. package/src/components/TabBar.tsx +297 -0
  1009. package/src/components/Table.tsx +448 -0
  1010. package/src/components/Tabs.tsx +85 -0
  1011. package/src/components/TagCloud.tsx +111 -0
  1012. package/src/components/TagInput.tsx +325 -0
  1013. package/src/components/TemplateCard.tsx +181 -0
  1014. package/src/components/Timeline.tsx +132 -0
  1015. package/src/components/TimelineChart.tsx +1035 -0
  1016. package/src/components/Toast.tsx +138 -0
  1017. package/src/components/Toggle.tsx +155 -0
  1018. package/src/components/Toolbar.tsx +292 -0
  1019. package/src/components/Tooltip.tsx +193 -0
  1020. package/src/components/TypingIndicator.tsx +106 -0
  1021. package/src/components/UnitChart.tsx +519 -0
  1022. package/src/components/VersionBadge.tsx +129 -0
  1023. package/src/components/VideoThumbnail.tsx +140 -0
  1024. package/src/components/VitalsStrip.tsx +636 -0
  1025. package/src/components/WatchComplication.tsx +536 -0
  1026. package/src/components/ZoneBar.tsx +148 -0
  1027. package/src/components/ZonePyramid.tsx +405 -0
  1028. package/src/components/__tests__/Chip.test.tsx +33 -0
  1029. package/src/components/__tests__/CodeInput.test.tsx +62 -0
  1030. package/src/components/__tests__/DeltaPill.test.tsx +41 -0
  1031. package/src/components/__tests__/GradientText.test.tsx +69 -0
  1032. package/src/components/__tests__/Icon.test.tsx +61 -0
  1033. package/src/components/__tests__/Input.test.tsx +30 -0
  1034. package/src/components/__tests__/LineChart.test.tsx +62 -0
  1035. package/src/components/__tests__/ListRow.test.tsx +28 -0
  1036. package/src/components/__tests__/PkChart.test.tsx +47 -0
  1037. package/src/components/__tests__/PrBadge.test.tsx +32 -0
  1038. package/src/components/__tests__/PrCard.test.tsx +49 -0
  1039. package/src/components/__tests__/RestTimer.test.tsx +94 -0
  1040. package/src/components/__tests__/SegmentedTabs.test.tsx +58 -0
  1041. package/src/components/__tests__/SessionBanner.test.tsx +96 -0
  1042. package/src/components/__tests__/SetTable.test.tsx +105 -0
  1043. package/src/components/__tests__/SourceChip.test.tsx +82 -0
  1044. package/src/components/__tests__/SupplementChart.test.tsx +71 -0
  1045. package/src/components/__tests__/Table.test.tsx +81 -0
  1046. package/src/components/__tests__/TemplateCard.test.tsx +85 -0
  1047. package/src/components/__tests__/Toggle.test.tsx +49 -0
  1048. package/src/components/__tests__/UnitChart.test.tsx +44 -0
  1049. package/src/components/__tests__/markup.ts +142 -0
  1050. package/src/components/__tests__/react-dom-server.d.ts +11 -0
  1051. package/src/index.ts +320 -0
  1052. package/src/internal/optionalBlur.ts +37 -0
  1053. package/src/internal/optionalHaptics.ts +38 -0
  1054. package/src/theme.ts +26 -0
  1055. package/README.md +0 -3
@@ -0,0 +1,1040 @@
1
+ "use strict";
2
+
3
+ import { useEffect, useId, useRef, useState } from 'react';
4
+ import { Animated, Easing, StyleSheet, Text, View } from 'react-native';
5
+ import Svg, { Defs, FeGaussianBlur, Filter, Line, LinearGradient, Path, Rect, Stop } from 'react-native-svg';
6
+ import { colors, fonts } from '@lockin90/tokens';
7
+
8
+ /** Catalog variant names — one per session form in
9
+ * `lockin90-design/charts/session-charts.html` (SN-01 … SN-10). */
10
+
11
+ // SN-10
12
+
13
+ /** One HR zone band: label + color + its 0–1 slice of the intensity scale
14
+ * (Z1 at the bottom → Z5 at the top). */
15
+
16
+ /** One sauna heat round (0–1 fractions of the session window). */
17
+
18
+ /** A small chip anchored at a 0–1 fraction of the window (PLUNGE / REST tags). */
19
+
20
+ /** An x-axis caption at a 0–1 fraction of the window. */
21
+
22
+ /** SN-04 recovery annotation — peak pulse + dashed bracket + recovery tag. */
23
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
+ /* ---------------- catalog geometry (session-charts.html) ---------------- */
25
+
26
+ const W = 320;
27
+ const P = {
28
+ l: 10,
29
+ r: 12,
30
+ t: 16,
31
+ b: 14
32
+ };
33
+ const PLOT_W = W - P.l - P.r;
34
+ const MINT = colors.mint;
35
+
36
+ /** round for compact attribute strings */
37
+ const r = n => Math.round(n * 100) / 100;
38
+
39
+ /** HR zones Z1 (bottom) → Z5 (top) — indigo → coral, like the catalog. */
40
+ export const DEFAULT_SESSION_ZONES = [{
41
+ label: 'Z1',
42
+ color: colors.indigo,
43
+ from: 0,
44
+ to: 0.2
45
+ }, {
46
+ label: 'Z2',
47
+ color: colors.cyan,
48
+ from: 0.2,
49
+ to: 0.4
50
+ }, {
51
+ label: 'Z3',
52
+ color: colors.mint,
53
+ from: 0.4,
54
+ to: 0.6
55
+ }, {
56
+ label: 'Z4',
57
+ color: colors.zoneMid,
58
+ from: 0.6,
59
+ to: 0.8
60
+ }, {
61
+ label: 'Z5',
62
+ color: colors.zoneLow,
63
+ from: 0.8,
64
+ to: 1
65
+ }];
66
+
67
+ /* ---------------- deterministic demo data (catalog ports) ---------------- */
68
+
69
+ /** the catalog's seeded PRNG — defaults reproduce the catalog cards exactly */
70
+ function mulberry32(a) {
71
+ return () => {
72
+ a |= 0;
73
+ a = a + 0x6d2b79f5 | 0;
74
+ let t = Math.imul(a ^ a >>> 15, 1 | a);
75
+ t = t + Math.imul(t ^ t >>> 7, 61 | t) ^ t;
76
+ return ((t ^ t >>> 14) >>> 0) / 4294967296;
77
+ };
78
+ }
79
+ const clamp01 = v => Math.max(0.03, Math.min(0.97, v));
80
+
81
+ /** session HR trace: warmup rise → work oscillation → cooldown fall. */
82
+ function hrSession(seed, n, intervals) {
83
+ const rand = mulberry32(seed);
84
+ const v = [];
85
+ for (let i = 0; i < n; i++) {
86
+ const t = i / (n - 1);
87
+ let base;
88
+ if (t < 0.14) base = 0.22 + t / 0.14 * 0.36;else if (t > 0.86) base = 0.62 - (t - 0.86) / 0.14 * 0.34;else if (intervals) {
89
+ const ph = (t - 0.14) / 0.72 * intervals;
90
+ base = ph % 1 < 0.55 ? 0.82 : 0.45;
91
+ } else base = 0.62 + Math.sin((t - 0.14) * 9) * 0.1;
92
+ v.push(clamp01(base + (rand() - 0.5) * 0.05));
93
+ }
94
+ return v;
95
+ }
96
+
97
+ /** sauna trace: heat rounds ramp up, cold plunge drops between. */
98
+ function saunaTrace(seed, n, rounds) {
99
+ const rand = mulberry32(seed);
100
+ const v = [];
101
+ for (let i = 0; i < n; i++) {
102
+ const t = i / (n - 1);
103
+ const f = t * rounds % 1;
104
+ const base = f < 0.7 ? 0.3 + f / 0.7 * 0.55 : 0.85 - (f - 0.7) / 0.3 * 0.65;
105
+ v.push(clamp01(base + (rand() - 0.5) * 0.04));
106
+ }
107
+ return v;
108
+ }
109
+
110
+ /** SN-06 heat-up: exponential approach toward the target. */
111
+ function heatRampData() {
112
+ const out = [];
113
+ for (let i = 0; i < 40; i++) {
114
+ const t = i / 39;
115
+ out.push(clamp01(0.15 + (1 - Math.exp(-t * 4)) * 0.75));
116
+ }
117
+ return out;
118
+ }
119
+
120
+ /** SN-07 overnight traces — HRV rises, RHR falls. */
121
+ function nightTraces(seed, n) {
122
+ const hrv = [];
123
+ const rhr = [];
124
+ for (let i = 0; i < n; i++) {
125
+ const t = i / (n - 1);
126
+ const rr = mulberry32(seed + i)();
127
+ hrv.push(clamp01(0.3 + t * 0.45 + Math.sin(t * 12) * 0.06 + (rr - 0.5) * 0.05));
128
+ rhr.push(clamp01(0.62 - t * 0.3 + Math.sin(t * 10) * 0.04));
129
+ }
130
+ return {
131
+ hrv,
132
+ rhr
133
+ };
134
+ }
135
+
136
+ /** SN-09/10 meal-response curve (gaussian spike + small dip). */
137
+ function glCurve(amp, w2) {
138
+ const out = [];
139
+ for (let i = 0; i <= 40; i++) {
140
+ const t = i / 40;
141
+ out.push(clamp01(0.42 + amp * Math.exp(-(((t - 0.42) / w2) ** 2)) - 0.05 * Math.exp(-(((t - 0.72) / 0.1) ** 2))));
142
+ }
143
+ return out;
144
+ }
145
+ const DEFAULT_HR_TEMPO = hrSession(11, 70);
146
+ const DEFAULT_HR_RECOVERY = hrSession(44, 70);
147
+ const DEFAULT_SAUNA_TEMP = saunaTrace(55, 60, 3);
148
+ const DEFAULT_SAUNA_HR = saunaTrace(60, 60, 3).map(v => clamp01(v * 0.75 + 0.08));
149
+ const DEFAULT_HEAT_RAMP = heatRampData();
150
+ const DEFAULT_NIGHT = nightTraces(77, 48);
151
+ const DEFAULT_GLUC = glCurve(0.46, 0.15);
152
+ const DEFAULT_GLUC_MEAN = glCurve(0.42, 0.15);
153
+ const DEFAULT_OVERLAYS = [glCurve(0.3, 0.14), glCurve(0.44, 0.17), glCurve(0.52, 0.13)];
154
+ const DEFAULT_MINUTES = [4, 12, 18, 14, 4];
155
+ const DEFAULT_ROUNDS = [{
156
+ from: 0,
157
+ to: 0.24
158
+ }, {
159
+ from: 0.33,
160
+ to: 0.57
161
+ }, {
162
+ from: 0.66,
163
+ to: 0.9
164
+ }];
165
+ const DEFAULT_PLUNGES = [{
166
+ at: 0.27,
167
+ label: 'PLUNGE'
168
+ }, {
169
+ at: 0.6,
170
+ label: 'PLUNGE'
171
+ }, {
172
+ at: 0.93,
173
+ label: 'REST'
174
+ }];
175
+ const HR_AXIS = [{
176
+ at: 0,
177
+ label: '0'
178
+ }, {
179
+ at: 0.5,
180
+ label: '26 MIN'
181
+ }, {
182
+ at: 1,
183
+ label: '52 MIN'
184
+ }];
185
+ const DEFAULT_AXES = {
186
+ 'hr-zones-session': HR_AXIS,
187
+ 'hr-intervals': HR_AXIS,
188
+ 'time-in-zones': [],
189
+ 'hr-recovery': HR_AXIS,
190
+ 'sauna-rounds': [{
191
+ at: 0,
192
+ label: '0'
193
+ }, {
194
+ at: 0.5,
195
+ label: '45 MIN'
196
+ }, {
197
+ at: 1,
198
+ label: '90 MIN'
199
+ }],
200
+ 'sauna-heat-ramp': [{
201
+ at: 0,
202
+ label: '0'
203
+ }, {
204
+ at: 1,
205
+ label: '18 MIN'
206
+ }],
207
+ 'night-recovery': [{
208
+ at: 0,
209
+ label: '11PM'
210
+ }, {
211
+ at: 0.5,
212
+ label: '3AM'
213
+ }, {
214
+ at: 1,
215
+ label: '7AM'
216
+ }],
217
+ 'glucose-response': [{
218
+ at: 0,
219
+ label: '-30M'
220
+ }, {
221
+ at: 1,
222
+ label: '+2H'
223
+ }],
224
+ 'response-overlay': [{
225
+ at: 0,
226
+ label: '-30M'
227
+ }, {
228
+ at: 1,
229
+ label: '+2H'
230
+ }]
231
+ };
232
+
233
+ /** catalog card header defaults (title · stat · stat tint) — demo copy; pass
234
+ * real data / `''` to hide */
235
+ const CFG_DEFAULTS = {
236
+ 'hr-zones-session': {
237
+ title: 'TRAINING · TEMPO RUN',
238
+ stat: '148 AVG BPM',
239
+ statColor: colors.zoneMid
240
+ },
241
+ 'hr-intervals': {
242
+ title: 'TRAINING · 5× INTERVALS',
243
+ stat: '172 PEAK',
244
+ statColor: colors.zoneLow
245
+ },
246
+ 'time-in-zones': {
247
+ title: 'TIME IN ZONES · 52 MIN'
248
+ },
249
+ 'hr-recovery': {
250
+ title: 'TRAINING + RECOVERY CHECK',
251
+ stat: '−32 IN 60S',
252
+ statColor: colors.mint
253
+ },
254
+ 'sauna-rounds': {
255
+ title: 'SAUNA · 3 ROUNDS',
256
+ stat: '90°C',
257
+ statColor: colors.zoneMid
258
+ },
259
+ 'sauna-heat-ramp': {
260
+ title: 'SAUNA · WARMING UP'
261
+ },
262
+ 'night-recovery': {
263
+ title: 'OVERNIGHT RECOVERY',
264
+ stat: '7H 40M'
265
+ },
266
+ 'glucose-response': {
267
+ title: 'MEAL RESPONSE · CGM',
268
+ stat: '+62 PEAK',
269
+ statColor: colors.zoneMid
270
+ },
271
+ 'response-overlay': {
272
+ title: 'SAME MEAL × 3'
273
+ }
274
+ };
275
+
276
+ /** Fritsch–Carlson monotone cubic — the catalog's `smoothPath`. */
277
+ function monotonePath(pts) {
278
+ const n = pts.length;
279
+ if (n < 3) return pts.map(([x, y], i) => `${i === 0 ? 'M' : 'L'}${r(x)} ${r(y)}`).join('');
280
+ const dx = [];
281
+ const m = [];
282
+ const tg = [];
283
+ for (let i = 0; i < n - 1; i++) {
284
+ dx[i] = pts[i + 1][0] - pts[i][0];
285
+ m[i] = (pts[i + 1][1] - pts[i][1]) / dx[i];
286
+ }
287
+ tg[0] = m[0];
288
+ tg[n - 1] = m[n - 2];
289
+ for (let i = 1; i < n - 1; i++) tg[i] = m[i - 1] * m[i] <= 0 ? 0 : (m[i - 1] + m[i]) / 2;
290
+ for (let i = 0; i < n - 1; i++) {
291
+ if (m[i] === 0) {
292
+ tg[i] = 0;
293
+ tg[i + 1] = 0;
294
+ } else {
295
+ const a = tg[i] / m[i];
296
+ const b = tg[i + 1] / m[i];
297
+ const s = a * a + b * b;
298
+ if (s > 9) {
299
+ const tau = 3 / Math.sqrt(s);
300
+ tg[i] = tau * a * m[i];
301
+ tg[i + 1] = tau * b * m[i];
302
+ }
303
+ }
304
+ }
305
+ let d = `M${r(pts[0][0])} ${r(pts[0][1])}`;
306
+ for (let i = 0; i < n - 1; i++) {
307
+ const h = dx[i] / 3;
308
+ d += `C${r(pts[i][0] + h)} ${r(pts[i][1] + h * tg[i])} ${r(pts[i + 1][0] - h)} ${r(pts[i + 1][1] - h * tg[i + 1])} ${r(pts[i + 1][0])} ${r(pts[i + 1][1])}`;
309
+ }
310
+ return d;
311
+ }
312
+
313
+ /* ---------------- render model (SVG marks + round/text overlays) ---------------- */
314
+
315
+ /** Expanding + fading ring riding the peak / trace-head dot — Animated loop,
316
+ * mirroring the web SMIL pulse (1.8s, r 3.6→11, opacity .8→0). */
317
+ function PulseRing({
318
+ color
319
+ }) {
320
+ const v = useRef(new Animated.Value(0)).current;
321
+ useEffect(() => {
322
+ const loop = Animated.loop(Animated.timing(v, {
323
+ toValue: 1,
324
+ duration: 1800,
325
+ easing: Easing.out(Easing.quad),
326
+ useNativeDriver: true
327
+ }));
328
+ loop.start();
329
+ return () => loop.stop();
330
+ }, [v]);
331
+ return /*#__PURE__*/_jsx(Animated.View, {
332
+ style: [styles.pulse, {
333
+ borderColor: color,
334
+ opacity: v.interpolate({
335
+ inputRange: [0, 1],
336
+ outputRange: [0.8, 0]
337
+ }),
338
+ transform: [{
339
+ scale: v.interpolate({
340
+ inputRange: [0, 1],
341
+ outputRange: [1, 3]
342
+ })
343
+ }]
344
+ }]
345
+ });
346
+ }
347
+
348
+ /**
349
+ * SessionChart — the session family: one recorded session as a story (catalog
350
+ * SN-01…SN-10). `variant` covers HR training over the 5 zone bands (Z1 indigo
351
+ * → Z5 coral) with the trace stroked by zone height, interval work blocks, the
352
+ * time-in-zones summary rows, HR recovery (peak pulse + 60s bracket + drop
353
+ * tag), sauna rounds (heat blocks + plunge tags + TEMP/HR traces) and heat
354
+ * ramp vs target, overnight recovery (HRV up / RHR down on a violet canvas)
355
+ * and CGM meal-response curves (baseline band + MEAL rule + peak/return, or a
356
+ * 3-curve overlay with the bold mean). Native twin of `@lockin90/ui`
357
+ * SessionChart — same prop API; `shine` is a real Gaussian-blurred duplicate
358
+ * stroke (Fabric-native SVG filters in react-native-svg 15). The Svg
359
+ * stretches to the measured container
360
+ * width via a fixed viewBox + non-uniform scaling; dots, chips and text render
361
+ * as absolutely-positioned Views placed by percentage so they stay perfectly
362
+ * round and legible.
363
+ */
364
+ export function SessionChart({
365
+ variant = 'hr-zones-session',
366
+ hrSamples,
367
+ zones = DEFAULT_SESSION_ZONES,
368
+ showZoneLabels = true,
369
+ intervals = 5,
370
+ recovery,
371
+ minutes = DEFAULT_MINUTES,
372
+ rounds = DEFAULT_ROUNDS,
373
+ plunges = DEFAULT_PLUNGES,
374
+ tempSamples,
375
+ tempLabel = 'TEMP',
376
+ hrLabel = 'HR',
377
+ target = 0.85,
378
+ targetLabel = 'TARGET 90°C',
379
+ stateLabel = '87°C · HEATING',
380
+ hrvSamples = DEFAULT_NIGHT.hrv,
381
+ rhrSamples = DEFAULT_NIGHT.rhr,
382
+ hrvLabel = 'HRV +38%',
383
+ rhrLabel = 'RHR −12',
384
+ glucoseSamples,
385
+ overlays = DEFAULT_OVERLAYS,
386
+ baselineBand = [0.36, 0.5],
387
+ baselineLabel = 'BASELINE 80-110',
388
+ mealAt = 0.2,
389
+ mealLabel = 'MEAL 12:40',
390
+ peakIndex = 17,
391
+ peakLabel = '+62 MG/DL PEAK',
392
+ returnLabel = 'BACK TO BASE · 1H 40M',
393
+ meanLabel = 'MEAN OF 3 MEALS',
394
+ title,
395
+ stat,
396
+ statColor,
397
+ axisLabels,
398
+ weight,
399
+ shine = false,
400
+ height = 150,
401
+ ariaLabel,
402
+ style
403
+ }) {
404
+ const uid = useId().replace(/[^a-zA-Z0-9]/g, '');
405
+ const zoneId = `lk-snc-zone-${uid}`;
406
+ const heatId = `lk-snc-heat-${uid}`;
407
+ const blurId = `lk-snc-blur-${uid}`;
408
+ const [width, setWidth] = useState(0);
409
+ const onLayout = e => setWidth(e.nativeEvent.layout.width);
410
+ const h = height;
411
+ const plotH = h - P.t - P.b;
412
+ const X = (i, n) => P.l + (n > 1 ? i * PLOT_W / (n - 1) : PLOT_W / 2);
413
+ const Y = v => P.t + (1 - v) * plotH;
414
+ const toPts = data => data.map((v, i) => [X(i, data.length), Y(v)]);
415
+ const marks = [];
416
+ const oDots = [];
417
+ const oNotes = [];
418
+ const oChips = [];
419
+ const oPulses = [];
420
+ let needZoneGrad = false;
421
+ let needHeatGrad = false;
422
+ const cfg = CFG_DEFAULTS[variant];
423
+ const resolvedTitle = title ?? cfg.title;
424
+ const resolvedStat = stat ?? cfg.stat;
425
+ const resolvedStatColor = statColor ?? cfg.statColor ?? colors.text;
426
+ if (resolvedTitle) oNotes.push({
427
+ x: P.l + 2,
428
+ y: 11,
429
+ text: resolvedTitle,
430
+ color: colors.textFaint,
431
+ anchor: 'start'
432
+ });
433
+ if (resolvedStat) oNotes.push({
434
+ x: W - P.r - 2,
435
+ y: 12,
436
+ text: resolvedStat,
437
+ color: resolvedStatColor,
438
+ anchor: 'end',
439
+ stat: true
440
+ });
441
+
442
+ /** main-trace glow underlay + stroke (the catalog's `hrPath`) — the shine is
443
+ * a Gaussian-blurred duplicate stroke behind the crisp trace, the native
444
+ * twin of the web mark's `blur(5px)` underlay */
445
+ const drawTrace = (d, stroke, w, dash) => {
446
+ if (!dash && shine) marks.push({
447
+ k: 'path',
448
+ d,
449
+ stroke,
450
+ w: w + 5,
451
+ opacity: 0.45,
452
+ cap: true,
453
+ filter: `url(#${blurId})`
454
+ });
455
+ marks.push({
456
+ k: 'path',
457
+ d,
458
+ stroke,
459
+ w,
460
+ dash,
461
+ cap: true
462
+ });
463
+ };
464
+ const timeAxis = () => (axisLabels ?? DEFAULT_AXES[variant]).forEach(L => oNotes.push({
465
+ x: P.l + PLOT_W * L.at,
466
+ y: h - 2,
467
+ text: L.label,
468
+ color: colors.textFaint,
469
+ anchor: L.at === 0 ? 'start' : L.at === 1 ? 'end' : 'middle'
470
+ }));
471
+
472
+ /* ---------- SN-03 · time in zones — horizontal zone rows ---------- */
473
+ if (variant === 'time-in-zones') {
474
+ const rows = zones.slice().reverse(); // Z5 top → Z1 bottom
475
+ const rh = plotH / Math.max(1, rows.length);
476
+ const maxM = Math.max(1, ...minutes);
477
+ rows.forEach((z, i) => {
478
+ const m = minutes[zones.length - 1 - i] ?? 0;
479
+ const rowY = P.t + 6 + i * rh;
480
+ const wpx = Math.max(6, (PLOT_W - 92) * (m / maxM));
481
+ oNotes.push({
482
+ x: P.l + 4,
483
+ y: rowY + rh / 2,
484
+ text: z.label,
485
+ color: z.color,
486
+ anchor: 'start'
487
+ });
488
+ marks.push({
489
+ k: 'rect',
490
+ x: P.l + 26,
491
+ y: rowY + rh / 2 - 5.5,
492
+ w: wpx,
493
+ h: 11,
494
+ rx: 5.5,
495
+ fill: z.color,
496
+ opacity: 0.9
497
+ });
498
+ oNotes.push({
499
+ x: P.l + 32 + wpx,
500
+ y: rowY + rh / 2 + 3,
501
+ text: `${m} MIN`,
502
+ color: colors.textDim,
503
+ anchor: 'start'
504
+ });
505
+ });
506
+ }
507
+
508
+ /* ---------- SN-05 · sauna rounds — heat blocks + plunges + two traces ---------- */
509
+ if (variant === 'sauna-rounds') {
510
+ rounds.forEach((rd, i) => {
511
+ const x0 = P.l + PLOT_W * rd.from;
512
+ const wpx = PLOT_W * (rd.to - rd.from);
513
+ marks.push({
514
+ k: 'rect',
515
+ x: x0,
516
+ y: P.t,
517
+ w: wpx,
518
+ h: plotH,
519
+ rx: 6,
520
+ fill: colors.zoneMid,
521
+ opacity: 0.1
522
+ });
523
+ oChips.push({
524
+ x: x0 + wpx / 2,
525
+ y: P.t + 8,
526
+ text: rd.label ?? `ROUND ${i + 1} · 15 MIN`,
527
+ color: colors.zoneMid,
528
+ anchor: 'middle'
529
+ });
530
+ });
531
+ plunges.forEach(pl => oChips.push({
532
+ x: P.l + PLOT_W * pl.at + 8,
533
+ y: h - P.b - 10,
534
+ text: pl.label,
535
+ color: colors.cyan,
536
+ anchor: 'middle'
537
+ }));
538
+ drawTrace(monotonePath(toPts(tempSamples ?? DEFAULT_SAUNA_TEMP)), colors.zoneMid, weight ?? 2.6);
539
+ drawTrace(monotonePath(toPts(hrSamples ?? DEFAULT_SAUNA_HR)), colors.zoneLow, 1.8, '2 4');
540
+ oChips.push({
541
+ x: W - P.r - 4,
542
+ y: 42,
543
+ text: tempLabel,
544
+ color: colors.zoneMid,
545
+ anchor: 'end'
546
+ });
547
+ oChips.push({
548
+ x: W - P.r - 4,
549
+ y: 58,
550
+ text: hrLabel,
551
+ color: colors.zoneLow,
552
+ anchor: 'end'
553
+ });
554
+ timeAxis();
555
+ }
556
+
557
+ /* ---------- SN-06 · sauna heat ramp — temp vs target ---------- */
558
+ if (variant === 'sauna-heat-ramp') {
559
+ marks.push({
560
+ k: 'line',
561
+ x1: P.l,
562
+ y1: Y(target),
563
+ x2: W - P.r,
564
+ y2: Y(target),
565
+ stroke: colors.zoneLow,
566
+ w: 1,
567
+ dash: '5 4',
568
+ opacity: 0.85
569
+ });
570
+ oChips.push({
571
+ x: W - P.r - 4,
572
+ y: Y(target) - 10,
573
+ text: targetLabel,
574
+ color: colors.zoneLow,
575
+ anchor: 'end'
576
+ });
577
+ needHeatGrad = true;
578
+ const temp = tempSamples ?? DEFAULT_HEAT_RAMP;
579
+ const pts = toPts(temp);
580
+ drawTrace(monotonePath(pts), `url(#${heatId})`, weight ?? 3);
581
+ const last = pts[pts.length - 1];
582
+ if (last) {
583
+ oPulses.push({
584
+ x: last[0],
585
+ y: last[1],
586
+ color: colors.zoneLow
587
+ });
588
+ if (stateLabel) oChips.push({
589
+ x: last[0] - 8,
590
+ y: last[1] + 16,
591
+ text: stateLabel,
592
+ color: colors.zoneMid,
593
+ anchor: 'end'
594
+ });
595
+ }
596
+ timeAxis();
597
+ }
598
+
599
+ /* ---------- SN-07 · overnight recovery — HRV up, RHR down ---------- */
600
+ if (variant === 'night-recovery') {
601
+ marks.push({
602
+ k: 'rect',
603
+ x: P.l,
604
+ y: P.t,
605
+ w: PLOT_W,
606
+ h: plotH,
607
+ rx: 6,
608
+ fill: colors.violet,
609
+ opacity: 0.05
610
+ });
611
+ drawTrace(monotonePath(toPts(hrvSamples)), MINT, weight ?? 2.5);
612
+ drawTrace(monotonePath(toPts(rhrSamples)), colors.violet, 2, '5 4');
613
+ const hi = Math.round(0.72 * (hrvSamples.length - 1));
614
+ const ri = Math.round(0.72 * (rhrSamples.length - 1));
615
+ if (hrvSamples[hi] != null) oChips.push({
616
+ x: P.l + PLOT_W * 0.72,
617
+ y: Y(hrvSamples[hi]) - 13,
618
+ text: hrvLabel,
619
+ color: MINT,
620
+ anchor: 'middle'
621
+ });
622
+ if (rhrSamples[ri] != null) oChips.push({
623
+ x: P.l + PLOT_W * 0.72,
624
+ y: Y(rhrSamples[ri]) + 14,
625
+ text: rhrLabel,
626
+ color: colors.violet,
627
+ anchor: 'middle'
628
+ });
629
+ timeAxis();
630
+ }
631
+
632
+ /* ---------- SN-09/10 · glucose meal-response curves ---------- */
633
+ if (variant === 'glucose-response' || variant === 'response-overlay') {
634
+ const [bandLo, bandHi] = baselineBand;
635
+ marks.push({
636
+ k: 'rect',
637
+ x: P.l,
638
+ y: Y(bandHi),
639
+ w: PLOT_W,
640
+ h: Y(bandLo) - Y(bandHi),
641
+ rx: 4,
642
+ fill: MINT,
643
+ opacity: 0.07
644
+ });
645
+ oNotes.push({
646
+ x: W - P.r - 2,
647
+ y: Y(bandHi) + 9,
648
+ text: baselineLabel,
649
+ color: MINT,
650
+ anchor: 'end'
651
+ });
652
+ const gx = (i, n) => P.l + 8 + (n > 1 ? (PLOT_W - 14) * i / (n - 1) : (PLOT_W - 14) / 2);
653
+ const gPath = vals => monotonePath(vals.map((v, i) => [gx(i, vals.length), Y(v)]));
654
+ const mealX = P.l + 8 + (PLOT_W - 14) * mealAt;
655
+ marks.push({
656
+ k: 'line',
657
+ x1: mealX,
658
+ y1: P.t,
659
+ x2: mealX,
660
+ y2: h - P.b,
661
+ stroke: colors.text,
662
+ w: 1,
663
+ opacity: 0.22,
664
+ dash: '2 3'
665
+ });
666
+ oChips.push({
667
+ x: mealX,
668
+ y: P.t + 8,
669
+ text: mealLabel,
670
+ color: colors.lime,
671
+ anchor: 'middle'
672
+ });
673
+ if (variant === 'response-overlay') {
674
+ overlays.forEach(c => marks.push({
675
+ k: 'path',
676
+ d: gPath(c),
677
+ stroke: colors.text,
678
+ w: 1.4,
679
+ opacity: 0.18
680
+ }));
681
+ drawTrace(gPath(glucoseSamples ?? DEFAULT_GLUC_MEAN), colors.cyan, weight ?? 2.5);
682
+ oChips.push({
683
+ x: W - P.r - 4,
684
+ y: P.t + 24,
685
+ text: meanLabel,
686
+ color: colors.cyan,
687
+ anchor: 'end'
688
+ });
689
+ } else {
690
+ const vals = glucoseSamples ?? DEFAULT_GLUC;
691
+ drawTrace(gPath(vals), colors.cyan, weight ?? 2.5);
692
+ const pi = Math.max(0, Math.min(vals.length - 1, peakIndex));
693
+ const pkv = vals[pi];
694
+ if (pkv != null) {
695
+ const px = gx(pi, vals.length);
696
+ const py = Y(pkv);
697
+ oDots.push({
698
+ x: px,
699
+ y: py,
700
+ d: 6.4,
701
+ color: colors.zoneMid
702
+ });
703
+ if (peakLabel) oChips.push({
704
+ x: px + 8,
705
+ y: py - 12,
706
+ text: peakLabel,
707
+ color: colors.zoneMid,
708
+ anchor: 'start'
709
+ });
710
+ }
711
+ if (returnLabel) oChips.push({
712
+ x: W - P.r - 4,
713
+ y: Y(0.44) + 22,
714
+ text: returnLabel,
715
+ color: MINT,
716
+ anchor: 'end'
717
+ });
718
+ }
719
+ timeAxis();
720
+ }
721
+
722
+ /* ---------- SN-01/02/04 · HR session over the zone bands ---------- */
723
+ if (variant === 'hr-zones-session' || variant === 'hr-intervals' || variant === 'hr-recovery') {
724
+ zones.forEach(z => {
725
+ marks.push({
726
+ k: 'rect',
727
+ x: P.l,
728
+ y: Y(z.to),
729
+ w: PLOT_W,
730
+ h: Y(z.from) - Y(z.to),
731
+ rx: 0,
732
+ fill: z.color,
733
+ opacity: 0.06
734
+ });
735
+ marks.push({
736
+ k: 'line',
737
+ x1: P.l,
738
+ y1: Y(z.to),
739
+ x2: W - P.r,
740
+ y2: Y(z.to),
741
+ stroke: z.color,
742
+ w: 1,
743
+ opacity: 0.18
744
+ });
745
+ if (showZoneLabels) oNotes.push({
746
+ x: W - P.r - 2,
747
+ y: Y((z.from + z.to) / 2) + 3,
748
+ text: z.label,
749
+ color: z.color,
750
+ anchor: 'end'
751
+ });
752
+ });
753
+ const ivals = variant === 'hr-intervals' ? Math.max(1, intervals) : 0;
754
+ const hr = hrSamples ?? (variant === 'hr-intervals' ? hrSession(22, 70, ivals) : variant === 'hr-recovery' ? DEFAULT_HR_RECOVERY : DEFAULT_HR_TEMPO);
755
+ if (ivals > 0) {
756
+ for (let b = 0; b < ivals; b++) {
757
+ const s = 0.14 + b / ivals * 0.72;
758
+ const e = s + 0.72 / ivals * 0.55;
759
+ marks.push({
760
+ k: 'rect',
761
+ x: P.l + PLOT_W * s,
762
+ y: P.t,
763
+ w: PLOT_W * (e - s),
764
+ h: plotH,
765
+ rx: 0,
766
+ fill: colors.zoneLow,
767
+ opacity: 0.07
768
+ });
769
+ }
770
+ }
771
+ needZoneGrad = true;
772
+ const pts = toPts(hr);
773
+ drawTrace(monotonePath(pts), `url(#${zoneId})`, weight ?? 2.5);
774
+ if (variant === 'hr-recovery') {
775
+ const pk = Math.max(0, Math.min(pts.length - 1, recovery?.peakIndex ?? 52));
776
+ const dp = Math.max(0, Math.min(pts.length - 1, recovery?.dropIndex ?? 62));
777
+ const pkPt = pts[pk];
778
+ const dpPt = pts[dp];
779
+ if (pkPt && dpPt) {
780
+ oPulses.push({
781
+ x: pkPt[0],
782
+ y: pkPt[1],
783
+ color: colors.zoneLow
784
+ });
785
+ marks.push({
786
+ k: 'line',
787
+ x1: pkPt[0],
788
+ y1: pkPt[1] - 14,
789
+ x2: dpPt[0],
790
+ y2: dpPt[1] - 14,
791
+ stroke: colors.text,
792
+ w: 1,
793
+ opacity: 0.35,
794
+ dash: '2 3'
795
+ });
796
+ oChips.push({
797
+ x: (pkPt[0] + dpPt[0]) / 2,
798
+ y: dpPt[1] - 26,
799
+ text: recovery?.label ?? '−32 BPM · 60S',
800
+ color: MINT,
801
+ anchor: 'middle'
802
+ });
803
+ }
804
+ }
805
+ timeAxis();
806
+ }
807
+
808
+ /* ---------------- render ---------------- */
809
+
810
+ // zone-height stroke: value gradient down the plot (coral top → indigo floor)
811
+ const zoneStops = zones.length === 5 ? [0, 0.3, 0.55, 0.78, 1].map((off, i) => ({
812
+ offset: off,
813
+ color: zones[zones.length - 1 - i].color
814
+ })) : zones.slice().reverse().map((z, i, arr) => ({
815
+ offset: arr.length > 1 ? i / (arr.length - 1) : 0,
816
+ color: z.color
817
+ }));
818
+ const pctX = x => `${r(x / W * 100)}%`;
819
+ const anchorAlign = a => a === 'start' ? 'flex-start' : a === 'middle' ? 'center' : 'flex-end';
820
+ return /*#__PURE__*/_jsx(View, {
821
+ style: [styles.root, style],
822
+ accessibilityRole: "image",
823
+ accessibilityLabel: ariaLabel,
824
+ children: /*#__PURE__*/_jsxs(View, {
825
+ style: {
826
+ position: 'relative',
827
+ height: h
828
+ },
829
+ onLayout: onLayout,
830
+ children: [width > 0 && /*#__PURE__*/_jsxs(Svg, {
831
+ width: width,
832
+ height: h,
833
+ viewBox: `0 0 ${W} ${h}`,
834
+ preserveAspectRatio: "none",
835
+ children: [/*#__PURE__*/_jsxs(Defs, {
836
+ children: [needZoneGrad ? /*#__PURE__*/_jsx(LinearGradient, {
837
+ id: zoneId,
838
+ gradientUnits: "userSpaceOnUse",
839
+ x1: "0",
840
+ y1: P.t,
841
+ x2: "0",
842
+ y2: h - P.b,
843
+ children: zoneStops.map((s, i) => /*#__PURE__*/_jsx(Stop, {
844
+ offset: s.offset,
845
+ stopColor: s.color
846
+ }, i))
847
+ }) : null, needHeatGrad ? /*#__PURE__*/_jsxs(LinearGradient, {
848
+ id: heatId,
849
+ gradientUnits: "userSpaceOnUse",
850
+ x1: "0",
851
+ y1: h - P.b,
852
+ x2: "0",
853
+ y2: P.t,
854
+ children: [/*#__PURE__*/_jsx(Stop, {
855
+ offset: "0",
856
+ stopColor: colors.cyan
857
+ }), /*#__PURE__*/_jsx(Stop, {
858
+ offset: "0.55",
859
+ stopColor: colors.zoneMid
860
+ }), /*#__PURE__*/_jsx(Stop, {
861
+ offset: "1",
862
+ stopColor: colors.zoneLow
863
+ })]
864
+ }) : null, shine ?
865
+ /*#__PURE__*/
866
+ /* real Gaussian blur for the trace shine (Fabric-native in
867
+ react-native-svg 15) — the native twin of the web `blur(5px)`.
868
+ Region in user space over the full canvas so flat traces
869
+ never clip the blur to their bounding box. */
870
+ _jsx(Filter, {
871
+ id: blurId,
872
+ filterUnits: "userSpaceOnUse",
873
+ x: -10,
874
+ y: -10,
875
+ width: W + 20,
876
+ height: h + 20,
877
+ children: /*#__PURE__*/_jsx(FeGaussianBlur, {
878
+ stdDeviation: 2.5
879
+ })
880
+ }) : null]
881
+ }), marks.map((mk, i) => mk.k === 'rect' ? /*#__PURE__*/_jsx(Rect, {
882
+ x: r(mk.x),
883
+ y: r(mk.y),
884
+ width: r(Math.max(0, mk.w)),
885
+ height: r(Math.max(0, mk.h)),
886
+ rx: mk.rx,
887
+ fill: mk.fill,
888
+ opacity: mk.opacity
889
+ }, i) : mk.k === 'line' ? /*#__PURE__*/_jsx(Line, {
890
+ x1: r(mk.x1),
891
+ y1: r(mk.y1),
892
+ x2: r(mk.x2),
893
+ y2: r(mk.y2),
894
+ stroke: mk.stroke,
895
+ strokeWidth: mk.w,
896
+ strokeOpacity: mk.opacity,
897
+ strokeDasharray: mk.dash,
898
+ strokeLinecap: mk.cap ? 'round' : undefined
899
+ }, i) : /*#__PURE__*/_jsx(Path, {
900
+ d: mk.d,
901
+ fill: "none",
902
+ stroke: mk.stroke,
903
+ strokeWidth: mk.w,
904
+ strokeOpacity: mk.opacity,
905
+ strokeDasharray: mk.dash,
906
+ strokeLinecap: mk.cap ? 'round' : undefined,
907
+ filter: mk.filter
908
+ }, i))]
909
+ }), oDots.map((d, i) => /*#__PURE__*/_jsx(View, {
910
+ style: [styles.anchor, {
911
+ left: pctX(d.x),
912
+ top: d.y
913
+ }],
914
+ pointerEvents: "none",
915
+ children: /*#__PURE__*/_jsx(View, {
916
+ style: {
917
+ position: 'absolute',
918
+ width: d.d,
919
+ height: d.d,
920
+ borderRadius: d.d / 2,
921
+ backgroundColor: d.color
922
+ }
923
+ })
924
+ }, `d-${i}`)), oPulses.map((p, i) => /*#__PURE__*/_jsxs(View, {
925
+ style: [styles.anchor, {
926
+ left: pctX(p.x),
927
+ top: p.y
928
+ }],
929
+ pointerEvents: "none",
930
+ children: [/*#__PURE__*/_jsx(View, {
931
+ style: {
932
+ position: 'absolute',
933
+ width: 7.2,
934
+ height: 7.2,
935
+ borderRadius: 3.6,
936
+ backgroundColor: p.color,
937
+ shadowColor: p.color,
938
+ shadowOpacity: 0.8,
939
+ shadowRadius: 5,
940
+ shadowOffset: {
941
+ width: 0,
942
+ height: 0
943
+ },
944
+ elevation: 3
945
+ }
946
+ }), /*#__PURE__*/_jsx(PulseRing, {
947
+ color: p.color
948
+ })]
949
+ }, `p-${i}`)), oNotes.map((nte, i) => /*#__PURE__*/_jsx(View, {
950
+ style: [styles.anchor, {
951
+ left: pctX(nte.x),
952
+ top: nte.y - (nte.stat ? 12 : 9),
953
+ alignItems: anchorAlign(nte.anchor)
954
+ }],
955
+ pointerEvents: "none",
956
+ children: /*#__PURE__*/_jsx(Text, {
957
+ style: [nte.stat ? styles.stat : styles.note, {
958
+ color: nte.color
959
+ }],
960
+ numberOfLines: 1,
961
+ children: nte.text
962
+ })
963
+ }, `n-${i}`)), oChips.map((c, i) => /*#__PURE__*/_jsx(View, {
964
+ style: [styles.anchor, {
965
+ left: pctX(c.x),
966
+ top: c.y,
967
+ alignItems: anchorAlign(c.anchor)
968
+ }],
969
+ pointerEvents: "none",
970
+ children: /*#__PURE__*/_jsx(View, {
971
+ style: [styles.chip, {
972
+ borderColor: `${c.color}59`
973
+ }],
974
+ children: /*#__PURE__*/_jsx(Text, {
975
+ style: [styles.chipText, {
976
+ color: c.color
977
+ }],
978
+ numberOfLines: 1,
979
+ children: c.text
980
+ })
981
+ })
982
+ }, `c-${i}`))]
983
+ })
984
+ });
985
+ }
986
+ const styles = StyleSheet.create({
987
+ root: {
988
+ width: '100%'
989
+ },
990
+ // zero-size anchor centered on its point: absolutely-positioned children with
991
+ // no offsets are placed by alignItems/justifyContent (Yoga static position),
992
+ // so dots/text/chips stay round & legible under the SVG stretch.
993
+ anchor: {
994
+ position: 'absolute',
995
+ width: 0,
996
+ height: 0,
997
+ alignItems: 'center',
998
+ justifyContent: 'center'
999
+ },
1000
+ // pulse ring riding the peak / trace-head dot (mirrors the web SMIL pulse)
1001
+ pulse: {
1002
+ position: 'absolute',
1003
+ width: 9,
1004
+ height: 9,
1005
+ borderRadius: 4.5,
1006
+ borderWidth: 1.4
1007
+ },
1008
+ // tiny mono annotations (title, zone labels, axis captions, MIN labels)
1009
+ note: {
1010
+ position: 'absolute',
1011
+ fontFamily: fonts.mono,
1012
+ fontSize: 8.5,
1013
+ lineHeight: 9,
1014
+ letterSpacing: 0.5
1015
+ },
1016
+ // top-right bold stat (the catalog's Space Grotesk 12px header stat)
1017
+ stat: {
1018
+ position: 'absolute',
1019
+ fontFamily: fonts.display,
1020
+ fontWeight: '700',
1021
+ fontSize: 12,
1022
+ lineHeight: 12
1023
+ },
1024
+ // chip-pill labels (dark chip + tinted hairline border — the catalog's tag())
1025
+ chip: {
1026
+ position: 'absolute',
1027
+ paddingHorizontal: 6,
1028
+ paddingVertical: 2,
1029
+ borderRadius: 999,
1030
+ borderWidth: 1,
1031
+ backgroundColor: `${colors.bg0}C7`
1032
+ },
1033
+ chipText: {
1034
+ fontFamily: fonts.mono,
1035
+ fontSize: 8,
1036
+ lineHeight: 9,
1037
+ letterSpacing: 0.4
1038
+ }
1039
+ });
1040
+ //# sourceMappingURL=SessionChart.js.map