@nylas/react 1.1.0-canary.22 → 1.1.0-canary.23
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-404b178a.js → add-circle-icon_3.entry-37a88ff3.js} +21 -11
- package/dist/add-circle-icon_3.entry-4f8f1cbf.cjs +1 -0
- package/dist/{archive-icon_7.entry-1c2e5b68.cjs → archive-icon_7.entry-2ec9b077.cjs} +1 -1
- package/dist/{archive-icon_7.entry-d14abebc.js → archive-icon_7.entry-3dcc4a66.js} +1 -1
- package/dist/{arrow-icon.entry-61290104.cjs → arrow-icon.entry-175e8181.cjs} +1 -1
- package/dist/{arrow-icon.entry-8dd5bfb5.js → arrow-icon.entry-2cf3e94d.js} +1 -1
- package/dist/{bold-icon_3.entry-cc7319da.js → bold-icon_3.entry-9fc74a39.js} +1 -1
- package/dist/{bold-icon_3.entry-c5502b92.cjs → bold-icon_3.entry-a3e61ad8.cjs} +1 -1
- package/dist/{button-component.entry-92c46833.cjs → button-component.entry-7fdb3bca.cjs} +1 -1
- package/dist/{button-component.entry-71de5b6b.js → button-component.entry-861637f2.js} +1 -1
- package/dist/calendar-agenda-fill-icon_39.entry-3c21a3ec.cjs +7 -0
- package/dist/{calendar-agenda-fill-icon_40.entry-b33080d8.js → calendar-agenda-fill-icon_39.entry-493e91f6.js} +1274 -1306
- package/dist/{calendar-cancel-icon.entry-fcc89777.js → calendar-cancel-icon.entry-3ca731f9.js} +1 -1
- package/dist/{calendar-cancel-icon.entry-bbf56125.cjs → calendar-cancel-icon.entry-c9c7e3b3.cjs} +1 -1
- package/dist/{calendar-check-icon_2.entry-64d553de.cjs → calendar-check-icon_2.entry-5b8f8a75.cjs} +1 -1
- package/dist/{calendar-check-icon_2.entry-e7691b84.js → calendar-check-icon_2.entry-7c409a91.js} +1 -1
- package/dist/{calendar-icon.entry-6375e3ed.js → calendar-icon.entry-0589697f.js} +1 -1
- package/dist/{calendar-icon.entry-9cea89bc.cjs → calendar-icon.entry-acd00f6f.cjs} +1 -1
- package/dist/{checkbox-component_2.entry-9a89cf14.cjs → checkbox-component_2.entry-0aa252b9.cjs} +1 -1
- package/dist/{checkbox-component_2.entry-751f4638.js → checkbox-component_2.entry-538fd8ec.js} +1 -1
- package/dist/{checkmark-icon.entry-6bca8604.cjs → checkmark-icon.entry-0a184b31.cjs} +1 -1
- package/dist/{checkmark-icon.entry-136b682c.js → checkmark-icon.entry-56302db0.js} +1 -1
- package/dist/{chevron-icon_3.entry-97c91007.cjs → chevron-icon_3.entry-7076e105.cjs} +1 -1
- package/dist/{chevron-icon_3.entry-b4995425.js → chevron-icon_3.entry-80e03257.js} +1 -1
- package/dist/{clock-icon_4.entry-cd6ac47d.cjs → clock-icon_4.entry-d6901afd.cjs} +1 -1
- package/dist/{clock-icon_4.entry-d2e007e5.js → clock-icon_4.entry-db3fbda1.js} +1 -1
- package/dist/{constants-67de2eec-8286f29c.cjs → constants-12bd3c98-22fd56f2.cjs} +1 -1
- package/dist/{constants-67de2eec-31cbc722.js → constants-12bd3c98-26c75011.js} +4 -4
- package/dist/{copy-icon_3.entry-f614fc20.cjs → copy-icon_3.entry-33e89a37.cjs} +1 -1
- package/dist/{copy-icon_3.entry-e41eb1a0.js → copy-icon_3.entry-9670b9f9.js} +1 -1
- package/dist/{document-refresh-icon.entry-817322ba.js → document-refresh-icon.entry-149f2a3b.js} +1 -1
- package/dist/{document-refresh-icon.entry-12833775.cjs → document-refresh-icon.entry-a3326831.cjs} +1 -1
- package/dist/elements/index.d.ts +3 -0
- package/dist/{elements-dc5b338e-3a8522b8.cjs → elements-dc5b338e-211879a3.cjs} +1 -1
- package/dist/{elements-dc5b338e-d885666f.js → elements-dc5b338e-e07600d4.js} +1 -1
- package/dist/{focus-visible-e8093c16-78717e30.js → focus-visible-e8093c16-284cefe0.js} +1 -1
- package/dist/{focus-visible-e8093c16-17bb48f2.cjs → focus-visible-e8093c16-cb97634f.cjs} +1 -1
- package/dist/{forward-icon_6.entry-39b55b30.js → forward-icon_6.entry-554b0722.js} +2 -2
- package/dist/{forward-icon_6.entry-074fd345.cjs → forward-icon_6.entry-751fdd4e.cjs} +1 -1
- package/dist/{globe-icon.entry-dee4c2b0.cjs → globe-icon.entry-63eb510d.cjs} +1 -1
- package/dist/{globe-icon.entry-a1875d7e.js → globe-icon.entry-e3dd58bc.js} +1 -1
- package/dist/google-logo-icon_5.entry-bccce7f4.cjs +1 -0
- package/dist/google-logo-icon_5.entry-e462e091.js +748 -0
- package/dist/index-53420959-02fe58ef.js +5 -0
- package/dist/index-53420959-0b9c205e.cjs +1 -0
- package/dist/{index-6d9eeb53-b71b16c5.cjs → index-6d9eeb53-81e5b798.cjs} +1 -1
- package/dist/{index-6d9eeb53-f37ff819.js → index-6d9eeb53-cc42c6f1.js} +2 -2
- package/dist/{index-26f8bbeb.cjs → index-8a536089.cjs} +14 -14
- package/dist/{index-5da0aff3.js → index-a15916e5.js} +398 -383
- package/dist/{index.es-b16d0cf5-4ce1fb63.cjs → index.es-5355a265-e701a627.cjs} +1 -1
- package/dist/{index.es-b16d0cf5-b1cecbdd.js → index.es-5355a265-f8853ce4.js} +1 -1
- package/dist/{info-icon_2.entry-6fd10047.js → info-icon_2.entry-3b349f01.js} +1 -1
- package/dist/{info-icon_2.entry-67a3e2c3.cjs → info-icon_2.entry-9559cf3b.cjs} +1 -1
- package/dist/{input-dropdown.entry-e677224a.js → input-dropdown.entry-9bc68630.js} +1 -1
- package/dist/{input-dropdown.entry-701ab8b7.cjs → input-dropdown.entry-d454f6bc.cjs} +1 -1
- package/dist/{loading-icon.entry-3f54b204.js → loading-icon.entry-1d49e471.js} +1 -1
- package/dist/{loading-icon.entry-558c2382.cjs → loading-icon.entry-a68da48b.cjs} +1 -1
- package/dist/{mailbox-store-f11de360-79ba75b1.js → mailbox-store-31d55036-1106efe2.js} +2 -2
- package/dist/{mailbox-store-f11de360-8f269e26.cjs → mailbox-store-31d55036-c8618c0b.cjs} +1 -1
- package/dist/{multi-select-dropdown.entry-e46f5cfb.js → multi-select-dropdown.entry-36074a81.js} +1 -1
- package/dist/{multi-select-dropdown.entry-d053b2fb.cjs → multi-select-dropdown.entry-e5ed9285.cjs} +1 -1
- package/dist/{nylas-booked-event-card_10.entry-545261f6.js → nylas-booked-event-card_10.entry-38d2fd2e.js} +10 -9
- package/dist/nylas-booked-event-card_10.entry-e530a8db.cjs +1 -0
- package/dist/nylas-booking-confirmation-type.entry-2fea82f9.js +106 -0
- package/dist/nylas-booking-confirmation-type.entry-5857a863.cjs +1 -0
- package/dist/{nylas-form-card.entry-a063402d.cjs → nylas-form-card.entry-03a31218.cjs} +1 -1
- package/dist/{nylas-form-card.entry-7d69820f.js → nylas-form-card.entry-6e45c873.js} +12 -12
- package/dist/{nylas-if-state.entry-9e7df799.js → nylas-if-state.entry-092f4e1a.js} +2 -2
- package/dist/{nylas-if-state.entry-54a6948f.cjs → nylas-if-state.entry-61d7ebc5.cjs} +1 -1
- package/dist/{nylas-list-folders.entry-d08423d4.cjs → nylas-list-folders.entry-1abbb401.cjs} +1 -1
- package/dist/{nylas-list-folders.entry-013ffceb.js → nylas-list-folders.entry-ab9e1c2c.js} +2 -2
- package/dist/{nylas-list-threads.entry-d3f575a5.js → nylas-list-threads.entry-2faaa2bb.js} +2 -2
- package/dist/{nylas-list-threads.entry-be9bc422.cjs → nylas-list-threads.entry-dfc87aca.cjs} +1 -1
- package/dist/{nylas-login.entry-d82e8ee0.js → nylas-login.entry-243ae09e.js} +2 -2
- package/dist/{nylas-login.entry-e7015d8f.cjs → nylas-login.entry-d1cac0a1.cjs} +1 -1
- package/dist/{nylas-mailbox-pagination.entry-99339476.js → nylas-mailbox-pagination.entry-b8225a3e.js} +2 -2
- package/dist/{nylas-mailbox-pagination.entry-22866764.cjs → nylas-mailbox-pagination.entry-c27af71c.cjs} +1 -1
- package/dist/{nylas-mailbox-toolbar-button.entry-b8929b00.js → nylas-mailbox-toolbar-button.entry-22347d22.js} +2 -2
- package/dist/{nylas-mailbox-toolbar-button.entry-09faed21.cjs → nylas-mailbox-toolbar-button.entry-b66d597d.cjs} +1 -1
- package/dist/{nylas-mailbox.entry-6e8d4f9c.js → nylas-mailbox.entry-9e6e1b4d.js} +3 -3
- package/dist/{nylas-mailbox.entry-91ca6af1.cjs → nylas-mailbox.entry-cb80f58c.cjs} +1 -1
- package/dist/{nylas-provider.entry-cc32369c.js → nylas-provider.entry-196dd5da.js} +5 -5
- package/dist/{nylas-provider.entry-b80d5e74.cjs → nylas-provider.entry-28c12448.cjs} +1 -1
- package/dist/nylas-reminder-emails.entry-47ef5a9d.cjs +4 -0
- package/dist/nylas-reminder-emails.entry-b655d888.js +129 -0
- package/dist/nylas-reminder-time_2.entry-0f3747fb.cjs +1 -0
- package/dist/nylas-reminder-time_2.entry-9d8f7436.js +105 -0
- package/dist/{nylas-scheduler-editor.entry-c7f7bf6c.cjs → nylas-scheduler-editor.entry-504e8ed3.cjs} +2 -2
- package/dist/{nylas-scheduler-editor.entry-5e0475d8.js → nylas-scheduler-editor.entry-feb7a7db.js} +11 -10
- package/dist/nylas-scheduling.entry-8c8f8e35.cjs +1 -0
- package/dist/{nylas-scheduling.entry-c79596db.js → nylas-scheduling.entry-d35efa9a.js} +71 -67
- package/dist/{nylas-threads-refresh.entry-e200efb9.js → nylas-threads-refresh.entry-91af9af3.js} +2 -2
- package/dist/{nylas-threads-refresh.entry-ef2ad409.cjs → nylas-threads-refresh.entry-e637161b.cjs} +1 -1
- package/dist/{nylas-threads-search.entry-85a0bc7d.js → nylas-threads-search.entry-5457dcec.js} +2 -2
- package/dist/{nylas-threads-search.entry-a260ce6f.cjs → nylas-threads-search.entry-b944f95a.cjs} +1 -1
- package/dist/{nylas-time-window-picker.entry-cb33b696.cjs → nylas-time-window-picker.entry-134ef726.cjs} +1 -1
- package/dist/{nylas-time-window-picker.entry-c9b2a7ca.js → nylas-time-window-picker.entry-a6fd216b.js} +12 -12
- package/dist/{nylas-view-thread.entry-f302c441.js → nylas-view-thread.entry-6fdd6cb1.js} +2 -2
- package/dist/{nylas-view-thread.entry-219511ac.cjs → nylas-view-thread.entry-9296a505.cjs} +1 -1
- package/dist/{person-icon.entry-6b20ac42.cjs → person-icon.entry-1cdb4dc2.cjs} +1 -1
- package/dist/{person-icon.entry-8f8b928f.js → person-icon.entry-4a695727.js} +1 -1
- package/dist/{play-icon_2.entry-c8114634.cjs → play-icon_2.entry-10fd617e.cjs} +1 -1
- package/dist/{play-icon_2.entry-3aa92414.js → play-icon_2.entry-fb013b17.js} +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +104 -101
- package/dist/{refresh-icon.entry-0d80c9c5.js → refresh-icon.entry-46c92605.js} +1 -1
- package/dist/{refresh-icon.entry-de5001c7.cjs → refresh-icon.entry-9dbb04ba.cjs} +1 -1
- package/dist/{register-component-b2a51b20-09664950.cjs → register-component-592986c5-5edf5835.cjs} +1 -1
- package/dist/{register-component-b2a51b20-ea46761a.js → register-component-592986c5-d5d210a8.js} +1 -1
- package/dist/{scheduler-config-store-9ccfba4d-a677e77b.cjs → scheduler-config-store-9ccfba4d-3ec35859.cjs} +1 -1
- package/dist/{scheduler-config-store-9ccfba4d-92cb99d1.js → scheduler-config-store-9ccfba4d-b08031b5.js} +1 -1
- package/dist/{scheduler-store-db06b30a-cee61c58.js → scheduler-store-fd0d11a5-313e8592.js} +1 -1
- package/dist/{scheduler-store-db06b30a-08429fc9.cjs → scheduler-store-fd0d11a5-b180b3b7.cjs} +1 -1
- package/dist/{textarea-component.entry-c2d1900c.js → textarea-component.entry-0cd3b57f.js} +3 -3
- package/dist/{textarea-component.entry-670f72a7.cjs → textarea-component.entry-788eb37a.cjs} +1 -1
- package/dist/{time-period-selector.entry-a03b1ce1.js → time-period-selector.entry-112c0b64.js} +1 -1
- package/dist/{time-period-selector.entry-3ccfc000.cjs → time-period-selector.entry-1e0b720b.cjs} +1 -1
- package/dist/{translate-icon.entry-8a2878ba.js → translate-icon.entry-a4df3c16.js} +1 -1
- package/dist/{translate-icon.entry-b483f6b3.cjs → translate-icon.entry-c701b391.cjs} +1 -1
- package/dist/{warning-icon.entry-784f7818.cjs → warning-icon.entry-bda0aafa.cjs} +1 -1
- package/dist/{warning-icon.entry-68b3f25e.js → warning-icon.entry-d1703715.js} +1 -1
- package/package.json +2 -2
- package/dist/add-circle-icon_2.entry-d44a0d4b.cjs +0 -1
- package/dist/calendar-agenda-fill-icon_40.entry-242956c2.cjs +0 -10
- package/dist/close-icon.entry-d1348fa8.cjs +0 -1
- package/dist/close-icon.entry-d4d4da48.js +0 -15
- package/dist/google-logo-icon_4.entry-3c3101ea.js +0 -637
- package/dist/google-logo-icon_4.entry-44c3f539.cjs +0 -1
- package/dist/index-53420959-a444c1cf.cjs +0 -1
- package/dist/index-53420959-b26d1293.js +0 -5
- package/dist/nylas-booked-event-card_10.entry-32911b16.cjs +0 -1
- package/dist/nylas-custom-booking-flow.entry-49b82a11.cjs +0 -1
- package/dist/nylas-custom-booking-flow.entry-6639c5fb.js +0 -106
- package/dist/nylas-scheduling.entry-047cd53a.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./index-8a536089.cjs");require("react");require("react-dom");const s=".sc-translate-icon-h{display:flex}",i=s,e=class{constructor(t){C.registerInstance(this,t),this.width="16",this.height="16"}render(){return C.h("svg",{key:"9d3c7c6029b2e01687265bf2519dd6bcb30fe40b",xmlns:"http://www.w3.org/2000/svg",width:this.width,height:this.height,viewBox:"0 0 20 20",fill:"none"},C.h("path",{key:"31ffa926f994ace5b8f4c646417d5a8105caa696",fill:"currentColor",d:"M14.1663 4.02867C14.4267 4.12081 14.563 4.40654 14.4709 4.66685C14.3501 5.00788 14.2182 5.4771 14.1178 5.86047C14.6877 5.77587 15.2665 5.65653 15.8867 5.51288C16.1557 5.45058 16.4243 5.61815 16.4866 5.88717C16.5489 6.15619 16.3814 6.42479 16.1123 6.4871C15.339 6.66621 14.6101 6.81289 13.8717 6.90283C13.7759 7.35654 13.7014 7.77084 13.6451 8.15021C14.1202 8.04599 14.5738 8.00553 14.9996 8.02075L14.9996 8C14.9996 7.72386 15.2235 7.5 15.4996 7.5C15.7758 7.5 15.9996 7.72386 15.9996 8C15.9996 8.05657 15.9991 8.11281 15.9979 8.16871C17.1392 8.47838 17.9781 9.23987 18.3435 10.2263C18.9579 11.8853 18.1287 13.8787 15.7027 14.9569C15.4504 15.069 15.1549 14.9554 15.0427 14.7031C14.9306 14.4507 15.0442 14.1552 15.2966 14.0431C17.3705 13.1213 17.7913 11.6147 17.4057 10.5737C17.1874 9.984 16.6776 9.44916 15.9129 9.18633C15.6829 10.7237 15.021 11.9466 14.229 12.7925C14.3126 12.9656 14.3958 13.1436 14.4641 13.3151C14.5662 13.5717 14.441 13.8625 14.1844 13.9646C13.9278 14.0667 13.637 13.9415 13.5349 13.6849C13.5066 13.6137 13.4777 13.5463 13.448 13.4802C13.028 13.7794 12.5905 13.9869 12.1705 14.0835C11.5942 14.2161 10.963 14.1517 10.534 13.6942C9.88917 13.0053 9.84361 11.8611 10.2855 10.8412C10.6652 9.96479 11.4186 9.11781 12.5848 8.54034C12.6387 8.07338 12.7199 7.55894 12.8332 6.98891C12.3926 7.00755 11.9403 7.00326 11.4659 6.97127C11.1904 6.95269 10.9821 6.71428 11.0007 6.43876C11.0192 6.16325 11.2577 5.95496 11.5332 5.97353C12.0633 6.00928 12.5641 6.00772 13.0566 5.97553C13.1605 5.55444 13.3512 4.8331 13.5282 4.33317C13.6203 4.07286 13.906 3.93653 14.1663 4.02867ZM12.501 9.74109C11.8436 10.1821 11.427 10.7219 11.2031 11.2387C10.8542 12.0439 10.9881 12.716 11.2638 13.0105C11.2637 13.0104 11.2639 13.0106 11.2638 13.0105C11.3573 13.11 11.5624 13.1973 11.9463 13.109C12.2578 13.0373 12.6311 12.8571 13.0121 12.5576C12.8658 12.22 12.7272 11.8324 12.6313 11.353C12.5405 10.8996 12.4899 10.3743 12.501 9.74109ZM13.7808 11.7797C14.316 11.0956 14.759 10.1665 14.9271 9.01632C14.539 9.00681 14.1111 9.05601 13.6457 9.17854C13.605 9.19274 13.5647 9.20726 13.525 9.22209C13.4663 10.0545 13.5146 10.671 13.6118 11.1568C13.6578 11.3868 13.7156 11.5913 13.7808 11.7797ZM6.92028 5.2159C5.77942 4.88398 4.78409 5.00841 4.07616 5.21575C3.72264 5.3193 3.439 5.44393 3.24121 5.5443C3.14215 5.59457 3.0641 5.63901 3.00903 5.67212C2.98147 5.68868 2.95962 5.70244 2.9437 5.71271L2.92429 5.72542L2.91797 5.72966L2.91566 5.73123L2.91393 5.73241C2.91384 5.73249 2.91436 5.73325 2.94925 5.78397C3.23698 6.20225 3.1703 6.10548 2.91393 5.73241C2.68634 5.88881 2.62863 6.20009 2.78502 6.42767C2.94134 6.65514 3.25207 6.71313 3.47963 6.55703L3.4788 6.5576L3.48576 6.55305C3.49318 6.54826 3.50608 6.5401 3.52423 6.52919C3.56057 6.50735 3.6177 6.47463 3.69373 6.43605C3.84612 6.35872 4.07228 6.2589 4.35724 6.17544C4.92619 6.0088 5.72242 5.90898 6.64043 6.17595C7.35305 6.38517 7.66747 6.76919 7.82692 7.16112C7.98173 7.54163 8.0026 7.95751 8.00531 8.33243C7.46199 8.18407 6.79336 8.03682 6.08385 8.00744C5.04808 7.96456 3.8874 8.17096 2.87738 9.01102C1.98877 9.75011 1.78345 10.8818 2.07014 11.853C2.35713 12.8252 3.14925 13.692 4.31803 13.9348C5.22351 14.123 6.18016 13.8639 6.9599 13.5212C7.3403 13.354 7.69572 13.1594 8.0057 12.9665V13.5C8.0057 13.7761 8.22956 14 8.5057 14C8.78184 14 9.0057 13.7754 9.0057 13.4993L9.0057 8.44586C9.0058 8.05404 9.00595 7.40554 8.7532 6.78428C8.48142 6.11625 7.93342 5.51313 6.92136 5.21622L6.92028 5.2159ZM6.04249 9.00659C6.76366 9.03645 7.44769 9.209 8.0057 9.37205V11.757C7.65814 12.0182 7.13927 12.35 6.55757 12.6057C5.85264 12.9155 5.12729 13.0816 4.52148 12.9557C3.75127 12.7957 3.22322 12.2271 3.02922 11.5699C2.83491 10.9116 2.98777 10.2199 3.51683 9.77985C4.27958 9.14545 5.16917 8.97043 6.04249 9.00659Z"}))}};e.style=i;exports.translate_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-8a536089.cjs");require("react");require("react-dom");const n=".sc-warning-icon-h{display:flex}",r=n,t=class{constructor(i){e.registerInstance(this,i),this.width="16",this.height="16"}render(){return e.h("svg",{key:"4cb4d66b285aa9821aa4e129847a8d4393c6a0ad",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"8541059923666649afc17bda0c34ae3bdb113d7f",d:"M7.68551 1.35232L1.12678 13.2773C0.576954 14.277 1.3002 15.5002 2.4411 15.5002H15.5586C16.6995 15.5002 17.4227 14.277 16.8729 13.2773L10.3142 1.35232C9.74426 0.316153 8.2554 0.316157 7.68551 1.35232ZM8.99982 5.25016C9.41403 5.25016 9.74982 5.58595 9.74982 6.00016V10.0002C9.74982 10.4144 9.41403 10.7502 8.99982 10.7502C8.5856 10.7502 8.24982 10.4144 8.24982 10.0002V6.00016C8.24982 5.58595 8.5856 5.25016 8.99982 5.25016ZM9.74982 12.2502C9.74982 12.6644 9.41403 13.0002 8.99982 13.0002C8.5856 13.0002 8.24982 12.6644 8.24982 12.2502C8.24982 11.8359 8.5856 11.5002 8.99982 11.5002C9.41403 11.5002 9.74982 11.8359 9.74982 12.2502Z",fill:"currentColor"}))}};t.style=r;exports.warning_icon=t;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nylas/react",
|
|
3
|
-
"version": "1.1.0-canary.
|
|
3
|
+
"version": "1.1.0-canary.23",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@nylas/core": "^1.1.0-canary.8",
|
|
24
24
|
"react": "^18.2.0",
|
|
25
25
|
"react-dom": "^18.2.0",
|
|
26
|
-
"@nylas/web-elements": "^1.1.0-canary.
|
|
26
|
+
"@nylas/web-elements": "^1.1.0-canary.23"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/node": "^20.8.10",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-26f8bbeb.cjs"),a=require("./index-6d9eeb53-b71b16c5.cjs");require("./index-53420959-a444c1cf.cjs");require("react");require("react-dom");const i=".sc-add-circle-icon-h{display:flex}",l=i,r=class{constructor(e){t.registerInstance(this,e),this.width="24",this.height="25"}render(){return t.h("svg",{key:"b4025f8db648f701317fcd36d3234f5e7e460dd3",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"efbf9975ed8a5dc3362d55ce1d980f6a671c7a53",d:"M12 2.5c5.523 0 10 4.477 10 10s-4.477 10-10 10-10-4.477-10-10 4.477-10 10-10ZM12 4a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17Zm0 3.5a.75.75 0 0 1 .75.75v3.5h3.5a.75.75 0 0 1 0 1.5h-3.5v3.5a.75.75 0 0 1-1.5 0v-3.5h-3.5a.75.75 0 0 1 0-1.5h3.5v-3.5A.75.75 0 0 1 12 7.5Z",fill:"currentColor"}))}};r.style=l;const n=':host{display:block;height:auto;--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%}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)}.input_wrapper{display:flex;align-items:center;gap:1rem}input[type=text],input[type=email]{display:flex;height:48px;padding-left:16px;align-items:center;gap:8px;align-self:stretch;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-300);background:var(--nylas-base-0);width:-webkit-fill-available;color:var(--nylas-base-900);font-size:16px;font-style:normal;font-weight:400;line-height:150%;width:-moz-available;width:-webkit-fill-available}input[type=text]:focus,input[type=email]:focus{outline-color:var(--nylas-primary)}input[type=text].error,input[type=email].error{border-radius:var(--nylas-border-radius-2x);font-weight:600;border-color:var(--nylas-error);border-width:2px}input[type=text].error::placeholder,input[type=email].error::placeholder{font-weight:400}input[type=text]::placeholder,input[type=email]::placeholder{color:var(--nylas-base-300)}',o=n,h={email:/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/,phone_number:/^[0-9]{10}$/},d={email:"name@example.com",phone_number:"1234567890"},s=class{constructor(e){t.registerInstance(this,e),this.nylasFormInputChanged=t.createEvent(this,"nylasFormInputChanged",7),this.nylasFormInputBlurred=t.createEvent(this,"nylasFormInputBlurred",7),this.name="input",this.defaultValue="",this.label="",this.type="text",this.placeholder=d[this.type],this.required=!1,this.readOnly=!1,this.autoFocus=!1,this.pattern=void 0,this.maxLength=255,this.patternError="",this.requiredError="",this.value="",this.error=""}handleDefaultValueChange(e){this.value=a.sanitizeHtml$1(e),this.value&&this.validatePattern(this.value)}componentWillLoad(){this.value=a.sanitizeHtml$1(this.defaultValue),this.type!=="text"&&!this.pattern&&(this.pattern=h[this.type]),this.value&&this.validatePattern(this.value)}handleBookingFormSubmitted(e){this.validatePattern(this.value),this.error&&e.preventDefault()}handleInput(e){this.error="",this.value=a.sanitizeHtml$1(e.target.value),this.nylasFormInputChanged.emit({value:this.value,name:this.name,label:this.label,error:this.error,type:this.type})}handleBlur(){this.nylasFormInputBlurred.emit({value:this.value,name:this.name})}validatePattern(e){if(this.error="",this.required&&!e){this.error=this.requiredError||"This field is required.";return}!this.pattern||!e&&!this.required||(this.pattern.test(e)?this.error="":this.error=this.patternError||"Invalid format.")}render(){return t.h("label",{key:"3b143ce109dc5f0f1da674e74c207c3dd8cbdbfe",part:"ic__label",class:{error:!!this.error}},this.label&&t.h("p",null,t.h("span",{class:"label"},this.label),this.required&&t.h("span",{class:"required"},"*")),t.h("div",{key:"d9618bce777e05df8054e071fd0ea5f2829c8a61",part:"ic__input_wrapper",class:"input_wrapper"},t.h("input",{key:"e11d543c75f8da64e06e2cbc69dd1ec68abaa98d",type:"text",name:this.name,part:"ic__input",readOnly:this.readOnly,autoFocus:this.autoFocus,value:this.value,maxLength:this.maxLength,placeholder:this.placeholder,class:{error:!!this.error},onInput:e=>this.handleInput(e),onBlur:()=>this.handleBlur()}),t.h("slot",{key:"f95890e83b200fd3908ffdc9bd0099df25b7f8ea",name:"additional-input"})),this.error&&t.h("span",{class:"error help-text"},this.error))}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}};s.style=o;exports.add_circle_icon=r;exports.input_component=s;
|