@oicl/openbridge-webcomponents-svelte 2.0.0-next.64 → 2.0.0-next.66
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/dist/components/navigation-item/ObcNavigationItem.svelte +4 -8
- package/dist/components/navigation-item/ObcNavigationItem.svelte.d.ts +4 -7
- package/dist/components/navigation-item-group/ObcNavigationItemGroup.svelte +4 -8
- package/dist/components/navigation-item-group/ObcNavigationItemGroup.svelte.d.ts +4 -7
- package/dist/components/tree-navigation-group/ObcTreeNavigationGroup.svelte +4 -8
- package/dist/components/tree-navigation-group/ObcTreeNavigationGroup.svelte.d.ts +4 -7
- package/dist/components/tree-navigation-item/ObcTreeNavigationItem.svelte +4 -8
- package/dist/components/tree-navigation-item/ObcTreeNavigationItem.svelte.d.ts +4 -7
- package/package.json +2 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {ObcNavigationMenuVariant} from '@oicl/openbridge-webcomponents/dist/components/navigation-menu/navigation-menu.js';
|
|
4
|
-
export type {TreeBranchType} from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
4
|
+
export type {TreeBranchType, TreeNavigationItemAlerts} from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
5
5
|
import '@oicl/openbridge-webcomponents/dist/components/navigation-item/navigation-item.js';
|
|
6
6
|
import { setProperties } from "../../util.js";
|
|
7
7
|
import type {ObcNavigationMenuVariant} from '@oicl/openbridge-webcomponents/dist/components/navigation-menu/navigation-menu.js';
|
|
8
|
-
import type {TreeBranchType} from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
8
|
+
import type {TreeBranchType, TreeNavigationItemAlerts} from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
9
9
|
import type { Snippet } from 'svelte';
|
|
10
10
|
|
|
11
11
|
export interface Props {
|
|
@@ -41,12 +41,8 @@ treeBranches?: TreeBranchType[];
|
|
|
41
41
|
/** Terminal type for the row in the Tree variant — one of `regular` (default),
|
|
42
42
|
`aggregated-header`, or `group-header`. Has no effect in the flat variants. */
|
|
43
43
|
terminalType?: string;
|
|
44
|
-
/**
|
|
45
|
-
|
|
46
|
-
/** The number shown in the alert badge when `hasAlertBadge` is true (Tree variant only). */
|
|
47
|
-
alertCount?: number;
|
|
48
|
-
/** The severity/type of the alert badge — one of the `obc-badge` types (Tree variant only). */
|
|
49
|
-
alertType?: string
|
|
44
|
+
/** [object Object],[object Object],[object Object] */
|
|
45
|
+
alerts?: TreeNavigationItemAlerts | undefined
|
|
50
46
|
}
|
|
51
47
|
export interface Events {
|
|
52
48
|
onClick?: (event: CustomEvent<void>) => void
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/navigation-item/navigation-item.js';
|
|
2
2
|
import type { ObcNavigationMenuVariant } from '@oicl/openbridge-webcomponents/dist/components/navigation-menu/navigation-menu.js';
|
|
3
|
-
import type { TreeBranchType } from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
3
|
+
import type { TreeBranchType, TreeNavigationItemAlerts } from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
4
4
|
import type { Snippet } from 'svelte';
|
|
5
5
|
export interface Props {
|
|
6
6
|
class?: string;
|
|
@@ -35,12 +35,8 @@ Only relevant when `group` is true. */
|
|
|
35
35
|
/** Terminal type for the row in the Tree variant — one of `regular` (default),
|
|
36
36
|
`aggregated-header`, or `group-header`. Has no effect in the flat variants. */
|
|
37
37
|
terminalType?: string;
|
|
38
|
-
/**
|
|
39
|
-
|
|
40
|
-
/** The number shown in the alert badge when `hasAlertBadge` is true (Tree variant only). */
|
|
41
|
-
alertCount?: number;
|
|
42
|
-
/** The severity/type of the alert badge — one of the `obc-badge` types (Tree variant only). */
|
|
43
|
-
alertType?: string;
|
|
38
|
+
/** [object Object],[object Object],[object Object] */
|
|
39
|
+
alerts?: TreeNavigationItemAlerts | undefined;
|
|
44
40
|
}
|
|
45
41
|
export interface Events {
|
|
46
42
|
onClick?: (event: CustomEvent<void>) => void;
|
|
@@ -53,6 +49,7 @@ type $$ComponentProps = Props & Events & Slots;
|
|
|
53
49
|
declare const ObcNavigationItem: import("svelte").Component<$$ComponentProps, {
|
|
54
50
|
ObcNavigationMenuVariant: typeof ObcNavigationMenuVariant;
|
|
55
51
|
TreeBranchType: typeof TreeBranchType;
|
|
52
|
+
TreeNavigationItemAlerts: typeof TreeNavigationItemAlerts;
|
|
56
53
|
}, "">;
|
|
57
54
|
type ObcNavigationItem = ReturnType<typeof ObcNavigationItem>;
|
|
58
55
|
export default ObcNavigationItem;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {ObcNavigationMenuVariant} from '@oicl/openbridge-webcomponents/dist/components/navigation-menu/navigation-menu.js';
|
|
4
|
-
export type {TreeBranchType} from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
4
|
+
export type {TreeBranchType, TreeNavigationItemAlerts} from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
5
5
|
import '@oicl/openbridge-webcomponents/dist/components/navigation-item-group/navigation-item-group.js';
|
|
6
6
|
import { setProperties } from "../../util.js";
|
|
7
7
|
import type {ObcNavigationMenuVariant} from '@oicl/openbridge-webcomponents/dist/components/navigation-menu/navigation-menu.js';
|
|
8
|
-
import type {TreeBranchType} from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
8
|
+
import type {TreeBranchType, TreeNavigationItemAlerts} from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
9
9
|
import type { Snippet } from 'svelte';
|
|
10
10
|
|
|
11
11
|
export interface Props {
|
|
@@ -33,12 +33,8 @@ treeBranches?: TreeBranchType[];
|
|
|
33
33
|
/** Terminal type for the group header in the Tree variant — one of `regular`
|
|
34
34
|
(default), `aggregated-header`, or `group-header`. No effect in flat variants. */
|
|
35
35
|
terminalType?: string;
|
|
36
|
-
/**
|
|
37
|
-
|
|
38
|
-
/** The number shown in the header's alert badge when `hasAlertBadge` is true (Tree variant only). */
|
|
39
|
-
alertCount?: number;
|
|
40
|
-
/** The severity/type of the header's alert badge — one of the `obc-badge` types (Tree variant only). */
|
|
41
|
-
alertType?: string;
|
|
36
|
+
/** [object Object],[object Object],[object Object] */
|
|
37
|
+
alerts?: TreeNavigationItemAlerts | undefined;
|
|
42
38
|
/** Whether the group starts expanded. Useful for trees that open by default. */
|
|
43
39
|
defaultOpen?: boolean
|
|
44
40
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/navigation-item-group/navigation-item-group.js';
|
|
2
2
|
import type { ObcNavigationMenuVariant } from '@oicl/openbridge-webcomponents/dist/components/navigation-menu/navigation-menu.js';
|
|
3
|
-
import type { TreeBranchType } from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
3
|
+
import type { TreeBranchType, TreeNavigationItemAlerts } from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
4
4
|
import type { Snippet } from 'svelte';
|
|
5
5
|
export interface Props {
|
|
6
6
|
class?: string;
|
|
@@ -27,12 +27,8 @@ Controls the styling and layout of the group and its flyout. */
|
|
|
27
27
|
/** Terminal type for the group header in the Tree variant — one of `regular`
|
|
28
28
|
(default), `aggregated-header`, or `group-header`. No effect in flat variants. */
|
|
29
29
|
terminalType?: string;
|
|
30
|
-
/**
|
|
31
|
-
|
|
32
|
-
/** The number shown in the header's alert badge when `hasAlertBadge` is true (Tree variant only). */
|
|
33
|
-
alertCount?: number;
|
|
34
|
-
/** The severity/type of the header's alert badge — one of the `obc-badge` types (Tree variant only). */
|
|
35
|
-
alertType?: string;
|
|
30
|
+
/** [object Object],[object Object],[object Object] */
|
|
31
|
+
alerts?: TreeNavigationItemAlerts | undefined;
|
|
36
32
|
/** Whether the group starts expanded. Useful for trees that open by default. */
|
|
37
33
|
defaultOpen?: boolean;
|
|
38
34
|
}
|
|
@@ -47,6 +43,7 @@ type $$ComponentProps = Props & Events & Slots;
|
|
|
47
43
|
declare const ObcNavigationItemGroup: import("svelte").Component<$$ComponentProps, {
|
|
48
44
|
ObcNavigationMenuVariant: typeof ObcNavigationMenuVariant;
|
|
49
45
|
TreeBranchType: typeof TreeBranchType;
|
|
46
|
+
TreeNavigationItemAlerts: typeof TreeNavigationItemAlerts;
|
|
50
47
|
}, "">;
|
|
51
48
|
type ObcNavigationItemGroup = ReturnType<typeof ObcNavigationItemGroup>;
|
|
52
49
|
export default ObcNavigationItemGroup;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {TreeBranchType} from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
3
|
+
export type {TreeBranchType, TreeNavigationItemAlerts} from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/tree-navigation-group/tree-navigation-group.js';
|
|
5
5
|
import { setProperties } from "../../util.js";
|
|
6
|
-
import type {TreeBranchType} from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
6
|
+
import type {TreeBranchType, TreeNavigationItemAlerts} from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
9
9
|
export interface Props {
|
|
@@ -26,12 +26,8 @@ hasIcon?: boolean;
|
|
|
26
26
|
/** Terminal type for the header row, controlling the alert-header marker shown in
|
|
27
27
|
the terminal. One of `regular` (default), `aggregated-header`, or `group-header`. */
|
|
28
28
|
terminalType?: string;
|
|
29
|
-
/**
|
|
30
|
-
|
|
31
|
-
/** The number shown in the header's alert badge when `hasAlertBadge` is true. */
|
|
32
|
-
alertCount?: number;
|
|
33
|
-
/** The severity/type of the header's alert badge. One of the `obc-badge` types (default `alarm`). */
|
|
34
|
-
alertType?: string;
|
|
29
|
+
/** [object Object],[object Object],[object Object] */
|
|
30
|
+
alerts?: TreeNavigationItemAlerts | undefined;
|
|
35
31
|
/** The URL to navigate to when the header is activated. If set, the header row
|
|
36
32
|
renders as a link; otherwise it acts as a button. */
|
|
37
33
|
href?: string | undefined
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/tree-navigation-group/tree-navigation-group.js';
|
|
2
|
-
import type { TreeBranchType } from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
2
|
+
import type { TreeBranchType, TreeNavigationItemAlerts } from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
3
3
|
import type { Snippet } from 'svelte';
|
|
4
4
|
export interface Props {
|
|
5
5
|
class?: string;
|
|
@@ -21,12 +21,8 @@ set it manually when using a group outside the container. */
|
|
|
21
21
|
/** Terminal type for the header row, controlling the alert-header marker shown in
|
|
22
22
|
the terminal. One of `regular` (default), `aggregated-header`, or `group-header`. */
|
|
23
23
|
terminalType?: string;
|
|
24
|
-
/**
|
|
25
|
-
|
|
26
|
-
/** The number shown in the header's alert badge when `hasAlertBadge` is true. */
|
|
27
|
-
alertCount?: number;
|
|
28
|
-
/** The severity/type of the header's alert badge. One of the `obc-badge` types (default `alarm`). */
|
|
29
|
-
alertType?: string;
|
|
24
|
+
/** [object Object],[object Object],[object Object] */
|
|
25
|
+
alerts?: TreeNavigationItemAlerts | undefined;
|
|
30
26
|
/** The URL to navigate to when the header is activated. If set, the header row
|
|
31
27
|
renders as a link; otherwise it acts as a button. */
|
|
32
28
|
href?: string | undefined;
|
|
@@ -41,6 +37,7 @@ export interface Slots {
|
|
|
41
37
|
type $$ComponentProps = Props & Events & Slots;
|
|
42
38
|
declare const ObcTreeNavigationGroup: import("svelte").Component<$$ComponentProps, {
|
|
43
39
|
TreeBranchType: typeof TreeBranchType;
|
|
40
|
+
TreeNavigationItemAlerts: typeof TreeNavigationItemAlerts;
|
|
44
41
|
}, "">;
|
|
45
42
|
type ObcTreeNavigationGroup = ReturnType<typeof ObcTreeNavigationGroup>;
|
|
46
43
|
export default ObcTreeNavigationGroup;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {TreeBranchType} from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
3
|
+
export type {TreeBranchType, TreeNavigationItemAlerts} from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
5
5
|
import { setProperties } from "../../util.js";
|
|
6
|
-
import type {TreeBranchType} from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
6
|
+
import type {TreeBranchType, TreeNavigationItemAlerts} from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
9
9
|
export interface Props {
|
|
@@ -33,12 +33,8 @@ hasLeadingIcon?: boolean;
|
|
|
33
33
|
/** Terminal type, controlling the alert-header marker shown in the terminal.
|
|
34
34
|
One of `regular` (default), `aggregated-header`, or `group-header`. */
|
|
35
35
|
terminalType?: string;
|
|
36
|
-
/**
|
|
37
|
-
|
|
38
|
-
/** The number shown in the alert badge when `hasAlertBadge` is true. */
|
|
39
|
-
alertCount?: number;
|
|
40
|
-
/** The severity/type of the alert badge. One of the `obc-badge` types (default `alarm`). */
|
|
41
|
-
alertType?: string;
|
|
36
|
+
/** [object Object],[object Object],[object Object] */
|
|
37
|
+
alerts?: TreeNavigationItemAlerts | undefined;
|
|
42
38
|
/** The URL to navigate to when the row is activated. If set, the row renders as
|
|
43
39
|
a link; otherwise it acts as a button. */
|
|
44
40
|
href?: string | undefined
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
2
|
-
import type { TreeBranchType } from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
2
|
+
import type { TreeBranchType, TreeNavigationItemAlerts } from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
3
3
|
import type { Snippet } from 'svelte';
|
|
4
4
|
export interface Props {
|
|
5
5
|
class?: string;
|
|
@@ -28,12 +28,8 @@ roving tabindex (one row focusable at a time); standalone rows stay tabbable. */
|
|
|
28
28
|
/** Terminal type, controlling the alert-header marker shown in the terminal.
|
|
29
29
|
One of `regular` (default), `aggregated-header`, or `group-header`. */
|
|
30
30
|
terminalType?: string;
|
|
31
|
-
/**
|
|
32
|
-
|
|
33
|
-
/** The number shown in the alert badge when `hasAlertBadge` is true. */
|
|
34
|
-
alertCount?: number;
|
|
35
|
-
/** The severity/type of the alert badge. One of the `obc-badge` types (default `alarm`). */
|
|
36
|
-
alertType?: string;
|
|
31
|
+
/** [object Object],[object Object],[object Object] */
|
|
32
|
+
alerts?: TreeNavigationItemAlerts | undefined;
|
|
37
33
|
/** The URL to navigate to when the row is activated. If set, the row renders as
|
|
38
34
|
a link; otherwise it acts as a button. */
|
|
39
35
|
href?: string | undefined;
|
|
@@ -48,6 +44,7 @@ export interface Slots {
|
|
|
48
44
|
type $$ComponentProps = Props & Events & Slots;
|
|
49
45
|
declare const ObcTreeNavigationItem: import("svelte").Component<$$ComponentProps, {
|
|
50
46
|
TreeBranchType: typeof TreeBranchType;
|
|
47
|
+
TreeNavigationItemAlerts: typeof TreeNavigationItemAlerts;
|
|
51
48
|
}, "">;
|
|
52
49
|
type ObcTreeNavigationItem = ReturnType<typeof ObcTreeNavigationItem>;
|
|
53
50
|
export default ObcTreeNavigationItem;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oicl/openbridge-webcomponents-svelte",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.66",
|
|
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.
|
|
34
|
+
"@oicl/openbridge-webcomponents": "^2.0.0-next.65"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"svelte": "^5.0.0"
|