@oicl/openbridge-webcomponents-full-bundle 2.0.0-next.49 → 2.0.0-next.52
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/bundle/openbridge-webcomponents.bundle.js +18716 -17343
- package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
- package/custom-elements.json +877 -14
- package/dist/ar/building-blocks/poi-header/poi-header.css.js +8 -4
- package/dist/ar/building-blocks/poi-header/poi-header.css.js.map +1 -1
- package/dist/ar/chart-object-vessel-button/chart-object-vessel-button.css.js +7 -7
- package/dist/ar/poi-card-header/poi-card-header.css.js +12 -6
- package/dist/ar/poi-card-header/poi-card-header.css.js.map +1 -1
- package/dist/automation/automation-tank/automation-tank.css.js +166 -28
- package/dist/automation/automation-tank/automation-tank.css.js.map +1 -1
- package/dist/automation/automation-tank/automation-tank.d.ts +32 -0
- package/dist/automation/automation-tank/automation-tank.d.ts.map +1 -1
- package/dist/automation/automation-tank/automation-tank.js +28 -0
- package/dist/automation/automation-tank/automation-tank.js.map +1 -1
- package/dist/building-blocks/alert-list/alert-list.css.js +4 -2
- package/dist/building-blocks/alert-list/alert-list.css.js.map +1 -1
- package/dist/components/accordion-card/accordion-card.css.js +6 -3
- package/dist/components/accordion-card/accordion-card.css.js.map +1 -1
- package/dist/components/accordion-item/accordion-item.css.js +4 -2
- package/dist/components/accordion-item/accordion-item.css.js.map +1 -1
- package/dist/components/advice-button/advice-button.css.js +2 -1
- package/dist/components/advice-button/advice-button.css.js.map +1 -1
- package/dist/components/alert-button/alert-button.css.js +2 -1
- package/dist/components/alert-button/alert-button.css.js.map +1 -1
- package/dist/components/alert-frame/alert-frame.css.js +7 -3
- package/dist/components/alert-frame/alert-frame.css.js.map +1 -1
- package/dist/components/alert-list-details/alert-list-details.css.js +4 -2
- package/dist/components/alert-list-details/alert-list-details.css.js.map +1 -1
- package/dist/components/alert-menu/alert-menu.css.js +4 -2
- package/dist/components/alert-menu/alert-menu.css.js.map +1 -1
- package/dist/components/app-button/app-button.css.js +8 -4
- package/dist/components/app-button/app-button.css.js.map +1 -1
- package/dist/components/attachment-list-item/attachment-list-item.css.js +8 -4
- package/dist/components/attachment-list-item/attachment-list-item.css.js.map +1 -1
- package/dist/components/badge/badge.css.js +4 -2
- package/dist/components/badge/badge.css.js.map +1 -1
- package/dist/components/breadcrumb/breadcrumb.css.js +4 -2
- package/dist/components/breadcrumb/breadcrumb.css.js.map +1 -1
- package/dist/components/brilliance-menu/brilliance-menu.css.js +2 -1
- package/dist/components/brilliance-menu/brilliance-menu.css.js.map +1 -1
- package/dist/components/calendar/calendar.css.js +5 -3
- package/dist/components/calendar/calendar.css.js.map +1 -1
- package/dist/components/card/card.css.js +2 -1
- package/dist/components/card/card.css.js.map +1 -1
- package/dist/components/chat-message/chat-message.css.js +6 -3
- package/dist/components/chat-message/chat-message.css.js.map +1 -1
- package/dist/components/check-button/check-button.css.js +5 -3
- package/dist/components/check-button/check-button.css.js.map +1 -1
- package/dist/components/checkbox-item/checkbox-item.css.js +4 -2
- package/dist/components/checkbox-item/checkbox-item.css.js.map +1 -1
- package/dist/components/clock/clock.css.js +7 -3
- package/dist/components/clock/clock.css.js.map +1 -1
- package/dist/components/command-menu/command-menu.css.js +6 -3
- package/dist/components/command-menu/command-menu.css.js.map +1 -1
- package/dist/components/communication-table/communication-table.css.js +10 -5
- package/dist/components/communication-table/communication-table.css.js.map +1 -1
- package/dist/components/context-menu-input/context-menu-input.css.js +4 -2
- package/dist/components/context-menu-input/context-menu-input.css.js.map +1 -1
- package/dist/components/date-item/date-item.css.js +16 -8
- package/dist/components/date-item/date-item.css.js.map +1 -1
- package/dist/components/dropdown-button/dropdown-button.css.js +6 -3
- package/dist/components/dropdown-button/dropdown-button.css.js.map +1 -1
- package/dist/components/elevated-card/elevated-card.css.js +8 -4
- package/dist/components/elevated-card/elevated-card.css.js.map +1 -1
- package/dist/components/elevated-card-radio-group/elevated-card-radio-group.css.js +6 -3
- package/dist/components/elevated-card-radio-group/elevated-card-radio-group.css.js.map +1 -1
- package/dist/components/event-item/event-item.css.js +6 -3
- package/dist/components/event-item/event-item.css.js.map +1 -1
- package/dist/components/event-list/event-list.css.js +2 -1
- package/dist/components/event-list/event-list.css.js.map +1 -1
- package/dist/components/filter-chip/filter-chip.css.js +2 -1
- package/dist/components/filter-chip/filter-chip.css.js.map +1 -1
- package/dist/components/floating-item/floating-item.css.js +6 -3
- package/dist/components/floating-item/floating-item.css.js.map +1 -1
- package/dist/components/form-container/form-container.css.js +1 -1
- package/dist/components/form-group/form-group.css.js +4 -2
- package/dist/components/form-group/form-group.css.js.map +1 -1
- package/dist/components/form-item/form-item.css.js +4 -2
- package/dist/components/form-item/form-item.css.js.map +1 -1
- package/dist/components/icon-button/icon-button.css.js +20 -19
- package/dist/components/icon-button/icon-button.css.js.map +1 -1
- package/dist/components/icon-button/icon-button.d.ts +2 -0
- package/dist/components/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/icon-button/icon-button.js.map +1 -1
- package/dist/components/icon-check-button/icon-check-button.css.js +4 -2
- package/dist/components/icon-check-button/icon-check-button.css.js.map +1 -1
- package/dist/components/input-chip/input-chip.css.js +2 -1
- package/dist/components/input-chip/input-chip.css.js.map +1 -1
- package/dist/components/keyboard-full/keyboard-full.css.js +2 -1
- package/dist/components/keyboard-full/keyboard-full.css.js.map +1 -1
- package/dist/components/keyboard-numeric/keyboard-numeric.css.js +2 -1
- package/dist/components/keyboard-numeric/keyboard-numeric.css.js.map +1 -1
- package/dist/components/menu-button/menu-button.css.js +4 -2
- package/dist/components/menu-button/menu-button.css.js.map +1 -1
- package/dist/components/message-menu-item/message-menu-item.css.js +8 -13
- package/dist/components/message-menu-item/message-menu-item.css.js.map +1 -1
- package/dist/components/modal-window/modal-window.css.js +2 -1
- package/dist/components/modal-window/modal-window.css.js.map +1 -1
- package/dist/components/navigation-item/navigation-item.css.js +9 -4
- package/dist/components/navigation-item/navigation-item.css.js.map +1 -1
- package/dist/components/notification-badge-button/notification-badge-button.css.js +2 -1
- package/dist/components/notification-badge-button/notification-badge-button.css.js.map +1 -1
- package/dist/components/notification-button/notification-button.css.js +2 -1
- package/dist/components/notification-button/notification-button.css.js.map +1 -1
- package/dist/components/number-input-field/number-input-field.css.js +4 -2
- package/dist/components/number-input-field/number-input-field.css.js.map +1 -1
- package/dist/components/pivot-item/pivot-item.css.js +4 -2
- package/dist/components/pivot-item/pivot-item.css.js.map +1 -1
- package/dist/components/progress-bar/progress-bar.css.js +4 -2
- package/dist/components/progress-bar/progress-bar.css.js.map +1 -1
- package/dist/components/progress-button/progress-button.css.js +4 -2
- package/dist/components/progress-button/progress-button.css.js.map +1 -1
- package/dist/components/radio/radio.css.js +4 -2
- package/dist/components/radio/radio.css.js.map +1 -1
- package/dist/components/rich-button/rich-button.css.js +4 -2
- package/dist/components/rich-button/rich-button.css.js.map +1 -1
- package/dist/components/sequence-item/sequence-item.css.js +11 -6
- package/dist/components/sequence-item/sequence-item.css.js.map +1 -1
- package/dist/components/sequence-loading-spinner/sequence-loading-spinner.css.js +3 -3
- package/dist/components/sequence-step/sequence-step.css.js +2 -1
- package/dist/components/sequence-step/sequence-step.css.js.map +1 -1
- package/dist/components/slide-button/slide-button.css.js +2 -1
- package/dist/components/slide-button/slide-button.css.js.map +1 -1
- package/dist/components/slider-double/slider-double.css.js +2 -1
- package/dist/components/slider-double/slider-double.css.js.map +1 -1
- package/dist/components/start-stop-switch/start-stop-switch.css.js +16 -8
- package/dist/components/start-stop-switch/start-stop-switch.css.js.map +1 -1
- package/dist/components/status-indicator/status-indicator.css.js +4 -2
- package/dist/components/status-indicator/status-indicator.css.js.map +1 -1
- package/dist/components/stepper-box/stepper-box.css.js +2 -1
- package/dist/components/stepper-box/stepper-box.css.js.map +1 -1
- package/dist/components/system-menu/system-menu.css.js +26 -13
- package/dist/components/system-menu/system-menu.css.js.map +1 -1
- package/dist/components/tab-item/tab-item.css.js +8 -5
- package/dist/components/tab-item/tab-item.css.js.map +1 -1
- package/dist/components/tabbed-card/tabbed-card.css.js +4 -2
- package/dist/components/tabbed-card/tabbed-card.css.js.map +1 -1
- package/dist/components/table/table.css.js +8 -5
- package/dist/components/table/table.css.js.map +1 -1
- package/dist/components/table-header-item/table-header-item.css.js +2 -1
- package/dist/components/table-header-item/table-header-item.css.js.map +1 -1
- package/dist/components/tag/tag.css.js +4 -2
- package/dist/components/tag/tag.css.js.map +1 -1
- package/dist/components/text-input-field/text-input-field.css.js +6 -3
- package/dist/components/text-input-field/text-input-field.css.js.map +1 -1
- package/dist/components/textarea-field/textarea-field.css.js +6 -3
- package/dist/components/textarea-field/textarea-field.css.js.map +1 -1
- package/dist/components/title-container/title-container.css.js +3 -2
- package/dist/components/title-container/title-container.css.js.map +1 -1
- package/dist/components/toggle-button-option/toggle-button-option.css.js +19 -12
- package/dist/components/toggle-button-option/toggle-button-option.css.js.map +1 -1
- package/dist/components/toggle-button-vertical-option/toggle-button-vertical-option.css.js +4 -2
- package/dist/components/toggle-button-vertical-option/toggle-button-vertical-option.css.js.map +1 -1
- package/dist/components/toggle-switch/toggle-switch.css.js +6 -3
- package/dist/components/toggle-switch/toggle-switch.css.js.map +1 -1
- package/dist/components/toggletip/toggletip.css.js +4 -2
- package/dist/components/toggletip/toggletip.css.js.map +1 -1
- package/dist/components/tooltip/tooltip.css.js +2 -1
- package/dist/components/tooltip/tooltip.css.js.map +1 -1
- package/dist/components/top-bar/top-bar.css.js +4 -2
- package/dist/components/top-bar/top-bar.css.js.map +1 -1
- package/dist/components/topbar-message-item/topbar-message-item.css.js +10 -5
- package/dist/components/topbar-message-item/topbar-message-item.css.js.map +1 -1
- package/dist/components/user-button/user-button.css.js +12 -7
- package/dist/components/user-button/user-button.css.js.map +1 -1
- package/dist/components/user-menu/user-menu.css.js +4 -2
- package/dist/components/user-menu/user-menu.css.js.map +1 -1
- package/dist/integration-systems/integration-bar/integration-bar.css.js +97 -0
- package/dist/integration-systems/integration-bar/integration-bar.css.js.map +1 -0
- package/dist/integration-systems/integration-bar/integration-bar.d.ts +91 -0
- package/dist/integration-systems/integration-bar/integration-bar.d.ts.map +1 -0
- package/dist/integration-systems/integration-bar/integration-bar.js +279 -0
- package/dist/integration-systems/integration-bar/integration-bar.js.map +1 -0
- package/dist/integration-systems/integration-bar-dropdown/integration-bar-dropdown.css.js +2 -1
- package/dist/integration-systems/integration-bar-dropdown/integration-bar-dropdown.css.js.map +1 -1
- package/dist/integration-systems/integration-button/integration-button.css.js +472 -156
- package/dist/integration-systems/integration-button/integration-button.css.js.map +1 -1
- package/dist/integration-systems/integration-button/integration-button.d.ts +37 -1
- package/dist/integration-systems/integration-button/integration-button.d.ts.map +1 -1
- package/dist/integration-systems/integration-button/integration-button.js +202 -36
- package/dist/integration-systems/integration-button/integration-button.js.map +1 -1
- package/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.css.js +17 -6
- package/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.css.js.map +1 -1
- package/dist/integration-systems/integration-fleet-button/integration-fleet-button.css.js +12 -6
- package/dist/integration-systems/integration-fleet-button/integration-fleet-button.css.js.map +1 -1
- package/dist/integration-systems/integration-tabs/integration-tabs.css.js +3 -1
- package/dist/integration-systems/integration-tabs/integration-tabs.css.js.map +1 -1
- package/dist/integration-systems/integration-vessel-menu/integration-vessel-menu.css.js +75 -0
- package/dist/integration-systems/integration-vessel-menu/integration-vessel-menu.css.js.map +1 -0
- package/dist/integration-systems/integration-vessel-menu/integration-vessel-menu.d.ts +37 -0
- package/dist/integration-systems/integration-vessel-menu/integration-vessel-menu.d.ts.map +1 -0
- package/dist/integration-systems/integration-vessel-menu/integration-vessel-menu.js +72 -0
- package/dist/integration-systems/integration-vessel-menu/integration-vessel-menu.js.map +1 -0
- package/dist/integration-systems/integration-vessel-selector/integration-vessel-selector.css.js +21 -8
- package/dist/integration-systems/integration-vessel-selector/integration-vessel-selector.css.js.map +1 -1
- package/dist/integration-systems/integration-vessel-selector/integration-vessel-selector.d.ts +2 -0
- package/dist/integration-systems/integration-vessel-selector/integration-vessel-selector.d.ts.map +1 -1
- package/dist/integration-systems/integration-vessel-selector/integration-vessel-selector.js +5 -0
- package/dist/integration-systems/integration-vessel-selector/integration-vessel-selector.js.map +1 -1
- package/dist/navigation-instruments/azimuth-thruster-labeled/azimuth-thruster-labeled.css.js +3 -1
- package/dist/navigation-instruments/azimuth-thruster-labeled/azimuth-thruster-labeled.css.js.map +1 -1
- package/dist/navigation-instruments/instrument-field/instrument-field.css.js +4 -2
- package/dist/navigation-instruments/instrument-field/instrument-field.css.js.map +1 -1
- package/dist/navigation-instruments/readout/readout.css.js +4 -2
- package/dist/navigation-instruments/readout/readout.css.js.map +1 -1
- package/dist/navigation-instruments/watch/watch.css.js +3 -2
- package/dist/navigation-instruments/watch/watch.css.js.map +1 -1
- package/dist/navigation-instruments/watch-flat/watch-flat.css.js +3 -2
- package/dist/navigation-instruments/watch-flat/watch-flat.css.js.map +1 -1
- package/dist/openbridge.css +4 -2
- package/dist/pages/alert-detail-page/alert-detail-page.css.js +15 -8
- package/dist/pages/alert-detail-page/alert-detail-page.css.js.map +1 -1
- package/package.json +3 -3
- package/postcss.config.mjs +2 -1
- package/script/check-css-variables.ts +9 -30
- package/src/ar/chart-object-vessel-button/chart-object-vessel-button.css +7 -7
- package/src/ar/poi-layer/poi-layer.stories.ts +3 -0
- package/src/automation/automation-tank/automation-tank.css +119 -21
- package/src/automation/automation-tank/automation-tank.stories.ts +38 -0
- package/src/automation/automation-tank/automation-tank.ts +64 -0
- package/src/components/calendar/calendar.css +1 -1
- package/src/components/check-button/check-button.css +1 -1
- package/src/components/icon-button/icon-button.css +1 -1
- package/src/components/icon-button/icon-button.ts +2 -0
- package/src/components/message-menu-item/message-menu-item.css +2 -5
- package/src/components/sequence-item/sequence-item.css +5 -3
- package/src/components/sequence-loading-spinner/sequence-loading-spinner.css +3 -3
- package/src/components/tab-item/tab-item.css +2 -2
- package/src/components/table/table.css +2 -2
- package/src/components/toggle-button-option/toggle-button-option.css +1 -3
- package/src/integration-systems/integration-app-bar/integration-app-bar.stories.ts +1 -1
- package/src/integration-systems/integration-bar/integration-bar.css +86 -0
- package/src/integration-systems/integration-bar/integration-bar.stories.ts +479 -0
- package/src/integration-systems/integration-bar/integration-bar.ts +301 -0
- package/src/integration-systems/integration-bar-dropdown/integration-bar-dropdown.stories.ts +5 -3
- package/src/integration-systems/integration-button/integration-button.css +203 -64
- package/src/integration-systems/integration-button/integration-button.stories.ts +71 -5
- package/src/integration-systems/integration-button/integration-button.ts +242 -43
- package/src/integration-systems/integration-dropdown-button/integration-dropdown-button.css +7 -1
- package/src/integration-systems/integration-dropdown-button/integration-dropdown-button.stories.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.css +59 -0
- package/src/integration-systems/integration-vessel-menu/integration-vessel-menu.stories.ts +180 -0
- package/src/integration-systems/integration-vessel-menu/integration-vessel-menu.ts +83 -0
- package/src/integration-systems/integration-vessel-selector/integration-vessel-selector.css +21 -9
- package/src/integration-systems/integration-vessel-selector/integration-vessel-selector.stories.ts +187 -3
- package/src/integration-systems/integration-vessel-selector/integration-vessel-selector.ts +5 -0
- package/src/mixins/alert.css +0 -29
- package/src/mixins/font-extras.css +103 -0
- package/src/mixins/fonts.css +26 -96
- package/src/navigation-instruments/watch/watch.css +1 -1
- package/src/navigation-instruments/watch-flat/watch-flat.css +1 -1
- package/src/pages/alert-detail-page/alert-detail-page.css +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integration-vessel-menu.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '../../components/button/button.js';
|
|
3
|
+
import '../../components/icon-button/icon-button.js';
|
|
4
|
+
import '../../icons/icon-placeholder.js';
|
|
5
|
+
import '../../building-blocks/alert-list/alert-list.js';
|
|
6
|
+
/**
|
|
7
|
+
* `<obc-integration-vessel-menu>` – A menu to be shown when selecting a obc-integration-button from a obc-integration-bar.
|
|
8
|
+
*
|
|
9
|
+
* @slot leading-icon - Icon shown in the header.
|
|
10
|
+
* @slot title - Header title text.
|
|
11
|
+
* @slot button-1-leading-icon - Leading icon for the first button.
|
|
12
|
+
* @slot button-1-label - Label for the first button.
|
|
13
|
+
* @slot button-2-leading-icon - Leading icon for the second button.
|
|
14
|
+
* @slot button-2-label - Label for the second button.
|
|
15
|
+
* @slot button-3-leading-icon - Leading icon for the third button.
|
|
16
|
+
* @slot button-3-label - Label for the third button.
|
|
17
|
+
* @slot content - Main content shown in the content area.
|
|
18
|
+
* @slot alarms - Alarm items rendered inside the alert list.
|
|
19
|
+
*
|
|
20
|
+
* @property {number} numberOfButtons - Number of buttons to render (up to 3).
|
|
21
|
+
*
|
|
22
|
+
* @fires button1-click - Fired when the first button is clicked.
|
|
23
|
+
* @fires button2-click - Fired when the second button is clicked.
|
|
24
|
+
* @fires button3-click - Fired when the third button is clicked.
|
|
25
|
+
*/
|
|
26
|
+
export declare class ObcIntegrationVesselMenu extends LitElement {
|
|
27
|
+
numberOfButtons: number;
|
|
28
|
+
private renderButtons;
|
|
29
|
+
protected render(): import('lit-html').TemplateResult<1>;
|
|
30
|
+
static styles: import('lit').CSSResult;
|
|
31
|
+
}
|
|
32
|
+
declare global {
|
|
33
|
+
interface HTMLElementTagNameMap {
|
|
34
|
+
'obc-integration-vessel-menu': ObcIntegrationVesselMenu;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=integration-vessel-menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integration-vessel-menu.d.ts","sourceRoot":"","sources":["../../../src/integration-systems/integration-vessel-menu/integration-vessel-menu.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAkB,MAAM,KAAK,CAAC;AAMhD,OAAO,mCAAmC,CAAC;AAC3C,OAAO,6CAA6C,CAAC;AACrD,OAAO,iCAAiC,CAAC;AACzC,OAAO,gDAAgD,CAAC;AAExD;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,qBACa,wBAAyB,SAAQ,UAAU;IAC5B,eAAe,SAAK;IAE9C,OAAO,CAAC,aAAa;cAmBF,MAAM;IAoBzB,OAAgB,MAAM,0BAA6B;CACpD;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,6BAA6B,EAAE,wBAAwB,CAAC;KACzD;CACF"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { unsafeCSS, LitElement, html } from "lit";
|
|
2
|
+
import { property } from "lit/decorators.js";
|
|
3
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
4
|
+
import { customElement } from "../../decorator.js";
|
|
5
|
+
import componentStyle from "./integration-vessel-menu.css.js";
|
|
6
|
+
import "../../components/button/button.js";
|
|
7
|
+
import "../../components/icon-button/icon-button.js";
|
|
8
|
+
import "../../icons/icon-placeholder.js";
|
|
9
|
+
import "../../building-blocks/alert-list/alert-list.js";
|
|
10
|
+
var __defProp = Object.defineProperty;
|
|
11
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
12
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
13
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
14
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
15
|
+
if (decorator = decorators[i])
|
|
16
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
17
|
+
if (kind && result) __defProp(target, key, result);
|
|
18
|
+
return result;
|
|
19
|
+
};
|
|
20
|
+
let ObcIntegrationVesselMenu = class extends LitElement {
|
|
21
|
+
constructor() {
|
|
22
|
+
super(...arguments);
|
|
23
|
+
this.numberOfButtons = 3;
|
|
24
|
+
}
|
|
25
|
+
renderButtons() {
|
|
26
|
+
return html`${Array.from({ length: this.numberOfButtons }, (_, i) => {
|
|
27
|
+
const buttonNum = i + 1;
|
|
28
|
+
return html`<obc-button
|
|
29
|
+
@click=${() => this.dispatchEvent(new CustomEvent(`button${buttonNum}-click`))}
|
|
30
|
+
?showLeadingIcon=${true}
|
|
31
|
+
?fullWidth=${true}
|
|
32
|
+
class="button"
|
|
33
|
+
>
|
|
34
|
+
<slot
|
|
35
|
+
name="button-${buttonNum}-leading-icon"
|
|
36
|
+
slot="leading-icon"
|
|
37
|
+
></slot>
|
|
38
|
+
<slot name="button-${buttonNum}-label"></slot>
|
|
39
|
+
</obc-button>`;
|
|
40
|
+
})}`;
|
|
41
|
+
}
|
|
42
|
+
render() {
|
|
43
|
+
return html`
|
|
44
|
+
<div
|
|
45
|
+
class=${classMap({
|
|
46
|
+
wrapper: true
|
|
47
|
+
})}
|
|
48
|
+
>
|
|
49
|
+
<div class="footer-container">${this.renderButtons()}</div>
|
|
50
|
+
<div class="content-area">
|
|
51
|
+
<slot name="content"></slot>
|
|
52
|
+
</div>
|
|
53
|
+
<div class="content-container">
|
|
54
|
+
<obc-alert-list class="alert-list"
|
|
55
|
+
><slot name="alarms"> </slot>
|
|
56
|
+
</obc-alert-list>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
`;
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
ObcIntegrationVesselMenu.styles = unsafeCSS(componentStyle);
|
|
63
|
+
__decorateClass([
|
|
64
|
+
property({ type: Number })
|
|
65
|
+
], ObcIntegrationVesselMenu.prototype, "numberOfButtons", 2);
|
|
66
|
+
ObcIntegrationVesselMenu = __decorateClass([
|
|
67
|
+
customElement("obc-integration-vessel-menu")
|
|
68
|
+
], ObcIntegrationVesselMenu);
|
|
69
|
+
export {
|
|
70
|
+
ObcIntegrationVesselMenu
|
|
71
|
+
};
|
|
72
|
+
//# sourceMappingURL=integration-vessel-menu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integration-vessel-menu.js","sources":["../../../src/integration-systems/integration-vessel-menu/integration-vessel-menu.ts"],"sourcesContent":["import {LitElement, html, unsafeCSS} from 'lit';\nimport {property} from 'lit/decorators.js';\nimport {classMap} from 'lit/directives/class-map.js';\nimport {customElement} from '../../decorator.js';\nimport componentStyle from './integration-vessel-menu.css?inline';\n\nimport '../../components/button/button.js';\nimport '../../components/icon-button/icon-button.js';\nimport '../../icons/icon-placeholder.js';\nimport '../../building-blocks/alert-list/alert-list.js';\n\n/**\n * `<obc-integration-vessel-menu>` – A menu to be shown when selecting a obc-integration-button from a obc-integration-bar.\n *\n * @slot leading-icon - Icon shown in the header.\n * @slot title - Header title text.\n * @slot button-1-leading-icon - Leading icon for the first button.\n * @slot button-1-label - Label for the first button.\n * @slot button-2-leading-icon - Leading icon for the second button.\n * @slot button-2-label - Label for the second button.\n * @slot button-3-leading-icon - Leading icon for the third button.\n * @slot button-3-label - Label for the third button.\n * @slot content - Main content shown in the content area.\n * @slot alarms - Alarm items rendered inside the alert list.\n *\n * @property {number} numberOfButtons - Number of buttons to render (up to 3).\n *\n * @fires button1-click - Fired when the first button is clicked.\n * @fires button2-click - Fired when the second button is clicked.\n * @fires button3-click - Fired when the third button is clicked.\n */\n\n@customElement('obc-integration-vessel-menu')\nexport class ObcIntegrationVesselMenu extends LitElement {\n @property({type: Number}) numberOfButtons = 3;\n\n private renderButtons() {\n return html`${Array.from({length: this.numberOfButtons}, (_, i) => {\n const buttonNum = i + 1;\n return html`<obc-button\n @click=${() =>\n this.dispatchEvent(new CustomEvent(`button${buttonNum}-click`))}\n ?showLeadingIcon=${true}\n ?fullWidth=${true}\n class=\"button\"\n >\n <slot\n name=\"button-${buttonNum}-leading-icon\"\n slot=\"leading-icon\"\n ></slot>\n <slot name=\"button-${buttonNum}-label\"></slot>\n </obc-button>`;\n })}`;\n }\n\n protected override render() {\n return html`\n <div\n class=${classMap({\n wrapper: true,\n })}\n >\n <div class=\"footer-container\">${this.renderButtons()}</div>\n <div class=\"content-area\">\n <slot name=\"content\"></slot>\n </div>\n <div class=\"content-container\">\n <obc-alert-list class=\"alert-list\"\n ><slot name=\"alarms\"> </slot>\n </obc-alert-list>\n </div>\n </div>\n `;\n }\n\n static override styles = unsafeCSS(componentStyle);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-integration-vessel-menu': ObcIntegrationVesselMenu;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAiCO,IAAM,2BAAN,cAAuC,WAAW;AAAA,EAAlD,cAAA;AAAA,UAAA,GAAA,SAAA;AACqB,SAAA,kBAAkB;AAAA,EAAA;AAAA,EAEpC,gBAAgB;AACtB,WAAO,OAAO,MAAM,KAAK,EAAC,QAAQ,KAAK,gBAAA,GAAkB,CAAC,GAAG,MAAM;AACjE,YAAM,YAAY,IAAI;AACtB,aAAO;AAAA,iBACI,MACP,KAAK,cAAc,IAAI,YAAY,SAAS,SAAS,QAAQ,CAAC,CAAC;AAAA,2BAC9C,IAAI;AAAA,qBACV,IAAI;AAAA;AAAA;AAAA;AAAA,yBAIA,SAAS;AAAA;AAAA;AAAA,6BAGL,SAAS;AAAA;AAAA,IAElC,CAAC,CAAC;AAAA,EACJ;AAAA,EAEmB,SAAS;AAC1B,WAAO;AAAA;AAAA,gBAEK,SAAS;AAAA,MACf,SAAS;AAAA,IAAA,CACV,CAAC;AAAA;AAAA,wCAE8B,KAAK,eAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAW1D;AAGF;AA3Ca,yBA0CK,SAAS,UAAU,cAAc;AAzCvB,gBAAA;AAAA,EAAzB,SAAS,EAAC,MAAM,OAAA,CAAO;AAAA,GADb,yBACe,WAAA,mBAAA,CAAA;AADf,2BAAN,gBAAA;AAAA,EADN,cAAc,6BAA6B;AAAA,GAC/B,wBAAA;"}
|
package/dist/integration-systems/integration-vessel-selector/integration-vessel-selector.css.js
CHANGED
|
@@ -18,14 +18,27 @@ const compentStyle = css`
|
|
|
18
18
|
width: 100%;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.wrapper .fleet-wrapper
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
21
|
+
.wrapper .fleet-wrapper,
|
|
22
|
+
.wrapper .vessel-wrapper {
|
|
23
|
+
width: 100%;
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
align-items: stretch;
|
|
27
|
+
justify-content: stretch;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.wrapper .fleet-wrapper {
|
|
31
|
+
padding: 4px 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.wrapper .vessel-wrapper {
|
|
35
|
+
padding: 0px 4px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.wrapper .topbar-wrapper {
|
|
39
|
+
display: flex;
|
|
40
|
+
width: 100%;
|
|
41
|
+
}
|
|
29
42
|
`;
|
|
30
43
|
export {
|
|
31
44
|
compentStyle as default
|
package/dist/integration-systems/integration-vessel-selector/integration-vessel-selector.css.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration-vessel-selector.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"integration-vessel-selector.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/integration-systems/integration-vessel-selector/integration-vessel-selector.d.ts
CHANGED
|
@@ -4,8 +4,10 @@ import { LitElement } from 'lit';
|
|
|
4
4
|
*
|
|
5
5
|
* @slot - The vessel to select.
|
|
6
6
|
* @slot fleet - The fleet of vessels.
|
|
7
|
+
* @slot topbar - The top bar, displayed when `hasTopbar` is true.
|
|
7
8
|
*/
|
|
8
9
|
export declare class ObcIntegrationVesselSelector extends LitElement {
|
|
10
|
+
hasTopbar: boolean;
|
|
9
11
|
hasFleet: boolean;
|
|
10
12
|
render(): import('lit-html').TemplateResult<1>;
|
|
11
13
|
static styles: import('lit').CSSResult;
|
package/dist/integration-systems/integration-vessel-selector/integration-vessel-selector.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration-vessel-selector.d.ts","sourceRoot":"","sources":["../../../src/integration-systems/integration-vessel-selector/integration-vessel-selector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAA2B,MAAM,KAAK,CAAC;AAKzD
|
|
1
|
+
{"version":3,"file":"integration-vessel-selector.d.ts","sourceRoot":"","sources":["../../../src/integration-systems/integration-vessel-selector/integration-vessel-selector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAA2B,MAAM,KAAK,CAAC;AAKzD;;;;;;GAMG;AACH,qBACa,4BAA6B,SAAQ,UAAU;IAC/B,SAAS,UAAS;IAClB,QAAQ,UAAS;IAEnC,MAAM;IAgBf,OAAgB,MAAM,0BAA2B;CAClD;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,iCAAiC,EAAE,4BAA4B,CAAC;KACjE;CACF"}
|
|
@@ -15,11 +15,13 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
15
15
|
let ObcIntegrationVesselSelector = class extends LitElement {
|
|
16
16
|
constructor() {
|
|
17
17
|
super(...arguments);
|
|
18
|
+
this.hasTopbar = false;
|
|
18
19
|
this.hasFleet = false;
|
|
19
20
|
}
|
|
20
21
|
render() {
|
|
21
22
|
return html`
|
|
22
23
|
<div class="wrapper">
|
|
24
|
+
${this.hasTopbar ? html`<div class="topbar-wrapper"><slot name="topbar"></slot></div>` : nothing}
|
|
23
25
|
${this.hasFleet ? html`<div class="fleet-wrapper">
|
|
24
26
|
<slot name="fleet"></slot>
|
|
25
27
|
</div>` : nothing}
|
|
@@ -29,6 +31,9 @@ let ObcIntegrationVesselSelector = class extends LitElement {
|
|
|
29
31
|
}
|
|
30
32
|
};
|
|
31
33
|
ObcIntegrationVesselSelector.styles = unsafeCSS(compentStyle);
|
|
34
|
+
__decorateClass([
|
|
35
|
+
property({ type: Boolean })
|
|
36
|
+
], ObcIntegrationVesselSelector.prototype, "hasTopbar", 2);
|
|
32
37
|
__decorateClass([
|
|
33
38
|
property({ type: Boolean })
|
|
34
39
|
], ObcIntegrationVesselSelector.prototype, "hasFleet", 2);
|
package/dist/integration-systems/integration-vessel-selector/integration-vessel-selector.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration-vessel-selector.js","sources":["../../../src/integration-systems/integration-vessel-selector/integration-vessel-selector.ts"],"sourcesContent":["import {LitElement, html, nothing, unsafeCSS} from 'lit';\nimport {customElement} from '../../decorator.js';\nimport compentStyle from './integration-vessel-selector.css?inline';\nimport {property} from 'lit/decorators.js';\n\n/**\n * `<obc-integration-vessel-selector>` – A component that allows the user to select a vessel from a fleet.\n *\n * @slot - The vessel to select.\n * @slot fleet - The fleet of vessels.\n */\n@customElement('obc-integration-vessel-selector')\nexport class ObcIntegrationVesselSelector extends LitElement {\n @property({type: Boolean}) hasFleet = false;\n\n override render() {\n return html`\n <div class=\"wrapper\">\n ${this.hasFleet\n ? html`<div class=\"fleet-wrapper\">\n <slot name=\"fleet\"></slot>\n </div>`\n : nothing}\n <slot class=\"vessel-wrapper\"></slot>\n </div>\n `;\n }\n\n static override styles = unsafeCSS(compentStyle);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-integration-vessel-selector': ObcIntegrationVesselSelector;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"integration-vessel-selector.js","sources":["../../../src/integration-systems/integration-vessel-selector/integration-vessel-selector.ts"],"sourcesContent":["import {LitElement, html, nothing, unsafeCSS} from 'lit';\nimport {customElement} from '../../decorator.js';\nimport compentStyle from './integration-vessel-selector.css?inline';\nimport {property} from 'lit/decorators.js';\n\n/**\n * `<obc-integration-vessel-selector>` – A component that allows the user to select a vessel from a fleet.\n *\n * @slot - The vessel to select.\n * @slot fleet - The fleet of vessels.\n * @slot topbar - The top bar, displayed when `hasTopbar` is true.\n */\n@customElement('obc-integration-vessel-selector')\nexport class ObcIntegrationVesselSelector extends LitElement {\n @property({type: Boolean}) hasTopbar = false;\n @property({type: Boolean}) hasFleet = false;\n\n override render() {\n return html`\n <div class=\"wrapper\">\n ${this.hasTopbar\n ? html`<div class=\"topbar-wrapper\"><slot name=\"topbar\"></slot></div>`\n : nothing}\n ${this.hasFleet\n ? html`<div class=\"fleet-wrapper\">\n <slot name=\"fleet\"></slot>\n </div>`\n : nothing}\n <slot class=\"vessel-wrapper\"></slot>\n </div>\n `;\n }\n\n static override styles = unsafeCSS(compentStyle);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-integration-vessel-selector': ObcIntegrationVesselSelector;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAaO,IAAM,+BAAN,cAA2C,WAAW;AAAA,EAAtD,cAAA;AAAA,UAAA,GAAA,SAAA;AACsB,SAAA,YAAY;AACZ,SAAA,WAAW;AAAA,EAAA;AAAA,EAE7B,SAAS;AAChB,WAAO;AAAA;AAAA,UAED,KAAK,YACH,sEACA,OAAO;AAAA,UACT,KAAK,WACH;AAAA;AAAA,sBAGA,OAAO;AAAA;AAAA;AAAA;AAAA,EAIjB;AAGF;AArBa,6BAoBK,SAAS,UAAU,YAAY;AAnBpB,gBAAA;AAAA,EAA1B,SAAS,EAAC,MAAM,QAAA,CAAQ;AAAA,GADd,6BACgB,WAAA,aAAA,CAAA;AACA,gBAAA;AAAA,EAA1B,SAAS,EAAC,MAAM,QAAA,CAAQ;AAAA,GAFd,6BAEgB,WAAA,YAAA,CAAA;AAFhB,+BAAN,gBAAA;AAAA,EADN,cAAc,iCAAiC;AAAA,GACnC,4BAAA;"}
|
package/dist/navigation-instruments/azimuth-thruster-labeled/azimuth-thruster-labeled.css.js
CHANGED
|
@@ -31,7 +31,9 @@ const compentStyle = css`
|
|
|
31
31
|
padding-top: 4px;
|
|
32
32
|
padding-bottom: 4px;
|
|
33
33
|
|
|
34
|
-
font-family: var(--font-family
|
|
34
|
+
font-family: var(--global-typography-font-family);
|
|
35
|
+
|
|
36
|
+
font-weight: var(--global-typography-ui-overline-font-weight);
|
|
35
37
|
|
|
36
38
|
font-size: var(--global-typography-ui-overline-font-size);
|
|
37
39
|
|
package/dist/navigation-instruments/azimuth-thruster-labeled/azimuth-thruster-labeled.css.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azimuth-thruster-labeled.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"azimuth-thruster-labeled.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -159,7 +159,8 @@ const compentStyle = css`
|
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
.wrapper.horizontal.enhanced .src {
|
|
162
|
-
font-family: var(--font-family
|
|
162
|
+
font-family: var(--global-typography-font-family);
|
|
163
|
+
font-weight: var(--global-typography-ui-body-font-weight);
|
|
163
164
|
font-size: var(--global-typography-ui-body-font-size);
|
|
164
165
|
line-height: var(--global-typography-ui-body-line-height);
|
|
165
166
|
font-feature-settings:
|
|
@@ -228,7 +229,8 @@ const compentStyle = css`
|
|
|
228
229
|
|
|
229
230
|
.wrapper .src-picker::part(label) {
|
|
230
231
|
padding: 0;
|
|
231
|
-
font-family: var(--font-family
|
|
232
|
+
font-family: var(--global-typography-font-family);
|
|
233
|
+
font-weight: var(--global-typography-ui-body-font-weight);
|
|
232
234
|
font-size: var(--global-typography-ui-body-font-size);
|
|
233
235
|
line-height: var(--global-typography-ui-body-line-height);
|
|
234
236
|
font-feature-settings:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instrument-field.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"instrument-field.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -665,7 +665,8 @@ const componentStyle = css`
|
|
|
665
665
|
}
|
|
666
666
|
|
|
667
667
|
.source-container.source-type-regular .source {
|
|
668
|
-
font-family: var(--font-family
|
|
668
|
+
font-family: var(--global-typography-font-family);
|
|
669
|
+
font-weight: var(--global-typography-ui-body-font-weight);
|
|
669
670
|
font-size: var(--global-typography-ui-body-font-size);
|
|
670
671
|
line-height: var(--global-typography-ui-body-line-height);
|
|
671
672
|
font-feature-settings:
|
|
@@ -739,7 +740,8 @@ const componentStyle = css`
|
|
|
739
740
|
}
|
|
740
741
|
|
|
741
742
|
.source-type-regular:is(.source-container .source-picker)::part(label) {
|
|
742
|
-
font-family: var(--font-family
|
|
743
|
+
font-family: var(--global-typography-font-family);
|
|
744
|
+
font-weight: var(--global-typography-ui-body-font-weight);
|
|
743
745
|
font-size: var(--global-typography-ui-body-font-size);
|
|
744
746
|
line-height: var(--global-typography-ui-body-line-height);
|
|
745
747
|
font-feature-settings:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readout.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"readout.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -9,14 +9,15 @@ const compentStyle = css`
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.label {
|
|
12
|
-
font-family: var(--font-family
|
|
12
|
+
font-family: var(--global-typography-font-family);
|
|
13
|
+
font-weight: var(--global-typography-ui-body-font-weight);
|
|
13
14
|
font-size: var(--global-typography-ui-body-font-size);
|
|
14
15
|
line-height: var(--global-typography-ui-body-line-height);
|
|
15
16
|
font-feature-settings:
|
|
16
17
|
"liga" off,
|
|
17
18
|
"clig" off,
|
|
18
19
|
"ss04" on;
|
|
19
|
-
font-size: calc(12px / var(--scale));
|
|
20
|
+
font-size: calc(12px / var(--scale, 1));
|
|
20
21
|
fill: var(--element-neutral-color);
|
|
21
22
|
dominant-baseline: central;
|
|
22
23
|
text-anchor: middle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"watch.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"watch.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -9,14 +9,15 @@ const compentStyle = css`
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.label {
|
|
12
|
-
font-family: var(--font-family
|
|
12
|
+
font-family: var(--global-typography-font-family);
|
|
13
|
+
font-weight: var(--global-typography-ui-body-font-weight);
|
|
13
14
|
font-size: var(--global-typography-ui-body-font-size);
|
|
14
15
|
line-height: var(--global-typography-ui-body-line-height);
|
|
15
16
|
font-feature-settings:
|
|
16
17
|
"liga" off,
|
|
17
18
|
"clig" off,
|
|
18
19
|
"ss04" on;
|
|
19
|
-
font-size: calc(16px / var(--scale));
|
|
20
|
+
font-size: calc(16px / var(--scale, 1));
|
|
20
21
|
fill: var(--element-neutral-color);
|
|
21
22
|
alignment-baseline: middle;
|
|
22
23
|
text-anchor: middle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"watch-flat.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"watch-flat.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/openbridge.css
CHANGED
|
@@ -14791,7 +14791,8 @@ label.obc-radio-button.disabled {
|
|
|
14791
14791
|
color: var(--on-flat-disabled-color) !important;
|
|
14792
14792
|
}
|
|
14793
14793
|
label.obc-radio-button {
|
|
14794
|
-
font-family: var(--font-family
|
|
14794
|
+
font-family: var(--global-typography-font-family);
|
|
14795
|
+
font-weight: var(--global-typography-ui-body-font-weight);
|
|
14795
14796
|
font-size: var(--global-typography-ui-body-font-size);
|
|
14796
14797
|
line-height: var(--global-typography-ui-body-line-height);
|
|
14797
14798
|
font-feature-settings:
|
|
@@ -14822,7 +14823,8 @@ label.obc-radio-button.disabled .label,label.obc-radio-button.disabled:hover .la
|
|
|
14822
14823
|
color: var(--element-disabled-color);
|
|
14823
14824
|
}
|
|
14824
14825
|
label.obc-radio-button:has(input:checked) {
|
|
14825
|
-
font-family: var(--font-family
|
|
14826
|
+
font-family: var(--global-typography-font-family);
|
|
14827
|
+
font-weight: var(--global-typography-ui-body-active-font-weight);
|
|
14826
14828
|
font-size: var(--global-typography-ui-body-active-font-size);
|
|
14827
14829
|
line-height: var(--global-typography-ui-body-active-line-height);
|
|
14828
14830
|
font-feature-settings:
|
|
@@ -11,7 +11,7 @@ const compentStyle = css`
|
|
|
11
11
|
.wrapper {
|
|
12
12
|
display: flex;
|
|
13
13
|
flex-direction: column;
|
|
14
|
-
background: var(--
|
|
14
|
+
background: var(--container-background-color);
|
|
15
15
|
height: 100%;
|
|
16
16
|
|
|
17
17
|
--padding-horizontal: var(--app-components-modal-margin-vertical);
|
|
@@ -62,7 +62,8 @@ const compentStyle = css`
|
|
|
62
62
|
.header .title {
|
|
63
63
|
padding: 0px var(--app-components-alert-info-label-spacing);
|
|
64
64
|
color: var(--element-neutral-color);
|
|
65
|
-
font-family: var(--font-family
|
|
65
|
+
font-family: var(--global-typography-font-family);
|
|
66
|
+
font-weight: var(--global-typography-ui-overline-font-weight);
|
|
66
67
|
font-size: var(--global-typography-ui-overline-font-size);
|
|
67
68
|
line-height: var(--global-typography-ui-overline-line-height);
|
|
68
69
|
letter-spacing: var(--global-typography-ui-overline-letter-spacing);
|
|
@@ -92,7 +93,8 @@ const compentStyle = css`
|
|
|
92
93
|
|
|
93
94
|
.body .description {
|
|
94
95
|
color: var(--element-active-color);
|
|
95
|
-
font-family: var(--font-family
|
|
96
|
+
font-family: var(--global-typography-font-family);
|
|
97
|
+
font-weight: var(--global-typography-ui-body-font-weight);
|
|
96
98
|
font-size: var(--global-typography-ui-body-font-size);
|
|
97
99
|
line-height: var(--global-typography-ui-body-line-height);
|
|
98
100
|
font-feature-settings:
|
|
@@ -104,7 +106,8 @@ const compentStyle = css`
|
|
|
104
106
|
|
|
105
107
|
:is(.body .description) .label {
|
|
106
108
|
color: var(--element-neutral-color);
|
|
107
|
-
font-family: var(--font-family
|
|
109
|
+
font-family: var(--global-typography-font-family);
|
|
110
|
+
font-weight: var(--global-typography-ui-label-font-weight);
|
|
108
111
|
font-size: var(--global-typography-ui-label-font-size);
|
|
109
112
|
line-height: var(--global-typography-ui-label-line-height);
|
|
110
113
|
font-feature-settings:
|
|
@@ -120,7 +123,8 @@ const compentStyle = css`
|
|
|
120
123
|
|
|
121
124
|
:is(.body .detail) .detail-title {
|
|
122
125
|
color: var(--element-neutral-color);
|
|
123
|
-
font-family: var(--font-family
|
|
126
|
+
font-family: var(--global-typography-font-family);
|
|
127
|
+
font-weight: var(--global-typography-ui-label-font-weight);
|
|
124
128
|
font-size: var(--global-typography-ui-label-font-size);
|
|
125
129
|
line-height: var(--global-typography-ui-label-line-height);
|
|
126
130
|
font-feature-settings:
|
|
@@ -131,7 +135,8 @@ const compentStyle = css`
|
|
|
131
135
|
|
|
132
136
|
:is(.body .detail) .detail-value {
|
|
133
137
|
color: var(--element-active-color);
|
|
134
|
-
font-family: var(--font-family
|
|
138
|
+
font-family: var(--global-typography-font-family);
|
|
139
|
+
font-weight: var(--global-typography-ui-body-font-weight);
|
|
135
140
|
font-size: var(--global-typography-ui-body-font-size);
|
|
136
141
|
line-height: var(--global-typography-ui-body-line-height);
|
|
137
142
|
font-feature-settings:
|
|
@@ -144,7 +149,8 @@ const compentStyle = css`
|
|
|
144
149
|
color: var(--element-active-color);
|
|
145
150
|
width: var(--app-components-alert-info-icon-size);
|
|
146
151
|
height: var(--app-components-alert-info-icon-size);
|
|
147
|
-
font-family: var(--font-family
|
|
152
|
+
font-family: var(--global-typography-font-family);
|
|
153
|
+
font-weight: var(--global-typography-ui-body-font-weight);
|
|
148
154
|
font-size: var(--global-typography-ui-body-font-size);
|
|
149
155
|
line-height: var(--global-typography-ui-body-line-height);
|
|
150
156
|
font-feature-settings:
|
|
@@ -165,7 +171,8 @@ const compentStyle = css`
|
|
|
165
171
|
|
|
166
172
|
.readout-graph-title {
|
|
167
173
|
color: var(--element-active-color);
|
|
168
|
-
font-family: var(--font-family
|
|
174
|
+
font-family: var(--global-typography-font-family);
|
|
175
|
+
font-weight: var(--global-typography-ui-label-font-weight);
|
|
169
176
|
font-size: var(--global-typography-ui-label-font-size);
|
|
170
177
|
line-height: var(--global-typography-ui-label-line-height);
|
|
171
178
|
font-feature-settings:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert-detail-page.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"alert-detail-page.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oicl/openbridge-webcomponents-full-bundle",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.52",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@lit-labs/gen-wrapper-svelte": "file:lit-labs-gen-wrapper-svelte-397bf119.tgz",
|
|
31
31
|
"@lit-labs/gen-wrapper-vue": "file:lit-labs-gen-wrapper-vue-0.4.1.tgz",
|
|
32
32
|
"@open-wc/lit-helpers": "^0.7.0",
|
|
33
|
-
"@playwright/test": "
|
|
33
|
+
"@playwright/test": "1.60.0",
|
|
34
34
|
"@semantic-release/changelog": "^6.0.3",
|
|
35
35
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
36
36
|
"@semantic-release/exec": "^7.1.0",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"lit-analyzer": "^2.0.3",
|
|
64
64
|
"nodemon": "^3.1.14",
|
|
65
65
|
"openai": "^6.27.0",
|
|
66
|
-
"playwright": "^1.
|
|
66
|
+
"playwright": "^1.60.0",
|
|
67
67
|
"postcss": "^8.5.8",
|
|
68
68
|
"postcss-cli": "^11.0.1",
|
|
69
69
|
"postcss-import": "^16.1.1",
|
package/postcss.config.mjs
CHANGED
|
@@ -50,7 +50,8 @@ function colors({
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
function parseParams(params) {
|
|
53
|
-
const
|
|
53
|
+
const paramsNoNewLine = params.replaceAll('\n', '');
|
|
54
|
+
const paramsArray = paramsNoNewLine.split(' ');
|
|
54
55
|
const paramsObject = {};
|
|
55
56
|
paramsArray.forEach((param) => {
|
|
56
57
|
const [key, value] = param.split('=');
|
|
@@ -44,43 +44,22 @@ import fs from 'fs';
|
|
|
44
44
|
import path from 'path';
|
|
45
45
|
import {globby} from 'globby';
|
|
46
46
|
|
|
47
|
+
// Bucket B from issue #916 — undefined CSS variables that still need a design
|
|
48
|
+
// decision (token value, rename target, or removal). Tracked for follow-up.
|
|
49
|
+
// See https://github.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/issues/916
|
|
47
50
|
const allowedUndefinedVariables = new Set([
|
|
48
|
-
|
|
51
|
+
// B-1: notification icon size (alert-menu-item.css, message-menu-item.css)
|
|
49
52
|
'--app-components-alert-components-general-notification-item-icon-size-large',
|
|
50
|
-
|
|
51
|
-
'--app-components-badge-icon-size',
|
|
52
|
-
'--app-components-badge-icon-size-flat',
|
|
53
|
-
'--app-components-badge-icon-size-large',
|
|
54
|
-
'--app-components-badge-label-spacing',
|
|
55
|
-
'--app-components-badge-min-size-large',
|
|
56
|
-
'--app-components-badge-padding',
|
|
53
|
+
// B-2: alert counter spacing (alert-button.css)
|
|
57
54
|
'--app-components-global-alert-item-counter-spacing',
|
|
58
|
-
|
|
59
|
-
'--course',
|
|
60
|
-
'--critical-enabled-background-color',
|
|
61
|
-
'--critical-enabled-border-color',
|
|
62
|
-
'--critical-focused-background-color',
|
|
63
|
-
'--critical-focused-border-color',
|
|
64
|
-
'--critical-hover-background-color',
|
|
65
|
-
'--critical-hover-border-color',
|
|
66
|
-
'--critical-pressed-background-color',
|
|
67
|
-
'--critical-pressed-border-color',
|
|
68
|
-
'--custom-width',
|
|
55
|
+
// B-3: likely typo for --normal-enabled-background-color (sequence-toolbar.css)
|
|
69
56
|
'--enabled-background-color',
|
|
70
|
-
|
|
71
|
-
'--grid-columns',
|
|
72
|
-
'--grid-columns-rest',
|
|
73
|
-
'--heading',
|
|
74
|
-
'--image-size',
|
|
57
|
+
// B-4: date-item vertical padding (date-item.css) — sibling tokens exist
|
|
75
58
|
'--menu-navigation-components-date-item-padding-vertical',
|
|
76
|
-
|
|
59
|
+
// B-5/B-6: instrument-field internal widths — unusual --obc- prefix
|
|
77
60
|
'--obc-instrument-field-source-width',
|
|
78
61
|
'--obc-instrument-field-tag-width',
|
|
79
|
-
|
|
80
|
-
'--percent',
|
|
81
|
-
'--scale',
|
|
82
|
-
'--spinner-progress-deg',
|
|
83
|
-
'--ui-components-icon-toggle-button-horizontal-item-touch-target-size',
|
|
62
|
+
// B-7: keyboard "nummeric" tokens missing from the (misspelled) family
|
|
84
63
|
'--ui-components-keyboard-nummeric-component-height-min',
|
|
85
64
|
'--ui-components-keyboard-nummeric-touch-target-size',
|
|
86
65
|
]);
|
|
@@ -300,7 +300,7 @@
|
|
|
300
300
|
.course-arrow {
|
|
301
301
|
position: absolute;
|
|
302
302
|
left: 50%;
|
|
303
|
-
transform: translate(-50%, -50%) rotate(calc(var(--course)));
|
|
303
|
+
transform: translate(-50%, -50%) rotate(calc(var(--course, 0deg)));
|
|
304
304
|
transform-origin: center bottom;
|
|
305
305
|
}
|
|
306
306
|
|
|
@@ -308,7 +308,7 @@
|
|
|
308
308
|
position: absolute;
|
|
309
309
|
left: 50%;
|
|
310
310
|
top: 50%;
|
|
311
|
-
transform: translate(-50%, -50%) rotate(calc(var(--heading)));
|
|
311
|
+
transform: translate(-50%, -50%) rotate(calc(var(--heading, 0deg)));
|
|
312
312
|
transform-origin: center center;
|
|
313
313
|
}
|
|
314
314
|
|
|
@@ -316,16 +316,16 @@
|
|
|
316
316
|
position: absolute;
|
|
317
317
|
left: 50%;
|
|
318
318
|
top: 50%;
|
|
319
|
-
transform: translate(-50%, -50%) rotate(calc(var(--heading)));
|
|
319
|
+
transform: translate(-50%, -50%) rotate(calc(var(--heading, 0deg)));
|
|
320
320
|
transform-origin: center center;
|
|
321
321
|
|
|
322
322
|
& > slot {
|
|
323
|
-
width: var(--image-size);
|
|
324
|
-
height: var(--image-size);
|
|
323
|
+
width: var(--image-size, 0px);
|
|
324
|
+
height: var(--image-size, 0px);
|
|
325
325
|
}
|
|
326
326
|
|
|
327
327
|
& > svg {
|
|
328
|
-
width: calc(var(--image-size) * 160 / 136.87);
|
|
329
|
-
height: calc(var(--image-size) * 160 / 136.87);
|
|
328
|
+
width: calc(var(--image-size, 0px) * 160 / 136.87);
|
|
329
|
+
height: calc(var(--image-size, 0px) * 160 / 136.87);
|
|
330
330
|
}
|
|
331
331
|
}
|
|
@@ -71,6 +71,7 @@ export default meta;
|
|
|
71
71
|
type Story = StoryObj<PoiLayerArgs>;
|
|
72
72
|
|
|
73
73
|
export const AnimatedLayout: Story = {
|
|
74
|
+
tags: ['skip-test'],
|
|
74
75
|
args: {
|
|
75
76
|
label: 'Animated Layer',
|
|
76
77
|
debug: true,
|
|
@@ -171,6 +172,7 @@ export const AnimatedLayout: Story = {
|
|
|
171
172
|
};
|
|
172
173
|
|
|
173
174
|
export const AnimatedLayoutWithValues: Story = {
|
|
175
|
+
tags: ['skip-test'],
|
|
174
176
|
args: {
|
|
175
177
|
label: 'Animated Layer (Values)',
|
|
176
178
|
debug: true,
|
|
@@ -304,6 +306,7 @@ export const AnimatedLayoutWithValues: Story = {
|
|
|
304
306
|
};
|
|
305
307
|
|
|
306
308
|
export const Primary: Story = {
|
|
309
|
+
tags: ['skip-test'],
|
|
307
310
|
play: async () => {
|
|
308
311
|
await waitForStorySettle();
|
|
309
312
|
},
|