@nylas/react 1.1.0-canary.5 → 1.1.0-canary.7
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/{elements-dc5b338e-e87f79b6.js → elements-dc5b338e-6078b875.js} +1 -1
- package/dist/{elements-dc5b338e-29ef67ec.cjs → elements-dc5b338e-96e197ca.cjs} +1 -1
- package/dist/{focus-visible-e8093c16-61d506d2.cjs → focus-visible-e8093c16-018ffd63.cjs} +1 -1
- package/dist/{focus-visible-e8093c16-e7357f74.js → focus-visible-e8093c16-ab01d60a.js} +1 -1
- package/dist/{index-f9ba9aa8.js → index-1fd24ccf.js} +1039 -1428
- package/dist/index-823fdc6f.cjs +36 -0
- package/dist/react.cjs +1 -1
- package/dist/react.js +52 -52
- package/package.json +3 -3
- package/dist/add-circle-icon_22.entry-9f634efd.js +0 -1731
- package/dist/add-circle-icon_22.entry-e7ec6c34.cjs +0 -1
- package/dist/archive-icon_7.entry-24bac466.js +0 -75
- package/dist/archive-icon_7.entry-6649ed76.cjs +0 -1
- package/dist/arrow-icon.entry-1fffd526.cjs +0 -1
- package/dist/arrow-icon.entry-82e59ce4.js +0 -15
- package/dist/bold-icon_3.entry-5a01fecf.cjs +0 -1
- package/dist/bold-icon_3.entry-72e585da.js +0 -35
- package/dist/calendar-cancel-icon.entry-0b52bdc9.cjs +0 -1
- package/dist/calendar-cancel-icon.entry-247b530c.js +0 -15
- package/dist/calendar-check-icon_2.entry-d7bb76c7.cjs +0 -1
- package/dist/calendar-check-icon_2.entry-dbb2df49.js +0 -25
- package/dist/calendar-icon.entry-911773c4.cjs +0 -1
- package/dist/calendar-icon.entry-d64cb3d3.js +0 -15
- package/dist/chevron-icon_3.entry-b72f4cdb.cjs +0 -1
- package/dist/chevron-icon_3.entry-db9f8217.js +0 -117
- package/dist/close-icon.entry-9d141bb4.js +0 -15
- package/dist/close-icon.entry-da590fa2.cjs +0 -1
- package/dist/constants-6ee60d6d-09ee73d9.cjs +0 -15
- package/dist/constants-6ee60d6d-d5928e79.js +0 -3740
- package/dist/document-refresh-icon.entry-5e8cc2f0.cjs +0 -1
- package/dist/document-refresh-icon.entry-ee9632d7.js +0 -15
- package/dist/forward-icon_6.entry-cac8473a.cjs +0 -3
- package/dist/forward-icon_6.entry-f054ad9d.js +0 -953
- package/dist/globe-icon.entry-2fde6ac4.js +0 -15
- package/dist/globe-icon.entry-bc484551.cjs +0 -1
- package/dist/google-logo-icon_4.entry-a9848399.cjs +0 -1
- package/dist/google-logo-icon_4.entry-dca87e45.js +0 -349
- package/dist/index-22f7e49c.cjs +0 -37
- package/dist/index.es-f57e612a-1d17c676.js +0 -3137
- package/dist/index.es-f57e612a-95ca3e17.cjs +0 -7
- package/dist/info-icon_2.entry-dbf3931a.js +0 -34
- package/dist/info-icon_2.entry-e67844eb.cjs +0 -1
- package/dist/loading-icon.entry-4566cba8.cjs +0 -1
- package/dist/loading-icon.entry-ae4c2d7e.js +0 -15
- package/dist/mailbox-store-47fc8a1a-2365f20f.js +0 -380
- package/dist/mailbox-store-47fc8a1a-cd3516a7.cjs +0 -1
- package/dist/nylas-additional-participants.entry-7c568149.cjs +0 -1
- package/dist/nylas-additional-participants.entry-e8426256.js +0 -81
- package/dist/nylas-booked-event-card_10.entry-6a664889.cjs +0 -1
- package/dist/nylas-booked-event-card_10.entry-ef767733.js +0 -782
- package/dist/nylas-form-card.entry-d8506b1f.js +0 -54
- package/dist/nylas-form-card.entry-e44169b6.cjs +0 -1
- package/dist/nylas-if-state.entry-044c49d2.cjs +0 -1
- package/dist/nylas-if-state.entry-98a336df.js +0 -94
- package/dist/nylas-list-folders.entry-509f9be4.cjs +0 -1
- package/dist/nylas-list-folders.entry-55ce3403.js +0 -120
- package/dist/nylas-list-threads.entry-1f57382a.js +0 -70
- package/dist/nylas-list-threads.entry-c36e2cf3.cjs +0 -1
- package/dist/nylas-login.entry-66f542b8.cjs +0 -1
- package/dist/nylas-login.entry-76358c2f.js +0 -73
- package/dist/nylas-mailbox-pagination.entry-5562257a.js +0 -101
- package/dist/nylas-mailbox-pagination.entry-89b0dd99.cjs +0 -1
- package/dist/nylas-mailbox-toolbar-button.entry-573e0429.cjs +0 -1
- package/dist/nylas-mailbox-toolbar-button.entry-6b1b5b15.js +0 -82
- package/dist/nylas-mailbox.entry-97c503f2.js +0 -134
- package/dist/nylas-mailbox.entry-e21a2f50.cjs +0 -1
- package/dist/nylas-provider.entry-07e1e26a.js +0 -145
- package/dist/nylas-provider.entry-61899957.cjs +0 -1
- package/dist/nylas-scheduler-editor.entry-60fe38ce.cjs +0 -7
- package/dist/nylas-scheduler-editor.entry-e326c9de.js +0 -2275
- package/dist/nylas-scheduling.entry-be0cc090.js +0 -235
- package/dist/nylas-scheduling.entry-d88289db.cjs +0 -1
- package/dist/nylas-threads-refresh.entry-8201f8dd.js +0 -74
- package/dist/nylas-threads-refresh.entry-c71ee775.cjs +0 -1
- package/dist/nylas-threads-search.entry-912a90a4.cjs +0 -1
- package/dist/nylas-threads-search.entry-fc477e01.js +0 -69
- package/dist/nylas-view-thread.entry-af418ddb.cjs +0 -1
- package/dist/nylas-view-thread.entry-d2953ea8.js +0 -203
- package/dist/people-icon.entry-4b598fde.js +0 -15
- package/dist/people-icon.entry-73cfa6f5.cjs +0 -1
- package/dist/play-icon_2.entry-1a487abb.cjs +0 -1
- package/dist/play-icon_2.entry-d1c2f823.js +0 -25
- package/dist/refresh-icon.entry-42d543d0.cjs +0 -1
- package/dist/refresh-icon.entry-6aedfce6.js +0 -15
- package/dist/register-component-cf5c8420-d3fb6bf9.cjs +0 -1
- package/dist/register-component-cf5c8420-dc1bc0a4.js +0 -109
- package/dist/scheduler-config-store-6222c0ed-000f1a4f.js +0 -18
- package/dist/scheduler-config-store-6222c0ed-758621fb.cjs +0 -1
- package/dist/scheduler-store-39d37291-4e8e9ff9.js +0 -293
- package/dist/scheduler-store-39d37291-b66c052c.cjs +0 -1
- package/dist/time-period-selector.entry-f1e27a00.js +0 -76
- package/dist/time-period-selector.entry-fb3d0178.cjs +0 -1
- package/dist/translate-icon.entry-0d44b6cb.cjs +0 -1
- package/dist/translate-icon.entry-3db947f5.js +0 -15
- package/dist/warning-icon.entry-a20657e4.cjs +0 -1
- package/dist/warning-icon.entry-a8ea0fe0.js +0 -15
|
@@ -1067,7 +1067,7 @@ let ea = !0;
|
|
|
1067
1067
|
try {
|
|
1068
1068
|
document.body.querySelector(":focus-visible");
|
|
1069
1069
|
} catch {
|
|
1070
|
-
ea = !1, import("./focus-visible-e8093c16-
|
|
1070
|
+
ea = !1, import("./focus-visible-e8093c16-ab01d60a.js").then(function(t) {
|
|
1071
1071
|
return t.f;
|
|
1072
1072
|
});
|
|
1073
1073
|
}
|
|
@@ -169,7 +169,7 @@ var(--spectrum-accordion-item-header-line-height)
|
|
|
169
169
|
@slotchange=${this.handleSlotchange}
|
|
170
170
|
@sp-accordion-item-toggle=${this.onToggle}
|
|
171
171
|
></slot>
|
|
172
|
-
`}}zs([i({type:Boolean,reflect:!0,attribute:"allow-multiple"})],Bo.prototype,"allowMultiple",2),zs([i({type:String,reflect:!0})],Bo.prototype,"density",2),zs([oo()],Bo.prototype,"defaultNodes",2);function v(s,t){customElements.define(s,t)}v("sp-accordion",Bo);let ea=!0;try{document.body.querySelector(":focus-visible")}catch{ea=!1,Promise.resolve().then(()=>require("./focus-visible-e8093c16-
|
|
172
|
+
`}}zs([i({type:Boolean,reflect:!0,attribute:"allow-multiple"})],Bo.prototype,"allowMultiple",2),zs([i({type:String,reflect:!0})],Bo.prototype,"density",2),zs([oo()],Bo.prototype,"defaultNodes",2);function v(s,t){customElements.define(s,t)}v("sp-accordion",Bo);let ea=!0;try{document.body.querySelector(":focus-visible")}catch{ea=!1,Promise.resolve().then(()=>require("./focus-visible-e8093c16-018ffd63.cjs")).then(function(t){return t.f})}const Qt=s=>{var t;const e=a=>{if(a.shadowRoot==null||a.hasAttribute("data-js-focus-visible"))return()=>{};if(self.applyFocusVisiblePolyfill)self.applyFocusVisiblePolyfill(a.shadowRoot),a.manageAutoFocus&&a.manageAutoFocus();else{const c=()=>{self.applyFocusVisiblePolyfill&&a.shadowRoot&&self.applyFocusVisiblePolyfill(a.shadowRoot),a.manageAutoFocus&&a.manageAutoFocus()};return self.addEventListener("focus-visible-polyfill-ready",c,{once:!0}),()=>{self.removeEventListener("focus-visible-polyfill-ready",c)}}return()=>{}},r=Symbol("endPolyfillCoordination");class o extends s{constructor(){super(...arguments),this[t]=null}connectedCallback(){super.connectedCallback&&super.connectedCallback(),ea||requestAnimationFrame(()=>{this[r]==null&&(this[r]=e(this))})}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback(),ea||requestAnimationFrame(()=>{this[r]!=null&&(this[r](),this[r]=null)})}}return t=r,o};var Dl=Object.defineProperty,Bl=Object.getOwnPropertyDescriptor,$s=(s,t,e,r)=>{for(var o=r>1?void 0:r?Bl(t,e):t,a=s.length-1,c;a>=0;a--)(c=s[a])&&(o=(r?c(t,e,o):c(o))||o);return r&&o&&Dl(t,e,o),o};function yc(){return new Promise(s=>requestAnimationFrame(()=>s()))}class L extends Qt($){constructor(){super(...arguments),this.disabled=!1,this.autofocus=!1,this._tabIndex=0,this.manipulatingTabindex=!1,this._recentlyConnected=!1}get tabIndex(){if(this.focusElement===this){const e=this.hasAttribute("tabindex")?Number(this.getAttribute("tabindex")):NaN;return isNaN(e)?-1:e}const t=parseFloat(this.hasAttribute("tabindex")&&this.getAttribute("tabindex")||"0");return this.disabled||t<0?-1:this.focusElement?this.focusElement.tabIndex:t}set tabIndex(t){if(this.manipulatingTabindex){this.manipulatingTabindex=!1;return}if(this.focusElement===this){if(t!==this._tabIndex){this._tabIndex=t;const e=this.disabled?"-1":""+t;this.manipulatingTabindex=!0,this.setAttribute("tabindex",e)}return}if(t===-1?this.addEventListener("pointerdown",this.onPointerdownManagementOfTabIndex):(this.manipulatingTabindex=!0,this.removeEventListener("pointerdown",this.onPointerdownManagementOfTabIndex)),t===-1||this.disabled){this.setAttribute("tabindex","-1"),this.removeAttribute("focusable"),t!==-1&&this.manageFocusElementTabindex(t);return}this.setAttribute("focusable",""),this.hasAttribute("tabindex")?this.removeAttribute("tabindex"):this.manipulatingTabindex=!1,this.manageFocusElementTabindex(t)}onPointerdownManagementOfTabIndex(){this.tabIndex===-1&&(this.tabIndex=0,this.focus({preventScroll:!0}))}async manageFocusElementTabindex(t){this.focusElement||await this.updateComplete,t===null?this.focusElement.removeAttribute("tabindex"):this.focusElement.tabIndex=t}get focusElement(){throw new Error("Must implement focusElement getter!")}focus(t){this.disabled||!this.focusElement||(this.focusElement!==this?this.focusElement.focus(t):HTMLElement.prototype.focus.apply(this,[t]))}blur(){const t=this.focusElement||this;t!==this?t.blur():HTMLElement.prototype.blur.apply(this)}click(){if(this.disabled)return;const t=this.focusElement||this;t!==this?t.click():HTMLElement.prototype.click.apply(this)}manageAutoFocus(){this.autofocus&&(this.dispatchEvent(new KeyboardEvent("keydown",{code:"Tab"})),this.focusElement.focus())}firstUpdated(t){super.firstUpdated(t),(!this.hasAttribute("tabindex")||this.getAttribute("tabindex")!=="-1")&&this.setAttribute("focusable","")}update(t){t.has("disabled")&&this.handleDisabledChanged(this.disabled,t.get("disabled")),super.update(t)}updated(t){super.updated(t),t.has("disabled")&&this.disabled&&this.blur()}async handleDisabledChanged(t,e){const r=()=>this.focusElement!==this&&typeof this.focusElement.disabled<"u";t?(this.manipulatingTabindex=!0,this.setAttribute("tabindex","-1"),await this.updateComplete,r()?this.focusElement.disabled=!0:this.setAttribute("aria-disabled","true")):e&&(this.manipulatingTabindex=!0,this.focusElement===this?this.setAttribute("tabindex",""+this._tabIndex):this.removeAttribute("tabindex"),await this.updateComplete,r()?this.focusElement.disabled=!1:this.removeAttribute("aria-disabled"))}async getUpdateComplete(){const t=await super.getUpdateComplete();return this._recentlyConnected&&(this._recentlyConnected=!1,await yc(),await yc()),t}connectedCallback(){super.connectedCallback(),this._recentlyConnected=!0,this.updateComplete.then(()=>{this.manageAutoFocus()})}}$s([i({type:Boolean,reflect:!0})],L.prototype,"disabled",2),$s([i({type:Boolean})],L.prototype,"autofocus",2),$s([i({type:Number})],L.prototype,"tabIndex",1);/**
|
|
173
173
|
* @license
|
|
174
174
|
* Copyright 2018 Google LLC
|
|
175
175
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -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-823fdc6f.cjs");require("react");require("react-dom");var f={exports:{}};(function(V,A){(function(r,i){i()})(T.commonjsGlobal,function(){function r(n){var o=!0,u=!1,a=null,v={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function s(e){return!!(e&&e!==document&&e.nodeName!=="HTML"&&e.nodeName!=="BODY"&&"classList"in e&&"contains"in e.classList)}function b(e){var g=e.type,l=e.tagName;return!!(l==="INPUT"&&v[g]&&!e.readOnly||l==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function c(e){e.classList.contains("focus-visible")||(e.classList.add("focus-visible"),e.setAttribute("data-focus-visible-added",""))}function E(e){e.hasAttribute("data-focus-visible-added")&&(e.classList.remove("focus-visible"),e.removeAttribute("data-focus-visible-added"))}function L(e){e.metaKey||e.altKey||e.ctrlKey||(s(n.activeElement)&&c(n.activeElement),o=!0)}function d(e){o=!1}function y(e){s(e.target)&&(o||b(e.target))&&c(e.target)}function p(e){s(e.target)&&(e.target.classList.contains("focus-visible")||e.target.hasAttribute("data-focus-visible-added"))&&(u=!0,window.clearTimeout(a),a=window.setTimeout(function(){u=!1},100),E(e.target))}function w(e){document.visibilityState==="hidden"&&(u&&(o=!0),m())}function m(){document.addEventListener("mousemove",t),document.addEventListener("mousedown",t),document.addEventListener("mouseup",t),document.addEventListener("pointermove",t),document.addEventListener("pointerdown",t),document.addEventListener("pointerup",t),document.addEventListener("touchmove",t),document.addEventListener("touchstart",t),document.addEventListener("touchend",t)}function h(){document.removeEventListener("mousemove",t),document.removeEventListener("mousedown",t),document.removeEventListener("mouseup",t),document.removeEventListener("pointermove",t),document.removeEventListener("pointerdown",t),document.removeEventListener("pointerup",t),document.removeEventListener("touchmove",t),document.removeEventListener("touchstart",t),document.removeEventListener("touchend",t)}function t(e){e.target.nodeName&&e.target.nodeName.toLowerCase()==="html"||(o=!1,h())}document.addEventListener("keydown",L,!0),document.addEventListener("mousedown",d,!0),document.addEventListener("pointerdown",d,!0),document.addEventListener("touchstart",d,!0),document.addEventListener("visibilitychange",w,!0),m(),n.addEventListener("focus",y,!0),n.addEventListener("blur",p,!0),n.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&n.host?n.host.setAttribute("data-js-focus-visible",""):n.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if(typeof window<"u"&&typeof document<"u"){window.applyFocusVisiblePolyfill=r;var i;try{i=new CustomEvent("focus-visible-polyfill-ready")}catch{i=document.createEvent("CustomEvent"),i.initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(i)}typeof document<"u"&&r(document)})})();const N=f.exports,O=Object.freeze(Object.assign(Object.create(null),f.exports,{default:N}));exports.f=O;
|