@synopackageland/ui 0.12.0 → 0.12.2

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.
@@ -76,8 +76,8 @@ AVAILABLE COMPONENTS (34):
76
76
  - Progress: { value?: number, max?: number, label?: string, valueLabel?: string, tone?: "primary" | "success" | "warning" | "danger" } - Linear determinate progress. Domain-specific progress visualizations should be custom components.
77
77
  - Badge: { text: string, tone?: "neutral" | "info" | "success" | "warning" | "danger" } - Short status/category badge.
78
78
  - Dialog: { open?: boolean, title?: string, description?: string, size?: "sm" | "md" | "lg" | "xl", width?: string, showClose?: boolean } - Modal task/dialog. Bind open to state. Put confirmation or form actions in footer. Without size it sizes to its content; size picks a DSM dialog width: sm one field, md a form with a text area, lg a wide form, xl tabs of settings. [accepts children; slots: footer] [events: openChange]
79
- - DataTable: { columns: Array<{ key: string, label: string, width?: string, align?: "left" | "center" | "right" }>, rows: Array<Record<string, unknown>>, rowKey?: string, emptyText?: string, compact?: boolean, mobileView?: "auto" | "cards" | "table" } - Simple resource table where cells display scalar row fields. Use an app extension component for rich/custom cells and row actions.
80
- - ResourceList: { columns: Array<{ key: string, label: string, width?: string, align?: "left" | "center" | "right" }>, rows: Array<Record<string, unknown>>, rowKey?: string, emptyText?: string, compact?: boolean, mobileView?: "auto" | "cards" | "table" } - Common resource collection pattern: optional toolbar plus a simple table. For domain-specific row rendering, extend the catalog with a custom list/table component. [slots: toolbar]
79
+ - DataTable: { columns: Array<{ key: string, label: string, width?: string, type?: "text" | "number" | "date" | "actions", align?: "left" | "center" | "right" }>, rows: Array<Record<string, unknown>>, rowKey?: string, emptyText?: string, compact?: boolean, mobileView?: "auto" | "cards" | "table" } - Simple resource table where cells display scalar row fields. Use an app extension component for rich/custom cells and row actions.
80
+ - ResourceList: { columns: Array<{ key: string, label: string, width?: string, type?: "text" | "number" | "date" | "actions", align?: "left" | "center" | "right" }>, rows: Array<Record<string, unknown>>, rowKey?: string, emptyText?: string, compact?: boolean, mobileView?: "auto" | "cards" | "table" } - Common resource collection pattern: optional toolbar plus a simple table. For domain-specific row rendering, extend the catalog with a custom list/table component. [slots: toolbar]
81
81
  - CellText: { text: string, secondary?: string, layout?: "stacked" | "inline", openLabel?: string, openDisabled?: boolean, wrap?: boolean } - Main text with secondary information (size, time, path), truncated with a tooltip; wrap: true wraps both lines instead. With openLabel the main text is a link-styled button that emits open, e.g. "Open in File Station". [events: open]
82
82
  - CellStatus: { label: string, tone?: "neutral" | "info" | "success" | "warning" | "danger", progress?: number, detail?: string, description?: string } - Task status: a toned dot and label, a bar while progress (0–100) is running, and a detail such as speed or a reason. description explains the status in a tooltip on the label (hover or keyboard focus).
83
83
  - ListItem: { title?: string, description?: string } - One entry of a list (an extension, a tool, a rule): title, description, content and actions on the right. Consecutive entries are split by a hairline. [accepts children; slots: actions]
@@ -2477,6 +2477,15 @@
2477
2477
  "width": {
2478
2478
  "type": "string"
2479
2479
  },
2480
+ "type": {
2481
+ "type": "string",
2482
+ "enum": [
2483
+ "text",
2484
+ "number",
2485
+ "date",
2486
+ "actions"
2487
+ ]
2488
+ },
2480
2489
  "align": {
2481
2490
  "type": "string",
2482
2491
  "enum": [
@@ -2613,6 +2622,15 @@
2613
2622
  "width": {
2614
2623
  "type": "string"
2615
2624
  },
2625
+ "type": {
2626
+ "type": "string",
2627
+ "enum": [
2628
+ "text",
2629
+ "number",
2630
+ "date",
2631
+ "actions"
2632
+ ]
2633
+ },
2616
2634
  "align": {
2617
2635
  "type": "string",
2618
2636
  "enum": [