@ai-ecoverse/slicc-spectrum 1.99.3 → 1.100.0
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/README.md +6 -2
- package/dist/slicc-dummy.js +83 -2
- package/dist/slicc-dummy.js.map +3 -3
- package/dist/slicc-ui.js +327 -130
- package/dist/slicc-ui.js.map +3 -3
- package/dist/types/app/markdown.d.ts +5 -1
- package/dist/types/app/updates.d.ts +11 -1
- package/dist/types/model/types.d.ts +7 -0
- package/package.json +2 -2
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import { type TemplateResult } from 'lit';
|
|
2
|
-
export
|
|
2
|
+
export interface MarkdownOptions {
|
|
3
|
+
strict?: boolean;
|
|
4
|
+
level?: number;
|
|
5
|
+
}
|
|
6
|
+
export declare function markdown(text: string, options?: MarkdownOptions): TemplateResult;
|
|
3
7
|
export declare const markdownCss: import("lit").CSSResult;
|
|
@@ -1,12 +1,22 @@
|
|
|
1
|
+
import '@adobe/spectrum-wc/components/badge/swc-badge.js';
|
|
1
2
|
import '@adobe/spectrum-wc/components/button/swc-button.js';
|
|
2
3
|
import '@adobe/spectrum-wc/components/divider/swc-divider.js';
|
|
3
4
|
import '@adobe/spectrum-wc/components/progress-bar/swc-progress-bar.js';
|
|
4
5
|
import '@adobe/spectrum-wc/components/status-light/swc-status-light.js';
|
|
5
6
|
import '@adobe/spectrum-wc-icons/swc-icon-alert-triangle.js';
|
|
6
7
|
import { type TemplateResult } from 'lit';
|
|
7
|
-
import type { PackageAction, PackageItem, SliccModel, UpdateAction, UpdateItem, UpdatesPort } from '../model/types.js';
|
|
8
|
+
import type { PackageAction, PackageItem, SliccModel, UpdateAction, UpdateItem, UpdateRelease, UpdatesPort } from '../model/types.js';
|
|
8
9
|
import { ModelElement } from './base.js';
|
|
9
10
|
export declare function requiresText(item: PackageItem, all: readonly PackageItem[]): string | null;
|
|
11
|
+
export declare const notesLimit = 8192;
|
|
12
|
+
interface Notes {
|
|
13
|
+
release: UpdateRelease;
|
|
14
|
+
body: string;
|
|
15
|
+
certified: boolean;
|
|
16
|
+
cut: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare function releaseNotes(release: UpdateRelease): Notes;
|
|
19
|
+
export declare function whatsNew(releases: readonly UpdateRelease[] | undefined, from: string | null, to: string | null): readonly Notes[];
|
|
10
20
|
type Failures = ReadonlyMap<string, string>;
|
|
11
21
|
export declare function updatesStatus(items: readonly UpdateItem[]): string | null;
|
|
12
22
|
export declare class UpdateVisibility {
|
|
@@ -679,6 +679,11 @@ export interface InstallProgress {
|
|
|
679
679
|
total: number;
|
|
680
680
|
};
|
|
681
681
|
}
|
|
682
|
+
export interface UpdateRelease {
|
|
683
|
+
version: string;
|
|
684
|
+
url: string;
|
|
685
|
+
notes?: string;
|
|
686
|
+
}
|
|
682
687
|
export interface UpdateItem {
|
|
683
688
|
id: string;
|
|
684
689
|
label: string;
|
|
@@ -691,6 +696,7 @@ export interface UpdateItem {
|
|
|
691
696
|
error: string | null;
|
|
692
697
|
actions: readonly UpdateAction[];
|
|
693
698
|
log?: string;
|
|
699
|
+
releases?: readonly UpdateRelease[];
|
|
694
700
|
}
|
|
695
701
|
export type PackageState = 'available' | 'queued' | 'installing' | 'installed' | 'outdated' | 'updating' | 'removing' | 'failed';
|
|
696
702
|
export type PackageAction = 'install' | 'update' | 'remove' | 'retry' | 'unpin';
|
|
@@ -724,6 +730,7 @@ export interface PackageItem {
|
|
|
724
730
|
log?: string;
|
|
725
731
|
origin?: 'catalog' | 'user';
|
|
726
732
|
pin?: PackagePin;
|
|
733
|
+
releases?: readonly UpdateRelease[];
|
|
727
734
|
installs?: readonly PackageInstall[];
|
|
728
735
|
}
|
|
729
736
|
export interface UpdatesEvents {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-spectrum",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.100.0",
|
|
4
4
|
"description": "Web components for SLICC on Spectrum Web Components: the terminal, the app shell and its surfaces",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@adobe/spectrum-wc": "2.0.0-beta.5",
|
|
75
75
|
"@adobe/spectrum-wc-icons": "2.0.0-beta.5",
|
|
76
76
|
"@ai-ecoverse/slicc-kernel": "1.133.0",
|
|
77
|
-
"@ai-ecoverse/slicc-shared-web": "1.25.
|
|
77
|
+
"@ai-ecoverse/slicc-shared-web": "1.25.2",
|
|
78
78
|
"@ai-ecoverse/slicc-vault": "1.9.2",
|
|
79
79
|
"@ai-ecoverse/wasm-bash": "5.3.0-21",
|
|
80
80
|
"@ai-ecoverse/wasm-coreutils": "9.12.0-10",
|