@sprucelabs/heartwood-view-controllers 124.2.0 → 124.2.2
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.
|
@@ -458,15 +458,13 @@ export interface ViewControllerOptions {
|
|
|
458
458
|
maps: MapUtil;
|
|
459
459
|
log: Log;
|
|
460
460
|
}
|
|
461
|
-
export type RenderAsInputComponentType = 'colorPicker' | 'number' | 'textarea' | 'ratings' | 'checkbox' | 'autocomplete' | 'tags' | 'signature' | 'password' | 'search' | 'slider' | 'markdownInput';
|
|
461
|
+
export type RenderAsInputComponentType = 'colorPicker' | 'number' | 'textarea' | 'ratings' | 'checkbox' | 'autocomplete' | 'tags' | 'signature' | 'password' | 'search' | 'slider' | 'markdownInput' | 'media';
|
|
462
462
|
export type RenderAsInputComponent = RenderAsInputComponentType | RatingsInputComponent | MediaInputComponent;
|
|
463
463
|
export type RatingsInputComponent = Pick<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Ratings, 'steps' | 'leftLabel' | 'rightLabel' | 'middleLabel' | 'icon'> & {
|
|
464
464
|
type: 'ratings';
|
|
465
465
|
};
|
|
466
|
-
export type SupportedMedia = 'image' | 'video' | 'audio';
|
|
467
466
|
export interface MediaInputComponent {
|
|
468
467
|
type: 'media';
|
|
469
|
-
supportedMedia: SupportedMedia[];
|
|
470
468
|
}
|
|
471
469
|
export interface InputComponent {
|
|
472
470
|
type: string;
|
|
@@ -458,15 +458,13 @@ export interface ViewControllerOptions {
|
|
|
458
458
|
maps: MapUtil;
|
|
459
459
|
log: Log;
|
|
460
460
|
}
|
|
461
|
-
export type RenderAsInputComponentType = 'colorPicker' | 'number' | 'textarea' | 'ratings' | 'checkbox' | 'autocomplete' | 'tags' | 'signature' | 'password' | 'search' | 'slider' | 'markdownInput';
|
|
461
|
+
export type RenderAsInputComponentType = 'colorPicker' | 'number' | 'textarea' | 'ratings' | 'checkbox' | 'autocomplete' | 'tags' | 'signature' | 'password' | 'search' | 'slider' | 'markdownInput' | 'media';
|
|
462
462
|
export type RenderAsInputComponent = RenderAsInputComponentType | RatingsInputComponent | MediaInputComponent;
|
|
463
463
|
export type RatingsInputComponent = Pick<SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Ratings, 'steps' | 'leftLabel' | 'rightLabel' | 'middleLabel' | 'icon'> & {
|
|
464
464
|
type: 'ratings';
|
|
465
465
|
};
|
|
466
|
-
export type SupportedMedia = 'image' | 'video' | 'audio';
|
|
467
466
|
export interface MediaInputComponent {
|
|
468
467
|
type: 'media';
|
|
469
|
-
supportedMedia: SupportedMedia[];
|
|
470
468
|
}
|
|
471
469
|
export interface InputComponent {
|
|
472
470
|
type: string;
|
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.2.
|
|
16
|
+
"version": "124.2.2",
|
|
17
17
|
"skill": {
|
|
18
18
|
"namespace": "HeartwoodViewControllers",
|
|
19
19
|
"commandOverrides": {
|
|
@@ -74,15 +74,15 @@
|
|
|
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.61",
|
|
78
78
|
"@sprucelabs/error": "^7.0.27",
|
|
79
79
|
"@sprucelabs/globby": "^2.0.506",
|
|
80
|
-
"@sprucelabs/mercury-core-events": "^27.0.
|
|
81
|
-
"@sprucelabs/mercury-types": "^48.0.
|
|
82
|
-
"@sprucelabs/schema": "^32.0.
|
|
83
|
-
"@sprucelabs/spruce-core-schemas": "^41.0.
|
|
84
|
-
"@sprucelabs/spruce-event-utils": "^41.0.
|
|
85
|
-
"@sprucelabs/spruce-skill-utils": "^32.0.
|
|
80
|
+
"@sprucelabs/mercury-core-events": "^27.0.56",
|
|
81
|
+
"@sprucelabs/mercury-types": "^48.0.47",
|
|
82
|
+
"@sprucelabs/schema": "^32.0.46",
|
|
83
|
+
"@sprucelabs/spruce-core-schemas": "^41.0.45",
|
|
84
|
+
"@sprucelabs/spruce-event-utils": "^41.0.51",
|
|
85
|
+
"@sprucelabs/spruce-skill-utils": "^32.0.48",
|
|
86
86
|
"@sprucelabs/test-utils": "^6.0.42",
|
|
87
87
|
"babel-loader": "^10.0.0",
|
|
88
88
|
"babel-plugin-module-resolver": "^5.0.2",
|
|
@@ -97,8 +97,8 @@
|
|
|
97
97
|
"devDependencies": {
|
|
98
98
|
"@sprucelabs/esm-postbuild": "^7.0.18",
|
|
99
99
|
"@sprucelabs/jest-json-reporter": "^9.0.29",
|
|
100
|
-
"@sprucelabs/mercury-client": "^43.0.
|
|
101
|
-
"@sprucelabs/mercury-event-emitter": "^43.0.
|
|
100
|
+
"@sprucelabs/mercury-client": "^43.0.62",
|
|
101
|
+
"@sprucelabs/mercury-event-emitter": "^43.0.62",
|
|
102
102
|
"@sprucelabs/resolve-path-aliases": "^3.0.15",
|
|
103
103
|
"@sprucelabs/semantic-release": "^5.0.2",
|
|
104
104
|
"@sprucelabs/test": "^10.0.12",
|