@ai-ecoverse/slicc-spectrum 1.19.0 → 1.20.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.
@@ -1,3 +1,5 @@
1
+ import '@adobe/spectrum-wc/components/action-button/swc-action-button.js';
2
+ import '@adobe/spectrum-wc/components/action-group/swc-action-group.js';
1
3
  import { type TemplateResult } from 'lit';
2
4
  import type { SliccModel } from '../model/types.js';
3
5
  import { ModelElement, ThemedElement } from './base.js';
@@ -1,3 +1,5 @@
1
+ import '@adobe/spectrum-wc/components/action-button/swc-action-button.js';
2
+ import '@adobe/spectrum-wc/components/button/swc-button.js';
1
3
  import { type TemplateResult } from 'lit';
2
4
  import type { GitStatusEntry } from '../components/file-tree.js';
3
5
  import type { Change, FileEntry, SliccModel } from '../model/types.js';
@@ -15,6 +17,12 @@ export declare const letters: {
15
17
  readonly modified: 'M';
16
18
  readonly deleted: 'D';
17
19
  };
20
+ export declare const statusLabels: {
21
+ readonly added: 'Added';
22
+ readonly modified: 'Modified';
23
+ readonly deleted: 'Deleted';
24
+ };
25
+ export declare function statusMark(status: Change['status'], announce?: boolean): TemplateResult;
18
26
  export declare class SliccFiles extends ModelElement {
19
27
  #private;
20
28
  static properties: {
@@ -1,3 +1,5 @@
1
+ import '@adobe/spectrum-wc/components/action-button/swc-action-button.js';
2
+ import '@adobe/spectrum-wc/components/badge/swc-badge.js';
1
3
  import { type TemplateResult } from 'lit';
2
4
  import type { SliccModel } from '../model/types.js';
3
5
  import { ModelElement } from './base.js';
@@ -1,8 +1,13 @@
1
+ import '@adobe/spectrum-wc/components/action-button/swc-action-button.js';
2
+ import '@adobe/spectrum-wc/components/badge/swc-badge.js';
3
+ import '@adobe/spectrum-wc/components/button/swc-button.js';
4
+ import '@adobe/spectrum-wc-icons/swc-icon-delete.js';
1
5
  import { type TemplateResult } from 'lit';
2
6
  import type { Memory, MemoryTag, SliccModel } from '../model/types.js';
3
7
  import { ModelElement } from './base.js';
4
8
  export type TagFilter = MemoryTag | 'all' | 'untagged';
5
9
  export declare function visible(memories: readonly Memory[], scope: string, tag: TagFilter, query: string): Memory[];
10
+ export declare const tagLabels: Record<MemoryTag, string>;
6
11
  export declare function sections(memories: readonly Memory[]): Array<[string, Memory[]]>;
7
12
  export declare class SliccMemory extends ModelElement {
8
13
  #private;
@@ -1,8 +1,19 @@
1
+ import '@adobe/spectrum-wc/components/action-button/swc-action-button.js';
2
+ import '@adobe/spectrum-wc/components/badge/swc-badge.js';
3
+ import '@adobe/spectrum-wc/components/meter/swc-meter.js';
4
+ import '@adobe/spectrum-wc-icons/swc-icon-alert-triangle.js';
5
+ import '@adobe/spectrum-wc-icons/swc-icon-alert-diamond.js';
1
6
  import { type TemplateResult } from 'lit';
2
7
  import type { MonitorSection, MonitorStatus, SliccModel } from '../model/types.js';
3
8
  import { ModelElement } from './base.js';
4
9
  export declare function sparkline(points: readonly number[], width?: number, height?: number): string;
5
10
  export declare function health(section: MonitorSection): MonitorStatus;
11
+ export declare function meterVariant(ratio: number): 'informative' | 'notice' | 'negative';
12
+ export declare const surfaces: Record<string, string>;
13
+ export declare function attention(section: MonitorSection): {
14
+ variant: 'negative' | 'notice';
15
+ text: string;
16
+ } | null;
6
17
  export declare class SliccMonitor extends ModelElement {
7
18
  #private;
8
19
  static styles: import("lit").CSSResult[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-spectrum",
3
- "version": "1.19.0",
3
+ "version": "1.20.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",