@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration-button.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"integration-button.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -4,6 +4,15 @@ export interface IntegrationButtonReadout {
|
|
|
4
4
|
value: string;
|
|
5
5
|
unit: string;
|
|
6
6
|
}
|
|
7
|
+
export declare enum IntegrationButtonVariant {
|
|
8
|
+
normal = "normal",
|
|
9
|
+
flat = "flat"
|
|
10
|
+
}
|
|
11
|
+
export declare enum IntegrationButtonType {
|
|
12
|
+
hug = "hug",
|
|
13
|
+
regular = "regular",
|
|
14
|
+
rich = "rich"
|
|
15
|
+
}
|
|
7
16
|
/**
|
|
8
17
|
* `<obc-integration-button>` – A button component for integration systems.
|
|
9
18
|
*
|
|
@@ -11,20 +20,47 @@ export interface IntegrationButtonReadout {
|
|
|
11
20
|
* @slot trailing-icon - Icon after label (shown when `hasTrailingIcon` is true)
|
|
12
21
|
* @slot trailing-icon2 - Icon after label (shown when `hasTrailingIcon2` is true)
|
|
13
22
|
* @slot label - Label text
|
|
14
|
-
* @slot status - Status text
|
|
23
|
+
* @slot status - Status/description text (shown when `hasStatus` is true)
|
|
15
24
|
* @slot info-label - Info label text
|
|
16
25
|
* @slot info-status - Info status text
|
|
26
|
+
* @slot integration-vessel-menu - Integration vessel menu to be shown when button is in activated state
|
|
27
|
+
*
|
|
28
|
+
* @fires click - Fired when the internal button is activated.
|
|
29
|
+
*
|
|
30
|
+
* @property {boolean} hasTrailingIcon - Shows the `trailing-icon` slot.
|
|
31
|
+
* @property {boolean} hasTrailingIcon2 - Shows the `trailing-icon2` slot.
|
|
32
|
+
* @property {boolean} hasLeadingIcon - Shows the `leading-icon` slot.
|
|
33
|
+
* @property {boolean} hasstatus - Shows the `status` slot.
|
|
34
|
+
* @property {IntegrationButtonReadout[]} readouts - List of readout items shown in the rich type.
|
|
35
|
+
* @property {boolean} disabled - Disables the internal button.
|
|
36
|
+
* @property {boolean} activated - Applies active state styling while a selection is pending.
|
|
37
|
+
* @property {boolean} selected - Applies selected state styling.
|
|
38
|
+
* @property {boolean} dividerBottom - Shows a bottom divider under the button.
|
|
39
|
+
* @property {boolean} dividerRight - Shows a right divider to separate from adjacent buttons.
|
|
40
|
+
* @property {IntegrationButtonVariant} variant - Visual variant (`normal` or `flat`).
|
|
41
|
+
* @property {IntegrationButtonType} type - Layout type (`hug`, `regular`, or `rich`).
|
|
17
42
|
*/
|
|
18
43
|
export declare class ObcIntegrationButton extends LitElement {
|
|
19
44
|
hasTrailingIcon: boolean;
|
|
20
45
|
hasTrailingIcon2: boolean;
|
|
21
46
|
hasLeadingIcon: boolean;
|
|
47
|
+
hasStatus: boolean;
|
|
22
48
|
readouts: IntegrationButtonReadout[];
|
|
23
49
|
disabled: boolean;
|
|
50
|
+
activated: boolean;
|
|
24
51
|
selected: boolean;
|
|
25
52
|
dividerBottom: boolean;
|
|
53
|
+
dividerRight: boolean;
|
|
54
|
+
variant: IntegrationButtonVariant;
|
|
55
|
+
type: IntegrationButtonType;
|
|
56
|
+
private getButtonClasses;
|
|
57
|
+
private onIntegrationVesselMenuClick;
|
|
58
|
+
renderRich(): import('lit-html').TemplateResult<1>;
|
|
59
|
+
renderRegular(): import('lit-html').TemplateResult<1>;
|
|
60
|
+
renderHug(): import('lit-html').TemplateResult<1>;
|
|
26
61
|
render(): import('lit-html').TemplateResult<1>;
|
|
27
62
|
static styles: import('lit').CSSResult;
|
|
63
|
+
updated(): void;
|
|
28
64
|
}
|
|
29
65
|
declare global {
|
|
30
66
|
interface HTMLElementTagNameMap {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration-button.d.ts","sourceRoot":"","sources":["../../../src/integration-systems/integration-button/integration-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAA2B,MAAM,KAAK,CAAC;AAMzD,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED
|
|
1
|
+
{"version":3,"file":"integration-button.d.ts","sourceRoot":"","sources":["../../../src/integration-systems/integration-button/integration-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAA2B,MAAM,KAAK,CAAC;AAMzD,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,oBAAY,wBAAwB;IAClC,MAAM,WAAW;IACjB,IAAI,SAAS;CACd;AAED,oBAAY,qBAAqB;IAC/B,GAAG,QAAQ;IACX,OAAO,YAAY;IACnB,IAAI,SAAS;CACd;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,qBACa,oBAAqB,SAAQ,UAAU;IACvB,eAAe,UAAS;IACxB,gBAAgB,UAAS;IACzB,cAAc,UAAS;IACvB,SAAS,UAAS;IAE7C,QAAQ,EAAE,wBAAwB,EAAE,CAAM;IACf,QAAQ,UAAS;IACjB,SAAS,UAAS;IAClB,QAAQ,UAAS;IACjB,aAAa,UAAS;IACtB,YAAY,UAAS;IACtB,OAAO,EAAE,wBAAwB,CACzB;IACR,IAAI,EAAE,qBAAqB,CACrB;IAEhC,OAAO,CAAC,gBAAgB;IAYxB,OAAO,CAAC,4BAA4B;IAIpC,UAAU;IA2EV,aAAa;IAgDb,SAAS;IAgDA,MAAM;IAef,OAAgB,MAAM,0BAA2B;IAExC,OAAO;CAajB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,wBAAwB,EAAE,oBAAoB,CAAC;KAChD;CACF"}
|
|
@@ -13,61 +13,210 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
13
13
|
if (kind && result) __defProp(target, key, result);
|
|
14
14
|
return result;
|
|
15
15
|
};
|
|
16
|
+
var IntegrationButtonVariant = /* @__PURE__ */ ((IntegrationButtonVariant2) => {
|
|
17
|
+
IntegrationButtonVariant2["normal"] = "normal";
|
|
18
|
+
IntegrationButtonVariant2["flat"] = "flat";
|
|
19
|
+
return IntegrationButtonVariant2;
|
|
20
|
+
})(IntegrationButtonVariant || {});
|
|
21
|
+
var IntegrationButtonType = /* @__PURE__ */ ((IntegrationButtonType2) => {
|
|
22
|
+
IntegrationButtonType2["hug"] = "hug";
|
|
23
|
+
IntegrationButtonType2["regular"] = "regular";
|
|
24
|
+
IntegrationButtonType2["rich"] = "rich";
|
|
25
|
+
return IntegrationButtonType2;
|
|
26
|
+
})(IntegrationButtonType || {});
|
|
16
27
|
let ObcIntegrationButton = class extends LitElement {
|
|
17
28
|
constructor() {
|
|
18
29
|
super(...arguments);
|
|
19
30
|
this.hasTrailingIcon = false;
|
|
20
31
|
this.hasTrailingIcon2 = false;
|
|
21
32
|
this.hasLeadingIcon = false;
|
|
33
|
+
this.hasStatus = false;
|
|
22
34
|
this.readouts = [];
|
|
23
35
|
this.disabled = false;
|
|
36
|
+
this.activated = false;
|
|
24
37
|
this.selected = false;
|
|
25
38
|
this.dividerBottom = false;
|
|
39
|
+
this.dividerRight = false;
|
|
40
|
+
this.variant = "normal";
|
|
41
|
+
this.type = "regular";
|
|
26
42
|
}
|
|
27
|
-
|
|
43
|
+
getButtonClasses() {
|
|
44
|
+
return {
|
|
45
|
+
"touch-target": true,
|
|
46
|
+
selected: this.selected,
|
|
47
|
+
activated: this.activated,
|
|
48
|
+
disabled: this.disabled,
|
|
49
|
+
"has-description": this.hasStatus,
|
|
50
|
+
["variant-" + this.variant]: true,
|
|
51
|
+
["type-" + this.type]: true
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
onIntegrationVesselMenuClick(event) {
|
|
55
|
+
event.stopPropagation();
|
|
56
|
+
}
|
|
57
|
+
renderRich() {
|
|
28
58
|
return html`
|
|
29
|
-
<button
|
|
59
|
+
<div class="button-horizontal-divider-container">
|
|
60
|
+
<div class="button-vertical-divider-container">
|
|
61
|
+
<button
|
|
62
|
+
class=${classMap(this.getButtonClasses())}
|
|
63
|
+
?disabled=${this.disabled}
|
|
64
|
+
>
|
|
65
|
+
<div class="content-container">
|
|
66
|
+
<div class="main-container">
|
|
67
|
+
${this.hasLeadingIcon ? html`<div class="icon leading">
|
|
68
|
+
<slot name="leading-icon"></slot>
|
|
69
|
+
</div>` : nothing}
|
|
70
|
+
<div class="text-container">
|
|
71
|
+
<div class="label"><slot name="label"></slot></div>
|
|
72
|
+
${this.hasStatus ? html`<div class="status">
|
|
73
|
+
<slot name="status"></slot>
|
|
74
|
+
</div>` : nothing}
|
|
75
|
+
</div>
|
|
76
|
+
${this.hasTrailingIcon ? html`<div class="icon-container">
|
|
77
|
+
${this.hasTrailingIcon2 ? html`<slot
|
|
78
|
+
name="trailing-icon2"
|
|
79
|
+
class="icon trailing"
|
|
80
|
+
></slot>` : nothing}
|
|
81
|
+
<slot name="trailing-icon" class="icon trailing"></slot>
|
|
82
|
+
</div>` : nothing}
|
|
83
|
+
</div>
|
|
84
|
+
<div class="info-container">
|
|
85
|
+
<div class="info-item">
|
|
86
|
+
<slot class="info-label" name="info-label"></slot>
|
|
87
|
+
<slot class="info-status" name="info-status"></slot>
|
|
88
|
+
</div>
|
|
89
|
+
${this.readouts.map(
|
|
90
|
+
(readout) => html`
|
|
91
|
+
<div class="info-readout-item">
|
|
92
|
+
<div class="info-item-label">${readout.label}</div>
|
|
93
|
+
<div class="info-item-value">${readout.value}</div>
|
|
94
|
+
<div class="info-item-unit">${readout.unit}</div>
|
|
95
|
+
</div>
|
|
96
|
+
`
|
|
97
|
+
)}
|
|
98
|
+
</div>
|
|
99
|
+
</div>
|
|
100
|
+
</button>
|
|
101
|
+
${this.dividerRight ? html`<div class="divider-right"></div>` : html`<div
|
|
102
|
+
class="divider-right"
|
|
103
|
+
style="visibility: hidden;"
|
|
104
|
+
></div>`}
|
|
105
|
+
</div>
|
|
106
|
+
${this.dividerBottom ? html`<div class="divider-bottom"></div>` : nothing}
|
|
107
|
+
</div>
|
|
108
|
+
<div
|
|
30
109
|
class=${classMap({
|
|
31
|
-
|
|
32
|
-
|
|
110
|
+
"integration-vessel-menu-container": true,
|
|
111
|
+
show: this.activated
|
|
33
112
|
})}
|
|
34
|
-
|
|
113
|
+
@click=${this.onIntegrationVesselMenuClick}
|
|
35
114
|
>
|
|
36
|
-
<
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
115
|
+
<slot name="integration-vessel-menu"></slot>
|
|
116
|
+
</div>
|
|
117
|
+
`;
|
|
118
|
+
}
|
|
119
|
+
renderRegular() {
|
|
120
|
+
return html`
|
|
121
|
+
<div class="button-vertical-divider-container">
|
|
122
|
+
<button
|
|
123
|
+
class=${classMap(this.getButtonClasses())}
|
|
124
|
+
?disabled=${this.disabled}
|
|
125
|
+
>
|
|
126
|
+
<div class="content-container">
|
|
127
|
+
${this.hasLeadingIcon ? html`<div class="icon leading">
|
|
128
|
+
<slot name="leading-icon"></slot>
|
|
129
|
+
</div>` : nothing}
|
|
130
|
+
<div class="text-container">
|
|
131
|
+
<div class="label"><slot name="label"></slot></div>
|
|
132
|
+
${this.hasStatus ? html`<div class="status"><slot name="status"></slot></div>` : nothing}
|
|
133
|
+
</div>
|
|
134
|
+
${this.hasTrailingIcon ? html`<div class="icon-container">
|
|
135
|
+
${this.hasTrailingIcon2 ? html`<slot
|
|
136
|
+
name="trailing-icon2"
|
|
137
|
+
class="icon trailing"
|
|
138
|
+
></slot>` : nothing}
|
|
139
|
+
<slot name="trailing-icon" class="icon trailing"></slot>
|
|
140
|
+
</div>` : nothing}
|
|
43
141
|
</div>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
142
|
+
</button>
|
|
143
|
+
${this.dividerRight ? html`<div class="divider-right"></div>` : html`<div class="divider-right" style="visibility: hidden;"></div>`}
|
|
144
|
+
</div>
|
|
145
|
+
<div
|
|
146
|
+
class=${classMap({
|
|
147
|
+
"integration-vessel-menu-container": true,
|
|
148
|
+
show: this.activated
|
|
149
|
+
})}
|
|
150
|
+
@click=${this.onIntegrationVesselMenuClick}
|
|
151
|
+
>
|
|
152
|
+
<slot name="integration-vessel-menu"></slot>
|
|
153
|
+
</div>
|
|
154
|
+
`;
|
|
155
|
+
}
|
|
156
|
+
renderHug() {
|
|
157
|
+
return html`
|
|
158
|
+
<div class="button-vertical-divider-container">
|
|
159
|
+
<button
|
|
160
|
+
class=${classMap(this.getButtonClasses())}
|
|
161
|
+
?disabled=${this.disabled}
|
|
162
|
+
>
|
|
163
|
+
<div class="content-container">
|
|
164
|
+
${this.hasLeadingIcon ? html`<div class="icon leading">
|
|
165
|
+
<slot name="leading-icon"></slot>
|
|
166
|
+
</div>` : nothing}
|
|
167
|
+
<div class="text-container">
|
|
168
|
+
<div class="label"><slot name="label"></slot></div>
|
|
169
|
+
${this.hasStatus ? html`<div class="status"><slot name="status"></slot></div>` : nothing}
|
|
170
|
+
</div>
|
|
171
|
+
${this.hasTrailingIcon ? html`<div class="icon-container">
|
|
172
|
+
${this.hasTrailingIcon2 ? html`<slot
|
|
173
|
+
name="trailing-icon2"
|
|
174
|
+
class="icon trailing"
|
|
175
|
+
></slot>` : nothing}
|
|
176
|
+
<slot name="trailing-icon" class="icon trailing"></slot>
|
|
177
|
+
</div>` : nothing}
|
|
56
178
|
</div>
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
179
|
+
</button>
|
|
180
|
+
${this.dividerRight ? html`<div class="divider-right"></div>` : html`<div class="divider-right" style="visibility: hidden;"></div>`}
|
|
181
|
+
</div>
|
|
182
|
+
<div
|
|
183
|
+
class=${classMap({
|
|
184
|
+
"integration-vessel-menu-container": true,
|
|
185
|
+
show: this.activated
|
|
186
|
+
})}
|
|
187
|
+
@click=${this.onIntegrationVesselMenuClick}
|
|
188
|
+
>
|
|
189
|
+
<slot name="integration-vessel-menu"></slot>
|
|
190
|
+
</div>
|
|
69
191
|
`;
|
|
70
192
|
}
|
|
193
|
+
render() {
|
|
194
|
+
switch (this.type) {
|
|
195
|
+
case "hug": {
|
|
196
|
+
return this.renderHug();
|
|
197
|
+
}
|
|
198
|
+
case "rich": {
|
|
199
|
+
return this.renderRich();
|
|
200
|
+
}
|
|
201
|
+
case "regular":
|
|
202
|
+
default: {
|
|
203
|
+
return this.renderRegular();
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
updated() {
|
|
208
|
+
let dividerHeight = 40;
|
|
209
|
+
if (this.type === "hug") {
|
|
210
|
+
dividerHeight = 32;
|
|
211
|
+
}
|
|
212
|
+
if (this.type === "rich") {
|
|
213
|
+
dividerHeight = 64;
|
|
214
|
+
}
|
|
215
|
+
this.style.setProperty(
|
|
216
|
+
"--integration-button-divider-height",
|
|
217
|
+
`${dividerHeight}px`
|
|
218
|
+
);
|
|
219
|
+
}
|
|
71
220
|
};
|
|
72
221
|
ObcIntegrationButton.styles = unsafeCSS(compentStyle);
|
|
73
222
|
__decorateClass([
|
|
@@ -79,22 +228,39 @@ __decorateClass([
|
|
|
79
228
|
__decorateClass([
|
|
80
229
|
property({ type: Boolean })
|
|
81
230
|
], ObcIntegrationButton.prototype, "hasLeadingIcon", 2);
|
|
231
|
+
__decorateClass([
|
|
232
|
+
property({ type: Boolean })
|
|
233
|
+
], ObcIntegrationButton.prototype, "hasStatus", 2);
|
|
82
234
|
__decorateClass([
|
|
83
235
|
property({ type: Array, attribute: false })
|
|
84
236
|
], ObcIntegrationButton.prototype, "readouts", 2);
|
|
85
237
|
__decorateClass([
|
|
86
238
|
property({ type: Boolean })
|
|
87
239
|
], ObcIntegrationButton.prototype, "disabled", 2);
|
|
240
|
+
__decorateClass([
|
|
241
|
+
property({ type: Boolean })
|
|
242
|
+
], ObcIntegrationButton.prototype, "activated", 2);
|
|
88
243
|
__decorateClass([
|
|
89
244
|
property({ type: Boolean })
|
|
90
245
|
], ObcIntegrationButton.prototype, "selected", 2);
|
|
91
246
|
__decorateClass([
|
|
92
247
|
property({ type: Boolean })
|
|
93
248
|
], ObcIntegrationButton.prototype, "dividerBottom", 2);
|
|
249
|
+
__decorateClass([
|
|
250
|
+
property({ type: Boolean })
|
|
251
|
+
], ObcIntegrationButton.prototype, "dividerRight", 2);
|
|
252
|
+
__decorateClass([
|
|
253
|
+
property({ type: String })
|
|
254
|
+
], ObcIntegrationButton.prototype, "variant", 2);
|
|
255
|
+
__decorateClass([
|
|
256
|
+
property({ type: String })
|
|
257
|
+
], ObcIntegrationButton.prototype, "type", 2);
|
|
94
258
|
ObcIntegrationButton = __decorateClass([
|
|
95
259
|
customElement("obc-integration-button")
|
|
96
260
|
], ObcIntegrationButton);
|
|
97
261
|
export {
|
|
262
|
+
IntegrationButtonType,
|
|
263
|
+
IntegrationButtonVariant,
|
|
98
264
|
ObcIntegrationButton
|
|
99
265
|
};
|
|
100
266
|
//# sourceMappingURL=integration-button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration-button.js","sources":["../../../src/integration-systems/integration-button/integration-button.ts"],"sourcesContent":["import {LitElement, html, nothing, unsafeCSS} from 'lit';\nimport {customElement} from '../../decorator.js';\nimport compentStyle from './integration-button.css?inline';\nimport {property} from 'lit/decorators.js';\nimport {classMap} from 'lit/directives/class-map.js';\n\nexport interface IntegrationButtonReadout {\n label: string;\n value: string;\n unit: string;\n}\n\n/**\n * `<obc-integration-button>` – A button component for integration systems.\n *\n * @slot leading-icon - Icon before label (shown when `hasLeadingIcon` is true)\n * @slot trailing-icon - Icon after label (shown when `hasTrailingIcon` is true)\n * @slot trailing-icon2 - Icon after label (shown when `hasTrailingIcon2` is true)\n * @slot label - Label text\n * @slot status - Status text\n * @slot info-label - Info label text\n * @slot info-status - Info status text\n */\n@customElement('obc-integration-button')\nexport class ObcIntegrationButton extends LitElement {\n @property({type: Boolean}) hasTrailingIcon = false;\n @property({type: Boolean}) hasTrailingIcon2 = false;\n @property({type: Boolean}) hasLeadingIcon = false;\n @property({type: Array, attribute: false})\n readouts: IntegrationButtonReadout[] = [];\n @property({type: Boolean}) disabled = false;\n @property({type: Boolean}) selected = false;\n @property({type: Boolean}) dividerBottom = false;\n\n override render() {\n return html`\n <button\n class=${classMap({\n wrapper: true,\n selected: this.selected,\n })}\n ?disabled=${this.disabled}\n >\n <div class=\"main-container\">\n ${this.hasLeadingIcon\n ? html`<div class=\"icon leading\">\n <slot name=\"leading-icon\"></slot>\n </div>`\n : nothing}\n <div class=\"text-container\">\n <div class=\"label\"><slot name=\"label\"></slot></div>\n <div class=\"status\"><slot name=\"status\"></slot></div>\n </div>\n ${this.hasTrailingIcon\n ? html`<div class=\"icon-container\">\n ${this.hasTrailingIcon2\n ? html`<slot\n name=\"trailing-icon2\"\n class=\"icon trailing\"\n ></slot>`\n : nothing}\n <slot name=\"trailing-icon\" class=\"icon trailing\"></slot>\n </div>`\n : nothing}\n </div>\n <div class=\"info-container\">\n <div class=\"info-item\">\n <slot class=\"info-label\" name=\"info-label\"></slot>\n <slot class=\"info-status\" name=\"info-status\"></slot>\n </div>\n ${this.readouts.map(\n (readout) => html`\n <div class=\"info-readout-item\">\n <div class=\"info-item-label\">${readout.label}</div>\n <div class=\"info-item-value\">${readout.value}</div>\n <div class=\"info-item-unit\">${readout.unit}</div>\n </div>\n `\n )}\n </div>\n </button>\n ${this.dividerBottom ? html`<div class=\"divider-bottom\"></div>` : nothing}\n `;\n }\n\n static override styles = unsafeCSS(compentStyle);\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-integration-button': ObcIntegrationButton;\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAwBO,IAAM,uBAAN,cAAmC,WAAW;AAAA,EAA9C,cAAA;AAAA,UAAA,GAAA,SAAA;AACsB,SAAA,kBAAkB;AAClB,SAAA,mBAAmB;AACnB,SAAA,iBAAiB;AAE5C,SAAA,WAAuC,CAAA;AACZ,SAAA,WAAW;AACX,SAAA,WAAW;AACX,SAAA,gBAAgB;AAAA,EAAA;AAAA,EAElC,SAAS;AAChB,WAAO;AAAA;AAAA,gBAEK,SAAS;AAAA,MACf,SAAS;AAAA,MACT,UAAU,KAAK;AAAA,IAAA,CAChB,CAAC;AAAA,oBACU,KAAK,QAAQ;AAAA;AAAA;AAAA,YAGrB,KAAK,iBACH;AAAA;AAAA,wBAGA,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA,YAKT,KAAK,kBACH;AAAA,kBACI,KAAK,mBACH;AAAA;AAAA;AAAA,gCAIA,OAAO;AAAA;AAAA,wBAGb,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAOT,KAAK,SAAS;AAAA,MACd,CAAC,YAAY;AAAA;AAAA,+CAEsB,QAAQ,KAAK;AAAA,+CACb,QAAQ,KAAK;AAAA,8CACd,QAAQ,IAAI;AAAA;AAAA;AAAA,IAAA,CAG/C;AAAA;AAAA;AAAA,QAGH,KAAK,gBAAgB,2CAA2C,OAAO;AAAA;AAAA,EAE7E;AAGF;AA9Da,qBA6DK,SAAS,UAAU,YAAY;AA5DpB,gBAAA;AAAA,EAA1B,SAAS,EAAC,MAAM,QAAA,CAAQ;AAAA,GADd,qBACgB,WAAA,mBAAA,CAAA;AACA,gBAAA;AAAA,EAA1B,SAAS,EAAC,MAAM,QAAA,CAAQ;AAAA,GAFd,qBAEgB,WAAA,oBAAA,CAAA;AACA,gBAAA;AAAA,EAA1B,SAAS,EAAC,MAAM,QAAA,CAAQ;AAAA,GAHd,qBAGgB,WAAA,kBAAA,CAAA;AAE3B,gBAAA;AAAA,EADC,SAAS,EAAC,MAAM,OAAO,WAAW,OAAM;AAAA,GAJ9B,qBAKX,WAAA,YAAA,CAAA;AAC2B,gBAAA;AAAA,EAA1B,SAAS,EAAC,MAAM,QAAA,CAAQ;AAAA,GANd,qBAMgB,WAAA,YAAA,CAAA;AACA,gBAAA;AAAA,EAA1B,SAAS,EAAC,MAAM,QAAA,CAAQ;AAAA,GAPd,qBAOgB,WAAA,YAAA,CAAA;AACA,gBAAA;AAAA,EAA1B,SAAS,EAAC,MAAM,QAAA,CAAQ;AAAA,GARd,qBAQgB,WAAA,iBAAA,CAAA;AARhB,uBAAN,gBAAA;AAAA,EADN,cAAc,wBAAwB;AAAA,GAC1B,oBAAA;"}
|
|
1
|
+
{"version":3,"file":"integration-button.js","sources":["../../../src/integration-systems/integration-button/integration-button.ts"],"sourcesContent":["import {LitElement, html, nothing, unsafeCSS} from 'lit';\nimport {customElement} from '../../decorator.js';\nimport compentStyle from './integration-button.css?inline';\nimport {property} from 'lit/decorators.js';\nimport {classMap} from 'lit/directives/class-map.js';\n\nexport interface IntegrationButtonReadout {\n label: string;\n value: string;\n unit: string;\n}\n\nexport enum IntegrationButtonVariant {\n normal = 'normal',\n flat = 'flat',\n}\n\nexport enum IntegrationButtonType {\n hug = 'hug',\n regular = 'regular',\n rich = 'rich',\n}\n\n/**\n * `<obc-integration-button>` – A button component for integration systems.\n *\n * @slot leading-icon - Icon before label (shown when `hasLeadingIcon` is true)\n * @slot trailing-icon - Icon after label (shown when `hasTrailingIcon` is true)\n * @slot trailing-icon2 - Icon after label (shown when `hasTrailingIcon2` is true)\n * @slot label - Label text\n * @slot status - Status/description text (shown when `hasStatus` is true)\n * @slot info-label - Info label text\n * @slot info-status - Info status text\n * @slot integration-vessel-menu - Integration vessel menu to be shown when button is in activated state\n *\n * @fires click - Fired when the internal button is activated.\n *\n * @property {boolean} hasTrailingIcon - Shows the `trailing-icon` slot.\n * @property {boolean} hasTrailingIcon2 - Shows the `trailing-icon2` slot.\n * @property {boolean} hasLeadingIcon - Shows the `leading-icon` slot.\n * @property {boolean} hasstatus - Shows the `status` slot.\n * @property {IntegrationButtonReadout[]} readouts - List of readout items shown in the rich type.\n * @property {boolean} disabled - Disables the internal button.\n * @property {boolean} activated - Applies active state styling while a selection is pending.\n * @property {boolean} selected - Applies selected state styling.\n * @property {boolean} dividerBottom - Shows a bottom divider under the button.\n * @property {boolean} dividerRight - Shows a right divider to separate from adjacent buttons.\n * @property {IntegrationButtonVariant} variant - Visual variant (`normal` or `flat`).\n * @property {IntegrationButtonType} type - Layout type (`hug`, `regular`, or `rich`).\n */\n@customElement('obc-integration-button')\nexport class ObcIntegrationButton extends LitElement {\n @property({type: Boolean}) hasTrailingIcon = false;\n @property({type: Boolean}) hasTrailingIcon2 = false;\n @property({type: Boolean}) hasLeadingIcon = false;\n @property({type: Boolean}) hasStatus = false;\n @property({type: Array, attribute: false})\n readouts: IntegrationButtonReadout[] = [];\n @property({type: Boolean}) disabled = false;\n @property({type: Boolean}) activated = false;\n @property({type: Boolean}) selected = false;\n @property({type: Boolean}) dividerBottom = false;\n @property({type: Boolean}) dividerRight = false;\n @property({type: String}) variant: IntegrationButtonVariant =\n IntegrationButtonVariant.normal;\n @property({type: String}) type: IntegrationButtonType =\n IntegrationButtonType.regular;\n\n private getButtonClasses() {\n return {\n 'touch-target': true,\n selected: this.selected,\n activated: this.activated,\n disabled: this.disabled,\n 'has-description': this.hasStatus,\n ['variant-' + this.variant]: true,\n ['type-' + this.type]: true,\n };\n }\n\n private onIntegrationVesselMenuClick(event: Event) {\n event.stopPropagation();\n }\n\n renderRich() {\n return html`\n <div class=\"button-horizontal-divider-container\">\n <div class=\"button-vertical-divider-container\">\n <button\n class=${classMap(this.getButtonClasses())}\n ?disabled=${this.disabled}\n >\n <div class=\"content-container\">\n <div class=\"main-container\">\n ${this.hasLeadingIcon\n ? html`<div class=\"icon leading\">\n <slot name=\"leading-icon\"></slot>\n </div>`\n : nothing}\n <div class=\"text-container\">\n <div class=\"label\"><slot name=\"label\"></slot></div>\n ${this.hasStatus\n ? html`<div class=\"status\">\n <slot name=\"status\"></slot>\n </div>`\n : nothing}\n </div>\n ${this.hasTrailingIcon\n ? html`<div class=\"icon-container\">\n ${this.hasTrailingIcon2\n ? html`<slot\n name=\"trailing-icon2\"\n class=\"icon trailing\"\n ></slot>`\n : nothing}\n <slot name=\"trailing-icon\" class=\"icon trailing\"></slot>\n </div>`\n : nothing}\n </div>\n <div class=\"info-container\">\n <div class=\"info-item\">\n <slot class=\"info-label\" name=\"info-label\"></slot>\n <slot class=\"info-status\" name=\"info-status\"></slot>\n </div>\n ${this.readouts.map(\n (readout) => html`\n <div class=\"info-readout-item\">\n <div class=\"info-item-label\">${readout.label}</div>\n <div class=\"info-item-value\">${readout.value}</div>\n <div class=\"info-item-unit\">${readout.unit}</div>\n </div>\n `\n )}\n </div>\n </div>\n </button>\n ${this.dividerRight\n ? html`<div class=\"divider-right\"></div>`\n : html`<div\n class=\"divider-right\"\n style=\"visibility: hidden;\"\n ></div>`}\n </div>\n ${this.dividerBottom\n ? html`<div class=\"divider-bottom\"></div>`\n : nothing}\n </div>\n <div\n class=${classMap({\n 'integration-vessel-menu-container': true,\n show: this.activated,\n })}\n @click=${this.onIntegrationVesselMenuClick}\n >\n <slot name=\"integration-vessel-menu\"></slot>\n </div>\n `;\n }\n\n renderRegular() {\n return html`\n <div class=\"button-vertical-divider-container\">\n <button\n class=${classMap(this.getButtonClasses())}\n ?disabled=${this.disabled}\n >\n <div class=\"content-container\">\n ${this.hasLeadingIcon\n ? html`<div class=\"icon leading\">\n <slot name=\"leading-icon\"></slot>\n </div>`\n : nothing}\n <div class=\"text-container\">\n <div class=\"label\"><slot name=\"label\"></slot></div>\n ${this.hasStatus\n ? html`<div class=\"status\"><slot name=\"status\"></slot></div>`\n : nothing}\n </div>\n ${this.hasTrailingIcon\n ? html`<div class=\"icon-container\">\n ${this.hasTrailingIcon2\n ? html`<slot\n name=\"trailing-icon2\"\n class=\"icon trailing\"\n ></slot>`\n : nothing}\n <slot name=\"trailing-icon\" class=\"icon trailing\"></slot>\n </div>`\n : nothing}\n </div>\n </button>\n ${this.dividerRight\n ? html`<div class=\"divider-right\"></div>`\n : html`<div class=\"divider-right\" style=\"visibility: hidden;\"></div>`}\n </div>\n <div\n class=${classMap({\n 'integration-vessel-menu-container': true,\n show: this.activated,\n })}\n @click=${this.onIntegrationVesselMenuClick}\n >\n <slot name=\"integration-vessel-menu\"></slot>\n </div>\n `;\n }\n\n renderHug() {\n return html`\n <div class=\"button-vertical-divider-container\">\n <button\n class=${classMap(this.getButtonClasses())}\n ?disabled=${this.disabled}\n >\n <div class=\"content-container\">\n ${this.hasLeadingIcon\n ? html`<div class=\"icon leading\">\n <slot name=\"leading-icon\"></slot>\n </div>`\n : nothing}\n <div class=\"text-container\">\n <div class=\"label\"><slot name=\"label\"></slot></div>\n ${this.hasStatus\n ? html`<div class=\"status\"><slot name=\"status\"></slot></div>`\n : nothing}\n </div>\n ${this.hasTrailingIcon\n ? html`<div class=\"icon-container\">\n ${this.hasTrailingIcon2\n ? html`<slot\n name=\"trailing-icon2\"\n class=\"icon trailing\"\n ></slot>`\n : nothing}\n <slot name=\"trailing-icon\" class=\"icon trailing\"></slot>\n </div>`\n : nothing}\n </div>\n </button>\n ${this.dividerRight\n ? html`<div class=\"divider-right\"></div>`\n : html`<div class=\"divider-right\" style=\"visibility: hidden;\"></div>`}\n </div>\n <div\n class=${classMap({\n 'integration-vessel-menu-container': true,\n show: this.activated,\n })}\n @click=${this.onIntegrationVesselMenuClick}\n >\n <slot name=\"integration-vessel-menu\"></slot>\n </div>\n `;\n }\n\n override render() {\n switch (this.type) {\n case IntegrationButtonType.hug: {\n return this.renderHug();\n }\n case IntegrationButtonType.rich: {\n return this.renderRich();\n }\n case IntegrationButtonType.regular:\n default: {\n return this.renderRegular();\n }\n }\n }\n\n static override styles = unsafeCSS(compentStyle);\n\n override updated() {\n let dividerHeight = 40;\n if (this.type === IntegrationButtonType.hug) {\n dividerHeight = 32;\n }\n if (this.type === IntegrationButtonType.rich) {\n dividerHeight = 64;\n }\n this.style.setProperty(\n '--integration-button-divider-height',\n `${dividerHeight}px`\n );\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'obc-integration-button': ObcIntegrationButton;\n }\n}\n"],"names":["IntegrationButtonVariant","IntegrationButtonType"],"mappings":"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"}
|
package/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.css.js
CHANGED
|
@@ -16,7 +16,8 @@ const compentStyle = css`
|
|
|
16
16
|
display: flex;
|
|
17
17
|
align-items: center;
|
|
18
18
|
justify-content: center;
|
|
19
|
-
font-family: var(--font-family
|
|
19
|
+
font-family: var(--global-typography-font-family);
|
|
20
|
+
font-weight: var(--global-typography-ui-body-font-weight);
|
|
20
21
|
font-size: var(--global-typography-ui-body-font-size);
|
|
21
22
|
line-height: var(--global-typography-ui-body-line-height);
|
|
22
23
|
font-feature-settings:
|
|
@@ -177,7 +178,7 @@ const compentStyle = css`
|
|
|
177
178
|
border-radius: 12px;
|
|
178
179
|
background: var(--integration-container-global-color);
|
|
179
180
|
box-shadow: var(--shadow-floating);
|
|
180
|
-
padding: 4px;
|
|
181
|
+
padding: 4px 0;
|
|
181
182
|
|
|
182
183
|
overflow-y: auto;
|
|
183
184
|
}
|
|
@@ -190,6 +191,7 @@ const compentStyle = css`
|
|
|
190
191
|
min-height: var(
|
|
191
192
|
--menu-navigation-components-navigation-item-touch-target-size
|
|
192
193
|
);
|
|
194
|
+
margin: 0 4px;
|
|
193
195
|
padding: 0px
|
|
194
196
|
var(--menu-navigation-components-navigation-item-padding-horizontal);
|
|
195
197
|
border-radius: var(
|
|
@@ -254,7 +256,8 @@ const compentStyle = css`
|
|
|
254
256
|
}
|
|
255
257
|
|
|
256
258
|
.wrapper option:not(.fleet-option) {
|
|
257
|
-
font-family: var(--font-family
|
|
259
|
+
font-family: var(--global-typography-font-family);
|
|
260
|
+
font-weight: var(--global-typography-ui-body-font-weight);
|
|
258
261
|
font-size: var(--global-typography-ui-body-font-size);
|
|
259
262
|
line-height: var(--global-typography-ui-body-line-height);
|
|
260
263
|
font-feature-settings:
|
|
@@ -285,7 +288,8 @@ const compentStyle = css`
|
|
|
285
288
|
}
|
|
286
289
|
|
|
287
290
|
:is(.wrapper option:not(.fleet-option)) .status {
|
|
288
|
-
font-family: var(--font-family
|
|
291
|
+
font-family: var(--global-typography-font-family);
|
|
292
|
+
font-weight: var(--global-typography-ui-label-font-weight);
|
|
289
293
|
font-size: var(--global-typography-ui-label-font-size);
|
|
290
294
|
line-height: var(--global-typography-ui-label-line-height);
|
|
291
295
|
font-feature-settings:
|
|
@@ -365,7 +369,8 @@ const compentStyle = css`
|
|
|
365
369
|
|
|
366
370
|
:is(.wrapper option:not(.fleet-option)):checked {
|
|
367
371
|
color: var(--integration-on-selected-active-color);
|
|
368
|
-
font-family: var(--font-family
|
|
372
|
+
font-family: var(--global-typography-font-family);
|
|
373
|
+
font-weight: var(--global-typography-ui-body-active-font-weight);
|
|
369
374
|
font-size: var(--global-typography-ui-body-active-font-size);
|
|
370
375
|
line-height: var(--global-typography-ui-body-active-line-height);
|
|
371
376
|
font-feature-settings:
|
|
@@ -384,7 +389,8 @@ const compentStyle = css`
|
|
|
384
389
|
|
|
385
390
|
:is(.wrapper option:not(.fleet-option)):checked .status {
|
|
386
391
|
/* Keep status typography, but swap to the selected neutral color. */
|
|
387
|
-
font-family: var(--font-family
|
|
392
|
+
font-family: var(--global-typography-font-family);
|
|
393
|
+
font-weight: var(--global-typography-ui-label-font-weight);
|
|
388
394
|
font-size: var(--global-typography-ui-label-font-size);
|
|
389
395
|
line-height: var(--global-typography-ui-label-line-height);
|
|
390
396
|
font-feature-settings:
|
|
@@ -410,6 +416,11 @@ const compentStyle = css`
|
|
|
410
416
|
display: none;
|
|
411
417
|
}
|
|
412
418
|
|
|
419
|
+
slot[name="fleet"] {
|
|
420
|
+
display: flex;
|
|
421
|
+
flex: 1;
|
|
422
|
+
}
|
|
423
|
+
|
|
413
424
|
.wrapper option.fleet-option {
|
|
414
425
|
display: flex;
|
|
415
426
|
align-items: center;
|
package/dist/integration-systems/integration-dropdown-button/integration-dropdown-button.css.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration-dropdown-button.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"integration-dropdown-button.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -156,7 +156,8 @@ const compentStyle = css`
|
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
:is(.wrapper .header) .fleet-name {
|
|
159
|
-
font-family: var(--font-family
|
|
159
|
+
font-family: var(--global-typography-font-family);
|
|
160
|
+
font-weight: var(--global-typography-ui-button-font-weight);
|
|
160
161
|
font-size: var(--global-typography-ui-button-font-size);
|
|
161
162
|
line-height: var(--global-typography-ui-button-line-height);
|
|
162
163
|
font-feature-settings:
|
|
@@ -166,7 +167,8 @@ const compentStyle = css`
|
|
|
166
167
|
}
|
|
167
168
|
|
|
168
169
|
:is(.wrapper .header) .status {
|
|
169
|
-
font-family: var(--font-family
|
|
170
|
+
font-family: var(--global-typography-font-family);
|
|
171
|
+
font-weight: var(--global-typography-ui-label-font-weight);
|
|
170
172
|
font-size: var(--global-typography-ui-label-font-size);
|
|
171
173
|
line-height: var(--global-typography-ui-label-line-height);
|
|
172
174
|
font-feature-settings:
|
|
@@ -249,7 +251,8 @@ const compentStyle = css`
|
|
|
249
251
|
|
|
250
252
|
:is(:is(:is(.wrapper .content) .readouts) .readout) .readout-label {
|
|
251
253
|
grid-area: label;
|
|
252
|
-
font-family: var(--font-family
|
|
254
|
+
font-family: var(--global-typography-font-family);
|
|
255
|
+
font-weight: var(--global-typography-ui-label-font-weight);
|
|
253
256
|
font-size: var(--global-typography-ui-label-font-size);
|
|
254
257
|
line-height: var(--global-typography-ui-label-line-height);
|
|
255
258
|
font-feature-settings:
|
|
@@ -291,7 +294,8 @@ const compentStyle = css`
|
|
|
291
294
|
}
|
|
292
295
|
|
|
293
296
|
:is(:is(.wrapper .content) .alerts) .alert-topic {
|
|
294
|
-
font-family: var(--font-family
|
|
297
|
+
font-family: var(--global-typography-font-family);
|
|
298
|
+
font-weight: var(--global-typography-ui-body-font-weight);
|
|
295
299
|
font-size: var(--global-typography-ui-body-font-size);
|
|
296
300
|
line-height: var(--global-typography-ui-body-line-height);
|
|
297
301
|
font-feature-settings:
|
|
@@ -304,7 +308,8 @@ const compentStyle = css`
|
|
|
304
308
|
}
|
|
305
309
|
|
|
306
310
|
.no-alert:is(:is(.wrapper .content) .alerts) .alert-counts {
|
|
307
|
-
font-family: var(--font-family
|
|
311
|
+
font-family: var(--global-typography-font-family);
|
|
312
|
+
font-weight: var(--global-typography-ui-label-font-weight);
|
|
308
313
|
font-size: var(--global-typography-ui-label-font-size);
|
|
309
314
|
line-height: var(--global-typography-ui-label-line-height);
|
|
310
315
|
font-feature-settings:
|
|
@@ -320,7 +325,8 @@ const compentStyle = css`
|
|
|
320
325
|
}
|
|
321
326
|
|
|
322
327
|
.has-alert:is(:is(.wrapper .content) .alerts) .alert-topic {
|
|
323
|
-
font-family: var(--font-family
|
|
328
|
+
font-family: var(--global-typography-font-family);
|
|
329
|
+
font-weight: var(--global-typography-ui-body-active-font-weight);
|
|
324
330
|
font-size: var(--global-typography-ui-body-active-font-size);
|
|
325
331
|
line-height: var(--global-typography-ui-body-active-line-height);
|
|
326
332
|
font-feature-settings:
|
package/dist/integration-systems/integration-fleet-button/integration-fleet-button.css.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration-fleet-button.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"integration-fleet-button.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -19,7 +19,9 @@ const compentStyle = css`
|
|
|
19
19
|
align-items: center;
|
|
20
20
|
justify-content: center;
|
|
21
21
|
|
|
22
|
-
font-family: var(--font-family
|
|
22
|
+
font-family: var(--global-typography-font-family);
|
|
23
|
+
|
|
24
|
+
font-weight: var(--global-typography-ui-button-font-weight);
|
|
23
25
|
|
|
24
26
|
font-size: var(--global-typography-ui-button-font-size);
|
|
25
27
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration-tabs.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"integration-tabs.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
const componentStyle = css`
|
|
3
|
+
* {
|
|
4
|
+
-webkit-tap-highlight-color: transparent;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
* {
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.wrapper {
|
|
12
|
+
border-color: var(--integration-normal-enabled-border-color);
|
|
13
|
+
background-color: var(--integration-normal-enabled-background-color);
|
|
14
|
+
border-width: 1px;
|
|
15
|
+
border-style: solid;
|
|
16
|
+
--base-border-color: var(--integration-normal-enabled-border-color);
|
|
17
|
+
--base-background-color: var(--integration-normal-enabled-background-color);
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
height: 100%;
|
|
21
|
+
min-width: 788px;
|
|
22
|
+
align-items: center;
|
|
23
|
+
background: var(--container-global-color);
|
|
24
|
+
border-radius: var(
|
|
25
|
+
--app-components-integration-system-dropdown-menu-border-radius
|
|
26
|
+
);
|
|
27
|
+
border: 2px solid var(--integration-border-menu-outline-color);
|
|
28
|
+
box-shadow: var(--shadow-floating-x) var(--shadow-floating-y)
|
|
29
|
+
var(--shadow-floating-blur) var(--shadow-raised-spread)
|
|
30
|
+
var(--shadow-floating-color);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.footer-container {
|
|
34
|
+
width: 100%;
|
|
35
|
+
display: flex;
|
|
36
|
+
height: var(
|
|
37
|
+
--app-components-integration-system-dropdown-menu-action-container-height
|
|
38
|
+
);
|
|
39
|
+
padding: 0
|
|
40
|
+
var(--app-components-integration-system-dropdown-menu-padding-horizontal);
|
|
41
|
+
gap: var(--app-components-alert-menu-button-spacing);
|
|
42
|
+
border-top: 1px solid var(--border-divider-color);
|
|
43
|
+
background: var(--container-global-color);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.footer-container obc-button {
|
|
47
|
+
flex-grow: 1;
|
|
48
|
+
white-space: nowrap;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.content-container {
|
|
52
|
+
display: flex;
|
|
53
|
+
justify-content: center;
|
|
54
|
+
align-items: stretch;
|
|
55
|
+
align-self: stretch;
|
|
56
|
+
min-height: 0;
|
|
57
|
+
flex: 1;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.alert-list {
|
|
61
|
+
width: 100%;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.leading-icon {
|
|
65
|
+
color: var(--integration-on-normal-neutral-color);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.container-title {
|
|
69
|
+
color: var(--integration-on-normal-neutral-color);
|
|
70
|
+
}
|
|
71
|
+
`;
|
|
72
|
+
export {
|
|
73
|
+
componentStyle as default
|
|
74
|
+
};
|
|
75
|
+
//# sourceMappingURL=integration-vessel-menu.css.js.map
|