@oicl/openbridge-webcomponents-full-bundle 2.0.0-next.117 → 2.0.0-next.119
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.
- package/.storybook/manager.ts +18 -16
- package/bundle/openbridge-webcomponents.bundle.js +37 -33
- package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
- package/custom-elements.json +30 -24
- package/dist/ar/poi/poi-base.d.ts +6 -0
- package/dist/ar/poi/poi-base.d.ts.map +1 -1
- package/dist/ar/poi/poi-base.js.map +1 -1
- package/dist/ar/poi-button/poi-button.d.ts +2 -2
- package/dist/ar/poi-button/poi-button.js.map +1 -1
- package/dist/automation/vertical-line/vertical-line.d.ts +6 -0
- package/dist/automation/vertical-line/vertical-line.d.ts.map +1 -1
- package/dist/automation/vertical-line/vertical-line.js.map +1 -1
- package/dist/components/accordion-card/accordion-card.d.ts.map +1 -1
- package/dist/components/accordion-card/accordion-card.js.map +1 -1
- package/dist/components/advice-message-item/advice-message-item.d.ts +4 -2
- package/dist/components/advice-message-item/advice-message-item.d.ts.map +1 -1
- package/dist/components/advice-message-item/advice-message-item.js +4 -2
- package/dist/components/advice-message-item/advice-message-item.js.map +1 -1
- package/dist/components/app-menu/app-menu.d.ts +1 -1
- package/dist/components/app-menu/app-menu.js +1 -1
- package/dist/components/app-menu/app-menu.js.map +1 -1
- package/dist/components/brilliance-menu/brilliance-menu.d.ts +8 -4
- package/dist/components/brilliance-menu/brilliance-menu.d.ts.map +1 -1
- package/dist/components/brilliance-menu/brilliance-menu.js +8 -4
- package/dist/components/brilliance-menu/brilliance-menu.js.map +1 -1
- package/dist/components/check-button/check-button.js.map +1 -1
- package/dist/components/checkbox/checkbox.d.ts +2 -2
- package/dist/components/checkbox/checkbox.js.map +1 -1
- package/dist/components/command-menu/command-menu.d.ts +1 -1
- package/dist/components/command-menu/command-menu.js +1 -1
- package/dist/components/command-menu/command-menu.js.map +1 -1
- package/dist/components/dropdown-button/dropdown-button.d.ts +2 -2
- package/dist/components/dropdown-button/dropdown-button.js +2 -2
- package/dist/components/dropdown-button/dropdown-button.js.map +1 -1
- package/dist/components/menu-button/menu-button.d.ts.map +1 -1
- package/dist/components/menu-button/menu-button.js.map +1 -1
- package/dist/components/navigation-item/navigation-item.d.ts +1 -5
- package/dist/components/navigation-item/navigation-item.d.ts.map +1 -1
- package/dist/components/navigation-item/navigation-item.js +0 -8
- package/dist/components/navigation-item/navigation-item.js.map +1 -1
- package/dist/components/navigation-item-group/navigation-item-group.d.ts +2 -1
- package/dist/components/navigation-item-group/navigation-item-group.d.ts.map +1 -1
- package/dist/components/navigation-item-group/navigation-item-group.js +2 -1
- package/dist/components/navigation-item-group/navigation-item-group.js.map +1 -1
- package/dist/components/notification-button/notification-button.d.ts +1 -1
- package/dist/components/notification-button/notification-button.js +1 -1
- package/dist/components/notification-button/notification-button.js.map +1 -1
- package/dist/components/notification-message-item/notification-message-item.d.ts +4 -2
- package/dist/components/notification-message-item/notification-message-item.d.ts.map +1 -1
- package/dist/components/notification-message-item/notification-message-item.js +4 -2
- package/dist/components/notification-message-item/notification-message-item.js.map +1 -1
- package/dist/components/pivot-item/pivot-item.d.ts +1 -1
- package/dist/components/pivot-item/pivot-item.js +1 -1
- package/dist/components/pivot-item/pivot-item.js.map +1 -1
- package/dist/components/pivot-item-group/pivot-item-group.d.ts +1 -0
- package/dist/components/pivot-item-group/pivot-item-group.d.ts.map +1 -1
- package/dist/components/pivot-item-group/pivot-item-group.js.map +1 -1
- package/dist/components/slide-button/slide-button.d.ts.map +1 -1
- package/dist/components/slide-button/slide-button.js.map +1 -1
- package/dist/components/slider/slider.d.ts +2 -2
- package/dist/components/slider/slider.js +2 -2
- package/dist/components/slider/slider.js.map +1 -1
- package/dist/components/slider-double/slider-double.d.ts +2 -2
- package/dist/components/slider-double/slider-double.js +2 -2
- package/dist/components/slider-double/slider-double.js.map +1 -1
- package/dist/components/stepper-box/stepper-box.d.ts +4 -2
- package/dist/components/stepper-box/stepper-box.d.ts.map +1 -1
- package/dist/components/stepper-box/stepper-box.js +4 -2
- package/dist/components/stepper-box/stepper-box.js.map +1 -1
- package/dist/components/system-button/system-button.d.ts +1 -1
- package/dist/components/system-button/system-button.js +1 -1
- package/dist/components/system-button/system-button.js.map +1 -1
- package/dist/components/tabbed-card/tabbed-card.d.ts.map +1 -1
- package/dist/components/tabbed-card/tabbed-card.js.map +1 -1
- package/dist/components/toggle-button-option/toggle-button-option.d.ts +2 -1
- package/dist/components/toggle-button-option/toggle-button-option.d.ts.map +1 -1
- package/dist/components/toggle-button-option/toggle-button-option.js +2 -1
- package/dist/components/toggle-button-option/toggle-button-option.js.map +1 -1
- package/dist/components/toggle-button-vertical-group/toggle-button-vertical-group.js.map +1 -1
- package/dist/components/toggle-switch/toggle-switch.d.ts +1 -1
- package/dist/components/toggle-switch/toggle-switch.js +1 -1
- package/dist/components/toggle-switch/toggle-switch.js.map +1 -1
- package/dist/components/top-bar/top-bar.d.ts.map +1 -1
- package/dist/components/top-bar/top-bar.js.map +1 -1
- package/dist/components/topbar-message-item/topbar-message-item.js.map +1 -1
- package/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.d.ts +1 -1
- package/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.js +1 -1
- package/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.js.map +1 -1
- package/eslint.config.mjs +355 -0
- package/package.json +3 -1
- package/script/check-slot-event-docs.ts +36 -3
- package/script/eslint-rules.test.ts +230 -0
- package/src/ar/building-blocks/poi-graphic-line/poi-graphic-line.stories.ts +1 -1
- package/src/ar/building-blocks/poi-header/poi-header.stories.ts +1 -1
- package/src/ar/building-blocks/poi-line/poi-line.stories.ts +1 -1
- package/src/ar/building-blocks/poi-pointer/poi-pointer.stories.ts +1 -1
- package/src/ar/building-blocks/poi-selection-frame/poi-selection-frame.stories.ts +1 -1
- package/src/ar/building-blocks/ruler-pointer/ruler-pointer.stories.ts +1 -1
- package/src/ar/chart-object-vessel-button/chart-object-vessel-button.stories.ts +1 -1
- package/src/ar/poi/poi-aton.stories.ts +1 -1
- package/src/ar/poi/poi-base.ts +6 -0
- package/src/ar/poi/poi-data.stories.ts +1 -1
- package/src/ar/poi/poi-vessel.stories.ts +1 -1
- package/src/ar/poi/poi.stories.ts +1 -1
- package/src/ar/poi-button/poi-button-aton.stories.ts +1 -1
- package/src/ar/poi-button/poi-button-data.stories.ts +1 -1
- package/src/ar/poi-button/poi-button-vessel.stories.ts +1 -1
- package/src/ar/poi-button/poi-button.stories.ts +1 -1
- package/src/ar/poi-button/poi-button.ts +2 -2
- package/src/ar/poi-card/poi-card.stories.ts +1 -1
- package/src/ar/poi-card-header/poi-card-header.stories.ts +1 -1
- package/src/ar/poi-controller/poi-controller.stories.ts +1 -1
- package/src/ar/poi-group/poi-group.stories.ts +1 -1
- package/src/ar/poi-layer/poi-layer.stories.ts +1 -1
- package/src/ar/poi-layer-stack/poi-layer-stack.stories.ts +1 -1
- package/src/ar/poi-object/poi-object-aton.stories.ts +1 -1
- package/src/ar/poi-object/poi-object-data.stories.ts +1 -1
- package/src/ar/poi-object/poi-object-vessel.stories.ts +1 -1
- package/src/ar/poi-object/poi-object.stories.ts +1 -1
- package/src/automation/automation-input-modal/automation-input-modal.stories.ts +1 -1
- package/src/automation/automation-readout/automation-readout.stories.ts +1 -1
- package/src/automation/automation-tank/automation-tank.stories.ts +1 -1
- package/src/automation/bus/bus.stories.ts +1 -1
- package/src/automation/corner-line/corner-line.stories.ts +1 -1
- package/src/automation/direction-line/direction-line.stories.ts +1 -1
- package/src/automation/end-point-line/end-point-line.stories.ts +1 -1
- package/src/automation/horizontal-line/horizontal-line.stories.ts +1 -1
- package/src/automation/line-cross/line-cross.stories.ts +1 -1
- package/src/automation/line-overlap/line-overlap.stories.ts +1 -1
- package/src/automation/three-way-line/three-way-line.stories.ts +1 -1
- package/src/automation/vertical-line/vertical-line.stories.ts +1 -1
- package/src/automation/vertical-line/vertical-line.ts +2 -1
- package/src/bars-graphs/area-graph/area-graph.stories.ts +1 -1
- package/src/bars-graphs/donut-chart/donut-chart.stories.ts +1 -1
- package/src/bars-graphs/line-graph/line-graph.stories.ts +1 -1
- package/src/bars-graphs/pie-chart/pie-chart.stories.ts +1 -1
- package/src/bars-graphs/polar-chart/polar-chart.stories.ts +1 -1
- package/src/bars-graphs/radial-bar-chart/radial-bar-chart.stories.ts +1 -1
- package/src/building-blocks/bar-horizontal/bar-horizontal.stories.ts +1 -1
- package/src/building-blocks/bar-vertical/bar-vertical.stories.ts +1 -1
- package/src/building-blocks/chart-line/chart-line-base.stories.ts +1 -1
- package/src/building-blocks/instrument-radial/instrument-radial.stories.ts +1 -1
- package/src/building-blocks/readout-block/readout-block.stories.ts +1 -1
- package/src/components/accordion-card/accordion-card.ts +2 -1
- package/src/components/advice-floating-item/advice-floating-item.stories.ts +1 -1
- package/src/components/advice-menu-item/advice-menu-item.stories.ts +1 -1
- package/src/components/advice-message-item/advice-message-item.stories.ts +1 -1
- package/src/components/advice-message-item/advice-message-item.ts +4 -2
- package/src/components/alert-frame/alert-frame.stories.ts +1 -1
- package/src/components/app-menu/app-menu.ts +1 -1
- package/src/components/attachment-list-item/attachment-list-item.stories.ts +1 -1
- package/src/components/audio-output/audio-output.stories.ts +1 -1
- package/src/components/audio-recording-item/audio-recording-item.stories.ts +1 -1
- package/src/components/automation-button-readout-stack/automation-button-readout-stack.stories.ts +1 -1
- package/src/components/badge/badge.stories.ts +1 -1
- package/src/components/brilliance-menu/brilliance-menu.ts +8 -4
- package/src/components/calendar/calendar.stories.ts +1 -1
- package/src/components/check-button/check-button.ts +1 -1
- package/src/components/checkbox/checkbox.ts +2 -2
- package/src/components/command-button/command-button.stories.ts +1 -1
- package/src/components/command-menu/command-menu.stories.ts +1 -1
- package/src/components/command-menu/command-menu.ts +1 -1
- package/src/components/communication-table/communication-table.stories.ts +1 -1
- package/src/components/context-menu-input/context-menu-input.stories.ts +1 -1
- package/src/components/date-item/date-item.stories.ts +1 -1
- package/src/components/dropdown-button/dropdown-button.ts +2 -2
- package/src/components/event-item/event-item.stories.ts +1 -1
- package/src/components/event-list/event-list.stories.ts +1 -1
- package/src/components/form-container/form-container.stories.ts +1 -0
- package/src/components/form-footer-container/form-footer-container.stories.ts +1 -0
- package/src/components/form-group/form-group.stories.ts +1 -0
- package/src/components/form-item/form-item.stories.ts +1 -1
- package/src/components/keyboard-full/keyboard-full.stories.ts +1 -1
- package/src/components/keyboard-numeric/keyboard-numeric.stories.ts +1 -1
- package/src/components/menu-button/menu-button.stories.ts +1 -1
- package/src/components/menu-button/menu-button.ts +8 -4
- package/src/components/message-menu-item/message-menu-item.stories.ts +1 -1
- package/src/components/navigation-item/navigation-item.ts +1 -10
- package/src/components/navigation-item-group/navigation-item-group.ts +2 -1
- package/src/components/notification-badge-button/notification-badge-button.stories.ts +1 -1
- package/src/components/notification-button/notification-button.ts +1 -1
- package/src/components/notification-floating-item/notification-floating-item.stories.ts +1 -1
- package/src/components/notification-menu-item/notification-menu-item.stories.ts +1 -1
- package/src/components/notification-message-item/notification-message-item.stories.ts +1 -1
- package/src/components/notification-message-item/notification-message-item.ts +4 -2
- package/src/components/pivot-item/pivot-item.ts +1 -1
- package/src/components/pivot-item-group/pivot-item-group.ts +1 -0
- package/src/components/rich-button/rich-button.stories.ts +1 -1
- package/src/components/sequence-card/sequence-card.stories.ts +1 -1
- package/src/components/sequence-connector/sequence-connector.stories.ts +1 -1
- package/src/components/sequence-item/sequence-item.stories.ts +1 -0
- package/src/components/sequence-loading-spinner/sequence-loading-spinner.stories.ts +1 -1
- package/src/components/sequence-modal/sequence-modal.stories.ts +1 -1
- package/src/components/sequence-step/sequence-step.stories.ts +1 -0
- package/src/components/sequence-toolbar/sequence-toolbar.stories.ts +1 -0
- package/src/components/slide-button/slide-button.stories.ts +1 -1
- package/src/components/slide-button/slide-button.ts +2 -1
- package/src/components/slider/slider.ts +2 -2
- package/src/components/slider-double/slider-double.ts +2 -2
- package/src/components/split-button/split-button.stories.ts +1 -1
- package/src/components/status-indicator/status-indicator.stories.ts +1 -1
- package/src/components/stepper-box/stepper-box.ts +4 -2
- package/src/components/system-button/system-button.ts +5 -5
- package/src/components/tabbed-card/tabbed-card.ts +2 -1
- package/src/components/table/table.stories.ts +1 -1
- package/src/components/table-header-item/table-header-item.stories.ts +1 -1
- package/src/components/textbox/textbox.stories.ts +1 -1
- package/src/components/title-container/title-container.stories.ts +1 -1
- package/src/components/toggle-button-option/toggle-button-option.ts +2 -1
- package/src/components/toggle-button-three-state/toggle-button-three-state.stories.ts +1 -1
- package/src/components/toggle-button-vertical-group/toggle-button-vertical-group.ts +2 -2
- package/src/components/toggle-switch/toggle-switch.ts +1 -1
- package/src/components/toggletip/toggletip.stories.ts +1 -1
- package/src/components/top-bar/top-bar.ts +8 -4
- package/src/components/topbar-message-item/topbar-message-item.ts +2 -2
- package/src/components/tree-navigation/tree-navigation.stories.ts +1 -1
- package/src/components/tree-navigation-item/tree-navigation-item.stories.ts +1 -1
- package/src/integration-systems/integration-app-bar/integration-app-bar.stories.ts +1 -1
- package/src/integration-systems/integration-bar/integration-bar.stories.ts +1 -1
- package/src/integration-systems/integration-bar-dropdown/integration-bar-dropdown.stories.ts +1 -1
- package/src/integration-systems/integration-button/integration-button.stories.ts +1 -1
- package/src/integration-systems/integration-dropdown-button/integration-dropdown-button.stories.ts +1 -1
- package/src/integration-systems/integration-dropdown-button/integration-dropdown-button.ts +1 -1
- package/src/integration-systems/integration-fleet-button/integration-fleet-button.stories.ts +1 -1
- package/src/integration-systems/integration-tabs/integration-tabs.stories.ts +1 -1
- package/src/integration-systems/integration-vessel-menu/integration-vessel-menu.stories.ts +1 -1
- package/src/integration-systems/integration-vessel-selector/integration-vessel-selector.stories.ts +1 -1
- package/src/navigation-instruments/azimuth-thruster-labeled/azimuth-thruster-labeled.stories.ts +1 -1
- package/src/navigation-instruments/current/current.stories.ts +1 -1
- package/src/navigation-instruments/draft-trim/draft-trim.stories.ts +1 -1
- package/src/navigation-instruments/gauge-radial-proportional/gauge-radial-proportional.stories.ts +1 -1
- package/src/navigation-instruments/graph-mini/graph-mini.stories.ts +1 -1
- package/src/navigation-instruments/indicator-graph/indicator-graph.stories.ts +1 -1
- package/src/navigation-instruments/instrument-field/instrument-field.stories.ts +1 -1
- package/src/navigation-instruments/pitch-roll-heave/pitch-roll-heave.stories.ts +1 -1
- package/src/navigation-instruments/pitch-roll-yaw/pitch-roll-yaw.stories.ts +1 -1
- package/src/navigation-instruments/position-deviation/position-deviation.stories.ts +1 -1
- package/src/navigation-instruments/readout/readout.stories.ts +1 -1
- package/src/navigation-instruments/readout-list/readout-list.stories.ts +1 -1
- package/src/navigation-instruments/readout-list-item/readout-list-item.stories.ts +1 -1
- package/src/navigation-instruments/speed-arrows/speed-arrows.stories.ts +1 -1
- package/src/navigation-instruments/speed-directions/speed-directions.stories.ts +1 -1
- package/src/navigation-instruments/top-view-propulsion/top-view-propulsion.stories.ts +1 -1
- package/src/navigation-instruments/velocity-projection-plot/velocity-projection-plot.stories.ts +1 -1
- package/src/navigation-instruments/watch/watch.stories.ts +1 -1
- package/src/navigation-instruments/watch-flat/watch-flat.stories.ts +1 -1
- package/src/navigation-instruments/wind-propulsion/wind-propulsion.stories.ts +1 -1
- package/src/pages/alert-detail-page/alert-detail-page.stories.ts +1 -1
- package/src/pages/alert-list-page-small/alert-list-page-small.stories.ts +1 -1
- package/vitest.browser.config.ts +4 -2
- package/vitest.config.ts +10 -0
|
@@ -230,14 +230,16 @@ export class ObcNotificationMessageItem extends LitElement {
|
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
/**
|
|
233
|
-
*
|
|
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
|
-
*
|
|
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
|
|
124
|
+
* @fires selected
|
|
125
125
|
*/
|
|
126
126
|
private onClick() {
|
|
127
127
|
// Don't allow clicking if disabled OR already selected
|
|
@@ -51,6 +51,7 @@ import {ObcPivotItemDirection, ObcPivotItem} from '../pivot-item/pivot-item.js';
|
|
|
51
51
|
*
|
|
52
52
|
* @slot - Default slot for one or more `<obc-pivot-item>` elements.
|
|
53
53
|
* @fires {CustomEvent<{selectedValue: string}>} change - Fired when the selected value changes.
|
|
54
|
+
* @stable
|
|
54
55
|
*/
|
|
55
56
|
@customElement('obc-pivot-item-group')
|
|
56
57
|
export class ObcPivotItemGroup extends LitElement {
|
|
@@ -184,7 +184,7 @@ const renderSequenceCard = (args: SequenceCardStoryArgs) => html`
|
|
|
184
184
|
|
|
185
185
|
const meta: Meta<ObcSequenceCard> = {
|
|
186
186
|
title: 'UI Components/Sections/Sequence Card',
|
|
187
|
-
tags: ['6.1'],
|
|
187
|
+
tags: ['6.1', 'experimental'],
|
|
188
188
|
component: 'obc-sequence-card',
|
|
189
189
|
parameters: {
|
|
190
190
|
layout: 'centered',
|
|
@@ -128,7 +128,7 @@ const renderSequenceModal = (args: SequenceModalStoryArgs) => {
|
|
|
128
128
|
|
|
129
129
|
const meta: Meta<SequenceModalStoryArgs> = {
|
|
130
130
|
title: 'UI Components/Sections/Sequence Modal',
|
|
131
|
-
tags: ['6.1'],
|
|
131
|
+
tags: ['6.1', 'experimental'],
|
|
132
132
|
component: 'obc-sequence-modal',
|
|
133
133
|
parameters: {
|
|
134
134
|
layout: 'centered',
|
|
@@ -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
|
-
*
|
|
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
|
|
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
|
|
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
|
|
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
|
|
295
|
+
* @fires change
|
|
296
296
|
*/
|
|
297
297
|
private fireChangeEvent() {
|
|
298
298
|
this.dispatchEvent(
|
|
@@ -28,7 +28,7 @@ const renderWithIcon = (args: StoryObj<ObcSplitButton>['args']) => html`
|
|
|
28
28
|
|
|
29
29
|
const meta: Meta<ObcSplitButton> = {
|
|
30
30
|
title: 'UI Components/Buttons/Split Button',
|
|
31
|
-
tags: ['autodocs', '6.0'],
|
|
31
|
+
tags: ['autodocs', '6.0', 'beta'],
|
|
32
32
|
component: 'obc-split-button',
|
|
33
33
|
decorators: [
|
|
34
34
|
(story) => html`
|
|
@@ -280,7 +280,8 @@ export class ObcStepperBox extends LitElement {
|
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
/**
|
|
283
|
-
*
|
|
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
|
-
*
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
*
|
|
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
|
}
|
|
@@ -9,7 +9,7 @@ import '../../icons/icon-placeholder.js';
|
|
|
9
9
|
|
|
10
10
|
const meta: Meta<typeof ObcTableHeaderItem> = {
|
|
11
11
|
title: 'UI Components/Tables/Building Blocks/Table Header Item',
|
|
12
|
-
tags: ['6.0'],
|
|
12
|
+
tags: ['6.0', 'beta'],
|
|
13
13
|
component: 'obc-table-header-item',
|
|
14
14
|
args: {
|
|
15
15
|
sortable: true,
|
|
@@ -15,7 +15,7 @@ interface TextboxStoryArgs extends Partial<ObcTextbox> {
|
|
|
15
15
|
|
|
16
16
|
const meta: Meta<TextboxStoryArgs> = {
|
|
17
17
|
title: 'Building Blocks/Textbox',
|
|
18
|
-
tags: ['autodocs', '6.0'],
|
|
18
|
+
tags: ['autodocs', '6.0', 'experimental'],
|
|
19
19
|
component: 'obc-textbox',
|
|
20
20
|
args: {
|
|
21
21
|
size: ObcTextboxSize.m,
|
|
@@ -164,7 +164,8 @@ export class ObcToggleButtonOption extends LitElement {
|
|
|
164
164
|
@property({type: Boolean, reflect: true}) large = false;
|
|
165
165
|
|
|
166
166
|
/**
|
|
167
|
-
*
|
|
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) {
|
|
@@ -11,7 +11,7 @@ type ObcToggleButtonThreeStateArgs = {
|
|
|
11
11
|
const meta: Meta<ObcToggleButtonThreeStateArgs> = {
|
|
12
12
|
title:
|
|
13
13
|
'UI Components/Selection Controls and Switches/Toggle Button - Three State',
|
|
14
|
-
tags: ['autodocs', '6.0'],
|
|
14
|
+
tags: ['autodocs', '6.0', 'beta'],
|
|
15
15
|
component: 'obc-toggle-button-three-state',
|
|
16
16
|
args: {
|
|
17
17
|
state: ObcToggleButtonThreeStateValue.noInput,
|
|
@@ -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
|
|
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
|
|
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
|
|
160
|
+
* @fires input
|
|
161
161
|
*/
|
|
162
162
|
private _tryChange(e: InputEvent) {
|
|
163
163
|
if (this.disabled) {
|
|
@@ -8,7 +8,7 @@ import {ifDefined} from 'lit/directives/if-defined.js';
|
|
|
8
8
|
|
|
9
9
|
const meta: Meta<typeof ObcToggletip> = {
|
|
10
10
|
title: 'UI Components/Message and Alerts/Toggletip',
|
|
11
|
-
tags: ['autodocs', '6.0'],
|
|
11
|
+
tags: ['autodocs', '6.0', 'beta'],
|
|
12
12
|
component: 'obc-toggletip',
|
|
13
13
|
args: {
|
|
14
14
|
variant: ToggletipVariant.normal,
|
|
@@ -348,28 +348,32 @@ export class ObcTopBar extends LitElement {
|
|
|
348
348
|
|
|
349
349
|
private dimmingButtonClicked() {
|
|
350
350
|
/**
|
|
351
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
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
|
|
204
|
+
* @event action-click
|
|
205
205
|
*/
|
|
206
206
|
this.dispatchEvent(new CustomEvent('action-click'));
|
|
207
207
|
}
|
|
@@ -18,7 +18,7 @@ import {customElement} from '../../decorator.js';
|
|
|
18
18
|
*/
|
|
19
19
|
const meta: Meta<typeof ObcTreeNavigation> = {
|
|
20
20
|
title: 'UI Components/Menus and Navigation/Tree Navigation',
|
|
21
|
-
tags: ['autodocs', '6.0'],
|
|
21
|
+
tags: ['autodocs', '6.0', 'beta'],
|
|
22
22
|
component: 'obc-tree-navigation',
|
|
23
23
|
render: () => html`
|
|
24
24
|
<obc-tree-navigation>
|
|
@@ -10,7 +10,7 @@ import {html} from 'lit';
|
|
|
10
10
|
|
|
11
11
|
const meta: Meta<typeof ObcTreeNavigationItem> = {
|
|
12
12
|
title: 'UI Components/Menus and Navigation/Tree Navigation Item',
|
|
13
|
-
tags: ['autodocs', '6.0'],
|
|
13
|
+
tags: ['autodocs', '6.0', 'beta'],
|
|
14
14
|
component: 'obc-tree-navigation-item',
|
|
15
15
|
args: {
|
|
16
16
|
label: 'List item',
|
|
@@ -265,7 +265,7 @@ function renderIntegrationButtons({
|
|
|
265
265
|
|
|
266
266
|
const meta: Meta<IntegrationBarStoryArgs> = {
|
|
267
267
|
title: 'Integration Systems/Integration Bar',
|
|
268
|
-
tags: ['
|
|
268
|
+
tags: ['experimental'],
|
|
269
269
|
component: 'obc-integration-bar',
|
|
270
270
|
globals: {
|
|
271
271
|
viewport: {value: 'desktop'},
|
package/src/integration-systems/integration-bar-dropdown/integration-bar-dropdown.stories.ts
CHANGED
|
@@ -9,7 +9,7 @@ import {IntegrationButtonType} from '../integration-button/integration-button.js
|
|
|
9
9
|
|
|
10
10
|
const meta: Meta<typeof ObcIntegrationBarDropdown> = {
|
|
11
11
|
title: 'Integration Systems/Integration Bar Dropdown',
|
|
12
|
-
tags: ['
|
|
12
|
+
tags: ['experimental'],
|
|
13
13
|
component: 'obc-integration-bar-dropdown',
|
|
14
14
|
args: {
|
|
15
15
|
showClock: true,
|
|
@@ -10,7 +10,7 @@ import '../../icons/icon-placeholder.js';
|
|
|
10
10
|
|
|
11
11
|
const meta: Meta<ObcIntegrationButton> = {
|
|
12
12
|
title: 'Integration Systems/Integration Button',
|
|
13
|
-
tags: ['
|
|
13
|
+
tags: ['experimental'],
|
|
14
14
|
component: 'obc-integration-button',
|
|
15
15
|
args: {
|
|
16
16
|
hasLeadingIcon: true,
|
package/src/integration-systems/integration-dropdown-button/integration-dropdown-button.stories.ts
CHANGED
|
@@ -8,7 +8,7 @@ import '../integration-button/integration-button.js';
|
|
|
8
8
|
|
|
9
9
|
const meta: Meta<ObcIntegrationDropdownButton> = {
|
|
10
10
|
title: 'Integration Systems/Integration Dropdown Button',
|
|
11
|
-
tags: ['
|
|
11
|
+
tags: ['experimental'],
|
|
12
12
|
component: 'obc-integration-dropdown-button',
|
|
13
13
|
globals: {
|
|
14
14
|
backgrounds: {
|
|
@@ -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
|
|
187
|
+
* @fires change
|
|
188
188
|
*/
|
|
189
189
|
private changeHandler(event: Event) {
|
|
190
190
|
const target = event.target as HTMLSelectElement;
|
package/src/integration-systems/integration-fleet-button/integration-fleet-button.stories.ts
CHANGED
|
@@ -6,7 +6,7 @@ import '../../icons/icon-placeholder.js';
|
|
|
6
6
|
|
|
7
7
|
const meta: Meta<typeof ObcIntegrationFleetButton> = {
|
|
8
8
|
title: 'Integration Systems/Fleet Button',
|
|
9
|
-
tags: ['
|
|
9
|
+
tags: ['experimental'],
|
|
10
10
|
component: 'obc-integration-fleet-button',
|
|
11
11
|
args: {
|
|
12
12
|
fleetName: 'Fleet Name',
|
|
@@ -117,7 +117,7 @@ const renderContent = () => html`
|
|
|
117
117
|
const meta: Meta<ObcIntegrationVesselMenu> = {
|
|
118
118
|
title: 'Integration Systems/Integration Vessel Menu',
|
|
119
119
|
component: 'obc-integration-vessel-menu',
|
|
120
|
-
tags: ['
|
|
120
|
+
tags: ['experimental'],
|
|
121
121
|
args: {hasActions: true, hasAlertList: true, hasContent: true},
|
|
122
122
|
argTypes: {
|
|
123
123
|
hasActions: {
|
package/src/navigation-instruments/azimuth-thruster-labeled/azimuth-thruster-labeled.stories.ts
CHANGED
|
@@ -49,7 +49,7 @@ function renderAzimuthThrusterLabeled(
|
|
|
49
49
|
|
|
50
50
|
const meta: Meta<typeof ObcAzimuthThrusterLabeled> = {
|
|
51
51
|
title: 'Instruments/Azimuth Thruster Labeled',
|
|
52
|
-
tags: ['autodocs', '6.0'],
|
|
52
|
+
tags: ['autodocs', '6.0', 'deprecated'],
|
|
53
53
|
component: 'obc-azimuth-thruster-labeled',
|
|
54
54
|
render: (args) => renderAzimuthThrusterLabeled(args),
|
|
55
55
|
args: {
|
|
@@ -7,7 +7,7 @@ import {topVessels} from '../watch/vessels/storybook-helper.js';
|
|
|
7
7
|
|
|
8
8
|
const meta: Meta<typeof ObcCurrent> = {
|
|
9
9
|
title: 'Instruments/Current',
|
|
10
|
-
tags: ['autodocs', '
|
|
10
|
+
tags: ['autodocs', 'experimental'],
|
|
11
11
|
component: 'obc-current',
|
|
12
12
|
decorators: [widthDecorator],
|
|
13
13
|
args: {
|
|
@@ -8,7 +8,7 @@ import {sideVessels} from '../watch/vessels/storybook-helper.js';
|
|
|
8
8
|
|
|
9
9
|
const meta: Meta<typeof ObcDraftTrim> = {
|
|
10
10
|
title: 'Instruments/Draft Trim',
|
|
11
|
-
tags: ['autodocs', '6.0', '
|
|
11
|
+
tags: ['autodocs', '6.0', 'experimental'],
|
|
12
12
|
component: 'obc-draft-trim',
|
|
13
13
|
args: {
|
|
14
14
|
width: 384,
|
package/src/navigation-instruments/gauge-radial-proportional/gauge-radial-proportional.stories.ts
CHANGED
|
@@ -20,7 +20,7 @@ type GaugeRadialProportionalStoryArgs = Partial<ObcGaugeRadialProportional> & {
|
|
|
20
20
|
|
|
21
21
|
const meta = {
|
|
22
22
|
title: 'Instruments/Gauge Radial Proportional',
|
|
23
|
-
tags: ['autodocs', '
|
|
23
|
+
tags: ['autodocs', 'skip-test', 'experimental'],
|
|
24
24
|
component: 'obc-gauge-radial-proportional',
|
|
25
25
|
decorators: [widthDecorator],
|
|
26
26
|
args: {
|
|
@@ -8,7 +8,7 @@ import './indicator-graph.js';
|
|
|
8
8
|
import {widthDecorator} from '../../storybook-util.js';
|
|
9
9
|
const meta: Meta<typeof ObcIndicatorGraph> = {
|
|
10
10
|
title: 'Bars and Graphs/Indicator Graph',
|
|
11
|
-
tags: ['6.0', 'autodocs'],
|
|
11
|
+
tags: ['6.0', 'autodocs', 'beta'],
|
|
12
12
|
component: 'obc-indicator-graph',
|
|
13
13
|
decorators: [widthDecorator],
|
|
14
14
|
args: {
|
|
@@ -6,7 +6,7 @@ import '../../components/navigation-item/navigation-item.js';
|
|
|
6
6
|
|
|
7
7
|
const meta: Meta<typeof ObcInstrumentField> = {
|
|
8
8
|
title: 'Instruments/Instrument Field',
|
|
9
|
-
tags: ['autodocs', '6.0'],
|
|
9
|
+
tags: ['autodocs', '6.0', 'deprecated'],
|
|
10
10
|
component: 'obc-instrument-field',
|
|
11
11
|
args: {
|
|
12
12
|
setpoint: 0,
|