@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,66 @@
1
+ # `<obc-automation-badge>`
2
+
3
+ Automation badge: one state glyph in the corner of a device button, tank or tile.
4
+
5
+ Lifecycle: stable. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/automation-automation-configurations-automation-badge--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/automation/automation-badge/automation-badge.ts)
6
+
7
+ Automation badge: one state glyph in the corner of a device button, tank
8
+ or tile.
9
+
10
+ ## Features
11
+
12
+ - `type` picks the glyph: control mode (`auto`, `manual`, `manual-only`,
13
+ `local`, `local-only`), `command-locked`, `interlock`,
14
+ `interlock-inhibit`, `simulation`, `alert-silenced`, `alert-shelved`,
15
+ the alert categories (`caution`, `warning`, `alarm`), the alert levels
16
+ (`level-critical` to `level-diagnostic`) and one capital letter
17
+ (`letter-a` to `letter-z`).
18
+ - `mode` picks the surface: `flat` draws the glyph with a silhouette
19
+ outline straight on the device, `regular` and `enhanced` put it on a
20
+ bordered or raised chip. Alert categories and levels carry their own
21
+ colour and render flat whatever the mode.
22
+ - Without a built-in type the slots take a custom glyph.
23
+
24
+ ## Usage
25
+
26
+ Device buttons and tanks place it through `badgeControl`, `badgeAlert`,
27
+ `badgeInterlock` and `badgeCommandLocked`; use the element directly for a
28
+ badge outside those four corners.
29
+
30
+ ## Properties
31
+
32
+ | Property | Attribute | Type | Default | Description |
33
+ | --- | --- | --- | --- | --- |
34
+ | mode | mode | `ObcAutomationBadgeMode` | | Surface of the badge: `flat`, `regular` or `enhanced`. |
35
+ | type | type | `ObcAutomationBadgeType \| undefined` | `undefined` | Built-in glyph to draw; unset renders the slots. |
36
+
37
+ ## Events
38
+
39
+ None.
40
+
41
+ ## Slots
42
+
43
+ | Slot | Description |
44
+ | --- | --- |
45
+ | icon-silhouette | Custom silhouette/outline icon, rendered behind the default slot content when no built-in badge type matches. |
46
+ | (default) | Default slot for custom badge content, rendered when no built-in badge type matches. |
47
+
48
+ ## Stories
49
+
50
+ - [Flat](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-configurations-automation-badge--flat)
51
+ - [All Variants](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-configurations-automation-badge--all-variants)
52
+ - [Letters](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-configurations-automation-badge--letters)
53
+ - [Regular](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-configurations-automation-badge--regular)
54
+ - [Enhanced](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-configurations-automation-badge--enhanced)
55
+ - [Auto](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-configurations-automation-badge--auto)
56
+ - [Command Locked](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-configurations-automation-badge--command-locked)
57
+ - [Interlock](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-configurations-automation-badge--interlock)
58
+ - [Interlock Inhibit](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-configurations-automation-badge--interlock-inhibit)
59
+ - [Alert Shelved](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-configurations-automation-badge--alert-shelved)
60
+ - [Simulation](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-configurations-automation-badge--simulation)
61
+ - [Letter](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-configurations-automation-badge--letter)
62
+ - [Slotted Icon](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-configurations-automation-badge--slotted-icon)
63
+
64
+ ## See also
65
+
66
+ - [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)
@@ -0,0 +1,71 @@
1
+ # `<obc-automation-button-readout-stack>`
2
+
3
+ A value row with `icon: 'slot'` projects its icon from the host slot named by its `slotName` — a dynamic slot name, so it carries no `@slot` tag (the wrapper generator needs literal names).
4
+
5
+ Lifecycle: experimental. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/building-blocks-automation-button-readout-stack--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/components/automation-button-readout-stack/automation-button-readout-stack.ts)
6
+
7
+ A value row with `icon: 'slot'` projects its icon from the host slot named
8
+ by its `slotName` — a dynamic slot name, so it carries no `@slot` tag (the
9
+ wrapper generator needs literal names).
10
+
11
+ ## Properties
12
+
13
+ | Property | Attribute | Type | Default | Description |
14
+ | --- | --- | --- | --- | --- |
15
+ | readouts | | `AutomationButtonReadoutStack[]` | `[]` | Rows rendered top-to-bottom: `value` (padded digits, unit, optional direction icon), `state-on`/`state-off`, `button`, and `setpoint` (shared setpoint glyph + padded digits). |
16
+ | tag | tag | `string \| null` | `null` | Identifier line (e.g. '#0001'); `null` hides it. |
17
+ | size | size | `AutomationButtonReadoutStackSize` | | Typography tier of the rows (small / regular / enhanced). |
18
+ | idTagOrientation | idTagOrientation | `IdTagOrientation` | | Whether the tag renders above or below the rows. |
19
+
20
+ ## Events
21
+
22
+ None.
23
+
24
+ ## Slots
25
+
26
+ None.
27
+
28
+ ## Stories
29
+
30
+ - [Default](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--default)
31
+ - [Small](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--small)
32
+ - [Enhanced](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--enhanced)
33
+ - [Tag At Top](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--tag-at-top)
34
+ - [Tag At Bottom](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--tag-at-bottom)
35
+ - [Only Tag](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--only-tag)
36
+ - [Only Value 1](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--only-value-1)
37
+ - [Only Value 2](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--only-value-2)
38
+ - [Tag And Value 1](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--tag-and-value-1)
39
+ - [Values Only](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--values-only)
40
+ - [Different Directions](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--different-directions)
41
+ - [All Directions](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--all-directions)
42
+ - [Custom Units](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--custom-units)
43
+ - [Custom Tag](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--custom-tag)
44
+ - [State Off With Icon](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--state-off-with-icon)
45
+ - [State Off Without Icon](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--state-off-without-icon)
46
+ - [State Off Sizes](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--state-off-sizes)
47
+ - [State Off Small](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--state-off-small)
48
+ - [Mixed Value And State Off](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--mixed-value-and-state-off)
49
+ - [State Off At Bottom](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--state-off-at-bottom)
50
+ - [State On With Icon](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--state-on-with-icon)
51
+ - [State On Without Icon](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--state-on-without-icon)
52
+ - [State On Sizes](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--state-on-sizes)
53
+ - [State On Small](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--state-on-small)
54
+ - [Mixed Value And State On](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--mixed-value-and-state-on)
55
+ - [State On And Off](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--state-on-and-off)
56
+ - [Button With Icon](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--button-with-icon)
57
+ - [Button Without Icon](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--button-without-icon)
58
+ - [Button Sizes](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--button-sizes)
59
+ - [Button Small](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--button-small)
60
+ - [Mixed Value And Button](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--mixed-value-and-button)
61
+ - [All Types](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--all-types)
62
+ - [Button Type](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--button-type)
63
+ - [With Icons](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--with-icons)
64
+ - [Without Icons](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--without-icons)
65
+ - [Mixed Icons](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--mixed-icons)
66
+ - [Setpoint Row](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--setpoint-row)
67
+ - [State With Direction](https://openbridge-next-storybook.web.app/?path=/story/building-blocks-automation-button-readout-stack--state-with-direction): An on-state row with `direction` shows the arrow in place of the on icon.
68
+
69
+ ## See also
70
+
71
+ - [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)
@@ -0,0 +1,86 @@
1
+ # `<obc-automation-button>`
2
+
3
+ No summary yet.
4
+
5
+ Lifecycle: stable. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/automation-automation-devices-automation-button--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/automation/automation-button/automation-button.ts)
6
+
7
+ ## Properties
8
+
9
+ | Property | Attribute | Type | Default | Description |
10
+ | --- | --- | --- | --- | --- |
11
+ | variant | variant | `AutomationButtonVariant` | | |
12
+ | state | state | `AutomationButtonState` | | |
13
+ | static | static | `boolean` | `false` | |
14
+ | activated | activated | `boolean` | `false` | Enables the activated background color, used to indicate that the button is activated/selected. |
15
+ | showReadoutStack | | `boolean` | `true` | |
16
+ | readouts | | `AutomationButtonReadoutStack[]` | `[]` | Available when `showReadoutStack==true`. |
17
+ | tag | tag | `string \| null` | `null` | Available when `showReadoutStack==true`. |
18
+ | readoutPosition | readoutPosition | `AutomationButtonReadoutPosition` | | Available when `showReadoutStack==true`. |
19
+ | readoutSize | readoutSize | `AutomationButtonReadoutStackSize` | | Available when `showReadoutStack==true`. |
20
+ | alert | alert | `boolean` | `false` | |
21
+ | alertFrameType | alertFrameType | `ObcAlertFrameType` | | Available when `alert==true`. |
22
+ | alertFrameThickness | alertFrameThickness | `ObcAlertFrameThickness` | | Available when `alert==true`. |
23
+ | alertFrameStatus | alertFrameStatus | `AlertType` | | Available when `alert==true`. |
24
+ | alertFrameMode | alertFrameMode | `ObcAlertFrameMode` | | Available when `alert==true`. |
25
+ | showAlertCategoryIcon | | `boolean` | `true` | Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. |
26
+ | showAlertIcon | showAlertIcon | `boolean` | `false` | Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. |
27
+ | progress | progress | `boolean` | `false` | |
28
+ | progressMode | progressMode | `CircularProgressMode` | | Available when `progress==true`. |
29
+ | progressValue | progressValue | `number` | `0` | Available when `progress==true && progressMode in [determinate, progressive-indeterminate]`. |
30
+ | direction | direction | `AutomationButtonDirection` | | Available when `variant in [double, forward, flatForward]`. |
31
+ | positioning | positioning | `AutomationButtonPositioning` | | |
32
+ | orientation | orientation | `AutomationButtonOrientation` | | |
33
+ | hasBadgeSpacer | hasBadgeSpacer | `boolean` | `false` | Badge spacer should be set to true if there is a badge on the same side as the label |
34
+ | handlePosition | handlePosition | `AutomationButtonHandlePosition` | | Side of the symbol the handle sits on; `none` hides the handle and the self-actuation line. |
35
+ | handleSize | handleSize | `AutomationButtonHandleSize` | | `small` draws the handle from the symbol's centre, for symbols without a button around them. Available when `handlePosition!=none`. |
36
+ | selfActuationLine | selfActuationLine | `AutomationButtonSelfActuationLine` | | Side of the symbol the self-actuation line runs to from the handle. Drawn only on a side next to the handle. Available when `handlePosition!=none`. |
37
+ | accessibleName | accessibleName | `string \| null` | `null` | Name for assistive technology when the button shows no text of its own, such as a symbol without a tag. |
38
+
39
+ ## Events
40
+
41
+ | Event | Type | Description |
42
+ | --- | --- | --- |
43
+ | click | | Fired when the button is clicked. |
44
+
45
+ ## Slots
46
+
47
+ | Slot | Description |
48
+ | --- | --- |
49
+ | badge-top-right | Content projected into the top-right badge position of the button. |
50
+ | badge-top-left | Content projected into the top-left badge position of the button. |
51
+ | badge-bottom-left | Content projected into the bottom-left badge position of the button. |
52
+ | badge-bottom-right | Content projected into the bottom-right badge position of the button. |
53
+ | icon | Primary icon shown inside the button (regular, double, flat and square variants). |
54
+ | icon-silhouette | Silhouette/outline icon shown behind the primary icon (flat variant only). |
55
+ | handle | Handle or actuator drawn for the `top` side, 24 × 24 units; it turns with `handlePosition`. |
56
+ | alert-icon | Custom icon for the alert frame, shown when alert==true and positioning=="point". |
57
+ | alert-label | Label for the alert frame, shown when alert==true and positioning=="point". |
58
+ | alert-timer | Timer for the alert frame, shown when alert==true and positioning=="point". |
59
+
60
+ ## Stories
61
+
62
+ - [Valve Open](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-automation-button--valve-open)
63
+ - [Valve Flat](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-automation-button--valve-flat)
64
+ - [Valve Activated](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-automation-button--valve-activated)
65
+ - [Switch Activated](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-automation-button--switch-activated)
66
+ - [Valve Alert](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-automation-button--valve-alert)
67
+ - [Valve Badges](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-automation-button--valve-badges)
68
+ - [Valve Progress](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-automation-button--valve-progress)
69
+ - [Valve Progress Determinate](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-automation-button--valve-progress-determinate)
70
+ - [Valve Progress Progressive](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-automation-button--valve-progress-progressive)
71
+ - [Square Progress Determinate](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-automation-button--square-progress-determinate)
72
+ - [Valve Closed](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-automation-button--valve-closed)
73
+ - [Valve Closed Static](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-automation-button--valve-closed-static)
74
+ - [Valve No Labels](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-automation-button--valve-no-labels)
75
+ - [Switch On](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-automation-button--switch-on)
76
+ - [Switch Off](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-automation-button--switch-off)
77
+ - [Damper On](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-automation-button--damper-on)
78
+ - [Damper Off](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-automation-button--damper-off)
79
+ - [Damper Badges](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-automation-button--damper-badges)
80
+ - [Motor On](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-automation-button--motor-on)
81
+ - [Motor Off](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-automation-button--motor-off)
82
+ - [Three Way Valve Open Right](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-automation-button--three-way-valve-open-right)
83
+
84
+ ## See also
85
+
86
+ - [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)
@@ -0,0 +1,48 @@
1
+ # `<obc-automation-input-modal>`
2
+
3
+ Modal layout for an automation input: a header, a preview and two action slots.
4
+
5
+ Lifecycle: experimental. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/automation-automation-control--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/automation/automation-input-modal/automation-input-modal.ts)
6
+
7
+ `<obc-automation-input-modal>` – Modal layout for an automation input: a
8
+ header, a preview and two action slots. Every control is slotted.
9
+
10
+ ## Keyboard
11
+ APG modal dialog (https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/):
12
+ the modal has no open state, so rendering it opens it and removing it
13
+ closes it. Focus lands on the dialog on connect, `Tab` and `Shift+Tab`
14
+ cycle over the slotted controls, `Escape` fires `close-click`, and focus
15
+ returns to the opener on disconnect. The dialog is named by `aria-label`
16
+ when set, else by its header, which then has to carry text.
17
+
18
+ Left out: a description (`aria-describedby`); the dialog is announced by
19
+ its name only.
20
+
21
+ ## Properties
22
+
23
+ | Property | Attribute | Type | Default | Description |
24
+ | --- | --- | --- | --- | --- |
25
+ | ariaLabel | aria-label | `string \| null` | `null` | Accessible name of the dialog, mapped to the `aria-label` attribute. Without it the header slot names the dialog, so an icon-only header needs it. |
26
+
27
+ ## Events
28
+
29
+ | Event | Type | Description |
30
+ | --- | --- | --- |
31
+ | close-click | `CustomEvent<void>` | Fired when `Escape` is pressed; the host removes the modal. |
32
+
33
+ ## Slots
34
+
35
+ | Slot | Description |
36
+ | --- | --- |
37
+ | header | Header content shown at the top of the modal. |
38
+ | preview | Preview content shown in the body of the modal. |
39
+ | action-primary | Primary action control shown in the actions row. |
40
+ | action-secondary | Secondary action control shown in the actions row. |
41
+
42
+ ## Stories
43
+
44
+ - [Compact](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-control--compact)
45
+
46
+ ## See also
47
+
48
+ - [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)
@@ -0,0 +1,32 @@
1
+ # `<obc-automation-readout>`
2
+
3
+ No summary yet.
4
+
5
+ Lifecycle: experimental. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/automation-readouts-readout--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/automation/automation-readout/automation-readout.ts)
6
+
7
+ ## Properties
8
+
9
+ | Property | Attribute | Type | Default | Description |
10
+ | --- | --- | --- | --- | --- |
11
+ | value | value | `number` | `0` | |
12
+ | unit | unit | `string` | `''` | |
13
+ | numberOfDigits | numberOfDigits | `number` | `3` | |
14
+ | position | position | `AutomationReadoutPosition` | | |
15
+ | lineType | lineType | `LineType \| undefined` | `undefined` | |
16
+
17
+ ## Events
18
+
19
+ | Event | Type | Description |
20
+ | --- | --- | --- |
21
+ | click | | Fired when the readout is clicked. |
22
+
23
+ ## Slots
24
+
25
+ None.
26
+
27
+ ## Stories
28
+
29
+ - [Usage With Pipe Bottom](https://openbridge-next-storybook.web.app/?path=/story/automation-readouts-readout--usage-with-pipe-bottom)
30
+ - [Usage With Pipe Top](https://openbridge-next-storybook.web.app/?path=/story/automation-readouts-readout--usage-with-pipe-top)
31
+ - [Usage With Pipe Left](https://openbridge-next-storybook.web.app/?path=/story/automation-readouts-readout--usage-with-pipe-left)
32
+ - [Usage With Pipe Right](https://openbridge-next-storybook.web.app/?path=/story/automation-readouts-readout--usage-with-pipe-right)
@@ -0,0 +1,156 @@
1
+ # `<obc-automation-tank>`
2
+
3
+ Setpoint properties are inherited from SetpointMixin (`setpoint`, `newSetpoint`, `touching`, `atSetpoint`, `autoAtSetpoint`, `autoAtSetpointDeadband`, `setpointAtZeroDeadband`, `setpointOverride`, `animateSetpoint`) and are forwarded to the embedded chart: the SVG bar in `bar` mode, or `obc-gauge-trend` in the graph modes (where the marker renders on the side bar, i.e.
4
+
5
+ Lifecycle: beta. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/automation-tanks-tank--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/automation/automation-tank/automation-tank.ts)
6
+
7
+ Setpoint properties are inherited from SetpointMixin
8
+ (`setpoint`, `newSetpoint`, `touching`, `atSetpoint`, `autoAtSetpoint`,
9
+ `autoAtSetpointDeadband`, `setpointAtZeroDeadband`, `setpointOverride`,
10
+ `animateSetpoint`) and are forwarded to the embedded chart: the SVG bar in
11
+ `bar` mode, or `obc-gauge-trend` in the graph modes (where the marker
12
+ renders on the side bar, i.e. `graph-and-bar`). Values share the tank's
13
+ `value` / `max` scale.
14
+
15
+ ## Properties
16
+
17
+ | Property | Attribute | Type | Default | Description |
18
+ | --- | --- | --- | --- | --- |
19
+ | medium | medium | `LineMedium` | | |
20
+ | value | value | `number` | `0` | |
21
+ | max | max | `number` | `100` | |
22
+ | trend | trend | `TankTrend` | | |
23
+ | type | type | `TankType` | | |
24
+ | orientation | orientation | `TankOrientation` | | |
25
+ | compact | compact | `boolean` | `false` | |
26
+ | positioning | positioning | `TankPositioning` | | Host positioning model — see `TankPositioning` for details. Defaults to `button` (host fills parent container, 100% × 100%, falling back to the design aspect ratio on any axis the parent leaves indefinite, no anchor offset). Set to `point` for the legacy P&ID canvas mode (fixed default dimensions + top-center anchor offset). |
27
+ | static | static | `boolean` | `false` | Display-only variant for a device whose current state is unknown: the chart cell is hidden, the bordered area is filled with `--container-section-color` and the readout is centred inside it. Always compact-sized, so it overrides `compact`, and it renders as a `<div role="img">` — outside the tab order and not announced as a control. |
28
+ | clickable | | `boolean` | `true` | Whether the tank is interactive. `true` renders the root as a `<button>` with the flat-mixin interaction surface; `false` renders a `<div>` that keeps the resting appearance (the mixin's `noClick` variant) but loses hover, pressed and focus-visible and leaves the tab order. Everything else — chart, badges, readout, tag and the alert frame — still renders, so use it for a display-only tank that shows live data. No effect on a `static` tank, which is already non-interactive. |
29
+ | activated | activated | `boolean` | `false` | Enables the activated background color, used to indicate that the tank is activated/selected. Requires an interactive tank — the `noClick` mixin variant used when `clickable` is `false` only paints the enabled state, so a non-clickable tank ignores this (matching `obc-elevated-card`). Available when `clickable==true`. |
30
+ | tag | tag | `string` | `''` | |
31
+ | chartMode | chart-mode | `TankChartMode` | | Chart cell rendering mode: `bar` (default) is a static fill bar driven by `value` and `max`, `graph` embeds an `obc-gauge-trend` line/area chart, and `graphAndBar` embeds one with an integrated side bar. |
32
+ | chartData | | `ChartLineDataItem[]` | `[]` | Time-series data points for the embedded gauge-trend (graph modes only). |
33
+ | priority | priority | `Priority` | | Priority hint forwarded to child charts (regular \| enhanced). |
34
+ | advice | | `AdviceInput[] \| undefined` | | Advice overlays. Forwarded to the embedded `obc-gauge-trend` in `graph` / `graph-and-bar` modes, or rendered as pills over the static bar in `bar` mode. |
35
+ | hasAdvice | hasAdvice | `boolean` | `false` | Show advice overlays (works in all `chartMode` variants). |
36
+ | hasGraphIcon | | `boolean` | `false` | Overlays a decorative icon centred on the chart cell — the energy-battery icon for a battery tank, the generic tank icon otherwise. Works in every `chartMode` and both orientations; the icon sits in a fixed CSS layer above the bar or graph and is silhouetted so it stays legible on any fill, and its size follows the ambient `obc-component-size-*` class. |
37
+ | alert | alert | `boolean` | `false` | Show an `<obc-alert-frame>` overlay around the bordered tank area (the `.halo` wrapper). Mirrors the API of `obc-automation-button`: same seven properties, same three slots (`alert-icon`, `alert-label`, `alert-timer`). The ring overlays `.halo` only, so the tag and readout that sit outside the halo in compact / static layouts remain unaffected. |
38
+ | alertFrameType | alertFrameType | `ObcAlertFrameType` | | Shape of the alert frame. Available when `alert==true`. |
39
+ | alertFrameThickness | alertFrameThickness | `ObcAlertFrameThickness` | | Thickness of the alert frame. Available when `alert==true`. |
40
+ | alertFrameStatus | alertFrameStatus | `AlertType` | | Alert status the frame is coloured for. Available when `alert==true`. |
41
+ | alertFrameMode | alertFrameMode | `ObcAlertFrameMode` | | Acknowledgement state of the alert: `acked-active` (default) is steady, `unacked-active` flashes, `unacked-rectified` flashes a dashed frame. Available when `alert==true`. |
42
+ | showAlertCategoryIcon | | `boolean` | `true` | Shows the alert category icon inside the frame. Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. |
43
+ | showAlertIcon | showAlertIcon | `boolean` | `false` | Shows the slotted alert icon inside the frame. Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. |
44
+ | showTrendSymbol | | `boolean` | `true` | Show the trend chevron / off icon next to the percent readout. Default `true` preserves existing behavior. Set to `false` to hide the trend indicator in both compact and non-compact readouts — useful when the trend is not meaningful for a given tank, or when the consumer wants to keep the readout compact. Has no effect in `static` mode, which renders the tank's capacity (`max` + `unit`) instead of a percent and intentionally omits the trend indicator (a static tank represents "device present, current state unknown"). `attribute: false` per the repo's positive-default-true boolean convention. |
45
+ | percentFractionDigits | percentFractionDigits | `number` | `0` | Number of fraction digits used to format the percent readout in the non-compact (regular) layout. Defaults to `0` (integer percent). The compact layout always renders integer percent to keep its fixed-width footprint stable. The static layout renders capacity (`max` + `unit`) rather than percent, so this property has no effect there — pass a pre-formatted value through the `max-value` slot if fractional precision is needed (see the `WithFractionDigits` story). |
46
+ | badgeControl | badgeControl | `AutomationButtonBadgeControl` | | Control badge rendered in the `badges` cell. A non-`None` value renders an `<obc-automation-badge>` as fallback content for the `badges` slot, so any slotted content wins. The cell orders the four badges control, alert, interlock, commandLocked, left to right. |
47
+ | badgeAlert | badgeAlert | `AutomationButtonBadgeAlert` | | |
48
+ | badgeInterlock | badgeInterlock | `AutomationButtonBadgeInterlock` | | |
49
+ | badgeCommandLocked | badgeCommandLocked | `AutomationButtonBadgeCommandLocked` | | |
50
+ | badgeSymbolOverride | | `AutomationBadgeSymbolOverride \| undefined` | `undefined` | Letters that replace badge symbols on this device, per badge property and value, on top of the app-wide ones set with `setAutomationBadgeSymbolOverride()`; for example `{commandLocked: {simulation: 's'}}`. `null` brings the symbol back. |
51
+ | advices | advices | `AdviceInput[]` | `[]` | Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. |
52
+ | adviceTrigger | adviceTrigger | `AdviceTrigger` | | Which readings trigger an advice: the value, the setpoint, or either. Available when `adviceTrigger advices!=[]`. |
53
+ | adviceEmphasis | adviceEmphasis | `boolean` | `false` | The design's go-to / no-go emphasis rules. Available when `adviceEmphasis advices!=[]`. |
54
+ | setpoint | setpoint | `number \| undefined` | | Target setpoint value. `undefined` = no setpoint marker shown. |
55
+ | newSetpoint | newSetpoint | `number \| undefined` | | Adjustment preview for 2-step interface. When defined, two markers are shown: original (dimmed) + new (focus). Available when `setpoint!=undefined`. |
56
+ | atSetpoint | | `boolean` | `false` | Manual at-setpoint override (used when `autoAtSetpoint` is false). Available when `setpoint!=undefined && autoAtSetpoint==false`. |
57
+ | touching | touching | `boolean` | `false` | User is physically interacting with the control. Suppresses at-setpoint calculation and triggers focus visual. Available when `setpoint!=undefined`. |
58
+ | autoAtSetpoint | | `boolean` | `true` | When false, uses manual `atSetpoint` boolean instead of auto-calculation. Available when `setpoint!=undefined`. |
59
+ | autoAtSetpointDeadband | autoAtSetpointDeadband | `number` | `defaultDeadband` | Tolerance for auto at-setpoint detection. Available when `setpoint!=undefined && autoAtSetpoint==true`. |
60
+ | setpointAtZeroDeadband | setpointAtZeroDeadband | `number` | `defaultZeroDeadband` | Tolerance for zero-snap visual state. Available when `setpoint!=undefined`. |
61
+ | setpointOverride | setpointOverride | `boolean` | `false` | Override to derive the setpoint color from the instrument's `priority` regardless of instrument state. Available when `setpoint!=undefined`. |
62
+ | animateSetpoint | animateSetpoint | `boolean` | `false` | Enable CSS-animated confirm transition. Available when `setpoint!=undefined`. |
63
+ | departingNewSetpoint | | `number \| undefined` | | Public getter for renderers/wrappers to access the departing value. |
64
+
65
+ ## Events
66
+
67
+ | Event | Type | Description |
68
+ | --- | --- | --- |
69
+ | click | | Fired when the tank is clicked. When `clickable` is `false` the tank renders a plain `<div>`, and in `static` mode a `<div role="img">`, instead of a `<button>` — in both cases it is not focusable or keyboard-activatable; pointer clicks still reach the host. |
70
+
71
+ ## Slots
72
+
73
+ | Slot | Description |
74
+ | --- | --- |
75
+ | badges | Custom badges to be displayed in the badge area. |
76
+ | tag | Text or element for the tank's tag/label. |
77
+ | readout | Replaces the entire readout content block. |
78
+ | max-value | Content for the capacity value. |
79
+ | unit | Content for the unit of measurement. |
80
+ | current-value | Content for the current level value. |
81
+ | rich | Detail rows below the main readout, shown in the regular (non-compact, non-static) layout. Slot an `<obc-readout-list>` of `<obc-readout-list-item>` rows — it owns the row typography and cross-row column alignment; the tank renders a divider above it automatically when the slot is filled. |
82
+ | alert-icon | Custom icon for the alert frame. |
83
+ | alert-label | Label for the alert frame. |
84
+ | alert-timer | Timer for the alert frame. |
85
+
86
+ ## Stories
87
+
88
+ - [Generic](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--generic)
89
+ - [Atmospheric With Badges](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--atmospheric-with-badges)
90
+ - [Atmospheric With Badge Letters](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--atmospheric-with-badge-letters)
91
+ - [Pressurized](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--pressurized)
92
+ - [Battery](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--battery)
93
+ - [Activated](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--activated): Activated tank — the `activated` background color is painted on the halo surround to indicate the tank is activated/selected. Mirrors the `activated` state of `obc-automation-button`.
94
+ - [Compact Activated](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--compact-activated): Compact activated tank — the activated background color also applies in the compact layout, where the halo wraps the badges, tank-frame, readout and tag cells.
95
+ - [Not Clickable](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--not-clickable): Display-only tank — `.clickable=${false}`. `clickable` is property-only (`attribute: false`), so it has to be set as a property; a `clickable="false"` attribute in plain HTML is not observed. The root renders as a `<div>` instead of a `<button>`, so there is no hover, pressed or focus-visible state and the tank is out of the tab order. Everything else is untouched: the resting surface keeps the same colors and the same 1px border box (the flat mixin's `noClick` variant paints the enabled state only), and the chart, badges, readout and tag all render exactly as on a clickable tank.
96
+
97
+ Use this for a tank that aggregates the ones beside it — a row total that
98
+ still shows live data but has nothing to open. Contrast with `static`,
99
+ which represents "device present, current state unknown": that one also
100
+ hides the chart, swaps the percent for capacity, and shrinks to the compact
101
+ footprint.
102
+ - [Compact Atmospheric](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--compact-atmospheric)
103
+ - [Horizontal Compact Atmospheric](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--horizontal-compact-atmospheric)
104
+ - [Static Atmospheric With Badges](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--static-atmospheric-with-badges)
105
+ - [Static Battery](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--static-battery)
106
+ - [Horizontal Static Atmospheric](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--horizontal-static-atmospheric)
107
+ - [Horizontal Atmospheric](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--horizontal-atmospheric)
108
+ - [Graph](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--graph)
109
+ - [Graph And Bar](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--graph-and-bar)
110
+ - [Horizontal Graph And Bar](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--horizontal-graph-and-bar)
111
+ - [Graph With Advice](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--graph-with-advice)
112
+ - [Bar With Advice](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--bar-with-advice)
113
+ - [Bar With Advice Icons](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--bar-with-advice-icons): The bar reserves the icon column beside its advice pills, so nothing overlaps the bar fill.
114
+ - [Graph And Bar With Advice Icons](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--graph-and-bar-with-advice-icons): The gauge trend inside the tank insets its chart by the bar's reported width, icon column included.
115
+ - [Advice Use Case (categories and area)](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--advice-use-case)
116
+ - [Compact With Setpoint](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--compact-with-setpoint): Setpoint marker on the compact tank bar — the marker renders on the SVG bar via the shared setpoint system. Values share the tank's `value` / `max` scale. Matches the Figma "Tank Generic" small variant, which includes a setpoint indicator on the tank bar.
117
+ - [Graph And Bar With Setpoint](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--graph-and-bar-with-setpoint): Setpoint marker in `graph-and-bar` mode — forwarded to the embedded `obc-gauge-trend`, which renders it on its side bar.
118
+ - [Bar With Graph Icon](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--bar-with-graph-icon)
119
+ - [Horizontal Graph And Bar With Graph Icon](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--horizontal-graph-and-bar-with-graph-icon)
120
+ - [Battery With Graph Icon](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--battery-with-graph-icon): Battery tank with the decorative graph icon enabled — renders an `<obi-energy-battery>` instead of the default tank silhouette.
121
+ - [Rich](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--rich)
122
+ - [Horizontal Rich](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--horizontal-rich)
123
+ - [With Fraction Digits](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--with-fraction-digits): Demonstrates fractional precision in the non-compact readout. The percent readout is controlled by the `percentFractionDigits` property (here `1`, yielding e.g. `25.0%`). The absolute value / max readouts are formatted by the consumer through the `current-value` and `max-value` slots — the component's default rendering uses `.toFixed(0)`, so any decimals must be supplied by the slotted markup. A custom `unit` slot is used too (litres instead of m³).
124
+
125
+ The compact / static layouts only show the percent (no absolute value)
126
+ and always render it as an integer to keep their fixed-width footprint
127
+ stable, so fraction-digit control only applies to the non-compact layout.
128
+
129
+ The rich detail rows are now consumer-slotted (`slot="rich"`, canonically an
130
+ `<obc-readout-list>`); each `<obc-readout-list-item>` owns its own
131
+ `fractionDigits`, so `percentFractionDigits` no longer affects them.
132
+ - [With Alert Alarm](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--with-alert-alarm): Alarm-status alert frame on a vertical atmospheric tank. The ring overlays the halo (bordered tank area only); the readout and tag below it remain visually unaffected. The label is slotted via `alert-label`.
133
+ - [Not Clickable With Alert](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--not-clickable-with-alert): A non-clickable tank still raises its alert frame — `clickable` governs the interaction surface only, not what the tank is allowed to display. The chart keeps rendering too, which is the difference from `static`.
134
+ - [With Alert Warning Horizontal](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--with-alert-warning-horizontal): Warning-status alert on a horizontal atmospheric tank — demonstrates the ring tracks the tank's host orientation correctly.
135
+ - [With Alert Caution Compact](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--with-alert-caution-compact): Caution-status alert on a compact tank — the ring includes the badges row because `.halo` wraps both badges and the tank-frame in compact mode.
136
+ - [With Alert Level Critical](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--with-alert-level-critical)
137
+ - [With Alert Level Diagnostic](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--with-alert-level-diagnostic)
138
+ - [Dashboard Row](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--dashboard-row): A dashboard row of tanks in a flex container — the layout family that `positioning="button"` exists for, and the one that regressed in issue #1121.
139
+
140
+ Each cell is a flex item sized with `min-height` / `max-height` rather than
141
+ `height`, and the tank inside it is centered on the cross axis. Both of those
142
+ leave an axis indefinite, so the tank cannot take its size from the parent
143
+ alone; it falls back to the design aspect ratio instead of sizing to its own
144
+ content. Sizing to content would be circular — the chart derives its pixel
145
+ size from the cell it was measured in — and used to surface as tanks that
146
+ collapsed, grew without bound, or oscillated by a few pixels forever.
147
+
148
+ Pin both axes on the parent whenever the exact footprint matters; the
149
+ fallback keeps the layout stable, it does not guess the size you wanted.
150
+ - [Responsive](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-tank--responsive)
151
+
152
+ ## See also
153
+
154
+ - [Advice System](https://openbridge-next-storybook.web.app/docs/introduction-advice-system.md)
155
+ - [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)
156
+ - [Migration Guide 2.1 to 2.2](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide-2-1-to-2-2.md)
@@ -0,0 +1,56 @@
1
+ # `<obc-azimuth-thruster-labeled>`
2
+
3
+ No summary yet.
4
+
5
+ Lifecycle: deprecated. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/instruments-azimuth-thruster-labeled--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/navigation-instruments/azimuth-thruster-labeled/azimuth-thruster-labeled.ts)
6
+
7
+ ## Properties
8
+
9
+ | Property | Attribute | Type | Default | Description |
10
+ | --- | --- | --- | --- | --- |
11
+ | label | label | `string` | `''` | |
12
+ | commandStatus | commandStatus | `CommandStatus` | | |
13
+ | size | size | `AzimuthThrusterLabeledSize` | | |
14
+ | readoutSize | readoutSize | `ReadoutBlockSize` | | |
15
+ | angle | angle | `number` | `0` | |
16
+ | angleSetpoint | angleSetpoint | `number \| undefined` | | |
17
+ | newAngleSetpoint | newAngleSetpoint | `number \| undefined` | | Available when `angleSetpoint!=undefined`. |
18
+ | atAngleSetpoint | atAngleSetpoint | `boolean` | `false` | Available when `angleSetpoint!=undefined && autoAtAngleSetpoint==false`. |
19
+ | angleSetpointAtZeroDeadband | angleSetpointAtZeroDeadband | `number` | `0.5` | Available when `angleSetpoint!=undefined`. |
20
+ | angleSetpointOverride | angleSetpointOverride | `boolean` | `false` | Available when `angleSetpoint!=undefined`. |
21
+ | autoAtAngleSetpoint | | `boolean` | `true` | Available when `angleSetpoint!=undefined`. |
22
+ | autoAtAngleSetpointDeadband | autoAtAngleSetpointDeadband | `number` | `2` | Available when `angleSetpoint!=undefined && autoAtAngleSetpoint==true`. |
23
+ | touching | touching | `boolean` | `false` | Available when `angleSetpoint!=undefined \|\| thrustSetpoint!=undefined`. |
24
+ | thrust | thrust | `number` | `0` | |
25
+ | thrustSetpoint | thrustSetpoint | `number \| undefined` | | |
26
+ | atThrustSetpoint | atThrustSetpoint | `boolean` | `false` | Available when `thrustSetpoint!=undefined && autoAtThrustSetpoint==false`. |
27
+ | autoAtThrustSetpoint | | `boolean` | `true` | Available when `thrustSetpoint!=undefined`. |
28
+ | autoAtThrustSetpointDeadband | autoAtThrustSetpointDeadband | `number` | `1` | Available when `thrustSetpoint!=undefined && autoAtThrustSetpoint==true`. |
29
+ | thrustSetpointAtZeroDeadband | thrustSetpointAtZeroDeadband | `number` | `0.1` | Available when `thrustSetpoint!=undefined`. |
30
+ | thrustSetpointOverride | thrustSetpointOverride | `boolean` | `false` | Available when `thrustSetpoint!=undefined`. |
31
+ | angleAdvices | | `AdviceInput[]` | `[]` | |
32
+ | thrustAdvices | | `AdviceInput[]` | `[]` | |
33
+ | adviceTrigger | adviceTrigger | `AdviceTrigger` | | Which readings trigger an advice on both axes: the value, the setpoint, or either (the default). |
34
+ | adviceEmphasis | adviceEmphasis | `boolean` | `false` | The design's emphasis rules between go-to and no-go bands, off by default. |
35
+ | tickmarkStyle | tickmarkStyle | `TickmarkStyle` | | |
36
+ | singleDirection | singleDirection | `boolean` | `false` | |
37
+ | topPropeller | topPropeller | `PropellerType` | | |
38
+ | bottomPropeller | bottomPropeller | `PropellerType` | | |
39
+
40
+ ## Events
41
+
42
+ None.
43
+
44
+ ## Slots
45
+
46
+ None.
47
+
48
+ ## Stories
49
+
50
+ - [Medium](https://openbridge-next-storybook.web.app/?path=/story/instruments-azimuth-thruster-labeled--medium)
51
+ - [Large](https://openbridge-next-storybook.web.app/?path=/story/instruments-azimuth-thruster-labeled--large)
52
+ - [Not In Command](https://openbridge-next-storybook.web.app/?path=/story/instruments-azimuth-thruster-labeled--not-in-command)
53
+
54
+ ## See also
55
+
56
+ - [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)