@nylas/react 1.1.5 → 1.1.6
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/{add-circle-icon_2.entry-1e899552.js → add-circle-icon_2.entry-40ff1ddc.js} +1 -1
- package/dist/{add-circle-icon_2.entry-31acee1d.cjs → add-circle-icon_2.entry-c9aa21bb.cjs} +1 -1
- package/dist/{archive-icon.entry-b5f307e8.js → archive-icon.entry-253f4253.js} +1 -1
- package/dist/{archive-icon.entry-e932c9e6.cjs → archive-icon.entry-f27eb10c.cjs} +1 -1
- package/dist/{arrow-icon.entry-aae2e22d.js → arrow-icon.entry-ac939154.js} +1 -1
- package/dist/{arrow-icon.entry-e35a6cad.cjs → arrow-icon.entry-b1ca875a.cjs} +1 -1
- package/dist/{bold-icon.entry-d5d86b3f.js → bold-icon.entry-3594774b.js} +1 -1
- package/dist/{bold-icon.entry-1e3c9b1f.cjs → bold-icon.entry-e815017f.cjs} +1 -1
- package/dist/{button-component_2.entry-a86f8dca.cjs → button-component_2.entry-a2d998c4.cjs} +1 -1
- package/dist/{button-component_2.entry-5284316e.js → button-component_2.entry-fdca89a8.js} +1 -1
- package/dist/{calendar-agenda-fill-icon_54.entry-5672c589.js → calendar-agenda-fill-icon_54.entry-40b74a1d.js} +67 -61
- package/dist/{calendar-agenda-fill-icon_54.entry-702b29cc.cjs → calendar-agenda-fill-icon_54.entry-d47f77af.cjs} +4 -4
- package/dist/{calendar-cancel-icon.entry-7f81de9d.js → calendar-cancel-icon.entry-90a529f9.js} +1 -1
- package/dist/{calendar-cancel-icon.entry-e9792eaa.cjs → calendar-cancel-icon.entry-98e56632.cjs} +1 -1
- package/dist/{calendar-check-icon_2.entry-84db1700.js → calendar-check-icon_2.entry-09e247b0.js} +1 -1
- package/dist/{calendar-check-icon_2.entry-ad055b37.cjs → calendar-check-icon_2.entry-305d0f9f.cjs} +1 -1
- package/dist/{calendar-icon.entry-019f7feb.cjs → calendar-icon.entry-7570a82f.cjs} +1 -1
- package/dist/{calendar-icon.entry-45db1630.js → calendar-icon.entry-ff7dfc9b.js} +1 -1
- package/dist/{checkbox-component_2.entry-8325ff88.cjs → checkbox-component_2.entry-2b5a2721.cjs} +1 -1
- package/dist/{checkbox-component_2.entry-84a053ff.js → checkbox-component_2.entry-2d8bf66e.js} +1 -1
- package/dist/{chevron-icon_3.entry-0edde2a6.cjs → chevron-icon_3.entry-35130198.cjs} +1 -1
- package/dist/{chevron-icon_3.entry-ec894a13.js → chevron-icon_3.entry-e6539933.js} +1 -1
- package/dist/{clock-icon_4.entry-935fe48d.cjs → clock-icon_4.entry-623c482d.cjs} +1 -1
- package/dist/{clock-icon_4.entry-8ec9c29b.js → clock-icon_4.entry-797aa1f7.js} +1 -1
- package/dist/{copy-icon.entry-5a2030da.cjs → copy-icon.entry-7dd1cd70.cjs} +1 -1
- package/dist/{copy-icon.entry-d9405510.js → copy-icon.entry-9b8eb24d.js} +1 -1
- package/dist/{delete-icon.entry-1b0a3ba4.js → delete-icon.entry-3d05884f.js} +1 -1
- package/dist/{delete-icon.entry-3f3d1ffb.cjs → delete-icon.entry-506ee04f.cjs} +1 -1
- package/dist/{document-refresh-icon.entry-fab58d33.js → document-refresh-icon.entry-09b959f4.js} +1 -1
- package/dist/{document-refresh-icon.entry-59a18097.cjs → document-refresh-icon.entry-1ff1f7ca.cjs} +1 -1
- package/dist/{feedbackSync-b56b29ed-7a1f1f75.js → feedbackSync-b56b29ed-6a2388f3.js} +1 -1
- package/dist/{feedbackSync-b56b29ed-b6f352f3.cjs → feedbackSync-b56b29ed-cf8c7876.cjs} +1 -1
- package/dist/{folder-icon.entry-e85383b6.cjs → folder-icon.entry-2788257d.cjs} +1 -1
- package/dist/{folder-icon.entry-b5a123d0.js → folder-icon.entry-6f9875f7.js} +1 -1
- package/dist/{forward-icon.entry-7c8ed4c3.cjs → forward-icon.entry-49f6a480.cjs} +1 -1
- package/dist/{forward-icon.entry-88ab1a85.js → forward-icon.entry-a0de0be0.js} +1 -1
- package/dist/{globe-icon.entry-b1253516.cjs → globe-icon.entry-04c890dd.cjs} +1 -1
- package/dist/{globe-icon.entry-6fb414ca.js → globe-icon.entry-b7f1e5b8.js} +1 -1
- package/dist/{google-logo-icon_4.entry-ae09d065.cjs → google-logo-icon_4.entry-66d8a50d.cjs} +1 -1
- package/dist/{google-logo-icon_4.entry-fe627741.js → google-logo-icon_4.entry-b2463218.js} +101 -101
- package/dist/{inbox-icon.entry-7dce836e.cjs → inbox-icon.entry-11813535.cjs} +1 -1
- package/dist/{inbox-icon.entry-cec35da1.js → inbox-icon.entry-c5cb64d8.js} +1 -1
- package/dist/{index-3fd31877.js → index-600718a1.js} +50 -50
- package/dist/{index-bd6fdc8c.cjs → index-8755dd64.cjs} +2 -2
- package/dist/{index.es-c7ca1bad-0a324dca.cjs → index.es-c7ca1bad-1c8a9213.cjs} +1 -1
- package/dist/{index.es-c7ca1bad-b895d84b.js → index.es-c7ca1bad-73894e2f.js} +1 -1
- package/dist/{info-icon_2.entry-1dab6311.cjs → info-icon_2.entry-08125285.cjs} +1 -1
- package/dist/{info-icon_2.entry-f7e6b4aa.js → info-icon_2.entry-e48e3cda.js} +1 -1
- package/dist/{input-color-picker.entry-30cda4e2.js → input-color-picker.entry-54e61165.js} +1 -1
- package/dist/{input-color-picker.entry-b6e53c29.cjs → input-color-picker.entry-acfa5da8.cjs} +1 -1
- package/dist/{input-component.entry-7a04bc8b.js → input-component.entry-54df3f66.js} +1 -1
- package/dist/{input-component.entry-1f1f8e00.cjs → input-component.entry-e2fbcde0.cjs} +1 -1
- package/dist/{input-dropdown.entry-5e5b67be.cjs → input-dropdown.entry-1509d5c4.cjs} +1 -1
- package/dist/{input-dropdown.entry-abf134a8.js → input-dropdown.entry-8dec00e3.js} +1 -1
- package/dist/{italic-icon.entry-c793243b.cjs → italic-icon.entry-79eafb05.cjs} +1 -1
- package/dist/{italic-icon.entry-4631c594.js → italic-icon.entry-c9028583.js} +1 -1
- package/dist/{multi-select-dropdown.entry-2b8728d5.cjs → multi-select-dropdown.entry-221212e3.cjs} +1 -1
- package/dist/{multi-select-dropdown.entry-9a93da56.js → multi-select-dropdown.entry-2ed02a88.js} +1 -1
- package/dist/nylas-booked-event-card_12.entry-5125b535.cjs +1 -0
- package/dist/nylas-booked-event-card_12.entry-fa2b2630.js +1237 -0
- package/dist/{nylas-form-card.entry-af179b96.cjs → nylas-form-card.entry-2019c383.cjs} +1 -1
- package/dist/{nylas-form-card.entry-862519b4.js → nylas-form-card.entry-a114052f.js} +2 -2
- package/dist/{nylas-if-state.entry-c1c1282d.cjs → nylas-if-state.entry-480c45d1.cjs} +1 -1
- package/dist/{nylas-if-state.entry-8803a762.js → nylas-if-state.entry-de891ced.js} +2 -2
- package/dist/{nylas-login.entry-3e12f747.js → nylas-login.entry-9ad74f40.js} +2 -2
- package/dist/{nylas-login.entry-65f8f046.cjs → nylas-login.entry-c99a7b37.cjs} +1 -1
- package/dist/{nylas-provider.entry-9626b113.cjs → nylas-provider.entry-d9c4e3d2.cjs} +1 -1
- package/dist/{nylas-provider.entry-e3501bd1.js → nylas-provider.entry-faf7ef23.js} +4 -4
- package/dist/{nylas-scheduler-editor.entry-17cd1514.cjs → nylas-scheduler-editor.entry-8c5543bd.cjs} +1 -1
- package/dist/{nylas-scheduler-editor.entry-6df45b05.js → nylas-scheduler-editor.entry-9af09bc2.js} +3 -3
- package/dist/{nylas-scheduling.entry-08051ba3.js → nylas-scheduling.entry-8f5718ac.js} +73 -73
- package/dist/{nylas-scheduling.entry-b1fafd91.cjs → nylas-scheduling.entry-e778f5f6.cjs} +1 -1
- package/dist/{nylas-time-window-picker.entry-4989d421.cjs → nylas-time-window-picker.entry-0f396304.cjs} +1 -1
- package/dist/{nylas-time-window-picker.entry-bdc8c6ea.js → nylas-time-window-picker.entry-690e753e.js} +1 -1
- package/dist/{person-icon.entry-fb7efa8f.cjs → person-icon.entry-049ebaaa.cjs} +1 -1
- package/dist/{person-icon.entry-d62a16b4.js → person-icon.entry-9c82640f.js} +1 -1
- package/dist/{play-icon.entry-f485a2c8.cjs → play-icon.entry-4b931766.cjs} +1 -1
- package/dist/{play-icon.entry-01b95392.js → play-icon.entry-5e77c87c.js} +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +1 -1
- package/dist/{refresh-icon.entry-5f997e86.cjs → refresh-icon.entry-1c42e8df.cjs} +1 -1
- package/dist/{refresh-icon.entry-1ff4b39f.js → refresh-icon.entry-f9d37dda.js} +1 -1
- package/dist/{register-component-3444af44-9053e8c3.cjs → register-component-3444af44-38748cf2.cjs} +1 -1
- package/dist/{register-component-3444af44-854971ad.js → register-component-3444af44-a9df7506.js} +1 -1
- package/dist/{reply-all-icon.entry-cbafb8a0.js → reply-all-icon.entry-c4c94341.js} +1 -1
- package/dist/{reply-all-icon.entry-1dad6514.cjs → reply-all-icon.entry-d090c34a.cjs} +1 -1
- package/dist/{reply-icon.entry-a43bc252.js → reply-icon.entry-69438565.js} +1 -1
- package/dist/{reply-icon.entry-162d9945.cjs → reply-icon.entry-6a5377ae.cjs} +1 -1
- package/dist/{scheduler-config-store-ed4a8dfd-eeaeaa50.cjs → scheduler-config-store-ed4a8dfd-82b439de.cjs} +1 -1
- package/dist/{scheduler-config-store-ed4a8dfd-22db9285.js → scheduler-config-store-ed4a8dfd-9126610f.js} +1 -1
- package/dist/{scheduler-store-d4784b24-aed474e8.cjs → scheduler-store-d4784b24-32e6da1e.cjs} +1 -1
- package/dist/{scheduler-store-d4784b24-9a5f5734.js → scheduler-store-d4784b24-4558c7eb.js} +1 -1
- package/dist/{sent-icon.entry-a1aec7e9.cjs → sent-icon.entry-36964458.cjs} +1 -1
- package/dist/{sent-icon.entry-a05486d5.js → sent-icon.entry-eae2a5f1.js} +1 -1
- package/dist/{spam-icon.entry-473f11af.js → spam-icon.entry-1f47e1cf.js} +1 -1
- package/dist/{spam-icon.entry-b481a04b.cjs → spam-icon.entry-ec0b7f17.cjs} +1 -1
- package/dist/{star-icon.entry-6b1fe3cf.cjs → star-icon.entry-5fb1fdfe.cjs} +1 -1
- package/dist/{star-icon.entry-12fdc345.js → star-icon.entry-f2ba5cf7.js} +1 -1
- package/dist/{stop-icon.entry-72481153.cjs → stop-icon.entry-c9b1f0a1.cjs} +1 -1
- package/dist/{stop-icon.entry-4bd609f7.js → stop-icon.entry-e9c53f8f.js} +1 -1
- package/dist/{textarea-component.entry-47e1b2e6.js → textarea-component.entry-43938bc5.js} +1 -1
- package/dist/{textarea-component.entry-f330a755.cjs → textarea-component.entry-f7a089d4.cjs} +1 -1
- package/dist/{time-period-selector.entry-c7611563.cjs → time-period-selector.entry-9151a673.cjs} +1 -1
- package/dist/{time-period-selector.entry-a4899368.js → time-period-selector.entry-dcef9d6a.js} +1 -1
- package/dist/{translate-icon.entry-4517838d.js → translate-icon.entry-5b47ef85.js} +1 -1
- package/dist/{translate-icon.entry-40dfa8c9.cjs → translate-icon.entry-d563b357.cjs} +1 -1
- package/dist/{trash-fill-icon.entry-86ca3055.cjs → trash-fill-icon.entry-7d201791.cjs} +1 -1
- package/dist/{trash-fill-icon.entry-d7e960eb.js → trash-fill-icon.entry-e316b456.js} +1 -1
- package/dist/{underline-icon.entry-352970f5.js → underline-icon.entry-03cae3b3.js} +1 -1
- package/dist/{underline-icon.entry-f16d4943.cjs → underline-icon.entry-a6751a31.cjs} +1 -1
- package/dist/{warning-icon.entry-63987dad.js → warning-icon.entry-b3c9b687.js} +1 -1
- package/dist/{warning-icon.entry-79ef75b2.cjs → warning-icon.entry-f4936405.cjs} +1 -1
- package/package.json +2 -2
- package/dist/nylas-booked-event-card_12.entry-8d502a3c.cjs +0 -1
- package/dist/nylas-booked-event-card_12.entry-f13f3f54.js +0 -1144
package/dist/{calendar-cancel-icon.entry-e9792eaa.cjs → calendar-cancel-icon.entry-98e56632.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-8755dd64.cjs");require("react");require("react-dom");const c=".sc-calendar-cancel-icon-h{display:flex}",n=c,t=class{constructor(a){e.registerInstance(this,a),this.width="20",this.height="20"}render(){return e.h("svg",{key:"73067881feeacd7becb2872f91f78229996f06dd",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"bed216fd298ad011b68ac073bfd1e8c526855566",d:"M14.5 9a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11Zm-2.476 3.024a.5.5 0 0 0 0 .707l1.769 1.77-1.767 1.766a.5.5 0 1 0 .707.708l1.767-1.767 1.77 1.769a.5.5 0 1 0 .707-.707L15.208 14.5l1.771-1.77a.5.5 0 0 0-.707-.707l-1.771 1.77-1.77-1.77a.5.5 0 0 0-.707 0ZM14.75 0A3.25 3.25 0 0 1 18 3.25l.001 5.773a6.47 6.47 0 0 0-1.5-.71L16.5 5.5h-15v9.25c0 .966.784 1.75 1.75 1.75h5.064a6.47 6.47 0 0 0 .709 1.501L3.25 18A3.25 3.25 0 0 1 0 14.75V3.25A3.25 3.25 0 0 1 3.25 0h11.5Zm0 1.5H3.25A1.75 1.75 0 0 0 1.5 3.25V4h15v-.75a1.75 1.75 0 0 0-1.75-1.75Z",fill:"currentColor"}))}};t.style=n;exports.calendar_cancel_icon=t;
|
package/dist/{calendar-check-icon_2.entry-ad055b37.cjs → calendar-check-icon_2.entry-305d0f9f.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-8755dd64.cjs");require("react");require("react-dom");const h=".sc-calendar-check-icon-h{display:flex}",r=h,t=class{constructor(c){e.registerInstance(this,c),this.width="20",this.height="20"}render(){return e.h("svg",{key:"a5370d8a3a42db8fc9427f05882c22604196d36b",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"92afc634de1e85e89c07ef55b3a0888b4c269831",fill:"currentColor",d:"M14.75 0C16.5449 0 18 1.45507 18 3.25V9.02182C17.5368 8.72526 17.0335 8.48584 16.5 8.3135V5.5H1.5V14.75C1.5 15.7165 2.2835 16.5 3.25 16.5H8.3135C8.48584 17.0335 8.72526 17.5368 9.02182 18H3.25C1.45507 18 0 16.5449 0 14.75V3.25C0 1.45507 1.45507 0 3.25 0H14.75ZM14.75 1.5H3.25C2.2835 1.5 1.5 2.2835 1.5 3.25V4H16.5V3.25C16.5 2.2835 15.7165 1.5 14.75 1.5ZM20 14.5C20 17.5376 17.5376 20 14.5 20C11.4624 20 9 17.5376 9 14.5C9 11.4624 11.4624 9 14.5 9C17.5376 9 20 11.4624 20 14.5ZM17.8536 12.1464C17.6583 11.9512 17.3417 11.9512 17.1464 12.1464L13.5 15.7929L11.8536 14.1464C11.6583 13.9512 11.3417 13.9512 11.1464 14.1464C10.9512 14.3417 10.9512 14.6583 11.1464 14.8536L13.1464 16.8536C13.3417 17.0488 13.6583 17.0488 13.8536 16.8536L17.8536 12.8536C18.0488 12.6583 18.0488 12.3417 17.8536 12.1464Z"}))}};t.style=r;const s=".sc-checkmark-circle-icon-h{display:flex}",n=s,i=class{constructor(c){e.registerInstance(this,c),this.width="20",this.height="20"}render(){return e.h("svg",{key:"236437ba0c458e74e9c1c275a2207be0bc767c17",xmlns:"http://www.w3.org/2000/svg",width:this.width,height:this.height,fill:"none",viewBox:"0 0 20 20"},e.h("path",{key:"ba7976c7791f538dc7e4831a083c087b9185613a",fill:"currentColor",d:"M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm3.358 4.646a.5.5 0 0 1 .058.638l-.058.07-4.004 4.004a.5.5 0 0 1-.638.058l-.07-.058-2-2a.5.5 0 0 1 .638-.765l.07.058L9 11.298l3.651-3.652a.5.5 0 0 1 .707 0Z"}))}};i.style=n;exports.calendar_check_icon=t;exports.checkmark_circle_icon=i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-8755dd64.cjs");require("react");require("react-dom");const i=".sc-calendar-icon-h{display:flex}",r=i,t=class{constructor(C){e.registerInstance(this,C),this.width="15",this.height="15"}render(){return e.h("svg",{key:"39561d399a389e6184f4c64ef06d99a6b8f62f29",width:this.width,height:this.height,fill:"none",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"70b125ef198c0a892da3235a47c9de5649eb7d82",fill:"currentColor",d:"M14.3073 0.692383C15.9641 0.692383 17.3073 2.03553 17.3073 3.69238V14.3078C17.3073 15.9646 15.9641 17.3078 14.3073 17.3078H3.6919C2.03504 17.3078 0.691895 15.9646 0.691895 14.3078V3.69238C0.691895 2.03553 2.03504 0.692383 3.6919 0.692383H14.3073ZM15.9227 5.76931H2.07651V14.3078C2.07651 15.1999 2.79974 15.9232 3.6919 15.9232H14.3073C15.1994 15.9232 15.9227 15.1999 15.9227 14.3078V5.76931ZM5.07651 11.3078C5.71376 11.3078 6.23036 11.8244 6.23036 12.4616C6.23036 13.0989 5.71376 13.6155 5.07651 13.6155C4.43926 13.6155 3.92266 13.0989 3.92266 12.4616C3.92266 11.8244 4.43926 11.3078 5.07651 11.3078ZM8.99959 11.3078C9.63684 11.3078 10.1534 11.8244 10.1534 12.4616C10.1534 13.0989 9.63684 13.6155 8.99959 13.6155C8.36234 13.6155 7.84574 13.0989 7.84574 12.4616C7.84574 11.8244 8.36234 11.3078 8.99959 11.3078ZM5.07651 7.61546C5.71376 7.61546 6.23036 8.13206 6.23036 8.76931C6.23036 9.40656 5.71376 9.92315 5.07651 9.92315C4.43926 9.92315 3.92266 9.40656 3.92266 8.76931C3.92266 8.13206 4.43926 7.61546 5.07651 7.61546ZM8.99959 7.61546C9.63684 7.61546 10.1534 8.13206 10.1534 8.76931C10.1534 9.40656 9.63684 9.92315 8.99959 9.92315C8.36234 9.92315 7.84574 9.40656 7.84574 8.76931C7.84574 8.13206 8.36234 7.61546 8.99959 7.61546ZM12.9227 7.61546C13.5599 7.61546 14.0765 8.13206 14.0765 8.76931C14.0765 9.40656 13.5599 9.92315 12.9227 9.92315C12.2854 9.92315 11.7688 9.40656 11.7688 8.76931C11.7688 8.13206 12.2854 7.61546 12.9227 7.61546ZM14.3073 2.077H3.6919C2.79974 2.077 2.07651 2.80023 2.07651 3.69238V4.38469H15.9227V3.69238C15.9227 2.80023 15.1994 2.077 14.3073 2.077Z"}))}};t.style=r;exports.calendar_icon=t;
|
package/dist/{checkbox-component_2.entry-8325ff88.cjs → checkbox-component_2.entry-2b5a2721.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-8755dd64.cjs");require("react");require("react-dom");const l='.checkbox-container{--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;display:flex;flex-direction:column;gap:0.5rem}.checkbox-container p.error{color:var(--nylas-error);font-size:14px;font-weight:400;line-height:20px;font-family:var(--nylas-font-family);margin:0}label{display:flex;align-items:center;font-family:var(--nylas-font-family);cursor:pointer;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}label input[type=checkbox]{position:absolute;opacity:0;cursor:pointer}label input[type=checkbox]:focus~.checkmark,label input[type=checkbox]:hover~.checkmark{border-color:var(--nylas-primary)}label input[type=checkbox]:checked~.checkmark{color:var(--nylas-base-0);background:var(--nylas-primary) url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8c3ZnIHdpZHRoPSIxMiIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgMTIgOSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgPHBhdGggZD0iTTQuNTc1IDguOTc3cy0uNDA0LS4wMDctLjUzNi0uMTY1TC4wNTcgNS42NGwuODI5LTEuMjI3TDQuNDcgNy4yNjggMTAuOTIxLjA4NmwuOTIzIDEuMTAzLTYuODYzIDcuNjRjLS4xMzQtLjAwMy0uNDA2LjE0OC0uNDA2LjE0OHoiIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPg0KPC9zdmc+) 50% 40% no-repeat;border:2px solid var(--nylas-primary)}label .checkmark{border-radius:var(--nylas-border-radius);border:2px solid var(--nylas-base-800);position:absolute;left:0;top:2px;width:18px;height:18px;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}label .label{margin-left:32px;font-size:16px;font-weight:400;color:var(--nylas-base-800);line-height:24px}',o=l,r=class{constructor(a){e.registerInstance(this,a),this.nylasFormCheckboxToggled=e.createEvent(this,"nylasFormCheckboxToggled",7),this.componentType="checkbox",this.name="checkbox",this.checked=void 0,this.label="",this.required=!1,this.isChecked=void 0,this.error=""}componentWillLoad(){this.el.setAttribute("component-type",this.componentType)}componentDidLoad(){this.isChecked=this.checked||!1}handleBookingFormSubmitted(a){if(this.required&&!this.isChecked){this.error=`${this.label} is required.`;return}this.error&&a.preventDefault()}toggleCheck(){this.error="",this.isChecked=!this.isChecked,this.nylasFormCheckboxToggled.emit({checked:this.isChecked,name:this.name,label:this.label})}render(){return e.h("div",{key:"f4dfab5a5da9f9c79424930bfd5497c24dc1bfe5",class:"checkbox-container"},e.h("label",{key:"78e192f2eddcfd788ac16e80be3ac0b9c47e6f6a"},e.h("input",{key:"6e3aa50fb6542cb134dc5454e9fc0052be22e36f",type:"checkbox",name:this.name,checked:this.isChecked,onChange:()=>this.toggleCheck()}),e.h("span",{key:"abbd103b06bf934eff294b443b468e446901c371",class:"checkmark"}),e.h("slot",{key:"f11d669ba02b705ba7679985e83b91086a17ccc9",name:"label"},e.h("span",{key:"1298c44fbbe9ce75638b00ac07e6e83bab1394c2",class:"label"},this.label))),this.error&&e.h("p",{class:"error"},this.error))}get el(){return e.getElement(this)}};r.style=o;const n='.radio-group{display:flex;flex-direction:column;gap:0.5rem;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif}.radio-group slot[name=label]{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%;font-size:16px}.radio-group slot[name=label].error{color:var(--nylas-error)}.radio-group slot[name=label] span.required{color:var(--nylas-error);padding:0 0.25rem}.radio-group slot[name=label] p{margin:0}.radio-group slot[name=label] p.error{color:var(--nylas-error)}.radio-group slot[name=label] .error{color:var(--nylas-error)}.radio-group span.error{color:var(--nylas-error);font-size:14px;font-weight:400;line-height:20px;font-family:var(--nylas-font-family)}.radio-group label{display:flex;font-family:var(--nylas-font-family);cursor:pointer}.radio-group label .radio-option{display:flex;align-items:flex-start;gap:0.5rem}.radio-group label .radio-option input[type=radio]{cursor:pointer}.radio-group label .radio-option input[type=radio i]{width:20px;height:20px;color:var(--nylas-primary)}.radio-group label .radio-option p{display:flex;flex-direction:column;gap:0.5rem;margin:0}.radio-group label .radio-option p .title{font-size:16px;font-weight:500;line-height:20px;color:var(--nylas-base-800)}.radio-group label .radio-option p .description{font-size:14px;font-weight:400;line-height:20px;color:var(--nylas-base-600)}',t=n,s=class{constructor(a){e.registerInstance(this,a),this.nylasFormRadioChanged=e.createEvent(this,"nylasFormRadioChanged",7),this.componentType="radio-group",this.name="radio-group",this.options=[],this.defaultSelectedValue="",this.label=void 0,this.required=!1,this.selectedValue=void 0,this.error=""}handleDefaultSelectedValueChange(a){this.selectedValue=a}componentDidLoad(){this.selectedValue=this.defaultSelectedValue}handleBookingFormSubmitted(a){if(this.required&&!this.selectedValue){this.error=`${this.label} is required.`;return}this.error&&a.preventDefault()}componentWillLoad(){this.el.setAttribute("component-type",this.componentType)}handleChange(a){this.error="",this.selectedValue=a,this.nylasFormRadioChanged.emit({value:a,name:this.name,label:this.label})}render(){return e.h("div",{key:"6848b97b9a503ab19ce43b405d86d6e98ca3caaa",class:"radio-group"},e.h("slot",{key:"be574ba6675264e5f616f55126a6a83f3706975f",name:"label"},this.label&&e.h("p",{class:{error:!!this.error}},e.h("span",{class:"label"},this.label),this.required&&e.h("span",{class:"required"},"*"))),this.options.map(a=>e.h("label",null,e.h("div",{class:"radio-option"},e.h("input",{type:"radio",name:this.name,value:a.value,checked:this.selectedValue===a.value,onChange:()=>this.handleChange(a.value)}),e.h("p",null,e.h("span",{class:"title"},a.label),e.h("span",{class:"description"},a.description))))),this.error&&e.h("span",{class:"error help-text"},this.error))}get el(){return e.getElement(this)}static get watchers(){return{defaultSelectedValue:["handleDefaultSelectedValueChange"]}}};s.style=t;exports.checkbox_component=r;exports.radio_button_group=s;
|
package/dist/{checkbox-component_2.entry-84a053ff.js → checkbox-component_2.entry-2d8bf66e.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r, c as s, h as e, g as l } from "./index-
|
|
1
|
+
import { r, c as s, h as e, g as l } from "./index-600718a1.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const o = '.checkbox-container{--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;display:flex;flex-direction:column;gap:0.5rem}.checkbox-container p.error{color:var(--nylas-error);font-size:14px;font-weight:400;line-height:20px;font-family:var(--nylas-font-family);margin:0}label{display:flex;align-items:center;font-family:var(--nylas-font-family);cursor:pointer;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}label input[type=checkbox]{position:absolute;opacity:0;cursor:pointer}label input[type=checkbox]:focus~.checkmark,label input[type=checkbox]:hover~.checkmark{border-color:var(--nylas-primary)}label input[type=checkbox]:checked~.checkmark{color:var(--nylas-base-0);background:var(--nylas-primary) url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8c3ZnIHdpZHRoPSIxMiIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgMTIgOSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgPHBhdGggZD0iTTQuNTc1IDguOTc3cy0uNDA0LS4wMDctLjUzNi0uMTY1TC4wNTcgNS42NGwuODI5LTEuMjI3TDQuNDcgNy4yNjggMTAuOTIxLjA4NmwuOTIzIDEuMTAzLTYuODYzIDcuNjRjLS4xMzQtLjAwMy0uNDA2LjE0OC0uNDA2LjE0OHoiIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPg0KPC9zdmc+) 50% 40% no-repeat;border:2px solid var(--nylas-primary)}label .checkmark{border-radius:var(--nylas-border-radius);border:2px solid var(--nylas-base-800);position:absolute;left:0;top:2px;width:18px;height:18px;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}label .label{margin-left:32px;font-size:16px;font-weight:400;color:var(--nylas-base-800);line-height:24px}', n = o, t = class {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-bd6fdc8c.cjs");require("react");require("react-dom");const h=".sc-chevron-icon-h{display:flex}",c=h,o=class{constructor(e){s.registerInstance(this,e),this.width="24",this.height="24"}render(){return s.h("svg",{key:"fb1ba717c31f07393be2b8b0c984e1be9aac2042",xmlns:"http://www.w3.org/2000/svg",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"none"},s.h("path",{key:"df8820887c1787356ad0727baf34fe0c5b76bbd4",fill:"currentColor",d:"M15.53 4.22a.75.75 0 0 1 0 1.06L8.81 12l6.72 6.72a.75.75 0 1 1-1.06 1.06l-7.25-7.25a.75.75 0 0 1 0-1.06l7.25-7.25a.75.75 0 0 1 1.06 0Z"}))}};o.style=c;const p=".sc-search-icon-h{display:flex}",f=p,l=class{constructor(e){s.registerInstance(this,e),this.width="15",this.height="15"}render(){return s.h("svg",{key:"ddf419d549f82cf693e9b261d671dcb402c193f6",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},s.h("path",{key:"d30e346032f2d41161d314e0b1305643688d6402",fill:"currentColor",d:"M5.5 0C8.53757 0 11 2.46243 11 5.5C11 6.83879 10.5217 8.06586 9.72656 9.01962L13.8536 13.1464C14.0488 13.3417 14.0488 13.6583 13.8536 13.8536C13.68 14.0271 13.4106 14.0464 13.2157 13.9114L13.1464 13.8536L9.01962 9.72656C8.06586 10.5217 6.83879 11 5.5 11C2.46243 11 0 8.53757 0 5.5C0 2.46243 2.46243 0 5.5 0ZM5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1Z"}))}};l.style=f;const b=':host{display:block;position:relative;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;width:100%}@media screen and (max-width: 768px){:host{position:unset}}label{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%;flex-direction:column;gap:4px;font-family:var(--nylas-font-family);font-size:16px;color:var(--nylas-base-800)}label.error{color:var(--nylas-error)}label span.required{color:var(--nylas-error);padding:0 0.25rem}label p{margin:0}label .error{color:var(--nylas-error)}.dropdown{display:inline-block;width:inherit}.dropbtn{color:var(--nylas-base-800);padding:14px;font-size:1rem;font-family:var(--nylas-font-family);cursor:pointer;display:flex;justify-content:space-between;gap:0.5rem;background:transparent;border:1px solid var(--nylas-base-300);border-radius:var(--nylas-border-radius-2x)}.dropbtn.error{border:1px solid var(--nylas-error)}.dropbtn.focus{background:transparent}.dropbtn:hover,.dropbtn:active{outline:1px solid var(--nylas-primary)}.dropbtn:active{outline:2px solid var(--nylas-primary)}.dropbtn span.chevron{display:flex;align-self:center}.dropbtn span.open{transform:rotate(90deg)}.dropbtn span.closed{transform:rotate(270deg)}.dropbtn span.selected-option{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:144px;font-size:14px;line-height:20px}@media screen and (max-width: 768px){.dropbtn span.selected-option{max-width:124px;font-size:16px}}.dropdown-content{display:block;margin-top:0.5rem;background-color:var(--nylas-base-0);width:100%;max-height:336px;overflow:auto;z-index:1;border-radius:4px;position:absolute;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.05);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1)}@media screen and (max-width: 768px){.dropdown-content{right:0;width:325px;max-width:unset}}.search-box{border-bottom:1px solid var(--nylas-base-200);padding:10px;position:sticky;top:0;background:var(--nylas-base-0)}.search-box .icon{position:absolute;top:1.25rem;left:1.25rem;color:var(--nylas-base-300)}.dropdown-content ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px}.dropdown-content ul li{padding:16px, 12px, 16px, 12px;color:black;padding:12px 16px;text-decoration:none;display:block;font-family:inherit;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left;cursor:pointer}.dropdown-content ul li:hover,.dropdown-content ul li:focus{background-color:var(--nylas-base-100)}.dropdown-content .selected{background-color:#e7e7e7}input[type=text]{width:-webkit-fill-available;padding:inherit;border:1px solid #ccc;border-radius:4px;position:sticky;background:no-repeat scroll 7px 7px;padding-left:30px;background-size:16px 16px}',u=b,d=class{constructor(e){s.registerInstance(this,e),this.nylasFormDropdownChanged=s.createEvent(this,"nylasFormDropdownChanged",7),this.nylasFormDropdownDefaultSelected=s.createEvent(this,"nylasFormDropdownDefaultSelected",7),this.componentType="select-dropdown",this.name=void 0,this.options=[],this.defaultSelectedOption=null,this.withSearch=!0,this.label=void 0,this.required=!1,this.pluralizedLabel="",this.dropdownButtonText=void 0,this.withChevron=!0,this.selectedOption=void 0,this.isOpen=!1,this.searchValue="",this.filteredOptions=[...this.options],this.ariaActivedescendant="",this.errorMessage=""}optionsChangedHandler(e,t){e!==t&&(this.filteredOptions=e)}defaultSelectedOptionChangedHandler(e,t){typeof e>"u"||(e==null?void 0:e.label)===(t==null?void 0:t.label)||(this.selectedOption=e,this.nylasFormDropdownDefaultSelected.emit({value:(e==null?void 0:e.value)||"",name:this.name,error:this.errorMessage,label:this.label}))}componentWillLoad(){this.el.setAttribute("component-type",this.componentType)}componentDidLoad(){var e;this.filteredOptions=this.options,this.selectedOption=this.defaultSelectedOption,!this.selectedOption&&this.options.length>0&&(this.selectedOption=this.options[0]),this.nylasFormDropdownDefaultSelected.emit({value:((e=this.selectedOption)==null?void 0:e.value)||"",name:this.name,error:this.errorMessage,label:this.label})}handleBookingFormSubmitted(e){var t;this.validate(((t=this.selectedOption)==null?void 0:t.value)||""),this.errorMessage&&e.preventDefault()}validate(e){this.required&&!e?this.errorMessage=`${this.label} is required.`:this.errorMessage=""}toggleDropdown(){this.isOpen=!this.isOpen}filterOptions(e){const t=e.target.value;this.searchValue=t,this.filteredOptions=this.options.filter(i=>i.label.toLowerCase().includes(t.toLowerCase()))}selectOption(e){this.errorMessage="",this.selectedOption=e,this.toggleDropdown(),this.nylasFormDropdownChanged.emit({value:e.value,name:this.name,error:this.errorMessage,label:this.label})}handleSelectButtonKeyDown(e){var t;switch(e.key){case"ArrowDown":case"Enter":e.preventDefault(),this.isOpen||this.toggleDropdown(),(t=this.inputRef)==null||t.focus();break;case"Escape":this.isOpen=!1;break}}handleListboxKeydown(e){var r,a;const t=this.filteredOptions,i=t.findIndex(n=>n.value===this.ariaActivedescendant);if(e.key==="ArrowDown"||e.key==="Tab"&&!e.shiftKey){if(e.preventDefault(),i===t.length-1){this.ariaActivedescendant="",(r=this.inputRef)==null||r.focus();return}const n=i+1<t.length?i+1:0;this.ariaActivedescendant=t[n].value,this.focusOption(n)}else if(e.key==="ArrowUp"||e.key==="Tab"&&e.shiftKey){if(e.preventDefault(),i===0){this.ariaActivedescendant="",(a=this.inputRef)==null||a.focus();return}const n=i-1>=0?i-1:t.length-1;this.ariaActivedescendant=t[n].value,this.focusOption(n)}else e.key==="Enter"?(e.preventDefault(),this.ariaActivedescendant&&this.selectOption(t[i])):e.key==="Escape"&&(this.isOpen=!1)}focusOption(e){var a;const t=this.filteredOptions[e];if(!t)return;const i=t.value,r=(a=this.el.shadowRoot)==null?void 0:a.getElementById(i);r&&(r.focus(),r.scrollIntoView({behavior:"smooth",block:"nearest"}))}handleComboboxKeyDown(e){e.key==="ArrowDown"||e.key=="Tab"&&!e.shiftKey?(e.preventDefault(),this.ariaActivedescendant=this.filteredOptions[0].value,this.focusOption(0)):e.key==="ArrowUp"||e.key==="Tab"&&e.shiftKey?(e.preventDefault(),this.ariaActivedescendant=this.filteredOptions[this.filteredOptions.length-1].value,this.focusOption(this.filteredOptions.length-1)):e.key==="Escape"&&(this.isOpen=!1)}generateButtonText(e,t){return t||(e!=null&&e.label?`${(e==null?void 0:e.label)+this.pluralizedLabel}`:"")}handleOutsideClick(e){!e.composedPath().includes(this.el)&&this.isOpen&&(this.isOpen=!1)}render(){const e=this.generateButtonText(this.selectedOption,this.dropdownButtonText);return s.h("div",{key:"ada528ac19d43f03f7717c3fe3102d3c87b95305",class:"dropdown",part:"sd_dropdown"},s.h("label",{key:"cd088bcbfd74f506407597edad97730bc5fce96e",part:"sd_dropdown_label",class:{error:!!this.errorMessage}},this.label&&s.h("p",null,s.h("span",{class:"label"},this.label),this.required&&s.h("span",{class:"required"},"*")),s.h("button",{key:"9f0e7d114b4978f37818c1d424b5f8c786ba8e87",part:"sd_dropdown-button",class:{dropbtn:!0,open:this.isOpen,error:!!this.errorMessage},onClick:()=>this.toggleDropdown(),"aria-haspopup":"listbox","aria-expanded":this.isOpen?"true":"false","aria-label":this.name,onKeyDown:t=>this.handleSelectButtonKeyDown(t)},s.h("slot",{key:"e834d848d72159fa808ee8b3a48c2f66c0aad7fc",name:"select-icon","aria-hidden":"true"}),s.h("span",{key:"2cbf36487ff22baf541534d86d3d210d61a8fced",class:"selected-option",part:"sd_dropdown-button-selected-label"},e),this.withChevron&&s.h("span",{class:{open:this.isOpen,closed:!this.isOpen,chevron:!0},"aria-hidden":"true"},s.h("chevron-icon",{width:"16",height:"16"}))),this.errorMessage&&s.h("span",{class:"error help-text"},this.errorMessage)),this.isOpen?s.h("div",{class:"dropdown-content",part:"sd_dropdown-content"},this.withSearch&&s.h("div",{class:{"search-box":!0,open:this.isOpen}},s.h("search-icon",{width:"15",height:"15",class:"icon"}),s.h("input",{type:"text",role:"combobox",placeholder:"Search",value:this.searchValue,ref:t=>this.inputRef=t,onInput:t=>this.filterOptions(t),onKeyDown:t=>this.handleComboboxKeyDown(t)})),s.h("ul",{tabindex:"-1",role:"listbox","aria-label":this.name,"aria-activedescendant":this.ariaActivedescendant,onKeyDown:t=>this.handleListboxKeydown(t)},this.filteredOptions.map(t=>t.value.toString()?s.h("li",{tabindex:"0",key:t.value,id:t.value,onClick:()=>this.selectOption(t),role:"option"},t.labelHTML?s.h("div",{part:"sd_dropdown-labelhtml"},t.labelHTML):t.label):null))):null)}get el(){return s.getElement(this)}static get watchers(){return{options:["optionsChangedHandler"],defaultSelectedOption:["defaultSelectedOptionChangedHandler"]}}};d.style=u;exports.chevron_icon=o;exports.search_icon=l;exports.select_dropdown=d;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-8755dd64.cjs");require("react");require("react-dom");const h=".sc-chevron-icon-h{display:flex}",c=h,o=class{constructor(e){s.registerInstance(this,e),this.width="24",this.height="24"}render(){return s.h("svg",{key:"fb1ba717c31f07393be2b8b0c984e1be9aac2042",xmlns:"http://www.w3.org/2000/svg",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"none"},s.h("path",{key:"df8820887c1787356ad0727baf34fe0c5b76bbd4",fill:"currentColor",d:"M15.53 4.22a.75.75 0 0 1 0 1.06L8.81 12l6.72 6.72a.75.75 0 1 1-1.06 1.06l-7.25-7.25a.75.75 0 0 1 0-1.06l7.25-7.25a.75.75 0 0 1 1.06 0Z"}))}};o.style=c;const p=".sc-search-icon-h{display:flex}",f=p,l=class{constructor(e){s.registerInstance(this,e),this.width="15",this.height="15"}render(){return s.h("svg",{key:"ddf419d549f82cf693e9b261d671dcb402c193f6",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},s.h("path",{key:"d30e346032f2d41161d314e0b1305643688d6402",fill:"currentColor",d:"M5.5 0C8.53757 0 11 2.46243 11 5.5C11 6.83879 10.5217 8.06586 9.72656 9.01962L13.8536 13.1464C14.0488 13.3417 14.0488 13.6583 13.8536 13.8536C13.68 14.0271 13.4106 14.0464 13.2157 13.9114L13.1464 13.8536L9.01962 9.72656C8.06586 10.5217 6.83879 11 5.5 11C2.46243 11 0 8.53757 0 5.5C0 2.46243 2.46243 0 5.5 0ZM5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1Z"}))}};l.style=f;const b=':host{display:block;position:relative;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;width:100%}@media screen and (max-width: 768px){:host{position:unset}}label{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%;flex-direction:column;gap:4px;font-family:var(--nylas-font-family);font-size:16px;color:var(--nylas-base-800)}label.error{color:var(--nylas-error)}label span.required{color:var(--nylas-error);padding:0 0.25rem}label p{margin:0}label .error{color:var(--nylas-error)}.dropdown{display:inline-block;width:inherit}.dropbtn{color:var(--nylas-base-800);padding:14px;font-size:1rem;font-family:var(--nylas-font-family);cursor:pointer;display:flex;justify-content:space-between;gap:0.5rem;background:transparent;border:1px solid var(--nylas-base-300);border-radius:var(--nylas-border-radius-2x)}.dropbtn.error{border:1px solid var(--nylas-error)}.dropbtn.focus{background:transparent}.dropbtn:hover,.dropbtn:active{outline:1px solid var(--nylas-primary)}.dropbtn:active{outline:2px solid var(--nylas-primary)}.dropbtn span.chevron{display:flex;align-self:center}.dropbtn span.open{transform:rotate(90deg)}.dropbtn span.closed{transform:rotate(270deg)}.dropbtn span.selected-option{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:144px;font-size:14px;line-height:20px}@media screen and (max-width: 768px){.dropbtn span.selected-option{max-width:124px;font-size:16px}}.dropdown-content{display:block;margin-top:0.5rem;background-color:var(--nylas-base-0);width:100%;max-height:336px;overflow:auto;z-index:1;border-radius:4px;position:absolute;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.05);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1)}@media screen and (max-width: 768px){.dropdown-content{right:0;width:325px;max-width:unset}}.search-box{border-bottom:1px solid var(--nylas-base-200);padding:10px;position:sticky;top:0;background:var(--nylas-base-0)}.search-box .icon{position:absolute;top:1.25rem;left:1.25rem;color:var(--nylas-base-300)}.dropdown-content ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px}.dropdown-content ul li{padding:16px, 12px, 16px, 12px;color:black;padding:12px 16px;text-decoration:none;display:block;font-family:inherit;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left;cursor:pointer}.dropdown-content ul li:hover,.dropdown-content ul li:focus{background-color:var(--nylas-base-100)}.dropdown-content .selected{background-color:#e7e7e7}input[type=text]{width:-webkit-fill-available;padding:inherit;border:1px solid #ccc;border-radius:4px;position:sticky;background:no-repeat scroll 7px 7px;padding-left:30px;background-size:16px 16px}',u=b,d=class{constructor(e){s.registerInstance(this,e),this.nylasFormDropdownChanged=s.createEvent(this,"nylasFormDropdownChanged",7),this.nylasFormDropdownDefaultSelected=s.createEvent(this,"nylasFormDropdownDefaultSelected",7),this.componentType="select-dropdown",this.name=void 0,this.options=[],this.defaultSelectedOption=null,this.withSearch=!0,this.label=void 0,this.required=!1,this.pluralizedLabel="",this.dropdownButtonText=void 0,this.withChevron=!0,this.selectedOption=void 0,this.isOpen=!1,this.searchValue="",this.filteredOptions=[...this.options],this.ariaActivedescendant="",this.errorMessage=""}optionsChangedHandler(e,t){e!==t&&(this.filteredOptions=e)}defaultSelectedOptionChangedHandler(e,t){typeof e>"u"||(e==null?void 0:e.label)===(t==null?void 0:t.label)||(this.selectedOption=e,this.nylasFormDropdownDefaultSelected.emit({value:(e==null?void 0:e.value)||"",name:this.name,error:this.errorMessage,label:this.label}))}componentWillLoad(){this.el.setAttribute("component-type",this.componentType)}componentDidLoad(){var e;this.filteredOptions=this.options,this.selectedOption=this.defaultSelectedOption,!this.selectedOption&&this.options.length>0&&(this.selectedOption=this.options[0]),this.nylasFormDropdownDefaultSelected.emit({value:((e=this.selectedOption)==null?void 0:e.value)||"",name:this.name,error:this.errorMessage,label:this.label})}handleBookingFormSubmitted(e){var t;this.validate(((t=this.selectedOption)==null?void 0:t.value)||""),this.errorMessage&&e.preventDefault()}validate(e){this.required&&!e?this.errorMessage=`${this.label} is required.`:this.errorMessage=""}toggleDropdown(){this.isOpen=!this.isOpen}filterOptions(e){const t=e.target.value;this.searchValue=t,this.filteredOptions=this.options.filter(i=>i.label.toLowerCase().includes(t.toLowerCase()))}selectOption(e){this.errorMessage="",this.selectedOption=e,this.toggleDropdown(),this.nylasFormDropdownChanged.emit({value:e.value,name:this.name,error:this.errorMessage,label:this.label})}handleSelectButtonKeyDown(e){var t;switch(e.key){case"ArrowDown":case"Enter":e.preventDefault(),this.isOpen||this.toggleDropdown(),(t=this.inputRef)==null||t.focus();break;case"Escape":this.isOpen=!1;break}}handleListboxKeydown(e){var r,a;const t=this.filteredOptions,i=t.findIndex(n=>n.value===this.ariaActivedescendant);if(e.key==="ArrowDown"||e.key==="Tab"&&!e.shiftKey){if(e.preventDefault(),i===t.length-1){this.ariaActivedescendant="",(r=this.inputRef)==null||r.focus();return}const n=i+1<t.length?i+1:0;this.ariaActivedescendant=t[n].value,this.focusOption(n)}else if(e.key==="ArrowUp"||e.key==="Tab"&&e.shiftKey){if(e.preventDefault(),i===0){this.ariaActivedescendant="",(a=this.inputRef)==null||a.focus();return}const n=i-1>=0?i-1:t.length-1;this.ariaActivedescendant=t[n].value,this.focusOption(n)}else e.key==="Enter"?(e.preventDefault(),this.ariaActivedescendant&&this.selectOption(t[i])):e.key==="Escape"&&(this.isOpen=!1)}focusOption(e){var a;const t=this.filteredOptions[e];if(!t)return;const i=t.value,r=(a=this.el.shadowRoot)==null?void 0:a.getElementById(i);r&&(r.focus(),r.scrollIntoView({behavior:"smooth",block:"nearest"}))}handleComboboxKeyDown(e){e.key==="ArrowDown"||e.key=="Tab"&&!e.shiftKey?(e.preventDefault(),this.ariaActivedescendant=this.filteredOptions[0].value,this.focusOption(0)):e.key==="ArrowUp"||e.key==="Tab"&&e.shiftKey?(e.preventDefault(),this.ariaActivedescendant=this.filteredOptions[this.filteredOptions.length-1].value,this.focusOption(this.filteredOptions.length-1)):e.key==="Escape"&&(this.isOpen=!1)}generateButtonText(e,t){return t||(e!=null&&e.label?`${(e==null?void 0:e.label)+this.pluralizedLabel}`:"")}handleOutsideClick(e){!e.composedPath().includes(this.el)&&this.isOpen&&(this.isOpen=!1)}render(){const e=this.generateButtonText(this.selectedOption,this.dropdownButtonText);return s.h("div",{key:"ada528ac19d43f03f7717c3fe3102d3c87b95305",class:"dropdown",part:"sd_dropdown"},s.h("label",{key:"cd088bcbfd74f506407597edad97730bc5fce96e",part:"sd_dropdown_label",class:{error:!!this.errorMessage}},this.label&&s.h("p",null,s.h("span",{class:"label"},this.label),this.required&&s.h("span",{class:"required"},"*")),s.h("button",{key:"9f0e7d114b4978f37818c1d424b5f8c786ba8e87",part:"sd_dropdown-button",class:{dropbtn:!0,open:this.isOpen,error:!!this.errorMessage},onClick:()=>this.toggleDropdown(),"aria-haspopup":"listbox","aria-expanded":this.isOpen?"true":"false","aria-label":this.name,onKeyDown:t=>this.handleSelectButtonKeyDown(t)},s.h("slot",{key:"e834d848d72159fa808ee8b3a48c2f66c0aad7fc",name:"select-icon","aria-hidden":"true"}),s.h("span",{key:"2cbf36487ff22baf541534d86d3d210d61a8fced",class:"selected-option",part:"sd_dropdown-button-selected-label"},e),this.withChevron&&s.h("span",{class:{open:this.isOpen,closed:!this.isOpen,chevron:!0},"aria-hidden":"true"},s.h("chevron-icon",{width:"16",height:"16"}))),this.errorMessage&&s.h("span",{class:"error help-text"},this.errorMessage)),this.isOpen?s.h("div",{class:"dropdown-content",part:"sd_dropdown-content"},this.withSearch&&s.h("div",{class:{"search-box":!0,open:this.isOpen}},s.h("search-icon",{width:"15",height:"15",class:"icon"}),s.h("input",{type:"text",role:"combobox",placeholder:"Search",value:this.searchValue,ref:t=>this.inputRef=t,onInput:t=>this.filterOptions(t),onKeyDown:t=>this.handleComboboxKeyDown(t)})),s.h("ul",{tabindex:"-1",role:"listbox","aria-label":this.name,"aria-activedescendant":this.ariaActivedescendant,onKeyDown:t=>this.handleListboxKeydown(t)},this.filteredOptions.map(t=>t.value.toString()?s.h("li",{tabindex:"0",key:t.value,id:t.value,onClick:()=>this.selectOption(t),role:"option"},t.labelHTML?s.h("div",{part:"sd_dropdown-labelhtml"},t.labelHTML):t.label):null))):null)}get el(){return s.getElement(this)}static get watchers(){return{options:["optionsChangedHandler"],defaultSelectedOption:["defaultSelectedOptionChangedHandler"]}}};d.style=u;exports.chevron_icon=o;exports.search_icon=l;exports.select_dropdown=d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-8755dd64.cjs");require("react");require("react-dom");const h=".sc-clock-icon-h{display:flex}",n=h,s=class{constructor(e){t.registerInstance(this,e),this.width="16",this.height="16"}render(){return t.h("svg",{key:"a43286079781f2fb317a0a7b9d651f3fe7012800",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"434cb947dc4f5a3802cede1bc4bc9ea420faa7a8",d:"M8 0.5C12.1421 0.5 15.5 3.85786 15.5 8C15.5 12.1421 12.1421 15.5 8 15.5C3.85786 15.5 0.5 12.1421 0.5 8C0.5 3.85786 3.85786 0.5 8 0.5ZM8 1.4375C4.37563 1.4375 1.4375 4.37563 1.4375 8C1.4375 11.6244 4.37563 14.5625 8 14.5625C11.6244 14.5625 14.5625 11.6244 14.5625 8C14.5625 4.37563 11.6244 1.4375 8 1.4375ZM7.53125 3.3125C7.76137 3.3125 7.95276 3.47832 7.99245 3.69699L8 3.78125V8H10.3438C10.6026 8 10.8125 8.20987 10.8125 8.46875C10.8125 8.69887 10.6467 8.89026 10.428 8.92995L10.3438 8.9375H7.53125C7.30113 8.9375 7.10974 8.77168 7.07005 8.55301L7.0625 8.46875V3.78125C7.0625 3.52237 7.27237 3.3125 7.53125 3.3125Z",fill:"currentColor"}))}};s.style=n;const o=".sc-edit-icon-h{display:flex}",r=o,i=class{constructor(e){t.registerInstance(this,e),this.width="16",this.height="16"}render(){return t.h("svg",{key:"38831c2e998bfab7d3d9d3fd809c12d9a47afdab",width:this.width,height:this.height,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"45a26006e8c6e8fd7a03029aecebf174c6d7c9a4",d:"M11.245 0.817394C12.3318 -0.269413 14.0938 -0.269413 15.1806 0.817394C16.2222 1.85892 16.2656 3.5206 15.3108 4.6138L15.1806 4.75307L5.57482 14.3589C5.36973 14.564 5.12299 14.7215 4.85212 14.8213L4.68684 14.8742L0.631867 15.9801C0.285278 16.0746 -0.0347856 15.7861 0.00276241 15.4455L0.0179263 15.3662L1.12383 11.3112C1.20014 11.0314 1.33621 10.7722 1.52188 10.5511L1.63914 10.4232L11.245 0.817394ZM10.3848 3.09229L2.34625 11.1303C2.25396 11.2226 2.18093 11.3318 2.13086 11.4514L2.08859 11.5743L1.21196 14.785L4.42372 13.9094C4.50767 13.8865 4.5879 13.8529 4.66253 13.8096L4.77003 13.7375L4.86771 13.6518L12.9058 5.61329L10.3848 3.09229ZM14.4735 1.5245C13.8159 0.8669 12.7725 0.830367 12.072 1.4149L11.9521 1.5245L11.0918 2.38529L13.6128 4.90629L14.4735 4.04596C15.1311 3.38836 15.1677 2.34488 14.5831 1.64441L14.4735 1.5245Z",fill:"currentColor"}))}};i.style=r;const d=".sc-person-clipboard-icon-h{display:flex}",l=d,c=class{constructor(e){t.registerInstance(this,e),this.width="12",this.height="17"}render(){return t.h("svg",{key:"2e3618690c5d268ec3517fd925382a6d77b18ff4",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"20417bc769578a6d1ccdda59b7834807521b7fb2",d:"M4 7.5C4 6.39543 4.89543 5.5 6 5.5C7.10457 5.5 8 6.39543 8 7.5C8 8.60457 7.10457 9.5 6 9.5C4.89543 9.5 4 8.60457 4 7.5ZM6 6.5C5.44772 6.5 5 6.94772 5 7.5C5 8.05228 5.44772 8.5 6 8.5C6.55228 8.5 7 8.05228 7 7.5C7 6.94772 6.55228 6.5 6 6.5ZM3.72077 10.5C3.10838 10.5 2.40961 10.9146 2.38992 11.6973C2.37693 12.2135 2.48426 12.9381 3.04816 13.5319C3.61451 14.1283 4.55301 14.5 6.00001 14.5C7.44702 14.5 8.38552 14.1283 8.95187 13.5319C9.51577 12.9381 9.6231 12.2135 9.61011 11.6973C9.59042 10.9146 8.89165 10.5 8.27925 10.5H3.72077ZM3.3896 11.7225C3.39099 11.6675 3.41262 11.6226 3.46275 11.582C3.51876 11.5366 3.6101 11.5 3.72077 11.5H8.27925C8.38993 11.5 8.48127 11.5366 8.53728 11.582C8.58741 11.6226 8.60904 11.6675 8.61042 11.7225C8.61975 12.0933 8.53969 12.5138 8.22676 12.8433C7.91628 13.1702 7.28849 13.5 6.00001 13.5C4.71154 13.5 4.08375 13.1702 3.77327 12.8433C3.46033 12.5138 3.38027 12.0933 3.3896 11.7225ZM5 0.5C3.89543 0.5 3 1.39543 3 2.5H1.5C0.671573 2.5 0 3.17157 0 4V15C0 15.8284 0.671572 16.5 1.5 16.5H10.5C11.3284 16.5 12 15.8284 12 15V4C12 3.17157 11.3284 2.5 10.5 2.5H9C9 1.39543 8.10457 0.5 7 0.5H5ZM8.73244 3.5H10.5C10.7761 3.5 11 3.72386 11 4V15C11 15.2761 10.7761 15.5 10.5 15.5H1.5C1.22386 15.5 1 15.2761 1 15V4C1 3.72386 1.22386 3.5 1.5 3.5H3.26756C3.61337 4.0978 4.25972 4.5 5 4.5H7C7.74028 4.5 8.38663 4.0978 8.73244 3.5ZM4 2.5C4 1.94772 4.44772 1.5 5 1.5H7C7.55228 1.5 8 1.94772 8 2.5C8 3.05228 7.55228 3.5 7 3.5H5C4.44772 3.5 4 3.05228 4 2.5Z",fill:"currentColor"}))}};c.style=l;const a=".sc-plus-icon-h{display:flex}",f=a,C=class{constructor(e){t.registerInstance(this,e),this.width="20",this.height="20"}render(){return t.h("svg",{key:"9a8bcebf970778b50ae8de1eebd6a97e36e24dbd",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"6ba418b474b1ff82faadb820dbd8760531165f75",d:"M8.5 1C8.5 0.723858 8.27614 0.5 8 0.5C7.72386 0.5 7.5 0.723858 7.5 1V7.5H1C0.723858 7.5 0.5 7.72386 0.5 8C0.5 8.27614 0.723858 8.5 1 8.5H7.5V15C7.5 15.2761 7.72386 15.5 8 15.5C8.27614 15.5 8.5 15.2761 8.5 15V8.5H15C15.2761 8.5 15.5 8.27614 15.5 8C15.5 7.72386 15.2761 7.5 15 7.5H8.5V1Z",fill:"currentColor"}))}};C.style=f;exports.clock_icon=s;exports.edit_icon=i;exports.person_clipboard_icon=c;exports.plus_icon=C;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-8755dd64.cjs");require("react");require("react-dom");const s=".sc-copy-icon-h{display:flex}",o=s,e=class{constructor(i){t.registerInstance(this,i),this.width="16",this.height="16"}render(){return t.h("svg",{key:"a279a3fc586a2b82258b43c8002008668d7f2e04",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"1a98fa5f991ad42d8a5215c2f4ad252551390595",d:"M4 0.75C2.89543 0.75 2 1.64543 2 2.75V12.75C2 13.8546 2.89543 14.75 4 14.75H10C11.1046 14.75 12 13.8546 12 12.75V2.75C12 1.64543 11.1046 0.75 10 0.75H4ZM3 2.75C3 2.19772 3.44772 1.75 4 1.75H10C10.5523 1.75 11 2.19772 11 2.75V12.75C11 13.3023 10.5523 13.75 10 13.75H4C3.44772 13.75 3 13.3023 3 12.75V2.75ZM0 4.75001C0 4.00973 0.402199 3.36339 1 3.01758V13.25C1 14.6307 2.11929 15.75 3.5 15.75H9.73244C9.38663 16.3478 8.74028 16.75 8 16.75H3.5C1.567 16.75 0 15.183 0 13.25V4.75001Z",fill:"currentColor"}))}};e.style=o;exports.copy_icon=e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-8755dd64.cjs");require("react");require("react-dom");const s=".sc-delete-icon-h{display:flex}",r=s,t=class{constructor(i){e.registerInstance(this,i),this.width="15",this.height="17"}render(){return e.h("svg",{key:"73a3f9ee681f942fa24e030e5d3ae9b5ef815320",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"30cf522114cb235fc7bf22bd14ab74226cea89a3",d:"M9.5 2.75C9.5 1.92157 8.82843 1.25 8 1.25C7.17157 1.25 6.5 1.92157 6.5 2.75H5.5C5.5 1.36929 6.61929 0.25 8 0.25C9.38071 0.25 10.5 1.36929 10.5 2.75H15C15.2761 2.75 15.5 2.97386 15.5 3.25C15.5 3.52614 15.2761 3.75 15 3.75H14.446L13.1499 14.9792C13.0335 15.9884 12.179 16.75 11.1631 16.75H4.83688C3.821 16.75 2.9665 15.9884 2.85006 14.9792L1.553 3.75H1C0.75454 3.75 0.550392 3.57312 0.508056 3.33988L0.5 3.25C0.5 2.97386 0.723858 2.75 1 2.75H9.5ZM13.438 3.75H2.561L3.84347 14.8646C3.90169 15.3692 4.32894 15.75 4.83688 15.75H11.1631C11.6711 15.75 12.0983 15.3692 12.1565 14.8646L13.438 3.75ZM6.5 6.25C6.74546 6.25 6.94961 6.40477 6.99194 6.60886L7 6.6875V12.8125C7 13.0541 6.77614 13.25 6.5 13.25C6.25454 13.25 6.05039 13.0952 6.00806 12.8911L6 12.8125V6.6875C6 6.44588 6.22386 6.25 6.5 6.25ZM9.5 6.25C9.74546 6.25 9.94961 6.40477 9.99194 6.60886L10 6.6875V12.8125C10 13.0541 9.77614 13.25 9.5 13.25C9.25454 13.25 9.05039 13.0952 9.00806 12.8911L9 12.8125V6.6875C9 6.44588 9.22386 6.25 9.5 6.25Z",fill:"currentColor"}))}};t.style=r;exports.delete_icon=t;
|
package/dist/{document-refresh-icon.entry-59a18097.cjs → document-refresh-icon.entry-1ff1f7ca.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-8755dd64.cjs");require("react");require("react-dom");const t=".sc-document-refresh-icon-h{display:flex}",h=t,a=class{constructor(c){e.registerInstance(this,c),this.width="18",this.height="18"}render(){return e.h("svg",{key:"eebb12518d8d6f5d3bd9b5e3c6bc0af4a6b6710b",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",width:this.width,height:this.height},e.h("rect",{key:"17ab830de83e1f75cbce47b657fd826cb0ebc16e",id:"Canvas",fill:"#ff13dc",opacity:"0"}),e.h("path",{key:"ac7d484661303522ef72357e088d45efba19367c",d:"M9.19763,12.26283A4.44131,4.44131,0,0,1,16.948,10.71741l.62524-.62524a.24433.24433,0,0,1,.1748-.07373.25035.25035,0,0,1,.252.24875v2.50143a.25.25,0,0,1-.25.25l-2.4995-.00016A.25088.25088,0,0,1,15,12.76721v-.00054a.24436.24436,0,0,1,.07373-.175l.86988-.86987a3.02827,3.02827,0,0,0-5.29847.71808.48835.48835,0,0,1-.46081.30981H9.55908a.37949.37949,0,0,1-.36145-.48686Z"}),e.h("path",{key:"08b798f4a3aa89e43c4913a7fba45028065f3c4d",d:"M17.80237,14.77441A4.4413,4.4413,0,0,1,10.052,16.31982l-.62524.62524a.24429.24429,0,0,1-.1748.07373A.25036.25036,0,0,1,9,16.77V14.26863a.25.25,0,0,1,.25-.25l2.4995.00016A.25087.25087,0,0,1,12,14.27v.00052a.24434.24434,0,0,1-.07373.175l-.86988.86988a3.02828,3.02828,0,0,0,5.29847-.71808.48836.48836,0,0,1,.46081-.30982h.62525a.3795.3795,0,0,1,.36145.48687Z"}),e.h("path",{key:"f869867e79ce29044449bc19fba37a44bb9de1fc",d:"M7,13.5A6.5,6.5,0,0,1,13.5,7c.16883,0,.33447.01264.5.02527V5H9.5A.5.5,0,0,1,9,4.5V0H2.5A.5.5,0,0,0,2,.5v15a.5.5,0,0,0,.5.5H7.49981A6.4779,6.4779,0,0,1,7,13.5Z"}),e.h("path",{key:"0f8194e31d6df7da06a006445ae81c697ba7cc6a",d:"M10,0h.043a.5.5,0,0,1,.353.146L13.854,3.6A.5.5,0,0,1,14,3.957V4H10Z"}))}};a.style=h;exports.document_refresh_icon=a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const Nt=require("./index-
|
|
1
|
+
"use strict";const Nt=require("./index-8755dd64.cjs"),Ar=Object.prototype.toString;function hn(e){switch(Ar.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return xe(e,Error)}}function Xe(e,t){return Ar.call(e)===`[object ${t}]`}function Ur(e){return Xe(e,"ErrorEvent")}function Pn(e){return Xe(e,"DOMError")}function Ro(e){return Xe(e,"DOMException")}function fe(e){return Xe(e,"String")}function mn(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function gn(e){return e===null||mn(e)||typeof e!="object"&&typeof e!="function"}function He(e){return Xe(e,"Object")}function Mt(e){return typeof Event<"u"&&xe(e,Event)}function Lo(e){return typeof Element<"u"&&xe(e,Element)}function Mo(e){return Xe(e,"RegExp")}function Ot(e){return!!(e&&e.then&&typeof e.then=="function")}function Oo(e){return He(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function xe(e,t){try{return e instanceof t}catch{return!1}}function Hr(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}function Pe(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function An(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;r<e.length;r++){const o=e[r];try{Hr(o)?n.push("[VueViewModel]"):n.push(String(o))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function $o(e,t,n=!1){return fe(e)?Mo(t)?t.test(e):fe(t)?n?e===t:e.includes(t):!1:!1}function $t(e,t=[],n=!1){return t.some(r=>$o(e,r,n))}function Fo(e,t,n=250,r,o,i,s){if(!i.exception||!i.exception.values||!s||!xe(s.originalException,Error))return;const a=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;a&&(i.exception.values=Po(zt(e,t,o,s.originalException,r,i.exception.values,a,0),n))}function zt(e,t,n,r,o,i,s,a){if(i.length>=n+1)return i;let c=[...i];if(xe(r[o],Error)){Un(s,a);const l=e(t,r[o]),d=c.length;Hn(l,o,d,a),c=zt(e,t,n,r[o],o,[l,...c],l,d)}return Array.isArray(r.errors)&&r.errors.forEach((l,d)=>{if(xe(l,Error)){Un(s,a);const u=e(t,l),_=c.length;Hn(u,`errors[${d}]`,_,a),c=zt(e,t,n,l,o,[u,...c],u,_)}}),c}function Un(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function Hn(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function Po(e,t){return e.map(n=>(n.value&&(n.value=Pe(n.value,t)),n))}const Se="8.28.0",w=globalThis;function yn(e,t,n){const r=n||w,o=r.__SENTRY__=r.__SENTRY__||{},i=o[Se]=o[Se]||{};return i[e]||(i[e]=t())}const bn=w,Ao=80;function jr(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,o=[];let i=0,s=0;const a=" > ",c=a.length;let l;const d=Array.isArray(t)?t:t.keyAttrs,u=!Array.isArray(t)&&t.maxStringLength||Ao;for(;n&&i++<r&&(l=Uo(n,d),!(l==="html"||i>1&&s+o.length*c+l.length>=u));)o.push(l),s+=l.length,n=n.parentNode;return o.reverse().join(a)}catch{return"<unknown>"}}function Uo(e,t){const n=e,r=[];if(!n||!n.tagName)return"";if(bn.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const o=t&&t.length?t.filter(s=>n.getAttribute(s)).map(s=>[s,n.getAttribute(s)]):null;if(o&&o.length)o.forEach(s=>{r.push(`[${s[0]}="${s[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const s=n.className;if(s&&fe(s)){const a=s.split(/\s+/);for(const c of a)r.push(`.${c}`)}}const i=["aria-label","type","name","title","alt"];for(const s of i){const a=n.getAttribute(s);a&&r.push(`[${s}="${a}"]`)}return r.join("")}function Br(){try{return bn.document.location.href}catch{return""}}function Ho(e){if(!bn.HTMLElement)return null;let t=e;const n=5;for(let r=0;r<n;r++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}const ot=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,jo="Sentry Logger ",Vt=["debug","info","warn","error","log","assert","trace"],It={};function it(e){if(!("console"in w))return e();const t=w.console,n={},r=Object.keys(It);r.forEach(o=>{const i=It[o];n[o]=t[o],t[o]=i});try{return e()}finally{r.forEach(o=>{t[o]=n[o]})}}function Bo(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return ot?Vt.forEach(n=>{t[n]=(...r)=>{e&&it(()=>{w.console[n](`${jo}[${n}]:`,...r)})}}):Vt.forEach(n=>{t[n]=()=>{}}),t}const g=Bo(),Yo=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Go(e){return e==="http"||e==="https"}function Ft(e,t=!1){const{host:n,path:r,pass:o,port:i,projectId:s,protocol:a,publicKey:c}=e;return`${a}://${c}${t&&o?`:${o}`:""}@${n}${i?`:${i}`:""}/${r&&`${r}/`}${s}`}function qo(e){const t=Yo.exec(e);if(!t){it(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[n,r,o="",i="",s="",a=""]=t.slice(1);let c="",l=a;const d=l.split("/");if(d.length>1&&(c=d.slice(0,-1).join("/"),l=d.pop()),l){const u=l.match(/^\d+/);u&&(l=u[0])}return Yr({host:i,pass:o,path:c,projectId:l,port:s,protocol:n,publicKey:r})}function Yr(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function Xo(e){if(!ot)return!0;const{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(s=>e[s]?!1:(g.error(`Invalid Sentry Dsn: ${s} missing`),!0))?!1:n.match(/^\d+$/)?Go(r)?t&&isNaN(parseInt(t,10))?(g.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(g.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(g.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function Wo(e){const t=typeof e=="string"?qo(e):Yr(e);if(!(!t||!Xo(t)))return t}class ae extends Error{constructor(t,n="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=n}}function W(e,t,n){if(!(t in e))return;const r=e[t],o=n(r);typeof o=="function"&&Gr(o,r),e[t]=o}function Ce(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{ot&&g.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function Gr(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,Ce(e,"__sentry_original__",t)}catch{}}function En(e){return e.__sentry_original__}function zo(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function qr(e){if(hn(e))return{message:e.message,name:e.name,stack:e.stack,...Bn(e)};if(Mt(e)){const t={type:e.type,target:jn(e.target),currentTarget:jn(e.currentTarget),...Bn(e)};return typeof CustomEvent<"u"&&xe(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function jn(e){try{return Lo(e)?jr(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function Bn(e){if(typeof e=="object"&&e!==null){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function Vo(e,t=40){const n=Object.keys(qr(e));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return Pe(r,t);for(let o=n.length;o>0;o--){const i=n.slice(0,o).join(", ");if(!(i.length>t))return o===n.length?i:Pe(i,t)}return""}function z(e){return Kt(e,new Map)}function Kt(e,t){if(Ko(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const o of Object.keys(e))typeof e[o]<"u"&&(r[o]=Kt(e[o],t));return r}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const r=[];return t.set(e,r),e.forEach(o=>{r.push(Kt(o,t))}),r}return e}function Ko(e){if(!He(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}const Xr=50,Ne="?",Yn=/\(error: (.*)\)/,Gn=/captureMessage|captureException/;function Wr(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,o=0)=>{const i=[],s=n.split(`
|
|
2
2
|
`);for(let a=r;a<s.length;a++){const c=s[a];if(c.length>1024)continue;const l=Yn.test(c)?c.replace(Yn,"$1"):c;if(!l.match(/\S*Error: /)){for(const d of t){const u=d(l);if(u){i.push(u);break}}if(i.length>=Xr+o)break}}return Zo(i.slice(o))}}function Jo(e){return Array.isArray(e)?Wr(...e):e}function Zo(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(dt(t).function||"")&&t.pop(),t.reverse(),Gn.test(dt(t).function||"")&&(t.pop(),Gn.test(dt(t).function||"")&&t.pop()),t.slice(0,Xr).map(n=>({...n,filename:n.filename||dt(t).filename,function:n.function||Ne}))}function dt(e){return e[e.length-1]||{}}const jt="<anonymous>";function ve(e){try{return!e||typeof e!="function"?jt:e.name||jt}catch{return jt}}function qn(e){const t=e.exception;if(t){const n=[];try{return t.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}const Et={},Xn={};function De(e,t){Et[e]=Et[e]||[],Et[e].push(t)}function Re(e,t){Xn[e]||(t(),Xn[e]=!0)}function oe(e,t){const n=e&&Et[e];if(n)for(const r of n)try{r(t)}catch(o){ot&&g.error(`Error while triggering instrumentation handler.
|
|
3
3
|
Type: ${e}
|
|
4
4
|
Name: ${ve(r)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-8755dd64.cjs");require("react");require("react-dom");const i=".sc-folder-icon-h{display:flex}",r=i,t=class{constructor(o){e.registerInstance(this,o),this.width="15",this.height="15"}render(){return e.h("svg",{key:"e2bdba9461825507c79cc016cf4c4b6549994798",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"1aec9721ef05f0f6f0e14f744b58980ce4ebe335",d:"M3 8.2C3 7.07989 3 6.51984 3.21799 6.09202C3.40973 5.71569 3.71569 5.40973 4.09202 5.21799C4.51984 5 5.0799 5 6.2 5H9.67452C10.1637 5 10.4083 5 10.6385 5.05526C10.8425 5.10425 11.0376 5.18506 11.2166 5.29472C11.4184 5.4184 11.5914 5.59135 11.9373 5.93726L12.0627 6.06274C12.4086 6.40865 12.5816 6.5816 12.7834 6.70528C12.9624 6.81494 13.1575 6.89575 13.3615 6.94474C13.5917 7 13.8363 7 14.3255 7H17.8C18.9201 7 19.4802 7 19.908 7.21799C20.2843 7.40973 20.5903 7.71569 20.782 8.09202C21 8.51984 21 9.0799 21 10.2V15.8C21 16.9201 21 17.4802 20.782 17.908C20.5903 18.2843 20.2843 18.5903 19.908 18.782C19.4802 19 18.9201 19 17.8 19H6.2C5.07989 19 4.51984 19 4.09202 18.782C3.71569 18.5903 3.40973 18.2843 3.21799 17.908C3 17.4802 3 16.9201 3 15.8V8.2Z",stroke:"auto","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}))}};t.style=r;exports.folder_icon=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-8755dd64.cjs");require("react");require("react-dom");const i=".sc-forward-icon-h{display:flex}",s=i,t=class{constructor(r){e.registerInstance(this,r),this.width="15",this.height="15"}render(){return e.h("svg",{key:"ffb4a67844d83b34d2b2638a2524bcbcca36d4d7",fill:"auto",width:this.width,height:this.height,viewBox:"0 0 1920 1920",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"cbdb0a043607a810aee2d5d7b00afcbc7006f002",d:"m1246.246 64-90.496 90.496 477.952 477.952h-590.848C467.878 632.448.038 1100.416.038 1675.392v109.056h128v-109.056c0-504.576 410.368-914.944 914.816-914.944h590.848l-477.952 478.08 90.496 90.496 632.448-632.576L1246.246 64Z","fill-rule":"evenodd"}))}};t.style=s;exports.forward_icon=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-8755dd64.cjs");require("react");require("react-dom");const i=".sc-globe-icon-h{display:flex}",c=i,C=class{constructor(t){e.registerInstance(this,t),this.width="16",this.height="16"}render(){return e.h("svg",{key:"98e808bd1ac6b795bde88c406417bc6c6d591b9a",xmlns:"http://www.w3.org/2000/svg",width:this.width,height:this.height,viewBox:"0 0 16 16",fill:"none"},e.h("path",{key:"7f2bde4ecf31c667198f791c6f8b313d145f4591",d:"M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14ZM8 3C8.37372 3 8.87543 3.35608 9.31258 4.31781C9.4073 4.52619 9.49448 4.75446 9.57265 5H6.42735C6.50552 4.75446 6.5927 4.52619 6.68742 4.31781C7.12457 3.35608 7.62628 3 8 3ZM5.77705 3.90401C5.62614 4.23601 5.49428 4.6038 5.38411 5H3.99963C4.52341 4.30269 5.22525 3.74677 6.03766 3.39978C5.94287 3.56117 5.85596 3.7304 5.77705 3.90401ZM5.16299 6C5.05694 6.6275 5 7.30146 5 8C5 8.69854 5.05694 9.3725 5.16299 10H3.41604C3.14845 9.38754 3 8.7111 3 8C3 7.2889 3.14845 6.61246 3.41604 6H5.16299ZM5.38411 11C5.49428 11.3962 5.62614 11.764 5.77705 12.096C5.85596 12.2696 5.94287 12.4388 6.03766 12.6002C5.22525 12.2532 4.52341 11.6973 3.99963 11H5.38411ZM6.42735 11H9.57265C9.49448 11.2455 9.4073 11.4738 9.31258 11.6822C8.87543 12.6439 8.37372 13 8 13C7.62628 13 7.12457 12.6439 6.68742 11.6822C6.5927 11.4738 6.50552 11.2455 6.42735 11ZM9.82134 10H6.17866C6.06438 9.3892 6 8.71396 6 8C6 7.28604 6.06438 6.6108 6.17866 6H9.82134C9.93562 6.6108 10 7.28604 10 8C10 8.71396 9.93562 9.3892 9.82134 10ZM10.6159 11H12.0004C11.4766 11.6973 10.7747 12.2532 9.96234 12.6002C10.0571 12.4388 10.144 12.2696 10.2229 12.096C10.3739 11.764 10.5057 11.3962 10.6159 11ZM12.584 10H10.837C10.9431 9.3725 11 8.69854 11 8C11 7.30146 10.9431 6.6275 10.837 6H12.584C12.8516 6.61246 13 7.2889 13 8C13 8.7111 12.8516 9.38754 12.584 10ZM9.96234 3.39978C10.7747 3.74677 11.4766 4.30269 12.0004 5H10.6159C10.5057 4.6038 10.3739 4.23601 10.2229 3.90401C10.144 3.7304 10.0571 3.56117 9.96234 3.39978Z",fill:"currentColor"}))}};C.style=c;exports.globe_icon=C;
|