@sprucelabs/heartwood-view-controllers 126.2.5 → 126.3.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/README.md CHANGED
@@ -15,7 +15,7 @@ Spruce XP Documentation
15
15
  </p>
16
16
  <br />
17
17
  <p align="center">
18
- <a href="https://developer.spruce.ai/#/"><img width="250" src="https://raw.githubusercontent.com/sprucelabsai/heartwood-view-controllers/master/docs/images/read-full-docs.png" /></a>
18
+ <a href="https://developer.spruce.ai/#/"><img width="250" src="https://raw.githubusercontent.com/sprucelabsai/heartwood-view-contrhollers/master/docs/images/read-full-docs.png" /></a>
19
19
  </p>
20
20
  ### Dependencies
21
21
  [Arkit diagram here](docs/dependencies.md).
@@ -0,0 +1,3 @@
1
+ import { SpruceSchemas } from '../../schemas.types';
2
+ declare const toastMessageSchema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ToastMessageSchema;
3
+ export default toastMessageSchema;
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const schema_1 = require("@sprucelabs/schema");
4
+ const toastMessageSchema = {
5
+ id: 'toastMessage',
6
+ version: 'v2021_02_11',
7
+ namespace: 'HeartwoodViewControllers',
8
+ name: 'Toast message',
9
+ moduleToImportFromWhenRemote: '@sprucelabs/heartwood-view-controllers',
10
+ fields: {
11
+ /** Message. */
12
+ 'message': {
13
+ label: 'Message',
14
+ type: 'text',
15
+ isRequired: true,
16
+ options: undefined
17
+ },
18
+ /** Style. */
19
+ 'style': {
20
+ label: 'Style',
21
+ type: 'select',
22
+ options: { choices: [{ "value": "info", "label": "info" }, { "value": "success", "label": "success" }, { "value": "warning", "label": "warning" }, { "value": "critical", "label": "critical" }], }
23
+ },
24
+ /** Is Sticky. */
25
+ 'isSticky': {
26
+ label: 'Is Sticky',
27
+ type: 'boolean',
28
+ options: undefined
29
+ },
30
+ }
31
+ };
32
+ schema_1.SchemaRegistry.getInstance().trackSchema(toastMessageSchema);
33
+ exports.default = toastMessageSchema;