@nylas/react 1.2.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/add-circle-icon.entry-606d3096.cjs +1 -0
- package/dist/add-circle-icon.entry-d8358e3f.js +15 -0
- package/dist/{archive-icon.entry-50c4b134.js → archive-icon.entry-8c6d31f2.js} +1 -1
- package/dist/{archive-icon.entry-718a1225.cjs → archive-icon.entry-e8ce8c7d.cjs} +1 -1
- package/dist/{arrow-icon.entry-ca9625d3.cjs → arrow-icon.entry-13d23d01.cjs} +1 -1
- package/dist/{arrow-icon.entry-53337688.js → arrow-icon.entry-d950ddce.js} +1 -1
- package/dist/{bold-icon.entry-36e679f1.cjs → bold-icon.entry-12072568.cjs} +1 -1
- package/dist/{bold-icon.entry-c6109b88.js → bold-icon.entry-5382fea2.js} +1 -1
- package/dist/{button-component_2.entry-0a06b0c4.js → button-component_2.entry-4aa63891.js} +1 -1
- package/dist/{button-component_2.entry-a1b8cd03.cjs → button-component_2.entry-d34ed360.cjs} +1 -1
- package/dist/calendar-agenda-fill-icon_54.entry-33d08f1a.cjs +9 -0
- package/dist/{calendar-agenda-fill-icon_54.entry-e4d8ab10.js → calendar-agenda-fill-icon_54.entry-50c9ed7b.js} +115 -106
- package/dist/{calendar-cancel-icon.entry-813a8330.js → calendar-cancel-icon.entry-64ea7038.js} +1 -1
- package/dist/{calendar-cancel-icon.entry-22862d8c.cjs → calendar-cancel-icon.entry-b13aa245.cjs} +1 -1
- package/dist/{calendar-check-icon_2.entry-79d381ce.js → calendar-check-icon_2.entry-935310fc.js} +1 -1
- package/dist/{calendar-check-icon_2.entry-2ca25094.cjs → calendar-check-icon_2.entry-9cbe60a8.cjs} +1 -1
- package/dist/{calendar-icon.entry-78bb4f9b.cjs → calendar-icon.entry-0c560a35.cjs} +1 -1
- package/dist/{calendar-icon.entry-d52951b0.js → calendar-icon.entry-2448eea2.js} +1 -1
- package/dist/{checkbox-component_2.entry-a6114846.cjs → checkbox-component_2.entry-1e3afb3a.cjs} +1 -1
- package/dist/{checkbox-component_2.entry-1219f0cf.js → checkbox-component_2.entry-ec5e75fb.js} +1 -1
- package/dist/{chevron-icon_3.entry-82878ccf.js → chevron-icon_3.entry-1f72ef71.js} +1 -1
- package/dist/{chevron-icon_3.entry-d8f195dc.cjs → chevron-icon_3.entry-da1751d2.cjs} +1 -1
- package/dist/{clock-icon_4.entry-9ab4bc41.js → clock-icon_4.entry-4502c9f0.js} +1 -1
- package/dist/{clock-icon_4.entry-e081ccca.cjs → clock-icon_4.entry-b87aaaa9.cjs} +1 -1
- package/dist/close-icon.entry-92e93293.cjs +1 -0
- package/dist/close-icon.entry-e96749ed.js +15 -0
- package/dist/{constants-35df11e7-b37e3406.js → constants-24eca8c9-922dc05c.js} +16 -4
- package/dist/{constants-35df11e7-d87ad6d9.cjs → constants-24eca8c9-d0d9f3ec.cjs} +1 -1
- package/dist/{copy-icon.entry-9c6f38c2.cjs → copy-icon.entry-19bb7d2f.cjs} +1 -1
- package/dist/{copy-icon.entry-9d6e0f48.js → copy-icon.entry-7c958d7c.js} +1 -1
- package/dist/{delete-icon.entry-6ec9c80d.cjs → delete-icon.entry-41c7d463.cjs} +1 -1
- package/dist/{delete-icon.entry-fd8dc119.js → delete-icon.entry-59c9ca04.js} +1 -1
- package/dist/{document-refresh-icon.entry-bea78baf.cjs → document-refresh-icon.entry-afc75ddb.cjs} +1 -1
- package/dist/{document-refresh-icon.entry-2b531e97.js → document-refresh-icon.entry-c32cda4f.js} +1 -1
- package/dist/{feedbackSync-b56b29ed-a7e9f258.js → feedbackSync-b4015b72-0785986b.js} +1 -1
- package/dist/{feedbackSync-b56b29ed-cdcec5be.cjs → feedbackSync-b4015b72-d343d411.cjs} +1 -1
- package/dist/{folder-icon.entry-6a43630e.js → folder-icon.entry-5dcf707b.js} +1 -1
- package/dist/{folder-icon.entry-485465be.cjs → folder-icon.entry-61ccaddd.cjs} +1 -1
- package/dist/{forward-icon.entry-a1af9122.cjs → forward-icon.entry-3d598cb4.cjs} +1 -1
- package/dist/{forward-icon.entry-514ea4a8.js → forward-icon.entry-5a156d37.js} +1 -1
- package/dist/{globe-icon.entry-adcff451.js → globe-icon.entry-99e8bebf.js} +1 -1
- package/dist/{globe-icon.entry-970082a4.cjs → globe-icon.entry-a88502ce.cjs} +1 -1
- package/dist/{google-logo-icon_4.entry-2b68fe81.js → google-logo-icon_4.entry-531021bd.js} +142 -128
- package/dist/{google-logo-icon_4.entry-21cb4b95.cjs → google-logo-icon_4.entry-9a7790d2.cjs} +1 -1
- package/dist/{inbox-icon.entry-94507d27.cjs → inbox-icon.entry-6eadce9b.cjs} +1 -1
- package/dist/{inbox-icon.entry-d3e42f82.js → inbox-icon.entry-b2a2f48e.js} +1 -1
- package/dist/{index-9dc1bd32.js → index-13a43508.js} +2624 -2554
- package/dist/{index-bec58f1d.cjs → index-7dbf0ae7.cjs} +28 -28
- package/dist/{index.es-c7ca1bad-38475209.js → index.es-aa323594-17c2a3f6.js} +1 -1
- package/dist/{index.es-c7ca1bad-5652d50c.cjs → index.es-aa323594-84331fa3.cjs} +1 -1
- package/dist/{info-icon_2.entry-3b5a2c7f.js → info-icon_2.entry-c6e650c4.js} +1 -1
- package/dist/{info-icon_2.entry-e23f3ffd.cjs → info-icon_2.entry-f53d81e5.cjs} +1 -1
- package/dist/{input-color-picker.entry-b4ea90c5.cjs → input-color-picker.entry-16fa8456.cjs} +1 -1
- package/dist/{input-color-picker.entry-9bc48bd3.js → input-color-picker.entry-cd398537.js} +1 -1
- package/dist/{input-component.entry-e567ec08.cjs → input-component.entry-74b63249.cjs} +1 -1
- package/dist/{input-component.entry-ebae3a8a.js → input-component.entry-b471f023.js} +1 -1
- package/dist/{input-dropdown.entry-1f704009.js → input-dropdown.entry-14e1f6cb.js} +1 -1
- package/dist/{input-dropdown.entry-597cd5a8.cjs → input-dropdown.entry-32b4b8be.cjs} +1 -1
- package/dist/{italic-icon.entry-08593dd0.js → italic-icon.entry-8a1a7568.js} +1 -1
- package/dist/{italic-icon.entry-8f614353.cjs → italic-icon.entry-c9ae0186.cjs} +1 -1
- package/dist/{multi-select-dropdown.entry-eb978e22.cjs → multi-select-dropdown.entry-58b860a0.cjs} +1 -1
- package/dist/{multi-select-dropdown.entry-5f1c73f3.js → multi-select-dropdown.entry-bc4901aa.js} +1 -1
- package/dist/nylas-booked-event-card_12.entry-f64eecaa.cjs +1 -0
- package/dist/{nylas-booked-event-card_12.entry-c4043d8f.js → nylas-booked-event-card_12.entry-fbdb2f3d.js} +378 -378
- package/dist/{nylas-form-card.entry-1540207c.cjs → nylas-form-card.entry-7e9a0cf1.cjs} +1 -1
- package/dist/{nylas-form-card.entry-80688e35.js → nylas-form-card.entry-aa1d5aca.js} +2 -2
- package/dist/{nylas-if-state.entry-037d0454.js → nylas-if-state.entry-5e30f6b3.js} +2 -2
- package/dist/{nylas-if-state.entry-e5155b5b.cjs → nylas-if-state.entry-96914d61.cjs} +1 -1
- package/dist/{nylas-login.entry-b3d73ab9.cjs → nylas-login.entry-e26689b0.cjs} +1 -1
- package/dist/{nylas-login.entry-d157a6ed.js → nylas-login.entry-e52648da.js} +2 -2
- package/dist/{nylas-provider.entry-884ba204.cjs → nylas-provider.entry-9d43f4f0.cjs} +1 -1
- package/dist/{nylas-provider.entry-cf4b8b57.js → nylas-provider.entry-ac669351.js} +4 -4
- package/dist/nylas-scheduler-editor.entry-0f1370d9.cjs +2 -0
- package/dist/{nylas-scheduler-editor.entry-e731ca4a.js → nylas-scheduler-editor.entry-9655ce2e.js} +12 -12
- package/dist/{nylas-scheduling.entry-86b18d85.js → nylas-scheduling.entry-14d4cd69.js} +43 -42
- package/dist/nylas-scheduling.entry-ab10f8a4.cjs +1 -0
- package/dist/{nylas-time-window-picker.entry-393e855b.js → nylas-time-window-picker.entry-a2f71121.js} +1 -1
- package/dist/{nylas-time-window-picker.entry-f9687046.cjs → nylas-time-window-picker.entry-dfbd975e.cjs} +1 -1
- package/dist/{person-icon.entry-b5ccb1f4.js → person-icon.entry-40b5a8c5.js} +1 -1
- package/dist/{person-icon.entry-1b5dcd2e.cjs → person-icon.entry-a45918af.cjs} +1 -1
- package/dist/{play-icon.entry-5e51d961.js → play-icon.entry-b2315f8c.js} +1 -1
- package/dist/{play-icon.entry-3f2e7e31.cjs → play-icon.entry-c5757946.cjs} +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +1 -1
- package/dist/{refresh-icon.entry-9beaa8e1.js → refresh-icon.entry-37d038f8.js} +1 -1
- package/dist/{refresh-icon.entry-3d241ffd.cjs → refresh-icon.entry-b9afd192.cjs} +1 -1
- package/dist/{register-component-3444af44-94783766.js → register-component-555477e7-42247763.js} +1 -1
- package/dist/{register-component-3444af44-890ac950.cjs → register-component-555477e7-ecafba1c.cjs} +1 -1
- package/dist/{reply-all-icon.entry-a0fcbf30.cjs → reply-all-icon.entry-07a6783a.cjs} +1 -1
- package/dist/{reply-all-icon.entry-6b55d3b3.js → reply-all-icon.entry-89fd0e10.js} +1 -1
- package/dist/{reply-icon.entry-c7d0d967.cjs → reply-icon.entry-8cddb112.cjs} +1 -1
- package/dist/{reply-icon.entry-c709b46f.js → reply-icon.entry-a53a6fc4.js} +1 -1
- package/dist/{scheduler-config-store-ed4a8dfd-13c1c187.js → scheduler-config-store-ed4a8dfd-656579e3.js} +1 -1
- package/dist/{scheduler-config-store-ed4a8dfd-ba68cc09.cjs → scheduler-config-store-ed4a8dfd-733c6442.cjs} +1 -1
- package/dist/scheduler-store-c37aa5ca-0484b074.cjs +1 -0
- package/dist/{scheduler-store-ecd15be2-d2ef4ac2.js → scheduler-store-c37aa5ca-c9752707.js} +127 -124
- package/dist/{sent-icon.entry-b65083f4.js → sent-icon.entry-6ac749b3.js} +1 -1
- package/dist/{sent-icon.entry-9083bca9.cjs → sent-icon.entry-b740a32d.cjs} +1 -1
- package/dist/{spam-icon.entry-e6c1a82a.cjs → spam-icon.entry-78cec025.cjs} +1 -1
- package/dist/{spam-icon.entry-120eca46.js → spam-icon.entry-872ff1e4.js} +1 -1
- package/dist/{star-icon.entry-e3563c0b.js → star-icon.entry-57246dc1.js} +1 -1
- package/dist/{star-icon.entry-efbc2679.cjs → star-icon.entry-ab9ad7df.cjs} +1 -1
- package/dist/{stop-icon.entry-ab5cf663.js → stop-icon.entry-5054fa33.js} +1 -1
- package/dist/{stop-icon.entry-8d07d719.cjs → stop-icon.entry-f79dce49.cjs} +1 -1
- package/dist/{textarea-component.entry-a0ef9f03.js → textarea-component.entry-15c9a676.js} +1 -1
- package/dist/{textarea-component.entry-93be4a65.cjs → textarea-component.entry-2967dd82.cjs} +1 -1
- package/dist/{time-period-selector.entry-2a86f48f.js → time-period-selector.entry-9226fd08.js} +1 -1
- package/dist/{time-period-selector.entry-16f96af9.cjs → time-period-selector.entry-a53c94c2.cjs} +1 -1
- package/dist/{translate-icon.entry-d632b37b.js → translate-icon.entry-52939fa4.js} +1 -1
- package/dist/{translate-icon.entry-868948d3.cjs → translate-icon.entry-f4dcc479.cjs} +1 -1
- package/dist/{trash-fill-icon.entry-88dfffbc.cjs → trash-fill-icon.entry-7f4ddaf5.cjs} +1 -1
- package/dist/{trash-fill-icon.entry-eeab235e.js → trash-fill-icon.entry-b9ab3cfc.js} +1 -1
- package/dist/{underline-icon.entry-65e42dcf.js → underline-icon.entry-c8142970.js} +1 -1
- package/dist/{underline-icon.entry-35430c19.cjs → underline-icon.entry-e9959c5c.cjs} +1 -1
- package/dist/{warning-icon.entry-bab6d190.js → warning-icon.entry-00426457.js} +1 -1
- package/dist/{warning-icon.entry-e7714a43.cjs → warning-icon.entry-98c0d003.cjs} +1 -1
- package/package.json +3 -3
- package/dist/add-circle-icon_2.entry-52cc3933.cjs +0 -1
- package/dist/add-circle-icon_2.entry-5ea903bf.js +0 -25
- package/dist/calendar-agenda-fill-icon_54.entry-5b185e75.cjs +0 -9
- package/dist/nylas-booked-event-card_12.entry-73785c5c.cjs +0 -1
- package/dist/nylas-scheduler-editor.entry-6f76d0d5.cjs +0 -2
- package/dist/nylas-scheduling.entry-c8ee9a2a.cjs +0 -1
- package/dist/scheduler-store-ecd15be2-8f7d171f.cjs +0 -1
package/dist/{time-period-selector.entry-16f96af9.cjs → time-period-selector.entry-a53c94c2.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-7dbf0ae7.cjs");require("react");require("react-dom");const s=".time-period-selector.sc-time-period-selector{display:grid;gap:0.5rem;grid-template-columns:auto 1fr}.time-period-selector.sc-time-period-selector select-dropdown.sc-time-period-selector,.time-period-selector.sc-time-period-selector input-dropdown.sc-time-period-selector{border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x)}.time-period-selector.sc-time-period-selector select-dropdown.sc-time-period-selector{width:116px}.time-period-selector.sc-time-period-selector input-dropdown.sc-time-period-selector{width:84px;display:flex;align-items:center}.time-period-selector.sc-time-period-selector select-dropdown#time-period.sc-time-period-selector::part(sd_dropdown-button){width:100%}.time-period-selector.sc-time-period-selector input-dropdown.sc-time-period-selector::part(id_dropdown){width:inherit;height:100%}.time-period-selector.sc-time-period-selector input-dropdown#time-number.sc-time-period-selector::part(id_dropdown-input){border:none;border-radius:var(--nylas-border-radius-2x)}.time-period-selector.sc-time-period-selector input-dropdown.sc-time-period-selector::part(id_dropdown-input){padding:17px;gap:1rem}.time-period-selector.sc-time-period-selector input-dropdown.sc-time-period-selector::part(id_dropdown-content){width:100%;max-height:200px}.time-period-selector.sc-time-period-selector select-dropdown.sc-time-period-selector::part(sd_dropdown){width:inherit}.time-period-selector.sc-time-period-selector select-dropdown.sc-time-period-selector::part(sd_dropdown-button){padding:1rem;gap:1rem;justify-content:space-between}.time-period-selector.sc-time-period-selector select-dropdown.sc-time-period-selector::part(sd_dropdown-content){width:100%;max-height:200px}",n=s,p={hours:"hour",days:"day",weeks:"week",months:"month"},d=class{constructor(r){i.registerInstance(this,r),this.timePeriodChanged=i.createEvent(this,"timePeriodChanged",7),this.timePeriods=["hour","day","week","month"],this.defaultSelectedPeriod=void 0,this.defaultSelectedNumber=void 0,this.selectedPeriod=this.defaultSelectedPeriod,this.selectedNumber=this.defaultSelectedNumber,this.numberOptions=this.calculateOptions(this.defaultSelectedPeriod||"hour").map(e=>({label:e.toString(),value:e.toString()})),this.timePeriodOptions=this.timePeriods.map(e=>({label:e,value:e}))}componentDidLoad(){this.selectedNumber=this.defaultSelectedNumber,this.selectedPeriod=this.defaultSelectedPeriod;const r=p[this.selectedPeriod]??this.selectedPeriod,e=this.calculateOptions(r);this.numberOptions=e.map(t=>({label:t.toString(),value:t.toString()}))}calculateOptions(r){switch(r){case"hour":return Array.from({length:23},(e,t)=>t+1);case"minute":return Array.from({length:13},(e,t)=>t*5);case"day":return Array.from({length:30},(e,t)=>t+1);case"week":return Array.from({length:4},(e,t)=>t+1);case"month":return Array.from({length:12},(e,t)=>t+1);default:return[]}}inputOptionChangedHandler(r){i.debug("time-period-selector","inputOptionChangedHandler",r.detail);const{value:e,name:t}=r.detail;t==="time-number"&&(this.selectedNumber=e?parseInt(e):this.defaultSelectedNumber);const o={number:this.selectedNumber,period:this.selectedPeriod};this.timePeriodChanged.emit(o)}nylasFormDropdownChangedHandler(r){i.debug("time-period-selector","nylasFormDropdownChangedHandler",r.detail);const{value:e,name:t}=r.detail;t==="time-period"?(this.selectedPeriod=e,this.updateNumberOptionsAndSelectedNumber(e)):t==="time-number"&&(this.selectedNumber=parseInt(e));const o={number:this.selectedNumber,period:this.selectedPeriod};this.timePeriodChanged.emit(o)}updateNumberOptionsAndSelectedNumber(r){const e=this.calculateOptions(r);this.numberOptions=e.map(t=>({label:t.toString(),value:t.toString()})),this.selectedNumber=parseInt(this.numberOptions[0].value)}render(){return i.h("div",{key:"7202ca7c6b64a08199ec356eb409b247b865683b",class:"time-period-selector"},typeof this.selectedNumber=="number"&&i.h("input-dropdown",{id:"time-number",name:"time-number",inputValue:this.selectedNumber.toString(),exportparts:"id_dropdown: tps__number-dropdown, id_dropdown-input: tps__number-dropdown-button, id_dropdown-content: tps__number-dropdown-content",options:this.numberOptions,defaultInputOption:this.numberOptions.find(r=>r.value==this.selectedNumber.toString())}),typeof this.selectedPeriod=="string"&&i.h("select-dropdown",{id:"time-period",name:"time-period",options:this.timePeriodOptions,exportparts:"sd_dropdown: tps__period-dropdown, sd_dropdown-button: tps__period-dropdown-button, sd_dropdown-content: tps__period-dropdown-content",pluralizedLabel:this.selectedNumber>1?"s":"",defaultSelectedOption:this.timePeriodOptions.find(r=>r.value==this.selectedPeriod),withSearch:!1}))}get host(){return i.getElement(this)}};d.style=n;exports.time_period_selector=d;
|
|
@@ -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-7dbf0ae7.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:"a30c1511ca0c16efbba06eeafc1507f4d2e5e723",xmlns:"http://www.w3.org/2000/svg",width:this.width,height:this.height,viewBox:"0 0 20 20",fill:"none"},C.h("path",{key:"2ea649b4607a9a990230be8543af0de419d68050",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-7dbf0ae7.cjs");require("react");require("react-dom");const c=".sc-trash-fill-icon-h{display:flex}",h=c,t=class{constructor(s){e.registerInstance(this,s),this.width="15",this.height="15"}render(){return e.h("svg",{key:"548c62bb193bf077964a0244e7048013d6a82ee7",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"8f35afc8eabbcf0f32d774c56c3f4f8ee2e3d27e",d:"M3 6H5H21",stroke:"auto","stroke-width":"1.5"}),e.h("path",{key:"cd900f6d095aa7dc1eb55c22fb0cc6bb33f58d92",d:"M8 6V4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2H14C14.5304 2 15.0391 2.21071 15.4142 2.58579C15.7893 2.96086 16 3.46957 16 4V6M19 6V20C19 20.5304 18.7893 21.0391 18.4142 21.4142C18.0391 21.7893 17.5304 22 17 22H7C6.46957 22 5.96086 21.7893 5.58579 21.4142C5.21071 21.0391 5 20.5304 5 20V6H19Z",stroke:"auto","stroke-width":"1.5"}),e.h("path",{key:"45bd0169a4294cc2bc9df164ca7efbebe6ab6aef",d:"M10 11V17",stroke:"auto","stroke-width":"1.5"}),e.h("path",{key:"8c94c55b7db3d3cdfd559509052f9fb2917df1b3",d:"M14 11V17",stroke:"auto","stroke-width":"1.5"}))}};t.style=h;exports.trash_fill_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-7dbf0ae7.cjs");require("react");require("react-dom");const i=".sc-underline-icon-h{display:flex}",r=i,t=class{constructor(n){e.registerInstance(this,n),this.width="15",this.height="15"}render(){return e.h("svg",{key:"64b1d095fc53b81c91e8b5a7980772d214113714",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"a2a8c746098415012933da15471b874b5756ec48",d:"M19 4V10C19 13.866 15.866 17 12 17C8.13401 17 5 13.866 5 10V4M8.5 4V10C8.5 13.2218 10.6766 15.9352 13.6395 16.7501M4 21H20M3 4L10.5 4M17 4L21 4",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}))}};t.style=r;exports.underline_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-7dbf0ae7.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:"78a733b398ff7718a9a80331bb07830b5f27f1f6",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"6bde2554d33fffe3f76763fcb4372fb1ec7a1c75",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.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"react": "^18.2.0",
|
|
24
24
|
"react-dom": "^18.2.0",
|
|
25
|
-
"@nylas/
|
|
26
|
-
"@nylas/
|
|
25
|
+
"@nylas/web-elements": "^1.3.1",
|
|
26
|
+
"@nylas/core": "^1.1.2"
|
|
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 e=require("./index-bec58f1d.cjs");require("react");require("react-dom");const a=".sc-add-circle-icon-h{display:flex}",d=a,t=class{constructor(c){e.registerInstance(this,c),this.width="24",this.height="25"}render(){return e.h("svg",{key:"9e690681d1b901e7e3d253077f78686f791649a5",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"790a61b553585cc1f31547f19adadc95a46c5166",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"}))}};t.style=d;const i=".sc-close-icon-h{display:flex}",h=i,s=class{constructor(c){e.registerInstance(this,c),this.width="16",this.height="16"}render(){return e.h("svg",{key:"ea4c2e95733509b6dec0689e638a25df560567e2",width:"21",height:"21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("g",{key:"49366dc579896a3e8fcfed0c7d3cce7dab209d50","clip-path":"url(#a)"},e.h("path",{key:"57a3efd12ca2c8f019b118f0113172342ddb6354",d:"M5.73 4.574a.75.75 0 1 0-1.061 1.06l4.419 4.42-4.42 4.42a.75.75 0 1 0 1.061 1.06l4.42-4.42 4.419 4.42a.75.75 0 0 0 1.06-1.06l-4.419-4.42 4.42-4.42a.75.75 0 1 0-1.061-1.06l-4.42 4.42-4.419-4.42Z",fill:"currentColor"})),e.h("defs",{key:"424636139255dfdcebe6d3dc901c84168c4c713e"},e.h("clipPath",{key:"0ebaa728a38c48694e48f1182c1de98bba97ff0d",id:"a"},e.h("path",{key:"bfe4ed6e55fe74a819e6d512a0b7e2c018baec14",fill:"#fff",transform:"translate(.148 .054)",d:"M0 0h20v20H0z"}))))}};s.style=h;exports.add_circle_icon=t;exports.close_icon=s;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { r as t, h as e } from "./index-9dc1bd32.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import "react-dom";
|
|
4
|
-
const s = ".sc-add-circle-icon-h{display:flex}", a = s, d = class {
|
|
5
|
-
constructor(c) {
|
|
6
|
-
t(this, c), this.width = "24", this.height = "25";
|
|
7
|
-
}
|
|
8
|
-
render() {
|
|
9
|
-
return e("svg", { key: "9e690681d1b901e7e3d253077f78686f791649a5", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, e("path", { key: "790a61b553585cc1f31547f19adadc95a46c5166", 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" }));
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
d.style = a;
|
|
13
|
-
const i = ".sc-close-icon-h{display:flex}", l = i, h = class {
|
|
14
|
-
constructor(c) {
|
|
15
|
-
t(this, c), this.width = "16", this.height = "16";
|
|
16
|
-
}
|
|
17
|
-
render() {
|
|
18
|
-
return e("svg", { key: "ea4c2e95733509b6dec0689e638a25df560567e2", width: "21", height: "21", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, e("g", { key: "49366dc579896a3e8fcfed0c7d3cce7dab209d50", "clip-path": "url(#a)" }, e("path", { key: "57a3efd12ca2c8f019b118f0113172342ddb6354", d: "M5.73 4.574a.75.75 0 1 0-1.061 1.06l4.419 4.42-4.42 4.42a.75.75 0 1 0 1.061 1.06l4.42-4.42 4.419 4.42a.75.75 0 0 0 1.06-1.06l-4.419-4.42 4.42-4.42a.75.75 0 1 0-1.061-1.06l-4.42 4.42-4.419-4.42Z", fill: "currentColor" })), e("defs", { key: "424636139255dfdcebe6d3dc901c84168c4c713e" }, e("clipPath", { key: "0ebaa728a38c48694e48f1182c1de98bba97ff0d", id: "a" }, e("path", { key: "bfe4ed6e55fe74a819e6d512a0b7e2c018baec14", fill: "#fff", transform: "translate(.148 .054)", d: "M0 0h20v20H0z" }))));
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
h.style = l;
|
|
22
|
-
export {
|
|
23
|
-
d as add_circle_icon,
|
|
24
|
-
h as close_icon
|
|
25
|
-
};
|