@cratis/scene.blueprint.default 4.24.0 → 4.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/gallery/authTemplates.js +12 -6
- package/dist/cjs/gallery/authTemplates.js.map +1 -1
- package/dist/cjs/gallery/dialogTemplates.js +6 -3
- package/dist/cjs/gallery/dialogTemplates.js.map +1 -1
- package/dist/cjs/gallery/nesting.js +6 -3
- package/dist/cjs/gallery/nesting.js.map +1 -1
- package/dist/cjs/gallery/statusTemplates.js +8 -4
- package/dist/cjs/gallery/statusTemplates.js.map +1 -1
- package/dist/cjs/gallery/supportTemplates.js +10 -5
- package/dist/cjs/gallery/supportTemplates.js.map +1 -1
- package/dist/cjs/gallery/workspaceTemplates.js +12 -6
- package/dist/cjs/gallery/workspaceTemplates.js.map +1 -1
- package/dist/cjs/layouts/appShell.js +2 -1
- package/dist/cjs/layouts/appShell.js.map +1 -1
- package/dist/cjs/layouts/fullPage.js +2 -1
- package/dist/cjs/layouts/fullPage.js.map +1 -1
- package/dist/esm/gallery/authTemplates.js +12 -6
- package/dist/esm/gallery/authTemplates.js.map +1 -1
- package/dist/esm/gallery/dialogTemplates.js +6 -3
- package/dist/esm/gallery/dialogTemplates.js.map +1 -1
- package/dist/esm/gallery/nesting.js +6 -3
- package/dist/esm/gallery/nesting.js.map +1 -1
- package/dist/esm/gallery/statusTemplates.js +8 -4
- package/dist/esm/gallery/statusTemplates.js.map +1 -1
- package/dist/esm/gallery/supportTemplates.js +10 -5
- package/dist/esm/gallery/supportTemplates.js.map +1 -1
- package/dist/esm/gallery/workspaceTemplates.js +12 -6
- package/dist/esm/gallery/workspaceTemplates.js.map +1 -1
- package/dist/esm/layouts/appShell.js +2 -1
- package/dist/esm/layouts/appShell.js.map +1 -1
- package/dist/esm/layouts/fullPage.js +2 -1
- package/dist/esm/layouts/fullPage.js.map +1 -1
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/gallery/authTemplates.ts +6 -6
- package/gallery/dialogTemplates.ts +3 -3
- package/gallery/nesting.ts +3 -3
- package/gallery/statusTemplates.ts +4 -4
- package/gallery/supportTemplates.ts +5 -5
- package/gallery/workspaceTemplates.ts +6 -6
- package/layouts/appShell.ts +1 -1
- package/layouts/fullPage.ts +1 -1
- package/package.json +8 -8
package/gallery/authTemplates.ts
CHANGED
|
@@ -48,7 +48,7 @@ export const loginTemplate: ScreenTemplate = {
|
|
|
48
48
|
},
|
|
49
49
|
displayName: 'Sign in',
|
|
50
50
|
description: 'Email and password beside the branding panel.',
|
|
51
|
-
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
51
|
+
metadata: { ...defaultBlueprintTemplateProvenance, category: 'Foundation / Auth' },
|
|
52
52
|
};
|
|
53
53
|
|
|
54
54
|
/** Register. */
|
|
@@ -71,7 +71,7 @@ export const registerTemplate: ScreenTemplate = {
|
|
|
71
71
|
},
|
|
72
72
|
displayName: 'Register',
|
|
73
73
|
description: 'Account creation with a password strength meter and the terms checkbox.',
|
|
74
|
-
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
74
|
+
metadata: { ...defaultBlueprintTemplateProvenance, category: 'Foundation / Auth' },
|
|
75
75
|
};
|
|
76
76
|
|
|
77
77
|
/** Forgotten password: ask for the address. */
|
|
@@ -91,7 +91,7 @@ export const forgotPasswordTemplate: ScreenTemplate = {
|
|
|
91
91
|
},
|
|
92
92
|
displayName: 'Forgotten password',
|
|
93
93
|
description: 'One field and one button - the whole point is that it asks for nothing else.',
|
|
94
|
-
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
94
|
+
metadata: { ...defaultBlueprintTemplateProvenance, category: 'Foundation / Auth' },
|
|
95
95
|
};
|
|
96
96
|
|
|
97
97
|
/** New password: the other end of the link. */
|
|
@@ -112,7 +112,7 @@ export const newPasswordTemplate: ScreenTemplate = {
|
|
|
112
112
|
},
|
|
113
113
|
displayName: 'New password',
|
|
114
114
|
description: 'Where a reset link lands: choose it, confirm it, done.',
|
|
115
|
-
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
115
|
+
metadata: { ...defaultBlueprintTemplateProvenance, category: 'Foundation / Auth' },
|
|
116
116
|
};
|
|
117
117
|
|
|
118
118
|
/** Verification: the code from the email. */
|
|
@@ -133,7 +133,7 @@ export const verificationTemplate: ScreenTemplate = {
|
|
|
133
133
|
},
|
|
134
134
|
displayName: 'Verification',
|
|
135
135
|
description: 'The code step, with the progress indicator that tells you how much is left.',
|
|
136
|
-
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
136
|
+
metadata: { ...defaultBlueprintTemplateProvenance, category: 'Foundation / Auth' },
|
|
137
137
|
};
|
|
138
138
|
|
|
139
139
|
/** Lock screen: the session is still there, the person has to prove they are. */
|
|
@@ -154,7 +154,7 @@ export const lockScreenTemplate: ScreenTemplate = {
|
|
|
154
154
|
},
|
|
155
155
|
displayName: 'Lock screen',
|
|
156
156
|
description: 'One person, one password, and no way to lose what was open.',
|
|
157
|
-
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
157
|
+
metadata: { ...defaultBlueprintTemplateProvenance, category: 'Foundation / Auth' },
|
|
158
158
|
};
|
|
159
159
|
|
|
160
160
|
/** The six authentication templates. */
|
|
@@ -33,7 +33,7 @@ export const confirmDialogTemplate: DialogTemplate = {
|
|
|
33
33
|
},
|
|
34
34
|
displayName: 'Confirmation dialog',
|
|
35
35
|
description: 'One question with the consequence spelled out, and a way back.',
|
|
36
|
-
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
36
|
+
metadata: { ...defaultBlueprintTemplateProvenance, category: 'Foundation / Dialog' },
|
|
37
37
|
};
|
|
38
38
|
|
|
39
39
|
/** Form: a short capture that does not deserve a page of its own. */
|
|
@@ -53,7 +53,7 @@ export const formDialogTemplate: DialogTemplate = {
|
|
|
53
53
|
},
|
|
54
54
|
displayName: 'Form dialog',
|
|
55
55
|
description: 'A handful of fields captured without leaving the page underneath.',
|
|
56
|
-
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
56
|
+
metadata: { ...defaultBlueprintTemplateProvenance, category: 'Foundation / Dialog' },
|
|
57
57
|
};
|
|
58
58
|
|
|
59
59
|
/** Detail: a record shown over the list it came from. */
|
|
@@ -76,7 +76,7 @@ export const detailDialogTemplate: DialogTemplate = {
|
|
|
76
76
|
},
|
|
77
77
|
displayName: 'Detail dialog',
|
|
78
78
|
description: 'A record over the list it came from, with a route to the full page.',
|
|
79
|
-
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
79
|
+
metadata: { ...defaultBlueprintTemplateProvenance, category: 'Foundation / Dialog' },
|
|
80
80
|
};
|
|
81
81
|
|
|
82
82
|
/** The dialog templates this blueprint provides. */
|
package/gallery/nesting.ts
CHANGED
|
@@ -37,7 +37,7 @@ export const moduleWorkspaceTemplate: ScreenTemplate = {
|
|
|
37
37
|
},
|
|
38
38
|
displayName: 'Module workspace',
|
|
39
39
|
description: 'Module level: fits the application layout content slot and offers a body for one feature.',
|
|
40
|
-
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
40
|
+
metadata: { ...defaultBlueprintTemplateProvenance, category: 'Foundation / Workspace' },
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
/**
|
|
@@ -58,7 +58,7 @@ export const featureSectionTemplate: ScreenTemplate = {
|
|
|
58
58
|
},
|
|
59
59
|
displayName: 'Feature section',
|
|
60
60
|
description: 'Feature level: fits a module workspace body slot and brings the action toolbar.',
|
|
61
|
-
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
61
|
+
metadata: { ...defaultBlueprintTemplateProvenance, category: 'Foundation / Section' },
|
|
62
62
|
};
|
|
63
63
|
|
|
64
64
|
/**
|
|
@@ -79,7 +79,7 @@ export const sliceSectionTemplate: ScreenTemplate = {
|
|
|
79
79
|
},
|
|
80
80
|
displayName: 'Slice section',
|
|
81
81
|
description: 'Slice level: fits a feature section body slot and hosts one behavior.',
|
|
82
|
-
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
82
|
+
metadata: { ...defaultBlueprintTemplateProvenance, category: 'Foundation / Section' },
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
/** The chain, outermost first - what a spec walks to prove `fitsSlot` resolves at every level. */
|
|
@@ -38,7 +38,7 @@ export const errorTemplate: ScreenTemplate = {
|
|
|
38
38
|
},
|
|
39
39
|
displayName: 'Error',
|
|
40
40
|
description: 'A server-side failure, said plainly, with a way onward.',
|
|
41
|
-
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
41
|
+
metadata: { ...defaultBlueprintTemplateProvenance, category: 'Foundation / State' },
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
/** Signed in, and still not allowed. */
|
|
@@ -61,7 +61,7 @@ export const accessDeniedTemplate: ScreenTemplate = {
|
|
|
61
61
|
},
|
|
62
62
|
displayName: 'Access denied',
|
|
63
63
|
description: 'A refusal that distinguishes "not signed in" from "not allowed".',
|
|
64
|
-
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
64
|
+
metadata: { ...defaultBlueprintTemplateProvenance, category: 'Foundation / State' },
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
/** No such address. */
|
|
@@ -82,7 +82,7 @@ export const notFoundTemplate: ScreenTemplate = {
|
|
|
82
82
|
},
|
|
83
83
|
displayName: 'Not found',
|
|
84
84
|
description: 'A wrong address, with a search box rather than a dead end.',
|
|
85
|
-
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
85
|
+
metadata: { ...defaultBlueprintTemplateProvenance, category: 'Foundation / State' },
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
/** The page that has to do the selling. */
|
|
@@ -116,7 +116,7 @@ export const landingTemplate: ScreenTemplate = {
|
|
|
116
116
|
},
|
|
117
117
|
displayName: 'Landing',
|
|
118
118
|
description: 'The marketing front door, with its own navigation because it has no application chrome.',
|
|
119
|
-
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
119
|
+
metadata: { ...defaultBlueprintTemplateProvenance, category: 'Foundation / Landing' },
|
|
120
120
|
};
|
|
121
121
|
|
|
122
122
|
/** The four status and marketing templates. */
|
|
@@ -41,7 +41,7 @@ export const documentationTemplate: ScreenTemplate = {
|
|
|
41
41
|
},
|
|
42
42
|
displayName: 'Documentation',
|
|
43
43
|
description: 'Prose with a table of contents beside it.',
|
|
44
|
-
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
44
|
+
metadata: { ...defaultBlueprintTemplateProvenance, category: 'Foundation / Detail' },
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
/** Profile settings: the signed-in user editing their own account. */
|
|
@@ -69,7 +69,7 @@ export const profileSettingsTemplate: ScreenTemplate = {
|
|
|
69
69
|
},
|
|
70
70
|
displayName: 'Profile settings',
|
|
71
71
|
description: 'The signed-in user editing their own name, photo, password and notifications.',
|
|
72
|
-
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
72
|
+
metadata: { ...defaultBlueprintTemplateProvenance, category: 'Foundation / Form' },
|
|
73
73
|
};
|
|
74
74
|
|
|
75
75
|
/** User management: administering everybody else. */
|
|
@@ -102,7 +102,7 @@ export const userManagementTemplate: ScreenTemplate = {
|
|
|
102
102
|
},
|
|
103
103
|
displayName: 'User management',
|
|
104
104
|
description: 'The people table, with roles, status and an invitation action.',
|
|
105
|
-
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
105
|
+
metadata: { ...defaultBlueprintTemplateProvenance, category: 'Foundation / List' },
|
|
106
106
|
};
|
|
107
107
|
|
|
108
108
|
/** Invoice: a printable document, which is a different shape from a screen. */
|
|
@@ -139,7 +139,7 @@ export const invoiceTemplate: ScreenTemplate = {
|
|
|
139
139
|
},
|
|
140
140
|
displayName: 'Invoice',
|
|
141
141
|
description: 'A printable document: parties, line items and totals.',
|
|
142
|
-
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
142
|
+
metadata: { ...defaultBlueprintTemplateProvenance, category: 'Foundation / Detail' },
|
|
143
143
|
};
|
|
144
144
|
|
|
145
145
|
/** Help: the answers, and a way to ask when they are not there. */
|
|
@@ -163,7 +163,7 @@ export const helpTemplate: ScreenTemplate = {
|
|
|
163
163
|
},
|
|
164
164
|
displayName: 'Help',
|
|
165
165
|
description: 'Searchable answers with a route to a human.',
|
|
166
|
-
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
166
|
+
metadata: { ...defaultBlueprintTemplateProvenance, category: 'Foundation / Detail' },
|
|
167
167
|
};
|
|
168
168
|
|
|
169
169
|
/** The five support templates. */
|
|
@@ -89,7 +89,7 @@ export const dashboardTemplate: ScreenTemplate = {
|
|
|
89
89
|
},
|
|
90
90
|
displayName: 'Dashboard',
|
|
91
91
|
description: 'Four stat cards over two columns of widgets - the composition every template line opens with.',
|
|
92
|
-
metadata: { ...sakaiCompositionProvenance },
|
|
92
|
+
metadata: { ...sakaiCompositionProvenance, category: 'Foundation / Dashboard' },
|
|
93
93
|
};
|
|
94
94
|
|
|
95
95
|
/** The list: a filter toolbar, a real table, and the row actions a list needs. */
|
|
@@ -127,7 +127,7 @@ export const crudListTemplate: ScreenTemplate = {
|
|
|
127
127
|
},
|
|
128
128
|
displayName: 'List',
|
|
129
129
|
description: 'A searchable table with a header, primary action and row data.',
|
|
130
|
-
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
130
|
+
metadata: { ...defaultBlueprintTemplateProvenance, category: 'Foundation / List' },
|
|
131
131
|
};
|
|
132
132
|
|
|
133
133
|
/** The detail: a summary panel beside the record's own sections. */
|
|
@@ -158,7 +158,7 @@ export const detailViewTemplate: ScreenTemplate = {
|
|
|
158
158
|
},
|
|
159
159
|
displayName: 'Detail',
|
|
160
160
|
description: 'One record: a header with actions, its sections, and a summary panel.',
|
|
161
|
-
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
161
|
+
metadata: { ...defaultBlueprintTemplateProvenance, category: 'Foundation / Detail' },
|
|
162
162
|
};
|
|
163
163
|
|
|
164
164
|
/**
|
|
@@ -212,7 +212,7 @@ export const masterDetailTemplate: ScreenTemplate = {
|
|
|
212
212
|
},
|
|
213
213
|
displayName: 'Master/detail',
|
|
214
214
|
description: 'A list beside the selected record, stacking on narrow screens.',
|
|
215
|
-
metadata: { ...defaultBlueprintTemplateProvenance, type: 'Workspace' },
|
|
215
|
+
metadata: { ...defaultBlueprintTemplateProvenance, type: 'Workspace', category: 'Foundation / Workspace' },
|
|
216
216
|
};
|
|
217
217
|
|
|
218
218
|
/** The form: fields, grouped, with the actions that close them. */
|
|
@@ -236,7 +236,7 @@ export const formPageTemplate: ScreenTemplate = {
|
|
|
236
236
|
},
|
|
237
237
|
displayName: 'Form',
|
|
238
238
|
description: 'A grouped form with the field types an application actually uses.',
|
|
239
|
-
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
239
|
+
metadata: { ...defaultBlueprintTemplateProvenance, category: 'Foundation / Form' },
|
|
240
240
|
};
|
|
241
241
|
|
|
242
242
|
/** The empty state: what a list looks like before anything exists, designed rather than apologized for. */
|
|
@@ -251,7 +251,7 @@ export const emptyTemplate: ScreenTemplate = {
|
|
|
251
251
|
},
|
|
252
252
|
displayName: 'Empty state',
|
|
253
253
|
description: 'The designed empty state for a list that has nothing in it yet.',
|
|
254
|
-
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
254
|
+
metadata: { ...defaultBlueprintTemplateProvenance, category: 'Foundation / State' },
|
|
255
255
|
};
|
|
256
256
|
|
|
257
257
|
/** The five workspace templates. */
|
package/layouts/appShell.ts
CHANGED
package/layouts/fullPage.ts
CHANGED
|
@@ -46,5 +46,5 @@ export const fullPageLayout: Layout = {
|
|
|
46
46
|
name: LayoutName.FullPage,
|
|
47
47
|
slots: [{ name: SlotName.Aside }, { name: SlotName.Content }, { name: SlotName.ConfigPanel }],
|
|
48
48
|
arrangement: fullPageArrangement,
|
|
49
|
-
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
49
|
+
metadata: { ...defaultBlueprintTemplateProvenance, category: 'Foundation / Shell' },
|
|
50
50
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cratis/scene.blueprint.default",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.25.0",
|
|
4
4
|
"description": "The default blueprint: application shell layouts, the screen and dialog templates that go inside them, the components that fill their slots, and two themes.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cratis",
|
|
@@ -54,15 +54,15 @@
|
|
|
54
54
|
"build-storybook": "storybook build"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@cratis/scene.engine": "4.
|
|
58
|
-
"@cratis/scene.model": "4.
|
|
59
|
-
"@cratis/scene.react": "4.
|
|
57
|
+
"@cratis/scene.engine": "4.25.0",
|
|
58
|
+
"@cratis/scene.model": "4.25.0",
|
|
59
|
+
"@cratis/scene.react": "4.25.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@cratis/scene.engine": "4.
|
|
63
|
-
"@cratis/scene.model": "4.
|
|
64
|
-
"@cratis/scene.primereact": "4.
|
|
65
|
-
"@cratis/scene.react": "4.
|
|
62
|
+
"@cratis/scene.engine": "4.25.0",
|
|
63
|
+
"@cratis/scene.model": "4.25.0",
|
|
64
|
+
"@cratis/scene.primereact": "4.25.0",
|
|
65
|
+
"@cratis/scene.react": "4.25.0",
|
|
66
66
|
"@primereact/core": "11.2.0",
|
|
67
67
|
"@primereact/headless": "11.2.0",
|
|
68
68
|
"@primeuix/themes": "^3.0.1",
|