@oicl/openbridge-webcomponents-full-bundle 2.2.0-next.22 → 2.2.0-next.23

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 (338) hide show
  1. package/custom-elements-manifest.config.mjs +2 -1
  2. package/custom-elements.json +312 -17
  3. package/llms/components/obc-accordion-card.md +141 -0
  4. package/llms/components/obc-accordion-item.md +90 -0
  5. package/llms/components/obc-advice-button.md +87 -0
  6. package/llms/components/obc-advice-floating-item.md +113 -0
  7. package/llms/components/obc-advice-menu-item.md +87 -0
  8. package/llms/components/obc-advice-message-item.md +138 -0
  9. package/llms/components/obc-alert-button-item.md +117 -0
  10. package/llms/components/obc-alert-button.md +134 -0
  11. package/llms/components/obc-alert-counter-item.md +74 -0
  12. package/llms/components/obc-alert-detail-page.md +45 -0
  13. package/llms/components/obc-alert-floating-item.md +53 -0
  14. package/llms/components/obc-alert-frame.md +142 -0
  15. package/llms/components/obc-alert-icon.md +79 -0
  16. package/llms/components/obc-alert-list-details-experimental.md +89 -0
  17. package/llms/components/obc-alert-list-details.md +38 -0
  18. package/llms/components/obc-alert-list-page-small.md +39 -0
  19. package/llms/components/obc-alert-list.md +37 -0
  20. package/llms/components/obc-alert-menu-item.md +128 -0
  21. package/llms/components/obc-alert-menu.md +115 -0
  22. package/llms/components/obc-alert-subsystem-button.md +88 -0
  23. package/llms/components/obc-alert-subsystem-counter.md +110 -0
  24. package/llms/components/obc-analog-threeway-valve.md +106 -0
  25. package/llms/components/obc-analog-valve.md +74 -0
  26. package/llms/components/obc-app-button.md +83 -0
  27. package/llms/components/obc-app-menu.md +69 -0
  28. package/llms/components/obc-area-graph.md +333 -0
  29. package/llms/components/obc-attachment-list-item.md +49 -0
  30. package/llms/components/obc-audio-output.md +59 -0
  31. package/llms/components/obc-audio-recording-item.md +91 -0
  32. package/llms/components/obc-automation-badge.md +66 -0
  33. package/llms/components/obc-automation-button-readout-stack.md +71 -0
  34. package/llms/components/obc-automation-button.md +86 -0
  35. package/llms/components/obc-automation-input-modal.md +48 -0
  36. package/llms/components/obc-automation-readout.md +32 -0
  37. package/llms/components/obc-automation-tank.md +156 -0
  38. package/llms/components/obc-azimuth-thruster-labeled.md +56 -0
  39. package/llms/components/obc-azimuth-thruster.md +80 -0
  40. package/llms/components/obc-badge-command.md +26 -0
  41. package/llms/components/obc-badge.md +151 -0
  42. package/llms/components/obc-bar-horizontal.md +123 -0
  43. package/llms/components/obc-bar-vertical.md +125 -0
  44. package/llms/components/obc-battery-icon.md +38 -0
  45. package/llms/components/obc-bearing-indicator.md +27 -0
  46. package/llms/components/obc-bipolar-transistor.md +64 -0
  47. package/llms/components/obc-breadcrumb.md +58 -0
  48. package/llms/components/obc-brilliance-menu.md +115 -0
  49. package/llms/components/obc-bus.md +64 -0
  50. package/llms/components/obc-button.md +110 -0
  51. package/llms/components/obc-calendar.md +91 -0
  52. package/llms/components/obc-capacitor.md +64 -0
  53. package/llms/components/obc-card.md +103 -0
  54. package/llms/components/obc-chart-object-vessel-button.md +103 -0
  55. package/llms/components/obc-chat-message.md +35 -0
  56. package/llms/components/obc-check-button.md +104 -0
  57. package/llms/components/obc-checkbox-item.md +95 -0
  58. package/llms/components/obc-checkbox-list.md +73 -0
  59. package/llms/components/obc-checkbox.md +97 -0
  60. package/llms/components/obc-circular-progress.md +36 -0
  61. package/llms/components/obc-clock.md +86 -0
  62. package/llms/components/obc-command-button.md +56 -0
  63. package/llms/components/obc-command-menu.md +135 -0
  64. package/llms/components/obc-communication-table.md +31 -0
  65. package/llms/components/obc-compass-flat.md +79 -0
  66. package/llms/components/obc-compass-indicator.md +61 -0
  67. package/llms/components/obc-compass-sector.md +110 -0
  68. package/llms/components/obc-compass.md +157 -0
  69. package/llms/components/obc-context-menu-input.md +191 -0
  70. package/llms/components/obc-converter.md +64 -0
  71. package/llms/components/obc-corner-line.md +29 -0
  72. package/llms/components/obc-current.md +79 -0
  73. package/llms/components/obc-damper.md +62 -0
  74. package/llms/components/obc-date-item.md +66 -0
  75. package/llms/components/obc-depth-actual.md +69 -0
  76. package/llms/components/obc-depth-indicator.md +31 -0
  77. package/llms/components/obc-depth-top-band.md +43 -0
  78. package/llms/components/obc-depth.md +94 -0
  79. package/llms/components/obc-diagnostic-button.md +71 -0
  80. package/llms/components/obc-diagnostic-menu.md +88 -0
  81. package/llms/components/obc-digital-threeway-valve.md +112 -0
  82. package/llms/components/obc-digital-valve.md +78 -0
  83. package/llms/components/obc-diodes.md +64 -0
  84. package/llms/components/obc-direction-line.md +28 -0
  85. package/llms/components/obc-divider.md +44 -0
  86. package/llms/components/obc-donut-chart.md +116 -0
  87. package/llms/components/obc-draft-trim.md +67 -0
  88. package/llms/components/obc-dropdown-button.md +99 -0
  89. package/llms/components/obc-electricity-battery.md +83 -0
  90. package/llms/components/obc-elevated-card-radio-group.md +103 -0
  91. package/llms/components/obc-elevated-card-radio.md +104 -0
  92. package/llms/components/obc-elevated-card.md +146 -0
  93. package/llms/components/obc-end-point-line.md +29 -0
  94. package/llms/components/obc-event-item.md +47 -0
  95. package/llms/components/obc-event-list.md +37 -0
  96. package/llms/components/obc-fan.md +68 -0
  97. package/llms/components/obc-filter-chip.md +91 -0
  98. package/llms/components/obc-filter.md +64 -0
  99. package/llms/components/obc-floating-item.md +125 -0
  100. package/llms/components/obc-form-container.md +45 -0
  101. package/llms/components/obc-form-footer-container.md +34 -0
  102. package/llms/components/obc-form-group.md +80 -0
  103. package/llms/components/obc-form-item.md +95 -0
  104. package/llms/components/obc-gauge-bar-indicator.md +46 -0
  105. package/llms/components/obc-gauge-generator.md +102 -0
  106. package/llms/components/obc-gauge-horizontal.md +169 -0
  107. package/llms/components/obc-gauge-motors-and-pumps.md +110 -0
  108. package/llms/components/obc-gauge-proportional.md +134 -0
  109. package/llms/components/obc-gauge-radial-indicator.md +76 -0
  110. package/llms/components/obc-gauge-radial.md +163 -0
  111. package/llms/components/obc-gauge-trend-indicator.md +53 -0
  112. package/llms/components/obc-gauge-trend.md +271 -0
  113. package/llms/components/obc-gauge-valve.md +114 -0
  114. package/llms/components/obc-gauge-vertical.md +169 -0
  115. package/llms/components/obc-gnss-skyplot.md +80 -0
  116. package/llms/components/obc-graph-mini.md +28 -0
  117. package/llms/components/obc-ground.md +64 -0
  118. package/llms/components/obc-heading-indicator.md +42 -0
  119. package/llms/components/obc-heading.md +106 -0
  120. package/llms/components/obc-heat-exchanger.md +80 -0
  121. package/llms/components/obc-heat-pump.md +79 -0
  122. package/llms/components/obc-heave-indicator.md +38 -0
  123. package/llms/components/obc-heave.md +60 -0
  124. package/llms/components/obc-horizontal-line.md +29 -0
  125. package/llms/components/obc-hydraulic-check-valve.md +36 -0
  126. package/llms/components/obc-hydraulic-separator.md +80 -0
  127. package/llms/components/obc-hydraulic-valve-4-3.md +71 -0
  128. package/llms/components/obc-hydraulic-valve-x-2.md +68 -0
  129. package/llms/components/obc-icon-button.md +117 -0
  130. package/llms/components/obc-icon-check-button.md +85 -0
  131. package/llms/components/obc-indicator-battery.md +69 -0
  132. package/llms/components/obc-indicator-engine.md +39 -0
  133. package/llms/components/obc-indicator-generator.md +59 -0
  134. package/llms/components/obc-indicator-graph.md +33 -0
  135. package/llms/components/obc-indicator-tank-atmospheric.md +69 -0
  136. package/llms/components/obc-input-chip.md +96 -0
  137. package/llms/components/obc-instrument-field.md +172 -0
  138. package/llms/components/obc-instrument-radial.md +77 -0
  139. package/llms/components/obc-integration-app-bar.md +41 -0
  140. package/llms/components/obc-integration-bar-dropdown.md +71 -0
  141. package/llms/components/obc-integration-bar.md +72 -0
  142. package/llms/components/obc-integration-button.md +62 -0
  143. package/llms/components/obc-integration-dropdown-button.md +75 -0
  144. package/llms/components/obc-integration-fleet-button.md +41 -0
  145. package/llms/components/obc-integration-tabs.md +28 -0
  146. package/llms/components/obc-integration-vessel-menu.md +58 -0
  147. package/llms/components/obc-integration-vessel-selector.md +32 -0
  148. package/llms/components/obc-keyboard-full.md +175 -0
  149. package/llms/components/obc-keyboard-numeric.md +77 -0
  150. package/llms/components/obc-line-cross.md +28 -0
  151. package/llms/components/obc-line-graph.md +164 -0
  152. package/llms/components/obc-line-overlap.md +28 -0
  153. package/llms/components/obc-logic.md +64 -0
  154. package/llms/components/obc-main-engine-indicator.md +55 -0
  155. package/llms/components/obc-main-engine.md +54 -0
  156. package/llms/components/obc-menu-button.md +158 -0
  157. package/llms/components/obc-message-menu-item.md +165 -0
  158. package/llms/components/obc-modal-window.md +139 -0
  159. package/llms/components/obc-mosfet.md +64 -0
  160. package/llms/components/obc-motor.md +73 -0
  161. package/llms/components/obc-navigation-item-group.md +82 -0
  162. package/llms/components/obc-navigation-item.md +138 -0
  163. package/llms/components/obc-navigation-menu.md +135 -0
  164. package/llms/components/obc-non-return-valve.md +79 -0
  165. package/llms/components/obc-notification-badge-button.md +87 -0
  166. package/llms/components/obc-notification-button.md +92 -0
  167. package/llms/components/obc-notification-floating-item.md +121 -0
  168. package/llms/components/obc-notification-menu-item.md +87 -0
  169. package/llms/components/obc-notification-message-item.md +127 -0
  170. package/llms/components/obc-number-input-field.md +97 -0
  171. package/llms/components/obc-pagination.md +95 -0
  172. package/llms/components/obc-pie-chart.md +120 -0
  173. package/llms/components/obc-pitch-indicator.md +39 -0
  174. package/llms/components/obc-pitch-roll-heave.md +86 -0
  175. package/llms/components/obc-pitch-roll-yaw.md +72 -0
  176. package/llms/components/obc-pitch-roll.md +63 -0
  177. package/llms/components/obc-pitch.md +81 -0
  178. package/llms/components/obc-pivot-item-group.md +79 -0
  179. package/llms/components/obc-pivot-item.md +75 -0
  180. package/llms/components/obc-poi-aton.md +68 -0
  181. package/llms/components/obc-poi-button-aton.md +54 -0
  182. package/llms/components/obc-poi-button-data.md +53 -0
  183. package/llms/components/obc-poi-button-vessel.md +55 -0
  184. package/llms/components/obc-poi-button.md +94 -0
  185. package/llms/components/obc-poi-card-header.md +90 -0
  186. package/llms/components/obc-poi-card.md +110 -0
  187. package/llms/components/obc-poi-controller.md +151 -0
  188. package/llms/components/obc-poi-data.md +72 -0
  189. package/llms/components/obc-poi-graphic-line.md +70 -0
  190. package/llms/components/obc-poi-group.md +85 -0
  191. package/llms/components/obc-poi-header.md +71 -0
  192. package/llms/components/obc-poi-layer-stack.md +85 -0
  193. package/llms/components/obc-poi-layer.md +110 -0
  194. package/llms/components/obc-poi-line.md +70 -0
  195. package/llms/components/obc-poi-object-aton.md +45 -0
  196. package/llms/components/obc-poi-object-data.md +48 -0
  197. package/llms/components/obc-poi-object-vessel.md +95 -0
  198. package/llms/components/obc-poi-object.md +82 -0
  199. package/llms/components/obc-poi-pointer.md +70 -0
  200. package/llms/components/obc-poi-selection-frame.md +66 -0
  201. package/llms/components/obc-poi-vessel.md +70 -0
  202. package/llms/components/obc-poi.md +140 -0
  203. package/llms/components/obc-polar-chart.md +126 -0
  204. package/llms/components/obc-position-deviation.md +84 -0
  205. package/llms/components/obc-pressure-reduction-valve.md +88 -0
  206. package/llms/components/obc-pressure-sustain-valve.md +85 -0
  207. package/llms/components/obc-progress-bar.md +102 -0
  208. package/llms/components/obc-progress-button.md +111 -0
  209. package/llms/components/obc-progress-indicator-dots.md +57 -0
  210. package/llms/components/obc-propulsion-azimuth-indicator.md +48 -0
  211. package/llms/components/obc-pump.md +76 -0
  212. package/llms/components/obc-radial-bar-chart.md +103 -0
  213. package/llms/components/obc-radio.md +82 -0
  214. package/llms/components/obc-rate-of-turn.md +95 -0
  215. package/llms/components/obc-readout-block.md +137 -0
  216. package/llms/components/obc-readout-list-item.md +142 -0
  217. package/llms/components/obc-readout-list.md +85 -0
  218. package/llms/components/obc-readout.md +169 -0
  219. package/llms/components/obc-resistor.md +64 -0
  220. package/llms/components/obc-rich-button.md +92 -0
  221. package/llms/components/obc-roll-indicator.md +38 -0
  222. package/llms/components/obc-roll.md +56 -0
  223. package/llms/components/obc-rot-indicator.md +32 -0
  224. package/llms/components/obc-rot-linear.md +68 -0
  225. package/llms/components/obc-rot-sector.md +125 -0
  226. package/llms/components/obc-router.md +64 -0
  227. package/llms/components/obc-rudder-indicator.md +54 -0
  228. package/llms/components/obc-rudder.md +112 -0
  229. package/llms/components/obc-ruler-pointer.md +57 -0
  230. package/llms/components/obc-scrollbar.md +57 -0
  231. package/llms/components/obc-sequence-card.md +119 -0
  232. package/llms/components/obc-sequence-connector.md +70 -0
  233. package/llms/components/obc-sequence-item.md +64 -0
  234. package/llms/components/obc-sequence-loading-spinner.md +70 -0
  235. package/llms/components/obc-sequence-modal.md +89 -0
  236. package/llms/components/obc-sequence-step.md +48 -0
  237. package/llms/components/obc-sequence-toolbar.md +108 -0
  238. package/llms/components/obc-slide-button.md +111 -0
  239. package/llms/components/obc-slider-double.md +137 -0
  240. package/llms/components/obc-slider.md +143 -0
  241. package/llms/components/obc-source.md +64 -0
  242. package/llms/components/obc-speed-arrows.md +39 -0
  243. package/llms/components/obc-speed-directions.md +66 -0
  244. package/llms/components/obc-speed-gauge.md +124 -0
  245. package/llms/components/obc-speed-indicator.md +37 -0
  246. package/llms/components/obc-split-button.md +144 -0
  247. package/llms/components/obc-start-stop-switch.md +126 -0
  248. package/llms/components/obc-status-indicator.md +30 -0
  249. package/llms/components/obc-stepper-box.md +90 -0
  250. package/llms/components/obc-surge-sway-yaw.md +95 -0
  251. package/llms/components/obc-switch.md +69 -0
  252. package/llms/components/obc-system-button.md +112 -0
  253. package/llms/components/obc-system-menu.md +67 -0
  254. package/llms/components/obc-tab-item.md +161 -0
  255. package/llms/components/obc-tab-row.md +151 -0
  256. package/llms/components/obc-tabbed-card.md +148 -0
  257. package/llms/components/obc-table-header-item.md +42 -0
  258. package/llms/components/obc-table.md +124 -0
  259. package/llms/components/obc-tag.md +41 -0
  260. package/llms/components/obc-text-input-field.md +94 -0
  261. package/llms/components/obc-textarea-field.md +186 -0
  262. package/llms/components/obc-textbox.md +80 -0
  263. package/llms/components/obc-three-way-line.md +29 -0
  264. package/llms/components/obc-thruster.md +64 -0
  265. package/llms/components/obc-title-container.md +81 -0
  266. package/llms/components/obc-toggle-button-group.md +184 -0
  267. package/llms/components/obc-toggle-button-option.md +126 -0
  268. package/llms/components/obc-toggle-button-three-state.md +38 -0
  269. package/llms/components/obc-toggle-button-vertical-group.md +142 -0
  270. package/llms/components/obc-toggle-button-vertical-option.md +110 -0
  271. package/llms/components/obc-toggle-switch.md +126 -0
  272. package/llms/components/obc-toggletip.md +135 -0
  273. package/llms/components/obc-tooltip.md +106 -0
  274. package/llms/components/obc-top-bar.md +194 -0
  275. package/llms/components/obc-top-view-propulsion.md +84 -0
  276. package/llms/components/obc-topbar-message-item.md +150 -0
  277. package/llms/components/obc-transformer.md +64 -0
  278. package/llms/components/obc-transmitter-button.md +101 -0
  279. package/llms/components/obc-transmitter-stack.md +79 -0
  280. package/llms/components/obc-transmitter.md +114 -0
  281. package/llms/components/obc-tree-navigation-group.md +69 -0
  282. package/llms/components/obc-tree-navigation-item.md +110 -0
  283. package/llms/components/obc-tree-navigation.md +73 -0
  284. package/llms/components/obc-tunnel-thruster.md +59 -0
  285. package/llms/components/obc-user-button.md +107 -0
  286. package/llms/components/obc-user-menu.md +154 -0
  287. package/llms/components/obc-valve-analog-three-way-icon.md +69 -0
  288. package/llms/components/obc-valve-analog-two-way-icon.md +39 -0
  289. package/llms/components/obc-velocity-projection-plot.md +34 -0
  290. package/llms/components/obc-vendor-button.md +63 -0
  291. package/llms/components/obc-vertical-line.md +33 -0
  292. package/llms/components/obc-watch-flat.md +54 -0
  293. package/llms/components/obc-watch.md +206 -0
  294. package/llms/components/obc-wind-indicator.md +52 -0
  295. package/llms/components/obc-wind-propulsion.md +92 -0
  296. package/llms/components/obc-wind.md +46 -0
  297. package/llms/docs/ar-poi-projection.md +36 -0
  298. package/llms/docs/automation-sequence-step-diagram-playground.md +13 -0
  299. package/llms/docs/building-blocks-advice.md +31 -0
  300. package/llms/docs/building-blocks-external-scale.md +138 -0
  301. package/llms/docs/building-blocks-setpoint.md +119 -0
  302. package/llms/docs/introduction-advice-system.md +161 -0
  303. package/llms/docs/introduction-getting-started.md +94 -0
  304. package/llms/docs/introduction-introduction.md +27 -0
  305. package/llms/docs/introduction-join-the-project.md +11 -0
  306. package/llms/docs/introduction-migration-guide-2-0-to-2-1.md +126 -0
  307. package/llms/docs/introduction-migration-guide-2-1-to-2-2.md +106 -0
  308. package/llms/docs/introduction-migration-guide.md +1063 -0
  309. package/llms/docs/palettes-categorical-colour.md +9 -0
  310. package/llms/llms-full.txt +28380 -0
  311. package/llms/llms.txt +368 -0
  312. package/package.json +12 -2
  313. package/script/cem-plugins/lifecycle.d.mts +6 -0
  314. package/script/cem-plugins/lifecycle.mjs +48 -0
  315. package/script/cem-plugins.test.ts +52 -1
  316. package/script/generate-llms-txt.ts +34 -0
  317. package/script/llms/channel.test.ts +69 -0
  318. package/script/llms/channel.ts +63 -0
  319. package/script/llms/generate.test.ts +143 -0
  320. package/script/llms/generate.ts +229 -0
  321. package/script/llms/manifest.test.ts +160 -0
  322. package/script/llms/manifest.ts +109 -0
  323. package/script/llms/markdown.test.ts +22 -0
  324. package/script/llms/markdown.ts +37 -0
  325. package/script/llms/mdx.test.ts +172 -0
  326. package/script/llms/mdx.ts +171 -0
  327. package/script/llms/render-component.test.ts +290 -0
  328. package/script/llms/render-component.ts +208 -0
  329. package/script/llms/render-guides.test.ts +105 -0
  330. package/script/llms/render-guides.ts +51 -0
  331. package/script/llms/render-llms-txt.test.ts +222 -0
  332. package/script/llms/render-llms-txt.ts +185 -0
  333. package/script/llms/sources.test.ts +118 -0
  334. package/script/llms/sources.ts +89 -0
  335. package/script/llms/stories.test.ts +193 -0
  336. package/script/llms/stories.ts +256 -0
  337. package/script/llms/types.ts +95 -0
  338. package/script/prepare-full-bundle.ts +1 -0
@@ -0,0 +1,80 @@
1
+ # `<obc-azimuth-thruster>`
2
+
3
+ No summary yet.
4
+
5
+ Lifecycle: stable. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/instruments-azimuth-thruster--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/navigation-instruments/azimuth-thruster/azimuth-thruster.ts)
6
+
7
+ ## Properties
8
+
9
+ | Property | Attribute | Type | Default | Description |
10
+ | --- | --- | --- | --- | --- |
11
+ | angle | angle | `number` | `0` | |
12
+ | angleSetpoint | angleSetpoint | `number \| undefined` | | |
13
+ | newAngleSetpoint | newAngleSetpoint | `number \| undefined` | | Available when `angleSetpoint!=undefined`. |
14
+ | atAngleSetpoint | atAngleSetpoint | `boolean` | `false` | Available when `angleSetpoint!=undefined && autoAtAngleSetpoint==false`. |
15
+ | angleSetpointAtZeroDeadband | angleSetpointAtZeroDeadband | `number` | `0.5` | Available when `angleSetpoint!=undefined`. |
16
+ | angleSetpointOverride | angleSetpointOverride | `boolean` | `false` | Available when `angleSetpoint!=undefined`. |
17
+ | touching | touching | `boolean` | `false` | Available when `angleSetpoint!=undefined \|\| thrustSetpoint!=undefined`. |
18
+ | autoAtAngleSetpoint | | `boolean` | `true` | Available when `angleSetpoint!=undefined`. |
19
+ | autoAtAngleSetpointDeadband | autoAtAngleSetpointDeadband | `number` | `2` | Available when `angleSetpoint!=undefined && autoAtAngleSetpoint==true`. |
20
+ | animateSetpoint | animateSetpoint | `boolean` | `false` | Available when `angleSetpoint!=undefined \|\| thrustSetpoint!=undefined`. |
21
+ | primaryTickmarkInterval | primaryTickmarkInterval | `number \| undefined` | `90` | Interval (in degrees) for primary tickmarks. When undefined or <= 0, no primary tickmarks are shown (only the zero line). Default 90 gives ticks at 0°, 90°, 180°, 270°. |
22
+ | secondaryTickmarkInterval | secondaryTickmarkInterval | `number \| undefined` | `undefined` | Interval (in degrees) for secondary tickmarks. When undefined or <= 0, no secondary tickmarks are shown. |
23
+ | tertiaryTickmarkInterval | tertiaryTickmarkInterval | `number \| undefined` | `undefined` | Interval (in degrees) for tertiary tickmarks. When undefined or <= 0, no tertiary tickmarks are shown. |
24
+ | showLabels | showLabels | `boolean` | `false` | |
25
+ | tickmarksInside | tickmarksInside | `boolean` | `false` | |
26
+ | thrust | thrust | `number` | `0` | |
27
+ | thrustSetpoint | thrustSetpoint | `number \| undefined` | | |
28
+ | newThrustSetpoint | newThrustSetpoint | `number \| undefined` | | Available when `thrustSetpoint!=undefined`. |
29
+ | atThrustSetpoint | atThrustSetpoint | `boolean` | `false` | Available when `thrustSetpoint!=undefined && autoAtThrustSetpoint==false`. |
30
+ | thrustSetpointAtZeroDeadband | thrustSetpointAtZeroDeadband | `number` | `0.1` | Available when `thrustSetpoint!=undefined`. |
31
+ | thrustSetpointOverride | thrustSetpointOverride | `boolean` | `false` | Available when `thrustSetpoint!=undefined`. |
32
+ | autoAtThrustSetpoint | | `boolean` | `true` | Available when `thrustSetpoint!=undefined`. |
33
+ | autoAtThrustSetpointDeadband | autoAtThrustSetpointDeadband | `number` | `1` | Available when `thrustSetpoint!=undefined && autoAtThrustSetpoint==true`. |
34
+ | state | state | `InstrumentState` | | |
35
+ | priority | priority | `Priority` | | |
36
+ | loading | loading | `number` | `0` | |
37
+ | hasLabelSpacer | | `boolean` | `true` | |
38
+ | angleAdvices | | `AdviceInput[]` | `[]` | Advice ranges and points on the ring, in degrees; see `svghelpers/advice.ts` for the shape. |
39
+ | thrustAdvices | | `AdviceInput[]` | `[]` | Advice ranges and points on the thrust column, in percent of thrust. |
40
+ | adviceTrigger | adviceTrigger | `AdviceTrigger` | | Which readings trigger an advice on both axes: the value, the setpoint, or either (the default). Available when `angleAdvices!=[] \|\| thrustAdvices!=[]`. |
41
+ | adviceEmphasis | adviceEmphasis | `boolean` | `false` | The design's emphasis rules between go-to and no-go bands, off by default. Available when `angleAdvices!=[] \|\| thrustAdvices!=[]`. |
42
+ | singleDirection | singleDirection | `boolean` | `false` | |
43
+ | topPropeller | topPropeller | `PropellerType` | | |
44
+ | bottomPropeller | bottomPropeller | `PropellerType` | | |
45
+ | tickmarkStyle | tickmarkStyle | `TickmarkStyle` | | |
46
+ | starboardPortIndicator | starboardPortIndicator | `boolean` | `false` | |
47
+ | faceDiameter | face-diameter | `number \| undefined` | | Outer-ring diameter in CSS pixels. When set, the instrument renders at a fixed intrinsic size derived from the ring, arc shape and label reserve — so instruments sharing the same value have identical ring circumference regardless of label width or arc extent (like obc-donut-chart's fixedHeight). When unset (default), the instrument fills its container. |
48
+
49
+ ## Events
50
+
51
+ None.
52
+
53
+ ## Slots
54
+
55
+ None.
56
+
57
+ ## Stories
58
+
59
+ - [In Command](https://openbridge-next-storybook.web.app/?path=/story/instruments-azimuth-thruster--in-command)
60
+ - [In Command Detailed Tickmarks](https://openbridge-next-storybook.web.app/?path=/story/instruments-azimuth-thruster--in-command-detailed-tickmarks)
61
+ - [In Command Detailed Tickmarks Inside](https://openbridge-next-storybook.web.app/?path=/story/instruments-azimuth-thruster--in-command-detailed-tickmarks-inside)
62
+ - [In Command At Setpoint](https://openbridge-next-storybook.web.app/?path=/story/instruments-azimuth-thruster--in-command-at-setpoint)
63
+ - [Pod](https://openbridge-next-storybook.web.app/?path=/story/instruments-azimuth-thruster--pod)
64
+ - [In Command At Setpoint Manual Mode](https://openbridge-next-storybook.web.app/?path=/story/instruments-azimuth-thruster--in-command-at-setpoint-manual-mode)
65
+ - [Single Direction](https://openbridge-next-storybook.web.app/?path=/story/instruments-azimuth-thruster--single-direction)
66
+ - [Single Direction With Propeller](https://openbridge-next-storybook.web.app/?path=/story/instruments-azimuth-thruster--single-direction-with-propeller)
67
+ - [Not In Command](https://openbridge-next-storybook.web.app/?path=/story/instruments-azimuth-thruster--not-in-command)
68
+ - [Not In Command At Setpoint](https://openbridge-next-storybook.web.app/?path=/story/instruments-azimuth-thruster--not-in-command-at-setpoint)
69
+ - [Not In Command No Setpoint](https://openbridge-next-storybook.web.app/?path=/story/instruments-azimuth-thruster--not-in-command-no-setpoint)
70
+ - [Loading](https://openbridge-next-storybook.web.app/?path=/story/instruments-azimuth-thruster--loading)
71
+ - [Off](https://openbridge-next-storybook.web.app/?path=/story/instruments-azimuth-thruster--off)
72
+ - [Off With Angle Setpoint Override](https://openbridge-next-storybook.web.app/?path=/story/instruments-azimuth-thruster--off-with-angle-setpoint-override)
73
+ - [Sizing Playground — FaceDiameter + Resizable (Manual)](https://openbridge-next-storybook.web.app/?path=/story/instruments-azimuth-thruster--sizing-playground): Interactive sizing playground: drag the dashed box's bottom-right corner to resize it. The first thruster is pinned to a fixed intrinsic size by the `faceDiameter` control, while the second adapts to the remaining flex space, reserving room for its degree labels adaptively (issue #1021). Enable `lockFaceDiameter` to pin both to the same circumference. Related: *Sizing Playground* stories under Building Blocks/Watch, Building Blocks/Instrument Radial and Instruments/Gauge Radial.
74
+
75
+ ## See also
76
+
77
+ - [Advice System](https://openbridge-next-storybook.web.app/docs/introduction-advice-system.md)
78
+ - [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)
79
+ - [Migration Guide 2.1 to 2.2](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide-2-1-to-2-2.md)
80
+ - [Building Blocks/Setpoint](https://openbridge-next-storybook.web.app/docs/building-blocks-setpoint.md)
@@ -0,0 +1,26 @@
1
+ # `<obc-badge-command>`
2
+
3
+ No summary yet.
4
+
5
+ Lifecycle: stable. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/instruments-badge-command--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/navigation-instruments/badge-command/badge-command.ts)
6
+
7
+ ## Properties
8
+
9
+ | Property | Attribute | Type | Default | Description |
10
+ | --- | --- | --- | --- | --- |
11
+ | status | status | `CommandStatus` | | |
12
+ | large | large | `boolean` | `false` | |
13
+ | iconLarge | | `HTMLTemplateResult` | | |
14
+ | iconSmall | | `HTMLTemplateResult` | | |
15
+
16
+ ## Events
17
+
18
+ None.
19
+
20
+ ## Slots
21
+
22
+ None.
23
+
24
+ ## Stories
25
+
26
+ - [In Command Large](https://openbridge-next-storybook.web.app/?path=/story/instruments-badge-command--in-command-large)
@@ -0,0 +1,151 @@
1
+ # `<obc-badge>`
2
+
3
+ A compact visual indicator for status, alerts, or notifications, optionally displaying a number and/or icon.
4
+
5
+ Lifecycle: beta. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/ui-components-message-and-alerts-badge--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/components/badge/badge.ts)
6
+
7
+ `<obc-badge>` – A compact visual indicator for status, alerts, or notifications, optionally displaying a number and/or icon.
8
+
9
+ Badges are used to draw attention to status changes, counts, or important information in a concise format. They can represent alert states (such as alarm, warning, or running), notification counts, or other contextual statuses. The badge adapts its appearance based on type, size, and variant, and can display an icon, a number, or both.
10
+
11
+ ---
12
+
13
+ ## Features
14
+ - **Type options:** Supports multiple visual types:
15
+ - `regular`: Default neutral badge.
16
+ - `alarm`: Highlights critical or urgent states.
17
+ - `warning`: Indicates caution or warning.
18
+ - `caution`: Used for less severe caution.
19
+ - `level-critical`, `level-high`, `level-medium`, `level-low`, `level-diagnostic`: level severity levels, styled to match their legacy equivalents (critical, alarm, warning, caution, notification).
20
+ - `running`: Represents active or running states.
21
+ - `notification`: For general notifications.
22
+ - `enhance`: For secondary notifications or emphasis.
23
+ - `automation`: For automation-related status.
24
+ - `outline`: Outline-only style (flat variant only).
25
+ - `empty`: Minimal badge with no icon or number.
26
+ - **Size options:** `regular` (default) and `large` for increased visibility.
27
+ - **Variants:**
28
+ - `default`: Filled background and border.
29
+ - `flat`: Minimal background, outline, and lighter appearance.
30
+ - **Icon support:** Can display a contextual icon (built-in for alarm, warning, caution, running; custom via slot for others).
31
+ - **Number display:** Optionally shows a number (e.g., count of notifications).
32
+ - **Hide number:** Can suppress the number for a purely symbolic badge.
33
+ - **Custom icon slot:** For types without a built-in icon, developers can provide a custom icon using the `badge-icon` slot.
34
+ - **Responsive layout:** Adjusts size and spacing based on the `size` property.
35
+
36
+ ---
37
+
38
+ ## Usage Guidelines
39
+ - Use `obc-badge` to highlight status, counts, or alerts in a compact form, such as notification indicators, unread message counts, or system status.
40
+ - Choose the `type` that matches the semantic meaning (e.g., `alarm` for critical, `warning` for caution, `running` for active).
41
+ - Use the `number` property to show counts; set `showNumber` to false for symbolic-only badges.
42
+ - Use the `flat` variant for less prominent or secondary contexts.
43
+ - For custom icons, provide an icon element in the `badge-icon` slot.
44
+ - Avoid using badges for persistent or detailed information; they are intended for brief, glanceable status.
45
+ - **TODO(designer):** Confirm recommended use cases for `enhance`, `automation`, and `outline` types, and clarify when to use `empty` type versus hiding the badge entirely.
46
+
47
+ ---
48
+
49
+ ## Slots
50
+
51
+ | Slot Name | Renders When... | Purpose |
52
+ |---------------|-------------------------------|-----------------------------------------------------|
53
+ | `badge-icon` | `showIcon` is true and `type` is not one of `alarm`, `warning`, `caution`, `running` | Custom icon for the badge (e.g., `<obi-placeholder>`). |
54
+
55
+ ---
56
+
57
+ ## Properties and Attributes
58
+ - `number` (number): The numeric value to display in the badge. Defaults to 0.
59
+ - `showNumber` (boolean): If true, the number is shown. Set to `false` for symbolic or icon-only badges.
60
+ - `type` (string): Visual style of the badge. See **Type options** above for possible values. Defaults to `regular`.
61
+ - `size` (string): Badge size, either `regular` (default) or `large`.
62
+ - `variant` (string): Visual variant, either `default` (filled) or `flat` (minimal). Defaults to `default`.
63
+ - `showIcon` (boolean): If true, displays an icon appropriate to the badge type. For custom types, supply an icon in the `badge-icon` slot.
64
+
65
+ ---
66
+
67
+ ## Best Practices and Constraints
68
+ - Use badge types consistently to communicate status meaningfully.
69
+ - For accessibility, ensure the badge's meaning is also conveyed via text or ARIA attributes if used as a status indicator.
70
+ - Avoid overloading the badge with large numbers or excessive detail; keep content concise.
71
+ - The `empty` type is intended for minimal presence—use when a placeholder badge is needed without icon or number.
72
+ - For custom icons, use OpenBridge icon elements such as `<obi-placeholder>` in the `badge-icon` slot.
73
+ - The badge does not emit any custom events.
74
+
75
+ ---
76
+
77
+ ## Example
78
+
79
+ ```html
80
+ <obc-badge type="alarm" number="3" showIcon>
81
+ <!-- For custom types, provide an icon: -->
82
+ <obi-placeholder slot="badge-icon"></obi-placeholder>
83
+ </obc-badge>
84
+ ```
85
+
86
+ In this example, the badge displays an alarm icon and the number 3.
87
+
88
+ ## Properties
89
+
90
+ | Property | Attribute | Type | Default | Description |
91
+ | --- | --- | --- | --- | --- |
92
+ | number | number | `number` | `0` | The number to display in the badge. Set to 0 for no count. If `showNumber` is false, the number is hidden. Available when `showNumber==true`. |
93
+ | showNumber | | `boolean` | `true` | Shows the number in the badge when true. Set to `false` for symbolic or icon-only badges. |
94
+ | type | type | `string` | | Visual style/type of the badge. Possible values: `regular`, `alarm`, `warning`, `caution`, `level-critical`, `level-high`, `level-medium`, `level-low`, `level-diagnostic`, `running`, `notification`, `enhance`, `automation`, `outline`, `empty`. Defaults to `regular`. |
95
+ | size | size | `string` | | Badge size. Possible values: `regular` (default), `large`. |
96
+ | variant | variant | `BadgeVariant` | | Badge variant: `default` has a filled background and border, `flat` a minimal background and outline. |
97
+ | showIcon | showIcon | `boolean` | `false` | Whether to show an icon in the badge. For built-in types (`alarm`, `warning`, `caution`, the `level-*` severities, and `running`), a contextual icon is shown automatically. For other types, provide a custom icon in the `badge-icon` slot. |
98
+
99
+ ## Events
100
+
101
+ None.
102
+
103
+ ## Slots
104
+
105
+ | Slot | Description |
106
+ | --- | --- |
107
+ | badge-icon | Custom icon slot for badge types that do not have a built-in icon (e.g., notification, enhance, automation, outline, or custom types). |
108
+
109
+ ## Stories
110
+
111
+ - [Regular](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--regular)
112
+ - [Large](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--large)
113
+ - [No Number](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--no-number)
114
+ - [No Number Large](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--no-number-large)
115
+ - [Alarm](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--alarm)
116
+ - [Alarm Large](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--alarm-large)
117
+ - [Warning](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--warning)
118
+ - [Caution](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--caution)
119
+ - [Level Critical](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--level-critical)
120
+ - [Level High](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--level-high)
121
+ - [Level Medium](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--level-medium)
122
+ - [Level Low](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--level-low)
123
+ - [Level Diagnostic](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--level-diagnostic)
124
+ - [Running](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--running)
125
+ - [Notification](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--notification)
126
+ - [Enhance](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--enhance)
127
+ - [Automation](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--automation)
128
+ - [Empty](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--empty)
129
+ - [Flat Regular](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--flat-regular)
130
+ - [Flat Large](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--flat-large)
131
+ - [Flat Hide Number](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--flat-hide-number)
132
+ - [Flat Alarm](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--flat-alarm)
133
+ - [Flat Alarm Large](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--flat-alarm-large)
134
+ - [Flat Warning](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--flat-warning)
135
+ - [Flat Warning Large](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--flat-warning-large)
136
+ - [Flat Caution](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--flat-caution)
137
+ - [Flat Caution Large](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--flat-caution-large)
138
+ - [Flat Running](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--flat-running)
139
+ - [Flat Running Large](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--flat-running-large)
140
+ - [Flat Notification](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--flat-notification)
141
+ - [Flat Notification Large](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--flat-notification-large)
142
+ - [Flat Enhance](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--flat-enhance)
143
+ - [Flat Enhance Large](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--flat-enhance-large)
144
+ - [Flat Automation](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--flat-automation)
145
+ - [Flat Automation Large](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--flat-automation-large)
146
+ - [Flat Outline](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--flat-outline)
147
+ - [Flat Outline Large](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-badge--flat-outline-large)
148
+
149
+ ## See also
150
+
151
+ - [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)
@@ -0,0 +1,123 @@
1
+ # `<obc-bar-horizontal>`
2
+
3
+ Horizontal SVG bar + external scale.
4
+
5
+ Lifecycle: beta. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/bars-and-graphs-bar-horizontal--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/building-blocks/bar-horizontal/bar-horizontal.ts)
6
+
7
+ Horizontal SVG bar + external scale.
8
+
9
+ This is a thin web-component wrapper around the pure SVG building-block renderer in `external-scale.ts`.
10
+
11
+ It sets up the outer `<svg>`/`viewBox` for a horizontal scale and delegates rendering/layout to:
12
+ - `computeExternalScaleLayout(...)`
13
+ - `renderExternalScale(config)`
14
+
15
+ For renderer documentation see: **Building Blocks/External Scale**.
16
+
17
+ For more test cases (Auto at-setpoint detection, Manual at-setpoint control, Deadband tuning and Zero snap behavior) see: **Bars and Graphs/Bar Vertical**.
18
+
19
+ Set `priority` to `Priority.enhanced` to use the blue/enhanced color palette
20
+ for bar fill and setpoint instead of the default gray/regular palette
21
+ (default: `Priority.regular`).
22
+
23
+ ## Properties
24
+
25
+ | Property | Attribute | Type | Default | Description |
26
+ | --- | --- | --- | --- | --- |
27
+ | minValue | minValue | `number` | `0` | Minimum scale value (manual mode) |
28
+ | maxValue | maxValue | `number` | `100` | Maximum scale value (manual mode) |
29
+ | reverse | reverse | `boolean` | `false` | Plot `minValue` at the right so values grow leftward. |
30
+ | width | width | `number` | `320` | Total width in pixels (including padding bands) Available when `fixedAspectRatio==false`. |
31
+ | paddingLeft | paddingLeft | `number` | | Padding left of the drawing area |
32
+ | paddingRight | paddingRight | `number` | | Padding right of the drawing area |
33
+ | side | side | `ExternalScaleSide` | | Which side this scale lives on |
34
+ | fixedAspectRatio | fixedAspectRatio | `boolean` | `false` | When true, freezes all internal calculations and scales the entire component proportionally (like CSS transform:scale), except label font-size remains constant. When false (default), dimensions react to component properties. |
35
+ | scaleReferenceSize | scaleReferenceSize | `number` | `384` | Reference size for proportional scaling when fixedAspectRatio is true. At this width, the scale renders at native 1:1 (matches Figma design). Above this width, the scale grows proportionally; below, it shrinks. Available when `fixedAspectRatio==true`. |
36
+ | hasScale | | `boolean` | `true` | Show scale tickmarks |
37
+ | showLabels | | `boolean` | `true` | |
38
+ | showMainTickmarkLabels | showMainTickmarkLabels | `boolean` | `false` | Label the main tickmarks (min / 0 / max) instead of the primary interval ladder, for a scale too short for a ladder. A chart sets it on its slotted scales below its label threshold. Available when `showLabels==true`. |
39
+ | hasBar | hasBar | `boolean` | `false` | Show bar |
40
+ | scaleBackground | scaleBackground | `boolean` | `false` | Show background behind the scale tickmarks. |
41
+ | barContainerStyle | barContainerStyle | `BarContainerStyle \| undefined` | `undefined` | Bar container background style. When undefined, defaults based on scaleBackground. Set explicitly to override: 'primary' (lighter) or 'secondary' (gray). Available when `hasBar==true`. |
42
+ | barThickness | barThickness | `number` | `24` | Bar/fill thickness in pixels Available when `hasBar==true`. |
43
+ | tickThickness | tickThickness | `number` | `24` | Tickmark band thickness in pixels. Available when `hasScale==true`. |
44
+ | labelThickness | labelThickness | `number` | `60` | Label band thickness in pixels. Available when `showLabels==true`. |
45
+ | mainTickmarks | | `number[] \| undefined` | `[]` | Array of values for main tickmarks. When undefined, no main tickmarks shown. When empty array [], defaults to [minValue, 0, maxValue]. Available when `hasScale==true`. |
46
+ | primaryTickmarkInterval | primaryTickmarkInterval | `number \| undefined` | `undefined` | Interval for primary (longest) tickmarks with labels (minimum 1). When undefined, no primary tickmarks are shown. Available when `hasScale==true \|\| showLabels==true`. |
47
+ | secondaryTickmarkInterval | secondaryTickmarkInterval | `number \| undefined` | `undefined` | Interval for secondary (medium) tickmarks (minimum 1). When undefined, no secondary tickmarks are shown. Available when `hasScale==true`. |
48
+ | tertiaryTickmarkInterval | tertiaryTickmarkInterval | `number \| undefined` | `undefined` | Interval for tertiary (shortest) tickmarks (minimum 1). When undefined, no tertiary tickmarks are shown. Available when `hasScale==true`. |
49
+ | scaleType | scaleType | `ScaleType` | | Scale display mode: regular or condensed (shorter ticks) |
50
+ | frameStyle | frameStyle | `FrameStyle` | | Frame style: regular (4px gap for all), flat (main tickmarks touch edge), framed, or instrument Available when `hasScale==true && mainTickmarks!=undefined`. |
51
+ | borderRadiusPosition | borderRadiusPosition | `BorderRadiusPosition \| undefined` | `undefined` | Border radius position based on component layout Available when `hasBar==true`. |
52
+ | instrumentMode | instrumentMode | `boolean` | `false` | When true, the component is used inside an instrument (e.g., gauge-trend). In this mode, only label font size responds to .obc-component-size-* CSS classes. Border radius and bar thickness use explicit values or defaults, not CSS variables. |
53
+ | borderRadius | borderRadius | `number \| undefined` | `undefined` | Explicit border radius value in pixels. When instrumentMode=true, this value is used directly (defaults to 8px for regular, 4px for condensed). When instrumentMode=false, this is ignored and border radius is read from CSS variable. Available when `instrumentMode==true`. |
54
+ | priority | priority | `Priority` | | Color priority: enhanced uses blue instrument colors for bar fill and setpoint |
55
+ | fillMode | fillMode | `FillMode` | | Fill visualization mode: fill or tint Available when `hasBar==true && value!=undefined`. |
56
+ | fillMin | fillMin | `number \| undefined` | `undefined` | Minimum fill value for tint mode (defaults to 0) Available when `hasBar==true && value!=undefined`. |
57
+ | fillMax | fillMax | `number \| undefined` | `undefined` | Maximum fill value for tint mode (defaults to value) Available when `hasBar==true && value!=undefined`. |
58
+ | value | value | `number \| undefined` | `undefined` | Current value (bar fill level) |
59
+ | state | state | `InstrumentState` | | Instrument state (affects colors and some marker behavior) |
60
+ | advicePosition | advicePosition | `AdvicePosition` | | Advice overlay positioning: center (in bar), inner (covers minor ticks), outer (no overlap) Available when `hasBar==true`. |
61
+ | highlightCurrentValue | highlightCurrentValue | `boolean` | `false` | When true, displays a dot indicator at the current value position. The dot is rendered in the scale band, touching its inner edge (towards the chart). This provides an alternative to bar fill for highlighting the current value. |
62
+ | advices | advices | `AdviceInput[]` | `[]` | Advice/alert overlays with state and positioning. When undefined or empty, no advice shown. |
63
+ | adviceTrigger | adviceTrigger | `AdviceTrigger` | | Which readings trigger an advice: the value, the setpoint, or either. Available when `adviceTrigger advices!=[]`. |
64
+ | adviceEmphasis | adviceEmphasis | `boolean` | `false` | The design's go-to / no-go emphasis rules. Available when `adviceEmphasis advices!=[]`. |
65
+ | setpoint | setpoint | `number \| undefined` | | Target setpoint value. `undefined` = no setpoint marker shown. |
66
+ | newSetpoint | newSetpoint | `number \| undefined` | | Adjustment preview for 2-step interface. When defined, two markers are shown: original (dimmed) + new (focus). Available when `setpoint!=undefined`. |
67
+ | atSetpoint | | `boolean` | `false` | Manual at-setpoint override (used when `autoAtSetpoint` is false). Available when `setpoint!=undefined && autoAtSetpoint==false`. |
68
+ | touching | touching | `boolean` | `false` | User is physically interacting with the control. Suppresses at-setpoint calculation and triggers focus visual. Available when `setpoint!=undefined`. |
69
+ | autoAtSetpoint | | `boolean` | `true` | When false, uses manual `atSetpoint` boolean instead of auto-calculation. Available when `setpoint!=undefined`. |
70
+ | autoAtSetpointDeadband | autoAtSetpointDeadband | `number` | `defaultDeadband` | Tolerance for auto at-setpoint detection. Available when `setpoint!=undefined && autoAtSetpoint==true`. |
71
+ | setpointAtZeroDeadband | setpointAtZeroDeadband | `number` | `defaultZeroDeadband` | Tolerance for zero-snap visual state. Available when `setpoint!=undefined`. |
72
+ | setpointOverride | setpointOverride | `boolean` | `false` | Override to derive the setpoint color from the instrument's `priority` regardless of instrument state. Available when `setpoint!=undefined`. |
73
+ | animateSetpoint | animateSetpoint | `boolean` | `false` | Enable CSS-animated confirm transition. Available when `setpoint!=undefined`. |
74
+ | departingNewSetpoint | | `number \| undefined` | | Public getter for renderers/wrappers to access the departing value. |
75
+
76
+ ## Events
77
+
78
+ | Event | Type | Description |
79
+ | --- | --- | --- |
80
+ | scale-dimensions-changed | `CustomEvent` | Fired when the scale's computed layout thickness changes; a parent chart listens for this to reserve space for the scale. It bubbles to the chart slot the scale sits in and does not leave the shadow root around it. |
81
+
82
+ ## Slots
83
+
84
+ None.
85
+
86
+ ## Stories
87
+
88
+ - [Default (bottom side, bar, labels, advice)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-horizontal--default-bottom)
89
+ - [Component Size Comparison (regular/medium/large/xl)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-horizontal--component-size-comparison)
90
+ - [Default (top side, labels)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-horizontal--default-top)
91
+ - [With Bar (bottom side)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-horizontal--with-bar-bottom)
92
+ - [With Bar (top side)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-horizontal--with-bar-top)
93
+ - [Negative Range (-100 to 100)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-horizontal--negative-range)
94
+ - [Small Range (0 to 10)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-horizontal--small-range)
95
+ - [With Bar Fill (bottom side, enhanced)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-horizontal--with-bar-fill-bottom)
96
+ - [With Bar Fill (top side)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-horizontal--with-bar-fill-top)
97
+ - [Fill Mode Comparison, Enhanced (fill vs tint)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-horizontal--fill-mode-comparison)
98
+ - [Tint Mode With Advice Overlays](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-horizontal--tint-mode-with-advice)
99
+ - [With Advice Overlays (inner positioning)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-horizontal--with-advice-inner)
100
+ - [With Advice Overlays (outer positioning)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-horizontal--with-advice-outer)
101
+ - [With Advice Overlays (center positioning)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-horizontal--with-advice-center)
102
+ - [With Setpoint (value at setpoint)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-horizontal--with-setpoint-at-value)
103
+ - [With Setpoint (value away from setpoint)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-horizontal--with-setpoint-away-from-value)
104
+ - [State Comparison](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-horizontal--state-comparison)
105
+ - [Scale Type Comparison (regular vs condensed)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-horizontal--scale-type-comparison)
106
+ - [With Scale Background (Gauge style, bottom side)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-horizontal--horizontal-bottom-scale-background)
107
+ - [Chart Integration (as external bottom axis)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-horizontal--chart-integration-bottom)
108
+ - [Chart Integration (as external bottom axis, scaleBackground)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-horizontal--chart-integration-bottom-background)
109
+ - [Fixed Aspect Ratio Comparison](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-horizontal--fixed-aspect-ratio-comparison): When `fixedAspectRatio=true`, the component scales proportionally (like CSS transform:scale) based on container size, while keeping label font-size constant.
110
+
111
+ - **false (default)**: Dimensions react to component properties
112
+ - **true**: "Freezes" internal calculations and scales the entire component as a vector
113
+
114
+ This story demonstrates both modes side-by-side with resizable containers.
115
+ - [Reversed (0 at Right, Minutes Ago)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-horizontal--reversed): `reverse` puts `minValue` at the right edge so a "minutes ago" axis reads with positive numbers and 0 (now) on the right.
116
+ - [With Advice Icons](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-horizontal--with-advice-icons): The vertical bar's icon story mirrored: the icons sit in the labels' row.
117
+
118
+ ## See also
119
+
120
+ - [Advice System](https://openbridge-next-storybook.web.app/docs/introduction-advice-system.md)
121
+ - [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)
122
+ - [Building Blocks/Advice](https://openbridge-next-storybook.web.app/docs/building-blocks-advice.md)
123
+ - [Building Blocks/External Scale](https://openbridge-next-storybook.web.app/docs/building-blocks-external-scale.md)
@@ -0,0 +1,125 @@
1
+ # `<obc-bar-vertical>`
2
+
3
+ Vertical SVG bar + external scale.
4
+
5
+ Lifecycle: beta. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/bars-and-graphs-bar-vertical--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/building-blocks/bar-vertical/bar-vertical.ts)
6
+
7
+ Vertical SVG bar + external scale.
8
+
9
+ This is a thin web-component wrapper around the pure SVG building-block renderer in `external-scale.ts`.
10
+
11
+ It sets up the outer `<svg>`/`viewBox` for a vertical scale and delegates rendering/layout to:
12
+ - `computeExternalScaleLayout(...)`
13
+ - `renderExternalScale(config)`
14
+
15
+ For renderer documentation see: **Building Blocks/External Scale**.
16
+
17
+ Set `priority` to `Priority.enhanced` to use the blue/enhanced color palette
18
+ for bar fill and setpoint instead of the default gray/regular palette
19
+ (default: `Priority.regular`).
20
+
21
+ ## Properties
22
+
23
+ | Property | Attribute | Type | Default | Description |
24
+ | --- | --- | --- | --- | --- |
25
+ | minValue | minValue | `number` | `0` | Minimum scale value (manual mode) |
26
+ | maxValue | maxValue | `number` | `100` | Maximum scale value (manual mode) |
27
+ | reverse | reverse | `boolean` | `false` | Plot `minValue` at the top so values grow downward. |
28
+ | height | height | `number` | `320` | Total height in pixels (including padding bands) |
29
+ | paddingTop | paddingTop | `number` | | Padding above the drawing area |
30
+ | paddingBottom | paddingBottom | `number` | | Padding below the drawing area |
31
+ | side | side | `ExternalScaleSide` | | Which side this scale lives on |
32
+ | fixedAspectRatio | fixedAspectRatio | `boolean` | `false` | When true, freezes all internal calculations and scales the entire component proportionally (like CSS transform:scale), except label font-size remains constant. When false (default), dimensions react to component properties. |
33
+ | scaleReferenceSize | scaleReferenceSize | `number` | `384` | Reference size for proportional scaling when fixedAspectRatio is true. At this height, the scale renders at native 1:1 (matches Figma design). Above this height, the scale grows proportionally; below, it shrinks. Available when `fixedAspectRatio==true`. |
34
+ | hasScale | | `boolean` | `true` | Show scale tickmarks |
35
+ | showLabels | | `boolean` | `true` | |
36
+ | showMainTickmarkLabels | showMainTickmarkLabels | `boolean` | `false` | Label the main tickmarks (min / 0 / max) instead of the primary interval ladder, for a scale too short for a ladder. A chart sets it on its slotted scales below its label threshold. Available when `showLabels==true`. |
37
+ | hasBar | hasBar | `boolean` | `false` | Show bar |
38
+ | scaleBackground | scaleBackground | `boolean` | `false` | Show background behind the scale tickmarks. |
39
+ | barContainerStyle | barContainerStyle | `BarContainerStyle \| undefined` | `undefined` | Bar container background style. When undefined, defaults based on scaleBackground. Set explicitly to override: 'primary' (lighter) or 'secondary' (gray). Available when `hasBar==true`. |
40
+ | barThickness | barThickness | `number` | `24` | Bar/fill thickness in pixels |
41
+ | tickThickness | tickThickness | `number` | `24` | Tickmark band thickness in pixels. |
42
+ | labelThickness | labelThickness | `number` | `60` | Label band thickness in pixels. |
43
+ | mainTickmarks | | `number[] \| undefined` | `[]` | Array of values for main tickmarks. When undefined, no main tickmarks shown. When empty array [], defaults to [minValue, 0, maxValue]. |
44
+ | primaryTickmarkInterval | primaryTickmarkInterval | `number \| undefined` | `undefined` | Interval for primary (longest) tickmarks with labels (minimum 1). When undefined, no primary tickmarks are shown. |
45
+ | secondaryTickmarkInterval | secondaryTickmarkInterval | `number \| undefined` | `undefined` | Interval for secondary (medium) tickmarks (minimum 1). When undefined, no secondary tickmarks are shown. |
46
+ | tertiaryTickmarkInterval | tertiaryTickmarkInterval | `number \| undefined` | `undefined` | Interval for tertiary (shortest) tickmarks (minimum 1). When undefined, no tertiary tickmarks are shown. |
47
+ | scaleType | scaleType | `ScaleType` | | Scale display mode: regular or condensed (shorter ticks) |
48
+ | frameStyle | frameStyle | `FrameStyle` | | Frame style: regular (4px gap for all), flat (main tickmarks touch edge), framed, or instrument |
49
+ | borderRadiusPosition | borderRadiusPosition | `BorderRadiusPosition \| undefined` | `undefined` | Border radius position based on component layout Available when `hasBar==true`. |
50
+ | instrumentMode | instrumentMode | `boolean` | `false` | When true, the component is used inside an instrument (e.g., gauge-trend). In this mode, only label font size responds to .obc-component-size-* CSS classes. Border radius and bar thickness use explicit values or defaults, not CSS variables. |
51
+ | borderRadius | borderRadius | `number \| undefined` | `undefined` | Explicit border radius value in pixels. When instrumentMode=true, this value is used directly (defaults to 8px for regular, 4px for condensed). When instrumentMode=false, this is ignored and border radius is read from CSS variable. Available when `instrumentMode==true`. |
52
+ | priority | priority | `Priority` | | Color priority: enhanced uses blue instrument colors for bar fill and setpoint |
53
+ | fillMode | fillMode | `FillMode` | | Fill visualization mode: fill or tint Available when `hasBar==true && value!=undefined`. |
54
+ | fillMin | fillMin | `number \| undefined` | `undefined` | Minimum fill value for tint mode (defaults to 0) Available when `hasBar==true && value!=undefined`. |
55
+ | fillMax | fillMax | `number \| undefined` | `undefined` | Maximum fill value for tint mode (defaults to value) Available when `hasBar==true && value!=undefined`. |
56
+ | value | value | `number \| undefined` | `undefined` | Current value (bar fill level) |
57
+ | state | state | `InstrumentState` | | Instrument state (affects colors and some marker behavior) |
58
+ | advicePosition | advicePosition | `AdvicePosition` | | Advice overlay positioning: center (in bar), inner (covers minor ticks), outer (no overlap) Available when `hasBar==true`. |
59
+ | highlightCurrentValue | highlightCurrentValue | `boolean` | `false` | When true, displays a dot indicator at the current value position. The dot is rendered in the scale band, touching its inner edge (towards the chart). This provides an alternative to bar fill for highlighting the current value. |
60
+ | advices | advices | `AdviceInput[]` | `[]` | Advice/alert overlays with state and positioning. When undefined or empty, no advice shown. |
61
+ | adviceTrigger | adviceTrigger | `AdviceTrigger` | | Which readings trigger an advice: the value, the setpoint, or either. Available when `adviceTrigger advices!=[]`. |
62
+ | adviceEmphasis | adviceEmphasis | `boolean` | `false` | The design's go-to / no-go emphasis rules. Available when `adviceEmphasis advices!=[]`. |
63
+ | setpoint | setpoint | `number \| undefined` | | Target setpoint value. `undefined` = no setpoint marker shown. |
64
+ | newSetpoint | newSetpoint | `number \| undefined` | | Adjustment preview for 2-step interface. When defined, two markers are shown: original (dimmed) + new (focus). Available when `setpoint!=undefined`. |
65
+ | atSetpoint | | `boolean` | `false` | Manual at-setpoint override (used when `autoAtSetpoint` is false). Available when `setpoint!=undefined && autoAtSetpoint==false`. |
66
+ | touching | touching | `boolean` | `false` | User is physically interacting with the control. Suppresses at-setpoint calculation and triggers focus visual. Available when `setpoint!=undefined`. |
67
+ | autoAtSetpoint | | `boolean` | `true` | When false, uses manual `atSetpoint` boolean instead of auto-calculation. Available when `setpoint!=undefined`. |
68
+ | autoAtSetpointDeadband | autoAtSetpointDeadband | `number` | `defaultDeadband` | Tolerance for auto at-setpoint detection. Available when `setpoint!=undefined && autoAtSetpoint==true`. |
69
+ | setpointAtZeroDeadband | setpointAtZeroDeadband | `number` | `defaultZeroDeadband` | Tolerance for zero-snap visual state. Available when `setpoint!=undefined`. |
70
+ | setpointOverride | setpointOverride | `boolean` | `false` | Override to derive the setpoint color from the instrument's `priority` regardless of instrument state. Available when `setpoint!=undefined`. |
71
+ | animateSetpoint | animateSetpoint | `boolean` | `false` | Enable CSS-animated confirm transition. Available when `setpoint!=undefined`. |
72
+ | departingNewSetpoint | | `number \| undefined` | | Public getter for renderers/wrappers to access the departing value. |
73
+
74
+ ## Events
75
+
76
+ | Event | Type | Description |
77
+ | --- | --- | --- |
78
+ | scale-dimensions-changed | `CustomEvent` | Fired when the scale's computed layout thickness changes; a parent chart listens for this to reserve space for the scale. It bubbles to the chart slot the scale sits in and does not leave the shadow root around it. |
79
+
80
+ ## Slots
81
+
82
+ None.
83
+
84
+ ## Stories
85
+
86
+ - [Default (right side, bar, labels, advice)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-vertical--default-right)
87
+ - [Component Size Comparison (regular/medium/large/xl)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-vertical--component-size-comparison)
88
+ - [Default (left side, labels)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-vertical--default-left)
89
+ - [With Bar (right side)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-vertical--with-bar-right)
90
+ - [With Bar (left side)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-vertical--with-bar-left)
91
+ - [Negative Range (-100 to 100)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-vertical--negative-range)
92
+ - [Small Range (0 to 10)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-vertical--small-range)
93
+ - [With Bar Fill (right side, enhanced)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-vertical--with-bar-fill-right)
94
+ - [With Bar Fill (left side)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-vertical--with-bar-fill-left)
95
+ - [Fill Mode Comparison, Enhanced (fill vs tint)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-vertical--fill-mode-comparison)
96
+ - [Tint Mode With Advice Overlays](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-vertical--tint-mode-with-advice)
97
+ - [With Advice Overlays (inner positioning)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-vertical--with-advice-inner)
98
+ - [With Advice Overlays (outer positioning)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-vertical--with-advice-outer)
99
+ - [With Advice Overlays (center positioning)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-vertical--with-advice-center)
100
+ - [With Setpoint (value at setpoint)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-vertical--with-setpoint-at-value): **At-setpoint detection.** With `autoAtSetpoint` the marker shrinks to 80 % when `|value − setpoint| ≤ autoAtSetpointDeadband`; with it off, `atSetpoint` sets the state directly. `setpointAtZeroDeadband` snaps a near-zero setpoint onto the zero line. The rules are pinned in `svghelpers/setpoint.spec.ts`.
101
+ - [With Setpoint (value away from setpoint)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-vertical--with-setpoint-away-from-value)
102
+ - [State Comparison](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-vertical--state-comparison)
103
+ - [With Scale Background (Gauge style, right side)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-vertical--vertical-right-scale-background)
104
+ - [Enhanced Mode Comparison (regular vs enhanced)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-vertical--enhanced-mode-comparison)
105
+ - [Scale Type Comparison (regular vs condensed)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-vertical--scale-type-comparison)
106
+ - [Chart Integration (as external right axis)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-vertical--chart-integration-right)
107
+ - [Chart Integration (as external right axis, scaleBackground)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-vertical--chart-integration-right-background)
108
+ - [Chart Integration (Gauge-trend style)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-vertical--gauge-trend)
109
+ - [Fixed Aspect Ratio Comparison](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-vertical--fixed-aspect-ratio-comparison): When `fixedAspectRatio=true`, the component scales proportionally (like CSS transform:scale) based on container size, while keeping label font-size constant.
110
+
111
+ - **false (default)**: Dimensions react to component properties
112
+ - **true**: "Freezes" internal calculations and scales the entire component as a vector
113
+
114
+ This story demonstrates both modes side-by-side with resizable containers.
115
+ - [Reversed (0 at Top, Depth 0 to 75 m)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-vertical--reversed): `reverse` puts `minValue` at the top so a quantity measured downward is plotted with positive numbers. The bar fills from `fillMin` (0, the surface) down to `value`.
116
+ - [With Advice Icons](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-bar-vertical--with-advice-icons): Each band carries its category's icon in the label column, centred on the range.
117
+
118
+ ## See also
119
+
120
+ - [Advice System](https://openbridge-next-storybook.web.app/docs/introduction-advice-system.md)
121
+ - [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)
122
+ - [Migration Guide 2.1 to 2.2](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide-2-1-to-2-2.md)
123
+ - [Building Blocks/Advice](https://openbridge-next-storybook.web.app/docs/building-blocks-advice.md)
124
+ - [Building Blocks/External Scale](https://openbridge-next-storybook.web.app/docs/building-blocks-external-scale.md)
125
+ - [Building Blocks/Setpoint](https://openbridge-next-storybook.web.app/docs/building-blocks-setpoint.md)
@@ -0,0 +1,38 @@
1
+ # `<obc-battery-icon>`
2
+
3
+ No summary yet.
4
+
5
+ Lifecycle: stable. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/icons-battery-icon--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/components/battery-icon/battery-icon.ts)
6
+
7
+ ## Properties
8
+
9
+ | Property | Attribute | Type | Default | Description |
10
+ | --- | --- | --- | --- | --- |
11
+ | level | level | `number` | `0` | |
12
+ | charging | charging | `boolean` | `false` | |
13
+ | poweredNotCharging | poweredNotCharging | `boolean` | `false` | |
14
+ | notification | notification | `boolean` | `false` | |
15
+ | horizontal | horizontal | `boolean` | `false` | |
16
+
17
+ ## Events
18
+
19
+ None.
20
+
21
+ ## Slots
22
+
23
+ None.
24
+
25
+ ## Stories
26
+
27
+ - [Full](https://openbridge-next-storybook.web.app/?path=/story/icons-battery-icon--full)
28
+ - [Horizontal Full](https://openbridge-next-storybook.web.app/?path=/story/icons-battery-icon--horizontal-full)
29
+ - [Powered Not Charging](https://openbridge-next-storybook.web.app/?path=/story/icons-battery-icon--powered-not-charging)
30
+ - [Powered Not Charging Horizontal](https://openbridge-next-storybook.web.app/?path=/story/icons-battery-icon--powered-not-charging-horizontal)
31
+ - [Empty](https://openbridge-next-storybook.web.app/?path=/story/icons-battery-icon--empty)
32
+ - [Low](https://openbridge-next-storybook.web.app/?path=/story/icons-battery-icon--low)
33
+ - [Half Full](https://openbridge-next-storybook.web.app/?path=/story/icons-battery-icon--half-full)
34
+ - [Near Full](https://openbridge-next-storybook.web.app/?path=/story/icons-battery-icon--near-full)
35
+ - [Charging](https://openbridge-next-storybook.web.app/?path=/story/icons-battery-icon--charging)
36
+ - [Charging Horizontal](https://openbridge-next-storybook.web.app/?path=/story/icons-battery-icon--charging-horizontal)
37
+ - [Notification](https://openbridge-next-storybook.web.app/?path=/story/icons-battery-icon--notification)
38
+ - [Notification Horizontal](https://openbridge-next-storybook.web.app/?path=/story/icons-battery-icon--notification-horizontal)
@@ -0,0 +1,27 @@
1
+ # `<obc-bearing-indicator>`
2
+
3
+ No summary yet.
4
+
5
+ Lifecycle: stable. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/indicators-bearing-indicator--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/navigation-instruments/bearing-indicator/bearing-indicator.ts)
6
+
7
+ ## Properties
8
+
9
+ | Property | Attribute | Type | Default | Description |
10
+ | --- | --- | --- | --- | --- |
11
+ | bearingDeg | bearingDeg | `number` | `0` | |
12
+
13
+ ## Events
14
+
15
+ None.
16
+
17
+ ## Slots
18
+
19
+ None.
20
+
21
+ ## Stories
22
+
23
+ - [Primary](https://openbridge-next-storybook.web.app/?path=/story/indicators-bearing-indicator--primary)
24
+
25
+ ## See also
26
+
27
+ - [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)