@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-bipolar-transistor>`
2
+
3
+ No summary yet.
4
+
5
+ Lifecycle: stable. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/automation-automation-devices-bipolar-transistor--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/automation/bipolar-transistor/bipolar-transistor.ts)
6
+
7
+ ## Properties
8
+
9
+ | Property | Attribute | Type | Default | Description |
10
+ | --- | --- | --- | --- | --- |
11
+ | alternativeIcon | alternativeIcon | `BipolarTransistorAlternativeIcon` | | |
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-bipolar-transistor--on)
59
+ - [Off](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-bipolar-transistor--off)
60
+ - [Static](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-bipolar-transistor--static)
61
+
62
+ ## See also
63
+
64
+ - [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)
@@ -0,0 +1,58 @@
1
+ # `<obc-breadcrumb>`
2
+
3
+ A horizontal breadcrumb navigation component for displaying the user's current location within a hierarchy.
4
+
5
+ Lifecycle: stable. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/ui-components-menus-and-navigation-breadcrumb--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/components/breadcrumb/breadcrumb.ts)
6
+
7
+ `<obc-breadcrumb>` – A horizontal breadcrumb navigation component for displaying the user's current location within a hierarchy.
8
+
9
+ Provides a visual trail of links or steps, helping users understand their position and navigate back to previous levels. Commonly used for multi-level navigation paths in applications or websites.
10
+
11
+ ## Features
12
+ - **Dynamic Items:** Renders a sequence of breadcrumb items based on the provided `items` array.
13
+ - **Custom Divider Icon:** Uses a chevron icon (`<obi-chevron-right-google>`) as a separator between breadcrumb items.
14
+ - **Accessible Markup:** Uses semantic `<nav aria-label="Breadcrumb">` and ordered list for improved accessibility.
15
+ - **Flexible Labels:** Each breadcrumb displays a text label; supports any number of items.
16
+
17
+ ## Usage Guidelines
18
+ - Use `obc-breadcrumb` to show users their current location in a multi-level navigation structure and to provide easy access to previous steps or parent pages.
19
+ - Ideal for scenarios where users may need to backtrack or understand the hierarchy of the current view.
20
+ - Avoid using breadcrumbs for single-level navigation or when the navigation path is always flat.
21
+ - **TODO(designer):** Clarify if breadcrumb items should be interactive (links) or always static labels, and if there are recommended maximum numbers of items for optimal usability.
22
+
23
+ ## Example:
24
+ ```
25
+ <obc-breadcrumb
26
+ .items=${[
27
+ {label: 'Home'},
28
+ {label: 'Section'},
29
+ {label: 'Subsection'}
30
+ ]}
31
+ ></obc-breadcrumb>
32
+ ```
33
+ This will render: Home › Section › Subsection
34
+
35
+ ## Properties
36
+
37
+ | Property | Attribute | Type | Default | Description |
38
+ | --- | --- | --- | --- | --- |
39
+ | items | | | `[]` | The list of breadcrumb items to display, in order from root to current location. Each item should be an object with a `label` property (string). The component renders each label in sequence, separated by a chevron icon. Example: `[ {label: 'Home'}, {label: 'Section'}, {label: 'Page'} ]` |
40
+ | iconOnly | | `boolean` | `false` | |
41
+
42
+ ## Events
43
+
44
+ | Event | Type | Description |
45
+ | --- | --- | --- |
46
+ | breadcrumb-click | `BreadcrumbClickEvent` | Fired when a breadcrumb item is clicked. |
47
+
48
+ ## Slots
49
+
50
+ | Slot | Description |
51
+ | --- | --- |
52
+ | (default) | (none) This component does not use slots; all content is provided via the `items` property. |
53
+
54
+ ## Stories
55
+
56
+ - [Primary](https://openbridge-next-storybook.web.app/?path=/story/ui-components-menus-and-navigation-breadcrumb--primary)
57
+ - [Label](https://openbridge-next-storybook.web.app/?path=/story/ui-components-menus-and-navigation-breadcrumb--label)
58
+ - [Icon](https://openbridge-next-storybook.web.app/?path=/story/ui-components-menus-and-navigation-breadcrumb--icon)
@@ -0,0 +1,115 @@
1
+ # `<obc-brilliance-menu>`
2
+
3
+ A settings menu component for adjusting display palette and brightness.
4
+
5
+ Lifecycle: stable. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/application-components-menus-brilliance-menu--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/components/brilliance-menu/brilliance-menu.ts)
6
+
7
+ `<obc-brilliance-menu>` – A settings menu component for adjusting display palette and brightness.
8
+
9
+ Provides a combined interface for users to select a color palette (night, dusk, day, bright) and adjust screen brightness. Includes options for toggling automatic palette and brightness modes. Designed for quick access to visual environment controls in applications where adaptable display settings are important.
10
+
11
+ ## Features
12
+ - **Palette Selection:** Choose between four preset palettes: night, dusk, day, and bright. Each palette is represented by an icon.
13
+ - **Brightness Control:** Adjustable slider for fine-tuning brightness from 0 to 100. Optionally displays left/right icons for low and high brilliance.
14
+ - **Auto Modes:** Optional toggles for enabling automatic palette switching and automatic brightness adjustment.
15
+ - **Configurable Visibility:** Brightness controls and auto toggles can be shown or hidden via properties.
16
+ - **Responsive Layout:** Arranged in a card-style panel for use in settings menus or overlays.
17
+
18
+ ## Variants
19
+ - **Palette:** Four options—`night`, `dusk`, `day`, `bright`. Each is visually distinct and selectable via toggle button group.
20
+ - **Auto Toggles:** `showAutoBrightness` and `showAutoPalette` properties control the presence of auto mode switches.
21
+ - **Show Brightness:** The `showBrightness` property controls whether the brightness slider and auto brightness toggle are visible.
22
+
23
+ ## Usage Guidelines
24
+ Use `obc-brilliance-menu` in settings panels or overlays where users need to quickly adjust display appearance. Ideal for scenarios requiring rapid adaptation to changing lighting conditions or user preferences.
25
+ **TODO(designer):** Confirm if there are recommended default palette/brightness settings, and clarify intended use cases for auto toggles versus manual controls.
26
+
27
+ ## Properties and Configuration
28
+ - `palette` (`ObcPalette`): The currently selected palette. Accepts `'night'`, `'dusk'`, `'day'`, or `'bright'`. Defaults to `'day'`.
29
+ - `brightness` (`number`): Current brightness value (0–100). Defaults to `50`.
30
+ - `showAutoBrightness` (`boolean`): If true, displays the auto brightness toggle.
31
+ - `showAutoPalette` (`boolean`): If true, displays the auto palette toggle.
32
+ - `showBrightness` (`boolean`): If true, shows the brightness slider and auto brightness toggle.
33
+
34
+ ## Events
35
+ - `palette-changed` – Fired when the user selects a new palette. Event detail: `{ value: ObcPalette }`
36
+ - `brightness-changed` – Fired when the brightness slider is adjusted. Event detail: `{ value: number }`
37
+
38
+ ## Example
39
+ ```html
40
+ <obc-brilliance-menu
41
+ palette="dusk"
42
+ brightness="75"
43
+ showAutoBrightness
44
+ showAutoPalette
45
+ ></obc-brilliance-menu>
46
+ ```
47
+ In this example, both auto toggles are visible, the palette is set to dusk, and brightness is set to 75.
48
+
49
+ ## Properties
50
+
51
+ | Property | Attribute | Type | Default | Description |
52
+ | --- | --- | --- | --- | --- |
53
+ | softDismiss | softDismiss | `boolean` | `false` | Lets the menu close itself on a click outside it, on `Escape`, or when another menu opens. The page is covered while the menu is open, so the closing click reaches nothing there; only the top bar's strip stays clickable, which is how its buttons switch or close menus in one click. Wire it with three bindings: set `softDismiss`, bind `open` to a flag you keep, and reset that flag on `close`. The button that opens the menu needs no wiring of its own: flip the flag from its click, or from the button event of `obc-top-bar` or `obc-integration-bar`. The user menu's *Soft Dismiss From A Bar Button* story shows that wiring, the brilliance menu's *Soft Dismiss* story the one for a button you hold yourself (`bindPopoverTrigger`), and the vue demo runs its top bar this way. Leave it off to show and hide the menu yourself. |
54
+ | open | open | `boolean` | `false` | Whether the menu is showing. Bind it to a flag you keep rather than toggling it from the menu's own value: when the menu closes itself, `open` is written back to `false` before the button's click reaches your handler, so `menu.open = !menu.open` gets out of step. Reset the flag on `close`. Available when `softDismiss==true`. |
55
+ | palette | palette | `ObcPalette` | | The currently selected palette. Possible values: `'night'`, `'dusk'`, `'day'`, `'bright'`. Defaults to `'day'`. |
56
+ | brightness | brightness | `number` | `50` | The current brightness value (0–100). Defaults to `50`. |
57
+ | showLinkBrightness | showLinkBrightness | `boolean` | `false` | If true, displays the link brightness toggle below the brightness slider. |
58
+ | showLinkPalette | showLinkPalette | `boolean` | `false` | If true, displays the link palette toggle below the palette selector. |
59
+ | showBrightness | | `boolean` | `true` | If true, shows the brightness slider and auto brightness toggle in the menu. |
60
+ | showPalette | | `boolean` | `true` | If true, shows the palette selector and link palette toggle in the menu. |
61
+ | showNightPalette | | `boolean` | `true` | |
62
+ | showDuskPalette | | `boolean` | `true` | |
63
+ | showDayPalette | | `boolean` | `true` | |
64
+ | showBrightPalette | | `boolean` | `true` | |
65
+ | variant | variant | | | The variant of the menu. Possible values: `'normal'`, `'compact'`, `'tabbed'`. Defaults to `'normal'`. |
66
+ | brightnessUnit | brightnessUnit | `string` | `'%'` | The unit of the brightness value. |
67
+ | brightnessMax | brightnessMax | `number` | `100` | The maximum value of the brightness slider. |
68
+ | brightnessMinorStep | brightnessMinorStep | `number` | `5` | The minor step of the brightness slider. |
69
+ | brightnessMajorStep | brightnessMajorStep | `number` | `25` | The major step of the brightness slider. |
70
+ | brightnessInputVariant | brightnessInputVariant | | | The variant of the brightness input. |
71
+ | showScreenControlLink | showScreenControlLink | `boolean` | `false` | If true, displays the screen control link. |
72
+ | showAdditionalScreenControls | showAdditionalScreenControls | `boolean` | `false` | If true, displays the additional screen controls slot. |
73
+ | canIncreaseBrightness | | | | |
74
+ | canDecreaseBrightness | | | | |
75
+ | availablePalettes | | `ObcPalette[]` | | |
76
+ | canIncreasePalette | | | | |
77
+ | canDecreasePalette | | | | |
78
+ | effectivePalette | | | | |
79
+ | paletteIcon | | | | |
80
+
81
+ ## Events
82
+
83
+ | Event | Type | Description |
84
+ | --- | --- | --- |
85
+ | palette-changed | `ObcPaletteChangeEvent` | When the palette is changed |
86
+ | brightness-changed | `ObcBrightnessChangeEvent` | When the brightness is changed |
87
+ | link-palette-changed | `ObcLinkPaletteChangeEvent` | When the link palette toggle is changed |
88
+ | link-brightness-changed | `ObcLinkBrightnessChangeEvent` | When the link brightness toggle is changed |
89
+ | screen-control-link-clicked | `CustomEvent` | When the screen control link is clicked |
90
+ | close | `CustomEvent<void>` | Fired when the menu closed on its own, from a click outside, `Escape`, or another menu opening. `open` is already `false` by the time it arrives; reset the flag you bind to `open` here, or the next click on the button finds it still set and asks a closed menu to close. |
91
+
92
+ ## Slots
93
+
94
+ | Slot | Description |
95
+ | --- | --- |
96
+ | additional-screen-controls | Consumer-defined controls, placed after the screen control link; rendered when `showAdditionalScreenControls` is true |
97
+
98
+ ## Stories
99
+
100
+ - [Primary](https://openbridge-next-storybook.web.app/?path=/story/application-components-menus-brilliance-menu--primary)
101
+ - [Tabbed](https://openbridge-next-storybook.web.app/?path=/story/application-components-menus-brilliance-menu--tabbed)
102
+ - [Lumen](https://openbridge-next-storybook.web.app/?path=/story/application-components-menus-brilliance-menu--lumen)
103
+ - [No Link](https://openbridge-next-storybook.web.app/?path=/story/application-components-menus-brilliance-menu--no-link)
104
+ - [Compact](https://openbridge-next-storybook.web.app/?path=/story/application-components-menus-brilliance-menu--compact)
105
+ - [No Night Palette](https://openbridge-next-storybook.web.app/?path=/story/application-components-menus-brilliance-menu--no-night-palette)
106
+ - [No Dusk Palette Compact](https://openbridge-next-storybook.web.app/?path=/story/application-components-menus-brilliance-menu--no-dusk-palette-compact)
107
+ - [Additional Screen Controls](https://openbridge-next-storybook.web.app/?path=/story/application-components-menus-brilliance-menu--additional-screen-controls)
108
+ - [Soft Dismiss](https://openbridge-next-storybook.web.app/?path=/story/application-components-menus-brilliance-menu--soft-dismiss): With `softDismiss` on, the menu closes itself: click outside it or press `Escape` (#1293).
109
+
110
+ Try the button below the menu. The click that closes the menu stops there
111
+ — the button is not pressed until the next click, and the page does not
112
+ react to the mouse at all while the menu is up. The menu keeps a
113
+ see-through cover over the page for that; tint it with `::part(backdrop)`.
114
+
115
+ `bindPopoverTrigger` hooks up the button that opens it.
@@ -0,0 +1,64 @@
1
+ # `<obc-bus>`
2
+
3
+ A bus bar (busbar, power rail) for electrical schematic views.
4
+
5
+ Lifecycle: beta. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/automation-automation-devices-bus--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/automation/bus/bus.ts)
6
+
7
+ `<obc-bus>` – A bus bar (busbar, power rail) for electrical schematic views.
8
+
9
+ Renders a horizontal rounded rectangle with an optional centered label,
10
+ representing the node that circuit branches connect to in a distribution
11
+ schematic.
12
+
13
+ ## Features / Variants
14
+ - **Sizes** (`size`): `small` (16px tall, instrument label font, 4px corner
15
+ radius, default) or `medium` (24px tall, button font, 6px corner radius).
16
+ - **Color variants** (`variant`): `regular` (gray, default), `enhanced`
17
+ (blue) or `medium` (teal).
18
+ - **Tint** (`tint`): switches to the light (tinted) color pairing of the
19
+ selected variant. **TODO(designer):** document when the tinted style
20
+ should be used instead of the solid one.
21
+ - **Label** (`label`): centered text that clips without wrapping when the
22
+ bar is too narrow; leave it empty for a plain bar. Content is provided
23
+ via this property — the component has no slots.
24
+ - **Orientation** (`vertical`): renders the bar vertically with the label
25
+ rotated 90° clockwise (read top to bottom).
26
+ - **Length**: the bar fills the host element's width (default 200px), so
27
+ set the length by styling the host. When `vertical`, it fills the host
28
+ height instead (default 200px).
29
+
30
+ ## Usage Guidelines
31
+ Use to represent a power distribution bus that circuit branches connect
32
+ to. For the conductors that run between the bus and devices, use the line
33
+ components (e.g. `obc-horizontal-line` with the `electric` line type)
34
+ instead — the bus is the labeled connection node, not a conductor run.
35
+
36
+ The bus is display-only: it has no button behavior, readouts or badges.
37
+ For an operable or stateful device symbol, use one of the
38
+ `obc-automation-button`-based device components.
39
+
40
+ ## Properties
41
+
42
+ | Property | Attribute | Type | Default | Description |
43
+ | --- | --- | --- | --- | --- |
44
+ | label | label | `string` | `''` | Centered label text; the bar renders empty when omitted. |
45
+ | size | size | `BusSize` | | Bar height and typography preset. |
46
+ | variant | variant | `BusVariant` | | Color family of the bar. |
47
+ | tint | tint | `boolean` | `false` | Use the light (tinted) color pairing of the selected variant. |
48
+ | vertical | vertical | `boolean` | `false` | Render the bar vertically with the label rotated 90° clockwise. |
49
+
50
+ ## Events
51
+
52
+ None.
53
+
54
+ ## Slots
55
+
56
+ None.
57
+
58
+ ## Stories
59
+
60
+ - [Default](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-bus--default)
61
+ - [Medium Size](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-bus--medium-size)
62
+ - [Tint](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-bus--tint)
63
+ - [Vertical](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-bus--vertical)
64
+ - [All Variants](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-bus--all-variants)
@@ -0,0 +1,110 @@
1
+ # `<obc-button>`
2
+
3
+ A versatile button component supporting icons, variants, and link behavior.
4
+
5
+ Lifecycle: stable. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/ui-components-buttons-button--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/components/button/button.ts)
6
+
7
+ `<obc-button>` – A versatile button component supporting icons, variants, and link behavior.
8
+
9
+ The obc-button component provides a flexible, accessible button for triggering actions or navigation. It can display leading and/or trailing icons, adapt its appearance via multiple visual variants, and optionally render as a link when an `href` is provided. Designed for consistency and usability across a wide range of UI scenarios.
10
+
11
+ ## Features
12
+ - **Variants:**
13
+ - `normal` (default): Standard button appearance for primary actions.
14
+ - `raised`: Button with elevated styling for emphasis.
15
+ - `flat`: Minimal, low-emphasis button for secondary actions.
16
+ - **Icon Support:**
17
+ - Leading icon (slot="leading-icon") and/or trailing icon (slot="trailing-icon") can be displayed.
18
+ - **Full Width:**
19
+ - Set `fullWidth` to make the button expand to the width of its container.
20
+ - **Button or Link:**
21
+ - Renders as a native `<button>` by default, or as an `<a>` anchor when `href` is set (with optional `target`).
22
+ - **Disabled State:**
23
+ - Supports disabling for both button and link modes.
24
+ - **Segmented Group Support:**
25
+ - `segmentPosition` property allows the button to visually join with others in a segmented group.
26
+
27
+ ## Usage Guidelines
28
+ Use `obc-button` for interactive actions such as submitting forms, triggering dialogs, or navigating to other views.
29
+ - Choose the `normal` variant for primary actions, `raised` for extra emphasis, and `flat` for less prominent or inline actions.
30
+ - Use leading/trailing icons to visually reinforce the button's purpose (e.g., a download or arrow icon).
31
+ - When navigation is required, provide an `href` so the button renders as a link for proper semantics and accessibility.
32
+ - For icon-only buttons, supply an accessible label via the default slot or `aria-label`.
33
+ - Avoid using multiple buttons with conflicting actions in close proximity; follow standard UI guidelines for button grouping and emphasis.
34
+ - Use `segmentPosition` to visually group buttons for related actions.
35
+ - **TODO(designer):** Confirm if there are recommended icon sizes or spacing guidelines for best visual alignment.
36
+
37
+ ## Slots
38
+ | Slot Name | Renders When... | Purpose |
39
+ |-----------------|--------------------------|----------------------------------------------|
40
+ | (default) | Always | Button label text (required for accessibility)|
41
+ | leading-icon | `showLeadingIcon` is true | Icon displayed before the label |
42
+ | trailing-icon | `showTrailingIcon` is true| Icon displayed after the label |
43
+
44
+ ## Properties
45
+ - `variant` (ButtonVariant): Controls the visual style. Default is `normal`.
46
+ - `fullWidth` (boolean): Expands button to fill container width when true.
47
+ - `disabled` (boolean): Disables the button or link.
48
+ - `showLeadingIcon` (boolean): Shows the leading icon slot when true.
49
+ - `showTrailingIcon` (boolean): Shows the trailing icon slot when true.
50
+ - `href` (string): If set, renders as an anchor link.
51
+ - `target` (string): Link target (only applies when `href` is set).
52
+ - `segmentPosition` (segmentPosition): Visual grouping for segmented button layouts.
53
+ - `ariaLabel` (string): Accessible name of the button, in place of its slotted text.
54
+
55
+ ## Best Practices
56
+ - Always provide a clear label for accessibility, even if using only icons.
57
+ - Use only one primary action per view for clarity.
58
+ - When using as a link, ensure `href` points to a valid destination and consider `target="_blank"` for external links.
59
+ - Disabled state prevents all interaction and applies correct styling.
60
+ - For segmented groups, set `segmentPosition` appropriately on each button to ensure correct border radius and grouping.
61
+
62
+ ## Example:
63
+ ```
64
+ <obc-button variant="raised" showLeadingIcon>
65
+ <span slot="leading-icon"><obi-search></obi-search></span>
66
+ Search
67
+ </obc-button>
68
+ ```
69
+
70
+ ## Properties
71
+
72
+ | Property | Attribute | Type | Default | Description |
73
+ | --- | --- | --- | --- | --- |
74
+ | variant | variant | `ButtonVariant` | | Visual style: `normal` (default) is the standard button, `raised` is elevated for emphasis, `flat` is minimal and low-emphasis. |
75
+ | fullWidth | fullWidth | `boolean` | `false` | Expands the button to fill the width of its container when true. |
76
+ | disabled | disabled | `boolean` | `false` | Disables the button or link, preventing user interaction and applying disabled styling. |
77
+ | showLeadingIcon | showLeadingIcon | `boolean` | `false` | Whether to show the leading icon slot (`slot="leading-icon"`). When true, content in the `leading-icon` slot will be displayed before the label. |
78
+ | showTrailingIcon | showTrailingIcon | `boolean` | `false` | Whether to show the trailing icon slot (`slot="trailing-icon"`). When true, content in the `trailing-icon` slot will be displayed after the label. |
79
+ | href | href | `string \| undefined` | `undefined` | When provided, renders the button as an anchor link (`<a>`) instead of a native button. Use for navigation actions. |
80
+ | target | target | `string \| undefined` | `undefined` | Specifies the target for the anchor link (only applies when `href` is set). Common values: `_blank`, `_self`, `_parent`, `_top`. |
81
+ | segmentPosition | segmentPosition | `segmentPosition` | | Position within a segmented button group: `single` stands alone, `start`, `middle` and `end` shape the button for the first, an inner and the last segment. |
82
+ | ariaLabel | aria-label | `string \| null` | `null` | Accessible name forwarded to the inner `<button>` or `<a>`, mapped to the `aria-label` attribute. It replaces the slotted text as the name, for a button whose text describes a state rather than the action it takes. Start it with the visible text, so a user who speaks the label they see still reaches the button. `aria-labelledby` is not supported: ID references cannot cross the shadow boundary. |
83
+
84
+ ## Events
85
+
86
+ | Event | Type | Description |
87
+ | --- | --- | --- |
88
+ | click | | Fired when the button is clicked (if not disabled). |
89
+
90
+ ## Slots
91
+
92
+ | Slot | Description |
93
+ | --- | --- |
94
+ | (default) | Default slot for button label text (required for accessibility) |
95
+ | leading-icon | Slot for an icon to appear before the label (shown when `showLeadingIcon` is true) |
96
+ | trailing-icon | Slot for an icon to appear after the label (shown when `showTrailingIcon` is true) |
97
+
98
+ ## Stories
99
+
100
+ - [Normal](https://openbridge-next-storybook.web.app/?path=/story/ui-components-buttons-button--normal)
101
+ - [Flat](https://openbridge-next-storybook.web.app/?path=/story/ui-components-buttons-button--flat)
102
+ - [Raised](https://openbridge-next-storybook.web.app/?path=/story/ui-components-buttons-button--raised)
103
+ - [Leading Icon](https://openbridge-next-storybook.web.app/?path=/story/ui-components-buttons-button--with-leading-icon)
104
+ - [Trailing Icon](https://openbridge-next-storybook.web.app/?path=/story/ui-components-buttons-button--with-trailing-icon)
105
+ - [Both Icons](https://openbridge-next-storybook.web.app/?path=/story/ui-components-buttons-button--with-both-icons)
106
+ - [Full Width](https://openbridge-next-storybook.web.app/?path=/story/ui-components-buttons-button--full-width)
107
+ - [Disabled](https://openbridge-next-storybook.web.app/?path=/story/ui-components-buttons-button--disabled)
108
+ - [Segment Start](https://openbridge-next-storybook.web.app/?path=/story/ui-components-buttons-button--segment-start)
109
+ - [Segment Middle](https://openbridge-next-storybook.web.app/?path=/story/ui-components-buttons-button--segment-middle)
110
+ - [Segment End](https://openbridge-next-storybook.web.app/?path=/story/ui-components-buttons-button--segment-end)
@@ -0,0 +1,91 @@
1
+ # `<obc-calendar>`
2
+
3
+ A composite calendar component for date selection and event browsing.
4
+
5
+ Lifecycle: beta. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/application-components-calendar-calendar--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/components/calendar/calendar.ts)
6
+
7
+ `<obc-calendar>` – A composite calendar component for date selection and event browsing.
8
+
9
+ **Synonyms:** calendar widget, date picker, schedule view, planner, agenda calendar
10
+
11
+ Displays a month-view date grid with selectable dates, event indicators, and an optional
12
+ scrollable event panel. Supports four size variants that adapt header layout, grid density,
13
+ and event panel placement to fit different viewport sizes and use cases.
14
+
15
+ ## Features / Variants
16
+
17
+ - **Small:** Single-week strip with compact cells. Ideal for inline or dropdown use.
18
+ - **Regular:** Full month grid stacked above the event list. The standard calendar layout.
19
+ - **Large:** Side-by-side month grid (left) and event panel (right). Adds a "New event" button.
20
+ - **XLarge:** Full-page layout with `large` date cells showing inline events. No floating chrome
21
+ or footer. Raised "New event" button and a static month/year label replace the dropdown.
22
+ - **Month navigation:** Previous/next chevron buttons and a "Today" shortcut.
23
+ - **Date selection:** Clicking a date highlights it, auto-navigates if out-of-month, and
24
+ dispatches `date-select`.
25
+ - **Event panel:** Chronologically sorted event lists starting from the selected date, rendered
26
+ inside a scrollable area. Controlled via `hasEventList`.
27
+ - **Footer:** Optional navigation link row, always hidden in `xlarge` or via `hasFooter = false`.
28
+ - **Locale-aware:** Weekday labels, month names, and formatting respect the `locale` property.
29
+ - **Configurable week start:** `firstDayOfWeek` (0 = Sunday, 1 = Monday default).
30
+
31
+ ## Usage Guidelines
32
+
33
+ Use `regular` for dropdown/popover calendars, `small` for inline date strips, `large` for
34
+ side panels with room for events, and `xlarge` for dedicated full-page calendar views. Provide
35
+ events as a flat `CalendarEvent[]` array; the component groups and distributes them into the
36
+ grid and event panel automatically.
37
+
38
+ ## Example
39
+
40
+ ```html
41
+ <obc-calendar
42
+ type="large"
43
+ .date=${new Date(2026, 0, 15)}
44
+ .selectedDate=${new Date(2026, 0, 15)}
45
+ .events=${myEvents}
46
+ hasEventList
47
+
48
+ ## Properties
49
+
50
+ | Property | Attribute | Type | Default | Description |
51
+ | --- | --- | --- | --- | --- |
52
+ | type | type | | | |
53
+ | date | | `Date` | `new Date()` | |
54
+ | selectedDate | | `Date \| null` | `null` | |
55
+ | events | | `CalendarEvent[]` | `[]` | |
56
+ | hasEventList | | `boolean` | `true` | |
57
+ | hasFooter | | `boolean` | `true` | |
58
+ | locale | locale | `string \| undefined` | | |
59
+ | firstDayOfWeek | firstDayOfWeek | `number` | `1` | |
60
+ | footerLabel | footerLabel | `string` | `'Calendar'` | Available when `hasFooter==true && type!=XLarge`. |
61
+ | footerHref | footerHref | `string \| undefined` | | Available when `hasFooter==true && type!=XLarge`. |
62
+
63
+ ## Events
64
+
65
+ | Event | Type | Description |
66
+ | --- | --- | --- |
67
+ | month-change | `CustomEvent<{date: Date}>` | Fired when the displayed month changes via navigation. |
68
+ | date-select | `CustomEvent<{date: Date, events: CalendarEvent[]}>` | Fired when a date cell is clicked. |
69
+ | today-click | `CustomEvent<void>` | Fired when the "Today" button is clicked. |
70
+ | new-event-click | `CustomEvent<void>` | Fired when the "+ New event" button is clicked (Large/XLarge only). |
71
+ | calendar-click | `CustomEvent<void>` | Fired when the footer "Calendar" navigation link is clicked. |
72
+ | event-click | `CustomEvent<{title: string, startTime: string, endTime: string}>` | Passed on from the event items in a date cell when one is clicked, with its title, start and end time. |
73
+
74
+ ## Slots
75
+
76
+ None.
77
+
78
+ ## Stories
79
+
80
+ - [Regular](https://openbridge-next-storybook.web.app/?path=/story/application-components-calendar-calendar--regular)
81
+ - [Small](https://openbridge-next-storybook.web.app/?path=/story/application-components-calendar-calendar--small)
82
+ - [Large](https://openbridge-next-storybook.web.app/?path=/story/application-components-calendar-calendar--large)
83
+ - [Xlarge](https://openbridge-next-storybook.web.app/?path=/story/application-components-calendar-calendar--xlarge)
84
+ - [Without Event List](https://openbridge-next-storybook.web.app/?path=/story/application-components-calendar-calendar--without-event-list)
85
+ - [Without Footer](https://openbridge-next-storybook.web.app/?path=/story/application-components-calendar-calendar--without-footer)
86
+ - [Empty Calendar](https://openbridge-next-storybook.web.app/?path=/story/application-components-calendar-calendar--empty-calendar)
87
+ - [Many Events](https://openbridge-next-storybook.web.app/?path=/story/application-components-calendar-calendar--many-events)
88
+
89
+ ## See also
90
+
91
+ - [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)
@@ -0,0 +1,64 @@
1
+ # `<obc-capacitor>`
2
+
3
+ No summary yet.
4
+
5
+ Lifecycle: stable. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/automation-automation-devices-capacitor--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/automation/capacitor/capacitor.ts)
6
+
7
+ ## Properties
8
+
9
+ | Property | Attribute | Type | Default | Description |
10
+ | --- | --- | --- | --- | --- |
11
+ | alternativeIcon | alternativeIcon | `CapacitorAlternativeIcon` | | |
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-capacitor--on)
59
+ - [Off](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-capacitor--off)
60
+ - [Static](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-capacitor--static)
61
+
62
+ ## See also
63
+
64
+ - [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)