@meetelise/chat 1.61.1 → 1.63.0

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.
@@ -36,6 +36,15 @@ const floorplanImageCardStyles = css`
36
36
  background-color: #f0f7ff;
37
37
  }
38
38
 
39
+ /* A card that can't be chosen right now (the tour scheduler's community cards). */
40
+ .floorplan-image-card.disabled {
41
+ opacity: 0.5;
42
+ }
43
+
44
+ .floorplan-image-card.disabled .section-right {
45
+ cursor: not-allowed;
46
+ }
47
+
39
48
  .section-right {
40
49
  flex: 1 1 auto;
41
50
  display: flex;
@@ -3,7 +3,7 @@ import format from "date-fns/format";
3
3
  import getDate from "date-fns/getDate";
4
4
  import getMonth from "date-fns/getMonth";
5
5
  import getYear from "date-fns/getYear";
6
- import { LitElement, html, TemplateResult, css } from "lit";
6
+ import { LitElement, html, TemplateResult, css, PropertyValues } from "lit";
7
7
  import { customElement, property, state } from "lit/decorators.js";
8
8
  import { classMap } from "lit/directives/class-map.js";
9
9
  import {
@@ -36,6 +36,25 @@ export class DatePicker extends LitElement {
36
36
  @property({ attribute: true })
37
37
  defaultDate?: Date;
38
38
 
39
+ /**
40
+ * Optional "yyyy-MM": show that month, and move there each time it changes.
41
+ * Left unset, the calendar opens on the current month as before.
42
+ */
43
+ @property({ attribute: false })
44
+ shownMonth?: string;
45
+
46
+ protected willUpdate(changedProperties: PropertyValues): void {
47
+ if (changedProperties.has("shownMonth") && this.shownMonth) {
48
+ const [year, month] = this.shownMonth.split("-").map(Number);
49
+ this.yearShown = year;
50
+ this.monthShown = month - 1;
51
+ }
52
+ }
53
+
54
+ /** Tour-scheduler-v2's look: white and bordered, open days tinted with the brand colour. */
55
+ @property({ type: Boolean, reflect: true })
56
+ outlined = false;
57
+
39
58
  @property({ attribute: false })
40
59
  availabilities?: {
41
60
  [day: string]: Date[];
@@ -256,6 +275,71 @@ export class DatePicker extends LitElement {
256
275
  .dayNumber:is(.differentMonth, .past, .noAvailabilities) {
257
276
  opacity: 30%;
258
277
  }
278
+
279
+ /* Only with the outlined attribute, which today's scheduler doesn't set. */
280
+ :host([outlined]) #calendar {
281
+ background: #ffffff;
282
+ border: 1px solid #e7e7e7;
283
+ border-radius: 8px;
284
+ max-width: 18rem;
285
+ min-width: 0;
286
+ padding: 12px;
287
+ width: 100%;
288
+ }
289
+
290
+ @media screen and (max-width: 767px) {
291
+ :host([outlined]) #calendar {
292
+ max-width: none;
293
+ }
294
+ }
295
+
296
+ :host([outlined]) #rows {
297
+ gap: 6px;
298
+ }
299
+
300
+ :host([outlined]) .dayNumber {
301
+ height: 28px;
302
+ }
303
+
304
+ :host([outlined]) .dayNumber:not(:disabled) {
305
+ cursor: pointer;
306
+ z-index: 1;
307
+ }
308
+
309
+ :host([outlined]) .dayNumber:not(:disabled):not(.selected)::after {
310
+ background-color: color-mix(
311
+ in srgb,
312
+ var(--primary-color, #202020) 12%,
313
+ #ffffff
314
+ );
315
+ aspect-ratio: 1;
316
+ border: none;
317
+ border-radius: 50%;
318
+ content: "";
319
+ height: 28px;
320
+ left: 50%;
321
+ position: absolute;
322
+ top: 50%;
323
+ transform: translate(-50%, -50%);
324
+ z-index: -1;
325
+ }
326
+
327
+ :host([outlined]) .dayNumber:not(:disabled):not(.selected):hover::after {
328
+ background-color: color-mix(
329
+ in srgb,
330
+ var(--primary-color, #202020) 24%,
331
+ #ffffff
332
+ );
333
+ }
334
+
335
+ :host([outlined]) .dayNumber.selected::after {
336
+ background-color: var(--primary-color, #202020);
337
+ height: 28px;
338
+ }
339
+
340
+ :host([outlined]) .dayNumber.selected {
341
+ color: var(--on-primary-color, #ffffff);
342
+ }
259
343
  `;
260
344
 
261
345
  render(): TemplateResult {
@@ -316,10 +316,19 @@ export class TourScheduler extends LitElement {
316
316
  @state()
317
317
  private useCoastalCustomTourTypes = false;
318
318
 
319
+ @state()
320
+ private tourTypeOrder: TourType[] = defaultTourTypeOrder;
321
+
322
+ private coastalTourLabel(tourType: TourType): string | undefined {
323
+ return this.useCoastalCustomTourTypes
324
+ ? coastalTourLabels[tourType]
325
+ : undefined;
326
+ }
327
+
319
328
  private confirmationTourName(tourType: TourType): string {
320
- return tourType === TourType.Self && this.useCoastalCustomTourTypes
321
- ? coastalSelfGuidedTourLabel
322
- : defaultConfirmationTourNames[tourType];
329
+ return (
330
+ this.coastalTourLabel(tourType) ?? defaultConfirmationTourNames[tourType]
331
+ );
323
332
  }
324
333
 
325
334
  _setAvailabilities = async (): Promise<void> => {
@@ -574,11 +583,12 @@ export class TourScheduler extends LitElement {
574
583
  const useCoastalCustomTourTypes = fetchTrackedRolloutCoastalCustomTourTypes(
575
584
  this.buildingSlug
576
585
  );
577
- try {
578
- await getRawAvailabilities(this.buildingId);
579
- } catch (e) {
580
- // noop
581
- }
586
+ this.tourTypeOrder = tourTypeOrderFor(
587
+ await getRawAvailabilities(this.buildingId).then(
588
+ (availabilities) => availabilities.rankOrderedSupportedTourTypes ?? [],
589
+ () => []
590
+ )
591
+ );
582
592
  this.useCoastalCustomTourTypes = await useCoastalCustomTourTypes;
583
593
  await Promise.all([
584
594
  this._setAvailabilities().then(async () => {
@@ -1026,6 +1036,144 @@ export class TourScheduler extends LitElement {
1026
1036
  static styles = [tourSchedulerStyles, InputStyles];
1027
1037
 
1028
1038
  tourTypeMenu(): TemplateResult {
1039
+ const options: Record<TourType, TemplateResult | string> = {
1040
+ [TourType.Self]: this.shouldShowTourType[TourType.Self]
1041
+ ? html` <tour-type-option
1042
+ heading=${this.coastalTourLabel(TourType.Self) ?? "Take a tour"}
1043
+ subtitle=${this.coastalTourLabel(TourType.Self)
1044
+ ? ""
1045
+ : "on your own"}
1046
+ .primaryColor=${this.primaryColor}
1047
+ .foregroundColorOnPrimaryBackgroundColor=${this
1048
+ .foregroundColorOnPrimaryBackgroundColor}
1049
+ @click="${async () => {
1050
+ this.tourType = TourType.Self;
1051
+ pushGtmEvent("tourTypeSelected", {
1052
+ tourType: TourType.Self,
1053
+ buildingId: this.buildingId,
1054
+ });
1055
+ if (
1056
+ this.sgtUrl &&
1057
+ shouldOpenTourLink(
1058
+ TourType.Self,
1059
+ this.selfGuidedToursTypeOffered
1060
+ )
1061
+ ) {
1062
+ this.openSelfGuidedTour();
1063
+ }
1064
+ this.availabilitiesGroupedByDay =
1065
+ await getAvailabilitiesGroupedByDay(tourTypeMap[TourType.Self]);
1066
+ this._setDefaultSelectedDateAndTimes(tourTypeMap[TourType.Self]);
1067
+ }}"
1068
+ @keydown="${(e: KeyboardEvent) => {
1069
+ if ([" ", "Enter"].includes(e.key)) {
1070
+ e.preventDefault();
1071
+ this.tourType = TourType.Self;
1072
+ }
1073
+ }}"
1074
+ ?selected="${this.tourType === TourType.Self}"
1075
+ >
1076
+ ${TourSelfGuidedIcon(
1077
+ this.tourType === TourType.Self
1078
+ ? this.foregroundColorOnPrimaryBackgroundColor
1079
+ : unselectedTourTypeForegroundColor
1080
+ )}
1081
+ </tour-type-option>`
1082
+ : "",
1083
+ [TourType.Guided]: this.shouldShowTourType[TourType.Guided]
1084
+ ? html` <tour-type-option
1085
+ heading=${this.coastalTourLabel(TourType.Guided) ?? "Guided tour"}
1086
+ subtitle=${this.coastalTourLabel(TourType.Guided)
1087
+ ? ""
1088
+ : "with an agent"}
1089
+ .primaryColor=${this.primaryColor}
1090
+ .foregroundColorOnPrimaryBackgroundColor=${this
1091
+ .foregroundColorOnPrimaryBackgroundColor}
1092
+ @click="${async () => {
1093
+ this.tourType = TourType.Guided;
1094
+ pushGtmEvent("tourTypeSelected", {
1095
+ tourType: TourType.Guided,
1096
+ buildingId: this.buildingId,
1097
+ });
1098
+
1099
+ if (
1100
+ this.escortedToursLink &&
1101
+ shouldOpenTourLink(
1102
+ TourType.Guided,
1103
+ this.escortedToursTypeOffered
1104
+ )
1105
+ ) {
1106
+ window.open(this.escortedToursLink, "_blank");
1107
+ }
1108
+ this.availabilitiesGroupedByDay =
1109
+ await getAvailabilitiesGroupedByDay(
1110
+ tourTypeMap[TourType.Guided]
1111
+ );
1112
+ this._setDefaultSelectedDateAndTimes(
1113
+ tourTypeMap[TourType.Guided]
1114
+ );
1115
+ }}"
1116
+ @keydown="${(e: KeyboardEvent) => {
1117
+ if ([" ", "Enter"].includes(e.key)) {
1118
+ e.preventDefault();
1119
+ this.tourType = TourType.Guided;
1120
+ }
1121
+ }}"
1122
+ ?selected="${this.tourType === TourType.Guided}"
1123
+ >
1124
+ ${TourWithAgentIcon(
1125
+ this.tourType === TourType.Guided
1126
+ ? this.foregroundColorOnPrimaryBackgroundColor
1127
+ : unselectedTourTypeForegroundColor
1128
+ )}
1129
+ </tour-type-option>`
1130
+ : "",
1131
+ [TourType.Virtual]: this.shouldShowTourType[TourType.Virtual]
1132
+ ? html` <tour-type-option
1133
+ heading="Virtual tour"
1134
+ subtitle="over video"
1135
+ .primaryColor=${this.primaryColor}
1136
+ .foregroundColorOnPrimaryBackgroundColor=${this
1137
+ .foregroundColorOnPrimaryBackgroundColor}
1138
+ @click="${async () => {
1139
+ this.tourType = TourType.Virtual;
1140
+ pushGtmEvent("tourTypeSelected", {
1141
+ tourType: TourType.Virtual,
1142
+ buildingId: this.buildingId,
1143
+ });
1144
+ if (
1145
+ this.virtualToursLink &&
1146
+ shouldOpenTourLink(
1147
+ TourType.Virtual,
1148
+ this.virtualToursTypeOffered
1149
+ )
1150
+ ) {
1151
+ window.open(this.virtualToursLink, "_blank");
1152
+ }
1153
+ this.availabilitiesGroupedByDay =
1154
+ await getAvailabilitiesGroupedByDay(
1155
+ tourTypeMap[TourType.Virtual]
1156
+ );
1157
+ this._setDefaultSelectedDateAndTimes(
1158
+ tourTypeMap[TourType.Virtual]
1159
+ );
1160
+ }}"
1161
+ @keydown="${(e: KeyboardEvent) => {
1162
+ if ([" ", "Enter"].includes(e.key)) {
1163
+ e.preventDefault();
1164
+ this.tourType = TourType.Virtual;
1165
+ }
1166
+ }}"
1167
+ ?selected="${this.tourType === TourType.Virtual}"
1168
+ >
1169
+ ${TourVirtuallyIcon(
1170
+ this.tourType === TourType.Virtual
1171
+ ? this.foregroundColorOnPrimaryBackgroundColor
1172
+ : unselectedTourTypeForegroundColor
1173
+ )}
1174
+ </tour-type-option>`
1175
+ : "",
1176
+ };
1029
1177
  return html`${this.buildingSelector()}
1030
1178
  <h2 id="tour-type-heading" class="journey-header">Tour Type</h2>
1031
1179
  <div
@@ -1033,144 +1181,7 @@ export class TourScheduler extends LitElement {
1033
1181
  role="radiogroup"
1034
1182
  aria-labelledby="tour-type-heading"
1035
1183
  >
1036
- ${this.shouldShowTourType[TourType.Self]
1037
- ? html` <tour-type-option
1038
- heading=${this.useCoastalCustomTourTypes
1039
- ? coastalSelfGuidedTourLabel
1040
- : "Take a tour"}
1041
- subtitle=${this.useCoastalCustomTourTypes ? "" : "on your own"}
1042
- .primaryColor=${this.primaryColor}
1043
- .foregroundColorOnPrimaryBackgroundColor=${this
1044
- .foregroundColorOnPrimaryBackgroundColor}
1045
- @click="${async () => {
1046
- this.tourType = TourType.Self;
1047
- pushGtmEvent("tourTypeSelected", {
1048
- tourType: TourType.Self,
1049
- buildingId: this.buildingId,
1050
- });
1051
- if (
1052
- this.sgtUrl &&
1053
- shouldOpenTourLink(
1054
- TourType.Self,
1055
- this.selfGuidedToursTypeOffered
1056
- )
1057
- ) {
1058
- this.openSelfGuidedTour();
1059
- }
1060
- this.availabilitiesGroupedByDay =
1061
- await getAvailabilitiesGroupedByDay(
1062
- tourTypeMap[TourType.Self]
1063
- );
1064
- this._setDefaultSelectedDateAndTimes(
1065
- tourTypeMap[TourType.Self]
1066
- );
1067
- }}"
1068
- @keydown="${(e: KeyboardEvent) => {
1069
- if ([" ", "Enter"].includes(e.key)) {
1070
- e.preventDefault();
1071
- this.tourType = TourType.Self;
1072
- }
1073
- }}"
1074
- ?selected="${this.tourType === TourType.Self}"
1075
- >
1076
- ${TourSelfGuidedIcon(
1077
- this.tourType === TourType.Self
1078
- ? this.foregroundColorOnPrimaryBackgroundColor
1079
- : unselectedTourTypeForegroundColor
1080
- )}
1081
- </tour-type-option>`
1082
- : ""}
1083
- ${this.shouldShowTourType[TourType.Guided]
1084
- ? html` <tour-type-option
1085
- heading="Guided tour"
1086
- subtitle="with an agent"
1087
- .primaryColor=${this.primaryColor}
1088
- .foregroundColorOnPrimaryBackgroundColor=${this
1089
- .foregroundColorOnPrimaryBackgroundColor}
1090
- @click="${async () => {
1091
- this.tourType = TourType.Guided;
1092
- pushGtmEvent("tourTypeSelected", {
1093
- tourType: TourType.Guided,
1094
- buildingId: this.buildingId,
1095
- });
1096
-
1097
- if (
1098
- this.escortedToursLink &&
1099
- shouldOpenTourLink(
1100
- TourType.Guided,
1101
- this.escortedToursTypeOffered
1102
- )
1103
- ) {
1104
- window.open(this.escortedToursLink, "_blank");
1105
- }
1106
- this.availabilitiesGroupedByDay =
1107
- await getAvailabilitiesGroupedByDay(
1108
- tourTypeMap[TourType.Guided]
1109
- );
1110
- this._setDefaultSelectedDateAndTimes(
1111
- tourTypeMap[TourType.Guided]
1112
- );
1113
- }}"
1114
- @keydown="${(e: KeyboardEvent) => {
1115
- if ([" ", "Enter"].includes(e.key)) {
1116
- e.preventDefault();
1117
- this.tourType = TourType.Guided;
1118
- }
1119
- }}"
1120
- ?selected="${this.tourType === TourType.Guided}"
1121
- >
1122
- ${TourWithAgentIcon(
1123
- this.tourType === TourType.Guided
1124
- ? this.foregroundColorOnPrimaryBackgroundColor
1125
- : unselectedTourTypeForegroundColor
1126
- )}
1127
- </tour-type-option>`
1128
- : ""}
1129
- ${this.shouldShowTourType[TourType.Virtual]
1130
- ? html` <tour-type-option
1131
- heading="Virtual tour"
1132
- subtitle="over video"
1133
- .primaryColor=${this.primaryColor}
1134
- .foregroundColorOnPrimaryBackgroundColor=${this
1135
- .foregroundColorOnPrimaryBackgroundColor}
1136
- @click="${async () => {
1137
- this.tourType = TourType.Virtual;
1138
- pushGtmEvent("tourTypeSelected", {
1139
- tourType: TourType.Virtual,
1140
- buildingId: this.buildingId,
1141
- });
1142
- if (
1143
- this.virtualToursLink &&
1144
- shouldOpenTourLink(
1145
- TourType.Virtual,
1146
- this.virtualToursTypeOffered
1147
- )
1148
- ) {
1149
- window.open(this.virtualToursLink, "_blank");
1150
- }
1151
- this.availabilitiesGroupedByDay =
1152
- await getAvailabilitiesGroupedByDay(
1153
- tourTypeMap[TourType.Virtual]
1154
- );
1155
- this._setDefaultSelectedDateAndTimes(
1156
- tourTypeMap[TourType.Virtual]
1157
- );
1158
- }}"
1159
- @keydown="${(e: KeyboardEvent) => {
1160
- if ([" ", "Enter"].includes(e.key)) {
1161
- e.preventDefault();
1162
- this.tourType = TourType.Virtual;
1163
- }
1164
- }}"
1165
- ?selected="${this.tourType === TourType.Virtual}"
1166
- >
1167
- ${TourVirtuallyIcon(
1168
- this.tourType === TourType.Virtual
1169
- ? this.foregroundColorOnPrimaryBackgroundColor
1170
- : unselectedTourTypeForegroundColor
1171
- )}
1172
- </tour-type-option>`
1173
- : ""}
1184
+ ${this.tourTypeOrder.map((tourType) => options[tourType])}
1174
1185
  </div>`;
1175
1186
  }
1176
1187
 
@@ -2182,7 +2193,26 @@ const rankedOrderTourTypeToTourType = {
2182
2193
  TourType.Virtual,
2183
2194
  };
2184
2195
 
2185
- const coastalSelfGuidedTourLabel = "VIP Hard Hat Tour";
2196
+ const coastalTourLabels: Partial<Record<TourType, string>> = {
2197
+ [TourType.Guided]: "In-Person Tour",
2198
+ [TourType.Self]: "VIP Hard Hat Tour",
2199
+ };
2200
+
2201
+ const defaultTourTypeOrder = [TourType.Guided, TourType.Self, TourType.Virtual];
2202
+
2203
+ function tourTypeOrderFor(
2204
+ rankOrderedSupportedTourTypes: TourAvailabilityResponseRankOrderedSupportedTourTypesEnum[]
2205
+ ): TourType[] {
2206
+ const ranked = rankOrderedSupportedTourTypes.flatMap((rankedType) =>
2207
+ defaultTourTypeOrder.filter(
2208
+ (tourType) => tourTypeMap[tourType] === rankedType
2209
+ )
2210
+ );
2211
+ let next = 0;
2212
+ return defaultTourTypeOrder.map((tourType) =>
2213
+ ranked.includes(tourType) ? ranked[next++] : tourType
2214
+ );
2215
+ }
2186
2216
 
2187
2217
  const defaultConfirmationTourNames: Record<TourType, string> = {
2188
2218
  [TourType.Guided]: "guided tour",
@@ -13,6 +13,9 @@ export class TourTypeOption extends LitElement {
13
13
  subtitle = "";
14
14
  @property({ type: Boolean })
15
15
  selected = false;
16
+ /** A white row with the icon on the left, marked by a brand-colour tint when selected. */
17
+ @property({ type: Boolean, reflect: true })
18
+ outlined = false;
16
19
  @property({ attribute: false })
17
20
  onClick?: () => void;
18
21
 
@@ -77,6 +80,52 @@ export class TourTypeOption extends LitElement {
77
80
  .subtitle {
78
81
  font-weight: 400;
79
82
  }
83
+
84
+ :host([outlined]) .tour-type-option,
85
+ :host([outlined][selected]) .tour-type-option {
86
+ background: #ffffff;
87
+ border: 1px solid #e7e7e7;
88
+ cursor: pointer;
89
+ height: auto;
90
+ padding: 10px 12px;
91
+ }
92
+
93
+ :host([outlined]) .content {
94
+ justify-content: flex-start;
95
+ gap: 12px;
96
+ position: static;
97
+ transform: none;
98
+ }
99
+
100
+ :host([outlined]) .icon {
101
+ align-items: center;
102
+ background: #f8f9fa;
103
+ border-radius: 8px;
104
+ display: flex;
105
+ flex-shrink: 0;
106
+ height: 40px;
107
+ justify-content: center;
108
+ width: 40px;
109
+ }
110
+
111
+ :host([outlined]) ::slotted(svg) {
112
+ height: 20px;
113
+ width: 20px;
114
+ }
115
+
116
+ :host([outlined]) .text,
117
+ :host([outlined][selected]) .text {
118
+ color: #202020;
119
+ }
120
+
121
+ :host([outlined]) .heading {
122
+ font-weight: 400;
123
+ }
124
+
125
+ :host([outlined]) .subtitle {
126
+ color: #737373;
127
+ font-size: 13px;
128
+ }
80
129
  `,
81
130
  ];
82
131
 
@@ -88,18 +137,28 @@ export class TourTypeOption extends LitElement {
88
137
  tabindex="0"
89
138
  aria-checked=${this.selected ? "true" : "false"}
90
139
  aria-label="${this.heading} ${this.subtitle}"
91
- style=${styleMap({
92
- background: this.selected ? this.primaryColor : undefined,
93
- })}
140
+ style=${styleMap(
141
+ this.outlined
142
+ ? {
143
+ background: this.selected
144
+ ? `color-mix(in srgb, ${this.primaryColor} 8%, #ffffff)`
145
+ : undefined,
146
+ "border-color": this.selected ? this.primaryColor : undefined,
147
+ }
148
+ : { background: this.selected ? this.primaryColor : undefined }
149
+ )}
94
150
  >
95
151
  <div class="content">
96
- <slot name="icon"></slot>
152
+ ${this.outlined
153
+ ? html`<span class="icon"><slot name="icon"></slot></span>`
154
+ : html`<slot name="icon"></slot>`}
97
155
  <div
98
156
  class="text"
99
157
  style=${styleMap({
100
- color: this.selected
101
- ? this.foregroundColorOnPrimaryBackgroundColor
102
- : undefined,
158
+ color:
159
+ this.selected && !this.outlined
160
+ ? this.foregroundColorOnPrimaryBackgroundColor
161
+ : undefined,
103
162
  })}
104
163
  >
105
164
  <span class="heading">${this.heading}</span>
@@ -338,6 +338,20 @@ otherwise there's some empty space at the bottom of the button, which interferes
338
338
  font-size: 14px;
339
339
  padding-right: 24px;
340
340
  }
341
+
342
+ /* A footer whose button sits under its text (tour-scheduler-v2 on phones). */
343
+ #tour-scheduler-footer.stacked {
344
+ align-items: stretch;
345
+ flex-direction: column;
346
+ gap: 8px;
347
+ padding-bottom: 12px;
348
+ padding-top: 12px;
349
+ }
350
+
351
+ #tour-scheduler-footer.stacked .explanation {
352
+ font-size: 12px;
353
+ padding-right: 0;
354
+ }
341
355
  #schedule {
342
356
  width: 145px;
343
357
  height: 50px;
@@ -16,7 +16,8 @@ export class ActionConfirmButton extends LitElement {
16
16
  justify-content: center;
17
17
  align-items: center;
18
18
 
19
- background: #000000;
19
+ /* Black unless a surrounding page sets these, as the v2 scheduler does. */
20
+ background: var(--action-confirm-button-background, #000000);
20
21
  border: none;
21
22
 
22
23
  border-radius: 20px;
@@ -27,7 +28,7 @@ export class ActionConfirmButton extends LitElement {
27
28
  font-size: 12px;
28
29
  line-height: 20px;
29
30
 
30
- color: #ffffff;
31
+ color: var(--action-confirm-button-color, #ffffff);
31
32
  padding: 5px 15px;
32
33
  cursor: pointer;
33
34
  }
@@ -0,0 +1,18 @@
1
+ import { svg, SVGTemplateResult } from "lit";
2
+
3
+ export const CalendarCheckIcon = (
4
+ color = "#202020"
5
+ ): SVGTemplateResult => svg`<svg
6
+ aria-hidden="true"
7
+ focusable="false"
8
+ width="20"
9
+ height="20"
10
+ viewBox="0 0 20 20"
11
+ fill="none"
12
+ xmlns="http://www.w3.org/2000/svg"
13
+ >
14
+ <path
15
+ d="M7 0V2H13V0H15V2H19C19.2652 2 19.5196 2.10536 19.7071 2.29289C19.8946 2.48043 20 2.73478 20 3V19C20 19.2652 19.8946 19.5196 19.7071 19.7071C19.5196 19.8946 19.2652 20 19 20H1C0.734784 20 0.48043 19.8946 0.292893 19.7071C0.105357 19.5196 0 19.2652 0 19V3C0 2.73478 0.105357 2.48043 0.292893 2.29289C0.48043 2.10536 0.734784 2 1 2H5V0H7ZM18 9H2V18H18V9ZM13.036 10.136L14.45 11.55L9.5 16.5L5.964 12.964L7.38 11.55L9.501 13.672L13.037 10.136H13.036ZM5 4H2V7H18V4H15V5H13V4H7V5H5V4Z"
16
+ fill="${color}"
17
+ />
18
+ </svg>`;
@@ -0,0 +1,22 @@
1
+ import { svg, SVGTemplateResult } from "lit";
2
+
3
+ export const CheckCircleIcon = (
4
+ color = "#202020"
5
+ ): SVGTemplateResult => svg`<svg
6
+ aria-hidden="true"
7
+ focusable="false"
8
+ width="28"
9
+ height="28"
10
+ viewBox="0 0 24 24"
11
+ fill="none"
12
+ xmlns="http://www.w3.org/2000/svg"
13
+ >
14
+ <circle cx="12" cy="12" r="10.5" stroke="${color}" stroke-width="1.5" />
15
+ <path
16
+ d="M7.5 12.5L10.5 15.5L16.5 9"
17
+ stroke="${color}"
18
+ stroke-width="1.5"
19
+ stroke-linecap="round"
20
+ stroke-linejoin="round"
21
+ />
22
+ </svg>`;