@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,103 @@
1
+ # `<obc-elevated-card-radio-group>`
2
+
3
+ A group of radio buttons styled as elevated cards for single selection.
4
+
5
+ Lifecycle: stable. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/ui-components-sections-elevated-card-radio-button-group--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/components/elevated-card-radio-group/elevated-card-radio-group.ts)
6
+
7
+ `<obc-elevated-card-radio-group>` – A group of radio buttons styled as elevated cards for single selection.
8
+
9
+ Presents a set of mutually exclusive options, each displayed as an elevated card radio button. Only one option can be selected at a time, providing a visually distinct and touch-friendly alternative to standard radio groups.
10
+
11
+ ---
12
+
13
+ ## Features
14
+ - **Single Selection:** Only one card radio can be selected at a time; selecting a new option deselects the previous.
15
+ - **Elevated Card Style:** Each option is rendered as an elevated card, enhancing visual separation and affordance.
16
+ - **Configurable Options:** Options are provided as an array of `{label, value}` objects for flexible content.
17
+ - **Disabled State:** The entire group can be disabled, preventing interaction.
18
+ - **Required State:** Can be marked as required for form validation.
19
+ - **Pre-selection:** Supports setting an initial selected value.
20
+ - **Named Grouping:** All radios share a common `name` for proper form grouping and native browser support.
21
+ - **Top/Bottom Card Styling:** The first and last cards can be visually styled as "top" or "bottom" for rounded corners or other effects (controlled by the `top` property).
22
+
23
+ ---
24
+
25
+ ## Usage Guidelines
26
+ Use `obc-elevated-card-radio-group` when you want to present a set of mutually exclusive choices in a visually prominent, card-like format. Ideal for scenarios where options benefit from extra emphasis or need to be easily distinguishable (e.g., selecting a plan, mode, or configuration).
27
+
28
+ - Prefer this component over standard radio groups when visual clarity or touch interaction is important.
29
+ - Each option should have a concise label; avoid overly long text to maintain card layout.
30
+ - Only use for single-choice scenarios. For multiple selections, use checkboxes or a different component.
31
+ - The `disabled` property disables all options in the group.
32
+ - The `required` property can be used for form validation, ensuring a selection is made before submission.
33
+
34
+ **TODO(designer):** Confirm if there are recommended maximum numbers of options before switching to a different UI pattern, and if there are layout constraints for very long labels.
35
+
36
+ ---
37
+
38
+ ## Properties
39
+ - `options` (`{label: string; value: string}[]`): Array of options to display as card radios. Each object should have a `label` (displayed text) and a `value` (submitted value).
40
+ - `name` (`string`): Shared name for all radio inputs in the group. Ensures native radio group behavior. (Default: `'default'`)
41
+ - `value` (`string`): The currently selected value. Setting this will pre-select the corresponding card radio.
42
+ - `disabled` (`boolean`): Disables all options in the group when true.
43
+ - `required` (`boolean`): Marks the group as required for form validation.
44
+ - `top` (`boolean`): If true, applies "top" styling to the first card (e.g., rounded corners). The last card always receives "bottom" styling.
45
+
46
+ ---
47
+
48
+ ## Events
49
+ - `change` – Fired when the selected value changes. The event detail contains the new value: `{ value: string }`.
50
+
51
+ ---
52
+
53
+ ## Best Practices & Constraints
54
+ - Ensure all options have unique `value` fields to prevent selection conflicts.
55
+ - For accessibility, provide clear and descriptive labels for each option.
56
+ - Use the `name` property to group radios together for correct form submission and keyboard navigation.
57
+ - Avoid using this component for binary (yes/no) choices; use a single toggle or checkbox instead.
58
+
59
+ ---
60
+
61
+ ## Example
62
+ ```html
63
+ <obc-elevated-card-radio-group
64
+ .options=${[
65
+ {label: 'Option A', value: 'a'},
66
+ {label: 'Option B', value: 'b'},
67
+ {label: 'Option C', value: 'c'}
68
+ ]}
69
+ name="example"
70
+ value="b"
71
+ required
72
+ ></obc-elevated-card-radio-group>
73
+ ```
74
+ In this example, "Option B" is pre-selected, and the group is required.
75
+
76
+ ## Properties
77
+
78
+ | Property | Attribute | Type | Default | Description |
79
+ | --- | --- | --- | --- | --- |
80
+ | options | options | `ElevatedCardRadioGroupOption[]` | `[]` | Array of options to display as card radios. Each option should be an object with a `label` (displayed text) and a `value` (submitted value). Example: `[{label: 'Option 1', value: '1'}, {label: 'Option 2', value: '2'}]` |
81
+ | name | name | `string` | `'default'` | Shared name for all radio inputs in the group. Ensures native radio group behavior and correct form submission. |
82
+ | value | value | `string` | `''` | The currently selected value. Setting this will pre-select the corresponding card radio. |
83
+ | disabled | disabled | `boolean` | `false` | Disables all options in the group when true. |
84
+ | required | required | `boolean` | `false` | Marks the group as required for form validation. |
85
+ | top | top | `boolean` | `false` | If true, applies "top" styling to the first card (e.g., for rounded corners). The last card always receives "bottom" styling. |
86
+
87
+ ## Events
88
+
89
+ | Event | Type | Description |
90
+ | --- | --- | --- |
91
+ | change | `ObcElevatedCardRadioGroupChangeEvent` | Dispatched when the value changes |
92
+
93
+ ## Slots
94
+
95
+ | Slot | Description |
96
+ | --- | --- |
97
+ | (default) | No named slots. All content is provided via the `options` property. |
98
+
99
+ ## Stories
100
+
101
+ - [None Selected](https://openbridge-next-storybook.web.app/?path=/story/ui-components-sections-elevated-card-radio-button-group--none-selected)
102
+ - [Pre Selected](https://openbridge-next-storybook.web.app/?path=/story/ui-components-sections-elevated-card-radio-button-group--pre-selected)
103
+ - [Disabled](https://openbridge-next-storybook.web.app/?path=/story/ui-components-sections-elevated-card-radio-button-group--disabled)
@@ -0,0 +1,104 @@
1
+ # `<obc-elevated-card-radio>`
2
+
3
+ A single radio button presented within an elevated card container for visually distinct selection in a group.
4
+
5
+ Lifecycle: stable. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/ui-components-sections-elevated-card-radio-button--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/components/elevated-card-radio/elevated-card-radio.ts)
6
+
7
+ `<obc-elevated-card-radio>` – A single radio button presented within an elevated card container for visually distinct selection in a group.
8
+
9
+ This component combines a radio input with an elevated card layout, making each option in a set more prominent and easier to scan. It is ideal for scenarios where radio choices need to be visually separated or require additional emphasis compared to standard radio groups.
10
+
11
+ ---
12
+
13
+ ## Features
14
+ - **Elevated Card Presentation:** Each radio option is wrapped in an elevated card, improving clarity and touch target size.
15
+ - **Integrated Radio Button:** Uses an underlying `<obc-radio>` for native group behavior and accessibility.
16
+ - **Customizable Appearance:** Supports `position` (layout), `size`, `graphicBorder`, and `border` for visual adjustments.
17
+ - **Label Support:** Displays a label next to the radio for clear identification.
18
+ - **Disabled and Required States:** Can be disabled or marked as required for form validation.
19
+ - **Light DOM Rendering:** Renders in the light DOM to allow native radio grouping via the `name` property.
20
+
21
+ ---
22
+
23
+ ## Usage Guidelines
24
+ Use `obc-elevated-card-radio` when you want to present a set of mutually exclusive options with greater visual separation than standard radio buttons. This is especially useful in forms or settings panels where choices should stand out or be easily tappable.
25
+
26
+ - Group multiple `obc-elevated-card-radio` components with the same `name` property to create a radio group.
27
+ - Prefer this component over plain radios when you need a more prominent or card-like selection UI.
28
+ - For simple, inline choices, use a standard `<obc-radio>` instead.
29
+ - **TODO(designer):** Confirm if there are recommended use cases or design constraints for when to use the card radio versus other selection controls.
30
+
31
+ ---
32
+
33
+ ## Slots
34
+ This component exposes no slots. The radio input and its label are rendered
35
+ internally from the `label`, `value`, `checked`, and related properties.
36
+
37
+ ---
38
+
39
+ ## Properties and Attributes
40
+ - `position`: Controls the card's layout position (default: Regular).
41
+ - `size`: Sets the card size (default: SingleLine).
42
+ - `graphicBorder`/`border`: Toggles visual borders on the card.
43
+ - `name`: Groups radios for mutual exclusivity (must match across group).
44
+ - `value`: The value submitted when this radio is selected.
45
+ - `label`: Text label shown next to the radio.
46
+ - `checked`: Whether this radio is selected.
47
+ - `disabled`: Disables the radio and card interaction.
48
+ - `required`: Marks the radio as required for form validation.
49
+
50
+ ---
51
+
52
+ ## Best Practices
53
+ - Ensure all radios in a group share the same `name` for correct selection behavior.
54
+ - Only one radio in a group should be `checked` at a time.
55
+ - Use concise, descriptive labels for each option.
56
+ - For accessibility, labels are linked to their radio via the `for` and `inputId` attributes.
57
+
58
+ ---
59
+
60
+ ## Example:
61
+ ```html
62
+ <obc-elevated-card-radio
63
+ name="choices"
64
+ value="option1"
65
+ label="Option 1"
66
+ ?checked=${true}
67
+ ></obc-elevated-card-radio>
68
+ <obc-elevated-card-radio
69
+ name="choices"
70
+ value="option2"
71
+ label="Option 2"
72
+ ></obc-elevated-card-radio>
73
+ ```
74
+ In this example, two card radios form a group; only one can be selected at a time.
75
+
76
+ ## Properties
77
+
78
+ | Property | Attribute | Type | Default | Description |
79
+ | --- | --- | --- | --- | --- |
80
+ | position | position | `ObcElevatedCardPosition` | | Controls the card's layout position. Accepts values from `ObcElevatedCardPosition` enum. Default is `Regular`. |
81
+ | size | size | `ObcElevatedCardSize` | | Sets the card's size. Accepts values from `ObcElevatedCardSize` enum. Default is `SingleLine`. |
82
+ | graphicBorder | graphicBorder | `boolean` | `false` | If true, displays a graphic border around the card for emphasis. Default is false. |
83
+ | border | border | `boolean` | `false` | If true, displays a standard border around the card. Default is false. |
84
+ | name | name | `string` | `''` | The radio group name. Radios with the same name are grouped and only one can be selected at a time. |
85
+ | value | value | `string` | `''` | The value submitted with the form when this radio is selected. |
86
+ | label | label | `string` | `''` | The label text displayed next to the radio button. |
87
+ | checked | checked | `boolean` | `false` | Whether this radio is currently selected. |
88
+ | disabled | disabled | `boolean` | `false` | Disables the radio button and prevents user interaction. |
89
+ | required | required | `boolean` | `false` | Marks the radio as required for form validation. |
90
+
91
+ ## Events
92
+
93
+ | Event | Type | Description |
94
+ | --- | --- | --- |
95
+ | change | `CustomEvent` | Fired when the radio is changed. |
96
+
97
+ ## Slots
98
+
99
+ None.
100
+
101
+ ## Stories
102
+
103
+ - [Unchecked](https://openbridge-next-storybook.web.app/?path=/story/ui-components-sections-elevated-card-radio-button--unchecked)
104
+ - [Checked](https://openbridge-next-storybook.web.app/?path=/story/ui-components-sections-elevated-card-radio-button--checked)
@@ -0,0 +1,146 @@
1
+ # `<obc-elevated-card>`
2
+
3
+ A versatile, elevated card component for presenting grouped content, actions, or navigation in a visually distinct container.
4
+
5
+ Lifecycle: stable. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/ui-components-sections-elevated-card--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/components/elevated-card/elevated-card.ts)
6
+
7
+ `<obc-elevated-card>` – A versatile, elevated card component for presenting grouped content, actions, or navigation in a visually distinct container.
8
+
9
+ The elevated card provides a flexible surface for displaying information, icons, status, and optional actions. It supports multiple layouts (single, double, or multi-line), can include leading/trailing icons, and adapts to different positions within a section or stack. Cards can be interactive (clickable, link) or static, and may include a prominent graphic or status indicator.
10
+
11
+ Appears as a raised surface to emphasize content or group related information, and is commonly used for navigation, selection, or summarizing details in a list or dashboard.
12
+
13
+ ## Features
14
+ - **Position variants:**
15
+ - `regular` (default): Standard card, not visually grouped.
16
+ - `top`, `bottom`, `center`: Visually groups cards for stacked layouts (e.g., lists or sections).
17
+ - **Size options:**
18
+ - `single-line`: Label only, compact.
19
+ - `double-line`: Label + single-line description.
20
+ - `multi-line`: Label + multi-line description.
21
+ - **Interactive or static:**
22
+ - Clickable by default (renders as `<button>` or `<a>` if `href` is set).
23
+ - Set `isClickable` to false for a static card (renders as `<article>`).
24
+ - Use `overrideTag` to force a specific HTML tag.
25
+ - **Icons and graphics:**
26
+ - Leading icon (`leading-icon` slot).
27
+ - Trailing icon (`trailing-icon` slot).
28
+ - Optional graphic area at the top (`graphic` slot), with optional border.
29
+ - **Status and actions:**
30
+ - Status indicator (`status` slot).
31
+ - Optional action button (`action` slot) for primary card actions.
32
+ - **Styling options:**
33
+ - `border`: Adds a border to visually separate cards in a stack.
34
+ - `graphicBorder`: Adds a border below the graphic area.
35
+ - `info`: Applies an informational style to the card.
36
+ - **Link support:**
37
+ - Set `href` and `target` to render as a link.
38
+
39
+ ## Usage Guidelines
40
+ Use `obc-elevated-card` to group related content, present navigation options, or highlight key information in a list or dashboard.
41
+ - Ideal for presenting summaries, selectable items, or actionable content.
42
+ - Use the `action` slot for a primary card action (e.g., "View", "Edit").
43
+ - Use `position` to visually group cards in a stack (e.g., top/middle/bottom).
44
+ - For non-interactive cards (purely informational), set `isClickable` to false or use `overrideTag="article"`.
45
+ - For navigation, set `href` to make the card a link.
46
+ - Use `graphic` for prominent illustrations or icons at the top of the card.
47
+ - For simple labels or navigation, use `single-line` or `double-line` size.
48
+ - For more detailed content, use `multi-line` size with a description.
49
+
50
+ **TODO(designer):** Confirm best practices for when to use each position variant (`top`, `bottom`, `center`) and recommended use of `graphic` vs. leading icon.
51
+
52
+ ## Slots
53
+
54
+ | Slot Name | Renders When... | Purpose |
55
+ |------------------|----------------------------|--------------------------------------------------------------|
56
+ | `graphic` | `hasGraphic` is true | Prominent graphic or illustration at the top of the card |
57
+ | `leading-icon` | `hasLeadingIcon` is true | Icon displayed before the label |
58
+ | `label` | Always | Main label or title of the card |
59
+ | `description` | `size` is not single-line | Additional description text (single or multi-line) |
60
+ | `status` | `hasStatus` is true | Status indicator or supplementary info |
61
+ | `action` | `hasAction` is true | Content for the action button (e.g., label or icon) |
62
+ | `trailing-icon` | `hasTrailingIcon` is true | Icon displayed after the content |
63
+
64
+ ## Events
65
+ - `action-click` – Fired when the action button is clicked.
66
+
67
+ ## Best Practices & Constraints
68
+ - Only use one primary action per card to keep interactions clear.
69
+ - For stacked layouts, use `position` and `border` to visually group cards.
70
+ - Use `graphic` for cards that need a strong visual or illustration.
71
+ - Set `isClickable` to false for informational cards that should not be interactive.
72
+ - If both `hasAction` and `isClickable` is false, the card is rendered as static with an action button.
73
+ - When using as a link, set both `href` and `target` as needed.
74
+ - The `overrideTag` property allows advanced control over the rendered HTML element.
75
+
76
+ ## Example
77
+
78
+ ```html
79
+ <obc-elevated-card position="regular" size="double-line" hasLeadingIcon hasTrailingIcon>
80
+ <obi-placeholder slot="leading-icon"></obi-placeholder>
81
+ <div slot="label">Title</div>
82
+ <div slot="description">Description with multiple lines of text.</div>
83
+ <obi-chevron-right-google slot="trailing-icon"></obi-chevron-right-google>
84
+ </obc-elevated-card>
85
+ ```
86
+
87
+ ## Properties
88
+
89
+ | Property | Attribute | Type | Default | Description |
90
+ | --- | --- | --- | --- | --- |
91
+ | position | position | `ObcElevatedCardPosition` | | Visual grouping and border radius: `regular` (default) is an ungrouped card, while `top`, `center` and `bottom` shape it for the first, an inner and the last card of a stack. |
92
+ | size | size | `ObcElevatedCardSize` | | Content layout: `single-line` (default) is the label alone, `double-line` adds a one-line description, `multi-line` a wrapping one. |
93
+ | overrideTag | overrideTag | `ObcElevatedCardTag \| undefined` | | Forces the card's host tag to `button`, `a`, `article` or `div`. Left unset, the tag follows `href` and `isClickable`: an anchor when `href` is set, a button when clickable, an article otherwise. |
94
+ | isClickable | | `boolean` | `true` | If false, the card is rendered as a static (non-clickable) element and uses `<article>` as its tag unless `overrideTag` is set. Useful for informational or status cards that should not be interactive. |
95
+ | info | info | `boolean` | `false` | Applies an informational style to the card. When true, the card uses the "info" visual style. |
96
+ | graphicBorder | graphicBorder | `boolean` | `false` | If true, adds a border below the graphic area (when present). Used to visually separate the graphic from the card content. Available when `hasGraphic==true`. |
97
+ | border | border | `boolean` | `false` | If true, adds a border to the card (top or bottom, depending on position). Useful for visually separating cards in a stack. Available when `position!=regular`. |
98
+ | hasAction | hasAction | `boolean` | `false` | If true, displays an action button in the card. The button's content is provided via the `action` slot. When set, the card is rendered as static (`isClickable` is forced false). |
99
+ | hasLeadingIcon | hasLeadingIcon | `boolean` | `false` | If true, displays a leading icon before the label. The icon is provided via the `leading-icon` slot. |
100
+ | hasTrailingIcon | hasTrailingIcon | `boolean` | `false` | If true, displays a trailing icon after the content. The icon is provided via the `trailing-icon` slot. |
101
+ | hasGraphic | hasGraphic | `boolean` | `false` | If true, displays a prominent graphic at the top of the card. The graphic is provided via the `graphic` slot. |
102
+ | hasStatus | hasStatus | `boolean` | `false` | If true, displays a status indicator in the card. The status content is provided via the `status` slot. |
103
+ | compact | compact | `boolean` | `false` | |
104
+ | directAction | directAction | `boolean` | `false` | |
105
+ | href | href | `string \| undefined` | | URL the card links to. It applies whenever the rendered tag is `<a>` — the default for a clickable card with an `href`, or `overrideTag="a"`; `isClickable=false`, `hasAction` or another `overrideTag` render a tag on which the URL has no effect. |
106
+ | target | target | `string \| undefined` | | Specifies the target for the link when `href` is set (e.g., `_blank`). |
107
+
108
+ ## Events
109
+
110
+ | Event | Type | Description |
111
+ | --- | --- | --- |
112
+ | action-click | `CustomEvent` | Fired when the action button is clicked |
113
+
114
+ ## Slots
115
+
116
+ | Slot | Description |
117
+ | --- | --- |
118
+ | graphic | Prominent graphic or illustration at the top of the card (shown when `hasGraphic` is true) |
119
+ | leading-icon | Icon displayed before the label (shown when `hasLeadingIcon` is true) |
120
+ | label | Main label or title of the card (always shown) |
121
+ | description | Additional description text (shown when `size` is not single-line) |
122
+ | status | Status indicator or supplementary info (shown when `hasStatus` is true) |
123
+ | action | Content for the action button (shown when `hasAction` is true) |
124
+ | trailing-icon | Icon displayed after the content (shown when `hasTrailingIcon` is true) |
125
+
126
+ ## Stories
127
+
128
+ - [Regular](https://openbridge-next-storybook.web.app/?path=/story/ui-components-sections-elevated-card--regular)
129
+ - [Action](https://openbridge-next-storybook.web.app/?path=/story/ui-components-sections-elevated-card--action)
130
+ - [Regular No Icons](https://openbridge-next-storybook.web.app/?path=/story/ui-components-sections-elevated-card--regular-no-icons)
131
+ - [Top](https://openbridge-next-storybook.web.app/?path=/story/ui-components-sections-elevated-card--top)
132
+ - [Regular With Status And Not Clickable](https://openbridge-next-storybook.web.app/?path=/story/ui-components-sections-elevated-card--regular-with-status-and-not-clickable)
133
+ - [Top With Boarder](https://openbridge-next-storybook.web.app/?path=/story/ui-components-sections-elevated-card--top-with-boarder)
134
+ - [Bottom](https://openbridge-next-storybook.web.app/?path=/story/ui-components-sections-elevated-card--bottom)
135
+ - [Bottom With Boarder](https://openbridge-next-storybook.web.app/?path=/story/ui-components-sections-elevated-card--bottom-with-boarder)
136
+ - [Center](https://openbridge-next-storybook.web.app/?path=/story/ui-components-sections-elevated-card--center)
137
+ - [Single Line](https://openbridge-next-storybook.web.app/?path=/story/ui-components-sections-elevated-card--single-line)
138
+ - [Single Line Compact](https://openbridge-next-storybook.web.app/?path=/story/ui-components-sections-elevated-card--single-line-compact)
139
+ - [Single Line Direct Action](https://openbridge-next-storybook.web.app/?path=/story/ui-components-sections-elevated-card--single-line-direct-action)
140
+ - [Double Line](https://openbridge-next-storybook.web.app/?path=/story/ui-components-sections-elevated-card--double-line)
141
+ - [Multi Line](https://openbridge-next-storybook.web.app/?path=/story/ui-components-sections-elevated-card--multi-line)
142
+ - [Link](https://openbridge-next-storybook.web.app/?path=/story/ui-components-sections-elevated-card--link)
143
+ - [With Status](https://openbridge-next-storybook.web.app/?path=/story/ui-components-sections-elevated-card--with-status)
144
+ - [With Graphic](https://openbridge-next-storybook.web.app/?path=/story/ui-components-sections-elevated-card--with-graphic)
145
+ - [With Graphic Border](https://openbridge-next-storybook.web.app/?path=/story/ui-components-sections-elevated-card--with-graphic-border)
146
+ - [With Graphic Info](https://openbridge-next-storybook.web.app/?path=/story/ui-components-sections-elevated-card--with-graphic-info)
@@ -0,0 +1,29 @@
1
+ # `<obc-end-point-line>`
2
+
3
+ No summary yet.
4
+
5
+ Lifecycle: deprecated. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/automation-line-end-point-line--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/automation/end-point-line/end-point-line.ts)
6
+
7
+ ## Properties
8
+
9
+ | Property | Attribute | Type | Default | Description |
10
+ | --- | --- | --- | --- | --- |
11
+ | medium | medium | `LineMedium` | | |
12
+ | direction | direction | `EndPointDirection` | | |
13
+ | lineType | lineType | `LineType` | | |
14
+
15
+ ## Events
16
+
17
+ None.
18
+
19
+ ## Slots
20
+
21
+ None.
22
+
23
+ ## Stories
24
+
25
+ - [Primary](https://openbridge-next-storybook.web.app/?path=/story/automation-line-end-point-line--primary)
26
+
27
+ ## See also
28
+
29
+ - [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)
@@ -0,0 +1,47 @@
1
+ # `<obc-event-item>`
2
+
3
+ A single event entry component for calendar and scheduling interfaces.
4
+
5
+ Lifecycle: beta. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/application-components-calendar-event-item--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/components/event-item/event-item.ts)
6
+
7
+ `<obc-event-item>` – A single event entry component for calendar and scheduling interfaces.
8
+
9
+ ## Properties
10
+
11
+ | Property | Attribute | Type | Default | Description |
12
+ | --- | --- | --- | --- | --- |
13
+ | title | title | `string` | `''` | |
14
+ | description | description | `string` | `''` | Available when `eventItemType==DoubleLine`. |
15
+ | startTime | startTime | `string` | `''` | |
16
+ | endTime | endTime | `string` | `''` | |
17
+ | eventItemType | eventItemType | | | |
18
+ | hasArrow | hasArrow | `boolean` | `false` | |
19
+ | hasTime | hasTime | `boolean` | `false` | |
20
+ | hasEndTime | hasEndTime | `boolean` | `false` | Available when `hasTime==true`. |
21
+ | aggregatedCount | aggregatedCount | `number` | `0` | Available when `eventItemType==Aggregated`. |
22
+ | colorCoded | colorCoded | `boolean` | `false` | |
23
+ | disabled | disabled | `boolean` | `false` | |
24
+
25
+ ## Events
26
+
27
+ | Event | Type | Description |
28
+ | --- | --- | --- |
29
+ | event-click | `CustomEvent<{title: string, startTime: string, endTime: string}>` | Fired when the event item is clicked. Contains event title, start time, and end time. |
30
+
31
+ ## Slots
32
+
33
+ | Slot | Description |
34
+ | --- | --- |
35
+ | (default) | No slots. All content is provided via properties. |
36
+
37
+ ## Stories
38
+
39
+ - [Single Line](https://openbridge-next-storybook.web.app/?path=/story/application-components-calendar-event-item--single-line)
40
+ - [Single Line No Time](https://openbridge-next-storybook.web.app/?path=/story/application-components-calendar-event-item--single-line-no-time)
41
+ - [Single Line With Arrow](https://openbridge-next-storybook.web.app/?path=/story/application-components-calendar-event-item--single-line-with-arrow)
42
+ - [Double Line](https://openbridge-next-storybook.web.app/?path=/story/application-components-calendar-event-item--double-line)
43
+ - [Aggregated](https://openbridge-next-storybook.web.app/?path=/story/application-components-calendar-event-item--aggregated)
44
+ - [Color Coded](https://openbridge-next-storybook.web.app/?path=/story/application-components-calendar-event-item--color-coded)
45
+ - [Disabled](https://openbridge-next-storybook.web.app/?path=/story/application-components-calendar-event-item--disabled)
46
+ - [Double Line Disabled](https://openbridge-next-storybook.web.app/?path=/story/application-components-calendar-event-item--double-line-disabled)
47
+ - [Aggregated Disabled](https://openbridge-next-storybook.web.app/?path=/story/application-components-calendar-event-item--aggregated-disabled)
@@ -0,0 +1,37 @@
1
+ # `<obc-event-list>`
2
+
3
+ A component that displays a list of events with a date header.
4
+
5
+ Lifecycle: beta. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/application-components-calendar-event-list--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/components/event-list/event-list.ts)
6
+
7
+ `<obc-event-list>` – A component that displays a list of events with a date header.
8
+
9
+ ## Properties
10
+
11
+ | Property | Attribute | Type | Default | Description |
12
+ | --- | --- | --- | --- | --- |
13
+ | showHeader | | `boolean` | `true` | Whether to show the date header. |
14
+ | date | | `Date \| number` | `new Date()` | The date to display in the header. The component will extract day name, month name, date number, and year from this Date object. Also accepts a timestamp (number) for compatibility with Storybook. |
15
+ | events | | `DateItemEvent[]` | `[]` | Array of events to display in the list. |
16
+ | locale | locale | `string \| undefined` | | Locale for date formatting, such as `en-US`, `nb-NO` or `de-DE`. Uses the browser default when unset. |
17
+
18
+ ## Events
19
+
20
+ | Event | Type | Description |
21
+ | --- | --- | --- |
22
+ | event-click | `CustomEvent<{title: string, startTime: string, endTime: string}>` | Passed on from the listed event items when one is clicked, with its title, start and end time. |
23
+
24
+ ## Slots
25
+
26
+ | Slot | Description |
27
+ | --- | --- |
28
+ | (default) | No slots. All content is provided via properties. |
29
+
30
+ ## Stories
31
+
32
+ - [Primary](https://openbridge-next-storybook.web.app/?path=/story/application-components-calendar-event-list--primary)
33
+ - [Without Header](https://openbridge-next-storybook.web.app/?path=/story/application-components-calendar-event-list--without-header)
34
+ - [Single Event](https://openbridge-next-storybook.web.app/?path=/story/application-components-calendar-event-list--single-event)
35
+ - [Multiple Events](https://openbridge-next-storybook.web.app/?path=/story/application-components-calendar-event-list--multiple-events)
36
+ - [No Arrows](https://openbridge-next-storybook.web.app/?path=/story/application-components-calendar-event-list--no-arrows)
37
+ - [No End Time](https://openbridge-next-storybook.web.app/?path=/story/application-components-calendar-event-list--no-end-time)
@@ -0,0 +1,68 @@
1
+ # `<obc-fan>`
2
+
3
+ No summary yet.
4
+
5
+ Lifecycle: stable. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/automation-automation-devices-fan--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/automation/fan/fan.ts)
6
+
7
+ ## Properties
8
+
9
+ | Property | Attribute | Type | Default | Description |
10
+ | --- | --- | --- | --- | --- |
11
+ | icon | | `TemplateResult` | | |
12
+ | turnedOn | turnedOn | `boolean` | `false` | Whether the device is running. Selects the running icon and the speed readout instead of the `Off` state. Not named `on`, which Svelte binds as an event listener in markup (#1090). |
13
+ | on | on | `boolean \| undefined` | | Alias of `turnedOn` for 1.x markup: setting it sets `turnedOn`. |
14
+ | speedInPercent | speedInPercent | `number` | `0` | Speed in percent, read only while `speed` is unset. |
15
+ | speed | speed | `number \| undefined` | | |
16
+ | speedUnit | speedUnit | `string` | `'%'` | |
17
+ | speedMaxDigits | speedMaxDigits | `number` | `3` | |
18
+ | labelDirection | labelDirection | `AutomationButtonLabelDirection` | | |
19
+ | variant | variant | `MotorizedVariant` | | |
20
+ | direction | direction | `AutomationButtonDirection` | | Available when `variant in [double, forward, flatForward]`. |
21
+ | extraReadouts | | `AutomationButtonReadoutStack[]` | | |
22
+ | showReadoutStack | | `boolean` | `true` | |
23
+ | 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. |
24
+ | readoutPosition | readoutPosition | `AutomationButtonReadoutPosition \| undefined` | `undefined` | Available when `showReadoutStack==true`. |
25
+ | showStatus | | `boolean` | `true` | Available when `showReadoutStack==true`. |
26
+ | showStatusIcon | | `boolean` | `false` | |
27
+ | readoutSize | readoutSize | `AutomationButtonReadoutStackSize` | | Available when `showReadoutStack==true`. |
28
+ | tag | tag | `string \| null` | `null` | Available when `showReadoutStack==true`. |
29
+ | positioning | positioning | `AutomationButtonPositioning` | | |
30
+ | activated | activated | `boolean` | `false` | Enables the activated background color, used to indicate that the button is activated/selected. |
31
+ | alert | alert | `boolean` | `false` | |
32
+ | alertFrameType | alertFrameType | `ObcAlertFrameType` | | Available when `alert==true`. |
33
+ | alertFrameThickness | alertFrameThickness | `ObcAlertFrameThickness` | | Available when `alert==true`. |
34
+ | alertFrameStatus | alertFrameStatus | `AlertType` | | Available when `alert==true`. |
35
+ | alertFrameMode | alertFrameMode | `ObcAlertFrameMode` | | Available when `alert==true`. |
36
+ | showAlertCategoryIcon | | `boolean` | `true` | Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. |
37
+ | showAlertIcon | showAlertIcon | `boolean` | `false` | Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. |
38
+ | progress | progress | `boolean` | `false` | Shows a progress indicator, used to indicate that an user action is in progress |
39
+ | progressMode | progressMode | `CircularProgressMode` | | Available when `progress==true`. |
40
+ | progressValue | progressValue | `number` | `0` | Available when `progress==true && progressMode in [determinate, progressiveIndeterminate]`. |
41
+ | badgeControl | badgeControl | `AutomationButtonBadgeControl` | | |
42
+ | badgeCommandLocked | badgeCommandLocked | `AutomationButtonBadgeCommandLocked` | | |
43
+ | badgeInterlock | badgeInterlock | `AutomationButtonBadgeInterlock` | | |
44
+ | badgeAlert | badgeAlert | `AutomationButtonBadgeAlert` | | |
45
+ | 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. |
46
+ | badgeSymbolOverride | | `AutomationBadgeSymbolOverride \| undefined` | `undefined` | Letters that replace badge symbols on this device, per badge property and value, on top of the app-wide ones set with `setAutomationBadgeSymbolOverride()`; for example `{commandLocked: {simulation: 's'}}`. `null` brings the symbol back. |
47
+ | badgeTopRight | | `HTMLElement[]` | | |
48
+ | badgeTopLeft | | `HTMLElement[]` | | |
49
+ | badgeBottomLeft | | `HTMLElement[]` | | |
50
+ | badgeBottomRight | | `HTMLElement[]` | | |
51
+
52
+ ## Events
53
+
54
+ None.
55
+
56
+ ## Slots
57
+
58
+ None.
59
+
60
+ ## Stories
61
+
62
+ - [Fan On](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-fan--fan-on)
63
+ - [Fan Off](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-fan--fan-off)
64
+ - [Fan Component Size](https://openbridge-next-storybook.web.app/?path=/story/automation-automation-devices-fan--fan-component-size)
65
+
66
+ ## See also
67
+
68
+ - [Migration Guide](https://openbridge-next-storybook.web.app/docs/introduction-migration-guide.md)
@@ -0,0 +1,91 @@
1
+ # `<obc-filter-chip>`
2
+
3
+ A selectable filter chip (tag, pill, token) component for toggling filter states in lists, tables, or dashboards.
4
+
5
+ Lifecycle: stable. [Storybook](https://openbridge-next-storybook.web.app/?path=/docs/ui-components-selection-controls-and-switches-filter-chip--docs) · [Source](https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/packages/openbridge-webcomponents/src/components/filter-chip/filter-chip.ts)
6
+
7
+ `<obc-filter-chip>` – A selectable filter chip (tag, pill, token) component for toggling filter states in lists, tables, or dashboards.
8
+
9
+ Filter chips allow users to select or deselect filter criteria in a compact, interactive form. Commonly used for filtering datasets, search results, or categorizing content. Each chip acts as a toggle button, visually indicating its checked (active) or unchecked (inactive) state.
10
+
11
+ ## Features
12
+ - **Checked/Unchecked States:** Visually distinct styles for selected (checked) and unselected (unchecked) chips.
13
+ - **Icon Support:** Always shows a check-mark icon when *checked*. The `showIcon` flag controls only the *leading* icon slot, regardless of checked state.
14
+ - **Label:** Displays a customizable label for the filter criterion.
15
+ - **Disabled State:** Can be disabled to prevent interaction.
16
+ - **Accessible:** Uses `role="checkbox"` and ARIA attributes for accessibility.
17
+ - **Custom Event:** Emits a `chip-toggle` event whenever the chip is toggled.
18
+
19
+ ## Usage Guidelines
20
+ Use `obc-filter-chip` for interactive filtering controls, such as:
21
+ - Filtering tables, lists, or map overlays by category, status, or tag.
22
+ - Letting users quickly toggle multiple filter criteria on or off.
23
+ - Displaying active filters in a compact, easily scannable format.
24
+
25
+ Chips are ideal for cases where multiple selections are allowed and the filter set is not too large. For single-choice selection, consider using radio buttons or a dropdown. For persistent, non-interactive tags, use a static label or badge instead.
26
+
27
+ **Synonyms:** filter tag, pill, token, selection chip.
28
+
29
+ ## Slots
30
+ | Slot Name | Renders When... | Purpose |
31
+ |-----------|-----------------|---------|
32
+ | (default) | Always (if `showIcon` is true) | Leading icon representing the filter type/category. Place an icon element (e.g., `<obi-placeholder>`) here. When checked, a checkmark icon is also shown. |
33
+
34
+ ## Properties
35
+ - `label` (string): The text label for the chip. Required for accessibility and clarity.
36
+ - `checked` (boolean): Whether the chip is currently selected (active). Toggles on click.
37
+ - `disabled` (boolean): If true, disables interaction and applies a muted style.
38
+ - `showIcon` (boolean): If true (default), always displays the leading icon in the slot.
39
+
40
+ ## Events
41
+ - `chip-toggle` {ObcFilterChipChangeEvent} – Fired when the chip is toggled (checked or unchecked). Event detail includes `{label, checked}`.
42
+
43
+ ## Best Practices
44
+ - Keep chip labels concise (ideally one or two words).
45
+ - Use icons to reinforce meaning, but avoid visual clutter.
46
+ - For accessibility, ensure each chip has a unique, descriptive label.
47
+ - Do not use chips for critical actions or destructive toggles.
48
+ - For large filter sets, consider grouping chips or using a dropdown.
49
+
50
+ ## Example:
51
+ ```html
52
+ <obc-filter-chip label="Active" .checked=${true}>
53
+ <obi-placeholder></obi-placeholder>
54
+ </obc-filter-chip>
55
+ ```
56
+ In this example, the chip is checked and displays a checkmark and a placeholder icon.
57
+
58
+ ## Keyboard
59
+ [APG Checkbox](https://www.w3.org/WAI/ARIA/apg/patterns/checkbox/): the chip is
60
+ a native button with checkbox semantics, so `Space` toggles it and `Enter`
61
+ does too.
62
+
63
+ Left out: nothing.
64
+
65
+ ## Properties
66
+
67
+ | Property | Attribute | Type | Default | Description |
68
+ | --- | --- | --- | --- | --- |
69
+ | disabled | disabled | `boolean` | `false` | Whether the chip is disabled (non-interactive). When true, the chip cannot be toggled and appears muted. |
70
+ | label | label | `string` | `'Label'` | The text label displayed on the chip. Should clearly describe the filter criterion. |
71
+ | checked | checked | `boolean` | `false` | Whether the chip is currently checked (selected/active). Toggles when the chip is clicked. |
72
+ | showIcon | showIcon | `boolean` | `false` | Whether to show a leading icon. If true, displays the icon placed in the default slot. |
73
+
74
+ ## Events
75
+
76
+ | Event | Type | Description |
77
+ | --- | --- | --- |
78
+ | chip-toggle | `ObcFilterChipChangeEvent` | Fired when the chip is toggled. |
79
+
80
+ ## Slots
81
+
82
+ | Slot | Description |
83
+ | --- | --- |
84
+ | (default) | Default leading-icon slot (shown when `showIcon` is true) |
85
+
86
+ ## Stories
87
+
88
+ - [Checked – Icon On](https://openbridge-next-storybook.web.app/?path=/story/ui-components-selection-controls-and-switches-filter-chip--checked-with-icon)
89
+ - [Checked – Icon Off](https://openbridge-next-storybook.web.app/?path=/story/ui-components-selection-controls-and-switches-filter-chip--checked-no-icon)
90
+ - [Unchecked – Icon On](https://openbridge-next-storybook.web.app/?path=/story/ui-components-selection-controls-and-switches-filter-chip--unchecked-with-icon)
91
+ - [Unchecked – Icon Off](https://openbridge-next-storybook.web.app/?path=/story/ui-components-selection-controls-and-switches-filter-chip--unchecked-no-icon)