@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,64 @@
1
+ # `<obc-filter>`
2
+
3
+ No summary yet.
4
+
5
+ Lifecycle: stable. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/automation-automation-devices-filter--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/automation/filter/filter.ts)
6
+
7
+ ## Properties
8
+
9
+ | Property | Attribute | Type | Default | Description |
10
+ | --- | --- | --- | --- | --- |
11
+ | alternativeIcon | alternativeIcon | `FilterAlternativeIcon` | | |
12
+ | icon | | `TemplateResult` | | |
13
+ | turnedOn | turnedOn | `boolean` | `false` | Whether the device is on. Selects the on icon and the `On` state row instead of `Off`. Not named `on`, which Svelte binds as an event listener in markup (#1090). |
14
+ | on | on | `boolean \| undefined` | | Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. |
15
+ | variant | variant | `SquaredVariant` | | |
16
+ | orientation | orientation | `AutomationButtonOrientation` | | |
17
+ | extraReadouts | | `AutomationButtonReadoutStack[]` | | |
18
+ | showReadoutStack | | `boolean` | `true` | |
19
+ | static | static | `boolean` | `false` | Draws the device as present with its state unknown: a grey button, and the static icon where the device has one. |
20
+ | readoutPosition | readoutPosition | `AutomationButtonReadoutPosition \| undefined` | `undefined` | Available when `showReadoutStack==true`. |
21
+ | showStatus | | `boolean` | `true` | Available when `showReadoutStack==true`. |
22
+ | showStatusIcon | | `boolean` | `false` | |
23
+ | readoutSize | readoutSize | `AutomationButtonReadoutStackSize` | | Available when `showReadoutStack==true`. |
24
+ | tag | tag | `string \| null` | `null` | Available when `showReadoutStack==true`. |
25
+ | positioning | positioning | `AutomationButtonPositioning` | | |
26
+ | activated | activated | `boolean` | `false` | Enables the activated background color, used to indicate that the button is activated/selected. |
27
+ | alert | alert | `boolean` | `false` | |
28
+ | alertFrameType | alertFrameType | `ObcAlertFrameType` | | Available when `alert==true`. |
29
+ | alertFrameThickness | alertFrameThickness | `ObcAlertFrameThickness` | | Available when `alert==true`. |
30
+ | alertFrameStatus | alertFrameStatus | `AlertType` | | Available when `alert==true`. |
31
+ | alertFrameMode | alertFrameMode | `ObcAlertFrameMode` | | Available when `alert==true`. |
32
+ | showAlertCategoryIcon | | `boolean` | `true` | Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. |
33
+ | showAlertIcon | showAlertIcon | `boolean` | `false` | Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. |
34
+ | progress | progress | `boolean` | `false` | Shows a progress indicator, used to indicate that an user action is in progress |
35
+ | progressMode | progressMode | `CircularProgressMode` | | Available when `progress==true`. |
36
+ | progressValue | progressValue | `number` | `0` | Available when `progress==true && progressMode in [determinate, progressiveIndeterminate]`. |
37
+ | badgeControl | badgeControl | `AutomationButtonBadgeControl` | | |
38
+ | badgeCommandLocked | badgeCommandLocked | `AutomationButtonBadgeCommandLocked` | | |
39
+ | badgeInterlock | badgeInterlock | `AutomationButtonBadgeInterlock` | | |
40
+ | badgeAlert | badgeAlert | `AutomationButtonBadgeAlert` | | |
41
+ | badgeLayout | | `AutomationButtonBadgeLayout \| undefined` | `undefined` | Which badge kind each corner shows, on top of the app-wide layout set with `setAutomationBadgeLayout()`. A corner left out keeps the app-wide badge, `null` leaves it empty, and a badge moved here leaves the corner it came from. |
42
+ | 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. |
43
+ | badgeTopRight | | `HTMLElement[]` | | |
44
+ | badgeTopLeft | | `HTMLElement[]` | | |
45
+ | badgeBottomLeft | | `HTMLElement[]` | | |
46
+ | badgeBottomRight | | `HTMLElement[]` | | |
47
+
48
+ ## Events
49
+
50
+ None.
51
+
52
+ ## Slots
53
+
54
+ None.
55
+
56
+ ## Stories
57
+
58
+ - [On](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-filter--on)
59
+ - [Off](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-filter--off)
60
+ - [Static](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-filter--static)
61
+
62
+ ## See also
63
+
64
+ - [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)
@@ -0,0 +1,125 @@
1
+ # `<obc-floating-item>`
2
+
3
+ A transient toast, inline notification, or floating message component for brief, non-blocking feedback.
4
+
5
+ Lifecycle: stable. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/ui-components-message-and-alerts-floating-item--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/components/floating-item/floating-item.ts)
6
+
7
+ `<obc-floating-item>` – A transient toast, inline notification, or floating message component for brief, non-blocking feedback.
8
+
9
+ Appears temporarily to display status updates, confirmations, or alerts, floating above the UI without interrupting the user's workflow. Supports both single-line and multi-line content, optional timestamp, and up to two action buttons.
10
+ obc-floating-item – transient toast / inline-notification component.
11
+
12
+ ## Features
13
+
14
+ - **Message types:**
15
+ - `regular` (default): Standard notification with a single icon.
16
+ - `application`: Enhanced visual style with primary and secondary icons.
17
+ - **Layout directions:**
18
+ - `horizontal` (default): Icon and content side-by-side, actions to the right.
19
+ - `vertical`: Icon and content stacked, actions below.
20
+ - **Line length:**
21
+ - `single-line` (default): Truncates message and title to one line.
22
+ - `multi-line`: Allows longer content, up to 8 lines.
23
+ - **Timestamp and day chip:**
24
+ - Optionally display a time label and day chip for contextual messages.
25
+ - **Actions:**
26
+ - Up to two configurable action buttons (primary and secondary), plus a dismiss/close icon.
27
+ - **Custom events:**
28
+ - Emits events for action and dismiss interactions, so host apps can respond without querying the DOM.
29
+
30
+ ## Usage Guidelines
31
+
32
+ Use `<obc-floating-item>` for brief, transient feedback such as form submissions, status updates, or non-critical alerts. Ideal when you want to confirm an action or notify the user without disrupting their workflow.
33
+ Avoid using for persistent or critical alerts—use a dialog or alert banner for those cases.
34
+ Only one floating message should be visible at a time to avoid overwhelming the user.
35
+ For best results, keep messages concise and actions minimal (Material Design recommends at most one action in a snackbar; use the second action sparingly, e.g., for "Undo").
36
+
37
+ **Keywords:** toast, snackbar, notification, floating message, inline alert, transient feedback
38
+
39
+ ## Slots
40
+
41
+ | Name | Rendered when… | Purpose |
42
+ | ---------------- | ------------------------------------ | -------------------------------- |
43
+ | `primary-icon` | always | Main icon to represent the message’s category. Use e.g. `<obi-placeholder></obi-placeholder>`. |
44
+ | `secondary-icon` | `type="application"` | Additional icon for application-type messages. |
45
+ | `title` | always | Title or heading of the message. |
46
+ | `description` | always | Detailed message text. |
47
+ | `time` | `hasTimestamp` | Timestamp label (e.g., "12:45"). |
48
+ | `day` | `hasTimestamp && hasDay` | Day label (e.g., "Mon"). |
49
+ | `action` | `action` | Label for the primary action button. |
50
+ | `action2` | `action && action2` | Label for the secondary action button. |
51
+
52
+ ## Events
53
+
54
+ - `action-click` – Fired when the primary action button is clicked.
55
+ - `action2-click` – Fired when the secondary action button is clicked.
56
+ - `dismiss-click` – Fired when the close icon is clicked.
57
+
58
+ ## Example
59
+
60
+ ```html
61
+ <obc-floating-item type="regular" hasTimestamp action>
62
+ <div slot="primary-icon"><obi-placeholder></obi-placeholder></div>
63
+ <span slot="title">Network Connected</span>
64
+ <span slot="description">You are now online.</span>
65
+ <span slot="time">14:32</span>
66
+ <span slot="action">View</span>
67
+ </obc-floating-item>
68
+ ```
69
+
70
+ In this example, the message appears with an icon, title, description, timestamp, and a single action button.
71
+
72
+ ---
73
+
74
+ ## Properties
75
+
76
+ | Property | Attribute | Type | Default | Description |
77
+ | --- | --- | --- | --- | --- |
78
+ | type | type | | | Visual style: `regular` (default) is a standard notification with a single icon, `application` carries a primary and a secondary icon — use it to set system-level or application-specific messages apart. |
79
+ | direction | direction | | | Layout direction: `horizontal` (default) puts icon, content and actions side-by-side, `vertical` stacks icon and content with the actions below — the better fit for a narrow container. |
80
+ | hasTimestamp | hasTimestamp | `boolean` | `false` | Shows a timestamp (slot `time`) when `true`. Enable to display a time label next to the title. |
81
+ | hasDay | hasDay | `boolean` | `false` | Shows a day chip (slot `day`) next to the timestamp when `true`. Only applied when `hasTimestamp` is also `true`. Use to provide additional context for the timestamp. Available when `hasTimestamp==true`. |
82
+ | action | action | `boolean` | `false` | Renders a primary action button (slot `action`) when `true`. Use for the main action the user can take in response to the message. |
83
+ | action2 | action2 | `boolean` | `false` | Enables a secondary action button (slot `action2`). Only applied when `action` is also `true`. Use sparingly for secondary actions (e.g., "Undo"). Available when `action==true`. |
84
+ | lineType | lineType | | | Line wrapping for the message content: `single-line` (default) truncates to one line, `multi-line` allows up to eight. |
85
+ | dismissLabel | dismissLabel | `string` | `'Dismiss'` | Accessible name of the dismiss button; the icon carries none. |
86
+ | liveRole | liveRole | `ObcFloatingItemLiveRole \| undefined` | | How the item announces itself when it appears: `alert` interrupts, `status` waits its turn. The alert, notification and advice items set it; the bare item announces nothing. |
87
+
88
+ ## Events
89
+
90
+ | Event | Type | Description |
91
+ | --- | --- | --- |
92
+ | action-click | `CustomEvent<void>` | Fired when the first action button is clicked. |
93
+ | action2-click | `CustomEvent<void>` | Fired when the second action button is clicked. |
94
+ | dismiss-click | `CustomEvent<void>` | Fired when the close icon is clicked. |
95
+
96
+ ## Slots
97
+
98
+ | Slot | Description |
99
+ | --- | --- |
100
+ | primary-icon | Main icon to represent the message’s category. |
101
+ | secondary-icon | Additional icon for application-type messages. |
102
+ | title | Title or heading of the message. |
103
+ | description | Detailed message text. |
104
+ | time | Timestamp label (e.g., "12:45"). |
105
+ | day | Day label (e.g., "Mon"). |
106
+ | action | Label for the primary action button. |
107
+ | action2 | Label for the secondary action button. |
108
+
109
+ ## Stories
110
+
111
+ - [Vertical Single Regular](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-floating-item--vertical-single-regular)
112
+ - [Vertical Multi Regular](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-floating-item--vertical-multi-regular)
113
+ - [Vertical Single Application](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-floating-item--vertical-single-application)
114
+ - [Vertical Multi Application](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-floating-item--vertical-multi-application)
115
+ - [Horizontal Single Regular](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-floating-item--horizontal-single-regular)
116
+ - [Horizontal Multi Regular](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-floating-item--horizontal-multi-regular)
117
+ - [Horizontal Single Application](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-floating-item--horizontal-single-application)
118
+ - [Horizontal Multi Application](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-floating-item--horizontal-multi-application)
119
+ - [All Props On](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-floating-item--all-props-on)
120
+ - [All Props Off](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-floating-item--all-props-off)
121
+ - [Too Long Message](https://openbridge-next-storybook.web.app/?path=/story/ui-components-message-and-alerts-floating-item--too-long-message)
122
+
123
+ ## See also
124
+
125
+ - [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)
@@ -0,0 +1,45 @@
1
+ # `<obc-form-container>`
2
+
3
+ Container for form sections with header, content, and footer.
4
+
5
+ Lifecycle: beta. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/ui-components-forms-form-container--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/components/form-container/form-container.ts)
6
+
7
+ `<obc-form-container>` – Container for form sections with header, content, and footer.
8
+
9
+ Structure:
10
+ - title-section (title container)
11
+ - content-section (body content)
12
+ - footer-section (footer actions)
13
+
14
+ Properties:
15
+ - `type` - Visual type of the container (`view`, `enabled`, `inactive`, `completed`).
16
+ - `contentTitle` - Optional fallback text for the `content-title` slot.
17
+
18
+ ## Properties
19
+
20
+ | Property | Attribute | Type | Default | Description |
21
+ | --- | --- | --- | --- | --- |
22
+ | type | type | `ObcFormContainerType` | | |
23
+ | contentTitle | content-title | `string` | `''` | |
24
+
25
+ ## Events
26
+
27
+ None.
28
+
29
+ ## Slots
30
+
31
+ | Slot | Description |
32
+ | --- | --- |
33
+ | title | Header content (e.g., <obc-title-container>). |
34
+ | content-title | Optional content title shown above the main content. |
35
+ | (default) | Main content. |
36
+ | footer | Footer content (e.g., <obc-form-footer-container>). |
37
+
38
+ ## Stories
39
+
40
+ - [📌 Playground](https://openbridge-next-storybook.web.app/?path=/story/ui-components-forms-form-container--playground)
41
+ - [View](https://openbridge-next-storybook.web.app/?path=/story/ui-components-forms-form-container--view)
42
+ - [Enabled](https://openbridge-next-storybook.web.app/?path=/story/ui-components-forms-form-container--enabled)
43
+ - [Inactive](https://openbridge-next-storybook.web.app/?path=/story/ui-components-forms-form-container--inactive)
44
+ - [Completed](https://openbridge-next-storybook.web.app/?path=/story/ui-components-forms-form-container--completed)
45
+ - [Completed With Dash Item](https://openbridge-next-storybook.web.app/?path=/story/ui-components-forms-form-container--completed-with-dash-item)
@@ -0,0 +1,34 @@
1
+ # `<obc-form-footer-container>`
2
+
3
+ Footer container for form actions.
4
+
5
+ Lifecycle: beta. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/ui-components-forms-form-footer-container--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/components/form-footer-container/form-footer-container.ts)
6
+
7
+ `<obc-form-footer-container>` – Footer container for form actions.
8
+
9
+ Structure:
10
+ - actions row (slotted action elements)
11
+
12
+ ## Properties
13
+
14
+ | Property | Attribute | Type | Default | Description |
15
+ | --- | --- | --- | --- | --- |
16
+ | hasActions | has-actions | `boolean` | `false` | Shows the action buttons when true. |
17
+
18
+ ## Events
19
+
20
+ | Event | Type | Description |
21
+ | --- | --- | --- |
22
+ | action-click | `ObcFormFooterActionClickEvent` | Fired when a slotted action element is clicked. |
23
+
24
+ ## Slots
25
+
26
+ | Slot | Description |
27
+ | --- | --- |
28
+ | (default) | Action elements (typically `obc-icon-button`) rendered in the footer row. |
29
+
30
+ ## Stories
31
+
32
+ - [📌 Playground](https://openbridge-next-storybook.web.app/?path=/story/ui-components-forms-form-footer-container--playground)
33
+ - [Normal](https://openbridge-next-storybook.web.app/?path=/story/ui-components-forms-form-footer-container--normal)
34
+ - [No Actions](https://openbridge-next-storybook.web.app/?path=/story/ui-components-forms-form-footer-container--no-actions)
@@ -0,0 +1,80 @@
1
+ # `<obc-form-group>`
2
+
3
+ groups related form items into one labeled section.
4
+
5
+ Lifecycle: beta. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/ui-components-forms-form-group--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/components/form-group/form-group.ts)
6
+
7
+ `<obc-form-group>` groups related form items into one labeled section.
8
+
9
+ **Overview**
10
+ Use this component as a form section, block, cluster, or fieldset-like list
11
+ container where multiple `obc-form-item` rows belong together.
12
+
13
+ **Features / Variants**
14
+ - Supports title metadata (`subtitle` and `text`) above grouped items.
15
+ - Uses `type` to coordinate visuals with nested form items:
16
+ `view`, `enabled-action-first`, `enabled-action-last`,
17
+ `filled-status-first`, `filled-status-last`, `inactive`.
18
+ - Marks first/last/focused slotted items to keep borders and radii correct in
19
+ stacked layouts.
20
+
21
+ **Usage Guidelines**
22
+ - Slot only `obc-form-item` elements in the default slot for predictable
23
+ layout and state behavior.
24
+ - Keep `type` aligned with item type patterns in the same section.
25
+ - Use `action-change` from this container as the integration event at form
26
+ level instead of wiring each item independently.
27
+
28
+ **Slots / Content**
29
+ - `subtitle`: secondary heading text for the group.
30
+ - `text`: supporting description text for the group.
31
+ - default slot: one or more `obc-form-item` rows.
32
+
33
+ **Events**
34
+ - Re-emits `action-change` from nested items with the original detail.
35
+
36
+ **Best Practices**
37
+ - Prefer one semantic concern per group.
38
+ - Keep item order stable so focus and edge markers map consistently.
39
+ - Use the group as the styling boundary, while item-level behavior remains in
40
+ `obc-form-item`.
41
+
42
+ **Example**
43
+ ```html
44
+ <obc-form-group type="enabled-action-first">
45
+ <span slot="subtitle">Subtitle</span>
46
+ <span slot="text">Description</span>
47
+ <obc-form-item type="enabled-action-first">Item 1</obc-form-item>
48
+ <obc-form-item type="enabled-action-first">Item 2</obc-form-item>
49
+ </obc-form-group>
50
+ ```
51
+
52
+ ## Properties
53
+
54
+ | Property | Attribute | Type | Default | Description |
55
+ | --- | --- | --- | --- | --- |
56
+ | type | type | `ObcFormGroupType` | | |
57
+
58
+ ## Events
59
+
60
+ | Event | Type | Description |
61
+ | --- | --- | --- |
62
+ | action-change | `ObcFormItemActionChangeEvent` | Fired when a nested form item checkbox state changes. |
63
+
64
+ ## Slots
65
+
66
+ | Slot | Description |
67
+ | --- | --- |
68
+ | subtitle | Subtitle text rendered in the title area. |
69
+ | text | Description text rendered in the title area. |
70
+ | (default) | One or more `obc-form-item` elements. |
71
+
72
+ ## Stories
73
+
74
+ - [📌 Playground](https://openbridge-next-storybook.web.app/?path=/story/ui-components-forms-form-group--playground)
75
+ - [View](https://openbridge-next-storybook.web.app/?path=/story/ui-components-forms-form-group--view)
76
+ - [Enabled Action First](https://openbridge-next-storybook.web.app/?path=/story/ui-components-forms-form-group--enabled-action-first)
77
+ - [Filled Status First](https://openbridge-next-storybook.web.app/?path=/story/ui-components-forms-form-group--filled-status-first)
78
+ - [Enabled Action Last](https://openbridge-next-storybook.web.app/?path=/story/ui-components-forms-form-group--enabled-action-last)
79
+ - [Filled Status Last](https://openbridge-next-storybook.web.app/?path=/story/ui-components-forms-form-group--filled-status-last)
80
+ - [Inactive](https://openbridge-next-storybook.web.app/?path=/story/ui-components-forms-form-group--inactive)
@@ -0,0 +1,95 @@
1
+ # `<obc-form-item>`
2
+
3
+ renders one interactive form row for grouped list content.
4
+
5
+ Lifecycle: beta. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/ui-components-forms-form-item--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/components/form-item/form-item.ts)
6
+
7
+ `<obc-form-item>` renders one interactive form row for grouped list content.
8
+
9
+ **Overview**
10
+ Use this component as an item row, line item, list entry, tile, or cell
11
+ inside `obc-form-group` and related form layouts.
12
+
13
+ **Features / Variants**
14
+ - Supports layout variants through `type`:
15
+ `view`, `enabled-action-first`, `enabled-action-last`,
16
+ `filled-status-first`, `filled-status-last`, `inactive`.
17
+ - Supports non-interactive base states through `basicState`:
18
+ `enabled`, `disabled`, `amplified`.
19
+ - Optional leading icon through `hasIcon` + `icon` slot.
20
+ - Optional shader for view/inactive variants through `hasShader`.
21
+ - Optional action error rendering through `hasError` and `errorText` for
22
+ action variants.
23
+ - Filled status icon variant via `statusIcon` (`check` or `dash`).
24
+ - Optional stable event identity via `itemId`.
25
+
26
+ **Usage Guidelines**
27
+ - Use action variants when checkbox interaction is needed.
28
+ - Use filled-status variants for read-only completion status.
29
+ - Keep text content in the default slot to support multi-line wrapping.
30
+ - Pair group and item variants consistently in the same section.
31
+
32
+ **Slots / Content**
33
+ - `icon`: optional leading icon content.
34
+ - default slot: main row text/content.
35
+
36
+ **Events**
37
+ - Emits `action-change` when the internal checkbox changes.
38
+ - Event detail includes `itemId`, checkbox `status`, and `disabled` state.
39
+
40
+ **Best Practices**
41
+ - Prefer semantic `itemId` values when rendering dynamic lists.
42
+ - Avoid mixing unrelated item variants in the same visual group.
43
+ - Use `basicState` for logical state previews and rely on CSS pseudo-classes
44
+ for real interaction states.
45
+
46
+ **Example**
47
+ ```html
48
+ <obc-form-item
49
+ type="enabled-action-first"
50
+ item-id="engine-room-1"
51
+ has-icon
52
+ >
53
+ <obi-placeholder slot="icon"></obi-placeholder>
54
+ Engine room checklist item
55
+ </obc-form-item>
56
+ ```
57
+
58
+ ## Properties
59
+
60
+ | Property | Attribute | Type | Default | Description |
61
+ | --- | --- | --- | --- | --- |
62
+ | type | type | `ObcFormItemType` | | |
63
+ | itemId | item-id | `string` | `''` | Available when `type in [EnabledActionFirst, EnabledActionLast]`. |
64
+ | hasError | has-error | `boolean` | `false` | |
65
+ | errorText | error-text | `string` | `''` | Available when `type in [EnabledActionFirst, EnabledActionLast] && hasError==true`. |
66
+ | hasIcon | has-icon | `boolean` | `false` | |
67
+ | basicState | basic-state | `ObcFormItemBasicState` | | |
68
+ | hasShader | has-shader | `boolean` | `false` | |
69
+ | disabled | disabled | `boolean` | `false` | |
70
+ | statusIcon | status-icon | `ObcFormItemStatusIcon` | | Available when `type in [FilledStatusFirst, FilledStatusLast]`. |
71
+
72
+ ## Events
73
+
74
+ | Event | Type | Description |
75
+ | --- | --- | --- |
76
+ | action-change | `ObcFormItemActionChangeEvent` | Fired when the internal checkbox state changes. |
77
+
78
+ ## Slots
79
+
80
+ | Slot | Description |
81
+ | --- | --- |
82
+ | icon | Optional leading icon content. |
83
+ | (default) | Main row text or content. |
84
+
85
+ ## Stories
86
+
87
+ - [📌 Playground](https://openbridge-next-storybook.web.app/?path=/story/ui-components-forms-form-item--playground)
88
+ - [View](https://openbridge-next-storybook.web.app/?path=/story/ui-components-forms-form-item--view)
89
+ - [Enabled Action First](https://openbridge-next-storybook.web.app/?path=/story/ui-components-forms-form-item--enabled-action-first)
90
+ - [Filled Status First](https://openbridge-next-storybook.web.app/?path=/story/ui-components-forms-form-item--filled-status-first)
91
+ - [Filled Status First Dash](https://openbridge-next-storybook.web.app/?path=/story/ui-components-forms-form-item--filled-status-first-dash)
92
+ - [Enabled Action Last](https://openbridge-next-storybook.web.app/?path=/story/ui-components-forms-form-item--enabled-action-last)
93
+ - [Filled Status Last](https://openbridge-next-storybook.web.app/?path=/story/ui-components-forms-form-item--filled-status-last)
94
+ - [Filled Status Last Dash](https://openbridge-next-storybook.web.app/?path=/story/ui-components-forms-form-item--filled-status-last-dash)
95
+ - [Inactive](https://openbridge-next-storybook.web.app/?path=/story/ui-components-forms-form-item--inactive)
@@ -0,0 +1,46 @@
1
+ # `<obc-gauge-bar-indicator>`
2
+
3
+ Compact bar gauge indicator for quick value cues.
4
+
5
+ Lifecycle: stable. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/indicators-gauge-bar-indicator--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/navigation-instruments/gauge-bar-indicator/gauge-bar-indicator.ts)
6
+
7
+ `<obc-gauge-bar-indicator>` – Compact bar gauge indicator for quick value cues.
8
+
9
+ Renders a simplified bar indicator in a fixed **48×48** footprint, with a centered
10
+ bar frame and a fill that maps directly from a single numeric `value`.
11
+
12
+ ## Features
13
+
14
+ - **Direction variants:** `vertical` and `horizontal` layouts share the same fixed footprint.
15
+ - **Type variants:** `fill` renders a solid fill; `tinted` renders a lighter fill with an end marker.
16
+ - **Value mapping:** `value` is clamped to **0…100** and mapped directly to the inner bar length.
17
+
18
+ ## Usage Guidelines
19
+
20
+ Use when the UI needs a compact “level/progress” cue next to other indicators without labels,
21
+ tickmarks, or scale context. Use `obc-gauge-vertical` / `obc-gauge-horizontal` when the full
22
+ gauge scale and additional overlays are required.
23
+
24
+ ## Properties
25
+
26
+ | Property | Attribute | Type | Default | Description |
27
+ | --- | --- | --- | --- | --- |
28
+ | value | value | `number` | `50` | |
29
+ | direction | direction | `string` | `'vertical'` | |
30
+ | type | type | `string` | `'fill'` | |
31
+
32
+ ## Events
33
+
34
+ None.
35
+
36
+ ## Slots
37
+
38
+ None.
39
+
40
+ ## Stories
41
+
42
+ - [Overview](https://openbridge-next-storybook.web.app/?path=/story/indicators-gauge-bar-indicator--overview)
43
+ - [Vertical Fill](https://openbridge-next-storybook.web.app/?path=/story/indicators-gauge-bar-indicator--vertical-fill)
44
+ - [Horizontal Fill](https://openbridge-next-storybook.web.app/?path=/story/indicators-gauge-bar-indicator--horizontal-fill)
45
+ - [Vertical Tinted](https://openbridge-next-storybook.web.app/?path=/story/indicators-gauge-bar-indicator--vertical-tinted)
46
+ - [Horizontal Tinted](https://openbridge-next-storybook.web.app/?path=/story/indicators-gauge-bar-indicator--horizontal-tinted)
@@ -0,0 +1,102 @@
1
+ # `<obc-gauge-generator>`
2
+
3
+ Proportional radial gauge preset for generators (the "Gauge-generator" design).
4
+
5
+ Lifecycle: experimental. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/automation-gauge-generator--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/automation/gauge-generator/gauge-generator.ts)
6
+
7
+ `<obc-gauge-generator>` — Proportional radial gauge preset for generators
8
+ (the "Gauge-generator" design).
9
+
10
+ A device-named preset of ObcGaugeProportional: the full-circle
11
+ sector and a baked-in generator symbol, with every gauge property
12
+ (`value`, `secondaryValue`, `large`, `tag`, setpoint bundle, …) inherited
13
+ unchanged.
14
+
15
+ ## Features / Variants
16
+
17
+ - `type`: `regular` (single value) or `double` (primary-secondary frame;
18
+ feed the second lane and readout row via `secondaryValue`).
19
+ - Always the `360` sector (generator load wraps the full dial).
20
+ - `large` shows the detailed face (readout and name row); the compact
21
+ default shows the icon-only face with the readout stack below. Unlike
22
+ the base gauge, `hasReadout` defaults to `true` so the large face is
23
+ detailed out of the box.
24
+ - Ships the generator symbol as slot fallback; slot `icon` to swap it
25
+ (e.g. an AC variant). The compact stack's secondary row ships the
26
+ design's battery icon the same way (slot `secondary-icon`).
27
+
28
+ ## Usage Guidelines
29
+
30
+ Use for generator load/output on overview displays. For a generic gauge
31
+ with a custom device symbol, use `obc-gauge-proportional` directly.
32
+
33
+ ## Slots
34
+
35
+ | Slot | Purpose |
36
+ | ---------------- | ------------------------------------------------------------------ |
37
+ | `icon` | Replaces the default generator symbol (`obi-*` icon) |
38
+ | `secondary-icon` | Replaces the battery icon on the compact stack's secondary row |
39
+
40
+ ## Properties
41
+
42
+ | Property | Attribute | Type | Default | Description |
43
+ | --- | --- | --- | --- | --- |
44
+ | type | type | `GaugeGeneratorType` | | The design's Type axis; `double` renders the primary-secondary frame. |
45
+ | sector | sector | `GaugeProportionalSector` | | |
46
+ | hasReadout | hasReadout | `boolean` | `true` | When `true`, shows the center readout (and the secondary readout when the split frame renders — dashed until `secondaryValue` is set). Default `false`. Available when `large==true`. |
47
+ | advices | advices | `AdviceInput[]` | `[]` | Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. |
48
+ | adviceTrigger | adviceTrigger | `AdviceTrigger` | | Which readings trigger an advice: the value, the setpoint, or either. Available when `adviceTrigger advices!=[]`. |
49
+ | adviceEmphasis | adviceEmphasis | `boolean` | `false` | The design's go-to / no-go emphasis rules. Available when `adviceEmphasis advices!=[]`. |
50
+ | setpoint | setpoint | `number \| undefined` | | Target setpoint value. `undefined` = no setpoint marker shown. |
51
+ | newSetpoint | newSetpoint | `number \| undefined` | | Adjustment preview for 2-step interface. When defined, two markers are shown: original (dimmed) + new (focus). Available when `setpoint!=undefined`. |
52
+ | atSetpoint | | `boolean` | `false` | Manual at-setpoint override (used when `autoAtSetpoint` is false). Available when `setpoint!=undefined && autoAtSetpoint==false`. |
53
+ | touching | touching | `boolean` | `false` | User is physically interacting with the control. Suppresses at-setpoint calculation and triggers focus visual. Available when `setpoint!=undefined`. |
54
+ | autoAtSetpoint | | `boolean` | `true` | When false, uses manual `atSetpoint` boolean instead of auto-calculation. Available when `setpoint!=undefined`. |
55
+ | autoAtSetpointDeadband | autoAtSetpointDeadband | `number` | `defaultDeadband` | Tolerance for auto at-setpoint detection. Available when `setpoint!=undefined && autoAtSetpoint==true`. |
56
+ | setpointAtZeroDeadband | setpointAtZeroDeadband | `number` | `defaultZeroDeadband` | Tolerance for zero-snap visual state. Available when `setpoint!=undefined`. |
57
+ | setpointOverride | setpointOverride | `boolean` | `false` | Override to derive the setpoint color from the instrument's `priority` regardless of instrument state. Available when `setpoint!=undefined`. |
58
+ | animateSetpoint | animateSetpoint | `boolean` | `false` | Enable CSS-animated confirm transition. Available when `setpoint!=undefined`. |
59
+ | departingNewSetpoint | | `number \| undefined` | | Public getter for renderers/wrappers to access the departing value. |
60
+ | value | value | `number` | `0` | |
61
+ | maxValue | maxValue | `number` | `100` | |
62
+ | minValue | minValue | `number` | `0` | |
63
+ | secondaryValue | secondaryValue | `number \| undefined` | | Secondary value shown as a thin line arc at the band's inner edge with a second readout (the "primary-secondary" frame type). When undefined (default), the regular single-value frame renders. |
64
+ | state | state | `InstrumentState` | | Instrument state (active, loading, off). `priority: off` also renders the off face. |
65
+ | alignment | alignment | `GaugeProportionalAlignment` | | Available when `large==true`. |
66
+ | priority | priority | `GaugeProportionalPriority` | | |
67
+ | showLabels | showLabels | `boolean` | `false` | |
68
+ | primaryTickmarkInterval | primaryTickmarkInterval | `number \| undefined` | `50` | Interval for primary tickmarks in value units. When undefined or <= 0, no primary tickmarks are shown. |
69
+ | secondaryTickmarkInterval | secondaryTickmarkInterval | `number \| undefined` | `10` | Interval for secondary tickmarks in value units. When undefined or <= 0, no secondary tickmarks are shown. |
70
+ | tickmarkStyle | tickmarkStyle | `TickmarkStyle` | | |
71
+ | label | label | `string` | `''` | Available when `hasReadout==true`. |
72
+ | unit | unit | `string` | `''` | Unit for the in-dial readout (large) and the compact stack rows. Available when `hasReadout==true`. |
73
+ | secondaryLabel | secondaryLabel | `string` | `''` | Available when `secondaryValue!=undefined`. |
74
+ | secondaryUnit | secondaryUnit | `string` | `''` | Available when `secondaryValue!=undefined`. |
75
+ | fractionDigits | fractionDigits | `number` | `0` | Available when `hasReadout==true`. |
76
+ | name | name | `string` | `''` | Name row shown under the readout (uppercase overline style). Available when `large==true`. |
77
+ | faceDiameter | face-diameter | `number \| undefined` | | Outer-ring diameter in CSS pixels. When set, the instrument renders at a fixed intrinsic size; when unset (default), it fills its container. |
78
+ | large | large | `boolean` | `false` | The design's Large variant: `alignment`-controlled scale labels, in-dial readouts and the name row. When `false` (default), the Small variant renders — the face cropped to the dial with icon-only center content and a readout stack below. The Large face fills its container (or `faceDiameter`); the Small face shrinks with a tight slot but caps at the design's natural 240px dial box, so it always reads smaller than a Large face in the same slot. |
79
+ | hasLabelStack | | `boolean` | `true` | Render the readout stack below the face in the compact variant. Available when `large==false`. |
80
+ | tag | tag | `string` | `''` | Identifier line under the compact readout stack, e.g. '#0001'. Available when `large==false`. |
81
+
82
+ ## Events
83
+
84
+ None.
85
+
86
+ ## Slots
87
+
88
+ | Slot | Description |
89
+ | --- | --- |
90
+ | icon | Replaces the default generator symbol (`obi-*` icon) |
91
+ | secondary-icon | Replaces the battery icon on the compact stack's secondary row |
92
+
93
+ ## Stories
94
+
95
+ - [Default](https://openbridge-next-storybook.web.app/?path=/story/automation-gauge-generator--default)
96
+ - [Double](https://openbridge-next-storybook.web.app/?path=/story/automation-gauge-generator--double)
97
+ - [Large Regular](https://openbridge-next-storybook.web.app/?path=/story/automation-gauge-generator--large-regular)
98
+ - [Large Double](https://openbridge-next-storybook.web.app/?path=/story/automation-gauge-generator--large-double)
99
+
100
+ ## See also
101
+
102
+ - [Advice System](https://openbridge-next-storybook.web.app/docs/introduction-advice-system.md)