@sprucelabs/heartwood-view-controllers 124.0.4 → 124.1.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/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/dialog.schema.js +7 -0
- package/build/.spruce/schemas/schemas.types.d.ts +20 -0
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/dialog.schema.js +7 -0
- package/build/esm/.spruce/schemas/schemas.types.d.ts +20 -0
- package/build/esm/schemas/v2021_02_11/dialog.builder.d.ts +11 -0
- package/build/esm/schemas/v2021_02_11/dialog.builder.js +2 -1
- package/build/schemas/v2021_02_11/dialog.builder.d.ts +11 -0
- package/build/schemas/v2021_02_11/dialog.builder.js +2 -0
- package/package.json +2 -2
|
@@ -101,6 +101,13 @@ const dialogSchema = {
|
|
|
101
101
|
type: 'boolean',
|
|
102
102
|
options: undefined
|
|
103
103
|
},
|
|
104
|
+
/** Width. */
|
|
105
|
+
'width': {
|
|
106
|
+
label: 'Width',
|
|
107
|
+
type: 'select',
|
|
108
|
+
defaultValue: "tight",
|
|
109
|
+
options: { choices: [{ "value": "wide", "label": "Wide" }, { "value": "tight", "label": "Tight" }, { "value": "full", "label": "Full width" }], }
|
|
110
|
+
},
|
|
104
111
|
/** Card controller. */
|
|
105
112
|
'cardController': {
|
|
106
113
|
label: 'Card controller',
|
|
@@ -7342,6 +7342,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
7342
7342
|
'isVisible'?: boolean | undefined | null;
|
|
7343
7343
|
/** Show close button. */
|
|
7344
7344
|
'shouldShowCloseButton'?: boolean | undefined | null;
|
|
7345
|
+
/** Width. */
|
|
7346
|
+
'width'?: ("wide" | "tight" | "full") | undefined | null;
|
|
7345
7347
|
/** Card controller. */
|
|
7346
7348
|
'cardController'?: (HeartwoodTypes.ViewController<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Card>) | undefined | null;
|
|
7347
7349
|
/** Close callback. Called when the dialog is closed */
|
|
@@ -7476,6 +7478,24 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
7476
7478
|
type: 'boolean';
|
|
7477
7479
|
options: undefined;
|
|
7478
7480
|
};
|
|
7481
|
+
/** Width. */
|
|
7482
|
+
'width': {
|
|
7483
|
+
label: 'Width';
|
|
7484
|
+
type: 'select';
|
|
7485
|
+
defaultValue: "tight";
|
|
7486
|
+
options: {
|
|
7487
|
+
choices: [{
|
|
7488
|
+
"value": "wide";
|
|
7489
|
+
"label": "Wide";
|
|
7490
|
+
}, {
|
|
7491
|
+
"value": "tight";
|
|
7492
|
+
"label": "Tight";
|
|
7493
|
+
}, {
|
|
7494
|
+
"value": "full";
|
|
7495
|
+
"label": "Full width";
|
|
7496
|
+
}];
|
|
7497
|
+
};
|
|
7498
|
+
};
|
|
7479
7499
|
/** Card controller. */
|
|
7480
7500
|
'cardController': {
|
|
7481
7501
|
label: 'Card controller';
|
|
@@ -96,6 +96,13 @@ const dialogSchema = {
|
|
|
96
96
|
type: 'boolean',
|
|
97
97
|
options: undefined
|
|
98
98
|
},
|
|
99
|
+
/** Width. */
|
|
100
|
+
'width': {
|
|
101
|
+
label: 'Width',
|
|
102
|
+
type: 'select',
|
|
103
|
+
defaultValue: "tight",
|
|
104
|
+
options: { choices: [{ "value": "wide", "label": "Wide" }, { "value": "tight", "label": "Tight" }, { "value": "full", "label": "Full width" }], }
|
|
105
|
+
},
|
|
99
106
|
/** Card controller. */
|
|
100
107
|
'cardController': {
|
|
101
108
|
label: 'Card controller',
|
|
@@ -7342,6 +7342,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
7342
7342
|
'isVisible'?: boolean | undefined | null;
|
|
7343
7343
|
/** Show close button. */
|
|
7344
7344
|
'shouldShowCloseButton'?: boolean | undefined | null;
|
|
7345
|
+
/** Width. */
|
|
7346
|
+
'width'?: ("wide" | "tight" | "full") | undefined | null;
|
|
7345
7347
|
/** Card controller. */
|
|
7346
7348
|
'cardController'?: (HeartwoodTypes.ViewController<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Card>) | undefined | null;
|
|
7347
7349
|
/** Close callback. Called when the dialog is closed */
|
|
@@ -7476,6 +7478,24 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
7476
7478
|
type: 'boolean';
|
|
7477
7479
|
options: undefined;
|
|
7478
7480
|
};
|
|
7481
|
+
/** Width. */
|
|
7482
|
+
'width': {
|
|
7483
|
+
label: 'Width';
|
|
7484
|
+
type: 'select';
|
|
7485
|
+
defaultValue: "tight";
|
|
7486
|
+
options: {
|
|
7487
|
+
choices: [{
|
|
7488
|
+
"value": "wide";
|
|
7489
|
+
"label": "Wide";
|
|
7490
|
+
}, {
|
|
7491
|
+
"value": "tight";
|
|
7492
|
+
"label": "Tight";
|
|
7493
|
+
}, {
|
|
7494
|
+
"value": "full";
|
|
7495
|
+
"label": "Full width";
|
|
7496
|
+
}];
|
|
7497
|
+
};
|
|
7498
|
+
};
|
|
7479
7499
|
/** Card controller. */
|
|
7480
7500
|
'cardController': {
|
|
7481
7501
|
label: 'Card controller';
|
|
@@ -11,6 +11,17 @@ declare const _default: {
|
|
|
11
11
|
type: "boolean";
|
|
12
12
|
label: string;
|
|
13
13
|
};
|
|
14
|
+
width: {
|
|
15
|
+
type: "select";
|
|
16
|
+
label: string;
|
|
17
|
+
defaultValue: string;
|
|
18
|
+
options: {
|
|
19
|
+
choices: {
|
|
20
|
+
value: string;
|
|
21
|
+
label: string;
|
|
22
|
+
}[];
|
|
23
|
+
};
|
|
24
|
+
};
|
|
14
25
|
controller: {
|
|
15
26
|
type: "raw";
|
|
16
27
|
label: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { buildSchema } from '@sprucelabs/schema';
|
|
2
2
|
import cardBuilder from './cards/card.builder.js';
|
|
3
|
+
import skillViewBuilder from './skillView.builder.js';
|
|
3
4
|
export default buildSchema({
|
|
4
5
|
id: 'dialog',
|
|
5
6
|
name: 'Dialog',
|
|
@@ -10,7 +11,7 @@ export default buildSchema({
|
|
|
10
11
|
}, shouldShowCloseButton: {
|
|
11
12
|
type: 'boolean',
|
|
12
13
|
label: 'Show close button',
|
|
13
|
-
}, controller: {
|
|
14
|
+
}, width: skillViewBuilder.fields.width, controller: {
|
|
14
15
|
type: 'raw',
|
|
15
16
|
label: 'Controller',
|
|
16
17
|
options: {
|
|
@@ -11,6 +11,17 @@ declare const _default: {
|
|
|
11
11
|
type: "boolean";
|
|
12
12
|
label: string;
|
|
13
13
|
};
|
|
14
|
+
width: {
|
|
15
|
+
type: "select";
|
|
16
|
+
label: string;
|
|
17
|
+
defaultValue: string;
|
|
18
|
+
options: {
|
|
19
|
+
choices: {
|
|
20
|
+
value: string;
|
|
21
|
+
label: string;
|
|
22
|
+
}[];
|
|
23
|
+
};
|
|
24
|
+
};
|
|
14
25
|
controller: {
|
|
15
26
|
type: "raw";
|
|
16
27
|
label: string;
|
|
@@ -5,6 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const schema_1 = require("@sprucelabs/schema");
|
|
7
7
|
const card_builder_1 = __importDefault(require("./cards/card.builder"));
|
|
8
|
+
const skillView_builder_1 = __importDefault(require("./skillView.builder"));
|
|
8
9
|
exports.default = (0, schema_1.buildSchema)({
|
|
9
10
|
id: 'dialog',
|
|
10
11
|
name: 'Dialog',
|
|
@@ -19,6 +20,7 @@ exports.default = (0, schema_1.buildSchema)({
|
|
|
19
20
|
type: 'boolean',
|
|
20
21
|
label: 'Show close button',
|
|
21
22
|
},
|
|
23
|
+
width: skillView_builder_1.default.fields.width,
|
|
22
24
|
controller: {
|
|
23
25
|
type: 'raw',
|
|
24
26
|
label: 'Controller',
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"sideEffects": false,
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"description": "All the power of Heartwood in one, convenient package.",
|
|
16
|
-
"version": "124.0
|
|
16
|
+
"version": "124.1.0",
|
|
17
17
|
"skill": {
|
|
18
18
|
"namespace": "HeartwoodViewControllers",
|
|
19
19
|
"commandOverrides": {
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@babel/preset-env": "^7.28.0",
|
|
75
75
|
"@babel/preset-typescript": "^7.27.1",
|
|
76
76
|
"@babel/runtime": "^7.28.2",
|
|
77
|
-
"@sprucelabs/calendar-utils": "^43.0.
|
|
77
|
+
"@sprucelabs/calendar-utils": "^43.0.59",
|
|
78
78
|
"@sprucelabs/error": "^7.0.27",
|
|
79
79
|
"@sprucelabs/globby": "^2.0.506",
|
|
80
80
|
"@sprucelabs/mercury-core-events": "^27.0.53",
|