@sprucelabs/spruce-calendar-components 31.0.93 → 32.0.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.
@@ -22,7 +22,7 @@ export default class CalendarToolBeltStateMachineTestFactory {
22
22
  const { EventManagerClass, calendarVc: passedCalendarVc } = options !== null && options !== void 0 ? options : {};
23
23
  const factory = views.getFactory();
24
24
  mixinViewControllersForTests(factory);
25
- const toolBeltVc = views.Controller('toolBelt', {});
25
+ const toolBeltVc = views.Controller('tool-belt', {});
26
26
  const event = calendarSeeder.generateEventValues();
27
27
  const calendarVc = passedCalendarVc !== null && passedCalendarVc !== void 0 ? passedCalendarVc : views.Controller('calendar.calendar', {
28
28
  onAddDraftEvent: (event) => __awaiter(this, void 0, void 0, function* () {
@@ -265,7 +265,7 @@ class RootSkillViewController extends AbstractSkillViewController {
265
265
  });
266
266
  }
267
267
  ToolBeltVc() {
268
- return this.Controller('toolBelt', {
268
+ return this.Controller('tool-belt', {
269
269
  onCloseToolBelt: this.handleCloseToolBelt.bind(this),
270
270
  shouldRenderAllToolsAtOnce: true,
271
271
  });
@@ -20,7 +20,7 @@ class CalendarSelectCardViewController extends AbstractViewController {
20
20
  this.activeVc = this.CalendarListVc();
21
21
  }
22
22
  CalendarListVc() {
23
- return this.Controller('activeRecordCard', buildActiveRecordCard({
23
+ return this.Controller('active-record-card', buildActiveRecordCard({
24
24
  shouldRenderRowDividers: true,
25
25
  columnWidths: ['fill'],
26
26
  header: {
@@ -49,7 +49,7 @@ class PersonSelectToolViewController extends AbstractViewController {
49
49
  });
50
50
  }
51
51
  ModeButtonBarVc() {
52
- return this.Controller('buttonBar', {
52
+ return this.Controller('button-bar', {
53
53
  selected: [this.mode],
54
54
  onSelectionChange: this.handleChangeMode.bind(this),
55
55
  buttons: [
@@ -127,7 +127,7 @@ class RepeatingControlsListViewController extends AbstractViewController {
127
127
  height: 'content',
128
128
  cells: [
129
129
  {
130
- buttonBar: this.Controller('buttonBar', {
130
+ buttonBar: this.Controller('button-bar', {
131
131
  shouldAllowMultiSelect: true,
132
132
  onSelectionChange: (value) => {
133
133
  var _a;
@@ -234,7 +234,7 @@ class RootSkillViewController extends heartwood_view_controllers_1.AbstractSkill
234
234
  delete this.transitionPromise;
235
235
  }
236
236
  ToolBeltVc() {
237
- return this.Controller('toolBelt', {
237
+ return this.Controller('tool-belt', {
238
238
  onCloseToolBelt: this.handleCloseToolBelt.bind(this),
239
239
  shouldRenderAllToolsAtOnce: true,
240
240
  });
@@ -13,7 +13,7 @@ class CalendarSelectCardViewController extends heartwood_view_controllers_1.Abst
13
13
  this.activeVc = this.CalendarListVc();
14
14
  }
15
15
  CalendarListVc() {
16
- return this.Controller('activeRecordCard', (0, heartwood_view_controllers_1.buildActiveRecordCard)({
16
+ return this.Controller('active-record-card', (0, heartwood_view_controllers_1.buildActiveRecordCard)({
17
17
  shouldRenderRowDividers: true,
18
18
  columnWidths: ['fill'],
19
19
  header: {
@@ -41,7 +41,7 @@ class PersonSelectToolViewController extends heartwood_view_controllers_1.Abstra
41
41
  });
42
42
  }
43
43
  ModeButtonBarVc() {
44
- return this.Controller('buttonBar', {
44
+ return this.Controller('button-bar', {
45
45
  selected: [this.mode],
46
46
  onSelectionChange: this.handleChangeMode.bind(this),
47
47
  buttons: [
@@ -115,7 +115,7 @@ class RepeatingControlsListViewController extends heartwood_view_controllers_1.A
115
115
  height: 'content',
116
116
  cells: [
117
117
  {
118
- buttonBar: this.Controller('buttonBar', {
118
+ buttonBar: this.Controller('button-bar', {
119
119
  shouldAllowMultiSelect: true,
120
120
  onSelectionChange: (value) => {
121
121
  this.repeating.daysOfWeek = value;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sprucelabs/spruce-calendar-components",
3
3
  "description": "Calendar components for working with calendars and Sprucebot.",
4
- "version": "31.0.93",
4
+ "version": "32.0.1",
5
5
  "skill": {
6
6
  "namespace": "calendar"
7
7
  },