@nylas/react 2.1.0 → 2.2.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.
Files changed (148) hide show
  1. package/dist/cjs/connect.js +1 -0
  2. package/dist/cjs/elements.js +1 -0
  3. package/dist/cjs/index.js +1 -0
  4. package/dist/cjs/notetaker.js +62 -0
  5. package/dist/cjs/utils.js +11 -0
  6. package/dist/connect.d.ts +1 -0
  7. package/dist/elements.d.ts +1 -0
  8. package/dist/es/connect.js +279 -0
  9. package/dist/es/elements.js +1319 -0
  10. package/dist/es/index.js +281 -0
  11. package/dist/es/notetaker.js +5784 -0
  12. package/dist/es/utils.js +12396 -0
  13. package/dist/lib/connect/types.d.ts +1 -1
  14. package/dist/lib/connect/useNylasConnect.d.ts +2 -2
  15. package/dist/lib/connect.d.ts +1 -0
  16. package/dist/lib/elements/components.d.ts +975 -0
  17. package/dist/lib/elements.d.ts +1 -0
  18. package/dist/lib/index.d.ts +3 -6
  19. package/dist/lib/notetaker.d.ts +1 -0
  20. package/dist/lib/utils.d.ts +2 -0
  21. package/dist/notetaker.d.ts +1 -0
  22. package/dist/utils.d.ts +1 -0
  23. package/package.json +36 -16
  24. package/dist/add-circle-icon_2.entry-8c3bb0bb.cjs +0 -1
  25. package/dist/add-circle-icon_2.entry-a3daf6c4.js +0 -28
  26. package/dist/archive-icon.entry-46ad0ff3.cjs +0 -1
  27. package/dist/archive-icon.entry-d5141486.js +0 -18
  28. package/dist/arrow-icon.entry-1b89ce78.js +0 -18
  29. package/dist/arrow-icon.entry-f696de4f.cjs +0 -1
  30. package/dist/bold-icon.entry-7827cd4e.cjs +0 -1
  31. package/dist/bold-icon.entry-c117b4cf.js +0 -18
  32. package/dist/button-component_2.entry-8cd4c5f3.cjs +0 -1
  33. package/dist/button-component_2.entry-e68caa9b.js +0 -29
  34. package/dist/calendar-agenda-fill-icon_37.entry-52bdc8b3.js +0 -5234
  35. package/dist/calendar-agenda-fill-icon_37.entry-8c592cfa.cjs +0 -6
  36. package/dist/calendar-cancel-icon.entry-7facfa05.cjs +0 -1
  37. package/dist/calendar-cancel-icon.entry-f5f1d499.js +0 -18
  38. package/dist/calendar-check-icon.entry-55320137.js +0 -18
  39. package/dist/calendar-check-icon.entry-72108702.cjs +0 -1
  40. package/dist/calendar-icon.entry-afea361e.js +0 -18
  41. package/dist/calendar-icon.entry-f5c6730f.cjs +0 -1
  42. package/dist/checkbox-component.entry-5722d263.cjs +0 -1
  43. package/dist/checkbox-component.entry-89fa6edd.js +0 -54
  44. package/dist/checkbox-group_4.entry-30e8af17.cjs +0 -28
  45. package/dist/checkbox-group_4.entry-51f03009.js +0 -10014
  46. package/dist/checkmark-circle-icon.entry-ae11049d.cjs +0 -1
  47. package/dist/checkmark-circle-icon.entry-dfe67e22.js +0 -18
  48. package/dist/checkmark-icon_15.entry-4c3979db.js +0 -1415
  49. package/dist/checkmark-icon_15.entry-e59c0f53.cjs +0 -5
  50. package/dist/chevron-icon_3.entry-1f3c3ca6.js +0 -159
  51. package/dist/chevron-icon_3.entry-ea791750.cjs +0 -1
  52. package/dist/clock-icon_4.entry-172fed74.cjs +0 -1
  53. package/dist/clock-icon_4.entry-78878cb8.js +0 -48
  54. package/dist/constants-f51538ef-cd2a67c4.cjs +0 -1
  55. package/dist/constants-f51538ef-e0a5f026.js +0 -876
  56. package/dist/customParseFormat-b5d95b34-a6b6fcba.cjs +0 -1
  57. package/dist/customParseFormat-b5d95b34-ce80820c.js +0 -135
  58. package/dist/delete-icon.entry-a8c0bf03.cjs +0 -1
  59. package/dist/delete-icon.entry-cebdc90f.js +0 -18
  60. package/dist/document-refresh-icon.entry-2d9a529d.cjs +0 -1
  61. package/dist/document-refresh-icon.entry-8780a2b8.js +0 -18
  62. package/dist/feedbackSync-92220b42-fbebe1f9.cjs +0 -448
  63. package/dist/feedbackSync-92220b42-fd5f5610.js +0 -6048
  64. package/dist/folder-icon.entry-3e61ccca.cjs +0 -1
  65. package/dist/folder-icon.entry-6ffd5191.js +0 -18
  66. package/dist/forward-icon.entry-c7d88db8.cjs +0 -1
  67. package/dist/forward-icon.entry-c9c4bf5b.js +0 -18
  68. package/dist/globe-icon.entry-0b93cab8.cjs +0 -1
  69. package/dist/globe-icon.entry-7c0dca7b.js +0 -18
  70. package/dist/google-logo-icon_6.entry-deef91ee.js +0 -1765
  71. package/dist/google-logo-icon_6.entry-e25ce3e7.cjs +0 -2
  72. package/dist/google-meet-icon_5.entry-214347f0.cjs +0 -1
  73. package/dist/google-meet-icon_5.entry-f8b5a92a.js +0 -58
  74. package/dist/inbox-icon.entry-873062c3.js +0 -18
  75. package/dist/inbox-icon.entry-f08f2fd5.cjs +0 -1
  76. package/dist/index-025be398.js +0 -7187
  77. package/dist/index-c510313d-1318f67a.js +0 -289
  78. package/dist/index-c510313d-b0508eee.cjs +0 -1
  79. package/dist/index-f42fe591.cjs +0 -65
  80. package/dist/index.es-488bc919-d02dd50a.cjs +0 -7
  81. package/dist/index.es-488bc919-ea63a7e9.js +0 -2724
  82. package/dist/info-icon_2.entry-442b9097.cjs +0 -1
  83. package/dist/info-icon_2.entry-60fb8648.js +0 -37
  84. package/dist/input-component.entry-5898a52e.js +0 -96
  85. package/dist/input-component.entry-7274fd28.cjs +0 -1
  86. package/dist/input-dropdown_2.entry-4534436c.js +0 -255
  87. package/dist/input-dropdown_2.entry-9b72f637.cjs +0 -1
  88. package/dist/italic-icon.entry-62052cd8.js +0 -18
  89. package/dist/italic-icon.entry-9bdbbd37.cjs +0 -1
  90. package/dist/lib/elements/index.d.ts +0 -133
  91. package/dist/lib/elements/react-component-lib/createComponent.d.ts +0 -10
  92. package/dist/lib/elements/react-component-lib/createOverlayComponent.d.ts +0 -21
  93. package/dist/lib/elements/react-component-lib/index.d.ts +0 -2
  94. package/dist/lib/elements/react-component-lib/interfaces.d.ts +0 -29
  95. package/dist/lib/elements/react-component-lib/utils/attachProps.d.ts +0 -9
  96. package/dist/lib/elements/react-component-lib/utils/case.d.ts +0 -2
  97. package/dist/lib/elements/react-component-lib/utils/dev.d.ts +0 -2
  98. package/dist/lib/elements/react-component-lib/utils/index.d.ts +0 -10
  99. package/dist/multi-select-dropdown.entry-77752d46.cjs +0 -1
  100. package/dist/multi-select-dropdown.entry-9c9d05c1.js +0 -133
  101. package/dist/nylas-booked-event-card_11.entry-32b2e9f1.js +0 -1410
  102. package/dist/nylas-booked-event-card_11.entry-4aba5146.cjs +0 -1
  103. package/dist/nylas-date-component_2.entry-6b058796.cjs +0 -1
  104. package/dist/nylas-date-component_2.entry-a869519f.js +0 -310
  105. package/dist/nylas-form-card.entry-5390459f.js +0 -75
  106. package/dist/nylas-form-card.entry-c2f34d73.cjs +0 -1
  107. package/dist/nylas-notification_2.entry-054392cf.cjs +0 -1
  108. package/dist/nylas-notification_2.entry-f46e88e5.js +0 -88
  109. package/dist/nylas-scheduler-editor.entry-40a48f47.js +0 -1854
  110. package/dist/nylas-scheduler-editor.entry-e29fdf07.cjs +0 -2
  111. package/dist/nylas-scheduling.entry-115b1752.js +0 -1002
  112. package/dist/nylas-scheduling.entry-79cb1d9c.cjs +0 -1
  113. package/dist/person-icon.entry-2cae306c.cjs +0 -1
  114. package/dist/person-icon.entry-fd668b89.js +0 -18
  115. package/dist/play-icon.entry-7fc3c0fd.js +0 -18
  116. package/dist/play-icon.entry-9989a520.cjs +0 -1
  117. package/dist/radio-button-group.entry-03385b5f.cjs +0 -1
  118. package/dist/radio-button-group.entry-9df82cd0.js +0 -58
  119. package/dist/react.cjs +0 -1
  120. package/dist/react.js +0 -164
  121. package/dist/refresh-icon.entry-310954ba.cjs +0 -1
  122. package/dist/refresh-icon.entry-c56e5623.js +0 -18
  123. package/dist/register-component-3acd57e7-5a79a90a.cjs +0 -1
  124. package/dist/register-component-3acd57e7-cb09c05e.js +0 -110
  125. package/dist/reply-all-icon.entry-32e0e000.js +0 -18
  126. package/dist/reply-all-icon.entry-68388f97.cjs +0 -1
  127. package/dist/reply-icon.entry-3ac2e736.js +0 -18
  128. package/dist/reply-icon.entry-e616a9a4.cjs +0 -1
  129. package/dist/sent-icon.entry-0622ed04.js +0 -18
  130. package/dist/sent-icon.entry-543eb3c4.cjs +0 -1
  131. package/dist/spam-icon.entry-74bcfd4f.js +0 -18
  132. package/dist/spam-icon.entry-e341ee3e.cjs +0 -1
  133. package/dist/star-icon.entry-864d2bf9.js +0 -18
  134. package/dist/star-icon.entry-c90d40f6.cjs +0 -1
  135. package/dist/stop-icon.entry-835908c5.js +0 -18
  136. package/dist/stop-icon.entry-ffc46b42.cjs +0 -1
  137. package/dist/textarea-component.entry-6adcf6a6.js +0 -58
  138. package/dist/textarea-component.entry-dae8eb5c.cjs +0 -1
  139. package/dist/toggle-switch.entry-5ee29867.cjs +0 -1
  140. package/dist/toggle-switch.entry-ff2ccb75.js +0 -51
  141. package/dist/translate-icon.entry-372dd808.js +0 -18
  142. package/dist/translate-icon.entry-5606067d.cjs +0 -1
  143. package/dist/trash-fill-icon.entry-01b4379e.js +0 -18
  144. package/dist/trash-fill-icon.entry-daed6c0a.cjs +0 -1
  145. package/dist/underline-icon.entry-2020ee64.cjs +0 -1
  146. package/dist/underline-icon.entry-464b900d.js +0 -18
  147. package/dist/utils-31933f5d-15041585.js +0 -17878
  148. package/dist/utils-31933f5d-1d4c81ab.cjs +0 -54
@@ -0,0 +1 @@
1
+ export * from "./elements/components";
@@ -1,6 +1,3 @@
1
- import { NylasIdentityRequestWrapper } from "@nylas/web-elements";
2
- export { defineCustomElements, setNonce } from "@nylas/web-elements/loader";
3
- export { NylasIdentityRequestWrapper };
4
- export * from "./connect/index";
5
- export * from "./elements/index";
6
- export * from "./notetaker/index";
1
+ export * from "./elements";
2
+ export * from "./notetaker";
3
+ export * from "./utils";
@@ -0,0 +1 @@
1
+ export * from "./notetaker/index";
@@ -0,0 +1,2 @@
1
+ export { NylasIdentityRequestWrapper } from "@nylas/web-elements/components";
2
+ export type { LANGUAGE_CODE } from "@nylas/web-elements/components";
@@ -0,0 +1 @@
1
+ export * from './lib/notetaker'
@@ -0,0 +1 @@
1
+ export * from './lib/utils'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nylas/react",
3
- "version": "2.1.0",
3
+ "version": "2.2.1",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,41 +14,63 @@
14
14
  ],
15
15
  "exports": {
16
16
  ".": {
17
- "import": "./dist/react.js",
18
- "require": "./dist/react.cjs",
17
+ "import": "./dist/es/index.js",
18
+ "require": "./dist/cjs/index.js",
19
19
  "types": "./dist/index.d.ts",
20
20
  "style": "./dist/style.css"
21
21
  },
22
+ "./connect": {
23
+ "import": "./dist/es/connect.js",
24
+ "require": "./dist/cjs/connect.js",
25
+ "types": "./dist/connect.d.ts"
26
+ },
27
+ "./elements": {
28
+ "import": "./dist/es/elements.js",
29
+ "require": "./dist/cjs/elements.js",
30
+ "types": "./dist/elements.d.ts"
31
+ },
32
+ "./notetaker": {
33
+ "import": "./dist/es/notetaker.js",
34
+ "require": "./dist/cjs/notetaker.js",
35
+ "types": "./dist/notetaker.d.ts"
36
+ },
37
+ "./utils": {
38
+ "import": "./dist/es/utils.js",
39
+ "require": "./dist/cjs/utils.js",
40
+ "types": "./dist/utils.d.ts"
41
+ },
22
42
  "./style.css": {
23
43
  "default": "./dist/style.css"
24
44
  }
25
45
  },
26
- "main": "dist/react.cjs",
46
+ "main": "dist/cjs/index.js",
27
47
  "style": "./dist/style.css",
28
- "module": "dist/react.js",
48
+ "module": "dist/es/index.js",
29
49
  "types": "dist/index.d.ts",
30
50
  "dependencies": {
51
+ "@stencil/react-output-target": "^1.2.0",
31
52
  "axios": "^1.7.7",
32
53
  "dayjs": "1.11.7",
33
54
  "lucide-react": "^0.453.0",
34
55
  "tailwind-variants": "^1.0.0",
35
56
  "zustand": "^5.0.3",
57
+ "@nylas/web-elements": "^2.2.1",
36
58
  "@nylas/connect": "^0.0.1",
37
- "@nylas/core": "^1.2.0",
38
- "@nylas/web-elements": "^2.1.0"
59
+ "@nylas/core": "^1.2.0"
39
60
  },
40
61
  "peerDependencies": {
41
- "react": ">=18.2.0 <20.0.0",
42
- "react-dom": ">=18.2.0 <20.0.0"
62
+ "react": "^18 || ^19",
63
+ "react-dom": "^18 || ^19"
43
64
  },
44
65
  "devDependencies": {
45
66
  "@tailwindcss/vite": "^4.0.3",
67
+ "@testing-library/dom": "^10.0.0",
46
68
  "@testing-library/jest-dom": "^5.17.0",
47
- "@testing-library/react": "^13.4.0",
69
+ "@testing-library/react": "^16.0.0",
48
70
  "@types/jsdom": "^21.1.7",
49
- "@types/node": "^20.8.10",
50
- "@types/react": "^18.2.15",
51
- "@types/react-dom": "^18.2.7",
71
+ "@types/node": "^22.13.10",
72
+ "@types/react": "^19.1.10",
73
+ "@types/react-dom": "^19.1.7",
52
74
  "@types/testing-library__jest-dom": "^6.0.0",
53
75
  "@typescript-eslint/eslint-plugin": "^6.0.0",
54
76
  "@typescript-eslint/parser": "^6.0.0",
@@ -60,8 +82,6 @@
60
82
  "jsdom": "^26.0.0",
61
83
  "markdown-table": "^3.0.4",
62
84
  "prettier": "^3.5.3",
63
- "react": "^18.3.1",
64
- "react-dom": "^18.3.1",
65
85
  "tailwindcss": "^4.1.7",
66
86
  "tslib": "^2.6.2",
67
87
  "typedoc": "^0.28.3",
@@ -69,7 +89,7 @@
69
89
  "typescript": "^5.3.3",
70
90
  "vite": "^4.5.2",
71
91
  "vite-plugin-dts": "^3.6.3",
72
- "vitest": "^2.1.8"
92
+ "vitest": "^3.2.4"
73
93
  },
74
94
  "scripts": {
75
95
  "dev": "vite build --watch --emptyOutDir=false",
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-f42fe591.cjs");require("@nylas/web-elements");require("react");require("@nylas/connect");require("react/jsx-runtime");require("react-dom");const s=".sc-add-circle-icon-h{display:flex}",i=s,t=class{constructor(c){e.registerInstance(this,c),this.width="24",this.height="25"}render(){return e.h("svg",{key:"f3f2fb57d9face731fdc2dcb2610bdfe4d8695d4",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"461ceb94da94f79aece2e208da886ec860b65e14",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=i;const d=".sc-close-icon-h{display:flex}",r=d,a=class{constructor(c){e.registerInstance(this,c),this.width="16",this.height="16"}render(){return e.h("svg",{key:"6ba2e8326762d40fed5697c52411e130381cae5e",width:"21",height:"21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("g",{key:"b99abf46a9ac3e143d261c4a72a8d034072c52e5","clip-path":"url(#a)"},e.h("path",{key:"54b09b0c0d251cc982ab03a66c9c496fb63ea280",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:"f70a23bb36f8b0f4abbdd8ace2ac2ccf2e570b30"},e.h("clipPath",{key:"37837d0973c51120ef7a8841d885d5edce2b112d",id:"a"},e.h("path",{key:"094391e019662666ac5a51cda34878dbfdeaba8e",fill:"#fff",transform:"translate(.148 .054)",d:"M0 0h20v20H0z"}))))}};a.style=r;exports.add_circle_icon=t;exports.close_icon=a;
@@ -1,28 +0,0 @@
1
- import { r as t, h as e } from "./index-025be398.js";
2
- import "@nylas/web-elements";
3
- import "react";
4
- import "@nylas/connect";
5
- import "react/jsx-runtime";
6
- import "react-dom";
7
- const a = ".sc-add-circle-icon-h{display:flex}", s = a, d = class {
8
- constructor(c) {
9
- t(this, c), this.width = "24", this.height = "25";
10
- }
11
- render() {
12
- return e("svg", { key: "f3f2fb57d9face731fdc2dcb2610bdfe4d8695d4", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, e("path", { key: "461ceb94da94f79aece2e208da886ec860b65e14", 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" }));
13
- }
14
- };
15
- d.style = s;
16
- const i = ".sc-close-icon-h{display:flex}", o = i, l = class {
17
- constructor(c) {
18
- t(this, c), this.width = "16", this.height = "16";
19
- }
20
- render() {
21
- return e("svg", { key: "6ba2e8326762d40fed5697c52411e130381cae5e", width: "21", height: "21", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, e("g", { key: "b99abf46a9ac3e143d261c4a72a8d034072c52e5", "clip-path": "url(#a)" }, e("path", { key: "54b09b0c0d251cc982ab03a66c9c496fb63ea280", 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: "f70a23bb36f8b0f4abbdd8ace2ac2ccf2e570b30" }, e("clipPath", { key: "37837d0973c51120ef7a8841d885d5edce2b112d", id: "a" }, e("path", { key: "094391e019662666ac5a51cda34878dbfdeaba8e", fill: "#fff", transform: "translate(.148 .054)", d: "M0 0h20v20H0z" }))));
22
- }
23
- };
24
- l.style = o;
25
- export {
26
- d as add_circle_icon,
27
- l as close_icon
28
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-f42fe591.cjs");require("@nylas/web-elements");require("react");require("@nylas/connect");require("react/jsx-runtime");require("react-dom");const i=".sc-archive-icon-h{display:flex}",h=i,t=class{constructor(r){e.registerInstance(this,r),this.width="15",this.height="15"}render(){return e.h("svg",{key:"846883e64fce20852b939ad69b17c50e4a1de305",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"faccfb69f1e2fad408be2c93f9debba7e5bed44f",d:"M3 6H5H21",stroke:"auto","stroke-width":"1.5"}),e.h("path",{key:"0a67df705c7bb41f38b3a9f46ba00cf39236d833",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:"7845f5af5bb6a7db830df4576ea7e7979de4ca6c",d:"M10 11V17",stroke:"auto","stroke-width":"1.5"}),e.h("path",{key:"b8cb556c7133dd3427ad41574121599411f9d741",d:"M14 11V17",stroke:"auto","stroke-width":"1.5"}))}};t.style=h;exports.archive_icon=t;
@@ -1,18 +0,0 @@
1
- import { r as o, h as t } from "./index-025be398.js";
2
- import "@nylas/web-elements";
3
- import "react";
4
- import "@nylas/connect";
5
- import "react/jsx-runtime";
6
- import "react-dom";
7
- const i = ".sc-archive-icon-h{display:flex}", s = i, r = class {
8
- constructor(e) {
9
- o(this, e), this.width = "15", this.height = "15";
10
- }
11
- render() {
12
- return t("svg", { key: "846883e64fce20852b939ad69b17c50e4a1de305", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "faccfb69f1e2fad408be2c93f9debba7e5bed44f", d: "M3 6H5H21", stroke: "auto", "stroke-width": "1.5" }), t("path", { key: "0a67df705c7bb41f38b3a9f46ba00cf39236d833", 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" }), t("path", { key: "7845f5af5bb6a7db830df4576ea7e7979de4ca6c", d: "M10 11V17", stroke: "auto", "stroke-width": "1.5" }), t("path", { key: "b8cb556c7133dd3427ad41574121599411f9d741", d: "M14 11V17", stroke: "auto", "stroke-width": "1.5" }));
13
- }
14
- };
15
- r.style = s;
16
- export {
17
- r as archive_icon
18
- };
@@ -1,18 +0,0 @@
1
- import { r as o, h as t } from "./index-025be398.js";
2
- import "@nylas/web-elements";
3
- import "react";
4
- import "@nylas/connect";
5
- import "react/jsx-runtime";
6
- import "react-dom";
7
- const e = ".sc-arrow-icon-h{display:flex}", i = e, s = class {
8
- constructor(r) {
9
- o(this, r), this.width = "15", this.height = "15";
10
- }
11
- render() {
12
- return t("svg", { key: "9a7f6c18c66e1046fff0bb0d814080e8961762f9", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "5a2ebac5fcecfa06026aa74c24cfdd787e933d6d", d: "M5 12H19M12 5L19 12L12 19", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }));
13
- }
14
- };
15
- s.style = i;
16
- export {
17
- s as arrow_icon
18
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-f42fe591.cjs");require("@nylas/web-elements");require("react");require("@nylas/connect");require("react/jsx-runtime");require("react-dom");const i=".sc-arrow-icon-h{display:flex}",o=i,r=class{constructor(t){e.registerInstance(this,t),this.width="15",this.height="15"}render(){return e.h("svg",{key:"9a7f6c18c66e1046fff0bb0d814080e8961762f9",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"5a2ebac5fcecfa06026aa74c24cfdd787e933d6d",d:"M5 12H19M12 5L19 12L12 19",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}))}};r.style=o;exports.arrow_icon=r;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-f42fe591.cjs");require("@nylas/web-elements");require("react");require("@nylas/connect");require("react/jsx-runtime");require("react-dom");const i=".sc-bold-icon-h{display:flex}",o=i,t=class{constructor(r){e.registerInstance(this,r),this.width="15",this.height="15"}render(){return e.h("svg",{key:"a511c82949b76f6663e528b0e05009e9e0275a0a",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"51849bb1f9701140b87c0869291fe4b486b17ff6",d:"M6 4V20M9.5 4H15.5C17.7091 4 19.5 5.79086 19.5 8C19.5 10.2091 17.7091 12 15.5 12H9.5H16.5C18.7091 12 20.5 13.7909 20.5 16C20.5 18.2091 18.7091 20 16.5 20H9.5M9.5 4V20M9.5 4H4M9.5 20H4",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}))}};t.style=o;exports.bold_icon=t;
@@ -1,18 +0,0 @@
1
- import { r as e, h as t } from "./index-025be398.js";
2
- import "@nylas/web-elements";
3
- import "react";
4
- import "@nylas/connect";
5
- import "react/jsx-runtime";
6
- import "react-dom";
7
- const i = ".sc-bold-icon-h{display:flex}", r = i, s = class {
8
- constructor(o) {
9
- e(this, o), this.width = "15", this.height = "15";
10
- }
11
- render() {
12
- return t("svg", { key: "a511c82949b76f6663e528b0e05009e9e0275a0a", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "51849bb1f9701140b87c0869291fe4b486b17ff6", d: "M6 4V20M9.5 4H15.5C17.7091 4 19.5 5.79086 19.5 8C19.5 10.2091 17.7091 12 15.5 12H9.5H16.5C18.7091 12 20.5 13.7909 20.5 16C20.5 18.2091 18.7091 20 16.5 20H9.5M9.5 4V20M9.5 4H4M9.5 20H4", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }));
13
- }
14
- };
15
- s.style = r;
16
- export {
17
- s as bold_icon
18
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-f42fe591.cjs");require("@nylas/web-elements");require("react");require("@nylas/connect");require("react/jsx-runtime");require("react-dom");const r="button.sc-button-component{display:flex;align-items:center;justify-content:center;gap:0.75rem;height:48px;border:none;border-radius:var(--nylas-border-radius-2x);font-size:16px;line-height:24px;padding:0 1rem;cursor:pointer;font-family:var(--nylas-font-family);font-weight:600;width:100%}@media screen and (max-width: 768px){button.sc-button-component{width:100%}}button.button-primary.sc-button-component{background:var(--nylas-primary);color:var(--nylas-base-0);height:48px;border:none;border-radius:var(--nylas-border-radius-2x);font-size:16px;line-height:24px;padding:0 1rem;cursor:pointer}button.button-primary.sc-button-component:hover{background:var(--nylas-base-600)}button.button-primary.sc-button-component:active{background:var(--nylas-base-800)}button.button-primary.sc-button-component:disabled{background:var(--nylas-base-300);cursor:not-allowed}button.button-basic.sc-button-component{border:1px solid var(--nylas-base-300);color:var(--nylas-base-700);background:transparent}button.button-basic.sc-button-component:hover{background:transparent;border-color:var(--nylas-primary)}button.button-basic.sc-button-component:active{background:transparent;border-color:var(--nylas-base-600);border-width:2px}button.button-basic.sc-button-component:disabled{background:transparent;border-color:var(--nylas-base-300);color:var(--nylas-base-300);cursor:not-allowed}button.button-destructive.sc-button-component{border:1px solid var(--nylas-base-300);color:var(--nylas-error);background:transparent}button.button-destructive.sc-button-component:hover{background:transparent;border-color:var(--nylas-error)}button.button-destructive.sc-button-component:active{background:transparent;border-color:var(--nylas-error-pressed);border-width:2px;color:var(--nylas-error-pressed)}button.button-destructive.sc-button-component:disabled{background:transparent;border-color:var(--nylas-base-300);color:var(--nylas-base-300);cursor:not-allowed}button.button-invisible.sc-button-component{background:transparent;color:var(--nylas-base-800);border:none}button.button-invisible.sc-button-component:hover{background:var(--nylas-base-50);color:var(--nylas-primary)}button.button-invisible.sc-button-component:active{background:var(--nylas-base-50);color:var(--nylas-base-850)}button.button-invisible.sc-button-component:disabled{background:transparent;color:var(--nylas-base-300);cursor:not-allowed}",a=r,o=class{constructor(n){t.registerInstance(this,n),this.variant="primary",this.disabled=!1,this.type="button",this.tooltip="",this.isLoading=!1,this.clickHandler=void 0,this.mouseOverHandler=void 0,this.mouseOutHandler=void 0,this.focusHandler=void 0,this.blurHandler=void 0}render(){const n=`button-${this.variant}`+(this.disabled?" disabled":"");return t.h("button",{key:"9fdcadbf82b1be992b6835bd4c4ac6cf69847512",class:n,disabled:this.disabled,type:"type",title:this.tooltip,onClick:this.clickHandler,onMouseOver:this.mouseOverHandler,onMouseOut:this.mouseOutHandler,onFocus:this.focusHandler,onBlur:this.blurHandler},!!this.isLoading&&t.h("loading-icon",{slot:"icon"}),t.h("slot",{key:"0168b50eac062d43d8a184d70fd5c80932f3e2ea"}))}};o.style=a;const s=".wave{display:flex;align-items:center;justify-content:center}.dot{width:4px;height:4px;background-color:var(--dot-color, white);border-radius:50%;margin:0 2px;animation:wave 1.5s infinite ease-in-out}.dot:nth-child(2){animation-delay:0.2s}.dot:nth-child(3){animation-delay:0.4s}@keyframes wave{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-4px)}}",i=s,e=class{constructor(n){t.registerInstance(this,n),this.width="15",this.height="15"}render(){return t.h("div",{key:"cb855fdd798e64637d245045e56a97f016f8b74f",class:"wave"},t.h("div",{key:"41591d61b8eda97e3abdd2ca83f82aada7d67edc",class:"dot"}),t.h("div",{key:"096aa4e8c6f1d9cb5a5d1d24cda06298fd0366b1",class:"dot"}),t.h("div",{key:"d2dd6942fe7b1a8ca68102e9dea7dae88e341824",class:"dot"}))}};e.style=i;exports.button_component=o;exports.loading_icon=e;
@@ -1,29 +0,0 @@
1
- import { r as o, h as t } from "./index-025be398.js";
2
- import "@nylas/web-elements";
3
- import "react";
4
- import "@nylas/connect";
5
- import "react/jsx-runtime";
6
- import "react-dom";
7
- const r = "button.sc-button-component{display:flex;align-items:center;justify-content:center;gap:0.75rem;height:48px;border:none;border-radius:var(--nylas-border-radius-2x);font-size:16px;line-height:24px;padding:0 1rem;cursor:pointer;font-family:var(--nylas-font-family);font-weight:600;width:100%}@media screen and (max-width: 768px){button.sc-button-component{width:100%}}button.button-primary.sc-button-component{background:var(--nylas-primary);color:var(--nylas-base-0);height:48px;border:none;border-radius:var(--nylas-border-radius-2x);font-size:16px;line-height:24px;padding:0 1rem;cursor:pointer}button.button-primary.sc-button-component:hover{background:var(--nylas-base-600)}button.button-primary.sc-button-component:active{background:var(--nylas-base-800)}button.button-primary.sc-button-component:disabled{background:var(--nylas-base-300);cursor:not-allowed}button.button-basic.sc-button-component{border:1px solid var(--nylas-base-300);color:var(--nylas-base-700);background:transparent}button.button-basic.sc-button-component:hover{background:transparent;border-color:var(--nylas-primary)}button.button-basic.sc-button-component:active{background:transparent;border-color:var(--nylas-base-600);border-width:2px}button.button-basic.sc-button-component:disabled{background:transparent;border-color:var(--nylas-base-300);color:var(--nylas-base-300);cursor:not-allowed}button.button-destructive.sc-button-component{border:1px solid var(--nylas-base-300);color:var(--nylas-error);background:transparent}button.button-destructive.sc-button-component:hover{background:transparent;border-color:var(--nylas-error)}button.button-destructive.sc-button-component:active{background:transparent;border-color:var(--nylas-error-pressed);border-width:2px;color:var(--nylas-error-pressed)}button.button-destructive.sc-button-component:disabled{background:transparent;border-color:var(--nylas-base-300);color:var(--nylas-base-300);cursor:not-allowed}button.button-invisible.sc-button-component{background:transparent;color:var(--nylas-base-800);border:none}button.button-invisible.sc-button-component:hover{background:var(--nylas-base-50);color:var(--nylas-primary)}button.button-invisible.sc-button-component:active{background:var(--nylas-base-50);color:var(--nylas-base-850)}button.button-invisible.sc-button-component:disabled{background:transparent;color:var(--nylas-base-300);cursor:not-allowed}", a = r, e = class {
8
- constructor(n) {
9
- o(this, n), this.variant = "primary", this.disabled = !1, this.type = "button", this.tooltip = "", this.isLoading = !1, this.clickHandler = void 0, this.mouseOverHandler = void 0, this.mouseOutHandler = void 0, this.focusHandler = void 0, this.blurHandler = void 0;
10
- }
11
- render() {
12
- const n = `button-${this.variant}` + (this.disabled ? " disabled" : "");
13
- return t("button", { key: "9fdcadbf82b1be992b6835bd4c4ac6cf69847512", class: n, disabled: this.disabled, type: "type", title: this.tooltip, onClick: this.clickHandler, onMouseOver: this.mouseOverHandler, onMouseOut: this.mouseOutHandler, onFocus: this.focusHandler, onBlur: this.blurHandler }, !!this.isLoading && t("loading-icon", { slot: "icon" }), t("slot", { key: "0168b50eac062d43d8a184d70fd5c80932f3e2ea" }));
14
- }
15
- };
16
- e.style = a;
17
- const s = ".wave{display:flex;align-items:center;justify-content:center}.dot{width:4px;height:4px;background-color:var(--dot-color, white);border-radius:50%;margin:0 2px;animation:wave 1.5s infinite ease-in-out}.dot:nth-child(2){animation-delay:0.2s}.dot:nth-child(3){animation-delay:0.4s}@keyframes wave{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-4px)}}", d = s, i = class {
18
- constructor(n) {
19
- o(this, n), this.width = "15", this.height = "15";
20
- }
21
- render() {
22
- return t("div", { key: "cb855fdd798e64637d245045e56a97f016f8b74f", class: "wave" }, t("div", { key: "41591d61b8eda97e3abdd2ca83f82aada7d67edc", class: "dot" }), t("div", { key: "096aa4e8c6f1d9cb5a5d1d24cda06298fd0366b1", class: "dot" }), t("div", { key: "d2dd6942fe7b1a8ca68102e9dea7dae88e341824", class: "dot" }));
23
- }
24
- };
25
- i.style = d;
26
- export {
27
- e as button_component,
28
- i as loading_icon
29
- };