@sprucelabs/heartwood-view-controllers 126.12.0 → 126.12.1
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/navigationButton.schema.js +6 -0
- package/build/.spruce/schemas/schemas.types.d.ts +8 -0
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/navigationButton.schema.js +6 -0
- package/build/esm/.spruce/schemas/schemas.types.d.ts +8 -0
- package/build/esm/schemas/v2021_02_11/navigationButton.builder.d.ts +1 -0
- package/build/esm/schemas/v2021_02_11/navigationButton.builder.js +7 -1
- package/build/schemas/v2021_02_11/navigationButton.builder.d.ts +1 -0
- package/build/schemas/v2021_02_11/navigationButton.builder.js +7 -1
- package/package.json +1 -1
|
@@ -2615,6 +2615,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2615
2615
|
'onClick'?: (() => Promise<any> | any) | undefined | null;
|
|
2616
2616
|
/** Image. */
|
|
2617
2617
|
'image'?: string | undefined | null;
|
|
2618
|
+
/** Avatar. */
|
|
2619
|
+
'avatar'?: string | undefined | null;
|
|
2618
2620
|
/** Dropdown. */
|
|
2619
2621
|
'dropdown'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.NavigationButtonDropdown | undefined | null;
|
|
2620
2622
|
}
|
|
@@ -3108,6 +3110,12 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
3108
3110
|
type: 'text';
|
|
3109
3111
|
options: undefined;
|
|
3110
3112
|
};
|
|
3113
|
+
/** Avatar. */
|
|
3114
|
+
'avatar': {
|
|
3115
|
+
label: 'Avatar';
|
|
3116
|
+
type: 'text';
|
|
3117
|
+
options: undefined;
|
|
3118
|
+
};
|
|
3111
3119
|
/** Dropdown. */
|
|
3112
3120
|
'dropdown': {
|
|
3113
3121
|
label: 'Dropdown';
|
|
@@ -2615,6 +2615,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2615
2615
|
'onClick'?: (() => Promise<any> | any) | undefined | null;
|
|
2616
2616
|
/** Image. */
|
|
2617
2617
|
'image'?: string | undefined | null;
|
|
2618
|
+
/** Avatar. */
|
|
2619
|
+
'avatar'?: string | undefined | null;
|
|
2618
2620
|
/** Dropdown. */
|
|
2619
2621
|
'dropdown'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.NavigationButtonDropdown | undefined | null;
|
|
2620
2622
|
}
|
|
@@ -3108,6 +3110,12 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
3108
3110
|
type: 'text';
|
|
3109
3111
|
options: undefined;
|
|
3110
3112
|
};
|
|
3113
|
+
/** Avatar. */
|
|
3114
|
+
'avatar': {
|
|
3115
|
+
label: 'Avatar';
|
|
3116
|
+
type: 'text';
|
|
3117
|
+
options: undefined;
|
|
3118
|
+
};
|
|
3111
3119
|
/** Dropdown. */
|
|
3112
3120
|
'dropdown': {
|
|
3113
3121
|
label: 'Dropdown';
|
|
@@ -93,6 +93,7 @@ declare const _default: {
|
|
|
93
93
|
image: import("@sprucelabs/schema").FieldDefinitions;
|
|
94
94
|
label: import("@sprucelabs/schema").FieldDefinitions;
|
|
95
95
|
isEnabled: import("@sprucelabs/schema").FieldDefinitions;
|
|
96
|
+
avatar: import("@sprucelabs/schema").FieldDefinitions;
|
|
96
97
|
onClick: import("@sprucelabs/schema").FieldDefinitions;
|
|
97
98
|
lineIcon: {
|
|
98
99
|
isRequired: true;
|
|
@@ -21,7 +21,13 @@ export default buildSchema({
|
|
|
21
21
|
options: {
|
|
22
22
|
schema: routerDestinationBuilder,
|
|
23
23
|
},
|
|
24
|
-
} }, pickFields(buttonFields, [
|
|
24
|
+
} }, pickFields(buttonFields, [
|
|
25
|
+
'isEnabled',
|
|
26
|
+
'label',
|
|
27
|
+
'onClick',
|
|
28
|
+
'image',
|
|
29
|
+
'avatar',
|
|
30
|
+
])), { dropdown: {
|
|
25
31
|
type: 'schema',
|
|
26
32
|
label: 'Dropdown',
|
|
27
33
|
options: {
|
|
@@ -93,6 +93,7 @@ declare const _default: {
|
|
|
93
93
|
image: import("@sprucelabs/schema").FieldDefinitions;
|
|
94
94
|
label: import("@sprucelabs/schema").FieldDefinitions;
|
|
95
95
|
isEnabled: import("@sprucelabs/schema").FieldDefinitions;
|
|
96
|
+
avatar: import("@sprucelabs/schema").FieldDefinitions;
|
|
96
97
|
onClick: import("@sprucelabs/schema").FieldDefinitions;
|
|
97
98
|
lineIcon: {
|
|
98
99
|
isRequired: true;
|
|
@@ -34,7 +34,13 @@ exports.default = (0, schema_1.buildSchema)({
|
|
|
34
34
|
schema: routerDestination_builder_1.default,
|
|
35
35
|
},
|
|
36
36
|
},
|
|
37
|
-
...(0, schema_1.pickFields)(constants_1.buttonFields, [
|
|
37
|
+
...(0, schema_1.pickFields)(constants_1.buttonFields, [
|
|
38
|
+
'isEnabled',
|
|
39
|
+
'label',
|
|
40
|
+
'onClick',
|
|
41
|
+
'image',
|
|
42
|
+
'avatar',
|
|
43
|
+
]),
|
|
38
44
|
dropdown: {
|
|
39
45
|
type: 'schema',
|
|
40
46
|
label: 'Dropdown',
|
package/package.json
CHANGED