@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,79 @@
1
+ # `<obc-heat-pump>`
2
+
3
+ HVAC tile for a heat pump.
4
+
5
+ Lifecycle: beta. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/automation-tanks-heat-pump--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/automation/heat-pump/heat-pump.ts)
6
+
7
+ `<obc-heat-pump>` – HVAC tile for a heat pump.
8
+
9
+ A 152×96 rounded frame whose graphic area splits vertically — hot on the
10
+ left, cold on the right — around a centered heat-pump icon, with an
11
+ optional badge row above the frame and a tag readout below it.
12
+
13
+ ## Features / Variants
14
+ - `medium` selects the graphic area: one grey area (`regular`), two grey
15
+ halves (`graphic`) or hot/cold halves (`medium`).
16
+ - `static` renders a flat, display-only tile with a bare icon.
17
+ - Enum-driven badges (`badgeControl`, `badgeAlert`, `badgeInterlock`,
18
+ `badgeCommandLocked`) or the `badges` slot fill the badge row; it
19
+ collapses when empty, as does the tag cell.
20
+ - Alert-frame overlay with the same seven properties and three slots as
21
+ `obc-automation-tank`.
22
+ - `positioning`, `clickable` and `activated` behave as on
23
+ `obc-automation-tank`.
24
+
25
+ ## Usage Guidelines
26
+ Use for heat pumps in automation system views. For hydraulic separators use
27
+ `obc-hydraulic-separator` and for heat exchangers `obc-heat-exchanger`;
28
+ the three tiles differ only in footprint, icon and split geometry.
29
+
30
+ ## Properties
31
+
32
+ | Property | Attribute | Type | Default | Description |
33
+ | --- | --- | --- | --- | --- |
34
+ | medium | medium | `SpecialtyTankMedium` | | What the graphic area shows: `regular` (one grey area), `graphic` (two grey halves) or `medium` (hot/cold halves). |
35
+ | static | static | `boolean` | `false` | Display-only tile with a flat grey frame and a bare icon, rendered as a non-interactive `<div role="img">`. Hides the graphic area. |
36
+ | showIcon | | `boolean` | `true` | Show the equipment icon centered on the graphic area. |
37
+ | tag | tag | `string` | `''` | Identifier rendered in the tag readout below the frame (for example `#0000`); also the accessible name. The cell collapses when empty. |
38
+ | positioning | positioning | `TankPositioning` | | Host positioning model — see `TankPositioning`. `button` (default) fills the parent, `point` uses the fixed design footprint with the P&ID anchor. |
39
+ | clickable | | `boolean` | `true` | Whether the tile is interactive. `false` keeps the resting appearance but drops hover, pressed and focus states and leaves the tab order; property-only because the default is `true`. |
40
+ | activated | activated | `boolean` | `false` | Paints the activated background on the halo. Needs an interactive tile. Available when `clickable==true`. |
41
+ | badgeControl | badgeControl | `AutomationButtonBadgeControl` | | Mode badge (auto / manual / local variants), first in the badge row. |
42
+ | badgeAlert | badgeAlert | `AutomationButtonBadgeAlert` | | Alert badge, second in the badge row. |
43
+ | badgeInterlock | badgeInterlock | `AutomationButtonBadgeInterlock` | | Interlock badge, third in the badge row. |
44
+ | badgeCommandLocked | badgeCommandLocked | `AutomationButtonBadgeCommandLocked` | | Command-locked badge, last in the badge row. |
45
+ | 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. |
46
+ | alert | alert | `boolean` | `false` | Show an alert-frame overlay around the halo, mirroring `obc-automation-tank`. |
47
+ | alertFrameType | alertFrameType | `ObcAlertFrameType` | | Shape of the alert frame. Available when `alert==true`. |
48
+ | alertFrameThickness | alertFrameThickness | `ObcAlertFrameThickness` | | Thickness of the alert frame. Available when `alert==true`. |
49
+ | alertFrameStatus | alertFrameStatus | `AlertType` | | Alert status the frame is coloured for. Available when `alert==true`. |
50
+ | 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`. |
51
+ | showAlertCategoryIcon | | `boolean` | `true` | Shows the alert category icon inside the frame. Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. |
52
+ | showAlertIcon | showAlertIcon | `boolean` | `false` | Shows the slotted alert icon inside the frame. Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. |
53
+
54
+ ## Events
55
+
56
+ | Event | Type | Description |
57
+ | --- | --- | --- |
58
+ | click | | Fired when the tile is clicked. When `clickable` is `false` the tile 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. |
59
+
60
+ ## Slots
61
+
62
+ | Slot | Description |
63
+ | --- | --- |
64
+ | badges | Custom badges, overriding the enum-driven defaults. |
65
+ | tag | Text or element replacing the `tag` property readout. |
66
+ | alert-icon | Custom icon for the alert frame. |
67
+ | alert-label | Label for the alert frame. |
68
+ | alert-timer | Timer for the alert frame. |
69
+
70
+ ## Stories
71
+
72
+ - [Default](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-heat-pump--default)
73
+ - [Graphic](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-heat-pump--graphic)
74
+ - [Medium](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-heat-pump--medium)
75
+ - [Static](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-heat-pump--static)
76
+ - [Without Icon](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-heat-pump--without-icon)
77
+ - [With Badges](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-heat-pump--with-badges)
78
+ - [With Badge Letters](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-heat-pump--with-badge-letters)
79
+ - [With Alert](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-heat-pump--with-alert)
@@ -0,0 +1,38 @@
1
+ # `<obc-heave-indicator>`
2
+
3
+ A compact vertical position indicator with a fixed track and a moving vessel highlight.
4
+
5
+ Lifecycle: stable. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/indicators-heave-indicator--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/navigation-instruments/heave-indicator/heave-indicator.ts)
6
+
7
+ `<obc-heave-indicator>` – A compact vertical position indicator with a fixed track and a moving vessel highlight.
8
+
9
+ Visualizes a single instantaneous normalized value using a compact track-and-marker layout.
10
+
11
+ ## Features
12
+
13
+ - **Normalized value:** `value` in `[-1, 1]` maps directly to vertical position.
14
+ - **Variants:** `enhanced` and `regular` change the accent color.
15
+
16
+ ## Usage Guidelines
17
+
18
+ Use when you need a small heave cue next to other compact indicators.
19
+
20
+ ## Properties
21
+
22
+ | Property | Attribute | Type | Default | Description |
23
+ | --- | --- | --- | --- | --- |
24
+ | type | type | `HeaveIndicatorType` | | |
25
+ | value | value | `number` | `0` | |
26
+
27
+ ## Events
28
+
29
+ None.
30
+
31
+ ## Slots
32
+
33
+ None.
34
+
35
+ ## Stories
36
+
37
+ - [Enhanced](https://openbridge-next-storybook.web.app/?path=/story/indicators-heave-indicator--enhanced)
38
+ - [Regular](https://openbridge-next-storybook.web.app/?path=/story/indicators-heave-indicator--regular)
@@ -0,0 +1,60 @@
1
+ # `<obc-heave>`
2
+
3
+ Vertical heave indicator.
4
+
5
+ Lifecycle: stable. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/instruments-heave--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/navigation-instruments/heave/heave.ts)
6
+
7
+ `<obc-heave>` — Vertical heave indicator.
8
+
9
+ Shows `heave` on a linear scale with a trend band, optional advice zones and
10
+ a `regular`/`enhanced` palette.
11
+
12
+ Variants (`type`):
13
+ - `vessel` (default) — the scale beside a framed box holding a vessel
14
+ silhouette that rises and falls with the measured heave.
15
+ - `bar` — the scale column alone, for use beside another instrument or in a
16
+ narrow strip. The host is 128×384 rather than square.
17
+
18
+ ## Properties
19
+
20
+ | Property | Attribute | Type | Default | Description |
21
+ | --- | --- | --- | --- | --- |
22
+ | heave | heave | `number` | `0` | |
23
+ | gainScale | gainScale | `number` | `10` | Available when `type==vessel`. |
24
+ | minTrendHeave | minTrendHeave | `number` | `0` | |
25
+ | maxTrendHeave | maxTrendHeave | `number` | `0` | |
26
+ | draftOffset | draftOffset | `number` | `0` | Available when `type==vessel`. |
27
+ | advice | advice | `AdviceInput[] \| undefined` | | Alias of `advices`: ranges and points in the heave unit, resolved against the trend band. |
28
+ | instrumentRange | instrumentRange | `number` | `10` | |
29
+ | vesselImage | vesselImage | `VesselImage` | | Available when `type==vessel`. |
30
+ | vesselImageSrc | | `VesselImageSrc \| undefined` | | Image URLs per palette (`{bright, day, dusk, night}`, SVG, PNG or data URLs) drawn instead of `vesselImage` in the same 160 × 160 box. A palette without a URL falls back to the nearest one (see `VesselImageSrc`). Available when `type==vessel`. |
31
+ | priority | priority | `Priority` | | |
32
+ | type | type | `ObcHeaveType` | | `vessel` (default) frames the scale next to a vessel silhouette; `bar` renders the scale column on its own. |
33
+ | advices | advices | `AdviceInput[]` | `[]` | Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. |
34
+ | adviceTrigger | adviceTrigger | `AdviceTrigger` | | Which readings trigger an advice: the value, the setpoint, or either. Available when `adviceTrigger advices!=[]`. |
35
+ | adviceEmphasis | adviceEmphasis | `boolean` | `false` | The design's go-to / no-go emphasis rules. Available when `adviceEmphasis advices!=[]`. |
36
+
37
+ ## Events
38
+
39
+ None.
40
+
41
+ ## Slots
42
+
43
+ None.
44
+
45
+ ## Stories
46
+
47
+ - [Regular](https://openbridge-next-storybook.web.app/?path=/story/instruments-heave--regular)
48
+ - [Enhanced](https://openbridge-next-storybook.web.app/?path=/story/instruments-heave--enhanced)
49
+ - [Advice](https://openbridge-next-storybook.web.app/?path=/story/instruments-heave--advice)
50
+ - [Bar](https://openbridge-next-storybook.web.app/?path=/story/instruments-heave--bar)
51
+ - [Bar Enhanced](https://openbridge-next-storybook.web.app/?path=/story/instruments-heave--bar-enhanced)
52
+ - [Bar Advice](https://openbridge-next-storybook.web.app/?path=/story/instruments-heave--bar-advice)
53
+ - [With Custom Vessel Image](https://openbridge-next-storybook.web.app/?path=/story/instruments-heave--with-custom-vessel-image)
54
+ - [Advice Icons](https://openbridge-next-storybook.web.app/?path=/story/instruments-heave--advice-icons): The icon beside the band on the linear instrument, triggered by the trend band.
55
+ - [Fish Cage](https://openbridge-next-storybook.web.app/?path=/story/instruments-heave--fish-cage): The fish cage seen from the side, the way Figma 47546:222683 shows it on the heave instrument.
56
+
57
+ ## See also
58
+
59
+ - [Advice System](https://openbridge-next-storybook.web.app/docs/introduction-advice-system.md)
60
+ - [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,29 @@
1
+ # `<obc-horizontal-line>`
2
+
3
+ No summary yet.
4
+
5
+ Lifecycle: deprecated. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/automation-line-horizontal-line--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/automation/horizontal-line/horizontal-line.ts)
6
+
7
+ ## Properties
8
+
9
+ | Property | Attribute | Type | Default | Description |
10
+ | --- | --- | --- | --- | --- |
11
+ | medium | medium | `LineMedium` | | |
12
+ | lineType | lineType | `LineType` | | |
13
+ | length | length | `number` | `1` | |
14
+
15
+ ## Events
16
+
17
+ None.
18
+
19
+ ## Slots
20
+
21
+ None.
22
+
23
+ ## Stories
24
+
25
+ - [Primary](https://openbridge-next-storybook.web.app/?path=/story/automation-line-horizontal-line--primary)
26
+
27
+ ## See also
28
+
29
+ - [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)
@@ -0,0 +1,36 @@
1
+ # `<obc-hydraulic-check-valve>`
2
+
3
+ Static check valve symbol.
4
+
5
+ Lifecycle: experimental. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/automation-hydraulic-valves-check-valve--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/automation/hydraulic-check-valve/hydraulic-check-valve.ts)
6
+
7
+ `<obc-hydraulic-check-valve>` – Static check valve symbol.
8
+
9
+ Renders the check valve symbol in the same thumb-on-track visual style as
10
+ the position-selector valve components, sized to a single slot (48px at
11
+ regular size). A check valve has no selectable positions, so the component
12
+ is display-only and not focusable.
13
+
14
+ ## Usage Guidelines
15
+ Use alongside `<obc-hydraulic-valve-4-3>` and `<obc-hydraulic-valve-x-2>`
16
+ for consistent styling of valves without switchable positions.
17
+
18
+ ## Properties
19
+
20
+ | Property | Attribute | Type | Default | Description |
21
+ | --- | --- | --- | --- | --- |
22
+ | ariaLabel | ariaLabel | `string` | `'Check valve'` | Accessible name for the symbol. |
23
+ | vertical | vertical | `boolean` | `false` | Rotates the symbol 90° counter-clockwise to match a vertical flow path. |
24
+
25
+ ## Events
26
+
27
+ None.
28
+
29
+ ## Slots
30
+
31
+ None.
32
+
33
+ ## Stories
34
+
35
+ - [Default](https://openbridge-next-storybook.web.app/?path=/story/automation-hydraulic-valves-check-valve--default)
36
+ - [Vertical](https://openbridge-next-storybook.web.app/?path=/story/automation-hydraulic-valves-check-valve--vertical)
@@ -0,0 +1,80 @@
1
+ # `<obc-hydraulic-separator>`
2
+
3
+ HVAC tile for a hydraulic separator.
4
+
5
+ Lifecycle: beta. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/automation-tanks-hydraulic-separator--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/automation/hydraulic-separator/hydraulic-separator.ts)
6
+
7
+ `<obc-hydraulic-separator>` – HVAC tile for a hydraulic separator.
8
+
9
+ A 56×142 pressurized-tank silhouette whose graphic area splits
10
+ horizontally — hot on top, cold below — around a centered
11
+ hydraulic-separator icon, with an optional badge row above the frame and a
12
+ tag readout below it.
13
+
14
+ ## Features / Variants
15
+ - `medium` selects the graphic area: one grey area (`regular`), two grey
16
+ halves (`graphic`) or hot/cold halves (`medium`).
17
+ - `static` renders a flat, display-only tile with a bare icon.
18
+ - Enum-driven badges (`badgeControl`, `badgeAlert`, `badgeInterlock`,
19
+ `badgeCommandLocked`) or the `badges` slot fill the badge row; it
20
+ collapses when empty, as does the tag cell.
21
+ - Alert-frame overlay with the same seven properties and three slots as
22
+ `obc-automation-tank`.
23
+ - `positioning`, `clickable` and `activated` behave as on
24
+ `obc-automation-tank`.
25
+
26
+ ## Usage Guidelines
27
+ Use for hydraulic separators in automation system views. For heat pumps
28
+ use `obc-heat-pump` and for heat exchangers `obc-heat-exchanger`; the
29
+ three tiles differ only in footprint, icon and split geometry.
30
+
31
+ ## Properties
32
+
33
+ | Property | Attribute | Type | Default | Description |
34
+ | --- | --- | --- | --- | --- |
35
+ | medium | medium | `SpecialtyTankMedium` | | What the graphic area shows: `regular` (one grey area), `graphic` (two grey halves) or `medium` (hot/cold halves). |
36
+ | static | static | `boolean` | `false` | Display-only tile with a flat grey frame and a bare icon, rendered as a non-interactive `<div role="img">`. Hides the graphic area. |
37
+ | showIcon | | `boolean` | `true` | Show the equipment icon centered on the graphic area. |
38
+ | tag | tag | `string` | `''` | Identifier rendered in the tag readout below the frame (for example `#0000`); also the accessible name. The cell collapses when empty. |
39
+ | positioning | positioning | `TankPositioning` | | Host positioning model — see `TankPositioning`. `button` (default) fills the parent, `point` uses the fixed design footprint with the P&ID anchor. |
40
+ | clickable | | `boolean` | `true` | Whether the tile is interactive. `false` keeps the resting appearance but drops hover, pressed and focus states and leaves the tab order; property-only because the default is `true`. |
41
+ | activated | activated | `boolean` | `false` | Paints the activated background on the halo. Needs an interactive tile. Available when `clickable==true`. |
42
+ | badgeControl | badgeControl | `AutomationButtonBadgeControl` | | Mode badge (auto / manual / local variants), first in the badge row. |
43
+ | badgeAlert | badgeAlert | `AutomationButtonBadgeAlert` | | Alert badge, second in the badge row. |
44
+ | badgeInterlock | badgeInterlock | `AutomationButtonBadgeInterlock` | | Interlock badge, third in the badge row. |
45
+ | badgeCommandLocked | badgeCommandLocked | `AutomationButtonBadgeCommandLocked` | | Command-locked badge, last in the badge row. |
46
+ | 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. |
47
+ | alert | alert | `boolean` | `false` | Show an alert-frame overlay around the halo, mirroring `obc-automation-tank`. |
48
+ | alertFrameType | alertFrameType | `ObcAlertFrameType` | | Shape of the alert frame. Available when `alert==true`. |
49
+ | alertFrameThickness | alertFrameThickness | `ObcAlertFrameThickness` | | Thickness of the alert frame. Available when `alert==true`. |
50
+ | alertFrameStatus | alertFrameStatus | `AlertType` | | Alert status the frame is coloured for. Available when `alert==true`. |
51
+ | 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`. |
52
+ | showAlertCategoryIcon | | `boolean` | `true` | Shows the alert category icon inside the frame. Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. |
53
+ | showAlertIcon | showAlertIcon | `boolean` | `false` | Shows the slotted alert icon inside the frame. Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. |
54
+
55
+ ## Events
56
+
57
+ | Event | Type | Description |
58
+ | --- | --- | --- |
59
+ | click | | Fired when the tile is clicked. When `clickable` is `false` the tile 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. |
60
+
61
+ ## Slots
62
+
63
+ | Slot | Description |
64
+ | --- | --- |
65
+ | badges | Custom badges, overriding the enum-driven defaults. |
66
+ | tag | Text or element replacing the `tag` property readout. |
67
+ | alert-icon | Custom icon for the alert frame. |
68
+ | alert-label | Label for the alert frame. |
69
+ | alert-timer | Timer for the alert frame. |
70
+
71
+ ## Stories
72
+
73
+ - [Default](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-hydraulic-separator--default)
74
+ - [Graphic](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-hydraulic-separator--graphic)
75
+ - [Medium](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-hydraulic-separator--medium)
76
+ - [Static](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-hydraulic-separator--static)
77
+ - [Without Icon](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-hydraulic-separator--without-icon)
78
+ - [With Badges](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-hydraulic-separator--with-badges)
79
+ - [With Badge Letters](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-hydraulic-separator--with-badge-letters)
80
+ - [With Alert](https://openbridge-next-storybook.web.app/?path=/story/automation-tanks-hydraulic-separator--with-alert)
@@ -0,0 +1,71 @@
1
+ # `<obc-hydraulic-valve-4-3>`
2
+
3
+ Position selector symbol for a 4/3 directional valve.
4
+
5
+ Lifecycle: experimental. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/automation-hydraulic-valves-valve-4-3--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/automation/hydraulic-valve-4-3/hydraulic-valve-4-3.ts)
6
+
7
+ `<obc-hydraulic-valve-4-3>` – Position selector symbol for a 4/3 directional valve.
8
+
9
+ Shows the valve's three positions as icon thumbs on a shared track. The
10
+ selected position always occupies the fixed center slot; the other position
11
+ thumbs keep their logical order and shift to either side, so the component's
12
+ total width never changes (five 48px slots at regular size).
13
+
14
+ ## Features / Variants
15
+ - `type` selects the center-position symbol (five variants).
16
+ - `vertical` stacks the positions top to bottom and rotates the symbols to
17
+ match a vertical flow path.
18
+ - Controlled selection: clicking an option or pressing arrow keys fires
19
+ `position-selected` with the requested position; the application updates
20
+ `selectedPosition` once the change is confirmed.
21
+ - Scales with the component size classes (`obc-component-size-*`).
22
+
23
+ ## Usage Guidelines
24
+ Use to display and command the position of a 4/3 directional valve. For
25
+ two-position valves use `<obc-hydraulic-valve-x-2>`; for a static check
26
+ valve symbol use `<obc-hydraulic-check-valve>`. Bind `selectedPosition` to
27
+ the position the device reports, not to the last request, so the symbol
28
+ never shows a position the valve has not reached.
29
+
30
+ ## Events
31
+ - `position-selected` – Fired when the user requests a position (click or
32
+ arrow key). Detail: `{position: number}` (0 = left, 1 = center, 2 = right).
33
+
34
+ ## Keyboard
35
+ [APG Radio Group](https://www.w3.org/WAI/ARIA/apg/patterns/radio/), as
36
+ `ObcShuffleButtonBase` implements it: one tab stop on the selected thumb,
37
+ `Left`/`Up` and `Right`/`Down` request the previous and next position and
38
+ wrap, `Space` and `Enter` request the focused one.
39
+
40
+ Left out: `Home` and `End`; and the arrow keys request a position rather
41
+ than move the checked state, which the host confirms.
42
+
43
+ ## Properties
44
+
45
+ | Property | Attribute | Type | Default | Description |
46
+ | --- | --- | --- | --- | --- |
47
+ | type | type | `HydraulicValve43Type` | | Center-position symbol variant. |
48
+ | ariaLabel | ariaLabel | `string` | `'Hydraulic 4/3 valve'` | Accessible name for the control. |
49
+ | selectedPosition | selectedPosition | `number` | `1` | Zero-based index of the currently selected position. Out-of-range values are clamped. |
50
+ | vertical | vertical | `boolean` | `false` | Lays the control out vertically: positions stack top to bottom and the position symbols rotate 90° counter-clockwise to match a vertical flow path. |
51
+
52
+ ## Events
53
+
54
+ | Event | Type | Description |
55
+ | --- | --- | --- |
56
+ | position-selected | `CustomEvent<PositionSelectedDetail>` | Fired when the user requests a position (click or arrow key). |
57
+
58
+ ## Slots
59
+
60
+ None.
61
+
62
+ ## Stories
63
+
64
+ - [Default](https://openbridge-next-storybook.web.app/?path=/story/automation-hydraulic-valves-valve-4-3--default)
65
+ - [Type 2](https://openbridge-next-storybook.web.app/?path=/story/automation-hydraulic-valves-valve-4-3--type-2)
66
+ - [Type 3](https://openbridge-next-storybook.web.app/?path=/story/automation-hydraulic-valves-valve-4-3--type-3)
67
+ - [Type 4](https://openbridge-next-storybook.web.app/?path=/story/automation-hydraulic-valves-valve-4-3--type-4)
68
+ - [Type 5](https://openbridge-next-storybook.web.app/?path=/story/automation-hydraulic-valves-valve-4-3--type-5)
69
+ - [Position Left](https://openbridge-next-storybook.web.app/?path=/story/automation-hydraulic-valves-valve-4-3--position-left)
70
+ - [Position Right](https://openbridge-next-storybook.web.app/?path=/story/automation-hydraulic-valves-valve-4-3--position-right)
71
+ - [Vertical](https://openbridge-next-storybook.web.app/?path=/story/automation-hydraulic-valves-valve-4-3--vertical)
@@ -0,0 +1,68 @@
1
+ # `<obc-hydraulic-valve-x-2>`
2
+
3
+ Position selector symbol for a two-position valve.
4
+
5
+ Lifecycle: experimental. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/automation-hydraulic-valves-valve-x-2--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/automation/hydraulic-valve-x-2/hydraulic-valve-x-2.ts)
6
+
7
+ `<obc-hydraulic-valve-x-2>` – Position selector symbol for a two-position valve.
8
+
9
+ Shows the valve's two positions as icon thumbs on a shared track. The
10
+ selected position always occupies the fixed center slot; the option thumb
11
+ sits to its left or right depending on logical order, and an empty spacer
12
+ slot keeps the total width constant (three 48px slots at regular size).
13
+
14
+ ## Features / Variants
15
+ - `type` selects the port/position configuration: `2/2`, `3/2` or `4/2`.
16
+ - `vertical` stacks the positions top to bottom and rotates the symbols to
17
+ match a vertical flow path.
18
+ - Controlled selection: clicking the option or pressing arrow keys fires
19
+ `position-selected`; the application updates `selectedPosition` once the
20
+ change is confirmed.
21
+ - Scales with the component size classes (`obc-component-size-*`).
22
+
23
+ ## Usage Guidelines
24
+ Use to display and command the position of a two-position valve. For 4/3
25
+ directional valves use `<obc-hydraulic-valve-4-3>`; for a static check
26
+ valve symbol use `<obc-hydraulic-check-valve>`. Bind `selectedPosition` to
27
+ the position the device reports, not to the last request, so the symbol
28
+ never shows a position the valve has not reached.
29
+
30
+ ## Events
31
+ - `position-selected` – Fired when the user requests a position (click or
32
+ arrow key). Detail: `{position: number}` (0 = first, 1 = second).
33
+
34
+ ## Keyboard
35
+ [APG Radio Group](https://www.w3.org/WAI/ARIA/apg/patterns/radio/), as
36
+ `ObcShuffleButtonBase` implements it: one tab stop on the selected thumb,
37
+ `Left`/`Up` and `Right`/`Down` request the previous and next position and
38
+ wrap, `Space` and `Enter` request the focused one.
39
+
40
+ Left out: `Home` and `End`; and the arrow keys request a position rather
41
+ than move the checked state, which the host confirms.
42
+
43
+ ## Properties
44
+
45
+ | Property | Attribute | Type | Default | Description |
46
+ | --- | --- | --- | --- | --- |
47
+ | type | type | `HydraulicValveX2Type` | | Port/position configuration. |
48
+ | ariaLabel | ariaLabel | `string` | `'Hydraulic valve'` | Accessible name for the control. |
49
+ | selectedPosition | selectedPosition | `number` | `1` | Zero-based index of the currently selected position. Out-of-range values are clamped. |
50
+ | vertical | vertical | `boolean` | `false` | Lays the control out vertically: positions stack top to bottom and the position symbols rotate 90° counter-clockwise to match a vertical flow path. |
51
+
52
+ ## Events
53
+
54
+ | Event | Type | Description |
55
+ | --- | --- | --- |
56
+ | position-selected | `CustomEvent<PositionSelectedDetail>` | Fired when the user requests a position (click or arrow key). |
57
+
58
+ ## Slots
59
+
60
+ None.
61
+
62
+ ## Stories
63
+
64
+ - [Default](https://openbridge-next-storybook.web.app/?path=/story/automation-hydraulic-valves-valve-x-2--default)
65
+ - [Type Three Two](https://openbridge-next-storybook.web.app/?path=/story/automation-hydraulic-valves-valve-x-2--type-three-two)
66
+ - [Type Four Two](https://openbridge-next-storybook.web.app/?path=/story/automation-hydraulic-valves-valve-x-2--type-four-two)
67
+ - [Position First](https://openbridge-next-storybook.web.app/?path=/story/automation-hydraulic-valves-valve-x-2--position-first)
68
+ - [Vertical](https://openbridge-next-storybook.web.app/?path=/story/automation-hydraulic-valves-valve-x-2--vertical)
@@ -0,0 +1,117 @@
1
+ # `<obc-icon-button>`
2
+
3
+ An icon-only or icon-with-label button for quick actions.
4
+
5
+ Lifecycle: stable. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/ui-components-buttons-icon-button--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/components/icon-button/icon-button.ts)
6
+
7
+ `<obc-icon-button>` – An icon-only or icon-with-label button for quick actions.
8
+
9
+ Provides a compact, visually prominent button that displays an icon (and optionally a label) for triggering actions. Commonly used for toolbars, navigation, or contextual actions where space is limited and a recognizable icon can represent the function.
10
+
11
+ Appears as a circular or rounded button with configurable visual styles, supporting progress indication and various layout adaptations.
12
+
13
+ ## Features
14
+ - **Variants:**
15
+ - `normal` (default): Standard appearance for most use cases.
16
+ - `raised`: Adds elevation/shadow for prominence.
17
+ - `flat`: Minimal, backgroundless style for subtle actions.
18
+ - `integration`: For use in Integration Bar components
19
+ - **Progress Indicator:**
20
+ - Shows a circular progress spinner overlay when the `progress` property is set (0–100). Useful for indicating loading or ongoing actions.
21
+ - **Label Support:**
22
+ - Optionally displays a text label below the icon when `hasLabel` is true and content is provided in the `label` slot.
23
+ - **Corner Alignment:**
24
+ - `cornerLeft` and `cornerRight` adjust the button's border radius and alignment for flush placement at the start or end of a container.
25
+ - **Active State:**
26
+ - `activated` visually highlights the button as selected or toggled.
27
+ - `activeColor` applies an accent color for emphasis.
28
+ - **Wide Mode:**
29
+ - `wide` increases the button's width for easier touch targets or visual balance.
30
+ - **Disabled State:**
31
+ - `disabled` prevents interaction and visually dims the button.
32
+
33
+ ## Usage Guidelines
34
+ - Use `obc-icon-button` for actions represented by icons, such as toolbars, navigation, or quick-access commands.
35
+ - Add a label (with `hasLabel` and the `label` slot) when clarity is needed or when icons alone may not be universally understood.
36
+ - Use the progress indicator for actions that take time, such as uploads or background processes.
37
+ - Prefer the `normal` variant for most cases; use `raised` to draw attention, and `flat` for less prominent or inline actions.
38
+ - For grouped or edge-aligned layouts, use `cornerLeft` or `cornerRight` to visually merge with container edges.
39
+ - Avoid using icon buttons for destructive or critical actions unless paired with clear feedback.
40
+ - **TODO(designer):** Clarify recommended icon sizes and when to use label vs. icon-only.
41
+
42
+ ## Slots
43
+ | Slot Name | Renders When... | Purpose |
44
+ |-----------|---------------------|----------------------------------------------|
45
+ | (default) | Always | The icon to display (e.g., `<obi-search>`) |
46
+ | label | If `hasLabel` is set | Optional label text below the icon |
47
+
48
+ ## Events
49
+ - Emits a standard `click` event (`onClick` handler in framework wrappers) when activated.
50
+
51
+ ## Best Practices
52
+ - Ensure icons are clear and universally recognizable.
53
+ - For accessibility, provide an `aria-label` or descriptive label for the button's action.
54
+ - When using the progress indicator, avoid showing it for very short actions to prevent visual flicker.
55
+
56
+ ## Example:
57
+ ```
58
+ <obc-icon-button variant="normal">
59
+ <obi-search></obi-search>
60
+ </obc-icon-button>
61
+
62
+ <obc-icon-button variant="normal" hasLabel>
63
+ <obi-arrow></obi-arrow>
64
+ <span slot="label">Next</span>
65
+ </obc-icon-button>
66
+ ```
67
+
68
+ ## Properties
69
+
70
+ | Property | Attribute | Type | Default | Description |
71
+ | --- | --- | --- | --- | --- |
72
+ | variant | variant | `IconButtonVariant` | | Visual style: `normal` (default) is the standard appearance, `raised` adds a shadow, `flat` drops the background. |
73
+ | activated | activated | `boolean` | `false` | Whether the button is in an activated (selected/toggled) state. Visually highlights the button to indicate selection. |
74
+ | cornerLeft | cornerLeft | `boolean` | `false` | If true, aligns the button to the left edge and removes left border radius. Useful for grouping or edge-aligned layouts. |
75
+ | cornerRight | cornerRight | `boolean` | `false` | If true, aligns the button to the right edge and removes right border radius. Useful for grouping or edge-aligned layouts. |
76
+ | activeColor | activeColor | `boolean` | `false` | Applies an accent color to the button for emphasis. Used to visually distinguish active or important actions. |
77
+ | wide | wide | `boolean` | `false` | Increases the button's width for larger touch targets or visual balance. |
78
+ | disabled | disabled | `boolean` | `false` | Disables the button, preventing user interaction and dimming its appearance. |
79
+ | progress | progress | `undefined \| number` | `undefined` | Shows a circular progress indicator overlay when set (0–100). Use to indicate ongoing actions or loading states. If undefined, no progress indicator is shown. |
80
+ | hasLabel | hasLabel | `boolean` | `false` | If true, displays a label below the icon using the `label` slot. |
81
+ | showDivider | | `boolean` | `true` | If false, and cornerLeft or cornerRight is true, the divider is not shown. |
82
+ | focusable | | `boolean` | `true` | Whether the button is in the tab sequence. Turn it off for a button inside a composite widget that owns the tab stop, and give the widget a key for the action. |
83
+ | ariaLabel | aria-label | `string \| null` | `null` | Accessible name forwarded to the inner `<button>`, mapped to the `aria-label` attribute. `aria-labelledby` is not supported: ID references cannot cross the shadow boundary. |
84
+ | progressSpinner | | | | |
85
+
86
+ ## Events
87
+
88
+ | Event | Type | Description |
89
+ | --- | --- | --- |
90
+ | click | | Fired when the button is clicked (if not disabled). |
91
+
92
+ ## Slots
93
+
94
+ | Slot | Description |
95
+ | --- | --- |
96
+ | (default) | Icon slot (default): Place an icon such as <obi-search> here. |
97
+ | label | Optional label shown below the icon when `hasLabel` is true. |
98
+
99
+ ## Stories
100
+
101
+ - [Normal](https://openbridge-next-storybook.web.app/?path=/story/ui-components-buttons-icon-button--normal)
102
+ - [Large](https://openbridge-next-storybook.web.app/?path=/story/ui-components-buttons-icon-button--large)
103
+ - [Normal Wide](https://openbridge-next-storybook.web.app/?path=/story/ui-components-buttons-icon-button--normal-wide)
104
+ - [Disabled](https://openbridge-next-storybook.web.app/?path=/story/ui-components-buttons-icon-button--disabled)
105
+ - [Raised](https://openbridge-next-storybook.web.app/?path=/story/ui-components-buttons-icon-button--raised)
106
+ - [Flat](https://openbridge-next-storybook.web.app/?path=/story/ui-components-buttons-icon-button--flat)
107
+ - [Normal With Label](https://openbridge-next-storybook.web.app/?path=/story/ui-components-buttons-icon-button--normal-with-label)
108
+ - [Wide With Label](https://openbridge-next-storybook.web.app/?path=/story/ui-components-buttons-icon-button--wide-with-label)
109
+ - [Flat Activated](https://openbridge-next-storybook.web.app/?path=/story/ui-components-buttons-icon-button--flat-activated)
110
+ - [Corner Left](https://openbridge-next-storybook.web.app/?path=/story/ui-components-buttons-icon-button--corner-left)
111
+ - [Corner Right](https://openbridge-next-storybook.web.app/?path=/story/ui-components-buttons-icon-button--corner-right)
112
+ - [Progress](https://openbridge-next-storybook.web.app/?path=/story/ui-components-buttons-icon-button--progress)
113
+ - [Progress Animated](https://openbridge-next-storybook.web.app/?path=/story/ui-components-buttons-icon-button--progress-animated)
114
+
115
+ ## See also
116
+
117
+ - [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)