@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,1048 @@
1
+ "use strict";
2
+
3
+ import { useId } from 'react';
4
+ import { View } from 'react-native';
5
+ import Svg, { Circle, ClipPath, FeGaussianBlur, Filter, Defs, G, Line, LinearGradient, Path, Rect, Stop, Text as SvgText } from 'react-native-svg';
6
+ import { colors, fonts } from '@lockin90/tokens';
7
+
8
+ /* MetaphorWidget — the catalog metaphor-widget family (MT-01…MT-12,
9
+ lockin90-design/charts/metaphor-charts.html): objects that tell the story —
10
+ thermometers, hourglasses, gardens, mountains, bottles, plates and breath
11
+ orbs, all drawn in the fixed 320×150 catalog viewBox. Native twin of
12
+ `@lockin90/ui` MetaphorWidget — same prop API + geometry; SMIL loops (YOU
13
+ pulse, breath orb) render static mid-states here and every `shine` glow is
14
+ a real Gaussian-blurred duplicate shape (Fabric-native SVG filters in
15
+ react-native-svg 15). */
16
+
17
+ /** Catalog variant names (`lockin90-design/charts/metaphor-charts.html`). */
18
+
19
+ /* MT-12 — breaths/min curve into the shaded calm zone */
20
+
21
+ /** One plant in the `habit-garden` (MT-05). */
22
+
23
+ /** One plate on the `meal-plates` day strip (MT-10). */
24
+
25
+ /** One flag on the `mountain-route` profile (MT-07). */
26
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
27
+ /* --------------------------------------------------------------- geometry
28
+ * The catalog canvas: 320×150, pad l10 r12 t16 b14 (catalog.js). */
29
+ const W = 320;
30
+ const H = 150;
31
+ const P = {
32
+ l: 10,
33
+ r: 12,
34
+ t: 16,
35
+ b: 14
36
+ };
37
+ const plotW = W - P.l - P.r;
38
+ const plotH = H - P.t - P.b;
39
+
40
+ /** y for a 0–1 value in the plot box (catalog `Y`) */
41
+ function Yv(v) {
42
+ return P.t + (1 - v) * plotH;
43
+ }
44
+
45
+ /** open arc — 0° at 12 o'clock, clockwise (catalog `arcPath`) */
46
+ function arcPath(cx, cy, r, a0, a1) {
47
+ const pol = aDeg => {
48
+ const a = (aDeg - 90) * Math.PI / 180;
49
+ return {
50
+ x: cx + r * Math.cos(a),
51
+ y: cy + r * Math.sin(a)
52
+ };
53
+ };
54
+ const p0 = pol(a0);
55
+ const p1 = pol(a1);
56
+ const lg = (a1 - a0) % 360 > 180 ? 1 : 0;
57
+ return `M${p0.x.toFixed(1)} ${p0.y.toFixed(1)}A${r} ${r} 0 ${lg} 1 ${p1.x.toFixed(1)} ${p1.y.toFixed(1)}`;
58
+ }
59
+
60
+ /** Fritsch–Carlson monotone cubic — the catalog's `smoothPath` (no overshoot). */
61
+ function smoothPath(p) {
62
+ const n = p.length;
63
+ if (n < 3) return p.map((q, i) => `${i ? 'L' : 'M'}${q.x.toFixed(1)} ${q.y.toFixed(1)}`).join('');
64
+ const dx = [];
65
+ const m = [];
66
+ const tg = [];
67
+ for (let i = 0; i < n - 1; i++) {
68
+ dx[i] = p[i + 1].x - p[i].x;
69
+ m[i] = (p[i + 1].y - p[i].y) / dx[i];
70
+ }
71
+ tg[0] = m[0];
72
+ tg[n - 1] = m[n - 2];
73
+ for (let i = 1; i < n - 1; i++) tg[i] = m[i - 1] * m[i] <= 0 ? 0 : (m[i - 1] + m[i]) / 2;
74
+ for (let i = 0; i < n - 1; i++) {
75
+ if (m[i] === 0) {
76
+ tg[i] = 0;
77
+ tg[i + 1] = 0;
78
+ } else {
79
+ const a = tg[i] / m[i];
80
+ const b = tg[i + 1] / m[i];
81
+ const s = a * a + b * b;
82
+ if (s > 9) {
83
+ const tau = 3 / Math.sqrt(s);
84
+ tg[i] = tau * a * m[i];
85
+ tg[i + 1] = tau * b * m[i];
86
+ }
87
+ }
88
+ }
89
+ let d = `M${p[0].x.toFixed(1)} ${p[0].y.toFixed(1)}`;
90
+ for (let i = 0; i < n - 1; i++) {
91
+ const h = dx[i] / 3;
92
+ d += `C${(p[i].x + h).toFixed(1)} ${(p[i].y + h * tg[i]).toFixed(1)} ${(p[i + 1].x - h).toFixed(1)} ${(p[i + 1].y - h * tg[i + 1]).toFixed(1)} ${p[i + 1].x.toFixed(1)} ${p[i + 1].y.toFixed(1)}`;
93
+ }
94
+ return d;
95
+ }
96
+
97
+ /** piecewise-linear y (0–1) along the route at x (0–1) */
98
+ function routeY(route, x) {
99
+ if (route.length === 0) return 0;
100
+ if (x <= route[0][0]) return route[0][1];
101
+ for (let i = 1; i < route.length; i++) {
102
+ if (x <= route[i][0]) {
103
+ const [x0, y0] = route[i - 1];
104
+ const [x1, y1] = route[i];
105
+ const t = x1 === x0 ? 0 : (x - x0) / (x1 - x0);
106
+ return y0 + t * (y1 - y0);
107
+ }
108
+ }
109
+ return route[route.length - 1][1];
110
+ }
111
+
112
+ /** hex color + 0–1 alpha → #RRGGBBAA (native's rgba() substitute) */
113
+ function alpha(hex, a) {
114
+ return `${hex}${Math.round(Math.max(0, Math.min(1, a)) * 255).toString(16).padStart(2, '0')}`;
115
+ }
116
+
117
+ /* ----------------------------------------------------- catalog defaults */
118
+
119
+ const DEFAULT_HABITS = [{
120
+ name: 'MEDITATE',
121
+ weeks: 4,
122
+ color: colors.mint
123
+ }, {
124
+ name: 'LIFT',
125
+ weeks: 3,
126
+ color: colors.cyan
127
+ }, {
128
+ name: 'SUNLIGHT',
129
+ weeks: 5,
130
+ color: colors.lime
131
+ }, {
132
+ name: 'NO-CAFF',
133
+ weeks: 1,
134
+ color: colors.zoneMid
135
+ }, {
136
+ name: 'JOURNAL',
137
+ weeks: 2,
138
+ color: colors.violet
139
+ }, {
140
+ name: 'WALK',
141
+ weeks: 0,
142
+ color: colors.zoneLow
143
+ }];
144
+ const DEFAULT_STAGES = ['SPROUT', 'WK 1', 'WK 2', 'WK 4', 'WK 8+'];
145
+ const DEFAULT_ROUTE = [[0, 0.1], [0.14, 0.22], [0.3, 0.34], [0.42, 0.3], [0.58, 0.55], [0.72, 0.68], [0.86, 0.8], [1, 0.95]];
146
+ const DEFAULT_CAMPS = [{
147
+ at: 0.3,
148
+ label: 'CAMP 1 · D30'
149
+ }, {
150
+ at: 0.58,
151
+ label: 'CAMP 2 · D60'
152
+ }, {
153
+ at: 1,
154
+ label: 'SUMMIT · D90',
155
+ summit: true
156
+ }];
157
+ const DEFAULT_MEALS = [{
158
+ time: '7:40',
159
+ at: 0.1,
160
+ macros: [0.4, 0.35, 0.25],
161
+ kcal: '420'
162
+ }, {
163
+ time: '12:30',
164
+ at: 0.42,
165
+ macros: [0.45, 0.3, 0.25],
166
+ kcal: '680'
167
+ }, {
168
+ time: '16:00',
169
+ at: 0.62,
170
+ macros: [0.3, 0.5, 0.2],
171
+ kcal: '210'
172
+ }, {
173
+ time: '19:30',
174
+ at: 0.86,
175
+ macros: [0.42, 0.3, 0.28],
176
+ kcal: '740'
177
+ }];
178
+
179
+ /** the catalog's MT-12 session curve — breaths/min slowing 14 → 7 */
180
+ const DEFAULT_BPM = [14, 13.5, 12.5, 11.5, 10.5, 9.5, 8.5, 8, 7.5, 7.2, 7, 7];
181
+ const DEFAULT_TITLES = {
182
+ thermometer: 'STRAIN METER',
183
+ 'fasting-hourglass': 'FASTING',
184
+ 'habit-garden': 'YOUR GARDEN · 6 HABITS',
185
+ 'plant-stages': 'HOW PLANTS GROW',
186
+ 'mountain-route': '90-DAY ASCENT',
187
+ 'hydration-bottle': 'WATER · TODAY',
188
+ 'meal-plates': 'MEALS · TODAY',
189
+ 'breath-pacer': 'BREATHE · 4-7-8',
190
+ 'breath-session': 'SESSION · 10 MIN'
191
+ };
192
+
193
+ /* macro colors — [protein, carbs, fat], catalog `cols` + legend order */
194
+ const MACRO_COLORS = [colors.mint, colors.cyan, colors.violet];
195
+ const MACRO_LEGEND = [['FAT', colors.violet], ['CARB', colors.cyan], ['PRO', colors.mint]];
196
+ function Label({
197
+ x,
198
+ y,
199
+ text,
200
+ color = colors.textFaint,
201
+ anchor = 'middle'
202
+ }) {
203
+ return /*#__PURE__*/_jsx(SvgText, {
204
+ x: x,
205
+ y: y,
206
+ fill: color,
207
+ fontSize: 8.5,
208
+ textAnchor: anchor,
209
+ fontFamily: fonts.mono,
210
+ letterSpacing: 0.5,
211
+ children: text
212
+ });
213
+ }
214
+
215
+ /** chip-pill label (dark rect + tinted hairline) — `y` = pill center */
216
+ function Tag({
217
+ x,
218
+ y,
219
+ text,
220
+ color,
221
+ anchor = 'middle'
222
+ }) {
223
+ const w = text.length * 5.35 + 12;
224
+ let xa = anchor === 'end' ? x - w : anchor === 'start' ? x : x - w / 2;
225
+ xa = Math.max(P.l - 4, Math.min(xa, W - P.r - w + 4));
226
+ return /*#__PURE__*/_jsxs(G, {
227
+ children: [/*#__PURE__*/_jsx(Rect, {
228
+ x: xa.toFixed(1),
229
+ y: (y - 6.5).toFixed(1),
230
+ width: w.toFixed(1),
231
+ height: 13,
232
+ rx: 6.5,
233
+ fill: "rgba(8,10,18,0.78)",
234
+ stroke: color,
235
+ strokeOpacity: 0.35,
236
+ strokeWidth: 0.8
237
+ }), /*#__PURE__*/_jsx(SvgText, {
238
+ x: (xa + w / 2).toFixed(1),
239
+ y: (y + 2.8).toFixed(1),
240
+ fill: color,
241
+ fontSize: 8,
242
+ textAnchor: "middle",
243
+ fontFamily: fonts.mono,
244
+ letterSpacing: 0.4,
245
+ children: text
246
+ })]
247
+ });
248
+ }
249
+
250
+ /** big display readout next to a vessel (thermo 26px / hourglass + bottle 24px) */
251
+ function Reading({
252
+ x,
253
+ y,
254
+ text,
255
+ size,
256
+ color
257
+ }) {
258
+ return /*#__PURE__*/_jsx(SvgText, {
259
+ x: x,
260
+ y: y,
261
+ fill: color,
262
+ fontSize: size,
263
+ fontWeight: "700",
264
+ fontFamily: fonts.display,
265
+ children: text
266
+ });
267
+ }
268
+
269
+ /** one garden plant — stage 0 (sprout dot) … 4 (bloom), catalog `plant()`.
270
+ * The web bloom `drop-shadow` is a wider faint duplicate circle here. */
271
+ function Plant({
272
+ x,
273
+ baseY,
274
+ stage,
275
+ color
276
+ }) {
277
+ const mound = /*#__PURE__*/_jsx(Path, {
278
+ d: `M${x - 9} ${baseY}q9 8 18 0z`,
279
+ fill: "rgba(255,255,255,0.12)"
280
+ });
281
+ if (stage === 0) {
282
+ return /*#__PURE__*/_jsxs(G, {
283
+ children: [mound, /*#__PURE__*/_jsx(Circle, {
284
+ cx: x,
285
+ cy: baseY - 3,
286
+ r: 2,
287
+ fill: color,
288
+ opacity: 0.7
289
+ })]
290
+ });
291
+ }
292
+ const hgt = 8 + stage * 8;
293
+ const leaves = [];
294
+ for (let li = 1; li <= Math.min(3, stage); li++) {
295
+ const ly = baseY - hgt * li / (stage + 1);
296
+ const dir = li % 2 ? -1 : 1;
297
+ leaves.push(/*#__PURE__*/_jsx(Path, {
298
+ d: `M${x} ${ly.toFixed(1)}q${7 * dir} -2 ${9 * dir} -7q${-7 * dir} 0 ${-9 * dir} 7z`,
299
+ fill: color,
300
+ opacity: 0.85
301
+ }, li));
302
+ }
303
+ return /*#__PURE__*/_jsxs(G, {
304
+ children: [mound, /*#__PURE__*/_jsx(Path, {
305
+ d: `M${x} ${baseY}q2 ${-hgt / 2} 0 ${-hgt}`,
306
+ fill: "none",
307
+ stroke: color,
308
+ strokeWidth: 2,
309
+ strokeLinecap: "round"
310
+ }), leaves, stage >= 4 ? /*#__PURE__*/_jsxs(_Fragment, {
311
+ children: [/*#__PURE__*/_jsx(Circle, {
312
+ cx: x,
313
+ cy: baseY - hgt - 3,
314
+ r: 5,
315
+ fill: colors.lime,
316
+ opacity: 0.35
317
+ }), /*#__PURE__*/_jsx(Circle, {
318
+ cx: x,
319
+ cy: baseY - hgt - 3,
320
+ r: 3.2,
321
+ fill: colors.lime
322
+ })]
323
+ }) : null]
324
+ });
325
+ }
326
+
327
+ /** pulse marker — static dot + faint halo ring (no SMIL/JS animation on
328
+ * native; the web expanding ring is a documented substrate diff) */
329
+ function PulseDot({
330
+ x,
331
+ y,
332
+ color
333
+ }) {
334
+ return /*#__PURE__*/_jsxs(G, {
335
+ children: [/*#__PURE__*/_jsx(Circle, {
336
+ cx: x,
337
+ cy: y,
338
+ r: 7,
339
+ fill: "none",
340
+ stroke: color,
341
+ strokeWidth: 1.4,
342
+ strokeOpacity: 0.4
343
+ }), /*#__PURE__*/_jsx(Circle, {
344
+ cx: x,
345
+ cy: y,
346
+ r: 3.6,
347
+ fill: color
348
+ })]
349
+ });
350
+ }
351
+
352
+ /**
353
+ * MetaphorWidget — the kit's object-metaphor widget (catalog family
354
+ * `metaphor-charts`, MT-01…MT-12): a value drawn as the thing it measures —
355
+ * thermometer, hourglass, garden, mountain, bottle, plates, breath orb.
356
+ * Same prop API + geometry as the web twin; the breath-pacer orb renders
357
+ * static mid-size (no SMIL loop) and the YOU pulse is a static dot + halo.
358
+ * Values are 0–1; geometry is the catalog's 320×150 canvas; tokens only.
359
+ */
360
+ export function MetaphorWidget({
361
+ variant = 'thermometer',
362
+ level,
363
+ remaining = 0.35,
364
+ reading,
365
+ sub,
366
+ pill,
367
+ pillColor,
368
+ target = null,
369
+ targetLabel = 'TARGET',
370
+ glasses = 8,
371
+ habits = DEFAULT_HABITS,
372
+ stages = DEFAULT_STAGES,
373
+ route = DEFAULT_ROUTE,
374
+ camps = DEFAULT_CAMPS,
375
+ progress = 0.62,
376
+ progressLabel = 'YOU · DAY 56',
377
+ meals = DEFAULT_MEALS,
378
+ legend = true,
379
+ pattern = [4, 7, 8],
380
+ centerLabel = 'BREATHE',
381
+ bpm = DEFAULT_BPM,
382
+ calmThreshold = 8,
383
+ markerAt = 7,
384
+ markerLabel = 'CALM REACHED · 6:40',
385
+ axisLabels = ['0:00', '5:00', '10:00'],
386
+ caption,
387
+ title,
388
+ shine = false,
389
+ width = W,
390
+ height = H,
391
+ style
392
+ }) {
393
+ const uid = useId().replace(/[^a-zA-Z0-9]/g, '');
394
+ const blurId = `lk-metaphor-blur-${uid}`;
395
+ let heading = title ?? DEFAULT_TITLES[variant];
396
+ let accessibilityLabel;
397
+ let content;
398
+ if (variant === 'thermometer') {
399
+ /* ------------------------------------------------- MT-01 thermometer */
400
+ const lvl = Math.max(0, Math.min(1, level ?? 0.62));
401
+ const col = lvl >= 0.72 ? colors.zoneLow : lvl >= 0.4 ? colors.zoneMid : colors.cyan;
402
+ const x = 86;
403
+ const yTop = P.t + 12;
404
+ const hgt = 84;
405
+ const tubeW = 12;
406
+ const bulbY = yTop + hgt + 10;
407
+ const lh = lvl * (hgt - 6);
408
+ const read = reading ?? '14.2';
409
+ const pillText = pill ?? 'APPROACHING LIMIT';
410
+ accessibilityLabel = `${heading}: ${read}, level ${Math.round(lvl * 100)}%`;
411
+ content = /*#__PURE__*/_jsxs(_Fragment, {
412
+ children: [/*#__PURE__*/_jsx(Rect, {
413
+ x: x - tubeW / 2,
414
+ y: yTop,
415
+ width: tubeW,
416
+ height: hgt + 8,
417
+ rx: tubeW / 2,
418
+ fill: "rgba(255,255,255,0.05)",
419
+ stroke: "rgba(255,255,255,0.25)",
420
+ strokeWidth: 1.4
421
+ }), /*#__PURE__*/_jsx(Circle, {
422
+ cx: x,
423
+ cy: bulbY,
424
+ r: 11,
425
+ fill: "rgba(255,255,255,0.05)",
426
+ stroke: "rgba(255,255,255,0.25)",
427
+ strokeWidth: 1.4
428
+ }), shine ? /*#__PURE__*/_jsx(Circle, {
429
+ cx: x,
430
+ cy: bulbY,
431
+ r: 9,
432
+ fill: col,
433
+ opacity: 0.6,
434
+ filter: `url(#${blurId})`
435
+ }) : null, /*#__PURE__*/_jsx(Circle, {
436
+ cx: x,
437
+ cy: bulbY,
438
+ r: 8,
439
+ fill: col,
440
+ opacity: 0.95
441
+ }), /*#__PURE__*/_jsx(Rect, {
442
+ x: x - 3.5,
443
+ y: (yTop + hgt - lh).toFixed(1),
444
+ width: 7,
445
+ height: (lh + 14).toFixed(1),
446
+ rx: 3.5,
447
+ fill: col,
448
+ opacity: 0.95
449
+ }), Array.from({
450
+ length: 5
451
+ }, (_, t) => {
452
+ const ty = yTop + 4 + (hgt - 8) * t / 4;
453
+ return /*#__PURE__*/_jsx(Line, {
454
+ x1: x + tubeW / 2 + 3,
455
+ x2: x + tubeW / 2 + 8,
456
+ y1: ty,
457
+ y2: ty,
458
+ stroke: "rgba(255,255,255,0.25)",
459
+ strokeWidth: 1
460
+ }, t);
461
+ }), target != null ? /*#__PURE__*/_jsxs(G, {
462
+ children: [/*#__PURE__*/_jsx(Line, {
463
+ x1: 100,
464
+ x2: 112,
465
+ y1: P.t + 16 + (hgt - 8) * (1 - target),
466
+ y2: P.t + 16 + (hgt - 8) * (1 - target),
467
+ stroke: colors.zoneLow,
468
+ strokeWidth: 1.4
469
+ }), /*#__PURE__*/_jsx(Label, {
470
+ x: 116,
471
+ y: P.t + 16 + (hgt - 8) * (1 - target) + 3,
472
+ text: targetLabel,
473
+ color: colors.zoneLow,
474
+ anchor: "start"
475
+ })]
476
+ }) : null, /*#__PURE__*/_jsx(Reading, {
477
+ x: 170,
478
+ y: 78,
479
+ text: read,
480
+ size: 26,
481
+ color: col
482
+ }), /*#__PURE__*/_jsx(Label, {
483
+ x: 170,
484
+ y: 94,
485
+ text: sub ?? 'STRAIN · DAY LOAD',
486
+ color: colors.textDim,
487
+ anchor: "start"
488
+ }), pillText ? /*#__PURE__*/_jsx(Tag, {
489
+ x: 210,
490
+ y: 112,
491
+ text: pillText,
492
+ color: pillColor ?? colors.zoneMid
493
+ }) : null]
494
+ });
495
+ } else if (variant === 'fasting-hourglass') {
496
+ /* ------------------------------------------- MT-03 fasting-hourglass */
497
+ const frac = Math.max(0, Math.min(1, remaining));
498
+ const cx = 88;
499
+ const top = P.t + 14;
500
+ const hgt = 92;
501
+ const w2 = 46;
502
+ const topH = (hgt / 2 - 6) * frac;
503
+ const read = reading ?? '4H 20M';
504
+ const pillText = pill ?? 'EATING OPENS 12:30';
505
+ accessibilityLabel = `${heading}: ${read} remaining`;
506
+ content = /*#__PURE__*/_jsxs(_Fragment, {
507
+ children: [/*#__PURE__*/_jsx(Path, {
508
+ d: `M${cx - w2 / 2} ${top}h${w2}l${-w2 / 2 + 3} ${hgt / 2 - 4}v8l${w2 / 2 - 3} ${hgt / 2 - 4}h${-w2}l${w2 / 2 - 3} ${-hgt / 2 + 4}v-8z`,
509
+ fill: "rgba(255,255,255,0.04)",
510
+ stroke: "rgba(255,255,255,0.25)",
511
+ strokeWidth: 1.4
512
+ }), /*#__PURE__*/_jsx(Path, {
513
+ d: `M${cx - (w2 / 2 - 3) * frac} ${top + hgt / 2 - 4 - topH}L${cx + (w2 / 2 - 3) * frac} ${top + hgt / 2 - 4 - topH}L${cx} ${top + hgt / 2 - 2}Z`,
514
+ fill: colors.zoneMid,
515
+ opacity: 0.85
516
+ }), /*#__PURE__*/_jsx(Path, {
517
+ d: `M${cx} ${top + hgt / 2 + 4}L${cx - (w2 / 2 - 4) * (1 - frac)} ${top + hgt - 3}H${cx + (w2 / 2 - 4) * (1 - frac)}Z`,
518
+ fill: colors.zoneMid,
519
+ opacity: 0.55
520
+ }), frac > 0.03 ? /*#__PURE__*/_jsx(Line, {
521
+ x1: cx,
522
+ x2: cx,
523
+ y1: top + hgt / 2 - 2,
524
+ y2: top + hgt - 4,
525
+ stroke: colors.zoneMid,
526
+ strokeWidth: 1.2,
527
+ strokeDasharray: "2 3",
528
+ opacity: 0.7
529
+ }) : null, /*#__PURE__*/_jsx(Reading, {
530
+ x: 170,
531
+ y: 74,
532
+ text: read,
533
+ size: 24,
534
+ color: colors.text
535
+ }), /*#__PURE__*/_jsx(Label, {
536
+ x: 170,
537
+ y: 90,
538
+ text: sub ?? 'FAST · 16:8 WINDOW',
539
+ color: colors.textDim,
540
+ anchor: "start"
541
+ }), pillText ? /*#__PURE__*/_jsx(Tag, {
542
+ x: 212,
543
+ y: 108,
544
+ text: pillText,
545
+ color: pillColor ?? colors.zoneMid
546
+ }) : null]
547
+ });
548
+ } else if (variant === 'habit-garden') {
549
+ /* ------------------------------------------------ MT-05 habit-garden */
550
+ const baseY = H - P.b - 22;
551
+ const note = caption ?? 'EACH PLANT GROWS WITH ITS STREAK · WILTS WHEN SKIPPED';
552
+ accessibilityLabel = `${heading}: ${habits.length} habit plants`;
553
+ content = /*#__PURE__*/_jsxs(_Fragment, {
554
+ children: [habits.map((hb, i) => {
555
+ const x = P.l + 30 + i * (plotW - 50) / Math.max(1, habits.length - 1);
556
+ const col = hb.color ?? colors.mint;
557
+ return /*#__PURE__*/_jsxs(G, {
558
+ children: [/*#__PURE__*/_jsx(Plant, {
559
+ x: x,
560
+ baseY: baseY,
561
+ stage: Math.min(4, hb.weeks),
562
+ color: col
563
+ }), /*#__PURE__*/_jsx(Label, {
564
+ x: x,
565
+ y: baseY + 12,
566
+ text: hb.name,
567
+ color: col
568
+ }), /*#__PURE__*/_jsx(Label, {
569
+ x: x,
570
+ y: baseY + 22,
571
+ text: `${hb.weeks * 7}D`
572
+ })]
573
+ }, i);
574
+ }), note ? /*#__PURE__*/_jsx(Label, {
575
+ x: W / 2,
576
+ y: P.t + 8,
577
+ text: note
578
+ }) : null]
579
+ });
580
+ } else if (variant === 'plant-stages') {
581
+ /* ------------------------------------------------ MT-06 plant-stages */
582
+ const baseY = H - P.b - 24;
583
+ const pillText = pill ?? 'YOUR MEDITATE PLANT · WEEK 4';
584
+ accessibilityLabel = `${heading}: ${stages.length} growth stages`;
585
+ content = /*#__PURE__*/_jsxs(_Fragment, {
586
+ children: [stages.map((lb, i) => {
587
+ const x = P.l + 34 + i * (plotW - 60) / Math.max(1, stages.length - 1);
588
+ const last = i === stages.length - 1;
589
+ const col = last ? colors.mint : alpha(colors.mint, 0.4 + i * 0.15);
590
+ return /*#__PURE__*/_jsxs(G, {
591
+ children: [/*#__PURE__*/_jsx(Plant, {
592
+ x: x,
593
+ baseY: baseY,
594
+ stage: Math.min(4, i),
595
+ color: col
596
+ }), /*#__PURE__*/_jsx(Label, {
597
+ x: x,
598
+ y: H - P.b - 10,
599
+ text: lb,
600
+ color: last ? colors.mint : colors.textFaint
601
+ })]
602
+ }, i);
603
+ }), pillText ? /*#__PURE__*/_jsx(Tag, {
604
+ x: W / 2,
605
+ y: P.t + 12,
606
+ text: pillText,
607
+ color: pillColor ?? colors.mint
608
+ }) : null]
609
+ });
610
+ } else if (variant === 'mountain-route') {
611
+ /* ---------------------------------------------- MT-07 mountain-route */
612
+ const pts = route.map(([px, py]) => ({
613
+ x: P.l + 6 + (plotW - 12) * px,
614
+ y: Yv(py)
615
+ }));
616
+ const d = pts.map((q, i) => `${i ? 'L' : 'M'}${q.x.toFixed(1)} ${q.y.toFixed(1)}`).join('');
617
+ const gradId = `lk-metaphor-m-${uid}`;
618
+ const cq = {
619
+ x: P.l + 6 + (plotW - 12) * progress,
620
+ y: Yv(routeY(route, progress))
621
+ };
622
+ accessibilityLabel = `${heading}: ${camps.length} camps, you at ${Math.round(progress * 100)}%`;
623
+ content = /*#__PURE__*/_jsxs(_Fragment, {
624
+ children: [/*#__PURE__*/_jsx(Defs, {
625
+ children: /*#__PURE__*/_jsxs(LinearGradient, {
626
+ id: gradId,
627
+ x1: "0",
628
+ y1: "0",
629
+ x2: "0",
630
+ y2: "1",
631
+ children: [/*#__PURE__*/_jsx(Stop, {
632
+ offset: "0%",
633
+ stopColor: colors.indigo,
634
+ stopOpacity: 0.35
635
+ }), /*#__PURE__*/_jsx(Stop, {
636
+ offset: "100%",
637
+ stopColor: colors.indigo,
638
+ stopOpacity: 0.02
639
+ })]
640
+ })
641
+ }), /*#__PURE__*/_jsx(Path, {
642
+ d: `${d}L${W - P.r} ${H - P.b}L${P.l} ${H - P.b}Z`,
643
+ fill: `url(#${gradId})`
644
+ }), shine ? /*#__PURE__*/_jsx(Path, {
645
+ d: d,
646
+ fill: "none",
647
+ stroke: colors.indigo,
648
+ strokeWidth: 7,
649
+ strokeLinecap: "round",
650
+ opacity: 0.45,
651
+ filter: `url(#${blurId})`
652
+ }) : null, /*#__PURE__*/_jsx(Path, {
653
+ d: d,
654
+ fill: "none",
655
+ stroke: colors.indigo,
656
+ strokeWidth: 2.2,
657
+ strokeLinecap: "round"
658
+ }), camps.map((cp, i) => {
659
+ const q = {
660
+ x: P.l + 6 + (plotW - 12) * cp.at,
661
+ y: Yv(routeY(route, cp.at))
662
+ };
663
+ const c = cp.summit ? colors.lime : colors.cyan;
664
+ return /*#__PURE__*/_jsxs(G, {
665
+ children: [/*#__PURE__*/_jsx(Line, {
666
+ x1: q.x.toFixed(1),
667
+ x2: q.x.toFixed(1),
668
+ y1: q.y.toFixed(1),
669
+ y2: (q.y - 14).toFixed(1),
670
+ stroke: "rgba(255,255,255,0.35)",
671
+ strokeWidth: 1.2
672
+ }), /*#__PURE__*/_jsx(Path, {
673
+ d: `M${q.x.toFixed(1)} ${(q.y - 14).toFixed(1)}l9 3.5-9 3.5z`,
674
+ fill: c
675
+ }), /*#__PURE__*/_jsx(Tag, {
676
+ x: q.x,
677
+ y: q.y + 13,
678
+ text: cp.label,
679
+ color: c
680
+ })]
681
+ }, i);
682
+ }), /*#__PURE__*/_jsx(PulseDot, {
683
+ x: cq.x,
684
+ y: cq.y,
685
+ color: colors.mint
686
+ }), progressLabel ? /*#__PURE__*/_jsx(Tag, {
687
+ x: cq.x - 8,
688
+ y: cq.y - 16,
689
+ text: progressLabel,
690
+ color: colors.mint,
691
+ anchor: "end"
692
+ }) : null]
693
+ });
694
+ } else if (variant === 'hydration-bottle') {
695
+ /* -------------------------------------------- MT-09 hydration-bottle */
696
+ const lvl = Math.max(0, Math.min(1, level ?? 0.6));
697
+ const bx = 80;
698
+ const by = P.t + 10;
699
+ const bw = 42;
700
+ const bh = 96;
701
+ const lt = by + bh - 2 - lvl * (bh - 6);
702
+ const clipId = `lk-metaphor-b-${uid}`;
703
+ const gradId = `lk-metaphor-w-${uid}`;
704
+ const wave = `M${bx + 1.5} ${lt.toFixed(1)}Q${bx + bw * 0.3} ${(lt - 2.6).toFixed(1)} ${bx + bw / 2} ${lt.toFixed(1)}Q${bx + bw * 0.72} ${(lt + 2.6).toFixed(1)} ${bx + bw - 1.5} ${lt.toFixed(1)}L${bx + bw - 1.5} ${by + bh}L${bx + 1.5} ${by + bh}Z`;
705
+ const read = reading ?? '1.6 L';
706
+ const pillText = pill ?? 'NEXT GLASS · 15:30';
707
+ const bubbles = [[0.35, 0.4, 1.6], [0.6, 0.2, 1.2], [0.5, 0.65, 2]];
708
+ accessibilityLabel = `${heading}: ${read}, ${Math.round(lvl * glasses)} of ${glasses} glasses`;
709
+ content = /*#__PURE__*/_jsxs(_Fragment, {
710
+ children: [/*#__PURE__*/_jsxs(Defs, {
711
+ children: [/*#__PURE__*/_jsx(ClipPath, {
712
+ id: clipId,
713
+ children: /*#__PURE__*/_jsx(Rect, {
714
+ x: bx + 1.5,
715
+ y: by + 1.5,
716
+ width: bw - 3,
717
+ height: bh - 3,
718
+ rx: 10.5
719
+ })
720
+ }), /*#__PURE__*/_jsxs(LinearGradient, {
721
+ id: gradId,
722
+ x1: "0",
723
+ y1: "0",
724
+ x2: "0",
725
+ y2: "1",
726
+ children: [/*#__PURE__*/_jsx(Stop, {
727
+ offset: "0%",
728
+ stopColor: colors.cyan,
729
+ stopOpacity: 0.85
730
+ }), /*#__PURE__*/_jsx(Stop, {
731
+ offset: "100%",
732
+ stopColor: colors.cyan,
733
+ stopOpacity: 0.4
734
+ })]
735
+ })]
736
+ }), /*#__PURE__*/_jsx(Rect, {
737
+ x: bx + bw / 2 - 7,
738
+ y: by - 8,
739
+ width: 14,
740
+ height: 10,
741
+ rx: 3,
742
+ fill: "rgba(255,255,255,0.18)"
743
+ }), /*#__PURE__*/_jsx(Rect, {
744
+ x: bx,
745
+ y: by,
746
+ width: bw,
747
+ height: bh,
748
+ rx: 12,
749
+ fill: "rgba(255,255,255,0.045)",
750
+ stroke: "rgba(255,255,255,0.24)",
751
+ strokeWidth: 1.4
752
+ }), /*#__PURE__*/_jsx(Path, {
753
+ d: wave,
754
+ fill: `url(#${gradId})`,
755
+ clipPath: `url(#${clipId})`
756
+ }), bubbles.map((b, i) => /*#__PURE__*/_jsx(Circle, {
757
+ cx: bx + bw * b[0],
758
+ cy: by + bh - (bh - 6) * lvl * b[1],
759
+ r: b[2],
760
+ fill: "none",
761
+ stroke: "rgba(255,255,255,0.4)",
762
+ strokeWidth: 0.8,
763
+ clipPath: `url(#${clipId})`
764
+ }, i)), Array.from({
765
+ length: glasses
766
+ }, (_, gi) => {
767
+ const g = gi + 1;
768
+ const gy = by + bh - (bh - 6) * g / glasses;
769
+ return /*#__PURE__*/_jsx(Line, {
770
+ x1: bx + bw + 4,
771
+ x2: bx + bw + (g % 4 === 0 ? 12 : 8),
772
+ y1: gy,
773
+ y2: gy,
774
+ stroke: g <= Math.round(lvl * glasses) ? colors.cyan : 'rgba(255,255,255,0.2)',
775
+ strokeWidth: 1.2
776
+ }, g);
777
+ }), /*#__PURE__*/_jsx(Reading, {
778
+ x: 176,
779
+ y: 70,
780
+ text: read,
781
+ size: 24,
782
+ color: colors.cyan
783
+ }), /*#__PURE__*/_jsx(Label, {
784
+ x: 176,
785
+ y: 86,
786
+ text: sub ?? 'OF 2.6 L · 5 OF 8 GLASSES',
787
+ color: colors.textDim,
788
+ anchor: "start"
789
+ }), pillText ? /*#__PURE__*/_jsx(Tag, {
790
+ x: 218,
791
+ y: 104,
792
+ text: pillText,
793
+ color: pillColor ?? colors.cyan
794
+ }) : null]
795
+ });
796
+ } else if (variant === 'meal-plates') {
797
+ /* --------------------------------------------------- MT-10 meal-plates */
798
+ const y = H / 2 + 10;
799
+ let lx = W - P.r - 2;
800
+ accessibilityLabel = `${heading}: ${meals.length} meals on the day strip`;
801
+ content = /*#__PURE__*/_jsxs(_Fragment, {
802
+ children: [/*#__PURE__*/_jsx(Line, {
803
+ x1: P.l + 6,
804
+ x2: W - P.r - 6,
805
+ y1: y,
806
+ y2: y,
807
+ stroke: "rgba(255,255,255,0.14)",
808
+ strokeWidth: 1.5,
809
+ strokeLinecap: "round"
810
+ }), meals.map((ml, i) => {
811
+ const x = P.l + 6 + (plotW - 12) * ml.at;
812
+ let a = 0;
813
+ return /*#__PURE__*/_jsxs(G, {
814
+ children: [/*#__PURE__*/_jsx(Circle, {
815
+ cx: x.toFixed(1),
816
+ cy: y - 22,
817
+ r: 13,
818
+ fill: "rgba(255,255,255,0.05)",
819
+ stroke: "rgba(255,255,255,0.2)",
820
+ strokeWidth: 1
821
+ }), ml.macros.map((f, fi) => {
822
+ const a1 = a + f * 360;
823
+ const d = arcPath(x, y - 22, 9, a + 2, a1 - 2);
824
+ a = a1;
825
+ return /*#__PURE__*/_jsx(Path, {
826
+ d: d,
827
+ fill: "none",
828
+ stroke: MACRO_COLORS[fi],
829
+ strokeWidth: 5,
830
+ strokeLinecap: "butt"
831
+ }, fi);
832
+ }), /*#__PURE__*/_jsx(Line, {
833
+ x1: x.toFixed(1),
834
+ x2: x.toFixed(1),
835
+ y1: y - 9,
836
+ y2: y,
837
+ stroke: "rgba(255,255,255,0.25)",
838
+ strokeWidth: 1
839
+ }), /*#__PURE__*/_jsx(Circle, {
840
+ cx: x.toFixed(1),
841
+ cy: y,
842
+ r: 2.4,
843
+ fill: colors.text
844
+ }), /*#__PURE__*/_jsx(Label, {
845
+ x: x,
846
+ y: y + 14,
847
+ text: ml.time
848
+ }), /*#__PURE__*/_jsx(Label, {
849
+ x: x,
850
+ y: y - 42,
851
+ text: `${ml.kcal} KCAL`,
852
+ color: colors.textDim
853
+ })]
854
+ }, i);
855
+ }), legend ? MACRO_LEGEND.map(([name, col]) => {
856
+ const tx = lx;
857
+ lx -= name.length * 5.6 + 8;
858
+ const dx = lx;
859
+ lx -= 8;
860
+ return /*#__PURE__*/_jsxs(G, {
861
+ children: [/*#__PURE__*/_jsx(Label, {
862
+ x: tx,
863
+ y: 11,
864
+ text: name,
865
+ color: colors.textDim,
866
+ anchor: "end"
867
+ }), /*#__PURE__*/_jsx(Circle, {
868
+ cx: dx,
869
+ cy: 8.2,
870
+ r: 3,
871
+ fill: col
872
+ })]
873
+ }, name);
874
+ }) : null]
875
+ });
876
+ } else if (variant === 'breath-pacer') {
877
+ /* -------------------------------------------------- MT-11 breath-pacer */
878
+ const bx = 118;
879
+ const by = 78;
880
+ const [tIn, tHold, tOut] = pattern;
881
+ const note = caption ?? `${tIn}-${tHold}-${tOut} · RING GROWS ON INHALE`;
882
+ heading = title ?? `BREATHE · ${tIn}-${tHold}-${tOut}`;
883
+ accessibilityLabel = `${heading}: in ${tIn}s, hold ${tHold}s, out ${tOut}s`;
884
+ content = /*#__PURE__*/_jsxs(_Fragment, {
885
+ children: [[24, 34, 44].map(r => /*#__PURE__*/_jsx(Circle, {
886
+ cx: bx,
887
+ cy: by,
888
+ r: r,
889
+ fill: "none",
890
+ stroke: "rgba(255,255,255,0.07)",
891
+ strokeWidth: 1
892
+ }, r)), /*#__PURE__*/_jsx(Circle, {
893
+ cx: bx,
894
+ cy: by,
895
+ r: 31,
896
+ fill: colors.cyan,
897
+ opacity: 0.22
898
+ }), /*#__PURE__*/_jsx(Circle, {
899
+ cx: bx,
900
+ cy: by,
901
+ r: 31,
902
+ fill: "none",
903
+ stroke: colors.cyan,
904
+ strokeWidth: 2
905
+ }), /*#__PURE__*/_jsx(Label, {
906
+ x: bx,
907
+ y: by + 3,
908
+ text: centerLabel,
909
+ color: colors.text
910
+ }), /*#__PURE__*/_jsx(Label, {
911
+ x: 236,
912
+ y: 56,
913
+ text: `IN · ${tIn}S`,
914
+ color: colors.cyan,
915
+ anchor: "start"
916
+ }), /*#__PURE__*/_jsx(Label, {
917
+ x: 236,
918
+ y: 74,
919
+ text: `HOLD · ${tHold}S`,
920
+ color: colors.textDim,
921
+ anchor: "start"
922
+ }), /*#__PURE__*/_jsx(Label, {
923
+ x: 236,
924
+ y: 92,
925
+ text: `OUT · ${tOut}S`,
926
+ color: colors.violet,
927
+ anchor: "start"
928
+ }), note ? /*#__PURE__*/_jsx(Label, {
929
+ x: bx,
930
+ y: 140,
931
+ text: note
932
+ }) : null]
933
+ });
934
+ } else {
935
+ /* ------------------------------------------------ MT-12 breath-session */
936
+ const norm = v => (v - 5) / 11;
937
+ const bp = bpm.map((v, i) => ({
938
+ x: P.l + (bpm.length <= 1 ? plotW / 2 : i * plotW / (bpm.length - 1)),
939
+ y: Yv(Math.max(0, Math.min(1, norm(v))))
940
+ }));
941
+ const zoneY = Yv(Math.max(0, Math.min(1, norm(calmThreshold))));
942
+ const cz = markerAt != null ? bp[Math.max(0, Math.min(bp.length - 1, markerAt))] : undefined;
943
+ const first = bpm[0] ?? 0;
944
+ const last = bpm[bpm.length - 1] ?? 0;
945
+ const legendText = caption ?? `BREATHS/MIN ${Math.round(first)} → ${Math.round(last)}`;
946
+ accessibilityLabel = `${heading}: breaths per minute ${Math.round(first)} to ${Math.round(last)}`;
947
+ content = /*#__PURE__*/_jsxs(_Fragment, {
948
+ children: [[0.25, 0.5, 0.75].map(f => /*#__PURE__*/_jsx(Line, {
949
+ x1: P.l,
950
+ x2: W - P.r,
951
+ y1: P.t + plotH * f,
952
+ y2: P.t + plotH * f,
953
+ stroke: "rgba(255,255,255,0.05)",
954
+ strokeWidth: 1
955
+ }, f)), /*#__PURE__*/_jsx(Line, {
956
+ x1: P.l,
957
+ x2: W - P.r,
958
+ y1: H - P.b,
959
+ y2: H - P.b,
960
+ stroke: "rgba(255,255,255,0.09)",
961
+ strokeWidth: 1
962
+ }), /*#__PURE__*/_jsx(Rect, {
963
+ x: P.l,
964
+ y: zoneY,
965
+ width: plotW,
966
+ height: Math.max(0, Yv(0) - zoneY),
967
+ fill: colors.cyan,
968
+ opacity: 0.07
969
+ }), /*#__PURE__*/_jsx(Label, {
970
+ x: P.l + 4,
971
+ y: zoneY + 10,
972
+ text: `CALM ZONE <${calmThreshold}/MIN`,
973
+ color: colors.cyan,
974
+ anchor: "start"
975
+ }), bp.length > 0 ? /*#__PURE__*/_jsx(Path, {
976
+ d: smoothPath(bp),
977
+ fill: "none",
978
+ stroke: colors.cyan,
979
+ strokeWidth: 2.2,
980
+ strokeLinecap: "round"
981
+ }) : null, cz ? /*#__PURE__*/_jsxs(G, {
982
+ children: [/*#__PURE__*/_jsx(Circle, {
983
+ cx: cz.x.toFixed(1),
984
+ cy: cz.y.toFixed(1),
985
+ r: 3.4,
986
+ fill: colors.cyan
987
+ }), markerLabel ? /*#__PURE__*/_jsx(Tag, {
988
+ x: cz.x,
989
+ y: cz.y - 14,
990
+ text: markerLabel,
991
+ color: colors.cyan
992
+ }) : null]
993
+ }) : null, axisLabels.map((tk, i) => {
994
+ const f = axisLabels.length <= 1 ? 0.5 : i / (axisLabels.length - 1);
995
+ const anchor = i === 0 ? 'start' : i === axisLabels.length - 1 ? 'end' : 'middle';
996
+ return /*#__PURE__*/_jsx(Label, {
997
+ x: P.l + plotW * f,
998
+ y: H - 3,
999
+ text: tk,
1000
+ anchor: anchor
1001
+ }, i);
1002
+ }), legendText ? /*#__PURE__*/_jsx(Label, {
1003
+ x: W - P.r - 4,
1004
+ y: 26,
1005
+ text: legendText,
1006
+ color: colors.textDim,
1007
+ anchor: "end"
1008
+ }) : null]
1009
+ });
1010
+ }
1011
+ return /*#__PURE__*/_jsx(View, {
1012
+ accessibilityRole: "image",
1013
+ accessibilityLabel: accessibilityLabel,
1014
+ style: [{
1015
+ width,
1016
+ height
1017
+ }, style],
1018
+ children: /*#__PURE__*/_jsxs(Svg, {
1019
+ width: width,
1020
+ height: height,
1021
+ viewBox: `0 0 ${W} ${H}`,
1022
+ children: [shine ?
1023
+ /*#__PURE__*/
1024
+ /* real Gaussian blur for the glows (Fabric-native in react-native-svg
1025
+ 15) — the native twin of the web `blur(5px)` underlays. Region in
1026
+ user space over the full canvas so flat shapes never clip. */
1027
+ _jsx(Defs, {
1028
+ children: /*#__PURE__*/_jsx(Filter, {
1029
+ id: blurId,
1030
+ filterUnits: "userSpaceOnUse",
1031
+ x: -10,
1032
+ y: -10,
1033
+ width: W + 20,
1034
+ height: H + 20,
1035
+ children: /*#__PURE__*/_jsx(FeGaussianBlur, {
1036
+ stdDeviation: 2.5
1037
+ })
1038
+ })
1039
+ }) : null, /*#__PURE__*/_jsx(Label, {
1040
+ x: P.l + 2,
1041
+ y: 11,
1042
+ text: heading,
1043
+ anchor: "start"
1044
+ }), content]
1045
+ })
1046
+ });
1047
+ }
1048
+ //# sourceMappingURL=MetaphorWidget.js.map