@sprucelabs/spruce-people-utils 1.0.52 → 1.0.55

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.
@@ -41,12 +41,11 @@ declare const inviteFormSchema: {
41
41
  id: string;
42
42
  fields: {
43
43
  firstName: {
44
- type: "text";
45
- };
46
- lastName: {
44
+ label: string;
47
45
  type: "text";
48
46
  };
49
47
  phone: {
48
+ label: string;
50
49
  type: "phone";
51
50
  isRequired: true;
52
51
  };
@@ -40,7 +40,13 @@ export default class InvitePersonCardViewController extends AbstractViewControll
40
40
  isPlaying: false,
41
41
  sentences: [
42
42
  {
43
- words: 'Ready when you are!',
43
+ words: `Ok, they should have gotten a text message with an invite link.`,
44
+ },
45
+ {
46
+ words: `Have them tap the link and follow the instructions!`,
47
+ },
48
+ {
49
+ words: "Once they are done we'll be onto the next step!",
44
50
  },
45
51
  ],
46
52
  });
@@ -132,7 +138,7 @@ export default class InvitePersonCardViewController extends AbstractViewControll
132
138
  onSubmit: this.handleSubmitNamePhoneForm.bind(this),
133
139
  sections: [
134
140
  {
135
- fields: ['firstName', 'lastName', 'phone'],
141
+ fields: ['firstName', 'phone'],
136
142
  },
137
143
  ],
138
144
  }));
@@ -209,12 +215,11 @@ const inviteFormSchema = buildSchema({
209
215
  id: 'inviteForm',
210
216
  fields: {
211
217
  firstName: {
212
- type: 'text',
213
- },
214
- lastName: {
218
+ label: 'First name',
215
219
  type: 'text',
216
220
  },
217
221
  phone: {
222
+ label: 'Phone',
218
223
  type: 'phone',
219
224
  isRequired: true,
220
225
  },
@@ -41,12 +41,11 @@ declare const inviteFormSchema: {
41
41
  id: string;
42
42
  fields: {
43
43
  firstName: {
44
- type: "text";
45
- };
46
- lastName: {
44
+ label: string;
47
45
  type: "text";
48
46
  };
49
47
  phone: {
48
+ label: string;
50
49
  type: "phone";
51
50
  isRequired: true;
52
51
  };
@@ -33,7 +33,13 @@ class InvitePersonCardViewController extends heartwood_view_controllers_1.Abstra
33
33
  isPlaying: false,
34
34
  sentences: [
35
35
  {
36
- words: 'Ready when you are!',
36
+ words: `Ok, they should have gotten a text message with an invite link.`,
37
+ },
38
+ {
39
+ words: `Have them tap the link and follow the instructions!`,
40
+ },
41
+ {
42
+ words: "Once they are done we'll be onto the next step!",
37
43
  },
38
44
  ],
39
45
  });
@@ -117,7 +123,7 @@ class InvitePersonCardViewController extends heartwood_view_controllers_1.Abstra
117
123
  onSubmit: this.handleSubmitNamePhoneForm.bind(this),
118
124
  sections: [
119
125
  {
120
- fields: ['firstName', 'lastName', 'phone'],
126
+ fields: ['firstName', 'phone'],
121
127
  },
122
128
  ],
123
129
  }));
@@ -182,12 +188,11 @@ const inviteFormSchema = (0, schema_1.buildSchema)({
182
188
  id: 'inviteForm',
183
189
  fields: {
184
190
  firstName: {
185
- type: 'text',
186
- },
187
- lastName: {
191
+ label: 'First name',
188
192
  type: 'text',
189
193
  },
190
194
  phone: {
195
+ label: 'Phone',
191
196
  type: 'phone',
192
197
  isRequired: true,
193
198
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sprucelabs/spruce-people-utils",
3
3
  "description": "People Utilities",
4
- "version": "1.0.52",
4
+ "version": "1.0.55",
5
5
  "skill": {
6
6
  "namespace": "invite"
7
7
  },