@oicl/openbridge-webcomponents-svelte 2.0.0-next.130 → 2.0.0-next.131

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,9 +1,11 @@
1
1
 
2
2
  <script lang="ts">
3
3
  export type {ProgressBarType, ProgressBarMode, CircularProgressState} from '@oicl/openbridge-webcomponents/dist/components/progress-bar/progress-bar.js';
4
+ export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
4
5
  import '@oicl/openbridge-webcomponents/dist/components/progress-bar/progress-bar.js';
5
6
  import { setProperties } from "../../util.js";
6
7
  import type {ProgressBarType, ProgressBarMode, CircularProgressState} from '@oicl/openbridge-webcomponents/dist/components/progress-bar/progress-bar.js';
8
+ import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
7
9
  import type { Snippet } from 'svelte';
8
10
 
9
11
  export interface Props {
@@ -16,6 +18,8 @@ mode?: ProgressBarMode;
16
18
  /** Circular display state: `determinate` (numeric ring), `indeterminate` (animated ring with
17
19
  icon), or `icon` (ring framing the icon slot). */
18
20
  circularState?: CircularProgressState;
21
+ /** Color emphasis of the bar fill: `regular` (gray) or `enhanced` (blue). */
22
+ priority?: Priority;
19
23
  /** Progress percentage (0–100); clamped when rendered. */
20
24
  value?: number;
21
25
  /** Shows the value label above the bar (percentage when determinate, "Loading" when indeterminate). */
@@ -1,5 +1,6 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/components/progress-bar/progress-bar.js';
2
2
  import type { ProgressBarType, ProgressBarMode, CircularProgressState } from '@oicl/openbridge-webcomponents/dist/components/progress-bar/progress-bar.js';
3
+ import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
3
4
  import type { Snippet } from 'svelte';
4
5
  export interface Props {
5
6
  class?: string;
@@ -11,6 +12,8 @@ export interface Props {
11
12
  /** Circular display state: `determinate` (numeric ring), `indeterminate` (animated ring with
12
13
  icon), or `icon` (ring framing the icon slot). */
13
14
  circularState?: CircularProgressState;
15
+ /** Color emphasis of the bar fill: `regular` (gray) or `enhanced` (blue). */
16
+ priority?: Priority;
14
17
  /** Progress percentage (0–100); clamped when rendered. */
15
18
  value?: number;
16
19
  /** Shows the value label above the bar (percentage when determinate, "Loading" when indeterminate). */
@@ -42,6 +45,7 @@ declare const ObcProgressBar: import("svelte").Component<$$ComponentProps, {
42
45
  ProgressBarType: typeof ProgressBarType;
43
46
  ProgressBarMode: typeof ProgressBarMode;
44
47
  CircularProgressState: typeof CircularProgressState;
48
+ Priority: typeof Priority;
45
49
  }, "">;
46
50
  type ObcProgressBar = ReturnType<typeof ObcProgressBar>;
47
51
  export default ObcProgressBar;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oicl/openbridge-webcomponents-svelte",
3
- "version": "2.0.0-next.130",
3
+ "version": "2.0.0-next.131",
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.130"
34
+ "@oicl/openbridge-webcomponents": "^2.0.0-next.131"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "svelte": "^5.0.0"