@macmotp/sirius-ui-dashboard 0.1.0-alpha.3 → 0.1.0-alpha.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/dist/docs/docs/agent-guide.md +5 -6
- package/dist/docs/docs/component-catalog.md +83 -83
- package/dist/docs/docs/dashboard-patterns.md +27 -7
- package/dist/docs/docs/hospitality-patterns.md +2 -2
- package/dist/docs/docs/package-map.md +24 -0
- package/dist/docs/docs/website-patterns.md +12 -12
- package/dist/docs/packages/auth/readme.md +1 -1
- package/dist/docs/packages/charts/readme.md +1 -1
- package/dist/docs/packages/dashboard/readme.md +1 -1
- package/dist/docs/packages/hospitality/readme.md +5 -5
- package/dist/docs/packages/theme/readme.md +1 -1
- package/dist/docs/packages/vue/readme.md +13 -9
- package/dist/docs/packages/website/readme.md +10 -10
- package/dist/docs/readme.md +2 -2
- package/package.json +3 -3
- package/readme.md +3 -3
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# Build applications with SiriusUI
|
|
2
2
|
|
|
3
|
-
This is the entry point for agents consuming SiriusUI. Use existing components and their documented behavior to assemble an application. For changes to SiriusUI itself, also read the repository’s [implementation rules](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
3
|
+
This is the entry point for agents consuming SiriusUI. Use existing components and their documented behavior to assemble an application. For changes to SiriusUI itself, also read the repository’s [implementation rules](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/AGENTS.md).
|
|
4
4
|
|
|
5
5
|
## Read only what the task needs
|
|
6
6
|
|
|
7
7
|
1. Check the consuming app’s dependencies, installed package versions, framework, router, theme entry, and existing icon configuration. Use that project’s instructions and conventions.
|
|
8
8
|
2. Translate the request into a surface, primary visitor/user action, and a small content outline using the rules below.
|
|
9
|
-
3.
|
|
9
|
+
3. Pick the owning collection from the [package map](package-map.md), then use the [component catalog](component-catalog.md) to select public exports by task.
|
|
10
10
|
4. Read the relevant package contracts, then the matching [dashboard patterns](dashboard-patterns.md) or [website patterns](website-patterns.md). For auth, use the [auth guide](../packages/auth/readme.md); for property/guest journeys, use [hospitality patterns](hospitality-patterns.md). Read the matching recipe rather than every showcase example.
|
|
11
11
|
5. Consult the linked example when wiring data or handlers is unclear. Read source/types when the guide leaves an ambiguity. Do not load the entire architecture history to build a routine page.
|
|
12
12
|
6. Implement the app’s data, routes, request lifecycle, permissions, copy, and assets around those components. Verify the resulting interaction in the consuming app.
|
|
@@ -16,8 +16,7 @@ In an installed package, start at `node_modules/@macmotp/sirius-ui-<package>/dis
|
|
|
16
16
|
## Availability and authority
|
|
17
17
|
|
|
18
18
|
- Read package.json and the installed declarations before using an export. The catalog describes this checkout; installed releases can contain fewer components or different contracts.
|
|
19
|
-
- Theme, Vue,
|
|
20
|
-
- Website and hospitality remain private `0.0.0` workspace previews. Use these from a source checkout or a project-approved local integration until they are released. Do not assume npm installations exist for these previews.
|
|
19
|
+
- Theme, Vue, Charts, Dashboard, Auth, Website, and Hospitality share the same alpha release. Website and Hospitality join the npm alpha channel at `0.1.0-alpha.5`. Check the registry and installed exports for the version you are using.
|
|
21
20
|
- Import named exports and styles from public package entries. Treat `apps/*` and `apps/shared` as application examples, not installable libraries or supported deep imports.
|
|
22
21
|
- A template name in the showcase is a composition, not necessarily a public export. For example, FAQ sections use SWebsiteSection with SAccordion; portfolio grids use SGrid with SProjectCard.
|
|
23
22
|
- If a contract and implementation disagree, inspect the matching installed source/types or ask for the missing requirement. Do not guess a prop, event, slot, or component name.
|
|
@@ -35,8 +34,8 @@ Treat requests such as “build me a personal website” as requests to build an
|
|
|
35
34
|
| Blog or publication | Website | Header + SWebsiteBlog or an article-card collection + app-owned article pages + footer. A newsletter is optional |
|
|
36
35
|
| Admin panel or customer workspace | Dashboard, with Vue primitives | SDashboardLayout + navigation + task-specific cards/forms/tables. Add charts only when the request includes useful quantitative data |
|
|
37
36
|
| Login, recovery, or registration | Auth, with Vue primitives | SAuthLayout + the matching controlled auth form. The app/backend provides the authentication flow |
|
|
38
|
-
| Property website or stay enquiry | Hospitality + website, with core controls | Use the [hospitality patterns](hospitality-patterns.md) for room cards, stay search, and summaries. The app/backend owns inventory, rates, and enquiry/booking state; the initial preview does not confirm bookings |
|
|
39
|
-
|
|
|
37
|
+
| Property website or stay enquiry | Hospitality + website, with core controls | Use the [hospitality patterns](hospitality-patterns.md) for room cards, stay search, and summaries. Reuse Website for FAQ, policies, and general contact. The app/backend owns inventory, rates, and enquiry/booking state; the initial preview does not confirm bookings |
|
|
38
|
+
| Storefront | Core + Website for public framing | Ecommerce is a planned separate collection. Compose the catalog and cart in the app until it ships |
|
|
40
39
|
| Public website plus private account area | Website and dashboard/auth on separate routes | Select one appropriate shell per route and share theme, branding, and app services |
|
|
41
40
|
|
|
42
41
|
A request’s label is a clue, not a fixed page specification. A photographer’s personal site may emphasize work; a writer’s may emphasize articles; a consultant’s may emphasize services. Follow supplied requirements and actual content. Do not turn every personal site into the Acme agency demo or every application into a dashboard.
|
|
@@ -9,7 +9,7 @@ Use this catalog to choose public exports and find their contracts and working e
|
|
|
9
9
|
|
|
10
10
|
## Setup
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
Published packages use the `alpha` tag. See the [package map](package-map.md) to choose a library or template collection and check availability. See [installation](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/readme.md#installation) for package selection and CSS setup. In an installed package, this catalog and its linked guides are available under `dist/docs`. Repository example links target the matching release tag.
|
|
13
13
|
|
|
14
14
|
| Using | Styles to import once in the app entry |
|
|
15
15
|
| --- | --- |
|
|
@@ -28,53 +28,53 @@ Run `npm run dev` for the primitive examples and `npm run dev:dashboard` for Acm
|
|
|
28
28
|
|
|
29
29
|
| Export | Use for | Contract | Working example |
|
|
30
30
|
| --- | --- | --- | --- |
|
|
31
|
-
| `SButton` | Action, anchor download, or router link | [Guide](../packages/vue/readme.md#sbutton) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
32
|
-
| `SCopyButton` | Copy supplied text with pending, success, and error feedback | [Guide](../packages/vue/readme.md#scopybutton) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
33
|
-
| `SImageGallery` | Featured or grid photos with a native modal viewer | [Guide](../packages/vue/readme.md#simagegallery) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
34
|
-
| `SDropdown` | Keyboard-operated menu of discrete actions | [Guide](../packages/vue/readme.md#sdropdown) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
35
|
-
| `STabs` | Switch between related panels in one view | [Guide](../packages/vue/readme.md#stabs) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
36
|
-
| `SBreadcrumbs` | Page hierarchy with linked ancestors | [Guide](../packages/vue/readme.md#sbreadcrumbs) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
37
|
-
| `SDialog` | Focused modal form or confirmation | [Guide](../packages/vue/readme.md#sdialog) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
38
|
-
| `SDrawer` | Modal side panel for navigation, filters, or details | [Guide](../packages/vue/readme.md#sdrawer) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
39
|
-
| `SPopover` | Interactive content anchored to a trigger | [Guide](../packages/vue/readme.md#spopover) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
40
|
-
| `STooltip` | Short supplementary description for a focusable control | [Guide](../packages/vue/readme.md#stooltip) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
41
|
-
| `SIcon` | Render a named icon from the app mapping | [Guide](icons.md) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
31
|
+
| `SButton` | Action, anchor download, or router link | [Guide](../packages/vue/readme.md#sbutton) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SButton.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/ButtonShowcase.vue) |
|
|
32
|
+
| `SCopyButton` | Copy supplied text with pending, success, and error feedback | [Guide](../packages/vue/readme.md#scopybutton) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SCopyButton.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/CopyShowcase.vue) |
|
|
33
|
+
| `SImageGallery` | Featured or grid photos with a native modal viewer | [Guide](../packages/vue/readme.md#simagegallery) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SImageGallery.vue) | [Playground](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/ImageGalleryShowcase.vue) |
|
|
34
|
+
| `SDropdown` | Keyboard-operated menu of discrete actions | [Guide](../packages/vue/readme.md#sdropdown) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SDropdown.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/DropdownShowcase.vue) |
|
|
35
|
+
| `STabs` | Switch between related panels in one view | [Guide](../packages/vue/readme.md#stabs) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/STabs.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/TabsShowcase.vue) |
|
|
36
|
+
| `SBreadcrumbs` | Page hierarchy with linked ancestors | [Guide](../packages/vue/readme.md#sbreadcrumbs) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SBreadcrumbs.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/BreadcrumbsShowcase.vue) |
|
|
37
|
+
| `SDialog` | Focused modal form or confirmation | [Guide](../packages/vue/readme.md#sdialog) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SDialog.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/DialogShowcase.vue) |
|
|
38
|
+
| `SDrawer` | Modal side panel for navigation, filters, or details | [Guide](../packages/vue/readme.md#sdrawer) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SDrawer.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/DrawerShowcase.vue) |
|
|
39
|
+
| `SPopover` | Interactive content anchored to a trigger | [Guide](../packages/vue/readme.md#spopover) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SPopover.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/PopoverShowcase.vue) |
|
|
40
|
+
| `STooltip` | Short supplementary description for a focusable control | [Guide](../packages/vue/readme.md#stooltip) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/STooltip.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/TooltipShowcase.vue) |
|
|
41
|
+
| `SIcon` | Render a named icon from the app mapping | [Guide](icons.md) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SIcon.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/components/DemoCalendar.vue) |
|
|
42
42
|
|
|
43
43
|
### Forms
|
|
44
44
|
|
|
45
45
|
| Export | Use for | Contract | Working example |
|
|
46
46
|
| --- | --- | --- | --- |
|
|
47
|
-
| `SForm` | Native form with responsive columns and an actions slot | [Guide](../packages/vue/readme.md#sform) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
48
|
-
| `SField` | Associate a control with its label, help, and error | [Guide](../packages/vue/readme.md#sfield) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
49
|
-
| `SInput` | Native text, date, time, number, color, or range control | [Guide](../packages/vue/readme.md#sinput) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
50
|
-
| `SDateRange` | Date-only bounds, presets, and range validation | [Guide](../packages/vue/readme.md#sdaterange) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
51
|
-
| `STextarea` | Multiline text | [Guide](../packages/vue/readme.md#stextarea) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
52
|
-
| `SSelect` | Native option picker | [Guide](../packages/vue/readme.md#sselect) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
53
|
-
| `SCombobox` | Search and select an option with custom option rendering | [Guide](../packages/vue/readme.md#scombobox) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
54
|
-
| `STagsInput` | Edit a list of text tags | [Guide](../packages/vue/readme.md#stagsinput) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
55
|
-
| `SCheckbox` | Boolean or mixed selection | [Guide](../packages/vue/readme.md#scheckbox) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
56
|
-
| `SRadio` | One value from a named group | [Guide](../packages/vue/readme.md#sradio) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
57
|
-
| `SSwitch` | Toggle a setting on or off | [Guide](../packages/vue/readme.md#sswitch) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
58
|
-
| `SFileUpload` | Pick or drop local files and report rejected files | [Guide](../packages/vue/readme.md#sfileupload) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
47
|
+
| `SForm` | Native form with responsive columns and an actions slot | [Guide](../packages/vue/readme.md#sform) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SForm.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/FormShowcase.vue) |
|
|
48
|
+
| `SField` | Associate a control with its label, help, and error | [Guide](../packages/vue/readme.md#sfield) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SField.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/FormShowcase.vue) |
|
|
49
|
+
| `SInput` | Native text, date, time, number, color, or range control | [Guide](../packages/vue/readme.md#sinput) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SInput.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/NativeInputShowcase.vue) |
|
|
50
|
+
| `SDateRange` | Date-only bounds, presets, and range validation | [Guide](../packages/vue/readme.md#sdaterange) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SDateRange.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/NativeInputShowcase.vue) |
|
|
51
|
+
| `STextarea` | Multiline text | [Guide](../packages/vue/readme.md#stextarea) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/STextarea.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/FormShowcase.vue) |
|
|
52
|
+
| `SSelect` | Native option picker | [Guide](../packages/vue/readme.md#sselect) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SSelect.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/FormShowcase.vue) |
|
|
53
|
+
| `SCombobox` | Search and select an option with custom option rendering | [Guide](../packages/vue/readme.md#scombobox) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SCombobox.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/SearchInputShowcase.vue) |
|
|
54
|
+
| `STagsInput` | Edit a list of text tags | [Guide](../packages/vue/readme.md#stagsinput) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/STagsInput.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/SearchInputShowcase.vue) |
|
|
55
|
+
| `SCheckbox` | Boolean or mixed selection | [Guide](../packages/vue/readme.md#scheckbox) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SCheckbox.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/ChoiceShowcase.vue) |
|
|
56
|
+
| `SRadio` | One value from a named group | [Guide](../packages/vue/readme.md#sradio) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SRadio.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/ChoiceShowcase.vue) |
|
|
57
|
+
| `SSwitch` | Toggle a setting on or off | [Guide](../packages/vue/readme.md#sswitch) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SSwitch.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/ChoiceShowcase.vue) |
|
|
58
|
+
| `SFileUpload` | Pick or drop local files and report rejected files | [Guide](../packages/vue/readme.md#sfileupload) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SFileUpload.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/FileUploadShowcase.vue) |
|
|
59
59
|
|
|
60
60
|
### Layout, data, and feedback
|
|
61
61
|
|
|
62
62
|
| Export | Use for | Contract | Working example |
|
|
63
63
|
| --- | --- | --- | --- |
|
|
64
|
-
| `SGrid` | Responsive grid of equally sized columns | [Guide](../packages/vue/readme.md#sgrid) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
65
|
-
| `SCard` | Themed surface with optional header and footer | [Guide](../packages/vue/readme.md#scard) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
66
|
-
| `SDivider` | Horizontal or vertical separator | [Guide](../packages/vue/readme.md#sdivider) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
67
|
-
| `SAccordion` | Expand or collapse one or more sections | [Guide](../packages/vue/readme.md#saccordion) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
68
|
-
| `SBadge` | Compact status or category label | [Guide](../packages/vue/readme.md#sbadge) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
69
|
-
| `SAvatar` | Image, initials, or fallback glyph | [Guide](../packages/vue/readme.md#savatar) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
70
|
-
| `STable` | Display supplied rows with custom cells and server sort requests | [Guide](../packages/vue/readme.md#table-api) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
71
|
-
| `SPagination` | Render server pagination metadata and URLs | [Guide](../packages/vue/readme.md#stable-and-spagination) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
72
|
-
| `SAlert` | Inline message with optional actions | [Guide](../packages/vue/readme.md#salert) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
73
|
-
| `SToast` | One transient or persistent message | [Guide](../packages/vue/readme.md#stoast-stoaster-and-usetoasts) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
74
|
-
| `SToaster` | Render an application-owned toast queue | [Guide](../packages/vue/readme.md#stoast-stoaster-and-usetoasts) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
75
|
-
| `SProgress` | Determinate or indeterminate progress | [Guide](../packages/vue/readme.md#sprogress) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
76
|
-
| `SSkeleton` | Decorative loading placeholder | [Guide](../packages/vue/readme.md#sskeleton) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
77
|
-
| `SEmptyState` | Empty-result explanation with optional actions | [Guide](../packages/vue/readme.md#semptystate) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
64
|
+
| `SGrid` | Responsive grid of equally sized columns | [Guide](../packages/vue/readme.md#sgrid) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SGrid.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/LayoutShowcase.vue) |
|
|
65
|
+
| `SCard` | Themed surface with optional header and footer | [Guide](../packages/vue/readme.md#scard) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SCard.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/LayoutShowcase.vue) |
|
|
66
|
+
| `SDivider` | Horizontal or vertical separator | [Guide](../packages/vue/readme.md#sdivider) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SDivider.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/DividerShowcase.vue) |
|
|
67
|
+
| `SAccordion` | Expand or collapse one or more sections | [Guide](../packages/vue/readme.md#saccordion) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SAccordion.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/AccordionShowcase.vue) |
|
|
68
|
+
| `SBadge` | Compact status or category label | [Guide](../packages/vue/readme.md#sbadge) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SBadge.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/BadgeShowcase.vue) |
|
|
69
|
+
| `SAvatar` | Image, initials, or fallback glyph | [Guide](../packages/vue/readme.md#savatar) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SAvatar.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/AvatarShowcase.vue) |
|
|
70
|
+
| `STable` | Display supplied rows with custom cells and server sort requests | [Guide](../packages/vue/readme.md#table-api) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/STable.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/TableShowcase.vue) |
|
|
71
|
+
| `SPagination` | Render server pagination metadata and URLs | [Guide](../packages/vue/readme.md#stable-and-spagination) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SPagination.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/LargePaginationShowcase.vue) |
|
|
72
|
+
| `SAlert` | Inline message with optional actions | [Guide](../packages/vue/readme.md#salert) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SAlert.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/AlertShowcase.vue) |
|
|
73
|
+
| `SToast` | One transient or persistent message | [Guide](../packages/vue/readme.md#stoast-stoaster-and-usetoasts) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SToast.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/ToastShowcase.vue) |
|
|
74
|
+
| `SToaster` | Render an application-owned toast queue | [Guide](../packages/vue/readme.md#stoast-stoaster-and-usetoasts) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SToaster.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/ToastShowcase.vue) |
|
|
75
|
+
| `SProgress` | Determinate or indeterminate progress | [Guide](../packages/vue/readme.md#sprogress) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SProgress.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/ProgressShowcase.vue) |
|
|
76
|
+
| `SSkeleton` | Decorative loading placeholder | [Guide](../packages/vue/readme.md#sskeleton) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SSkeleton.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/SkeletonShowcase.vue) |
|
|
77
|
+
| `SEmptyState` | Empty-result explanation with optional actions | [Guide](../packages/vue/readme.md#semptystate) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/vue/src/components/SEmptyState.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/EmptyStateShowcase.vue) |
|
|
78
78
|
|
|
79
79
|
The Vue entry also exports these helpers.
|
|
80
80
|
|
|
@@ -90,14 +90,14 @@ The Vue entry also exports these helpers.
|
|
|
90
90
|
|
|
91
91
|
| Export | Use for | Contract | Working example |
|
|
92
92
|
| --- | --- | --- | --- |
|
|
93
|
-
| `SDashboardLayout` | Responsive shell with mobile navigation drawer | [Guide](../packages/dashboard/readme.md#contract) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
94
|
-
| `SDashboardNav` | Grouped links with app-owned current state | [Guide](../packages/dashboard/readme.md#sdashboardnav) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
95
|
-
| `SDashboardPageHeader` | Page title with optional description and actions | [Guide](../packages/dashboard/readme.md#sdashboardpageheader) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
96
|
-
| `SMetricCard` | Metric, comparison, and optional chart slot | [Guide](../packages/dashboard/readme.md#smetriccard) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
97
|
-
| `SUserCard` | Profile summary and contact actions | [Guide](../packages/dashboard/readme.md#susercard) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
98
|
-
| `SUtilityCard` | Entity summary with labelled data rows | [Guide](../packages/dashboard/readme.md#sutilitycard) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
99
|
-
| `SPeopleList` | Compact directory with roles and presence | [Guide](../packages/dashboard/readme.md#speoplelist) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
100
|
-
| `STimeline` | Ordered status changes or feedback | [Guide](../packages/dashboard/readme.md#stimeline) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
93
|
+
| `SDashboardLayout` | Responsive shell with mobile navigation drawer | [Guide](../packages/dashboard/readme.md#contract) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/dashboard/src/components/SDashboardLayout.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/App.vue) |
|
|
94
|
+
| `SDashboardNav` | Grouped links with app-owned current state | [Guide](../packages/dashboard/readme.md#sdashboardnav) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/dashboard/src/components/SDashboardNav.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/components/DemoNavigation.vue) |
|
|
95
|
+
| `SDashboardPageHeader` | Page title with optional description and actions | [Guide](../packages/dashboard/readme.md#sdashboardpageheader) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/dashboard/src/components/SDashboardPageHeader.vue) | [Snippet](../packages/dashboard/readme.md#sdashboardpageheader) |
|
|
96
|
+
| `SMetricCard` | Metric, comparison, and optional chart slot | [Guide](../packages/dashboard/readme.md#smetriccard) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/dashboard/src/components/SMetricCard.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/components/DemoCards.vue) |
|
|
97
|
+
| `SUserCard` | Profile summary and contact actions | [Guide](../packages/dashboard/readme.md#susercard) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/dashboard/src/components/SUserCard.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/components/DemoCards.vue) |
|
|
98
|
+
| `SUtilityCard` | Entity summary with labelled data rows | [Guide](../packages/dashboard/readme.md#sutilitycard) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/dashboard/src/components/SUtilityCard.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/components/DemoUtilityCards.vue) |
|
|
99
|
+
| `SPeopleList` | Compact directory with roles and presence | [Guide](../packages/dashboard/readme.md#speoplelist) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/dashboard/src/components/SPeopleList.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/components/DemoPeopleCard.vue) |
|
|
100
|
+
| `STimeline` | Ordered status changes or feedback | [Guide](../packages/dashboard/readme.md#stimeline) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/dashboard/src/components/STimeline.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/components/DemoActivityCards.vue) |
|
|
101
101
|
|
|
102
102
|
Use a single page title. If the shell header already renders the page's `h1`, page sections start at `h2`. Use `SDashboardPageHeader` when the title belongs in the page body.
|
|
103
103
|
|
|
@@ -105,10 +105,10 @@ Use a single page title. If the shell header already renders the page's `h1`, pa
|
|
|
105
105
|
|
|
106
106
|
| Export | Use for | Contract | Working example |
|
|
107
107
|
| --- | --- | --- | --- |
|
|
108
|
-
| `SLineChart` | Trend over ordered categories, with optional multiple series | [Guide](../packages/charts/readme.md#slinechart-contract) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
109
|
-
| `SBarChart` | Compare categories using horizontal or vertical bars | [Guide](../packages/charts/bar-chart.md) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
110
|
-
| `SDonutChart` | Show nonnegative parts of a whole | [Guide](../packages/charts/donut-chart.md) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
111
|
-
| `SSparkline` | Compact trend in a metric card or summary | [Guide](../packages/charts/readme.md#ssparkline) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
108
|
+
| `SLineChart` | Trend over ordered categories, with optional multiple series | [Guide](../packages/charts/readme.md#slinechart-contract) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/charts/src/components/SLineChart.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/components/DemoLineChartCard.vue) |
|
|
109
|
+
| `SBarChart` | Compare categories using horizontal or vertical bars | [Guide](../packages/charts/bar-chart.md) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/charts/src/components/SBarChart.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/components/DemoBarCharts.vue) |
|
|
110
|
+
| `SDonutChart` | Show nonnegative parts of a whole | [Guide](../packages/charts/donut-chart.md) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/charts/src/components/SDonutChart.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/components/DemoDonutCharts.vue) |
|
|
111
|
+
| `SSparkline` | Compact trend in a metric card or summary | [Guide](../packages/charts/readme.md#ssparkline) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/charts/src/components/SSparkline.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/components/DemoCards.vue) |
|
|
112
112
|
|
|
113
113
|
Chart inputs are ordered application data. Supply titles, units, and consistent formatters. For a small trend in a dashboard card, supply `SSparkline` through `SMetricCard`'s `chart` slot. Import charts explicitly in the consuming app.
|
|
114
114
|
|
|
@@ -118,52 +118,52 @@ Use these controlled templates for authentication pages. Import from `@macmotp/s
|
|
|
118
118
|
|
|
119
119
|
| Export | Use for | Contract | Working example |
|
|
120
120
|
| --- | --- | --- | --- |
|
|
121
|
-
| `SAuthLayout` | Centered or split page with one heading and optional branding | [Guide](../packages/auth/readme.md#sauthlayout) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
122
|
-
| `SLoginForm` | Email/password sign-in and remember choice | [Guide](../packages/auth/readme.md#sloginform) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
123
|
-
| `SRegisterForm` | Name, email, password, and confirmation | [Guide](../packages/auth/readme.md#sregisterform) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
124
|
-
| `SForgotPasswordForm` | Request a password reset link | [Guide](../packages/auth/readme.md#sforgotpasswordform) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
125
|
-
| `SResetPasswordForm` | Enter a new password and confirmation | [Guide](../packages/auth/readme.md#sresetpasswordform) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
126
|
-
| `SConfirmPasswordForm` | Confirm a password before an app action | [Guide](../packages/auth/readme.md#sconfirmpasswordform) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
127
|
-
| `STwoFactorForm` | Submit an authenticator code or a recovery code | [Guide](../packages/auth/readme.md#stwofactorform) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
128
|
-
| `SEmailVerification` | Verification instructions, resend, and sign-out actions | [Guide](../packages/auth/readme.md#semailverification) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
121
|
+
| `SAuthLayout` | Centered or split page with one heading and optional branding | [Guide](../packages/auth/readme.md#sauthlayout) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/auth/src/components/SAuthLayout.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/auth/src/App.vue) |
|
|
122
|
+
| `SLoginForm` | Email/password sign-in and remember choice | [Guide](../packages/auth/readme.md#sloginform) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/auth/src/components/SLoginForm.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/auth/src/AuthDemoForm.vue) |
|
|
123
|
+
| `SRegisterForm` | Name, email, password, and confirmation | [Guide](../packages/auth/readme.md#sregisterform) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/auth/src/components/SRegisterForm.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/auth/src/AuthDemoForm.vue) |
|
|
124
|
+
| `SForgotPasswordForm` | Request a password reset link | [Guide](../packages/auth/readme.md#sforgotpasswordform) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/auth/src/components/SForgotPasswordForm.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/auth/src/AuthDemoForm.vue) |
|
|
125
|
+
| `SResetPasswordForm` | Enter a new password and confirmation | [Guide](../packages/auth/readme.md#sresetpasswordform) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/auth/src/components/SResetPasswordForm.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/auth/src/AuthDemoForm.vue) |
|
|
126
|
+
| `SConfirmPasswordForm` | Confirm a password before an app action | [Guide](../packages/auth/readme.md#sconfirmpasswordform) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/auth/src/components/SConfirmPasswordForm.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/auth/src/AuthDemoForm.vue) |
|
|
127
|
+
| `STwoFactorForm` | Submit an authenticator code or a recovery code | [Guide](../packages/auth/readme.md#stwofactorform) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/auth/src/components/STwoFactorForm.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/auth/src/AuthDemoForm.vue) |
|
|
128
|
+
| `SEmailVerification` | Verification instructions, resend, and sign-out actions | [Guide](../packages/auth/readme.md#semailverification) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/auth/src/components/SEmailVerification.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/auth/src/AuthDemoForm.vue) |
|
|
129
129
|
|
|
130
|
-
## `@macmotp/sirius-ui-website`
|
|
130
|
+
## `@macmotp/sirius-ui-website`
|
|
131
131
|
|
|
132
|
-
Use website sections for public-facing pages. Import from `@macmotp/sirius-ui-website` and load `@macmotp/sirius-ui-website/style.css` alongside the core Vue stylesheet. The [website guide](../packages/website/readme.md) describes the
|
|
132
|
+
Use website sections for public-facing pages. Import from `@macmotp/sirius-ui-website` and load `@macmotp/sirius-ui-website/style.css` alongside the core Vue stylesheet. The [website guide](../packages/website/readme.md) describes the component and app boundaries.
|
|
133
133
|
|
|
134
|
-
For original studio compositions and section variations, see the [Sections showcase](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
134
|
+
For original studio compositions and section variations, see the [Sections showcase](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/pages/StudioSections.vue) and its [hero examples](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioHeroExamples.vue), [feature examples](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioFeatureExamples.vue), [CTA examples](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioCtaExamples.vue), [newsletter examples](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioNewsletterExamples.vue), [stats examples](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioStatsExamples.vue), [testimonial examples](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioTestimonialExamples.vue), [blog examples](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioBlogExamples.vue), [contact examples](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioContactExamples.vue), [team examples](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioTeamExamples.vue), and [footer example](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioFooterExamples.vue).
|
|
135
135
|
|
|
136
136
|
| Export | Use for | Contract | Working example |
|
|
137
137
|
| --- | --- | --- | --- |
|
|
138
|
-
| `SWebsiteLayout` | Skip link and main landmark with header/footer slots | [Guide](../packages/website/readme.md#swebsitelayout) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
139
|
-
| `SWebsiteHeader` | Desktop navigation and a mobile drawer | [Guide](../packages/website/readme.md#swebsiteheader) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
140
|
-
| `SWebsiteFooter` | Grouped footer links or centered navigation with app-owned social icons | [Guide](../packages/website/readme.md#swebsitefooter) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
141
|
-
| `SWebsiteHero` | Page introduction with actions and optional media | [Guide](../packages/website/readme.md#swebsitehero) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
142
|
-
| `SWebsiteSection` | Consistent content width, section heading, and contextual controls | [Guide](../packages/website/readme.md#swebsitesection) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
143
|
-
| `SWebsiteFeatures` | Icon columns, a 2 × 2 grid, or a feature list beside media | [Guide](../packages/website/readme.md#swebsitefeatures) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
144
|
-
| `SProjectCard` | Linked project preview and metadata | [Guide](../packages/website/readme.md#sprojectcard) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
145
|
-
| `SWebsiteCta` | Banner, simple, centered, gradient, or image call to action | [Guide](../packages/website/readme.md#swebsitecta) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
146
|
-
| `SWebsiteNewsletter` | Controlled email sign-up with details or a simple accent band | [Guide](../packages/website/readme.md#swebsitenewsletter) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
147
|
-
| `SWebsiteStats` | Joined stat tiles, a list beside imagery, or figures alongside supporting prose | [Guide](../packages/website/readme.md#swebsitestats) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
148
|
-
| `SWebsiteTestimonials` | Centered quotes, a quote beside imagery, or multiple partner quotes | [Guide](../packages/website/readme.md#swebsitetestimonials) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
149
|
-
| `SPricingCard` | Formatted plan prices, features, and app-owned selection controls | [Guide](../packages/website/readme.md#spricingcard) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
150
|
-
| `SWebsiteBlog` | Text columns, image columns, or a horizontal article list | [Guide](../packages/website/readme.md#swebsiteblog) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
151
|
-
| `SWebsiteContact` | Contact details beside an app-owned form, or a location grid | [Guide](../packages/website/readme.md#swebsitecontact) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
152
|
-
| `SWebsiteTeam` | Compact team profiles or a larger circular portrait grid | [Guide](../packages/website/readme.md#swebsiteteam) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
153
|
-
| `SArticleCard` | Linked editorial preview with category, date, and author | [Guide](../packages/website/readme.md#sarticlecard) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
138
|
+
| `SWebsiteLayout` | Skip link and main landmark with header/footer slots | [Guide](../packages/website/readme.md#swebsitelayout) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/website/src/components/SWebsiteLayout.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/App.vue) |
|
|
139
|
+
| `SWebsiteHeader` | Desktop navigation and a mobile drawer | [Guide](../packages/website/readme.md#swebsiteheader) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/website/src/components/SWebsiteHeader.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/App.vue) |
|
|
140
|
+
| `SWebsiteFooter` | Grouped footer links or centered navigation with app-owned social icons | [Guide](../packages/website/readme.md#swebsitefooter) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/website/src/components/SWebsiteFooter.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/App.vue) |
|
|
141
|
+
| `SWebsiteHero` | Page introduction with actions and optional media | [Guide](../packages/website/readme.md#swebsitehero) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/website/src/components/SWebsiteHero.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/pages/StudioHome.vue) |
|
|
142
|
+
| `SWebsiteSection` | Consistent content width, section heading, and contextual controls | [Guide](../packages/website/readme.md#swebsitesection) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/website/src/components/SWebsiteSection.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/pages/StudioProjects.vue) |
|
|
143
|
+
| `SWebsiteFeatures` | Icon columns, a 2 × 2 grid, or a feature list beside media | [Guide](../packages/website/readme.md#swebsitefeatures) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/website/src/components/SWebsiteFeatures.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioFeatureExamples.vue) |
|
|
144
|
+
| `SProjectCard` | Linked project preview and metadata | [Guide](../packages/website/readme.md#sprojectcard) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/website/src/components/SProjectCard.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioProjectGrid.vue) |
|
|
145
|
+
| `SWebsiteCta` | Banner, simple, centered, gradient, or image call to action | [Guide](../packages/website/readme.md#swebsitecta) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/website/src/components/SWebsiteCta.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/pages/StudioHome.vue) |
|
|
146
|
+
| `SWebsiteNewsletter` | Controlled email sign-up with details or a simple accent band | [Guide](../packages/website/readme.md#swebsitenewsletter) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/website/src/components/SWebsiteNewsletter.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioNewsletterExamples.vue) |
|
|
147
|
+
| `SWebsiteStats` | Joined stat tiles, a list beside imagery, or figures alongside supporting prose | [Guide](../packages/website/readme.md#swebsitestats) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/website/src/components/SWebsiteStats.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioStatsExamples.vue) |
|
|
148
|
+
| `SWebsiteTestimonials` | Centered quotes, a quote beside imagery, or multiple partner quotes | [Guide](../packages/website/readme.md#swebsitetestimonials) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/website/src/components/SWebsiteTestimonials.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioTestimonialExamples.vue) |
|
|
149
|
+
| `SPricingCard` | Formatted plan prices, features, and app-owned selection controls | [Guide](../packages/website/readme.md#spricingcard) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/website/src/components/SPricingCard.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/pages/StudioPricing.vue) |
|
|
150
|
+
| `SWebsiteBlog` | Text columns, image columns, or a horizontal article list | [Guide](../packages/website/readme.md#swebsiteblog) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/website/src/components/SWebsiteBlog.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioBlogExamples.vue) |
|
|
151
|
+
| `SWebsiteContact` | Contact details beside an app-owned form, or a location grid | [Guide](../packages/website/readme.md#swebsitecontact) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/website/src/components/SWebsiteContact.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioContactExamples.vue) |
|
|
152
|
+
| `SWebsiteTeam` | Compact team profiles or a larger circular portrait grid | [Guide](../packages/website/readme.md#swebsiteteam) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/website/src/components/SWebsiteTeam.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioTeamExamples.vue) |
|
|
153
|
+
| `SArticleCard` | Linked editorial preview with category, date, and author | [Guide](../packages/website/readme.md#sarticlecard) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/website/src/components/SArticleCard.vue) | [Demo](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioArticleGrid.vue) |
|
|
154
154
|
|
|
155
155
|
The website showcase includes a category menu with shareable `#sections/<category>` targets, plus the original homepage, services/process, portfolio, pricing, FAQ, enquiry, team, journal, CTA, and footer compositions. See [navigation and extension rules](../packages/website/readme.md#navigating-and-extending-the-section-showcase). Use shared app compositions for Acme content and public components for reusable UI.
|
|
156
156
|
|
|
157
|
-
## `@macmotp/sirius-ui-hospitality`
|
|
157
|
+
## `@macmotp/sirius-ui-hospitality`
|
|
158
158
|
|
|
159
159
|
Use this optional collection alongside the existing website or dashboard shell. It depends only on core/theme/Vue. Read [hospitality patterns](hospitality-patterns.md) and [component contracts](../packages/hospitality/readme.md). No availability, booking, or payment engine is included.
|
|
160
160
|
|
|
161
161
|
| Export | Use for | Contract | Working example |
|
|
162
162
|
| --- | --- | --- | --- |
|
|
163
|
-
| `SRoomCard` | Individual-room or room-type preview with independent actions | [Guide](../packages/hospitality/readme.md#sroomcard) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
164
|
-
| `SAmenityList` | Semantic list of room/property facilities | [Guide](../packages/hospitality/readme.md#samenitylist) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
165
|
-
| `SStaySearch` | Controlled date/guest input with basic range validation | [Guide](../packages/hospitality/readme.md#sstaysearch) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
166
|
-
| `SReservationSummary` | App-formatted stay context, lines, and total | [Guide](../packages/hospitality/readme.md#sreservationsummary) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
167
|
-
| `SPropertyLocation` | Property address/details with an optional provider-independent map slot | [Guide](../packages/hospitality/readme.md#spropertylocation) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
163
|
+
| `SRoomCard` | Individual-room or room-type preview with independent actions | [Guide](../packages/hospitality/readme.md#sroomcard) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/hospitality/src/components/SRoomCard.vue) | [Room grid](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/hospitality/src/components/HouseRoomGrid.vue) |
|
|
164
|
+
| `SAmenityList` | Semantic list of room/property facilities | [Guide](../packages/hospitality/readme.md#samenitylist) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/hospitality/src/components/SAmenityList.vue) | [Homepage](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/hospitality/src/pages/HouseHome.vue) |
|
|
165
|
+
| `SStaySearch` | Controlled date/guest input with basic range validation | [Guide](../packages/hospitality/readme.md#sstaysearch) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/hospitality/src/components/SStaySearch.vue) | [Room search](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/hospitality/src/pages/HouseRooms.vue) |
|
|
166
|
+
| `SReservationSummary` | App-formatted stay context, lines, and total | [Guide](../packages/hospitality/readme.md#sreservationsummary) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/hospitality/src/components/SReservationSummary.vue) | [Summary wrapper](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/hospitality/src/components/HouseStaySummary.vue) |
|
|
167
|
+
| `SPropertyLocation` | Property address/details with an optional provider-independent map slot | [Guide](../packages/hospitality/readme.md#spropertylocation) · [Source](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/packages/hospitality/src/components/SPropertyLocation.vue) | [Location page](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/hospitality/src/pages/HouseLocation.vue) |
|
|
168
168
|
|
|
169
169
|
Date-only helpers `stayDateValue` and `stayNights` are also exported. Their contract excludes property policies and inventory decisions. The Acme House preview is enquiry-led and uses explicitly illustrative local estimates, with no outbound booking requests.
|
|
@@ -9,7 +9,7 @@ Use these patterns with the [agent guide](agent-guide.md) and [component catalog
|
|
|
9
9
|
3. Give the layout's main landmark the page title through `mainLabelledby`. Use the shell header or `SDashboardPageHeader` in the body as the single `h1`.
|
|
10
10
|
4. Use `SDialog` for search, `SPopover` for the account panel, and `SDrawer` for notifications. Keep results, unread state, and action handlers in the app.
|
|
11
11
|
|
|
12
|
-
See the [Acme shell](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
12
|
+
See the [Acme shell](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/App.vue), [navigation](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/components/DemoNavigation.vue), [search](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/components/DemoSearch.vue), and [shell contract](../packages/dashboard/readme.md#contract).
|
|
13
13
|
|
|
14
14
|
## Server-driven table
|
|
15
15
|
|
|
@@ -22,14 +22,34 @@ Use this pattern when a server owns filtering, sorting, and pagination. Start wi
|
|
|
22
22
|
5. For page-scoped bulk actions, add a selection column with `SCheckbox` in the table's `header` and `cell` slots. Bind them to app-owned IDs and set the header's `indeterminate` prop for partial selection. Clear selection when the response changes. Label the scope, disable actions during requests, and use `SDropdown` for bulk actions and `SDialog` to confirm a mutation. Authorize and validate IDs on the server.
|
|
23
23
|
6. Show loading, empty, and error states. Keep retry available on failure. Refresh the issued query after a mutation, and distinguish a failed refresh from a failed mutation. Export only the rows your UI promises. Use a backend export endpoint for all matching rows.
|
|
24
24
|
|
|
25
|
-
Follow the [Orders page](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
25
|
+
Follow the [Orders page](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/components/DemoOrders.vue), [table wrapper](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/components/orders/DemoOrdersTable.vue), [filter form](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/components/orders/DemoOrderFilters.vue), [request controller](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/composables/useDemoOrders.ts), and [selection controller](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/composables/useOrderSelection.ts). The [Overview table card](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/components/orders/DemoOrdersPreview.vue) shows the same request pattern with fewer columns and its own page size. The [100-page example](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/LargePaginationShowcase.vue) demonstrates compact server-supplied links.
|
|
26
|
+
|
|
27
|
+
## Dashboard action hierarchy
|
|
28
|
+
|
|
29
|
+
Use one solid primary action per action group, such as **Apply filters** in the filter drawer or **Save changes** in settings. Use outline or ghost for secondary actions such as opening filters, cancelling, or discarding edits. Keep Save and Discard disabled while the form matches the saved values. See the [button accessibility contract](../packages/vue/readme.md#accessibility-and-loading) when choosing solid colors.
|
|
30
|
+
|
|
31
|
+
Place compact period selectors next to the overview title or date summary. `SSelect` fills its container, so constrain its width for toolbar use. The parent can wrap at narrow widths. For apps using the compiled CSS without Tailwind, a style on the select wrapper works directly.
|
|
32
|
+
|
|
33
|
+
```vue
|
|
34
|
+
<SDashboardPageHeader title="Overview" :description="dateSummary">
|
|
35
|
+
<template #actions>
|
|
36
|
+
<SSelect
|
|
37
|
+
v-model="period"
|
|
38
|
+
:options="periodOptions"
|
|
39
|
+
aria-label="Sales reporting period"
|
|
40
|
+
size="sm"
|
|
41
|
+
style="inline-size: 10rem; max-inline-size: 100%"
|
|
42
|
+
/>
|
|
43
|
+
</template>
|
|
44
|
+
</SDashboardPageHeader>
|
|
45
|
+
```
|
|
26
46
|
|
|
27
47
|
## Other page compositions
|
|
28
48
|
|
|
29
49
|
| Page | Composition | App responsibility | Reference |
|
|
30
50
|
| --- | --- | --- | --- |
|
|
31
|
-
| Overview | Summary cards, a chart card, and a pageable table preview | Decide what to summarize and request each preview's data | [DemoOverview](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
32
|
-
| Cards | `SGrid` with metric cards, user cards, utility cards, people lists, and timelines | Supply metric units and comparisons, user actions, and activity records | [DemoCards](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
33
|
-
| Calendar | Date navigation, month grid, day/week schedule, and an `SDialog` event form | Own dates, time zone, event records, and persistence. The grids are Acme components under `apps/dashboard` | [DemoCalendar](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
34
|
-
| Charts | `SCard` and optional charts with period or series controls | Fetch, order, and aggregate observations. Supply units and loading or error state | [DemoCharts](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
35
|
-
| Settings | `STabs` and labelled controls in an `SForm`, with save and discard actions | Own the draft, saved snapshot, validation, persistence, and appearance preferences | [DemoSettings](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
51
|
+
| Overview | Summary cards, a chart card, and a pageable table preview | Decide what to summarize and request each preview's data | [DemoOverview](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/components/DemoOverview.vue) |
|
|
52
|
+
| Cards | `SGrid` with metric cards, user cards, utility cards, people lists, and timelines | Supply metric units and comparisons, user actions, and activity records | [DemoCards](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/components/DemoCards.vue) · [DemoActivityCards](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/components/DemoActivityCards.vue) |
|
|
53
|
+
| Calendar | Date navigation, month grid, day/week schedule, and an `SDialog` event form | Own dates, time zone, event records, and persistence. The grids are Acme components under `apps/dashboard` | [DemoCalendar](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/components/DemoCalendar.vue) · [DemoAddEvent](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/components/calendar/DemoAddEvent.vue) |
|
|
54
|
+
| Charts | `SCard` and optional charts with period or series controls | Fetch, order, and aggregate observations. Supply units and loading or error state | [DemoCharts](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/components/DemoCharts.vue) · [Chart contracts](../packages/charts/readme.md) |
|
|
55
|
+
| Settings | `STabs` and labelled controls in an `SForm`, with save and discard actions | Own the draft, saved snapshot, validation, persistence, and appearance preferences | [DemoSettings](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/components/DemoSettings.vue) · [Settings state](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/dashboard/src/composables/useDemoSettings.ts) |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# SiriusUI hospitality patterns
|
|
2
2
|
|
|
3
|
-
Use the [agent guide](agent-guide.md), [website patterns](website-patterns.md), and [hospitality contracts](../packages/hospitality/readme.md). Hospitality
|
|
3
|
+
Use the [agent guide](agent-guide.md), [website patterns](website-patterns.md), and [hospitality contracts](../packages/hospitality/readme.md). Hospitality joins the npm alpha channel at `0.1.0-alpha.5`. It supplies presentation components, not a property-management or booking engine.
|
|
4
4
|
|
|
5
5
|
## Package composition
|
|
6
6
|
|
|
@@ -38,7 +38,7 @@ For a small B&B, three room cards may each describe one physical room. For a hot
|
|
|
38
38
|
6. Bind guest forms to app-owned drafts and handle the required request. Focus meaningful errors and announce the actual outcome. Do not clear a draft or show success after a failed request.
|
|
39
39
|
7. Treat a local preview as a preview. It must not simulate a successful reservation/payment or send to an invented endpoint.
|
|
40
40
|
|
|
41
|
-
The [Acme controller](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
41
|
+
The [Acme controller](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/hospitality/src/App.vue), [example rules/estimates](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/hospitality/src/stay.ts), and [enquiry page](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/hospitality/src/pages/HouseEnquiry.vue) illustrate these boundaries without contacting a booking service.
|
|
42
42
|
|
|
43
43
|
## Public preview routes
|
|
44
44
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# SiriusUI package map
|
|
2
|
+
|
|
3
|
+
Choose the package that owns the surface you are building. Start with the shared Vue controls, then add each collection only where the app needs its templates or components.
|
|
4
|
+
|
|
5
|
+
Package names below use the `@macmotp/` scope. Install published libraries with `@alpha`, for example `npm install @macmotp/sirius-ui-dashboard@alpha`. For styles and component APIs, follow the package guide.
|
|
6
|
+
|
|
7
|
+
| Package | Use it for | Availability |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| [sirius-ui-theme](../packages/theme/readme.md) | CSS tokens, light and dark palettes, and Tailwind utilities. Add it directly when your app imports the theme itself | npm alpha |
|
|
10
|
+
| [sirius-ui-vue](../packages/vue/readme.md) | Shared controls and layout primitives such as buttons, forms, tables, dialogs, grids, accordions, and galleries | npm alpha |
|
|
11
|
+
| [sirius-ui-dashboard](../packages/dashboard/readme.md) | Admin areas and authenticated workspaces with navigation, metrics, and activity views | npm alpha |
|
|
12
|
+
| [sirius-ui-auth](../packages/auth/readme.md) | Sign-in, registration, password recovery, and verification screens | npm alpha |
|
|
13
|
+
| [sirius-ui-charts](../packages/charts/readme.md) | Line, bar, donut, and sparkline charts on any surface | npm alpha |
|
|
14
|
+
| [sirius-ui-website](../packages/website/readme.md) | Public sites with navigation, landing pages, portfolios, content, FAQs, policy pages, and general contact | npm alpha from `0.1.0-alpha.5` |
|
|
15
|
+
| [sirius-ui-hospitality](../packages/hospitality/readme.md) | Room listings, property location, stay search, and reservation summaries for guest journeys | npm alpha from `0.1.0-alpha.5` |
|
|
16
|
+
| Ecommerce | Storefront product listings, product details, and cart UI | Planned as a separate package |
|
|
17
|
+
|
|
18
|
+
## Compose across packages
|
|
19
|
+
|
|
20
|
+
- **Hotel or B&B.** Use Website for the public shell, FAQ, policies, and general contact. Add Hospitality for rooms, stay search, and enquiry or booking presentation. The app supplies property policies, inventory, rates, and request handlers.
|
|
21
|
+
- **Product site and customer portal.** Use Website for public content, Dashboard for the signed-in workspace, and Auth for account access. Add Charts where the portal needs data visualization.
|
|
22
|
+
- **Storefront and store admin.** Use Website for store information and Dashboard for the admin. Storefront-specific templates belong in the future Ecommerce package. Until it ships, build the catalog and cart in the consuming app with existing primitives.
|
|
23
|
+
|
|
24
|
+
Each shared template has one owning package. Reuse it by composing packages at the app level. The core package bundles this map and links to the other guides. Install only the library or template collection you use. See the [component catalog](component-catalog.md) for specific exports and the [agent guide](agent-guide.md) for composition rules.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# SiriusUI website patterns
|
|
2
2
|
|
|
3
|
-
Use this guide with the [agent entry point](agent-guide.md), [catalog](component-catalog.md#
|
|
3
|
+
Use this guide with the [agent entry point](agent-guide.md), [catalog](component-catalog.md#macmotpsirius-ui-website), and [website contracts](../packages/website/readme.md). Website joins the npm alpha channel at `0.1.0-alpha.5`.
|
|
4
4
|
|
|
5
5
|
## Choose a section
|
|
6
6
|
|
|
@@ -107,7 +107,7 @@ SWebsiteSection accepts headingLevel 2–4. SProjectCard and SPricingCard accept
|
|
|
107
107
|
|
|
108
108
|
## Forms and requests
|
|
109
109
|
|
|
110
|
-
SWebsiteContact frames an app-owned form. Compose SForm, SField, SInput, SSelect, and STextarea there rather than assuming a fixed shared contact schema. Reuse the [original enquiry composition](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
110
|
+
SWebsiteContact frames an app-owned form. Compose SForm, SField, SInput, SSelect, and STextarea there rather than assuming a fixed shared contact schema. Reuse the [original enquiry composition](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioEnquirySection.vue) as a wiring reference, or the [smaller split-form example](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioContactForm.vue). Keep request logic, schema, validation, consent, processing guards, error focus, and completion announcements in the consuming app. Neither demo sends a message.
|
|
111
111
|
|
|
112
112
|
SWebsiteNewsletter emits a trimmed address and disables its controls when processing. It does not call a service. This complete wrapper delegates the actual request to a required application callback:
|
|
113
113
|
|
|
@@ -159,16 +159,16 @@ The original studio layouts are composed from the same public components. The de
|
|
|
159
159
|
|
|
160
160
|
| Original pattern | Reference |
|
|
161
161
|
| --- | --- |
|
|
162
|
-
| Homepage hero and featured work | [StudioHomeHero](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
163
|
-
| Numbered services and process | [StudioServices](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
164
|
-
| Portfolio grid | [StudioProjectGrid](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
165
|
-
| Conversation banner | [StudioConversationCta](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
166
|
-
| Illustrated journal cards | [StudioArticleGrid](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
167
|
-
| Project enquiry | [StudioEnquirySection](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
168
|
-
| Team cards | [StudioTeamCards](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
169
|
-
| Partnership plans | [StudioPricingPlans](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
170
|
-
| Grouped questions | [StudioFaqGroups](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
171
|
-
| Grouped footer | [StudioSiteFooter](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
162
|
+
| Homepage hero and featured work | [StudioHomeHero](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioHomeHero.vue) |
|
|
163
|
+
| Numbered services and process | [StudioServices](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioServices.vue) · [StudioProcessSteps](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioProcessSteps.vue) |
|
|
164
|
+
| Portfolio grid | [StudioProjectGrid](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioProjectGrid.vue) |
|
|
165
|
+
| Conversation banner | [StudioConversationCta](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioConversationCta.vue) |
|
|
166
|
+
| Illustrated journal cards | [StudioArticleGrid](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioArticleGrid.vue) |
|
|
167
|
+
| Project enquiry | [StudioEnquirySection](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioEnquirySection.vue) · [StudioEnquiryForm](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioEnquiryForm.vue) |
|
|
168
|
+
| Team cards | [StudioTeamCards](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioTeamCards.vue) |
|
|
169
|
+
| Partnership plans | [StudioPricingPlans](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioPricingPlans.vue) |
|
|
170
|
+
| Grouped questions | [StudioFaqGroups](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioFaqGroups.vue) |
|
|
171
|
+
| Grouped footer | [StudioSiteFooter](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioSiteFooter.vue) |
|
|
172
172
|
|
|
173
173
|
Use these files to understand composition. Build the consuming project’s own branding/data wrapper around public exports; do not add imports from the demo app to a production project. Keep model, event, slot, keyboard, and focus contracts intact.
|
|
174
174
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @macmotp/sirius-ui-auth
|
|
2
2
|
|
|
3
|
-
Initial authentication templates for Vue 3.5, composed from Sirius primitives. Release preparation targets `0.1.0-alpha.
|
|
3
|
+
Initial authentication templates for Vue 3.5, composed from Sirius primitives. Release preparation targets `0.1.0-alpha.5`. After publication, install with `yarn add @macmotp/sirius-ui-auth@alpha`.
|
|
4
4
|
|
|
5
5
|
For installed agents, the catalog and package guides are bundled at `node_modules/@macmotp/sirius-ui-auth/dist/docs/readme.md`.
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @macmotp/sirius-ui-charts
|
|
2
2
|
|
|
3
|
-
Release preparation targets `0.1.0-alpha.
|
|
3
|
+
Release preparation targets `0.1.0-alpha.5`. After publication, install with `yarn add @macmotp/sirius-ui-charts@alpha`. Vue components require Vue 3.5 or newer in the Vue 3 line.
|
|
4
4
|
|
|
5
5
|
For agents using an installed package, start at `node_modules/@macmotp/sirius-ui-charts/dist/docs/readme.md`. It contains the component catalog, usage guides, and dashboard patterns for this version.
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @macmotp/sirius-ui-dashboard
|
|
2
2
|
|
|
3
|
-
Release preparation targets `0.1.0-alpha.
|
|
3
|
+
Release preparation targets `0.1.0-alpha.5`. After publication, install with `yarn add @macmotp/sirius-ui-dashboard@alpha`. Vue components require Vue 3.5 or newer in the Vue 3 line.
|
|
4
4
|
|
|
5
5
|
For agents using an installed package, start at `node_modules/@macmotp/sirius-ui-dashboard/dist/docs/readme.md`. It contains the component catalog, usage guides, and dashboard patterns for this version.
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @macmotp/sirius-ui-hospitality
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Reusable presentation for individual-room B&Bs and room-type hotel inventories. Depends on Vue, core Sirius components, and the theme; it does not depend on the website or dashboard package. Consuming apps combine these components with either shell.
|
|
4
4
|
|
|
5
5
|
The application/backend owns availability, room inventory, rate rules, minimum stays, payments, booking/enquiry status, permissions, and persistence. This package does not make reservations or imply that a displayed room is available.
|
|
6
6
|
|
|
@@ -8,7 +8,7 @@ The application/backend owns availability, room inventory, rate rules, minimum s
|
|
|
8
8
|
|
|
9
9
|
Import named exports from `@macmotp/sirius-ui-hospitality`. Import `@macmotp/sirius-ui-vue/style.css` and `@macmotp/sirius-ui-hospitality/style.css` once in the app entry. Add website/dashboard styles only when the app uses those collections. Compiled styles include theme tokens and component utilities without Preflight. The app owns resets, font loading, appearance, and its icon mapping.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Hospitality joins npm at `0.1.0-alpha.5`. Once the release is live, install with `npm install @macmotp/sirius-ui-hospitality@alpha`. The public preview runs with `npm run dev:hospitality` at http://127.0.0.1:5300. See [hospitality patterns](../../docs/hospitality-patterns.md) and the [agent guide](../../docs/agent-guide.md) before composing an app.
|
|
12
12
|
|
|
13
13
|
## SRoomCard
|
|
14
14
|
|
|
@@ -57,7 +57,7 @@ It does not search inventory, select room units, enforce minimum-night/rate rule
|
|
|
57
57
|
<SStaySearch v-model="stayDraft" :min-date="propertyToday" :processing="processing" :error="searchError" @submit="searchAvailability" />
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
-
The app supplies the model, property-local date, request state, and handler. See [HouseHome](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
60
|
+
The app supplies the model, property-local date, request state, and handler. See [HouseHome](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/hospitality/src/pages/HouseHome.vue), [HouseRooms](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/hospitality/src/pages/HouseRooms.vue), and the [app controller](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/hospitality/src/App.vue).
|
|
61
61
|
|
|
62
62
|
## Date-only utilities
|
|
63
63
|
|
|
@@ -88,7 +88,7 @@ The app owns example capacity filtering, rates, party/stay limits, labels, total
|
|
|
88
88
|
|
|
89
89
|
The gallery and room detail reuse core SImageGallery with named photo buttons, explicit navigation, and inherited modal focus behavior. Gallery category filters belong to the app. Location composes SPropertyLocation with an app-owned illustrative map; no real coordinates or navigation destination are supplied. Enquiry validation focuses field errors. A successful preview explicitly states that nothing was sent, paid, or reserved. Guest drafts remain in app memory during route changes and are not persisted, logged, or sent. There is no checkout, payment integration, inventory locking, backend account, or admin application in this phase.
|
|
90
90
|
|
|
91
|
-
Photographs are stored locally with [source credits](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
91
|
+
Photographs are stored locally with [source credits](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/hospitality/photo-credits.md). They illustrate a fictional concept rather than an actual property. Agents should replace the content, rates, imagery, and endpoints with project-specific data instead of presenting demo claims as facts.
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
## SPropertyLocation
|
|
@@ -104,4 +104,4 @@ A property location section that can accept a map without choosing a provider.
|
|
|
104
104
|
| `#map` | Optional app-owned map, iframe, static image, or placeholder; without it the section uses a single column |
|
|
105
105
|
| `#default` / `#actions` | Supporting content and app-owned links/buttons |
|
|
106
106
|
|
|
107
|
-
The section has a unique heading association and stacks on narrow screens, placing map and details side by side from 64rem. It owns no model, events, location lookup, coordinates, directions, or external requests. Give embedded maps a meaningful iframe title and an accessible alternative address/directions link. The app chooses its provider, consent/loading behavior and verified property details. Never create a real-looking address or directions URL for a fictional property. See [HouseLocation](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
107
|
+
The section has a unique heading association and stacks on narrow screens, placing map and details side by side from 64rem. It owns no model, events, location lookup, coordinates, directions, or external requests. Give embedded maps a meaningful iframe title and an accessible alternative address/directions link. The app chooses its provider, consent/loading behavior and verified property details. Never create a real-looking address or directions URL for a fictional property. See [HouseLocation](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/hospitality/src/pages/HouseLocation.vue).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @macmotp/sirius-ui-theme
|
|
2
2
|
|
|
3
|
-
Release preparation targets `0.1.0-alpha.
|
|
3
|
+
Release preparation targets `0.1.0-alpha.5`. After publication, install with `yarn add @macmotp/sirius-ui-theme@alpha`.
|
|
4
4
|
|
|
5
5
|
For agents using an installed package, start at `node_modules/@macmotp/sirius-ui-theme/dist/docs/readme.md`. It contains the component catalog, usage guides, and dashboard patterns for this version.
|
|
6
6
|
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
# @macmotp/sirius-ui-vue
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
For the published `0.1.0-alpha.5` release, install with `yarn add @macmotp/sirius-ui-vue@alpha`. Vue components require Vue 3.5 or newer in the Vue 3 line.
|
|
4
4
|
|
|
5
5
|
For agents using an installed package, start at `node_modules/@macmotp/sirius-ui-vue/dist/docs/readme.md`. It contains the component catalog, usage guides, and dashboard patterns for this version.
|
|
6
6
|
|
|
7
|
+
## Choose a template package
|
|
8
|
+
|
|
9
|
+
The [package map](https://github.com/macmotp/sirius-ui/blob/main/docs/package-map.md) lists the use cases and availability of each companion package. In the installed bundle, open `dist/docs/docs/package-map.md`. Keep shared controls in core and install the collection that owns the template you need.
|
|
10
|
+
|
|
7
11
|
Reusable Vue 3 components and composables styled with the SiriusUI theme. `SButton`, `SForm`, `SField`, `SInput`, `STextarea`, `SSelect`, `SCheckbox`, `SRadio`, `SSwitch`, `SGrid`, `SCard`, `SBadge`, `SAlert`, `SDialog`, `STagsInput`, `SCombobox`, `SDropdown`, `STabs`, `STooltip`, `SAvatar`, `SSkeleton`, `SDivider`, `SEmptyState`, `SDrawer`, `SAccordion`, `SBreadcrumbs`, `STable`, `SPagination`, `SToast`, `SToaster`, `SProgress`, `SPopover`, `SFileUpload`, `SCopyButton`, and `SImageGallery` are implemented.
|
|
8
12
|
|
|
9
13
|
The package exports ES modules, TypeScript declarations, and compiled CSS without Preflight.
|
|
@@ -102,7 +106,7 @@ Disabled or loading links render a `span` with `role="link"`, `aria-disabled="tr
|
|
|
102
106
|
|
|
103
107
|
### Icons
|
|
104
108
|
|
|
105
|
-
|
|
109
|
+
The loading spinner uses the semantic `loading` icon. Configure it with `createSiriusIcons` or `provideSiriusIcons`, or use the built-in fallback glyph. Supply decorative icons through the `leading` and `trailing` slots. The library does not require an icon package.
|
|
106
110
|
|
|
107
111
|
### Accessibility and loading
|
|
108
112
|
|
|
@@ -266,7 +270,7 @@ Public types: `STextareaProps`, `STextareaSize`, `STextareaResize`.
|
|
|
266
270
|
|
|
267
271
|
### SSelect
|
|
268
272
|
|
|
269
|
-
A native **single-select** with full control rounding and the same input styling, size scale, focus colors, and validation states. Its decorative
|
|
273
|
+
A native **single-select** with full control rounding and the same input styling, size scale, focus colors, and validation states. Its decorative `chevronDown` icon does not intercept clicks. Browser and operating-system behavior determine the popup menu's rendering and keyboard interactions.
|
|
270
274
|
|
|
271
275
|
| Prop | Values | Default |
|
|
272
276
|
| --- | --- | --- |
|
|
@@ -445,7 +449,7 @@ npm run check
|
|
|
445
449
|
|
|
446
450
|
The first command serves the playground with live updates. The second checks workspace types, builds the packages and playground, and runs theme and component tests.
|
|
447
451
|
|
|
448
|
-
See [the contributor guide](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
452
|
+
See [the contributor guide](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/CONTRIBUTING.md), [architecture](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/docs/architecture.md), and [theme guide](../theme/readme.md).
|
|
449
453
|
|
|
450
454
|
|
|
451
455
|
## SGrid
|
|
@@ -526,7 +530,7 @@ const visible = ref(true)
|
|
|
526
530
|
| Prop | Default | Purpose |
|
|
527
531
|
| --- | --- | --- |
|
|
528
532
|
| `title` | Unset | Optional title text; the title slot overrides it |
|
|
529
|
-
| `icon` | `true` | Show the color's
|
|
533
|
+
| `icon` | `true` | Show the color's semantic icon or custom icon slot |
|
|
530
534
|
| `dismissible` | `false` | Show a native button that closes the alert |
|
|
531
535
|
| `dismissLabel` | `Dismiss alert` | Accessible dismiss button name; localize as needed |
|
|
532
536
|
| `role` | `status` | Polite status announcement; choose `alert` explicitly for urgent messages |
|
|
@@ -754,7 +758,7 @@ A passive image/initials/icon representation using the accent's soft fill and fo
|
|
|
754
758
|
<SAvatar src="/avatars/alex.jpg" alt="" />
|
|
755
759
|
```
|
|
756
760
|
|
|
757
|
-
Initials use the first letters of the first and last name, or one letter for a single-word name. Explicit initials override this and are limited to two Unicode code points before uppercasing. Missing initials use
|
|
761
|
+
Initials use the first letters of the first and last name, or one letter for a single-word name. Explicit initials override this and are limited to two Unicode code points before uppercasing. Missing initials use the decorative `user` icon. The `fallback({ initials })` slot replaces the fallback with non-interactive content.
|
|
758
762
|
|
|
759
763
|
Fallback content remains visible while an image loads and returns if loading fails. A changed src resets load/error state and retries; removing src shows the fallback. Original native `load` and `error` Events are emitted. No image URLs are fetched by the component outside the normal native image element.
|
|
760
764
|
|
|
@@ -792,7 +796,7 @@ Vertical separators stretch within a flex/grid row with a minimum height of 1.5r
|
|
|
792
796
|
|
|
793
797
|
## SEmptyState
|
|
794
798
|
|
|
795
|
-
A layout for empty content with a descriptive heading and optional actions. Props: `title` (default “Nothing here yet”), `description`, `icon` (Vue component,
|
|
799
|
+
A layout for empty content with a descriptive heading and optional actions. Props: `title` (default “Nothing here yet”), `description`, `icon` (Vue component, defaults to the semantic `inbox` icon; false hides it), and `headingLevel` (2–6, default 3). It supplies spacing and text styles without an automatic card background or live-region role.
|
|
796
800
|
|
|
797
801
|
```vue
|
|
798
802
|
<SEmptyState title="No projects yet" description="Create a project to get started." :icon="Folder">
|
|
@@ -831,7 +835,7 @@ Items have a unique string `value`, `label`, optional `content` and `disabled`.
|
|
|
831
835
|
|
|
832
836
|
## Internal Vue conventions
|
|
833
837
|
|
|
834
|
-
Components use Vue 3.5 template refs and shallow refs for primitive local state. Dialog and drawer share an internal native-modal lifecycle composable; their public props, events, slots and styles are unchanged. Lifecycle regression tests cover independent instances, reopening during exit and pending-timer cleanup on unmount. See [architecture](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
838
|
+
Components use Vue 3.5 template refs and shallow refs for primitive local state. Dialog and drawer share an internal native-modal lifecycle composable; their public props, events, slots and styles are unchanged. Lifecycle regression tests cover independent instances, reopening during exit and pending-timer cleanup on unmount. See [architecture](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/docs/architecture.md) and the installed Vue workflow for implementation guidance.
|
|
835
839
|
|
|
836
840
|
## SBreadcrumbs
|
|
837
841
|
|
|
@@ -1189,4 +1193,4 @@ A responsive thumbnail list with a larger photo viewer, composed from SDialog. I
|
|
|
1189
1193
|
|
|
1190
1194
|
The app supplies records and owns filtering, media rights, URLs, and loading failures. Thumbnail images have empty alt because their buttons are named from each record’s label; the larger image uses the supplied meaningful alt. Empty collections announce a status. There are no custom slots, models, emitted events, uploads, automatic slide changes, or photo fetching APIs.
|
|
1191
1195
|
|
|
1192
|
-
Opening takes a shallow snapshot of the current records, so filtering/replacing the underlying list does not change the open viewer. Previous/next buttons stop at the collection boundaries. Closing and reopening picks up current props. The native modal inherits SDialog focus containment, Escape/backdrop dismissal and focus restoration; if the originating thumbnail was removed, focus falls back to the gallery list. Localize labels and the position formatter together. Supply short labels, meaningful image alternatives and real intrinsic dimensions. See the [playground example](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
1196
|
+
Opening takes a shallow snapshot of the current records, so filtering/replacing the underlying list does not change the open viewer. Previous/next buttons stop at the collection boundaries. Closing and reopening picks up current props. The native modal inherits SDialog focus containment, Escape/backdrop dismissal and focus restoration; if the originating thumbnail was removed, focus falls back to the gallery list. Localize labels and the position formatter together. Supply short labels, meaningful image alternatives and real intrinsic dimensions. See the [playground example](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/playground/src/components/ImageGalleryShowcase.vue) and [hospitality Gallery page](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/hospitality/src/pages/HousePhotos.vue).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Website framing and content sections composed with SiriusUI. The private preview has Home, About, Projects, Project detail, Contact, Services, Service detail, Pricing, FAQ, Blog, and Article pages in `apps/website`, under the fictional Acme Studio brand.
|
|
4
4
|
|
|
5
|
-
For agents building an application, start with the [agent guide](../../docs/agent-guide.md) and [website patterns](../../docs/website-patterns.md).
|
|
5
|
+
For agents building an application, start with the [agent guide](../../docs/agent-guide.md) and [website patterns](../../docs/website-patterns.md). Website joins npm at `0.1.0-alpha.5`. Once the release is live, install with `npm install @macmotp/sirius-ui-website@alpha`.
|
|
6
6
|
|
|
7
7
|
## Setup
|
|
8
8
|
|
|
@@ -81,7 +81,7 @@ Desktop navigation appears from 64rem. Below that breakpoint, the trigger opens
|
|
|
81
81
|
</SWebsiteFooter>
|
|
82
82
|
```
|
|
83
83
|
|
|
84
|
-
The consuming app owns footerLinks, socialLinks, and socialIcons. See [the centered footer example](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
84
|
+
The consuming app owns footerLinks, socialLinks, and socialIcons. See [the centered footer example](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioFooterExamples.vue). The main demo footer retains the default columns layout.
|
|
85
85
|
|
|
86
86
|
## SWebsiteHero
|
|
87
87
|
|
|
@@ -127,7 +127,7 @@ Each instance generates a unique heading ID to name its section. Features use a
|
|
|
127
127
|
</SWebsiteFeatures>
|
|
128
128
|
```
|
|
129
129
|
|
|
130
|
-
The consuming app supplies `features` and `featureIcons`. See [the four feature examples](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
130
|
+
The consuming app supplies `features` and `featureIcons`. See [the four feature examples](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioFeatureExamples.vue) for complete data and an image composition.
|
|
131
131
|
|
|
132
132
|
## SProjectCard
|
|
133
133
|
|
|
@@ -153,7 +153,7 @@ The consuming app supplies `features` and `featureIcons`. See [the four feature
|
|
|
153
153
|
</SWebsiteCta>
|
|
154
154
|
```
|
|
155
155
|
|
|
156
|
-
See [the CTA examples](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
156
|
+
See [the CTA examples](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioCtaExamples.vue) for all four additional layouts.
|
|
157
157
|
|
|
158
158
|
## SWebsiteNewsletter
|
|
159
159
|
|
|
@@ -183,7 +183,7 @@ The email input uses native `type=email`, required, email autocomplete, and a un
|
|
|
183
183
|
</SWebsiteNewsletter>
|
|
184
184
|
```
|
|
185
185
|
|
|
186
|
-
The consuming app owns email, processing, error, status, and the subscribe handler. The [newsletter examples](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
186
|
+
The consuming app owns email, processing, error, status, and the subscribe handler. The [newsletter examples](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioNewsletterExamples.vue) keep both models independent and demonstrate a local-only completion message without contacting a subscription service.
|
|
187
187
|
|
|
188
188
|
## SWebsiteStats
|
|
189
189
|
|
|
@@ -210,7 +210,7 @@ Each section has a unique associated heading ID. Each statistic pairs a dt label
|
|
|
210
210
|
]" />
|
|
211
211
|
```
|
|
212
212
|
|
|
213
|
-
See [the three stats examples](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
213
|
+
See [the three stats examples](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioStatsExamples.vue) for image and longer-copy compositions. Demo statistics are explicitly illustrative figures for the fictional Acme Studio.
|
|
214
214
|
|
|
215
215
|
## SWebsiteTestimonials
|
|
216
216
|
|
|
@@ -237,7 +237,7 @@ Supply quote text without surrounding quotation marks; the component adds them a
|
|
|
237
237
|
</SWebsiteTestimonials>
|
|
238
238
|
```
|
|
239
239
|
|
|
240
|
-
See [the three testimonial examples](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
240
|
+
See [the three testimonial examples](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioTestimonialExamples.vue). Demo quotes, companies, and speakers are fictional; avatars use placeholder initials. The image example uses an existing locally stored studio photograph with attribution.
|
|
241
241
|
|
|
242
242
|
## SPricingCard
|
|
243
243
|
|
|
@@ -281,7 +281,7 @@ Columns and images use one column below 64rem and three columns above it. List s
|
|
|
281
281
|
<SWebsiteBlog title="From the journal" :posts="posts" variant="images" />
|
|
282
282
|
```
|
|
283
283
|
|
|
284
|
-
See [the three blog examples](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
284
|
+
See [the three blog examples](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioBlogExamples.vue), which reuse actual demo journal destinations and original app-owned cover artwork. Category links open the journal, author links open the studio page, and the consuming app owns any specific category/author routes.
|
|
285
285
|
|
|
286
286
|
## SWebsiteContact
|
|
287
287
|
|
|
@@ -308,7 +308,7 @@ This component owns no form schema, models, emitted events, requests, or validat
|
|
|
308
308
|
</SWebsiteContact>
|
|
309
309
|
```
|
|
310
310
|
|
|
311
|
-
See [the contact examples](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
311
|
+
See [the contact examples](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioContactExamples.vue) and their [app-owned form](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioContactForm.vue). The form uses native required/email constraints plus whitespace checks, associated field errors, a live summary, focus on the first invalid field, and an explicitly local-only completion message. It does not send requests. All shown addresses and contact details are fictional placeholders.
|
|
312
312
|
|
|
313
313
|
## SWebsiteTeam
|
|
314
314
|
|
|
@@ -333,7 +333,7 @@ The section has a unique associated heading and uses a native list. Member links
|
|
|
333
333
|
]" />
|
|
334
334
|
```
|
|
335
335
|
|
|
336
|
-
See [the two team examples](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
336
|
+
See [the two team examples](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/src/components/StudioTeamExamples.vue), with six compact profiles and twelve round portraits. Names and roles are fictional and do not identify the photographed people. The app stores resized reference photos locally, with source URLs in [photo credits](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/apps/website/photo-credits.md). Demo profile links open the existing studio page.
|
|
337
337
|
|
|
338
338
|
## Composition and demo
|
|
339
339
|
|
package/dist/docs/readme.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# SiriusUI 0.1.0-alpha.
|
|
1
|
+
# SiriusUI 0.1.0-alpha.5
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Choose a collection from the [package map](docs/package-map.md), follow the [agent guide](docs/agent-guide.md), choose public exports from the [component catalog](docs/component-catalog.md), then read only the relevant contracts. Use [dashboard patterns](docs/dashboard-patterns.md) or [website patterns](docs/website-patterns.md) when composing a page.
|
|
4
4
|
|
|
5
5
|
For generic requests, map the user’s intent to the appropriate collection and a minimal page composition. Follow the agent guide’s composition rules; adapt app-owned content and supported variants while preserving chosen component internals. Reuse public exports and preserve their defaults, models, events, slots, and keyboard and focus behavior unless the task calls for a change. Keep project-specific routes, requests, permissions, and state in the consuming app. Configure the app's preferred icon set through [icon mappings](docs/icons.md).
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@macmotp/sirius-ui-dashboard",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"prepack": "npm run build"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@macmotp/sirius-ui-theme": "0.1.0-alpha.
|
|
26
|
-
"@macmotp/sirius-ui-vue": "0.1.0-alpha.
|
|
25
|
+
"@macmotp/sirius-ui-theme": "0.1.0-alpha.5",
|
|
26
|
+
"@macmotp/sirius-ui-vue": "0.1.0-alpha.5"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"vue": "^3.5.0"
|
package/readme.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @macmotp/sirius-ui-dashboard
|
|
2
2
|
|
|
3
|
-
Release preparation targets `0.1.0-alpha.
|
|
3
|
+
Release preparation targets `0.1.0-alpha.5`. After publication, install with `yarn add @macmotp/sirius-ui-dashboard@alpha`. Vue components require Vue 3.5 or newer in the Vue 3 line.
|
|
4
4
|
|
|
5
5
|
For agents using an installed package, start at `node_modules/@macmotp/sirius-ui-dashboard/dist/docs/readme.md`. It contains the component catalog, usage guides, and dashboard patterns for this version.
|
|
6
6
|
|
|
@@ -296,7 +296,7 @@ Public types are `STimelineItem` and `STimelineProps`. The timeline presents rec
|
|
|
296
296
|
|
|
297
297
|
## Acme page examples
|
|
298
298
|
|
|
299
|
-
See [dashboard patterns](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
299
|
+
See [dashboard patterns](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/docs/dashboard-patterns.md) for the Acme page compositions and [the component catalog](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/docs/component-catalog.md) for public imports and examples.
|
|
300
300
|
|
|
301
301
|
|
|
302
302
|
## Acme account and header examples
|
|
@@ -309,7 +309,7 @@ DemoAppearance is a controlled settings view. Its primary and background pickers
|
|
|
309
309
|
|
|
310
310
|
## Configurable icons
|
|
311
311
|
|
|
312
|
-
The shared packages have no icon-library dependency. Use `createSiriusIcons` for app-wide mappings or `provideSiriusIcons` for reactive subtree overrides, with dependency-free control glyphs as fallbacks. Both playgrounds demonstrate Lucide and Heroicons; choose Icon set in the primitive header or dashboard Settings. See [icon configuration](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.
|
|
312
|
+
The shared packages have no icon-library dependency. Use `createSiriusIcons` for app-wide mappings or `provideSiriusIcons` for reactive subtree overrides, with dependency-free control glyphs as fallbacks. Both playgrounds demonstrate Lucide and Heroicons; choose Icon set in the primitive header or dashboard Settings. See [icon configuration](https://github.com/macmotp/sirius-ui/blob/v0.1.0-alpha.5/docs/icons.md) for the complete semantic map, adapter examples, accessibility contract and installer guidance.
|
|
313
313
|
|
|
314
314
|
## Settings page composition
|
|
315
315
|
|