@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.
@@ -63,6 +63,12 @@ const navigationButtonSchema = {
63
63
  type: 'text',
64
64
  options: undefined
65
65
  },
66
+ /** Avatar. */
67
+ 'avatar': {
68
+ label: 'Avatar',
69
+ type: 'text',
70
+ options: undefined
71
+ },
66
72
  /** Dropdown. */
67
73
  'dropdown': {
68
74
  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';
@@ -58,6 +58,12 @@ const navigationButtonSchema = {
58
58
  type: 'text',
59
59
  options: undefined
60
60
  },
61
+ /** Avatar. */
62
+ 'avatar': {
63
+ label: 'Avatar',
64
+ type: 'text',
65
+ options: undefined
66
+ },
61
67
  /** Dropdown. */
62
68
  'dropdown': {
63
69
  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, ['isEnabled', 'label', 'onClick', 'image'])), { dropdown: {
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, ['isEnabled', 'label', 'onClick', 'image']),
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
@@ -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": "126.12.0",
16
+ "version": "126.12.1",
17
17
  "skill": {
18
18
  "namespace": "HeartwoodViewControllers",
19
19
  "commandOverrides": {