@oicl/openbridge-webcomponents-full-bundle 2.0.0-next.117 → 2.0.0-next.118

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 (111) hide show
  1. package/bundle/openbridge-webcomponents.bundle.js +37 -33
  2. package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
  3. package/custom-elements.json +28 -23
  4. package/dist/ar/poi/poi-base.d.ts +6 -0
  5. package/dist/ar/poi/poi-base.d.ts.map +1 -1
  6. package/dist/ar/poi/poi-base.js.map +1 -1
  7. package/dist/ar/poi-button/poi-button.d.ts +2 -2
  8. package/dist/ar/poi-button/poi-button.js.map +1 -1
  9. package/dist/components/accordion-card/accordion-card.d.ts.map +1 -1
  10. package/dist/components/accordion-card/accordion-card.js.map +1 -1
  11. package/dist/components/advice-message-item/advice-message-item.d.ts +4 -2
  12. package/dist/components/advice-message-item/advice-message-item.d.ts.map +1 -1
  13. package/dist/components/advice-message-item/advice-message-item.js +4 -2
  14. package/dist/components/advice-message-item/advice-message-item.js.map +1 -1
  15. package/dist/components/app-menu/app-menu.d.ts +1 -1
  16. package/dist/components/app-menu/app-menu.js +1 -1
  17. package/dist/components/app-menu/app-menu.js.map +1 -1
  18. package/dist/components/brilliance-menu/brilliance-menu.d.ts +8 -4
  19. package/dist/components/brilliance-menu/brilliance-menu.d.ts.map +1 -1
  20. package/dist/components/brilliance-menu/brilliance-menu.js +8 -4
  21. package/dist/components/brilliance-menu/brilliance-menu.js.map +1 -1
  22. package/dist/components/check-button/check-button.js.map +1 -1
  23. package/dist/components/checkbox/checkbox.d.ts +2 -2
  24. package/dist/components/checkbox/checkbox.js.map +1 -1
  25. package/dist/components/command-menu/command-menu.d.ts +1 -1
  26. package/dist/components/command-menu/command-menu.js +1 -1
  27. package/dist/components/command-menu/command-menu.js.map +1 -1
  28. package/dist/components/dropdown-button/dropdown-button.d.ts +2 -2
  29. package/dist/components/dropdown-button/dropdown-button.js +2 -2
  30. package/dist/components/dropdown-button/dropdown-button.js.map +1 -1
  31. package/dist/components/menu-button/menu-button.d.ts.map +1 -1
  32. package/dist/components/menu-button/menu-button.js.map +1 -1
  33. package/dist/components/navigation-item/navigation-item.d.ts +1 -5
  34. package/dist/components/navigation-item/navigation-item.d.ts.map +1 -1
  35. package/dist/components/navigation-item/navigation-item.js +0 -8
  36. package/dist/components/navigation-item/navigation-item.js.map +1 -1
  37. package/dist/components/navigation-item-group/navigation-item-group.d.ts +2 -1
  38. package/dist/components/navigation-item-group/navigation-item-group.d.ts.map +1 -1
  39. package/dist/components/navigation-item-group/navigation-item-group.js +2 -1
  40. package/dist/components/navigation-item-group/navigation-item-group.js.map +1 -1
  41. package/dist/components/notification-button/notification-button.d.ts +1 -1
  42. package/dist/components/notification-button/notification-button.js +1 -1
  43. package/dist/components/notification-button/notification-button.js.map +1 -1
  44. package/dist/components/notification-message-item/notification-message-item.d.ts +4 -2
  45. package/dist/components/notification-message-item/notification-message-item.d.ts.map +1 -1
  46. package/dist/components/notification-message-item/notification-message-item.js +4 -2
  47. package/dist/components/notification-message-item/notification-message-item.js.map +1 -1
  48. package/dist/components/pivot-item/pivot-item.d.ts +1 -1
  49. package/dist/components/pivot-item/pivot-item.js +1 -1
  50. package/dist/components/pivot-item/pivot-item.js.map +1 -1
  51. package/dist/components/slide-button/slide-button.d.ts.map +1 -1
  52. package/dist/components/slide-button/slide-button.js.map +1 -1
  53. package/dist/components/slider/slider.d.ts +2 -2
  54. package/dist/components/slider/slider.js +2 -2
  55. package/dist/components/slider/slider.js.map +1 -1
  56. package/dist/components/slider-double/slider-double.d.ts +2 -2
  57. package/dist/components/slider-double/slider-double.js +2 -2
  58. package/dist/components/slider-double/slider-double.js.map +1 -1
  59. package/dist/components/stepper-box/stepper-box.d.ts +4 -2
  60. package/dist/components/stepper-box/stepper-box.d.ts.map +1 -1
  61. package/dist/components/stepper-box/stepper-box.js +4 -2
  62. package/dist/components/stepper-box/stepper-box.js.map +1 -1
  63. package/dist/components/system-button/system-button.d.ts +1 -1
  64. package/dist/components/system-button/system-button.js +1 -1
  65. package/dist/components/system-button/system-button.js.map +1 -1
  66. package/dist/components/tabbed-card/tabbed-card.d.ts.map +1 -1
  67. package/dist/components/tabbed-card/tabbed-card.js.map +1 -1
  68. package/dist/components/toggle-button-option/toggle-button-option.d.ts +2 -1
  69. package/dist/components/toggle-button-option/toggle-button-option.d.ts.map +1 -1
  70. package/dist/components/toggle-button-option/toggle-button-option.js +2 -1
  71. package/dist/components/toggle-button-option/toggle-button-option.js.map +1 -1
  72. package/dist/components/toggle-button-vertical-group/toggle-button-vertical-group.js.map +1 -1
  73. package/dist/components/toggle-switch/toggle-switch.d.ts +1 -1
  74. package/dist/components/toggle-switch/toggle-switch.js +1 -1
  75. package/dist/components/toggle-switch/toggle-switch.js.map +1 -1
  76. package/dist/components/top-bar/top-bar.d.ts.map +1 -1
  77. package/dist/components/top-bar/top-bar.js.map +1 -1
  78. package/dist/components/topbar-message-item/topbar-message-item.js.map +1 -1
  79. package/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.d.ts +1 -1
  80. package/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.js +1 -1
  81. package/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.js.map +1 -1
  82. package/package.json +1 -1
  83. package/script/check-slot-event-docs.ts +36 -3
  84. package/src/ar/poi/poi-base.ts +6 -0
  85. package/src/ar/poi-button/poi-button.ts +2 -2
  86. package/src/components/accordion-card/accordion-card.ts +2 -1
  87. package/src/components/advice-message-item/advice-message-item.ts +4 -2
  88. package/src/components/app-menu/app-menu.ts +1 -1
  89. package/src/components/brilliance-menu/brilliance-menu.ts +8 -4
  90. package/src/components/check-button/check-button.ts +1 -1
  91. package/src/components/checkbox/checkbox.ts +2 -2
  92. package/src/components/command-menu/command-menu.ts +1 -1
  93. package/src/components/dropdown-button/dropdown-button.ts +2 -2
  94. package/src/components/menu-button/menu-button.ts +8 -4
  95. package/src/components/navigation-item/navigation-item.ts +1 -10
  96. package/src/components/navigation-item-group/navigation-item-group.ts +2 -1
  97. package/src/components/notification-button/notification-button.ts +1 -1
  98. package/src/components/notification-message-item/notification-message-item.ts +4 -2
  99. package/src/components/pivot-item/pivot-item.ts +1 -1
  100. package/src/components/slide-button/slide-button.ts +2 -1
  101. package/src/components/slider/slider.ts +2 -2
  102. package/src/components/slider-double/slider-double.ts +2 -2
  103. package/src/components/stepper-box/stepper-box.ts +4 -2
  104. package/src/components/system-button/system-button.ts +5 -5
  105. package/src/components/tabbed-card/tabbed-card.ts +2 -1
  106. package/src/components/toggle-button-option/toggle-button-option.ts +2 -1
  107. package/src/components/toggle-button-vertical-group/toggle-button-vertical-group.ts +2 -2
  108. package/src/components/toggle-switch/toggle-switch.ts +1 -1
  109. package/src/components/top-bar/top-bar.ts +8 -4
  110. package/src/components/topbar-message-item/topbar-message-item.ts +2 -2
  111. package/src/integration-systems/integration-dropdown-button/integration-dropdown-button.ts +1 -1
@@ -47,6 +47,12 @@ const VALID_POI_STATES = new Set(Object.values(ObcPoiState));
47
47
  * layout-change dispatch, and visual-query logic so that each variant
48
48
  * only needs to override `renderContent()` and `getVisualNodes()`.
49
49
  *
50
+ * The `@fires` tag below documents the dispatch site, which lives here rather
51
+ * than in the variants. It is deliberately duplicated on each concrete
52
+ * subclass — that is where `custom-elements.json` and the framework wrappers
53
+ * pick the event up, since this class is not registered. Do not remove it from
54
+ * the subclasses. `@ignore` keeps this class out of the generated docs.
55
+ *
50
56
  * @fires {CustomEvent<void>} obc-poi-data-layout-change - Fired when layout-driving properties change. Bubbles and is composed.
51
57
  * @ignore
52
58
  */
@@ -116,8 +116,8 @@ export interface ObcPoiButtonDataItem {
116
116
  * - `relation`: Optional relation icon/content rendered when `hasRelation` is true in data mode.
117
117
  *
118
118
  * ## Events
119
- * This component does not emit custom events.
120
- * - Emits a standard `click` event (`onClick` handler in framework wrappers) when activated.
119
+ * This component emits no custom events. A standard `click` bubbles from the
120
+ * internal `<button>` (`onClick` in the framework wrappers).
121
121
  *
122
122
  * ## Best Practices
123
123
  * - Keep `value`, `state`, and `selected` synchronized to avoid conflicting visual states.
@@ -210,7 +210,8 @@ export class ObcAccordionCard extends LitElement {
210
210
  this.expanded = !this.expanded;
211
211
 
212
212
  /**
213
- * @fires {CustomEvent<{expanded: boolean, cardTitle: string}>} accordion-toggle - Fired when the accordion is expanded or collapsed.
213
+ * Fired when the accordion is expanded or collapsed.
214
+ * @fires accordion-toggle
214
215
  */
215
216
  this.dispatchEvent(
216
217
  new CustomEvent('accordion-toggle', {
@@ -223,14 +223,16 @@ export class ObcAdviceMessageItem extends LitElement {
223
223
  }
224
224
 
225
225
  /**
226
- * @fires {CustomEvent<void>} message-click - Fired when the main message area is clicked.
226
+ * Fired when the main message area is clicked.
227
+ * @fires message-click
227
228
  */
228
229
  private handleMessageClick() {
229
230
  this.dispatchEvent(new CustomEvent('message-click'));
230
231
  }
231
232
 
232
233
  /**
233
- * @fires {CustomEvent<void>} action-click - Fired when the action button (text or icon) is clicked.
234
+ * Fired when the action button (text or icon) is clicked.
235
+ * @fires action-click
234
236
  */
235
237
  private handleActionClick() {
236
238
  this.dispatchEvent(new CustomEvent('action-click'));
@@ -56,7 +56,7 @@ export class ObcAppMenu extends LitElement {
56
56
  * Handles input events from the search field and emits a `search` event with the current value.
57
57
  *
58
58
  * @param e - The input event from the search field.
59
- * @fires {CustomEvent<string>} search - Fired when the search input value changes.
59
+ * @fires search
60
60
  */
61
61
  onSearchInput(e: Event) {
62
62
  this.dispatchEvent(
@@ -212,7 +212,8 @@ export class ObcBrillianceMenu extends LitElement {
212
212
  }
213
213
 
214
214
  /**
215
- * @fires palette-changed - Handles palette selection changes and emits `palette-changed`.
215
+ * Handles palette selection changes and emits `palette-changed`.
216
+ * @fires palette-changed
216
217
  * @param {CustomEvent} event
217
218
  */
218
219
  onPaletteChanged(event: CustomEvent) {
@@ -225,7 +226,8 @@ export class ObcBrillianceMenu extends LitElement {
225
226
  }
226
227
 
227
228
  /**
228
- * @fires brightness-changed - Handles brightness slider changes and emits `brightness-changed`.
229
+ * Handles brightness slider changes and emits `brightness-changed`.
230
+ * @fires brightness-changed
229
231
  * @param {CustomEvent} event
230
232
  */
231
233
  handleBrightnessChanged(event: CustomEvent) {
@@ -258,7 +260,8 @@ export class ObcBrillianceMenu extends LitElement {
258
260
  }
259
261
 
260
262
  /**
261
- * @fires link-palette-changed - Handles link palette changes and emits `link-palette-changed`.
263
+ * Handles link palette changes and emits `link-palette-changed`.
264
+ * @fires link-palette-changed
262
265
  * @param {CustomEvent} event
263
266
  */
264
267
  onLinkPaletteChanged(event: CustomEvent) {
@@ -270,7 +273,8 @@ export class ObcBrillianceMenu extends LitElement {
270
273
  }
271
274
 
272
275
  /**
273
- * @fires link-brightness-changed - Handles link brightness changes and emits `link-brightness-changed`.
276
+ * Handles link brightness changes and emits `link-brightness-changed`.
277
+ * @fires link-brightness-changed
274
278
  * @param {CustomEvent} event
275
279
  */
276
280
  onLinkBrightnessChanged(event: CustomEvent) {
@@ -197,7 +197,7 @@ export class ObcCheckButton extends LitElement {
197
197
  * Fired after the user toggles the check button.
198
198
  * The event detail includes the new checked state and the type of the button.
199
199
  *
200
- * @fires {CustomEvent<{checked: boolean, type: string}>} check-button-click - Fired after the user toggles the control.
200
+ * @fires check-button-click
201
201
  */
202
202
  this.dispatchEvent(
203
203
  new CustomEvent('check-button-click', {
@@ -96,8 +96,8 @@ export type ObcCheckboxChangeEvent = CustomEvent<{
96
96
  * ```
97
97
  *
98
98
  * @slot - No named slots.
99
- * @fires {ObcCheckboxChangeEvent} change - Emitted when the status changes.
100
- * @fires {ObcCheckboxChangeEvent} disabled - Emitted when the disabled state changes.
99
+ * @fires {ObcCheckboxChangeEvent} change - Emitted when the status changes.
100
+ * @fires {ObcCheckboxChangeEvent} disabled - Emitted when the disabled state changes.
101
101
  * @stable
102
102
  */
103
103
  @customElement('obc-checkbox')
@@ -177,7 +177,7 @@ export class ObcCommandMenu extends LitElement {
177
177
  /**
178
178
  * Handles the toggle change event from the start-stop switch and emits a `change` event with the new command state.
179
179
  *
180
- * @fires {CustomEvent<{inCommand: boolean}>} change - Fired when the command state is toggled.
180
+ * @fires change
181
181
  */
182
182
  private onChange(event: ObcStartStopSwitchChangeEvent) {
183
183
  // Stop the start-stop-switch's composed event from leaking through
@@ -224,8 +224,8 @@ export class ObcDropdownButton extends LitElement {
224
224
  /**
225
225
  * Handles the dropdown-change and change event when a new option is selected. Updates the selected value and label, and dispatches a `dropdown-change` and 'change' event with the new selection.
226
226
  *
227
- * @fires {ObcDropdownButtonChangeEvent} dropdown-change - Fired when the user selects a different option.
228
- * @fires {ObcDropdownButtonChangeEvent} change - Fired when the user selects a different option.
227
+ * @fires dropdown-change
228
+ * @fires change
229
229
  */
230
230
  private changeHandler(event: Event) {
231
231
  const target = event.target as HTMLSelectElement;
@@ -266,7 +266,8 @@ export class ObcMenuButton extends LitElement {
266
266
  if (e.newState === 'open') {
267
267
  void this.focusMenuAfterOpen();
268
268
  /**
269
- * @event open - Fired when the menu is opened.
269
+ * Fired when the menu is opened.
270
+ * @event open
270
271
  * @type {CustomEvent<void>}
271
272
  */
272
273
  this.dispatchEvent(new CustomEvent('open'));
@@ -277,7 +278,8 @@ export class ObcMenuButton extends LitElement {
277
278
  this.triggerButton?.focus();
278
279
  }
279
280
  /**
280
- * @event close - Fired when the menu is closed.
281
+ * Fired when the menu is closed.
282
+ * @event close
281
283
  * @type {CustomEvent<void>}
282
284
  */
283
285
  this.dispatchEvent(new CustomEvent('close'));
@@ -337,7 +339,8 @@ export class ObcMenuButton extends LitElement {
337
339
  this.selectedValues = e.detail.selectedValues;
338
340
 
339
341
  /**
340
- * @event change - Fired when the menu selection changes.
342
+ * Fired when the menu selection changes.
343
+ * @event change
341
344
  * @type {CustomEvent<{selectedValues: string[], selectedOptions: Array<ContextMenuOption>}>}
342
345
  */
343
346
  this.dispatchEvent(new CustomEvent('change', {detail: e.detail}));
@@ -350,7 +353,8 @@ export class ObcMenuButton extends LitElement {
350
353
  e: CustomEvent<{value: string; option: ContextMenuOption}>
351
354
  ) {
352
355
  /**
353
- * @event item-click - Fired when a menu item is clicked.
356
+ * Fired when a menu item is clicked.
357
+ * @event item-click
354
358
  * @type {CustomEvent<{value: string, option: ContextMenuOption}>}
355
359
  */
356
360
  this.dispatchEvent(new CustomEvent('item-click', {detail: e.detail}));
@@ -98,7 +98,7 @@ enum NavigationItemRole {
98
98
  *
99
99
  * @slot icon - Leading icon slot (optional, shown if provided). Set `hasIcon` to `true` to show the icon.
100
100
  * @slot trailing-icon - Trailing icon slot (optional, shown if provided). Set `hasTrailingIcon` to `true` to show.
101
- * @fires {CustomEvent<void>} click - Fired when the navigation item is clicked.
101
+ * @fires click - Fired when the navigation item is clicked, either as a link or as a button.
102
102
  * @stable
103
103
  */
104
104
 
@@ -176,13 +176,6 @@ export class ObcNavigationItem extends LitElement {
176
176
  // In tree mode the row renders an `obc-tree-navigation-item` instead of an `<a>`.
177
177
  @query('obc-tree-navigation-item') private treeItemElement?: HTMLElement;
178
178
 
179
- /**
180
- * @fires {CustomEvent<void>} click - Fired when the navigation item is clicked (either as a link or button).
181
- */
182
- onClick() {
183
- dispatchEvent(new CustomEvent('click'));
184
- }
185
-
186
179
  private handleKeydown(event: KeyboardEvent) {
187
180
  const isMenuItem =
188
181
  this.getAttribute('role') === NavigationItemRole.MenuItem;
@@ -233,7 +226,6 @@ export class ObcNavigationItem extends LitElement {
233
226
  .href=${this.href}
234
227
  .terminalType=${this.terminalType}
235
228
  .alerts=${this.alerts}
236
- @click=${this.onClick}
237
229
  >
238
230
  ${this.hasIcon
239
231
  ? html`<slot name="icon" slot="icon"></slot>`
@@ -256,7 +248,6 @@ export class ObcNavigationItem extends LitElement {
256
248
  [this.variant]: true,
257
249
  })}"
258
250
  href=${ifDefined(this.href)}
259
- @click=${this.onClick}
260
251
  @keydown=${this.handleKeydown}
261
252
  tabindex=${ifDefined(this.getItemTabIndex())}
262
253
  role=${ifDefined(this.getItemRole())}
@@ -146,7 +146,8 @@ export class ObcNavigationItemGroup extends LitElement {
146
146
  }
147
147
 
148
148
  /**
149
- * @fires open - Opens the flyout panel and emits the `open` event.
149
+ * Opens the flyout panel and emits the `open` event.
150
+ * @fires open
150
151
  */
151
152
  open() {
152
153
  this.openContainer = true;
@@ -207,7 +207,7 @@ export class ObcNotificationButton extends LitElement {
207
207
  /**
208
208
  * Handles click events on the button and dispatches the `obc-click` custom event.
209
209
  *
210
- * @fires {CustomEvent<NotificationButtonClickEvent>} obc-click - Fired with the current count and new active state.
210
+ * @fires obc-click
211
211
  */
212
212
  private handleClick() {
213
213
  const event = new CustomEvent<NotificationButtonClickEvent>('obc-click', {
@@ -230,14 +230,16 @@ export class ObcNotificationMessageItem extends LitElement {
230
230
  }
231
231
 
232
232
  /**
233
- * @event message-click - Fired when the notification item is clicked (excluding the action area).
233
+ * Fired when the notification item is clicked (excluding the action area).
234
+ * @event message-click
234
235
  */
235
236
  private handleMessageClick() {
236
237
  this.dispatchEvent(new CustomEvent('message-click'));
237
238
  }
238
239
 
239
240
  /**
240
- * @event action-click - Fired when the action button or icon is clicked.
241
+ * Fired when the action button or icon is clicked.
242
+ * @event action-click
241
243
  */
242
244
  private handleActionClick() {
243
245
  this.dispatchEvent(new CustomEvent('action-click'));
@@ -121,7 +121,7 @@ export class ObcPivotItem extends LitElement {
121
121
  /**
122
122
  * Handles click events. Emits `selected` when the item is not disabled or already selected.
123
123
  *
124
- * @fires {CustomEvent<{value: string}>} selected - When the item is clicked and becomes selected
124
+ * @fires selected
125
125
  */
126
126
  private onClick() {
127
127
  // Don't allow clicking if disabled OR already selected
@@ -190,7 +190,8 @@ export class ObcSlideButton extends LitElement {
190
190
  private completeSlide() {
191
191
  /**
192
192
  * Emitted when the slide action is completed (handle dragged past the
193
- * @fires {ObcSlideButtonSlideEvent} slide - threshold or activated via keyboard).
193
+ * threshold or activated via keyboard).
194
+ * @fires slide
194
195
  */
195
196
  this.dispatchEvent(new CustomEvent('slide', {detail: {completed: true}}));
196
197
 
@@ -235,7 +235,7 @@ export class ObcSlider extends LitElement {
235
235
  * Fires the `value` event with the new value.
236
236
  *
237
237
  * @param value - The new value to set.
238
- * @fires value - Fired when the value is changed
238
+ * @fires value
239
239
  */
240
240
  onInput(value: number) {
241
241
  this.value = value;
@@ -245,7 +245,7 @@ export class ObcSlider extends LitElement {
245
245
  /**
246
246
  * Fires the `change` event with the current value.
247
247
  *
248
- * @fires change - Fired when user interaction completes; dispatched on release even if the value did not change
248
+ * @fires change
249
249
  */
250
250
  private fireChangeEvent() {
251
251
  this.dispatchEvent(
@@ -269,7 +269,7 @@ export class ObcSliderDouble extends LitElement {
269
269
  * Handles input changes from the slider thumbs.
270
270
  * Updates the low and high values and emits the `value` event.
271
271
  *
272
- * @fires {ObcSliderDoubleValueEvent} value - Fires when the value is changed
272
+ * @fires value
273
273
  */
274
274
  onInput() {
275
275
  let newLow = parseFloat(this.minInput.value);
@@ -292,7 +292,7 @@ export class ObcSliderDouble extends LitElement {
292
292
  /**
293
293
  * Fires the `change` event with the current low and high values.
294
294
  *
295
- * @fires change - Fires when user interaction completes
295
+ * @fires change
296
296
  */
297
297
  private fireChangeEvent() {
298
298
  this.dispatchEvent(
@@ -280,7 +280,8 @@ export class ObcStepperBox extends LitElement {
280
280
  }
281
281
 
282
282
  /**
283
- * @fires down - Dispatches the `down` event when the decrement button is clicked.
283
+ * Dispatches the `down` event when the decrement button is clicked.
284
+ * @fires down
284
285
  */
285
286
  down() {
286
287
  if (this.downDisabled) {
@@ -300,7 +301,8 @@ export class ObcStepperBox extends LitElement {
300
301
  }
301
302
 
302
303
  /**
303
- * @fires up - Dispatches the `up` event when the increment button is clicked.
304
+ * Dispatches the `up` event when the increment button is clicked.
305
+ * @fires up
304
306
  */
305
307
  up() {
306
308
  if (this.upDisabled) {
@@ -197,7 +197,7 @@ export class ObcSystemButton extends LitElement {
197
197
  /**
198
198
  * Fired when the expanded variant is toggled open or closed.
199
199
  *
200
- * @event menu-toggle - When the expanded variant is toggled open or closed
200
+ * @event menu-toggle
201
201
  * @type {CustomEvent<{open: boolean}>}
202
202
  */
203
203
  this.dispatchEvent(
@@ -212,7 +212,7 @@ export class ObcSystemButton extends LitElement {
212
212
  * Called by the System Menu component.
213
213
  *
214
214
  * @param newState Partial system state to merge with the current state.
215
- * @fires {CustomEvent<{state: SystemState}>} system-state-change - When the system state is updated
215
+ * @fires system-state-change
216
216
  */
217
217
  public updateSystemState(newState: Partial<SystemState>) {
218
218
  this.systemState = {...this.systemState, ...newState};
@@ -238,7 +238,7 @@ export class ObcSystemButton extends LitElement {
238
238
  /**
239
239
  * Fired when the microphone action segment is activated.
240
240
  *
241
- * @event microphone-panel-open - When the microphone action segment is activated
241
+ * @event microphone-panel-open
242
242
  * @type {CustomEvent<void>}
243
243
  */
244
244
  this.dispatchEvent(new CustomEvent('microphone-panel-open'));
@@ -250,7 +250,7 @@ export class ObcSystemButton extends LitElement {
250
250
  /**
251
251
  * Fired when the volume action segment is activated.
252
252
  *
253
- * @event volume-panel-open - When the volume action segment is activated
253
+ * @event volume-panel-open
254
254
  * @type {CustomEvent<void>}
255
255
  */
256
256
  this.dispatchEvent(new CustomEvent('volume-panel-open'));
@@ -262,7 +262,7 @@ export class ObcSystemButton extends LitElement {
262
262
  /**
263
263
  * Fired when the system icons action segment is activated.
264
264
  *
265
- * @event system-icons-panel-open - When the system icons action segment is activated
265
+ * @event system-icons-panel-open
266
266
  * @type {CustomEvent<void>}
267
267
  */
268
268
  this.dispatchEvent(new CustomEvent('system-icons-panel-open'));
@@ -174,7 +174,8 @@ export class ObcTabbedCard extends LitElement {
174
174
  private setSelectedTab(index: number) {
175
175
  this.selectedTab = index;
176
176
  /**
177
- * @fires {CustomEvent<{tab:number}>} tab-change - Fired when the selected tab changes.
177
+ * Fired when the selected tab changes.
178
+ * @fires tab-change
178
179
  */
179
180
  this.dispatchEvent(new CustomEvent('tab-change', {detail: {tab: index}}));
180
181
  }
@@ -164,7 +164,8 @@ export class ObcToggleButtonOption extends LitElement {
164
164
  @property({type: Boolean, reflect: true}) large = false;
165
165
 
166
166
  /**
167
- * @fires {CustomEvent<{value: string}>} selected - Fired when the option is clicked and not already selected.
167
+ * Fired when the option is clicked and not already selected.
168
+ * @fires selected
168
169
  */
169
170
  onClick(event: Event) {
170
171
  if (this.disabled) {
@@ -234,7 +234,7 @@ export class ObcToggleButtonVerticalGroup extends LitElement {
234
234
  * The event detail contains the new value and the previous value:
235
235
  * `{ value: string, previousValue: string }`
236
236
  *
237
- * @event value - Fired when the selected value changes.
237
+ * @event value
238
238
  */
239
239
  this.dispatchEvent(
240
240
  new CustomEvent('value', {
@@ -250,7 +250,7 @@ export class ObcToggleButtonVerticalGroup extends LitElement {
250
250
  * The event detail contains the new value:
251
251
  * `{ value: string }`
252
252
  *
253
- * @event change - Fired when the selected value changes by user interaction.
253
+ * @event change
254
254
  */
255
255
  this.dispatchEvent(
256
256
  new CustomEvent('change', {
@@ -157,7 +157,7 @@ export class ObcToggleSwitch extends LitElement {
157
157
  * Handles input events to change the toggle state.
158
158
  * Prevents changes if the toggle is disabled.
159
159
  * @param e {InputEvent}
160
- * @fires input - Dispatched when the value of the input changes
160
+ * @fires input
161
161
  */
162
162
  private _tryChange(e: InputEvent) {
163
163
  if (this.disabled) {
@@ -348,28 +348,32 @@ export class ObcTopBar extends LitElement {
348
348
 
349
349
  private dimmingButtonClicked() {
350
350
  /**
351
- * @event dimming-button-clicked - Fired when the dimming (day/night) button is clicked.
351
+ * Fired when the dimming (day/night) button is clicked.
352
+ * @event dimming-button-clicked
352
353
  */
353
354
  this.dispatchEvent(new CustomEvent('dimming-button-clicked'));
354
355
  }
355
356
 
356
357
  private appsButtonClicked() {
357
358
  /**
358
- * @event apps-button-clicked - Fired when the apps button is clicked.
359
+ * Fired when the apps button is clicked.
360
+ * @event apps-button-clicked
359
361
  */
360
362
  this.dispatchEvent(new CustomEvent('apps-button-clicked'));
361
363
  }
362
364
 
363
365
  private leftMoreButtonClicked() {
364
366
  /**
365
- * @event left-more-button-clicked - Fired when the left more button is clicked.
367
+ * Fired when the left more button is clicked.
368
+ * @event left-more-button-clicked
366
369
  */
367
370
  this.dispatchEvent(new CustomEvent('left-more-button-clicked'));
368
371
  }
369
372
 
370
373
  private userButtonClicked() {
371
374
  /**
372
- * @event user-button-clicked - Fired when the user/profile button is clicked.
375
+ * Fired when the user/profile button is clicked.
376
+ * @event user-button-clicked
373
377
  */
374
378
  this.dispatchEvent(new CustomEvent('user-button-clicked'));
375
379
  }
@@ -192,7 +192,7 @@ export class ObcTopbarMessageItem extends LitElement {
192
192
  /**
193
193
  * Fired when the main message area is clicked.
194
194
  *
195
- * @event message-click - Fired when the main message area is clicked.
195
+ * @event message-click
196
196
  */
197
197
  this.dispatchEvent(new CustomEvent('message-click'));
198
198
  }
@@ -201,7 +201,7 @@ export class ObcTopbarMessageItem extends LitElement {
201
201
  /**
202
202
  * Fired when the action button (text or icon) is clicked.
203
203
  *
204
- * @event action-click - Fired when the action button (text or icon) is clicked.
204
+ * @event action-click
205
205
  */
206
206
  this.dispatchEvent(new CustomEvent('action-click'));
207
207
  }
@@ -184,7 +184,7 @@ export class ObcIntegrationDropdownButton extends LitElement {
184
184
  /**
185
185
  * Handles the change event when a new option is selected. Updates the selected value and label, and dispatches a `change` event with the new selection.
186
186
  *
187
- * @fires {ObcIntegrationDropdownButtonChangeEvent} change - Fired when the user selects a different option.
187
+ * @fires change
188
188
  */
189
189
  private changeHandler(event: Event) {
190
190
  const target = event.target as HTMLSelectElement;