@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,175 @@
1
+ # `<obc-keyboard-full>`
2
+
3
+ A full virtual keyboard for alphanumeric text input.
4
+
5
+ Lifecycle: beta. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/application-components-input-keyboard-full--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/components/keyboard-full/keyboard-full.ts)
6
+
7
+ `<obc-keyboard-full>` – A full virtual keyboard for alphanumeric text input.
8
+
9
+ A full-featured on-screen keyboard that provides QWERTY layout with numeric and symbol modes,
10
+ designed for touch-screen interfaces where physical keyboards are unavailable or impractical.
11
+ Includes an integrated text input field with cursor positioning, action buttons for mode switching,
12
+ and customizable visual presentation.
13
+
14
+ ## Features
15
+
16
+ ### Keyboard Modes
17
+ The component supports multiple input modes that users can toggle between:
18
+
19
+ - **ABC Mode (QWERTY)**: Standard alphabetic layout with CAPS lock functionality for uppercase/lowercase toggling.
20
+ When CAPS is enabled, letters appear in uppercase; when disabled, lowercase.
21
+ - **123 Mode (Numbers)**: Numeric layout (0-9) combined with commonly-used symbols like parentheses,
22
+ forward/backslash, quotation marks, and mathematical operators.
23
+ - **Symbols Mode**: Extended symbol set including currency symbols (§, €, £), brackets, mathematical
24
+ operators, and punctuation marks for specialized input.
25
+
26
+ ### Visual Variants
27
+
28
+ - **Floating (`type="floating"`)**: Default presentation with shadow elevation and rounded corners,
29
+ appearing to float above the UI. Suitable for modal or overlay contexts.
30
+ - **Flat (`type="flat"`)**: Minimalist presentation without shadows, made to sit flush
31
+ at the bottom of the screen or inside embedded layouts. Uses a top border for subtle separation.
32
+
33
+ ### Layout Configurations
34
+
35
+ - **Standard Layout** (`showNumberRow={false}`): Three-row QWERTY layout with mode toggle buttons
36
+ (ABC → 123 → Symbols → ABC) and cursor navigation arrows positioned beside the input field.
37
+ - **Compact Layout with Number Row** (`showNumberRow={true}`): Four-row layout featuring a dedicated
38
+ number row (1-0) above the QWERTY keys. In this mode, only ABC and Symbols modes are available
39
+ (no dedicated 123 mode), and cursor navigation arrows relocate to the action button panel on the right.
40
+
41
+ ### Interactive Elements
42
+
43
+ - **Integrated Input Field**: Displays current text value with placeholder support and direct editing capability.
44
+ - **Cursor Navigation**: Left/right arrow buttons for precise cursor positioning within the text.
45
+ - **SPACE Bar**: Full-width button for space character insertion at cursor position.
46
+ - **DEL (Backspace)**: Removes character before cursor position, with visual icon indicator.
47
+ - **CAPS Button**: Toggles uppercase/lowercase for alphabetic characters (ABC mode only).
48
+ - **Mode Toggle Button**: Cycles between keyboard modes, showing appropriate label (123, #+=, or ABC).
49
+ - **DONE Button**: Confirms input completion and dispatches the `done-click` event with final value.
50
+ - **Close Button** (optional): Appears in top bar when `showTopBar={true}`, dispatches `close-click` event.
51
+
52
+ ### Optional Top Bar
53
+
54
+ When `showTopBar` is enabled, displays a header containing:
55
+ - Parameter name label (customizable via `parameterName` property) in overline typography style
56
+ - Close button (icon-button with close icon) aligned to the right
57
+
58
+ ## Usage Guidelines
59
+
60
+ Use `<obc-keyboard-full>` when:
61
+ - Implementing touch-screen applications where users cannot access physical keyboards
62
+ - Building kiosk interfaces, embedded systems, or specialized control panels
63
+ - Creating password entry or secure input fields requiring custom keyboard layouts
64
+ - Designing applications for environments where on-screen keyboards improve workflow
65
+ (e.g., gloves-required environments, or where switching between physical keyboard and touchscreen is inefficient)
66
+
67
+ **Layout Decision Guide:**
68
+ - Use **floating type** for modal dialogs, overlays, or temporary input contexts where the keyboard
69
+ should appear distinct from underlying content.
70
+ - Use **flat type** for persistent keyboards anchored to the bottom of the screen or embedded
71
+ within a fixed layout section.
72
+ - Enable **showNumberRow** when frequent numeric input is required (passwords, codes, mixed alphanumeric),
73
+ reducing mode switches. This is ideal for fields like serial numbers, product codes, or passwords
74
+ containing both letters and numbers.
75
+ - Disable **showNumberRow** for primarily alphabetic input or when screen space is limited,
76
+ as standard layout provides more compact dimensions.
77
+
78
+ **Best Practices:**
79
+ - Always provide meaningful `parameterName` text when `showTopBar` is enabled to give users context
80
+ about what they're entering (e.g., "Enter Password", "Station Name", "Notes").
81
+ - Listen for `value-change` events to reactively update your application state as the user types.
82
+ - Handle `done-click` to process completed input (e.g., submit form, close keyboard, validate entry).
83
+ - Handle `close-click` to allow users to dismiss the keyboard without completing input
84
+ (equivalent to "cancel" action).
85
+ - For input fields requiring specific formats (URLs, emails), consider pre-populating `value`
86
+ with protocol prefixes or domain suffixes, or add validation after `done-click`.
87
+
88
+ **TODO(designer)**: Confirm whether there are recommended timeout behaviors if the keyboard remains
89
+ idle, or if keyboard should always require explicit close/done action.
90
+
91
+ **TODO(designer)**: Clarify whether `type="flat"` has specific use cases tied to certain application
92
+ contexts, or if it's purely a visual preference decision.
93
+
94
+ ## Keyboard Interaction Details
95
+
96
+ The component maintains proper cursor position during editing:
97
+ - Clicking within the input field positions the cursor at that location
98
+ - Key presses insert characters at the current cursor position (not just at the end)
99
+ - Backspace removes the character immediately before the cursor
100
+ - Space bar inserts a space at the cursor position
101
+ - Arrow buttons move the cursor left/right one character at a time
102
+
103
+ Focus is automatically maintained on the input field during keyboard interactions to prevent
104
+ focus loss when clicking keyboard buttons (via `@mousedown` prevention).
105
+
106
+ ## Example Usage
107
+
108
+ **Basic floating keyboard:**
109
+ ```html
110
+ <obc-keyboard-full
111
+ parameterName="Enter Station Name"
112
+ placeholder="Type here..."
113
+
114
+
115
+ ## Full Alphanumeric Keyboard Component
116
+
117
+ A comprehensive keyboard component supporting alphabetic, numeric, and symbol input with QWERTY layout.
118
+
119
+ ### Key Features:
120
+ - **Multiple Modes**: ABC (QWERTY), Numbers, and Symbols layouts
121
+ - **CAPS Lock**: Toggle between uppercase and lowercase
122
+ - **Navigation**: Arrow buttons to switch between number/symbol layouts
123
+ - **Flexible Styling**: Supports floating/flat visual styles
124
+ - **Input Field**: Integrated text input with real-time value updates
125
+
126
+ ### Keyboard Modes:
127
+ - **ABC Mode**: QWERTY layout with CAPS lock functionality
128
+ - **123 Mode**: Numbers and common symbols
129
+ - **Symbols Mode**: Extended symbol set
130
+
131
+ ### Usage:
132
+ Ideal for touch-screen interfaces where a custom keyboard is needed for text entry, especially in maritime or industrial applications.
133
+
134
+
135
+ ## Properties
136
+
137
+ | Property | Attribute | Type | Default | Description |
138
+ | --- | --- | --- | --- | --- |
139
+ | type | type | `ObcKeyboardFullType` | | |
140
+ | closeLabel | closeLabel | `string` | `'Close'` | Accessible name of the close button; the icon carries none. |
141
+ | showTopBar | showTopBar | `boolean` | `false` | |
142
+ | parameterName | parameterName | `string` | `'Parameter name'` | Available when `showTopBar==true`. |
143
+ | value | value | `string` | `''` | |
144
+ | placeholder | placeholder | `string` | `'Placeholder'` | |
145
+ | showNumberRow | showNumberRow | `boolean` | `false` | |
146
+ | inputSize | inputSize | `ObcTextInputFieldSize` | | |
147
+ | inputType | inputType | `HTMLInputTypeAttribute` | | Input type forwarded to the embedded input field. Set to `password` to mask the entered value (a show/hide toggle is then shown inside the field). |
148
+
149
+ ## Events
150
+
151
+ | Event | Type | Description |
152
+ | --- | --- | --- |
153
+ | value-change | `CustomEvent<{value: string}>` | Dispatched whenever the text value changes (on key press, backspace, space, or direct input field editing). The `detail.value` contains the complete current text string. |
154
+ | done-click | `CustomEvent<{value: string}>` | Dispatched when the DONE button is clicked, indicating the user has completed text entry. The `detail.value` contains the final text string. |
155
+ | close-click | `CustomEvent<void>` | Dispatched when the close button (in top bar) is clicked or `Escape` is pressed inside the keyboard, allowing the application to dismiss the keyboard without submitting the value. |
156
+
157
+ ## Slots
158
+
159
+ None.
160
+
161
+ ## Stories
162
+
163
+ - [Default](https://openbridge-next-storybook.web.app/?path=/story/application-components-input-keyboard-full--default): Default keyboard in floating style with ABC (QWERTY) layout.
164
+ - [Flat Style](https://openbridge-next-storybook.web.app/?path=/story/application-components-input-keyboard-full--flat-style): Flat keyboard without shadow, suitable for embedded layouts at the bottom of the screen.
165
+ - [With Number Row](https://openbridge-next-storybook.web.app/?path=/story/application-components-input-keyboard-full--with-number-row): Keyboard with number row (1-9, 0) and symbols layout. Ideal for password or mixed alphanumeric input. Cursor navigation arrows appear in the action buttons area.
166
+ - [Password](https://openbridge-next-storybook.web.app/?path=/story/application-components-input-keyboard-full--password): Sets `inputType="password"` to mask the entered value. A show/hide toggle appears inside the input field, and the `value-change`/`done-click` events still emit the real (unmasked) string.
167
+ - [Without Top Bar](https://openbridge-next-storybook.web.app/?path=/story/application-components-input-keyboard-full--without-top-bar): Demonstrates the `showTopBar` property set to `false`. The keyboard renders without the parameter name header and close button.
168
+ - [With Initial Value](https://openbridge-next-storybook.web.app/?path=/story/application-components-input-keyboard-full--with-initial-value): Demonstrates the `value` property with pre-filled text. Shows cursor positioning and editing capabilities - click in the input to position cursor, use arrow buttons to navigate.
169
+ - [Custom Placeholder](https://openbridge-next-storybook.web.app/?path=/story/application-components-input-keyboard-full--custom-placeholder): Demonstrates the `placeholder` property. The placeholder text is shown when the input is empty.
170
+ - [Custom Parameter Name](https://openbridge-next-storybook.web.app/?path=/story/application-components-input-keyboard-full--custom-parameter-name): Demonstrates the `parameterName` property. This text appears in the top bar header.
171
+ - [Playground](https://openbridge-next-storybook.web.app/?path=/story/application-components-input-keyboard-full--playground): Interactive playground - try different combinations of props in the Controls panel below.
172
+
173
+ ## See also
174
+
175
+ - [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)
@@ -0,0 +1,77 @@
1
+ # `<obc-keyboard-numeric>`
2
+
3
+ An on-screen numeric keyboard with optional calculation and symbol modes.
4
+
5
+ Lifecycle: beta. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/application-components-input-keyboard-numeric--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/components/keyboard-numeric/keyboard-numeric.ts)
6
+
7
+ `<obc-keyboard-numeric>` – An on-screen numeric keyboard with optional calculation and symbol modes.
8
+
9
+
10
+ ## Numeric Keyboard Component
11
+
12
+ A numeric keyboard for input fields with calculation capabilities.
13
+
14
+ ### Key Features:
15
+ - **Type**: Floating (with shadow) or Flat (embedded) styles
16
+ - **Calculation Row**: Optional row with +, -, ×, ÷, = buttons using amplified styling
17
+ - **Symbol Toggle**: Switch between numbers (1-9) and symbols (!@#$%&()/) keyboards
18
+ - **Title Bar**: Optional top bar with label and close button (floating type only)
19
+
20
+ ### Properties:
21
+ - `type`: "floating" | "flat" - Visual style
22
+ - `hasTitleBar`: Shows/hides top bar (only for floating type)
23
+ - `hasCalculation`: Shows/hides the calculation row (+, -, ×, ÷, =)
24
+ - `has2Symbols`: Shows/hides the #+= toggle button
25
+ - `label`: Parameter name displayed in top bar
26
+ - `unit`: Unit text displayed after the value
27
+ - `helperText`: Helper text displayed below the input
28
+ - `validationPattern`: Regex pattern for input validation (applies to keyboard and direct input)
29
+
30
+
31
+ ## Properties
32
+
33
+ | Property | Attribute | Type | Default | Description |
34
+ | --- | --- | --- | --- | --- |
35
+ | type | type | `ObcKeyboardNumericType` | | |
36
+ | hasTitleBar | hasTitleBar | `boolean` | `false` | Shows the top bar with label and close button (only applicable for floating type) Available when `type==Floating`. |
37
+ | label | label | `string` | `'Parameter name'` | Label displayed in the top bar Available when `hasTitleBar==true && type==Floating`. |
38
+ | closeLabel | closeLabel | `string` | `'Close'` | Accessible name of the close button; the icon carries none. |
39
+ | value | value | `string` | `''` | Current input value |
40
+ | hasCalculation | hasCalculation | `boolean` | `false` | Shows the calculation row with +, -, ×, ÷, = buttons |
41
+ | has2Symbols | has2Symbols | `boolean` | `false` | Shows the #+= / 123 toggle button to switch between numbers and symbols |
42
+ | helperText | helperText | `string` | `''` | Helper text content displayed below the input field |
43
+ | hasLeadingIcon | hasLeadingIcon | `boolean` | `false` | Shows a leading icon slot in the input field |
44
+ | unit | unit | `string` | `''` | Unit text (%, kg, °C, etc.) |
45
+ | inputFieldTextAlign | inputFieldTextAlign | `ObcNumberInputFieldTextAlign` | | Text alignment in input field |
46
+ | validationPattern | validationPattern | `string` | `''` | Optional regex pattern for validation (applies to both keyboard and direct input) |
47
+
48
+ ## Events
49
+
50
+ | Event | Type | Description |
51
+ | --- | --- | --- |
52
+ | close-click | `CustomEvent<void>` | Fired when the close button (or Escape) dismisses the keyboard. |
53
+ | done-click | `CustomEvent<{value: string}>` | Fired when the DONE button (or Enter) is pressed. |
54
+ | value-change | `CustomEvent<{value: string}>` | Fired whenever the current value changes. |
55
+
56
+ ## Slots
57
+
58
+ | Slot | Description |
59
+ | --- | --- |
60
+ | leading-icon | Custom leading icon shown inside the input field (rendered when `hasLeadingIcon` is true). |
61
+
62
+ ## Stories
63
+
64
+ - [Default](https://openbridge-next-storybook.web.app/?path=/story/application-components-input-keyboard-numeric--default)
65
+ - [Floating With All Features](https://openbridge-next-storybook.web.app/?path=/story/application-components-input-keyboard-numeric--floating-with-all-features): Floating keyboard with all features enabled: title bar, calculation row, and symbol toggle.
66
+ - [Flat Style](https://openbridge-next-storybook.web.app/?path=/story/application-components-input-keyboard-numeric--flat-style): Flat visual style for embedded layouts. Note: hasTitleBar has no effect in flat mode.
67
+ - [No Calculation Row](https://openbridge-next-storybook.web.app/?path=/story/application-components-input-keyboard-numeric--no-calculation-row): Keyboard without the calculation row (+, -, ×, ÷, =).
68
+ - [No Symbol Toggle](https://openbridge-next-storybook.web.app/?path=/story/application-components-input-keyboard-numeric--no-symbol-toggle): Keyboard without the #+= toggle button - only numbers are available.
69
+ - [Minimal Keyboard](https://openbridge-next-storybook.web.app/?path=/story/application-components-input-keyboard-numeric--minimal-keyboard): Minimal keyboard - flat style, no calculation row, no symbol toggle.
70
+ - [With Helper Text](https://openbridge-next-storybook.web.app/?path=/story/application-components-input-keyboard-numeric--with-helper-text): Keyboard with helper text for user guidance.
71
+ - [With Leading Icon](https://openbridge-next-storybook.web.app/?path=/story/application-components-input-keyboard-numeric--with-leading-icon): Input field with leading icon slot for visual context.
72
+ - [With Initial Value](https://openbridge-next-storybook.web.app/?path=/story/application-components-input-keyboard-numeric--with-initial-value): Keyboard initialized with a value.
73
+ - [Playground](https://openbridge-next-storybook.web.app/?path=/story/application-components-input-keyboard-numeric--playground): Interactive playground - try different combinations of props in the Controls panel below.
74
+
75
+ ## See also
76
+
77
+ - [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)
@@ -0,0 +1,28 @@
1
+ # `<obc-line-cross>`
2
+
3
+ No summary yet.
4
+
5
+ Lifecycle: deprecated. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/automation-line-cross--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/automation/line-cross/line-cross.ts)
6
+
7
+ ## Properties
8
+
9
+ | Property | Attribute | Type | Default | Description |
10
+ | --- | --- | --- | --- | --- |
11
+ | medium | medium | `LineMedium` | | |
12
+ | lineType | lineType | `LineType` | | |
13
+
14
+ ## Events
15
+
16
+ None.
17
+
18
+ ## Slots
19
+
20
+ None.
21
+
22
+ ## Stories
23
+
24
+ - [Primary](https://openbridge-next-storybook.web.app/?path=/story/automation-line-cross--primary)
25
+
26
+ ## See also
27
+
28
+ - [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)
@@ -0,0 +1,164 @@
1
+ # `<obc-line-graph>`
2
+
3
+ Line chart component (non-filled) built on Chart.js.
4
+
5
+ Lifecycle: beta. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/bars-and-graphs-line-graph--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/bars-graphs/line-graph/line-graph.ts)
6
+
7
+ Line chart component (non-filled) built on Chart.js.
8
+
9
+ Use this component for clean line graphs without area fills.
10
+ For area charts with fill modes, use `<obc-area-graph>` instead.
11
+
12
+ ## Features (inherited from base class)
13
+ - **Single or multi-series**: Use `data` for simple single-series or `datasets` for multi-series charts
14
+ - **Time and category axes**: Supports `category` x-axis (labels) and `time` x-axis (ISO dates or timestamps)
15
+ - **Line styles**: Choose `smooth` (curved), `straight`, or `stepped` line rendering
16
+ - **Flexible axes**: Single y-axis via `yAxisPosition` or multi-axis via `yAxes` for complex charts
17
+ - **Theme-aware**: Automatically updates colors on theme changes using CSS variables
18
+ - **Responsive sizing**: Fixed height with 1.5:1 aspect ratio (e.g., 320px height → 480px width)
19
+ - **Grid & ticks**: Toggle grid lines (`showGrid`, `showGridX`, `showGridY`) and tick marks (`showTickMarks`)
20
+ - **Legend support**: Optional HTML legend showing series labels with `legend` property
21
+ - **External axis support**: via slots
22
+
23
+ ## Size Behavior
24
+ - Above 192px: Shows labels, tick marks, and grid lines with standard padding
25
+ - Below 192px: Hides labels/ticks and uses edge-to-edge rendering for compact display
26
+
27
+ ## Usage Examples
28
+
29
+ ### Basic single-series line graph
30
+ ```html
31
+ <obc-line-graph></obc-line-graph>
32
+ <script>
33
+ const chart = document.querySelector('obc-line-graph');
34
+ chart.data = [
35
+ {label: 'Jan', value: 10},
36
+ {label: 'Feb', value: 14},
37
+ {label: 'Mar', value: 12}
38
+ ];
39
+ chart.unit = 'kW';
40
+ chart.height = 256;
41
+ </script>
42
+ ```
43
+
44
+ ### Multi-series with time axis and legend
45
+ ```html
46
+ <obc-line-graph></obc-line-graph>
47
+ <script>
48
+ const chart = document.querySelector('obc-line-graph');
49
+ chart.xAxisType = 'time';
50
+ chart.timeDisplay = 'date';
51
+ chart.legend = true;
52
+ chart.datasets = [
53
+ {label: 'Temperature', data: [{x: '2025-01-01', y: 20}, {x: '2025-01-02', y: 22}]},
54
+ {label: 'Humidity', data: [{x: '2025-01-01', y: 65}, {x: '2025-01-02', y: 68}]}
55
+ ];
56
+ </script>
57
+ ```
58
+
59
+ ### Multi-axis chart (left and right y-axes)
60
+ ```html
61
+ <obc-line-graph></obc-line-graph>
62
+ <script>
63
+ const chart = document.querySelector('obc-line-graph');
64
+ chart.yAxes = [
65
+ {id: 'y-temp', position: 'left', min: 0, max: 100},
66
+ {id: 'y-pressure', position: 'right', min: 0, max: 10}
67
+ ];
68
+ chart.datasets = [
69
+ {label: 'Temperature', data: [20, 25, 30], yAxisID: 'y-temp'},
70
+ {label: 'Pressure', data: [2, 3, 2.5], yAxisID: 'y-pressure'}
71
+ ];
72
+ </script>
73
+ ```
74
+
75
+ ### With line styles
76
+ ```html
77
+ <obc-line-graph lineMode="straight" .showPoints="${true}"></obc-line-graph>
78
+ ```
79
+
80
+ ## Properties
81
+
82
+ | Property | Attribute | Type | Default | Description |
83
+ | --- | --- | --- | --- | --- |
84
+ | advices | advices | `AdviceInput[]` | `[]` | Advice ranges and points in the instrument's unit; see `svghelpers/advice.ts`. |
85
+ | adviceTrigger | adviceTrigger | `AdviceTrigger` | | Which readings trigger an advice: the value, the setpoint, or either. Available when `adviceTrigger advices!=[]`. |
86
+ | adviceEmphasis | adviceEmphasis | `boolean` | `false` | The design's go-to / no-go emphasis rules. Available when `adviceEmphasis advices!=[]`. |
87
+ | data | | `ChartLineDataItem[]` | `[]` | Simple single-series data. `{label, value}` items for the category axis; `{x, value}` items for time/number axes (x: epoch ms, ISO string, Date, or Temporal object). Points are drawn in array order (no sorting). |
88
+ | datasets | | `ChartLineDataset[] \| undefined` | `undefined` | Chart.js-style datasets for multi-series use. If provided, takes precedence over `data`. Explicit Chart.js styling on an entry (`borderColor`, `backgroundColor`, `borderDash`, `borderCapStyle`, `fill`, `order`, `pointRadius`) wins over the derived defaults (`fill: true` selects the chart's own `'start'`); `ellipseClip` clips the entry's drawing to an ellipse: centre and `rx` in data units, `ry` in data units when given, else round in pixels. |
89
+ | labels | | `(string \| number)[] \| undefined` | `undefined` | Optional explicit labels for the x-axis (category mode). If omitted labels are derived from `data` |
90
+ | colors | | `string[]` | `[]` | Custom color palette (CSS variable names or color strings). |
91
+ | legend | legend | `boolean` | `false` | Show HTML legend below chart with series labels and colors. |
92
+ | showDebugOverlay | showDebugOverlay | `boolean` | `false` | Development mode: show visual debug overlay with dimension guides. |
93
+ | width | width | `number` | `480` | Width of the chart in pixels. Default: 480. |
94
+ | height | height | `number` | `320` | Height of the chart in pixels. Default: 320. |
95
+ | fixedAspectRatioScaling | fixedAspectRatioScaling | `boolean` | `false` | Enable fixed aspect ratio scaling mode. When true, width/height properties define the aspect ratio (not actual pixels). The component fills 100% of parent width and calculates height from aspect ratio. When false (default), width/height are used as actual pixel dimensions. |
96
+ | scaleReferenceSize | scaleReferenceSize | `number` | `384` | Reference size for external scales when using fixedAspectRatioScaling. This value is passed down to external scales to determine their 1:1 Figma design size. At this reference size, scales render at native size; above/below they scale proportionally. Default: 384 (matches Figma design baseline). |
97
+ | xAxisType | xAxisType | `XAxisType` | | X-axis mode: 'category' for labeled, evenly spaced data points; 'time' for time-based data positioned proportionally; 'number' for plain numeric x-values. |
98
+ | yAxisPosition | yAxisPosition | `YAxisPosition` | | Single y-axis position ('left' or 'right'). For multiple y-axes, use yAxes instead. |
99
+ | yAxes | | `ChartLineYAxisConfig[] \| undefined` | `undefined` | Multiple y-axis definitions for complex multi-axis charts. Each entry accepts `min`/`max` to pin the range and `reverse` to plot `min` at the top; the primary axis' `reverse` cascades to slotted left/right scales. |
100
+ | xAxis | | `ChartLineXAxisConfig \| undefined` | `undefined` | Pinned x range (`min`/`max`) for time and number axes. Without it the axis spans exactly the data, so a window that is still filling stretches across the full width. In `minutes` display `max` is the `0min` reference. Available when `xAxisType!=category`. |
101
+ | xMarker | | `ChartLineXMarker \| undefined` | `undefined` | Vertical marker at an x value: solid from the plot top to the dataset's value there (`datasetIndex`, default 0), dotted below it, with a dot on the value unless `showDot` is false. Drawn in the dataset's line colour. |
102
+ | yMarker | | `ChartLineYMarker \| undefined` | `undefined` | Horizontal 2px marker across the plot at a y value, in the dataset's line colour (`datasetIndex`, default 0). |
103
+ | showGrid | showGrid | `boolean` | `false` | Show grid lines. |
104
+ | showGridX | showGridX | `boolean` | `false` | Show vertical grid lines (x-axis). Default: false. Available when `showGrid==true`. |
105
+ | showGridY | showGridY | `boolean` | `false` | Show horizontal grid lines (y-axis). Default: false. Available when `showGrid==true`. |
106
+ | showTickMarks | showTickMarks | `boolean` | `false` | Show axis tick marks and labels. |
107
+ | hasLabelPadding | | `boolean` | `true` | Reserves canvas padding for axis tick labels on the sides that have no slotted external scale. `false` renders those sides edge-to-edge and hides the tick labels so they cannot be clipped, and it also suppresses the automatic edge-to-edge switch below the 192px threshold, removing the padding jump at that crossing. Set it when a host owns the framing and never wants axis labels, as `obc-automation-tank` does. |
108
+ | rangeLabels | rangeLabels | `RangeLabels` | | Labels kept below the 192px threshold, where the axis labels are otherwise hidden: 'y' draws min, max and (inside the range) 0 in a gutter on the y-axis side; 'x' draws the first and last x value in a bottom gutter; 'xy' both. Ignored when `hasLabelPadding` is false. Available when `hasLabelPadding==true`. |
109
+ | showPoints | showPoints | `boolean` | `false` | Show point markers on data points. Default: false. |
110
+ | lineMode | lineMode | `LineMode` | | Line drawing style: 'smooth' (curved), 'straight', or 'stepped'. |
111
+ | unit | unit | `string` | `''` | Unit label displayed in tooltips (e.g., 'kW', 'kg', '%'). |
112
+ | timeDisplay | timeDisplay | `TimeDisplay` | | Time axis label format: 'date' (full date/time) or 'minutes' (relative). Available when `xAxisType==time`. |
113
+ | xTicksLimit | xTicksLimit | `number \| undefined` | `undefined` | Max number of x-axis ticks/grid lines. Useful for matching external axes. |
114
+ | xStepSize | xStepSize | `number \| undefined` | `undefined` | Force x-axis tick interval. Useful for matching external axes. |
115
+ | yTicksLimit | yTicksLimit | `number \| undefined` | `undefined` | Max number of y-axis ticks/grid lines. Useful for matching external axes. |
116
+ | yStepSize | yStepSize | `number \| undefined` | `undefined` | Force y-axis tick interval. Useful for matching external axes. |
117
+ | state | state | `InstrumentState` | | Instrument state affecting colors of external scales. |
118
+ | priority | priority | `Priority` | | Color priority: enhanced uses blue palette instead of default gray. |
119
+ | frameStyle | frameStyle | `FrameStyle` | | Frame style for chart and external scales. |
120
+ | borderRadiusPosition | borderRadiusPosition | `BorderRadiusPosition \| undefined` | `undefined` | Border radius position for the chart's own border. |
121
+ | borderRadiusPositionExternalScales | borderRadiusPositionExternalScales | `BorderRadiusPosition \| undefined` | `undefined` | Border radius position for external scales based on layout. |
122
+ | instrumentMode | instrumentMode | `boolean` | `false` | When true, the chart is used inside an instrument (e.g., gauge-trend). In this mode, only label font size responds to .obc-component-size-* CSS classes. Border radius uses the explicit `borderRadius` property value (or defaults to 8px), rather than reading from CSS variables. |
123
+ | borderRadius | borderRadius | `number \| undefined` | `undefined` | Explicit border radius value in pixels. When instrumentMode=true, this value is used directly (defaults to 8px). When instrumentMode=false, this is ignored and border radius is read from CSS variable. Available when `instrumentMode==true`. |
124
+ | lastMarkers | | `{x?: {x: number; y?: number; dot: boolean}; y?: {y: number}}` | `{}` | |
125
+
126
+ ## Events
127
+
128
+ None.
129
+
130
+ ## Slots
131
+
132
+ None.
133
+
134
+ ## Stories
135
+
136
+ - [Single-Series Line Graph (category)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-line-graph--single-series)
137
+ - [With Advice Areas](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-line-graph--with-advice-area)
138
+ - [Historical Advice Areas (time axis)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-line-graph--historical-advice): The area layer on a history: the trace crossed into the caution band and came back, which the limit lines make readable after the fact. The tint comes with a hit, and a plain line graph has no reading, so the states stay the configured ones.
139
+ - [Uneven Time Intervals (Time Axis)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-line-graph--uneven-time-intervals)
140
+ - [Date Objects (Time Axis)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-line-graph--date-objects-time-axis)
141
+ - [Number X-Axis](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-line-graph--number-axis)
142
+ - [Temporal API Input](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-line-graph--temporal-input)
143
+ - [Single-Series Line Graph (with external scales)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-line-graph--single-series-external-scales)
144
+ - [With Points Line Graph](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-line-graph--with-points)
145
+ - [Straight Line Graph](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-line-graph--straight-line)
146
+ - [Stepped Line Graph](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-line-graph--stepped-line)
147
+ - [Multi-Series Line Graph](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-line-graph--multi-series-time)
148
+ - [Minimal Height Line Graph (48px)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-line-graph--min-height)
149
+ - [Minimal Height With Range Labels (48px)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-line-graph--min-height-range-labels)
150
+ - [Below Threshold With Range Labels (191px, Y Only)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-line-graph--below-threshold-range-labels)
151
+ - [Threshold Height Line Graph (192px, where labels appear)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-line-graph--threshold-height)
152
+ - [No Labels/ticks Line Graph (but yes 32px padding for optional points)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-line-graph--no-labels-no-ticks)
153
+ - [With Legend Line Graph](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-line-graph--with-legend)
154
+ - [Multi-Axis Line Graph (left and right y-axes)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-line-graph--multi-axis)
155
+ - [Custom Colors](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-line-graph--custom-colors)
156
+ - [Realtime (squeezing)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-line-graph--realtime-squeezing)
157
+ - [Realtime (shifting)](https://openbridge-next-storybook.web.app/?path=/story/bars-and-graphs-line-graph--realtime-shifting)
158
+
159
+ ## See also
160
+
161
+ - [Advice System](https://openbridge-next-storybook.web.app/docs/introduction-advice-system.md)
162
+ - [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)
163
+ - [Migration Guide 2.0 to 2.1](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide-2-0-to-2-1.md)
164
+ - [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,28 @@
1
+ # `<obc-line-overlap>`
2
+
3
+ No summary yet.
4
+
5
+ Lifecycle: deprecated. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/automation-line-overlap--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/automation/line-overlap/line-overlap.ts)
6
+
7
+ ## Properties
8
+
9
+ | Property | Attribute | Type | Default | Description |
10
+ | --- | --- | --- | --- | --- |
11
+ | medium | medium | `LineMedium` | | |
12
+ | lineType | lineType | `LineType` | | |
13
+
14
+ ## Events
15
+
16
+ None.
17
+
18
+ ## Slots
19
+
20
+ None.
21
+
22
+ ## Stories
23
+
24
+ - [Primary](https://openbridge-next-storybook.web.app/?path=/story/automation-line-overlap--primary)
25
+
26
+ ## See also
27
+
28
+ - [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)
@@ -0,0 +1,64 @@
1
+ # `<obc-logic>`
2
+
3
+ No summary yet.
4
+
5
+ Lifecycle: stable. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/automation-automation-devices-logic--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/automation/logic/logic.ts)
6
+
7
+ ## Properties
8
+
9
+ | Property | Attribute | Type | Default | Description |
10
+ | --- | --- | --- | --- | --- |
11
+ | alternativeIcon | alternativeIcon | `LogicAlternativeIcon` | | |
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-logic--on)
59
+ - [Off](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-logic--off)
60
+ - [Static](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-logic--static)
61
+
62
+ ## See also
63
+
64
+ - [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)
@@ -0,0 +1,55 @@
1
+ # `<obc-main-engine-indicator>`
2
+
3
+ Compact dual-track main engine indicator without setpoints.
4
+
5
+ Lifecycle: stable. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/indicators-main-engine-indicator--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/navigation-instruments/main-engine-indicator/propulsion-main-engine-indicator.ts)
6
+
7
+ `<obc-main-engine-indicator>` – Compact dual-track main engine indicator without setpoints.
8
+
9
+ ## Features
10
+
11
+ - **Tracks:** fixed **48×48** layout with a top frame marker, a left speed track, and a right thrust track.
12
+ - **Inputs:** `rpmValue` is clamped to **0…1** and fills upward from the bottom. `pitchValue` is clamped to **-1…1** and fills from the center line toward the selected direction.
13
+ - **Deprecated aliases:** `speed` maps to `rpmValue * 100` and `thrust` maps to `pitchValue * 100`.
14
+ - **States:** `state="active"` renders live bars, `priority` selects enhanced or regular tokens, and non-active states keep the frame while hiding the dynamic bars.
15
+
16
+ ## Usage Guidelines
17
+
18
+ Use when the larger `obc-main-engine` is too dense and only a compact visual summary of speed and thrust is needed. Use `obc-main-engine` when setpoints or the larger scale treatment are required.
19
+
20
+ ## Properties
21
+
22
+ | Property | Attribute | Type | Default | Description |
23
+ | --- | --- | --- | --- | --- |
24
+ | pitchValue | pitchValue | `number` | | |
25
+ | rpmValue | rpmValue | `number` | | |
26
+ | thrust | thrust | `number` | | |
27
+ | speed | speed | `number` | | |
28
+ | state | state | `InstrumentState` | | |
29
+ | priority | priority | `Priority` | | |
30
+ | hasSilhouette | hasSilhouette | `boolean` | `false` | |
31
+
32
+ ## Events
33
+
34
+ None.
35
+
36
+ ## Slots
37
+
38
+ None.
39
+
40
+ ## Stories
41
+
42
+ - [Default](https://openbridge-next-storybook.web.app/?path=/story/indicators-main-engine-indicator--default)
43
+ - [In command + Silhouette](https://openbridge-next-storybook.web.app/?path=/story/indicators-main-engine-indicator--in-command-with-silhouette)
44
+ - [Not In Command](https://openbridge-next-storybook.web.app/?path=/story/indicators-main-engine-indicator--not-in-command)
45
+ - [Not in command + Silhouette](https://openbridge-next-storybook.web.app/?path=/story/indicators-main-engine-indicator--not-in-command-with-silhouette)
46
+ - [Reverse Thrust](https://openbridge-next-storybook.web.app/?path=/story/indicators-main-engine-indicator--reverse-thrust)
47
+ - [Low Ahead](https://openbridge-next-storybook.web.app/?path=/story/indicators-main-engine-indicator--low-ahead)
48
+ - [Low Astern](https://openbridge-next-storybook.web.app/?path=/story/indicators-main-engine-indicator--low-astern)
49
+ - [Off](https://openbridge-next-storybook.web.app/?path=/story/indicators-main-engine-indicator--off)
50
+ - [RPM 0](https://openbridge-next-storybook.web.app/?path=/story/indicators-main-engine-indicator--rpm-min)
51
+ - [RPM 0.5](https://openbridge-next-storybook.web.app/?path=/story/indicators-main-engine-indicator--rpm-mid)
52
+ - [RPM 1](https://openbridge-next-storybook.web.app/?path=/story/indicators-main-engine-indicator--rpm-max)
53
+ - [Pitch -1](https://openbridge-next-storybook.web.app/?path=/story/indicators-main-engine-indicator--pitch-min)
54
+ - [Pitch 0](https://openbridge-next-storybook.web.app/?path=/story/indicators-main-engine-indicator--pitch-zero)
55
+ - [Pitch 1](https://openbridge-next-storybook.web.app/?path=/story/indicators-main-engine-indicator--pitch-max)