@synopackageland/ui 0.9.3 → 0.9.5
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/CHANGELOG.md +78 -0
- package/dist/components/app/app-layout/AppBrand.vue.d.ts +8 -0
- package/dist/components/app/app-layout/AppLayout.vue.d.ts +16 -9
- package/dist/components/app/app-sidebar/AppSidebarItems.vue.d.ts +2 -0
- package/dist/components/app/app-sidebar/AppSidebarTip.vue.d.ts +19 -0
- package/dist/components/app/app-sidebar/AppSidebarUser.vue.d.ts +8 -0
- package/dist/components/app/page-header/PageHeader.vue.d.ts +4 -2
- package/dist/components/composite/callout/Callout.vue.d.ts +2 -0
- package/dist/components/composite/form-actions/FormActions.vue.d.ts +6 -0
- package/dist/components/composite/list-item/ListItem.vue.d.ts +25 -0
- package/dist/components/composite/settings-row/SettingsRow.vue.d.ts +1 -0
- package/dist/components/composite/settings-section/SettingsSection.vue.d.ts +1 -0
- package/dist/components/composite/statistic/Statistic.vue.d.ts +24 -0
- package/dist/components/composite/table-cell/CellStatus.vue.d.ts +24 -0
- package/dist/components/composite/table-cell/CellText.vue.d.ts +26 -0
- package/dist/components/feedback/notification/NotificationProvider.vue.d.ts +1 -1
- package/dist/components/primitives/button/Button.vue.d.ts +3 -0
- package/dist/components/primitives/button/IconButton.vue.d.ts +5 -2
- package/dist/components/primitives/dropdown-menu/DropdownMenu.vue.d.ts +2 -2
- package/dist/components/primitives/dropdown-menu/DropdownMenuItems.vue.d.ts +3 -0
- package/dist/components/primitives/popover/Popover.vue.d.ts +3 -3
- package/dist/components/primitives/progress/Progress.vue.d.ts +3 -0
- package/dist/composables/collisionBoundary.d.ts +4 -0
- package/dist/composables/floatingHost.d.ts +5 -2
- package/dist/composables/floatingPlacement.d.ts +1 -1
- package/dist/composables/pendingClick.d.ts +12 -0
- package/dist/composables/sidebarPreference.d.ts +6 -0
- package/dist/i18n/text.d.ts +4 -0
- package/dist/index.d.ts +10 -1
- package/dist/index.js +7813 -7107
- package/dist/json/catalog.d.ts +14 -0
- package/dist/json/registry.d.ts +210 -0
- package/dist/json-ai-prompt.md +3 -3
- package/dist/json-catalog.schema.json +30 -3
- package/dist/json-preview/preview.js +8339 -7207
- package/dist/json.js +8 -5
- package/dist/lib/adaptiveLayout.d.ts +6 -0
- package/dist/lib/clipboard.d.ts +7 -1
- package/dist/lib/deviceViewport.d.ts +8 -0
- package/dist/lib/fileSize.d.ts +9 -1
- package/dist/lib/floatingDialog.d.ts +2 -2
- package/dist/lib/format.d.ts +13 -0
- package/dist/lib/slots.d.ts +4 -0
- package/dist/reka-runtime.json +1 -1
- package/dist/theme.css +1 -1
- package/dist/themes/dsm7-embedded-theme.css +1 -1
- package/dist/themes/dsm7-embedded.css +1 -1
- package/dist/themes/dsm7.css +1 -1
- package/docs/adaptive-layout.md +73 -1
- package/docs/layout-rules.md +30 -3
- package/package.json +1 -1
package/dist/json-ai-prompt.md
CHANGED
|
@@ -53,7 +53,7 @@ AVAILABLE COMPONENTS (30):
|
|
|
53
53
|
- AppShell: { sidebarWidth?: string, minHeight?: string, responsive?: boolean, wideLayout?: "window" | "web" } - DSM application interior with optional sidebar, toolbar, main content and footer regions. Set wideLayout "web" only for a standalone Portal page; DSM windows keep the default "window" at every width. [accepts children; slots: sidebar, toolbar, footer]
|
|
54
54
|
- ResponsiveView: { mode?: "auto" | "mobile" | "window" | "web" } - Optionally replace a specialized element with a phone-friendly alternative. mobile/window/web slots follow AppShell container width (web only with AppShell wideLayout "web"); default is always the fallback. [accepts children; slots: mobile, window, web]
|
|
55
55
|
- Page: { width?: string, surface?: "auto" | "flat" | "card" } - Page content area. Use width "fill" for data-heavy screens and "readable" for forms/settings. [accepts children]
|
|
56
|
-
- PageHeader: { title: string, description?: string } - Page heading with optional description and page-level actions. [slots: actions]
|
|
56
|
+
- PageHeader: { title: string, description?: string } - Page heading with optional description and page-level actions. The meta slot sits on the title line, for a small chip such as when the data was read. [slots: actions, meta]
|
|
57
57
|
- Toolbar: { height?: string } - Application toolbar. Put primary page-independent actions in the actions slot. [accepts children; slots: leading, actions]
|
|
58
58
|
- SidebarNav: { value?: string, groups: Array<{ label?: string, items: Array<unknown> }>, searchable?: boolean, collapsible?: boolean, searchPlaceholder?: string } - DSM sidebar navigation. Icon values are names registered by the host application. [events: change]
|
|
59
59
|
- Tabs: { value: string, items: Array<{ label: string, value: string, disabled?: boolean }>, ariaLabel?: string } - Section tabs for switching a local mode or filter. Bind value to state for two-way updates. [events: change]
|
|
@@ -71,9 +71,9 @@ AVAILABLE COMPONENTS (30):
|
|
|
71
71
|
- SettingsField: { label: string, description?: string, required?: boolean, fieldWidth?: string, align?: "start" | "center" } - DSM settings row with label, description and one control/content region. [accepts children]
|
|
72
72
|
- Surface: { padding?: "none" | "sm" | "md" | "lg", border?: boolean, raised?: boolean } - Neutral bordered/raised content surface when Card semantics are not needed. [accepts children]
|
|
73
73
|
- Card: { title?: string, layoutType?: "regular" | "compact", expandable?: boolean, expanded?: boolean, footerAlign?: "start" | "end" | "between" } - Grouped content with optional header/actions/footer. Do not use a Card just to add spacing. [accepts children; slots: header-actions, footer] [events: expandedChange]
|
|
74
|
-
- Callout: { tone?: "info" | "success" | "warning" | "danger", title?: string, closable?: boolean } - Inline information, success, warning or error message. [accepts children; slots: actions] [events: close]
|
|
74
|
+
- Callout: { tone?: "info" | "success" | "warning" | "danger", title?: string, closable?: boolean, code?: string } - Inline information, success, warning or error message. Put a machine error code in `code`, not in the text. [accepts children; slots: actions] [events: close]
|
|
75
75
|
- EmptyState: { title: string, description?: string, icon?: string } - Empty/no-results state with optional recovery or create actions. [slots: actions]
|
|
76
|
-
- Progress: { value?: number, max?: number, label?: string, valueLabel?: string } - Linear determinate progress. Domain-specific progress visualizations should be custom components.
|
|
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, width?: string, showClose?: boolean } - Modal task/dialog. Bind open to state. Put confirmation or form actions in footer. [accepts children; slots: footer] [events: openChange]
|
|
79
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.
|
|
@@ -538,7 +538,7 @@
|
|
|
538
538
|
}
|
|
539
539
|
},
|
|
540
540
|
"then": {
|
|
541
|
-
"description": "Page heading with optional description and page-level actions.",
|
|
541
|
+
"description": "Page heading with optional description and page-level actions. The meta slot sits on the title line, for a small chip such as when the data was read.",
|
|
542
542
|
"properties": {
|
|
543
543
|
"props": {
|
|
544
544
|
"type": "object",
|
|
@@ -575,7 +575,8 @@
|
|
|
575
575
|
"slots": {
|
|
576
576
|
"propertyNames": {
|
|
577
577
|
"enum": [
|
|
578
|
-
"actions"
|
|
578
|
+
"actions",
|
|
579
|
+
"meta"
|
|
579
580
|
]
|
|
580
581
|
}
|
|
581
582
|
},
|
|
@@ -2051,7 +2052,7 @@
|
|
|
2051
2052
|
}
|
|
2052
2053
|
},
|
|
2053
2054
|
"then": {
|
|
2054
|
-
"description": "Inline information, success, warning or error message.",
|
|
2055
|
+
"description": "Inline information, success, warning or error message. Put a machine error code in `code`, not in the text.",
|
|
2055
2056
|
"properties": {
|
|
2056
2057
|
"props": {
|
|
2057
2058
|
"type": "object",
|
|
@@ -2091,6 +2092,16 @@
|
|
|
2091
2092
|
"$ref": "#/$defs/expression"
|
|
2092
2093
|
}
|
|
2093
2094
|
]
|
|
2095
|
+
},
|
|
2096
|
+
"code": {
|
|
2097
|
+
"anyOf": [
|
|
2098
|
+
{
|
|
2099
|
+
"type": "string"
|
|
2100
|
+
},
|
|
2101
|
+
{
|
|
2102
|
+
"$ref": "#/$defs/expression"
|
|
2103
|
+
}
|
|
2104
|
+
]
|
|
2094
2105
|
}
|
|
2095
2106
|
},
|
|
2096
2107
|
"additionalProperties": false
|
|
@@ -2233,6 +2244,22 @@
|
|
|
2233
2244
|
"$ref": "#/$defs/expression"
|
|
2234
2245
|
}
|
|
2235
2246
|
]
|
|
2247
|
+
},
|
|
2248
|
+
"tone": {
|
|
2249
|
+
"anyOf": [
|
|
2250
|
+
{
|
|
2251
|
+
"type": "string",
|
|
2252
|
+
"enum": [
|
|
2253
|
+
"primary",
|
|
2254
|
+
"success",
|
|
2255
|
+
"warning",
|
|
2256
|
+
"danger"
|
|
2257
|
+
]
|
|
2258
|
+
},
|
|
2259
|
+
{
|
|
2260
|
+
"$ref": "#/$defs/expression"
|
|
2261
|
+
}
|
|
2262
|
+
]
|
|
2236
2263
|
}
|
|
2237
2264
|
},
|
|
2238
2265
|
"additionalProperties": false
|