@nylas/web-elements 0.0.0-canary-20241015194719 → 0.0.0-canary-20241017103834
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/dist/cdn/input-image-url/input-image-url.es.js +365 -365
- package/dist/cdn/nylas-additional-participants/nylas-additional-participants.es.js +46 -48
- package/dist/cdn/nylas-confirmation-email/nylas-confirmation-email.es.js +86 -82
- package/dist/cdn/nylas-custom-booking-flow/nylas-custom-booking-flow.es.js +1 -1
- package/dist/cdn/nylas-editor-tabs/nylas-editor-tabs.es.js +676 -674
- package/dist/cdn/nylas-event-duration/nylas-event-duration.es.js +228 -228
- package/dist/cdn/nylas-event-info/nylas-event-info.es.js +2 -2
- package/dist/cdn/nylas-event-limits/nylas-event-limits.es.js +2 -2
- package/dist/cdn/nylas-form-card/nylas-form-card.es.js +1 -1
- package/dist/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +93 -91
- package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +4 -3
- package/dist/cdn/nylas-timeslot-picker/nylas-timeslot-picker.es.js +4 -3
- package/dist/cjs/calendar-agenda-fill-icon_54.cjs.entry.js +37 -26
- package/dist/cjs/calendar-agenda-fill-icon_54.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/nylas-booked-event-card_12.cjs.entry.js +2 -2
- package/dist/cjs/nylas-booked-event-card_12.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-form-card.cjs.entry.js +1 -1
- package/dist/cjs/nylas-web-elements.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/design-system/input-image-url/input-image-url.js +20 -2
- package/dist/collection/components/design-system/input-image-url/input-image-url.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.js +2 -2
- package/dist/collection/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js +12 -16
- package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-additional-participants/test/nylas-additional-participants.spec.js +106 -0
- package/dist/collection/components/scheduler-editor/nylas-additional-participants/test/nylas-additional-participants.spec.js.map +1 -0
- package/dist/collection/components/scheduler-editor/nylas-confirmation-email/nylas-confirmation-email.js +52 -28
- package/dist/collection/components/scheduler-editor/nylas-confirmation-email/nylas-confirmation-email.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-confirmation-email/test/nylas-confirmation-email.spec.js +33 -0
- package/dist/collection/components/scheduler-editor/nylas-confirmation-email/test/nylas-confirmation-email.spec.js.map +1 -0
- package/dist/collection/components/scheduler-editor/nylas-event-duration/nylas-event-duration.js +5 -3
- package/dist/collection/components/scheduler-editor/nylas-event-duration/nylas-event-duration.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-duration/test/nylas-event-duration.spec.js +55 -0
- package/dist/collection/components/scheduler-editor/nylas-event-duration/test/nylas-event-duration.spec.js.map +1 -0
- package/dist/collection/components/scheduler-editor/nylas-event-info/nylas-event-info.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-limits/nylas-event-limits.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-form-card/nylas-form-card.js +1 -1
- package/dist/components/input-image-url2.js +6 -2
- package/dist/components/input-image-url2.js.map +1 -1
- package/dist/components/nylas-additional-participants2.js +12 -16
- package/dist/components/nylas-additional-participants2.js.map +1 -1
- package/dist/components/nylas-confirmation-email2.js +14 -5
- package/dist/components/nylas-confirmation-email2.js.map +1 -1
- package/dist/components/nylas-event-duration2.js +5 -3
- package/dist/components/nylas-event-duration2.js.map +1 -1
- package/dist/components/nylas-event-info2.js +1 -1
- package/dist/components/nylas-event-limits2.js +1 -1
- package/dist/components/nylas-form-card2.js +1 -1
- package/dist/components/nylas-timeslot-picker2.js +2 -2
- package/dist/components/nylas-timeslot-picker2.js.map +1 -1
- package/dist/esm/calendar-agenda-fill-icon_54.entry.js +37 -26
- package/dist/esm/calendar-agenda-fill-icon_54.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/nylas-booked-event-card_12.entry.js +2 -2
- package/dist/esm/nylas-booked-event-card_12.entry.js.map +1 -1
- package/dist/esm/nylas-form-card.entry.js +1 -1
- package/dist/esm/nylas-web-elements.js +1 -1
- package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
- package/dist/nylas-web-elements/nylas-web-elements.esm.js.map +1 -1
- package/dist/nylas-web-elements/{p-698d229c.entry.js → p-7a1d51ab.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-698d229c.entry.js.map → p-7a1d51ab.entry.js.map} +1 -1
- package/dist/nylas-web-elements/p-bbf86b8c.entry.js +2 -0
- package/dist/nylas-web-elements/p-df131a08.entry.js +8 -0
- package/dist/nylas-web-elements/p-df131a08.entry.js.map +1 -0
- package/dist/types/components/design-system/input-image-url/input-image-url.d.ts +4 -0
- package/dist/types/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.d.ts +1 -1
- package/dist/types/components/scheduler-editor/nylas-confirmation-email/nylas-confirmation-email.d.ts +5 -1
- package/dist/types/components.d.ts +18 -6
- package/package.json +3 -3
- package/dist/nylas-web-elements/p-b9a8d404.entry.js +0 -8
- package/dist/nylas-web-elements/p-b9a8d404.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-f4334e3a.entry.js +0 -2
- /package/dist/nylas-web-elements/{p-f4334e3a.entry.js.map → p-bbf86b8c.entry.js.map} +0 -0
|
@@ -7,6 +7,10 @@ export declare class InputImageUrl {
|
|
|
7
7
|
name: string;
|
|
8
8
|
internals: ElementInternals;
|
|
9
9
|
currentImageUrl: string;
|
|
10
|
+
readonly nylasFormInputImageUrlInvalid: EventEmitter<{
|
|
11
|
+
value: string;
|
|
12
|
+
name: string;
|
|
13
|
+
}>;
|
|
10
14
|
valueChanged: EventEmitter<{
|
|
11
15
|
value: string;
|
|
12
16
|
name: string;
|
|
@@ -40,6 +40,7 @@ export declare class NylasAdditionalParticipants {
|
|
|
40
40
|
componentWillLoad(): void;
|
|
41
41
|
componentDidLoad(): void;
|
|
42
42
|
disconnectedCallback(): void;
|
|
43
|
+
isInternalsAvailable(): boolean;
|
|
43
44
|
onInputOptionChanged(event: CustomEvent<{
|
|
44
45
|
value: string;
|
|
45
46
|
name: string;
|
|
@@ -47,7 +48,6 @@ export declare class NylasAdditionalParticipants {
|
|
|
47
48
|
updateOrganizerAsParticipant(): void;
|
|
48
49
|
addParticipant(): void;
|
|
49
50
|
removeParticipant(index: number): void;
|
|
50
|
-
validate(email: any, index: any): void;
|
|
51
51
|
updateFormValue(): void;
|
|
52
52
|
getArrayDifference(array1: AdditionalParticipant[], array2: Participant[]): {
|
|
53
53
|
value: string;
|
|
@@ -4,9 +4,9 @@ export declare class NylasConfirmationEmail {
|
|
|
4
4
|
host: HTMLNylasConfirmationEmailElement;
|
|
5
5
|
selectedConfiguration?: Configuration;
|
|
6
6
|
confirmationEmailTemplate: EmailTemplate;
|
|
7
|
-
isOpen: boolean;
|
|
8
7
|
participants: Participant[];
|
|
9
8
|
name: string;
|
|
9
|
+
isOpen: boolean;
|
|
10
10
|
internals: ElementInternals;
|
|
11
11
|
confirmationEmail: EmailTemplate;
|
|
12
12
|
isConfirmationEmailOpen: boolean;
|
|
@@ -34,6 +34,10 @@ export declare class NylasConfirmationEmail {
|
|
|
34
34
|
value: string;
|
|
35
35
|
name: string;
|
|
36
36
|
}>): void;
|
|
37
|
+
nylasFormInputImageUrlInvalidHandler(event: CustomEvent<{
|
|
38
|
+
value: string;
|
|
39
|
+
name: string;
|
|
40
|
+
}>): Promise<void>;
|
|
37
41
|
updateConfirmationFormValue(): void;
|
|
38
42
|
toggleConfirmationEmail(): void;
|
|
39
43
|
handleEmailBodyChange(event: any): void;
|
|
@@ -656,7 +656,7 @@ export namespace Components {
|
|
|
656
656
|
*/
|
|
657
657
|
interface NylasConfirmationEmail {
|
|
658
658
|
/**
|
|
659
|
-
* The confirmation email template data to display
|
|
659
|
+
* @standalone The confirmation email template data to display
|
|
660
660
|
*/
|
|
661
661
|
"confirmationEmailTemplate": EmailTemplate;
|
|
662
662
|
/**
|
|
@@ -664,13 +664,16 @@ export namespace Components {
|
|
|
664
664
|
*/
|
|
665
665
|
"isOpen": boolean;
|
|
666
666
|
/**
|
|
667
|
-
* The name of the component
|
|
667
|
+
* @standalone The name of the component
|
|
668
668
|
*/
|
|
669
669
|
"name": string;
|
|
670
670
|
/**
|
|
671
|
-
* List of participants
|
|
671
|
+
* @standalone List of participants
|
|
672
672
|
*/
|
|
673
673
|
"participants": Participant[];
|
|
674
|
+
/**
|
|
675
|
+
* @standalone The selected config
|
|
676
|
+
*/
|
|
674
677
|
"selectedConfiguration"?: Configuration;
|
|
675
678
|
}
|
|
676
679
|
/**
|
|
@@ -2321,6 +2324,7 @@ declare global {
|
|
|
2321
2324
|
new (): HTMLInputDropdownElement;
|
|
2322
2325
|
};
|
|
2323
2326
|
interface HTMLInputImageUrlElementEventMap {
|
|
2327
|
+
"nylasFormInputImageUrlInvalid": { value: string; name: string };
|
|
2324
2328
|
"valueChanged": {
|
|
2325
2329
|
value: string;
|
|
2326
2330
|
name: string;
|
|
@@ -4288,6 +4292,10 @@ declare namespace LocalJSX {
|
|
|
4288
4292
|
* The name of the component
|
|
4289
4293
|
*/
|
|
4290
4294
|
"name"?: string;
|
|
4295
|
+
/**
|
|
4296
|
+
* This event is fired when the image url is changed and the image is invalid.
|
|
4297
|
+
*/
|
|
4298
|
+
"onNylasFormInputImageUrlInvalid"?: (event: InputImageUrlCustomEvent<{ value: string; name: string }>) => void;
|
|
4291
4299
|
/**
|
|
4292
4300
|
* This event is fired when the image URL is changed
|
|
4293
4301
|
*/
|
|
@@ -4784,7 +4792,7 @@ declare namespace LocalJSX {
|
|
|
4784
4792
|
*/
|
|
4785
4793
|
interface NylasConfirmationEmail {
|
|
4786
4794
|
/**
|
|
4787
|
-
* The confirmation email template data to display
|
|
4795
|
+
* @standalone The confirmation email template data to display
|
|
4788
4796
|
*/
|
|
4789
4797
|
"confirmationEmailTemplate"?: EmailTemplate;
|
|
4790
4798
|
/**
|
|
@@ -4792,7 +4800,7 @@ declare namespace LocalJSX {
|
|
|
4792
4800
|
*/
|
|
4793
4801
|
"isOpen"?: boolean;
|
|
4794
4802
|
/**
|
|
4795
|
-
* The name of the component
|
|
4803
|
+
* @standalone The name of the component
|
|
4796
4804
|
*/
|
|
4797
4805
|
"name"?: string;
|
|
4798
4806
|
/**
|
|
@@ -4804,9 +4812,13 @@ declare namespace LocalJSX {
|
|
|
4804
4812
|
valueChanged?: (event: CustomEvent<{ value: string; name: string }>) => void;
|
|
4805
4813
|
}>) => void;
|
|
4806
4814
|
/**
|
|
4807
|
-
* List of participants
|
|
4815
|
+
* @standalone List of participants
|
|
4808
4816
|
*/
|
|
4809
4817
|
"participants"?: Participant[];
|
|
4818
|
+
/**
|
|
4819
|
+
* @standalone The selected config
|
|
4820
|
+
*/
|
|
4821
|
+
"selectedConfiguration"?: Configuration;
|
|
4810
4822
|
}
|
|
4811
4823
|
/**
|
|
4812
4824
|
* The `nylas-confirmed-event-card` component is a UI component that displays the confirmed event card.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nylas/web-elements",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20241017103834",
|
|
4
4
|
"description": "Nylas Web Elements",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"rrule": "2.7.2",
|
|
37
37
|
"sanitize-html": "^2.13.0",
|
|
38
38
|
"sortablejs": "^1.15.2",
|
|
39
|
-
"@nylas/
|
|
40
|
-
"@nylas/
|
|
39
|
+
"@nylas/core": "^1.1.0",
|
|
40
|
+
"@nylas/identity": "^2.1.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@stencil-community/eslint-plugin": "^0.7.1",
|