@oicl/openbridge-webcomponents-svelte 2.0.0-next.49 → 2.0.0-next.50

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.
@@ -1,7 +1,7 @@
1
1
 
2
2
  <script lang="ts">
3
3
  export type {LineMedium} from '@oicl/openbridge-webcomponents/dist/automation/index.js';
4
- export type {TankTrend, TankType, TankOrientation, TankPositioning, TankChartMode} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
4
+ export type {TankTrend, TankType, TankOrientation, TankPositioning, TankChartMode, TankReadoutItem} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
5
5
  export type {ChartLineDataItem} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
6
6
  export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
7
7
  export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
@@ -10,7 +10,7 @@ export type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, Automatio
10
10
  import '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
11
11
  import { setProperties } from "../../util.js";
12
12
  import type {LineMedium} from '@oicl/openbridge-webcomponents/dist/automation/index.js';
13
- import type {TankTrend, TankType, TankOrientation, TankPositioning, TankChartMode} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
13
+ import type {TankTrend, TankType, TankOrientation, TankPositioning, TankChartMode, TankReadoutItem} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
14
14
  import type {ChartLineDataItem} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
15
15
  import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
16
16
  import type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
@@ -104,6 +104,18 @@ rather than percent, so this property has no effect there — pass a
104
104
  pre-formatted value through the `max-value` slot if fractional
105
105
  precision is needed (see the `WithFractionDigits` story). */
106
106
  percentFractionDigits?: number;
107
+ /** Rich detail rows shown below the main percent/value block in the regular
108
+ (non-compact, non-static) layout, separated by a divider. When empty (the
109
+ default), nothing is rendered — neither the divider nor the list. In
110
+ vertical orientation the chart cell shrinks to make room; in horizontal
111
+ orientation the readout column already has reserved whitespace so the
112
+ chart is unaffected.
113
+
114
+ Values are formatted using `percentFractionDigits`. Consumers that need
115
+ full control over the markup can replace the entire fallback by slotting
116
+ arbitrary content into `slot="rich"` (note: this is a different name from
117
+ the existing `slot="readout"` which replaces the whole readout block). */
118
+ readout?: TankReadoutItem[];
107
119
  /** Enum-driven badges rendered inside the `badges` cell. Mirrors the API
108
120
  introduced for `ObcAbstractAutomationButton` in PR #839 (#829). When set
109
121
  to a non-`None` value, an `<obc-automation-badge>` of the corresponding
@@ -1,6 +1,6 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
2
2
  import type { LineMedium } from '@oicl/openbridge-webcomponents/dist/automation/index.js';
3
- import type { TankTrend, TankType, TankOrientation, TankPositioning, TankChartMode } from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
3
+ import type { TankTrend, TankType, TankOrientation, TankPositioning, TankChartMode, TankReadoutItem } from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
4
4
  import type { ChartLineDataItem } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
5
5
  import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
6
6
  import type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
@@ -93,6 +93,18 @@ rather than percent, so this property has no effect there — pass a
93
93
  pre-formatted value through the `max-value` slot if fractional
94
94
  precision is needed (see the `WithFractionDigits` story). */
95
95
  percentFractionDigits?: number;
96
+ /** Rich detail rows shown below the main percent/value block in the regular
97
+ (non-compact, non-static) layout, separated by a divider. When empty (the
98
+ default), nothing is rendered — neither the divider nor the list. In
99
+ vertical orientation the chart cell shrinks to make room; in horizontal
100
+ orientation the readout column already has reserved whitespace so the
101
+ chart is unaffected.
102
+
103
+ Values are formatted using `percentFractionDigits`. Consumers that need
104
+ full control over the markup can replace the entire fallback by slotting
105
+ arbitrary content into `slot="rich"` (note: this is a different name from
106
+ the existing `slot="readout"` which replaces the whole readout block). */
107
+ readout?: TankReadoutItem[];
96
108
  /** Enum-driven badges rendered inside the `badges` cell. Mirrors the API
97
109
  introduced for `ObcAbstractAutomationButton` in PR #839 (#829). When set
98
110
  to a non-`None` value, an `<obc-automation-badge>` of the corresponding
@@ -121,6 +133,7 @@ declare const ObcAutomationTank: import("svelte").Component<$$ComponentProps, {
121
133
  TankOrientation: typeof TankOrientation;
122
134
  TankPositioning: typeof TankPositioning;
123
135
  TankChartMode: typeof TankChartMode;
136
+ TankReadoutItem: typeof TankReadoutItem;
124
137
  ChartLineDataItem: typeof ChartLineDataItem;
125
138
  Priority: typeof Priority;
126
139
  LinearAdvice: typeof LinearAdvice;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oicl/openbridge-webcomponents-svelte",
3
- "version": "2.0.0-next.49",
3
+ "version": "2.0.0-next.50",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "dependencies": {
34
- "@oicl/openbridge-webcomponents": "^2.0.0-next.48"
34
+ "@oicl/openbridge-webcomponents": "^2.0.0-next.49"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "svelte": "^5.0.0"