@nylas/react 1.1.0-canary.17 → 1.1.0-canary.19

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 (133) hide show
  1. package/dist/add-circle-icon_2.entry-3ca337a6.js +25 -0
  2. package/dist/add-circle-icon_2.entry-adde5fdf.cjs +1 -0
  3. package/dist/{archive-icon_7.entry-8c8317e9.cjs → archive-icon_7.entry-2b56ef80.cjs} +1 -1
  4. package/dist/{archive-icon_7.entry-60e900b6.js → archive-icon_7.entry-896a1054.js} +14 -14
  5. package/dist/{arrow-icon.entry-2d4e9572.cjs → arrow-icon.entry-0288f3fc.cjs} +1 -1
  6. package/dist/arrow-icon.entry-9aaa93fd.js +15 -0
  7. package/dist/{bold-icon_3.entry-557c6007.js → bold-icon_3.entry-0061cf1f.js} +6 -6
  8. package/dist/{bold-icon_3.entry-ba732761.cjs → bold-icon_3.entry-e7810620.cjs} +1 -1
  9. package/dist/button-component_4.entry-276606e6.js +115 -0
  10. package/dist/button-component_4.entry-e53a8f37.cjs +1 -0
  11. package/dist/calendar-agenda-fill-icon_35.entry-a19cae9c.js +4178 -0
  12. package/dist/calendar-agenda-fill-icon_35.entry-fa968081.cjs +7 -0
  13. package/dist/{calendar-cancel-icon.entry-820cf967.js → calendar-cancel-icon.entry-71eae711.js} +5 -5
  14. package/dist/{calendar-cancel-icon.entry-b2657caf.cjs → calendar-cancel-icon.entry-8e8b25b6.cjs} +1 -1
  15. package/dist/{calendar-check-icon_2.entry-b13e7cbb.cjs → calendar-check-icon_2.entry-562e98cf.cjs} +1 -1
  16. package/dist/{calendar-check-icon_2.entry-128a5d67.js → calendar-check-icon_2.entry-6f971ca2.js} +9 -9
  17. package/dist/{calendar-icon.entry-d17d7cfb.cjs → calendar-icon.entry-3a59af30.cjs} +1 -1
  18. package/dist/{calendar-icon.entry-a43e6011.js → calendar-icon.entry-3e496896.js} +2 -2
  19. package/dist/{chevron-icon_3.entry-e0796c69.js → chevron-icon_3.entry-7eac0ed5.js} +37 -34
  20. package/dist/chevron-icon_3.entry-7ff10540.cjs +1 -0
  21. package/dist/{clock-icon_2.entry-e959ae50.js → clock-icon_2.entry-120d672e.js} +9 -9
  22. package/dist/{clock-icon_2.entry-267614c2.cjs → clock-icon_2.entry-43873262.cjs} +1 -1
  23. package/dist/{constants-f34b9c6e-ebc2e19c.cjs → constants-7ce66b44-a951d78c.cjs} +5 -5
  24. package/dist/{constants-f34b9c6e-efe2836b.js → constants-7ce66b44-e7ca66c2.js} +484 -383
  25. package/dist/copy-icon_4.entry-57874c4f.cjs +1 -0
  26. package/dist/copy-icon_4.entry-9a949d24.js +45 -0
  27. package/dist/{document-refresh-icon.entry-b4c217df.js → document-refresh-icon.entry-f0d95ac8.js} +5 -5
  28. package/dist/{document-refresh-icon.entry-b8850675.cjs → document-refresh-icon.entry-f1d3f32d.cjs} +1 -1
  29. package/dist/elements/index.d.ts +14 -0
  30. package/dist/{elements-dc5b338e-a33785e3.cjs → elements-dc5b338e-62b53496.cjs} +1 -1
  31. package/dist/{elements-dc5b338e-b0a290ae.js → elements-dc5b338e-974e2077.js} +1 -1
  32. package/dist/{focus-visible-e8093c16-5f1ae916.js → focus-visible-e8093c16-7a512fc0.js} +1 -1
  33. package/dist/{focus-visible-e8093c16-d2afb13d.cjs → focus-visible-e8093c16-923e1041.cjs} +1 -1
  34. package/dist/{forward-icon_6.entry-0009e4f0.cjs → forward-icon_6.entry-45b70066.cjs} +2 -2
  35. package/dist/{forward-icon_6.entry-53683e82.js → forward-icon_6.entry-675c0b73.js} +9 -9
  36. package/dist/{globe-icon.entry-dbb47687.js → globe-icon.entry-3296e427.js} +2 -2
  37. package/dist/{globe-icon.entry-df67eab8.cjs → globe-icon.entry-7ecd6221.cjs} +1 -1
  38. package/dist/google-logo-icon_4.entry-aa9f8b35.js +584 -0
  39. package/dist/google-logo-icon_4.entry-fd734a59.cjs +1 -0
  40. package/dist/index-53420959-1c0d390d.js +5 -0
  41. package/dist/index-53420959-8e7b10db.cjs +1 -0
  42. package/dist/{index-5851f0a2.js → index-5efb84b8.js} +813 -793
  43. package/dist/{index-6d9eeb53-2f37342f.js → index-6d9eeb53-4e2a7f9f.js} +2 -2
  44. package/dist/{index-6d9eeb53-ded66877.cjs → index-6d9eeb53-aa1dfa96.cjs} +1 -1
  45. package/dist/index-d36b8fb8.cjs +42 -0
  46. package/dist/{index.es-9cc0eb3c-2cf4632f.js → index.es-9cc0eb3c-65f8af0c.js} +1 -1
  47. package/dist/{index.es-9cc0eb3c-e8de46e6.cjs → index.es-9cc0eb3c-8eefd4fc.cjs} +1 -1
  48. package/dist/{info-icon_2.entry-e355fb7d.cjs → info-icon_2.entry-e612f1d6.cjs} +1 -1
  49. package/dist/{info-icon_2.entry-c27ac645.js → info-icon_2.entry-f06c8dd0.js} +3 -3
  50. package/dist/{input-dropdown_2.entry-9e50060e.cjs → input-dropdown_2.entry-ad380260.cjs} +1 -1
  51. package/dist/{input-dropdown_2.entry-ce1da1b3.js → input-dropdown_2.entry-ccd95678.js} +3 -3
  52. package/dist/loading-icon.entry-678a6b3f.cjs +1 -0
  53. package/dist/{loading-icon.entry-4ab88ed8.js → loading-icon.entry-9e6670d5.js} +2 -2
  54. package/dist/{mailbox-store-64b4ef7c-ebe84c96.cjs → mailbox-store-64b4ef7c-9bd02ffd.cjs} +1 -1
  55. package/dist/{mailbox-store-64b4ef7c-47dac9aa.js → mailbox-store-64b4ef7c-b56d5e78.js} +2 -2
  56. package/dist/multi-select-dropdown.entry-5bb80d89.cjs +1 -0
  57. package/dist/multi-select-dropdown.entry-edf10867.js +91 -0
  58. package/dist/{nylas-booked-event-card_10.entry-ef9c2d62.js → nylas-booked-event-card_10.entry-92f6e85d.js} +276 -244
  59. package/dist/nylas-booked-event-card_10.entry-ad4671b2.cjs +1 -0
  60. package/dist/{nylas-custom-booking-flow.entry-f31400e2.js → nylas-custom-booking-flow.entry-b39a2bf2.js} +3 -3
  61. package/dist/{nylas-custom-booking-flow.entry-c59c1306.cjs → nylas-custom-booking-flow.entry-cef0041a.cjs} +1 -1
  62. package/dist/{nylas-form-card.entry-b189e066.js → nylas-form-card.entry-bf4545e2.js} +18 -18
  63. package/dist/{nylas-form-card.entry-bc048703.cjs → nylas-form-card.entry-fba5d623.cjs} +1 -1
  64. package/dist/{nylas-if-state.entry-5bdf8669.js → nylas-if-state.entry-2739dc10.js} +3 -3
  65. package/dist/{nylas-if-state.entry-933c79e0.cjs → nylas-if-state.entry-d7b818a6.cjs} +1 -1
  66. package/dist/{nylas-list-folders.entry-5d1bef7f.cjs → nylas-list-folders.entry-0ec6ba20.cjs} +1 -1
  67. package/dist/{nylas-list-folders.entry-f0e7ae4e.js → nylas-list-folders.entry-3197e390.js} +3 -3
  68. package/dist/{nylas-list-threads.entry-3e300e7e.cjs → nylas-list-threads.entry-2a7e1e84.cjs} +1 -1
  69. package/dist/{nylas-list-threads.entry-3f7451ad.js → nylas-list-threads.entry-9004c490.js} +3 -3
  70. package/dist/{nylas-login.entry-dbf9e11f.cjs → nylas-login.entry-c2ffd6a5.cjs} +1 -1
  71. package/dist/{nylas-login.entry-e3b757a0.js → nylas-login.entry-f2927406.js} +7 -7
  72. package/dist/{nylas-mailbox-pagination.entry-0db12a01.cjs → nylas-mailbox-pagination.entry-839c9ad3.cjs} +1 -1
  73. package/dist/{nylas-mailbox-pagination.entry-6c845a2a.js → nylas-mailbox-pagination.entry-e9356835.js} +2 -2
  74. package/dist/{nylas-mailbox-toolbar-button.entry-ec196947.js → nylas-mailbox-toolbar-button.entry-298a3c47.js} +4 -4
  75. package/dist/{nylas-mailbox-toolbar-button.entry-553f041a.cjs → nylas-mailbox-toolbar-button.entry-43812d51.cjs} +1 -1
  76. package/dist/{nylas-mailbox.entry-1552ad11.js → nylas-mailbox.entry-aa42f6c4.js} +7 -7
  77. package/dist/{nylas-mailbox.entry-c0bbca56.cjs → nylas-mailbox.entry-cf13ddf5.cjs} +1 -1
  78. package/dist/{nylas-provider.entry-6d286e92.js → nylas-provider.entry-1a3a195f.js} +8 -8
  79. package/dist/{nylas-provider.entry-d4bf23c2.cjs → nylas-provider.entry-843b5593.cjs} +1 -1
  80. package/dist/nylas-scheduler-editor.entry-048e7a8f.cjs +2 -0
  81. package/dist/{nylas-scheduler-editor.entry-caa1026b.js → nylas-scheduler-editor.entry-d56d6d2a.js} +138 -119
  82. package/dist/nylas-scheduling.entry-0ad9b1d0.cjs +1 -0
  83. package/dist/{nylas-scheduling.entry-19ff3d50.js → nylas-scheduling.entry-7039a890.js} +52 -52
  84. package/dist/{nylas-threads-refresh.entry-bc4c10ea.cjs → nylas-threads-refresh.entry-9cae6ac8.cjs} +1 -1
  85. package/dist/{nylas-threads-refresh.entry-6acf3c2b.js → nylas-threads-refresh.entry-d951050a.js} +4 -4
  86. package/dist/{nylas-threads-search.entry-ee28712c.cjs → nylas-threads-search.entry-0d34c5a8.cjs} +1 -1
  87. package/dist/{nylas-threads-search.entry-82fa1504.js → nylas-threads-search.entry-7a4bbc75.js} +8 -8
  88. package/dist/{nylas-time-window-picker.entry-131f84b4.cjs → nylas-time-window-picker.entry-062bc8c1.cjs} +1 -1
  89. package/dist/{nylas-time-window-picker.entry-3c45d82e.js → nylas-time-window-picker.entry-210c3f1a.js} +2 -2
  90. package/dist/{nylas-view-thread.entry-695a7b0b.js → nylas-view-thread.entry-8b39a997.js} +6 -6
  91. package/dist/{nylas-view-thread.entry-0d9a4aa9.cjs → nylas-view-thread.entry-db78ed9c.cjs} +1 -1
  92. package/dist/play-icon_2.entry-19271982.cjs +1 -0
  93. package/dist/play-icon_2.entry-c53f3cac.js +25 -0
  94. package/dist/react.cjs +1 -1
  95. package/dist/react.js +115 -101
  96. package/dist/{refresh-icon.entry-43267155.js → refresh-icon.entry-75139a0c.js} +2 -2
  97. package/dist/{refresh-icon.entry-28e3ade7.cjs → refresh-icon.entry-e695cf7f.cjs} +1 -1
  98. package/dist/{register-component-a5a9ca5d-538c35c3.js → register-component-a5a9ca5d-d69a7a05.js} +1 -1
  99. package/dist/{register-component-a5a9ca5d-8b06415c.cjs → register-component-a5a9ca5d-eebf89e7.cjs} +1 -1
  100. package/dist/scheduler-config-store-9ccfba4d-22a58b7d.cjs +1 -0
  101. package/dist/{scheduler-config-store-4a50a03d-4a2e2abf.js → scheduler-config-store-9ccfba4d-fd62a421.js} +8 -6
  102. package/dist/{scheduler-store-f02ce045-121c1e09.js → scheduler-store-8a400448-3b007d4d.js} +125 -96
  103. package/dist/scheduler-store-8a400448-44e0edad.cjs +1 -0
  104. package/dist/{textarea-component.entry-402a369b.cjs → textarea-component.entry-48feabb3.cjs} +1 -1
  105. package/dist/{textarea-component.entry-1ec19adb.js → textarea-component.entry-ead5ab00.js} +7 -6
  106. package/dist/{translate-icon.entry-d412697e.js → translate-icon.entry-55043beb.js} +6 -6
  107. package/dist/{translate-icon.entry-59f4e190.cjs → translate-icon.entry-5f62bc61.cjs} +1 -1
  108. package/dist/{warning-icon.entry-aa6b2c2c.cjs → warning-icon.entry-2e0a80da.cjs} +1 -1
  109. package/dist/{warning-icon.entry-3ee1f451.js → warning-icon.entry-fa644462.js} +5 -5
  110. package/package.json +3 -3
  111. package/dist/add-circle-icon_2.entry-936fd73b.cjs +0 -1
  112. package/dist/add-circle-icon_2.entry-ce6aaa1d.js +0 -25
  113. package/dist/arrow-icon.entry-057db95a.js +0 -15
  114. package/dist/button-component.entry-22d0ac2e.js +0 -16
  115. package/dist/button-component.entry-385f9581.cjs +0 -1
  116. package/dist/calendar-info-icon_28.entry-b4f09bfe.cjs +0 -1
  117. package/dist/calendar-info-icon_28.entry-b71c23c5.js +0 -2083
  118. package/dist/chevron-icon_3.entry-4807a0b1.cjs +0 -1
  119. package/dist/google-logo-icon_4.entry-77f3b86e.js +0 -454
  120. package/dist/google-logo-icon_4.entry-c5db1be3.cjs +0 -1
  121. package/dist/index-53420959-16700a42.cjs +0 -1
  122. package/dist/index-53420959-f0c4f9af.js +0 -5
  123. package/dist/index-769f0fdd.cjs +0 -42
  124. package/dist/input-component.entry-a38a65da.js +0 -45
  125. package/dist/input-component.entry-ef2b397d.cjs +0 -1
  126. package/dist/loading-icon.entry-175aca19.cjs +0 -1
  127. package/dist/nylas-booked-event-card_10.entry-6de99d57.cjs +0 -1
  128. package/dist/nylas-scheduler-editor.entry-00a71304.cjs +0 -2
  129. package/dist/nylas-scheduling.entry-f1fb67d2.cjs +0 -1
  130. package/dist/play-icon_2.entry-ab47588e.js +0 -25
  131. package/dist/play-icon_2.entry-b1167d3a.cjs +0 -1
  132. package/dist/scheduler-config-store-4a50a03d-40e87f35.cjs +0 -1
  133. package/dist/scheduler-store-f02ce045-f11cfad9.cjs +0 -1
@@ -1,12 +1,12 @@
1
- import { r as e, h as a } from "./index-5851f0a2.js";
1
+ import { r as t, h as a } from "./index-5efb84b8.js";
2
2
  import "react";
3
3
  import "react-dom";
4
- const t = ".sc-calendar-cancel-icon-h{display:flex}", n = t, l = class {
5
- constructor(c) {
6
- e(this, c), this.width = "20", this.height = "20";
4
+ const c = ".sc-calendar-cancel-icon-h{display:flex}", n = c, l = class {
5
+ constructor(e) {
6
+ t(this, e), this.width = "20", this.height = "20";
7
7
  }
8
8
  render() {
9
- return a("svg", { key: "f0cc4a8996a8ced380ad8b67a84bcaecc207b10f", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, a("path", { key: "baae67f4599cc734deaa75443fdf56f78ae47b6a", d: "M14.5 9a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11Zm-2.476 3.024a.5.5 0 0 0 0 .707l1.769 1.77-1.767 1.766a.5.5 0 1 0 .707.708l1.767-1.767 1.77 1.769a.5.5 0 1 0 .707-.707L15.208 14.5l1.771-1.77a.5.5 0 0 0-.707-.707l-1.771 1.77-1.77-1.77a.5.5 0 0 0-.707 0ZM14.75 0A3.25 3.25 0 0 1 18 3.25l.001 5.773a6.47 6.47 0 0 0-1.5-.71L16.5 5.5h-15v9.25c0 .966.784 1.75 1.75 1.75h5.064a6.47 6.47 0 0 0 .709 1.501L3.25 18A3.25 3.25 0 0 1 0 14.75V3.25A3.25 3.25 0 0 1 3.25 0h11.5Zm0 1.5H3.25A1.75 1.75 0 0 0 1.5 3.25V4h15v-.75a1.75 1.75 0 0 0-1.75-1.75Z", fill: "currentColor" }));
9
+ return a("svg", { key: "fb587c9cf98886a8530da9d21fd08c86a60ae265", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, a("path", { key: "195db44fb75f5fa08efed7f28e1b897772f6f643", d: "M14.5 9a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11Zm-2.476 3.024a.5.5 0 0 0 0 .707l1.769 1.77-1.767 1.766a.5.5 0 1 0 .707.708l1.767-1.767 1.77 1.769a.5.5 0 1 0 .707-.707L15.208 14.5l1.771-1.77a.5.5 0 0 0-.707-.707l-1.771 1.77-1.77-1.77a.5.5 0 0 0-.707 0ZM14.75 0A3.25 3.25 0 0 1 18 3.25l.001 5.773a6.47 6.47 0 0 0-1.5-.71L16.5 5.5h-15v9.25c0 .966.784 1.75 1.75 1.75h5.064a6.47 6.47 0 0 0 .709 1.501L3.25 18A3.25 3.25 0 0 1 0 14.75V3.25A3.25 3.25 0 0 1 3.25 0h11.5Zm0 1.5H3.25A1.75 1.75 0 0 0 1.5 3.25V4h15v-.75a1.75 1.75 0 0 0-1.75-1.75Z", fill: "currentColor" }));
10
10
  }
11
11
  };
12
12
  l.style = n;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-769f0fdd.cjs");require("react");require("react-dom");const t=".sc-calendar-cancel-icon-h{display:flex}",n=t,a=class{constructor(c){e.registerInstance(this,c),this.width="20",this.height="20"}render(){return e.h("svg",{key:"f0cc4a8996a8ced380ad8b67a84bcaecc207b10f",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"baae67f4599cc734deaa75443fdf56f78ae47b6a",d:"M14.5 9a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11Zm-2.476 3.024a.5.5 0 0 0 0 .707l1.769 1.77-1.767 1.766a.5.5 0 1 0 .707.708l1.767-1.767 1.77 1.769a.5.5 0 1 0 .707-.707L15.208 14.5l1.771-1.77a.5.5 0 0 0-.707-.707l-1.771 1.77-1.77-1.77a.5.5 0 0 0-.707 0ZM14.75 0A3.25 3.25 0 0 1 18 3.25l.001 5.773a6.47 6.47 0 0 0-1.5-.71L16.5 5.5h-15v9.25c0 .966.784 1.75 1.75 1.75h5.064a6.47 6.47 0 0 0 .709 1.501L3.25 18A3.25 3.25 0 0 1 0 14.75V3.25A3.25 3.25 0 0 1 3.25 0h11.5Zm0 1.5H3.25A1.75 1.75 0 0 0 1.5 3.25V4h15v-.75a1.75 1.75 0 0 0-1.75-1.75Z",fill:"currentColor"}))}};a.style=n;exports.calendar_cancel_icon=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-d36b8fb8.cjs");require("react");require("react-dom");const c=".sc-calendar-cancel-icon-h{display:flex}",n=c,a=class{constructor(t){e.registerInstance(this,t),this.width="20",this.height="20"}render(){return e.h("svg",{key:"fb587c9cf98886a8530da9d21fd08c86a60ae265",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"195db44fb75f5fa08efed7f28e1b897772f6f643",d:"M14.5 9a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11Zm-2.476 3.024a.5.5 0 0 0 0 .707l1.769 1.77-1.767 1.766a.5.5 0 1 0 .707.708l1.767-1.767 1.77 1.769a.5.5 0 1 0 .707-.707L15.208 14.5l1.771-1.77a.5.5 0 0 0-.707-.707l-1.771 1.77-1.77-1.77a.5.5 0 0 0-.707 0ZM14.75 0A3.25 3.25 0 0 1 18 3.25l.001 5.773a6.47 6.47 0 0 0-1.5-.71L16.5 5.5h-15v9.25c0 .966.784 1.75 1.75 1.75h5.064a6.47 6.47 0 0 0 .709 1.501L3.25 18A3.25 3.25 0 0 1 0 14.75V3.25A3.25 3.25 0 0 1 3.25 0h11.5Zm0 1.5H3.25A1.75 1.75 0 0 0 1.5 3.25V4h15v-.75a1.75 1.75 0 0 0-1.75-1.75Z",fill:"currentColor"}))}};a.style=n;exports.calendar_cancel_icon=a;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-769f0fdd.cjs");require("react");require("react-dom");const h=".sc-calendar-check-icon-h{display:flex}",r=h,t=class{constructor(c){e.registerInstance(this,c),this.width="20",this.height="20"}render(){return e.h("svg",{key:"7b7caac8846c1334a2010576a24062bc6d1e5af8",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"651833fe3843b27d451bf1d059b6ecbfc650ae1e",fill:"currentColor",d:"M14.75 0C16.5449 0 18 1.45507 18 3.25V9.02182C17.5368 8.72526 17.0335 8.48584 16.5 8.3135V5.5H1.5V14.75C1.5 15.7165 2.2835 16.5 3.25 16.5H8.3135C8.48584 17.0335 8.72526 17.5368 9.02182 18H3.25C1.45507 18 0 16.5449 0 14.75V3.25C0 1.45507 1.45507 0 3.25 0H14.75ZM14.75 1.5H3.25C2.2835 1.5 1.5 2.2835 1.5 3.25V4H16.5V3.25C16.5 2.2835 15.7165 1.5 14.75 1.5ZM20 14.5C20 17.5376 17.5376 20 14.5 20C11.4624 20 9 17.5376 9 14.5C9 11.4624 11.4624 9 14.5 9C17.5376 9 20 11.4624 20 14.5ZM17.8536 12.1464C17.6583 11.9512 17.3417 11.9512 17.1464 12.1464L13.5 15.7929L11.8536 14.1464C11.6583 13.9512 11.3417 13.9512 11.1464 14.1464C10.9512 14.3417 10.9512 14.6583 11.1464 14.8536L13.1464 16.8536C13.3417 17.0488 13.6583 17.0488 13.8536 16.8536L17.8536 12.8536C18.0488 12.6583 18.0488 12.3417 17.8536 12.1464Z"}))}};t.style=r;const s=".sc-checkmark-circle-icon-h{display:flex}",n=s,i=class{constructor(c){e.registerInstance(this,c),this.width="20",this.height="20"}render(){return e.h("svg",{key:"934c792bb3edee80af91570bcd00087975b8f7b3",xmlns:"http://www.w3.org/2000/svg",width:this.width,height:this.height,fill:"none",viewBox:"0 0 20 20"},e.h("path",{key:"8bd5bb7ae0defb2312ce75c45fbdb05575c38f93",fill:"currentColor",d:"M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm3.358 4.646a.5.5 0 0 1 .058.638l-.058.07-4.004 4.004a.5.5 0 0 1-.638.058l-.07-.058-2-2a.5.5 0 0 1 .638-.765l.07.058L9 11.298l3.651-3.652a.5.5 0 0 1 .707 0Z"}))}};i.style=n;exports.calendar_check_icon=t;exports.checkmark_circle_icon=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-d36b8fb8.cjs");require("react");require("react-dom");const h=".sc-calendar-check-icon-h{display:flex}",r=h,t=class{constructor(c){e.registerInstance(this,c),this.width="20",this.height="20"}render(){return e.h("svg",{key:"42f09a7de40d3a8e3057ffe5ac4e830529d3ffd4",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"98a99f4d91ed85319a0f699038036eb7cac9bf6e",fill:"currentColor",d:"M14.75 0C16.5449 0 18 1.45507 18 3.25V9.02182C17.5368 8.72526 17.0335 8.48584 16.5 8.3135V5.5H1.5V14.75C1.5 15.7165 2.2835 16.5 3.25 16.5H8.3135C8.48584 17.0335 8.72526 17.5368 9.02182 18H3.25C1.45507 18 0 16.5449 0 14.75V3.25C0 1.45507 1.45507 0 3.25 0H14.75ZM14.75 1.5H3.25C2.2835 1.5 1.5 2.2835 1.5 3.25V4H16.5V3.25C16.5 2.2835 15.7165 1.5 14.75 1.5ZM20 14.5C20 17.5376 17.5376 20 14.5 20C11.4624 20 9 17.5376 9 14.5C9 11.4624 11.4624 9 14.5 9C17.5376 9 20 11.4624 20 14.5ZM17.8536 12.1464C17.6583 11.9512 17.3417 11.9512 17.1464 12.1464L13.5 15.7929L11.8536 14.1464C11.6583 13.9512 11.3417 13.9512 11.1464 14.1464C10.9512 14.3417 10.9512 14.6583 11.1464 14.8536L13.1464 16.8536C13.3417 17.0488 13.6583 17.0488 13.8536 16.8536L17.8536 12.8536C18.0488 12.6583 18.0488 12.3417 17.8536 12.1464Z"}))}};t.style=r;const s=".sc-checkmark-circle-icon-h{display:flex}",a=s,i=class{constructor(c){e.registerInstance(this,c),this.width="20",this.height="20"}render(){return e.h("svg",{key:"b119dc458ae4a2e796a4424afeeddb5b19d7e397",xmlns:"http://www.w3.org/2000/svg",width:this.width,height:this.height,fill:"none",viewBox:"0 0 20 20"},e.h("path",{key:"2b9cb0a90ec273a8266ce5a588b239f87901fa05",fill:"currentColor",d:"M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm3.358 4.646a.5.5 0 0 1 .058.638l-.058.07-4.004 4.004a.5.5 0 0 1-.638.058l-.07-.058-2-2a.5.5 0 0 1 .638-.765l.07.058L9 11.298l3.651-3.652a.5.5 0 0 1 .707 0Z"}))}};i.style=a;exports.calendar_check_icon=t;exports.checkmark_circle_icon=i;
@@ -1,24 +1,24 @@
1
- import { r as t, h as c } from "./index-5851f0a2.js";
1
+ import { r as t, h as e } from "./index-5efb84b8.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const h = ".sc-calendar-check-icon-h{display:flex}", i = h, s = class {
5
- constructor(e) {
6
- t(this, e), this.width = "20", this.height = "20";
5
+ constructor(c) {
6
+ t(this, c), this.width = "20", this.height = "20";
7
7
  }
8
8
  render() {
9
- return c("svg", { key: "7b7caac8846c1334a2010576a24062bc6d1e5af8", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, c("path", { key: "651833fe3843b27d451bf1d059b6ecbfc650ae1e", fill: "currentColor", d: "M14.75 0C16.5449 0 18 1.45507 18 3.25V9.02182C17.5368 8.72526 17.0335 8.48584 16.5 8.3135V5.5H1.5V14.75C1.5 15.7165 2.2835 16.5 3.25 16.5H8.3135C8.48584 17.0335 8.72526 17.5368 9.02182 18H3.25C1.45507 18 0 16.5449 0 14.75V3.25C0 1.45507 1.45507 0 3.25 0H14.75ZM14.75 1.5H3.25C2.2835 1.5 1.5 2.2835 1.5 3.25V4H16.5V3.25C16.5 2.2835 15.7165 1.5 14.75 1.5ZM20 14.5C20 17.5376 17.5376 20 14.5 20C11.4624 20 9 17.5376 9 14.5C9 11.4624 11.4624 9 14.5 9C17.5376 9 20 11.4624 20 14.5ZM17.8536 12.1464C17.6583 11.9512 17.3417 11.9512 17.1464 12.1464L13.5 15.7929L11.8536 14.1464C11.6583 13.9512 11.3417 13.9512 11.1464 14.1464C10.9512 14.3417 10.9512 14.6583 11.1464 14.8536L13.1464 16.8536C13.3417 17.0488 13.6583 17.0488 13.8536 16.8536L17.8536 12.8536C18.0488 12.6583 18.0488 12.3417 17.8536 12.1464Z" }));
9
+ return e("svg", { key: "42f09a7de40d3a8e3057ffe5ac4e830529d3ffd4", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, e("path", { key: "98a99f4d91ed85319a0f699038036eb7cac9bf6e", fill: "currentColor", d: "M14.75 0C16.5449 0 18 1.45507 18 3.25V9.02182C17.5368 8.72526 17.0335 8.48584 16.5 8.3135V5.5H1.5V14.75C1.5 15.7165 2.2835 16.5 3.25 16.5H8.3135C8.48584 17.0335 8.72526 17.5368 9.02182 18H3.25C1.45507 18 0 16.5449 0 14.75V3.25C0 1.45507 1.45507 0 3.25 0H14.75ZM14.75 1.5H3.25C2.2835 1.5 1.5 2.2835 1.5 3.25V4H16.5V3.25C16.5 2.2835 15.7165 1.5 14.75 1.5ZM20 14.5C20 17.5376 17.5376 20 14.5 20C11.4624 20 9 17.5376 9 14.5C9 11.4624 11.4624 9 14.5 9C17.5376 9 20 11.4624 20 14.5ZM17.8536 12.1464C17.6583 11.9512 17.3417 11.9512 17.1464 12.1464L13.5 15.7929L11.8536 14.1464C11.6583 13.9512 11.3417 13.9512 11.1464 14.1464C10.9512 14.3417 10.9512 14.6583 11.1464 14.8536L13.1464 16.8536C13.3417 17.0488 13.6583 17.0488 13.8536 16.8536L17.8536 12.8536C18.0488 12.6583 18.0488 12.3417 17.8536 12.1464Z" }));
10
10
  }
11
11
  };
12
12
  s.style = i;
13
- const r = ".sc-checkmark-circle-icon-h{display:flex}", a = r, n = class {
14
- constructor(e) {
15
- t(this, e), this.width = "20", this.height = "20";
13
+ const a = ".sc-checkmark-circle-icon-h{display:flex}", r = a, n = class {
14
+ constructor(c) {
15
+ t(this, c), this.width = "20", this.height = "20";
16
16
  }
17
17
  render() {
18
- return c("svg", { key: "934c792bb3edee80af91570bcd00087975b8f7b3", xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, fill: "none", viewBox: "0 0 20 20" }, c("path", { key: "8bd5bb7ae0defb2312ce75c45fbdb05575c38f93", fill: "currentColor", d: "M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm3.358 4.646a.5.5 0 0 1 .058.638l-.058.07-4.004 4.004a.5.5 0 0 1-.638.058l-.07-.058-2-2a.5.5 0 0 1 .638-.765l.07.058L9 11.298l3.651-3.652a.5.5 0 0 1 .707 0Z" }));
18
+ return e("svg", { key: "b119dc458ae4a2e796a4424afeeddb5b19d7e397", xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, fill: "none", viewBox: "0 0 20 20" }, e("path", { key: "2b9cb0a90ec273a8266ce5a588b239f87901fa05", fill: "currentColor", d: "M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm3.358 4.646a.5.5 0 0 1 .058.638l-.058.07-4.004 4.004a.5.5 0 0 1-.638.058l-.07-.058-2-2a.5.5 0 0 1 .638-.765l.07.058L9 11.298l3.651-3.652a.5.5 0 0 1 .707 0Z" }));
19
19
  }
20
20
  };
21
- n.style = a;
21
+ n.style = r;
22
22
  export {
23
23
  s as calendar_check_icon,
24
24
  n as checkmark_circle_icon
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-769f0fdd.cjs");require("react");require("react-dom");const i=".sc-calendar-icon-h{display:flex}",r=i,t=class{constructor(C){e.registerInstance(this,C),this.width="15",this.height="15"}render(){return e.h("svg",{key:"474d7af570f49630b515772a02b88de53083964b",width:this.width,height:this.height,fill:"none",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"eb43dd1ba5b86948e7941aaf3c9c90799d0651eb",fill:"currentColor",d:"M14.3073 0.692383C15.9641 0.692383 17.3073 2.03553 17.3073 3.69238V14.3078C17.3073 15.9646 15.9641 17.3078 14.3073 17.3078H3.6919C2.03504 17.3078 0.691895 15.9646 0.691895 14.3078V3.69238C0.691895 2.03553 2.03504 0.692383 3.6919 0.692383H14.3073ZM15.9227 5.76931H2.07651V14.3078C2.07651 15.1999 2.79974 15.9232 3.6919 15.9232H14.3073C15.1994 15.9232 15.9227 15.1999 15.9227 14.3078V5.76931ZM5.07651 11.3078C5.71376 11.3078 6.23036 11.8244 6.23036 12.4616C6.23036 13.0989 5.71376 13.6155 5.07651 13.6155C4.43926 13.6155 3.92266 13.0989 3.92266 12.4616C3.92266 11.8244 4.43926 11.3078 5.07651 11.3078ZM8.99959 11.3078C9.63684 11.3078 10.1534 11.8244 10.1534 12.4616C10.1534 13.0989 9.63684 13.6155 8.99959 13.6155C8.36234 13.6155 7.84574 13.0989 7.84574 12.4616C7.84574 11.8244 8.36234 11.3078 8.99959 11.3078ZM5.07651 7.61546C5.71376 7.61546 6.23036 8.13206 6.23036 8.76931C6.23036 9.40656 5.71376 9.92315 5.07651 9.92315C4.43926 9.92315 3.92266 9.40656 3.92266 8.76931C3.92266 8.13206 4.43926 7.61546 5.07651 7.61546ZM8.99959 7.61546C9.63684 7.61546 10.1534 8.13206 10.1534 8.76931C10.1534 9.40656 9.63684 9.92315 8.99959 9.92315C8.36234 9.92315 7.84574 9.40656 7.84574 8.76931C7.84574 8.13206 8.36234 7.61546 8.99959 7.61546ZM12.9227 7.61546C13.5599 7.61546 14.0765 8.13206 14.0765 8.76931C14.0765 9.40656 13.5599 9.92315 12.9227 9.92315C12.2854 9.92315 11.7688 9.40656 11.7688 8.76931C11.7688 8.13206 12.2854 7.61546 12.9227 7.61546ZM14.3073 2.077H3.6919C2.79974 2.077 2.07651 2.80023 2.07651 3.69238V4.38469H15.9227V3.69238C15.9227 2.80023 15.1994 2.077 14.3073 2.077Z"}))}};t.style=r;exports.calendar_icon=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-d36b8fb8.cjs");require("react");require("react-dom");const i=".sc-calendar-icon-h{display:flex}",r=i,t=class{constructor(C){e.registerInstance(this,C),this.width="15",this.height="15"}render(){return e.h("svg",{key:"976fc389ebe1c68f8f64b948e31cf498799a63f8",width:this.width,height:this.height,fill:"none",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"012bb29357936b023379ac040d58a91a90628c87",fill:"currentColor",d:"M14.3073 0.692383C15.9641 0.692383 17.3073 2.03553 17.3073 3.69238V14.3078C17.3073 15.9646 15.9641 17.3078 14.3073 17.3078H3.6919C2.03504 17.3078 0.691895 15.9646 0.691895 14.3078V3.69238C0.691895 2.03553 2.03504 0.692383 3.6919 0.692383H14.3073ZM15.9227 5.76931H2.07651V14.3078C2.07651 15.1999 2.79974 15.9232 3.6919 15.9232H14.3073C15.1994 15.9232 15.9227 15.1999 15.9227 14.3078V5.76931ZM5.07651 11.3078C5.71376 11.3078 6.23036 11.8244 6.23036 12.4616C6.23036 13.0989 5.71376 13.6155 5.07651 13.6155C4.43926 13.6155 3.92266 13.0989 3.92266 12.4616C3.92266 11.8244 4.43926 11.3078 5.07651 11.3078ZM8.99959 11.3078C9.63684 11.3078 10.1534 11.8244 10.1534 12.4616C10.1534 13.0989 9.63684 13.6155 8.99959 13.6155C8.36234 13.6155 7.84574 13.0989 7.84574 12.4616C7.84574 11.8244 8.36234 11.3078 8.99959 11.3078ZM5.07651 7.61546C5.71376 7.61546 6.23036 8.13206 6.23036 8.76931C6.23036 9.40656 5.71376 9.92315 5.07651 9.92315C4.43926 9.92315 3.92266 9.40656 3.92266 8.76931C3.92266 8.13206 4.43926 7.61546 5.07651 7.61546ZM8.99959 7.61546C9.63684 7.61546 10.1534 8.13206 10.1534 8.76931C10.1534 9.40656 9.63684 9.92315 8.99959 9.92315C8.36234 9.92315 7.84574 9.40656 7.84574 8.76931C7.84574 8.13206 8.36234 7.61546 8.99959 7.61546ZM12.9227 7.61546C13.5599 7.61546 14.0765 8.13206 14.0765 8.76931C14.0765 9.40656 13.5599 9.92315 12.9227 9.92315C12.2854 9.92315 11.7688 9.40656 11.7688 8.76931C11.7688 8.13206 12.2854 7.61546 12.9227 7.61546ZM14.3073 2.077H3.6919C2.79974 2.077 2.07651 2.80023 2.07651 3.69238V4.38469H15.9227V3.69238C15.9227 2.80023 15.1994 2.077 14.3073 2.077Z"}))}};t.style=r;exports.calendar_icon=t;
@@ -1,4 +1,4 @@
1
- import { r as e, h as C } from "./index-5851f0a2.js";
1
+ import { r as e, h as C } from "./index-5efb84b8.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  const s = ".sc-calendar-icon-h{display:flex}", i = s, r = class {
@@ -6,7 +6,7 @@ const s = ".sc-calendar-icon-h{display:flex}", i = s, r = class {
6
6
  e(this, t), this.width = "15", this.height = "15";
7
7
  }
8
8
  render() {
9
- return C("svg", { key: "474d7af570f49630b515772a02b88de53083964b", width: this.width, height: this.height, fill: "none", viewBox: "0 0 18 18", xmlns: "http://www.w3.org/2000/svg" }, C("path", { key: "eb43dd1ba5b86948e7941aaf3c9c90799d0651eb", fill: "currentColor", d: "M14.3073 0.692383C15.9641 0.692383 17.3073 2.03553 17.3073 3.69238V14.3078C17.3073 15.9646 15.9641 17.3078 14.3073 17.3078H3.6919C2.03504 17.3078 0.691895 15.9646 0.691895 14.3078V3.69238C0.691895 2.03553 2.03504 0.692383 3.6919 0.692383H14.3073ZM15.9227 5.76931H2.07651V14.3078C2.07651 15.1999 2.79974 15.9232 3.6919 15.9232H14.3073C15.1994 15.9232 15.9227 15.1999 15.9227 14.3078V5.76931ZM5.07651 11.3078C5.71376 11.3078 6.23036 11.8244 6.23036 12.4616C6.23036 13.0989 5.71376 13.6155 5.07651 13.6155C4.43926 13.6155 3.92266 13.0989 3.92266 12.4616C3.92266 11.8244 4.43926 11.3078 5.07651 11.3078ZM8.99959 11.3078C9.63684 11.3078 10.1534 11.8244 10.1534 12.4616C10.1534 13.0989 9.63684 13.6155 8.99959 13.6155C8.36234 13.6155 7.84574 13.0989 7.84574 12.4616C7.84574 11.8244 8.36234 11.3078 8.99959 11.3078ZM5.07651 7.61546C5.71376 7.61546 6.23036 8.13206 6.23036 8.76931C6.23036 9.40656 5.71376 9.92315 5.07651 9.92315C4.43926 9.92315 3.92266 9.40656 3.92266 8.76931C3.92266 8.13206 4.43926 7.61546 5.07651 7.61546ZM8.99959 7.61546C9.63684 7.61546 10.1534 8.13206 10.1534 8.76931C10.1534 9.40656 9.63684 9.92315 8.99959 9.92315C8.36234 9.92315 7.84574 9.40656 7.84574 8.76931C7.84574 8.13206 8.36234 7.61546 8.99959 7.61546ZM12.9227 7.61546C13.5599 7.61546 14.0765 8.13206 14.0765 8.76931C14.0765 9.40656 13.5599 9.92315 12.9227 9.92315C12.2854 9.92315 11.7688 9.40656 11.7688 8.76931C11.7688 8.13206 12.2854 7.61546 12.9227 7.61546ZM14.3073 2.077H3.6919C2.79974 2.077 2.07651 2.80023 2.07651 3.69238V4.38469H15.9227V3.69238C15.9227 2.80023 15.1994 2.077 14.3073 2.077Z" }));
9
+ return C("svg", { key: "976fc389ebe1c68f8f64b948e31cf498799a63f8", width: this.width, height: this.height, fill: "none", viewBox: "0 0 18 18", xmlns: "http://www.w3.org/2000/svg" }, C("path", { key: "012bb29357936b023379ac040d58a91a90628c87", fill: "currentColor", d: "M14.3073 0.692383C15.9641 0.692383 17.3073 2.03553 17.3073 3.69238V14.3078C17.3073 15.9646 15.9641 17.3078 14.3073 17.3078H3.6919C2.03504 17.3078 0.691895 15.9646 0.691895 14.3078V3.69238C0.691895 2.03553 2.03504 0.692383 3.6919 0.692383H14.3073ZM15.9227 5.76931H2.07651V14.3078C2.07651 15.1999 2.79974 15.9232 3.6919 15.9232H14.3073C15.1994 15.9232 15.9227 15.1999 15.9227 14.3078V5.76931ZM5.07651 11.3078C5.71376 11.3078 6.23036 11.8244 6.23036 12.4616C6.23036 13.0989 5.71376 13.6155 5.07651 13.6155C4.43926 13.6155 3.92266 13.0989 3.92266 12.4616C3.92266 11.8244 4.43926 11.3078 5.07651 11.3078ZM8.99959 11.3078C9.63684 11.3078 10.1534 11.8244 10.1534 12.4616C10.1534 13.0989 9.63684 13.6155 8.99959 13.6155C8.36234 13.6155 7.84574 13.0989 7.84574 12.4616C7.84574 11.8244 8.36234 11.3078 8.99959 11.3078ZM5.07651 7.61546C5.71376 7.61546 6.23036 8.13206 6.23036 8.76931C6.23036 9.40656 5.71376 9.92315 5.07651 9.92315C4.43926 9.92315 3.92266 9.40656 3.92266 8.76931C3.92266 8.13206 4.43926 7.61546 5.07651 7.61546ZM8.99959 7.61546C9.63684 7.61546 10.1534 8.13206 10.1534 8.76931C10.1534 9.40656 9.63684 9.92315 8.99959 9.92315C8.36234 9.92315 7.84574 9.40656 7.84574 8.76931C7.84574 8.13206 8.36234 7.61546 8.99959 7.61546ZM12.9227 7.61546C13.5599 7.61546 14.0765 8.13206 14.0765 8.76931C14.0765 9.40656 13.5599 9.92315 12.9227 9.92315C12.2854 9.92315 11.7688 9.40656 11.7688 8.76931C11.7688 8.13206 12.2854 7.61546 12.9227 7.61546ZM14.3073 2.077H3.6919C2.79974 2.077 2.07651 2.80023 2.07651 3.69238V4.38469H15.9227V3.69238C15.9227 2.80023 15.1994 2.077 14.3073 2.077Z" }));
10
10
  }
11
11
  };
12
12
  r.style = i;
@@ -1,40 +1,40 @@
1
- import { r, h as i, c as l, g as d } from "./index-5851f0a2.js";
1
+ import { r, h as s, c as l, g as d } from "./index-5efb84b8.js";
2
2
  import "react";
3
3
  import "react-dom";
4
- const c = ".sc-chevron-icon-h{display:flex}", p = c, h = class {
4
+ const c = ".sc-chevron-icon-h{display:flex}", h = c, p = class {
5
5
  constructor(e) {
6
6
  r(this, e), this.width = "24", this.height = "24";
7
7
  }
8
8
  render() {
9
- return i("svg", { key: "4ba6273520a7838da14673321dc5eb2318fddeda", xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "none" }, i("path", { key: "081c33497ba302b5749c947d191e9df31d749a15", fill: "currentColor", d: "M15.53 4.22a.75.75 0 0 1 0 1.06L8.81 12l6.72 6.72a.75.75 0 1 1-1.06 1.06l-7.25-7.25a.75.75 0 0 1 0-1.06l7.25-7.25a.75.75 0 0 1 1.06 0Z" }));
9
+ return s("svg", { key: "a2ba18045e1a3068427898b7b9d9755c80f0f53e", xmlns: "http://www.w3.org/2000/svg", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "none" }, s("path", { key: "0715fdfa6bb874fef9aee368d457e9dce64a6dea", fill: "currentColor", d: "M15.53 4.22a.75.75 0 0 1 0 1.06L8.81 12l6.72 6.72a.75.75 0 1 1-1.06 1.06l-7.25-7.25a.75.75 0 0 1 0-1.06l7.25-7.25a.75.75 0 0 1 1.06 0Z" }));
10
10
  }
11
11
  };
12
- h.style = p;
12
+ p.style = h;
13
13
  const f = ".sc-search-icon-h{display:flex}", b = f, u = class {
14
14
  constructor(e) {
15
15
  r(this, e), this.width = "15", this.height = "15";
16
16
  }
17
17
  render() {
18
- return i("svg", { key: "c5f52e97100ef84d45a60c75a6edad451b809b47", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("path", { key: "83edc5203bf11c7774aa44c1d8442c5b6b0e4f1c", fill: "currentColor", d: "M5.5 0C8.53757 0 11 2.46243 11 5.5C11 6.83879 10.5217 8.06586 9.72656 9.01962L13.8536 13.1464C14.0488 13.3417 14.0488 13.6583 13.8536 13.8536C13.68 14.0271 13.4106 14.0464 13.2157 13.9114L13.1464 13.8536L9.01962 9.72656C8.06586 10.5217 6.83879 11 5.5 11C2.46243 11 0 8.53757 0 5.5C0 2.46243 2.46243 0 5.5 0ZM5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1Z" }));
18
+ return s("svg", { key: "90dee52a9a06d5f8e97efb9019d64e4949b002e4", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, s("path", { key: "8cfe4c5dc4ccbbdacd96229f25ae411272118a0b", fill: "currentColor", d: "M5.5 0C8.53757 0 11 2.46243 11 5.5C11 6.83879 10.5217 8.06586 9.72656 9.01962L13.8536 13.1464C14.0488 13.3417 14.0488 13.6583 13.8536 13.8536C13.68 14.0271 13.4106 14.0464 13.2157 13.9114L13.1464 13.8536L9.01962 9.72656C8.06586 10.5217 6.83879 11 5.5 11C2.46243 11 0 8.53757 0 5.5C0 2.46243 2.46243 0 5.5 0ZM5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1Z" }));
19
19
  }
20
20
  };
21
21
  u.style = b;
22
22
  const y = ':host{display:block;position:relative;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;width:100%}@media screen and (max-width: 768px){:host{position:unset}}label{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%;flex-direction:column;gap:4px;font-family:var(--nylas-font-family);font-size:16px;color:var(--nylas-base-800)}label.error{color:var(--nylas-error)}label span.required{color:var(--nylas-error);padding:0 0.25rem}label p{margin:0}label .error{color:var(--nylas-error)}.dropdown{display:inline-block;width:inherit}.dropbtn{color:var(--nylas-base-800);padding:14px;font-size:1rem;font-family:var(--nylas-font-family);cursor:pointer;display:flex;justify-content:space-between;gap:0.5rem;background:transparent;border:1px solid var(--nylas-base-300);border-radius:var(--nylas-border-radius-2x)}.dropbtn.error{border:1px solid var(--nylas-error)}.dropbtn.focus{background:transparent}.dropbtn:hover,.dropbtn:active{outline:1px solid var(--nylas-primary)}.dropbtn:active{outline:2px solid var(--nylas-primary)}.dropbtn span.chevron{display:flex;align-self:center}.dropbtn span.open{transform:rotate(90deg)}.dropbtn span.closed{transform:rotate(270deg)}.dropbtn span.selected-option{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:144px;font-size:14px;line-height:20px}@media screen and (max-width: 768px){.dropbtn span.selected-option{max-width:124px;font-size:16px}}.dropdown-content{display:block;margin-top:0.5rem;background-color:var(--nylas-base-0);width:100%;max-height:336px;overflow:auto;z-index:1;border-radius:4px;position:absolute;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.05);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1)}@media screen and (max-width: 768px){.dropdown-content{right:0;width:325px;max-width:unset}}.search-box{border-bottom:1px solid var(--nylas-base-200);padding:10px;position:sticky;top:0;background:var(--nylas-base-0)}.search-box .icon{position:absolute;top:1.25rem;left:1.25rem;color:var(--nylas-base-300)}.dropdown-content ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px}.dropdown-content ul li{padding:16px, 12px, 16px, 12px;color:black;padding:12px 16px;text-decoration:none;display:block;font-family:inherit;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left;cursor:pointer}.dropdown-content ul li:hover,.dropdown-content ul li:focus{background-color:var(--nylas-base-100)}.dropdown-content .selected{background-color:#e7e7e7}input[type=text]{width:-webkit-fill-available;padding:inherit;border:1px solid #ccc;border-radius:4px;position:sticky;background:no-repeat scroll 7px 7px;padding-left:30px;background-size:16px 16px}', x = y, g = class {
23
23
  constructor(e) {
24
- r(this, e), this.nylasFormDropdownChanged = l(this, "nylasFormDropdownChanged", 7), this.name = void 0, this.options = [], this.defaultSelectedOption = void 0, this.withSearch = !0, this.label = void 0, this.required = !1, this.pluralizedLabel = "", this.selectedOption = this.defaultSelectedOption || null, this.isOpen = !1, this.searchValue = "", this.filteredOptions = [...this.options], this.ariaActivedescendant = "", this.errorMessage = "";
24
+ r(this, e), this.nylasFormDropdownChanged = l(this, "nylasFormDropdownChanged", 7), this.name = void 0, this.options = [], this.defaultSelectedOption = void 0, this.withSearch = !0, this.label = void 0, this.required = !1, this.pluralizedLabel = "", this.dropdownButtonText = void 0, this.withChevron = !0, this.selectedOption = this.defaultSelectedOption || null, this.isOpen = !1, this.searchValue = "", this.filteredOptions = [...this.options], this.ariaActivedescendant = "", this.errorMessage = "";
25
25
  }
26
- optionsChangedHandler(e, s) {
27
- e !== s && (this.filteredOptions = e);
26
+ optionsChangedHandler(e, t) {
27
+ e !== t && (this.filteredOptions = e);
28
28
  }
29
- defaultSelectedOptionChangedHandler(e, s) {
30
- e.label !== s.label && (this.selectedOption = e);
29
+ defaultSelectedOptionChangedHandler(e, t) {
30
+ typeof e > "u" || (e == null ? void 0 : e.label) === (t == null ? void 0 : t.label) || (this.selectedOption = e);
31
31
  }
32
32
  componentWillLoad() {
33
33
  this.filteredOptions = this.options, !this.selectedOption && this.defaultSelectedOption && (this.selectedOption = this.defaultSelectedOption), !this.selectedOption && this.options.length > 0 && (this.selectedOption = this.options[0]);
34
34
  }
35
35
  handleBookingFormSubmitted(e) {
36
- var s;
37
- this.validate(((s = this.selectedOption) == null ? void 0 : s.value) || ""), this.errorMessage && e.preventDefault();
36
+ var t;
37
+ this.validate(((t = this.selectedOption) == null ? void 0 : t.value) || ""), this.errorMessage && e.preventDefault();
38
38
  }
39
39
  validate(e) {
40
40
  this.required && !e ? this.errorMessage = `${this.label} is required.` : this.errorMessage = "";
@@ -43,8 +43,8 @@ const y = ':host{display:block;position:relative;--nylas-primary:#2563eb;--nylas
43
43
  this.isOpen = !this.isOpen;
44
44
  }
45
45
  filterOptions(e) {
46
- const s = e.target.value;
47
- this.searchValue = s, this.filteredOptions = this.options.filter((t) => t.label.toLowerCase().includes(s.toLowerCase()));
46
+ const t = e.target.value;
47
+ this.searchValue = t, this.filteredOptions = this.options.filter((i) => i.label.toLowerCase().includes(t.toLowerCase()));
48
48
  }
49
49
  selectOption(e) {
50
50
  this.errorMessage = "", this.selectedOption = e, this.toggleDropdown(), this.nylasFormDropdownChanged.emit({
@@ -55,11 +55,11 @@ const y = ':host{display:block;position:relative;--nylas-primary:#2563eb;--nylas
55
55
  });
56
56
  }
57
57
  handleSelectButtonKeyDown(e) {
58
- var s;
58
+ var t;
59
59
  switch (e.key) {
60
60
  case "ArrowDown":
61
61
  case "Enter":
62
- e.preventDefault(), this.isOpen || this.toggleDropdown(), (s = this.inputRef) == null || s.focus();
62
+ e.preventDefault(), this.isOpen || this.toggleDropdown(), (t = this.inputRef) == null || t.focus();
63
63
  break;
64
64
  case "Escape":
65
65
  this.isOpen = !1;
@@ -67,46 +67,49 @@ const y = ':host{display:block;position:relative;--nylas-primary:#2563eb;--nylas
67
67
  }
68
68
  }
69
69
  handleListboxKeydown(e) {
70
- var n, o;
71
- const s = this.filteredOptions, t = s.findIndex((a) => a.value === this.ariaActivedescendant);
70
+ var a, o;
71
+ const t = this.filteredOptions, i = t.findIndex((n) => n.value === this.ariaActivedescendant);
72
72
  if (e.key === "ArrowDown" || e.key === "Tab" && !e.shiftKey) {
73
- if (e.preventDefault(), t === s.length - 1) {
74
- this.ariaActivedescendant = "", (n = this.inputRef) == null || n.focus();
73
+ if (e.preventDefault(), i === t.length - 1) {
74
+ this.ariaActivedescendant = "", (a = this.inputRef) == null || a.focus();
75
75
  return;
76
76
  }
77
- const a = t + 1 < s.length ? t + 1 : 0;
78
- this.ariaActivedescendant = s[a].value, this.focusOption(a);
77
+ const n = i + 1 < t.length ? i + 1 : 0;
78
+ this.ariaActivedescendant = t[n].value, this.focusOption(n);
79
79
  } else if (e.key === "ArrowUp" || e.key === "Tab" && e.shiftKey) {
80
- if (e.preventDefault(), t === 0) {
80
+ if (e.preventDefault(), i === 0) {
81
81
  this.ariaActivedescendant = "", (o = this.inputRef) == null || o.focus();
82
82
  return;
83
83
  }
84
- const a = t - 1 >= 0 ? t - 1 : s.length - 1;
85
- this.ariaActivedescendant = s[a].value, this.focusOption(a);
84
+ const n = i - 1 >= 0 ? i - 1 : t.length - 1;
85
+ this.ariaActivedescendant = t[n].value, this.focusOption(n);
86
86
  } else
87
- e.key === "Enter" ? (e.preventDefault(), this.ariaActivedescendant && this.selectOption(s[t])) : e.key === "Escape" && (this.isOpen = !1);
87
+ e.key === "Enter" ? (e.preventDefault(), this.ariaActivedescendant && this.selectOption(t[i])) : e.key === "Escape" && (this.isOpen = !1);
88
88
  }
89
89
  focusOption(e) {
90
90
  var o;
91
- const s = this.filteredOptions[e];
92
- if (!s)
91
+ const t = this.filteredOptions[e];
92
+ if (!t)
93
93
  return;
94
- const t = s.value, n = (o = this.el.shadowRoot) == null ? void 0 : o.getElementById(t);
95
- n && (n.focus(), n.scrollIntoView({ behavior: "smooth", block: "nearest" }));
94
+ const i = t.value, a = (o = this.el.shadowRoot) == null ? void 0 : o.getElementById(i);
95
+ a && (a.focus(), a.scrollIntoView({ behavior: "smooth", block: "nearest" }));
96
96
  }
97
97
  handleComboboxKeyDown(e) {
98
98
  e.key === "ArrowDown" || e.key == "Tab" && !e.shiftKey ? (e.preventDefault(), this.ariaActivedescendant = this.filteredOptions[0].value, this.focusOption(0)) : e.key === "ArrowUp" || e.key === "Tab" && e.shiftKey ? (e.preventDefault(), this.ariaActivedescendant = this.filteredOptions[this.filteredOptions.length - 1].value, this.focusOption(this.filteredOptions.length - 1)) : e.key === "Escape" && (this.isOpen = !1);
99
99
  }
100
+ generateButtonText() {
101
+ var e, t;
102
+ return this.dropdownButtonText ? this.dropdownButtonText : (e = this.selectedOption) != null && e.label ? `${((t = this.selectedOption) == null ? void 0 : t.label) + this.pluralizedLabel}` : "";
103
+ }
100
104
  handleOutsideClick(e) {
101
105
  !e.composedPath().includes(this.el) && this.isOpen && (this.isOpen = !1);
102
106
  }
103
107
  render() {
104
- var e, s;
105
- return i("div", { key: "5d9cc53d425973e986cf7861f68db93652264ea2", class: "dropdown", part: "sd_dropdown" }, i("label", { key: "780b94df48c831b5228ca846f3349359e19fcae5", part: "sd_dropdown_label", class: { error: !!this.errorMessage } }, this.label && i("p", null, i("span", { class: "label" }, this.label), this.required && i("span", { class: "required" }, "*")), i("button", { key: "c8aa297b734fe94b31e7dadff937e9339e997d57", part: "sd_dropdown-button", class: { dropbtn: !0, open: this.isOpen, error: !!this.errorMessage }, onClick: () => this.toggleDropdown(), "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? "true" : "false", "aria-label": this.name, onKeyDown: (t) => this.handleSelectButtonKeyDown(t) }, i("slot", { key: "35a42b7da19ae19d26c63f6555748b1756d8b509", name: "select-icon", "aria-hidden": "true" }), i("span", { key: "0df568c4115508f832dbf15d29f6a2f91e855df5", class: "selected-option", part: "sd_dropdown-button-selected-label" }, (e = this.selectedOption) != null && e.label ? `${((s = this.selectedOption) == null ? void 0 : s.label) + this.pluralizedLabel}` : ""), i("span", { key: "c1c2dab85d068a4da6550a45d505f7e44bef3098", class: {
108
+ return s("div", { key: "f643753d922b05b52ab0b8fe0dbc15733a9c699b", class: "dropdown", part: "sd_dropdown" }, s("label", { key: "14478d5755183604ee9aa617ab9540be7c57604e", part: "sd_dropdown_label", class: { error: !!this.errorMessage } }, this.label && s("p", null, s("span", { class: "label" }, this.label), this.required && s("span", { class: "required" }, "*")), s("button", { key: "0a053de6ef29c2c8ca232f52d1a3e787f54e69cc", part: "sd_dropdown-button", class: { dropbtn: !0, open: this.isOpen, error: !!this.errorMessage }, onClick: () => this.toggleDropdown(), "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? "true" : "false", "aria-label": this.name, onKeyDown: (e) => this.handleSelectButtonKeyDown(e) }, s("slot", { key: "857627db765aafdcf8c5241c97959cab5e323c39", name: "select-icon", "aria-hidden": "true" }), s("span", { key: "18d16c1a7edc6fed463de8c9739782dbd0839b7c", class: "selected-option", part: "sd_dropdown-button-selected-label" }, this.generateButtonText()), this.withChevron && s("span", { class: {
106
109
  open: this.isOpen,
107
110
  closed: !this.isOpen,
108
111
  chevron: !0
109
- }, "aria-hidden": "true" }, i("chevron-icon", { key: "8a99c927af95bd100cea219d07afb9960ac11f33", width: "16", height: "16" }))), this.errorMessage && i("span", { class: "error help-text" }, this.errorMessage)), this.isOpen ? i("div", { class: "dropdown-content", part: "sd_dropdown-content" }, this.withSearch && i("div", { class: { "search-box": !0, open: this.isOpen } }, i("search-icon", { width: "15", height: "15", class: "icon" }), i("input", { type: "text", role: "combobox", placeholder: "Search", value: this.searchValue, ref: (t) => this.inputRef = t, onInput: (t) => this.filterOptions(t), onKeyDown: (t) => this.handleComboboxKeyDown(t) })), i("ul", { tabindex: "-1", role: "listbox", "aria-label": this.name, "aria-activedescendant": this.ariaActivedescendant, onKeyDown: (t) => this.handleListboxKeydown(t) }, this.filteredOptions.map((t) => t.value && i("li", { tabindex: "0", key: t.value, id: t.value, onClick: () => this.selectOption(t), role: "option" }, t.labelHTML ? t.labelHTML : t.label)))) : null);
112
+ }, "aria-hidden": "true" }, s("chevron-icon", { width: "16", height: "16" }))), this.errorMessage && s("span", { class: "error help-text" }, this.errorMessage)), this.isOpen ? s("div", { class: "dropdown-content", part: "sd_dropdown-content" }, this.withSearch && s("div", { class: { "search-box": !0, open: this.isOpen } }, s("search-icon", { width: "15", height: "15", class: "icon" }), s("input", { type: "text", role: "combobox", placeholder: "Search", value: this.searchValue, ref: (e) => this.inputRef = e, onInput: (e) => this.filterOptions(e), onKeyDown: (e) => this.handleComboboxKeyDown(e) })), s("ul", { tabindex: "-1", role: "listbox", "aria-label": this.name, "aria-activedescendant": this.ariaActivedescendant, onKeyDown: (e) => this.handleListboxKeydown(e) }, this.filteredOptions.map((e) => e.value && s("li", { tabindex: "0", key: e.value, id: e.value, onClick: () => this.selectOption(e), role: "option" }, e.labelHTML ? s("div", { part: "sd_dropdown-labelhtml" }, e.labelHTML) : e.label)))) : null);
110
113
  }
111
114
  get el() {
112
115
  return d(this);
@@ -120,7 +123,7 @@ const y = ':host{display:block;position:relative;--nylas-primary:#2563eb;--nylas
120
123
  };
121
124
  g.style = x;
122
125
  export {
123
- h as chevron_icon,
126
+ p as chevron_icon,
124
127
  u as search_icon,
125
128
  g as select_dropdown
126
129
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-d36b8fb8.cjs");require("react");require("react-dom");const h=".sc-chevron-icon-h{display:flex}",c=h,r=class{constructor(e){s.registerInstance(this,e),this.width="24",this.height="24"}render(){return s.h("svg",{key:"a2ba18045e1a3068427898b7b9d9755c80f0f53e",xmlns:"http://www.w3.org/2000/svg",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"none"},s.h("path",{key:"0715fdfa6bb874fef9aee368d457e9dce64a6dea",fill:"currentColor",d:"M15.53 4.22a.75.75 0 0 1 0 1.06L8.81 12l6.72 6.72a.75.75 0 1 1-1.06 1.06l-7.25-7.25a.75.75 0 0 1 0-1.06l7.25-7.25a.75.75 0 0 1 1.06 0Z"}))}};r.style=c;const p=".sc-search-icon-h{display:flex}",f=p,l=class{constructor(e){s.registerInstance(this,e),this.width="15",this.height="15"}render(){return s.h("svg",{key:"90dee52a9a06d5f8e97efb9019d64e4949b002e4",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},s.h("path",{key:"8cfe4c5dc4ccbbdacd96229f25ae411272118a0b",fill:"currentColor",d:"M5.5 0C8.53757 0 11 2.46243 11 5.5C11 6.83879 10.5217 8.06586 9.72656 9.01962L13.8536 13.1464C14.0488 13.3417 14.0488 13.6583 13.8536 13.8536C13.68 14.0271 13.4106 14.0464 13.2157 13.9114L13.1464 13.8536L9.01962 9.72656C8.06586 10.5217 6.83879 11 5.5 11C2.46243 11 0 8.53757 0 5.5C0 2.46243 2.46243 0 5.5 0ZM5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1Z"}))}};l.style=f;const b=':host{display:block;position:relative;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;width:100%}@media screen and (max-width: 768px){:host{position:unset}}label{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%;flex-direction:column;gap:4px;font-family:var(--nylas-font-family);font-size:16px;color:var(--nylas-base-800)}label.error{color:var(--nylas-error)}label span.required{color:var(--nylas-error);padding:0 0.25rem}label p{margin:0}label .error{color:var(--nylas-error)}.dropdown{display:inline-block;width:inherit}.dropbtn{color:var(--nylas-base-800);padding:14px;font-size:1rem;font-family:var(--nylas-font-family);cursor:pointer;display:flex;justify-content:space-between;gap:0.5rem;background:transparent;border:1px solid var(--nylas-base-300);border-radius:var(--nylas-border-radius-2x)}.dropbtn.error{border:1px solid var(--nylas-error)}.dropbtn.focus{background:transparent}.dropbtn:hover,.dropbtn:active{outline:1px solid var(--nylas-primary)}.dropbtn:active{outline:2px solid var(--nylas-primary)}.dropbtn span.chevron{display:flex;align-self:center}.dropbtn span.open{transform:rotate(90deg)}.dropbtn span.closed{transform:rotate(270deg)}.dropbtn span.selected-option{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:144px;font-size:14px;line-height:20px}@media screen and (max-width: 768px){.dropbtn span.selected-option{max-width:124px;font-size:16px}}.dropdown-content{display:block;margin-top:0.5rem;background-color:var(--nylas-base-0);width:100%;max-height:336px;overflow:auto;z-index:1;border-radius:4px;position:absolute;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.05);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1)}@media screen and (max-width: 768px){.dropdown-content{right:0;width:325px;max-width:unset}}.search-box{border-bottom:1px solid var(--nylas-base-200);padding:10px;position:sticky;top:0;background:var(--nylas-base-0)}.search-box .icon{position:absolute;top:1.25rem;left:1.25rem;color:var(--nylas-base-300)}.dropdown-content ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px}.dropdown-content ul li{padding:16px, 12px, 16px, 12px;color:black;padding:12px 16px;text-decoration:none;display:block;font-family:inherit;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left;cursor:pointer}.dropdown-content ul li:hover,.dropdown-content ul li:focus{background-color:var(--nylas-base-100)}.dropdown-content .selected{background-color:#e7e7e7}input[type=text]{width:-webkit-fill-available;padding:inherit;border:1px solid #ccc;border-radius:4px;position:sticky;background:no-repeat scroll 7px 7px;padding-left:30px;background-size:16px 16px}',u=b,d=class{constructor(e){s.registerInstance(this,e),this.nylasFormDropdownChanged=s.createEvent(this,"nylasFormDropdownChanged",7),this.name=void 0,this.options=[],this.defaultSelectedOption=void 0,this.withSearch=!0,this.label=void 0,this.required=!1,this.pluralizedLabel="",this.dropdownButtonText=void 0,this.withChevron=!0,this.selectedOption=this.defaultSelectedOption||null,this.isOpen=!1,this.searchValue="",this.filteredOptions=[...this.options],this.ariaActivedescendant="",this.errorMessage=""}optionsChangedHandler(e,t){e!==t&&(this.filteredOptions=e)}defaultSelectedOptionChangedHandler(e,t){typeof e>"u"||(e==null?void 0:e.label)===(t==null?void 0:t.label)||(this.selectedOption=e)}componentWillLoad(){this.filteredOptions=this.options,!this.selectedOption&&this.defaultSelectedOption&&(this.selectedOption=this.defaultSelectedOption),!this.selectedOption&&this.options.length>0&&(this.selectedOption=this.options[0])}handleBookingFormSubmitted(e){var t;this.validate(((t=this.selectedOption)==null?void 0:t.value)||""),this.errorMessage&&e.preventDefault()}validate(e){this.required&&!e?this.errorMessage=`${this.label} is required.`:this.errorMessage=""}toggleDropdown(){this.isOpen=!this.isOpen}filterOptions(e){const t=e.target.value;this.searchValue=t,this.filteredOptions=this.options.filter(i=>i.label.toLowerCase().includes(t.toLowerCase()))}selectOption(e){this.errorMessage="",this.selectedOption=e,this.toggleDropdown(),this.nylasFormDropdownChanged.emit({value:e.value,name:this.name,error:this.errorMessage,label:this.label})}handleSelectButtonKeyDown(e){var t;switch(e.key){case"ArrowDown":case"Enter":e.preventDefault(),this.isOpen||this.toggleDropdown(),(t=this.inputRef)==null||t.focus();break;case"Escape":this.isOpen=!1;break}}handleListboxKeydown(e){var o,a;const t=this.filteredOptions,i=t.findIndex(n=>n.value===this.ariaActivedescendant);if(e.key==="ArrowDown"||e.key==="Tab"&&!e.shiftKey){if(e.preventDefault(),i===t.length-1){this.ariaActivedescendant="",(o=this.inputRef)==null||o.focus();return}const n=i+1<t.length?i+1:0;this.ariaActivedescendant=t[n].value,this.focusOption(n)}else if(e.key==="ArrowUp"||e.key==="Tab"&&e.shiftKey){if(e.preventDefault(),i===0){this.ariaActivedescendant="",(a=this.inputRef)==null||a.focus();return}const n=i-1>=0?i-1:t.length-1;this.ariaActivedescendant=t[n].value,this.focusOption(n)}else e.key==="Enter"?(e.preventDefault(),this.ariaActivedescendant&&this.selectOption(t[i])):e.key==="Escape"&&(this.isOpen=!1)}focusOption(e){var a;const t=this.filteredOptions[e];if(!t)return;const i=t.value,o=(a=this.el.shadowRoot)==null?void 0:a.getElementById(i);o&&(o.focus(),o.scrollIntoView({behavior:"smooth",block:"nearest"}))}handleComboboxKeyDown(e){e.key==="ArrowDown"||e.key=="Tab"&&!e.shiftKey?(e.preventDefault(),this.ariaActivedescendant=this.filteredOptions[0].value,this.focusOption(0)):e.key==="ArrowUp"||e.key==="Tab"&&e.shiftKey?(e.preventDefault(),this.ariaActivedescendant=this.filteredOptions[this.filteredOptions.length-1].value,this.focusOption(this.filteredOptions.length-1)):e.key==="Escape"&&(this.isOpen=!1)}generateButtonText(){var e,t;return this.dropdownButtonText?this.dropdownButtonText:(e=this.selectedOption)!=null&&e.label?`${((t=this.selectedOption)==null?void 0:t.label)+this.pluralizedLabel}`:""}handleOutsideClick(e){!e.composedPath().includes(this.el)&&this.isOpen&&(this.isOpen=!1)}render(){return s.h("div",{key:"f643753d922b05b52ab0b8fe0dbc15733a9c699b",class:"dropdown",part:"sd_dropdown"},s.h("label",{key:"14478d5755183604ee9aa617ab9540be7c57604e",part:"sd_dropdown_label",class:{error:!!this.errorMessage}},this.label&&s.h("p",null,s.h("span",{class:"label"},this.label),this.required&&s.h("span",{class:"required"},"*")),s.h("button",{key:"0a053de6ef29c2c8ca232f52d1a3e787f54e69cc",part:"sd_dropdown-button",class:{dropbtn:!0,open:this.isOpen,error:!!this.errorMessage},onClick:()=>this.toggleDropdown(),"aria-haspopup":"listbox","aria-expanded":this.isOpen?"true":"false","aria-label":this.name,onKeyDown:e=>this.handleSelectButtonKeyDown(e)},s.h("slot",{key:"857627db765aafdcf8c5241c97959cab5e323c39",name:"select-icon","aria-hidden":"true"}),s.h("span",{key:"18d16c1a7edc6fed463de8c9739782dbd0839b7c",class:"selected-option",part:"sd_dropdown-button-selected-label"},this.generateButtonText()),this.withChevron&&s.h("span",{class:{open:this.isOpen,closed:!this.isOpen,chevron:!0},"aria-hidden":"true"},s.h("chevron-icon",{width:"16",height:"16"}))),this.errorMessage&&s.h("span",{class:"error help-text"},this.errorMessage)),this.isOpen?s.h("div",{class:"dropdown-content",part:"sd_dropdown-content"},this.withSearch&&s.h("div",{class:{"search-box":!0,open:this.isOpen}},s.h("search-icon",{width:"15",height:"15",class:"icon"}),s.h("input",{type:"text",role:"combobox",placeholder:"Search",value:this.searchValue,ref:e=>this.inputRef=e,onInput:e=>this.filterOptions(e),onKeyDown:e=>this.handleComboboxKeyDown(e)})),s.h("ul",{tabindex:"-1",role:"listbox","aria-label":this.name,"aria-activedescendant":this.ariaActivedescendant,onKeyDown:e=>this.handleListboxKeydown(e)},this.filteredOptions.map(e=>e.value&&s.h("li",{tabindex:"0",key:e.value,id:e.value,onClick:()=>this.selectOption(e),role:"option"},e.labelHTML?s.h("div",{part:"sd_dropdown-labelhtml"},e.labelHTML):e.label)))):null)}get el(){return s.getElement(this)}static get watchers(){return{options:["optionsChangedHandler"],defaultSelectedOption:["defaultSelectedOptionChangedHandler"]}}};d.style=u;exports.chevron_icon=r;exports.search_icon=l;exports.select_dropdown=d;
@@ -1,21 +1,21 @@
1
- import { r as s, h as t } from "./index-5851f0a2.js";
1
+ import { r as c, h as t } from "./index-5efb84b8.js";
2
2
  import "react";
3
3
  import "react-dom";
4
- const o = ".sc-clock-icon-h{display:flex}", c = o, C = class {
5
- constructor(e) {
6
- s(this, e), this.width = "16", this.height = "16";
4
+ const e = ".sc-clock-icon-h{display:flex}", o = e, C = class {
5
+ constructor(s) {
6
+ c(this, s), this.width = "16", this.height = "16";
7
7
  }
8
8
  render() {
9
- return t("svg", { key: "8f7efe21747ae4e4ede2695e9f542afa619260c2", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "74d1d3f7bd58fb6d4bebe200ec2627f4cd41a60a", d: "M8 0.5C12.1421 0.5 15.5 3.85786 15.5 8C15.5 12.1421 12.1421 15.5 8 15.5C3.85786 15.5 0.5 12.1421 0.5 8C0.5 3.85786 3.85786 0.5 8 0.5ZM8 1.4375C4.37563 1.4375 1.4375 4.37563 1.4375 8C1.4375 11.6244 4.37563 14.5625 8 14.5625C11.6244 14.5625 14.5625 11.6244 14.5625 8C14.5625 4.37563 11.6244 1.4375 8 1.4375ZM7.53125 3.3125C7.76137 3.3125 7.95276 3.47832 7.99245 3.69699L8 3.78125V8H10.3438C10.6026 8 10.8125 8.20987 10.8125 8.46875C10.8125 8.69887 10.6467 8.89026 10.428 8.92995L10.3438 8.9375H7.53125C7.30113 8.9375 7.10974 8.77168 7.07005 8.55301L7.0625 8.46875V3.78125C7.0625 3.52237 7.27237 3.3125 7.53125 3.3125Z", fill: "currentColor" }));
9
+ return t("svg", { key: "63d2d06255adf5ee8ba71b9ae22c27a92b9a069b", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "79770fc09cc2b4c2d715ff15529a6e8f525ddd1c", d: "M8 0.5C12.1421 0.5 15.5 3.85786 15.5 8C15.5 12.1421 12.1421 15.5 8 15.5C3.85786 15.5 0.5 12.1421 0.5 8C0.5 3.85786 3.85786 0.5 8 0.5ZM8 1.4375C4.37563 1.4375 1.4375 4.37563 1.4375 8C1.4375 11.6244 4.37563 14.5625 8 14.5625C11.6244 14.5625 14.5625 11.6244 14.5625 8C14.5625 4.37563 11.6244 1.4375 8 1.4375ZM7.53125 3.3125C7.76137 3.3125 7.95276 3.47832 7.99245 3.69699L8 3.78125V8H10.3438C10.6026 8 10.8125 8.20987 10.8125 8.46875C10.8125 8.69887 10.6467 8.89026 10.428 8.92995L10.3438 8.9375H7.53125C7.30113 8.9375 7.10974 8.77168 7.07005 8.55301L7.0625 8.46875V3.78125C7.0625 3.52237 7.27237 3.3125 7.53125 3.3125Z", fill: "currentColor" }));
10
10
  }
11
11
  };
12
- C.style = c;
12
+ C.style = o;
13
13
  const i = ".sc-person-icon-h{display:flex}", n = i, h = class {
14
- constructor(e) {
15
- s(this, e), this.width = "14", this.height = "16";
14
+ constructor(s) {
15
+ c(this, s), this.width = "14", this.height = "16";
16
16
  }
17
17
  render() {
18
- return t("svg", { key: "b27fe7513bb484fa3e0a34d57fb39d8927ae4d4b", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "7346c2e54990e5661304ec2b5a2f6c13e806467f", d: "M7 0C4.79086 0 3 1.79086 3 4C3 6.20914 4.79086 8 7 8C9.20914 8 11 6.20914 11 4C11 1.79086 9.20914 0 7 0ZM4 4C4 2.34315 5.34315 1 7 1C8.65685 1 10 2.34315 10 4C10 5.65685 8.65685 7 7 7C5.34315 7 4 5.65685 4 4ZM2.00873 9C0.903151 9 0 9.88687 0 11C0 12.6912 0.83281 13.9663 2.13499 14.7966C3.41697 15.614 5.14526 16 7 16C8.85474 16 10.583 15.614 11.865 14.7966C13.1672 13.9663 14 12.6912 14 11C14 9.89557 13.1045 9.00001 12 9.00001L2.00873 9ZM1 11C1 10.4467 1.44786 10 2.00873 10L12 10C12.5522 10 13 10.4478 13 11C13 12.3088 12.3777 13.2837 11.3274 13.9534C10.2568 14.636 8.73511 15 7 15C5.26489 15 3.74318 14.636 2.67262 13.9534C1.62226 13.2837 1 12.3088 1 11Z", fill: "currentColor" }));
18
+ return t("svg", { key: "2fb0a78fae1d4ddf552207e44b9ce63e785ca8df", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "3574c670090c1df5b950388211e0916903c50be8", d: "M7 0C4.79086 0 3 1.79086 3 4C3 6.20914 4.79086 8 7 8C9.20914 8 11 6.20914 11 4C11 1.79086 9.20914 0 7 0ZM4 4C4 2.34315 5.34315 1 7 1C8.65685 1 10 2.34315 10 4C10 5.65685 8.65685 7 7 7C5.34315 7 4 5.65685 4 4ZM2.00873 9C0.903151 9 0 9.88687 0 11C0 12.6912 0.83281 13.9663 2.13499 14.7966C3.41697 15.614 5.14526 16 7 16C8.85474 16 10.583 15.614 11.865 14.7966C13.1672 13.9663 14 12.6912 14 11C14 9.89557 13.1045 9.00001 12 9.00001L2.00873 9ZM1 11C1 10.4467 1.44786 10 2.00873 10L12 10C12.5522 10 13 10.4478 13 11C13 12.3088 12.3777 13.2837 11.3274 13.9534C10.2568 14.636 8.73511 15 7 15C5.26489 15 3.74318 14.636 2.67262 13.9534C1.62226 13.2837 1 12.3088 1 11Z", fill: "currentColor" }));
19
19
  }
20
20
  };
21
21
  h.style = n;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-769f0fdd.cjs");require("react");require("react-dom");const i=".sc-clock-icon-h{display:flex}",n=i,s=class{constructor(t){e.registerInstance(this,t),this.width="16",this.height="16"}render(){return e.h("svg",{key:"8f7efe21747ae4e4ede2695e9f542afa619260c2",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"74d1d3f7bd58fb6d4bebe200ec2627f4cd41a60a",d:"M8 0.5C12.1421 0.5 15.5 3.85786 15.5 8C15.5 12.1421 12.1421 15.5 8 15.5C3.85786 15.5 0.5 12.1421 0.5 8C0.5 3.85786 3.85786 0.5 8 0.5ZM8 1.4375C4.37563 1.4375 1.4375 4.37563 1.4375 8C1.4375 11.6244 4.37563 14.5625 8 14.5625C11.6244 14.5625 14.5625 11.6244 14.5625 8C14.5625 4.37563 11.6244 1.4375 8 1.4375ZM7.53125 3.3125C7.76137 3.3125 7.95276 3.47832 7.99245 3.69699L8 3.78125V8H10.3438C10.6026 8 10.8125 8.20987 10.8125 8.46875C10.8125 8.69887 10.6467 8.89026 10.428 8.92995L10.3438 8.9375H7.53125C7.30113 8.9375 7.10974 8.77168 7.07005 8.55301L7.0625 8.46875V3.78125C7.0625 3.52237 7.27237 3.3125 7.53125 3.3125Z",fill:"currentColor"}))}};s.style=n;const o=".sc-person-icon-h{display:flex}",C=o,c=class{constructor(t){e.registerInstance(this,t),this.width="14",this.height="16"}render(){return e.h("svg",{key:"b27fe7513bb484fa3e0a34d57fb39d8927ae4d4b",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"7346c2e54990e5661304ec2b5a2f6c13e806467f",d:"M7 0C4.79086 0 3 1.79086 3 4C3 6.20914 4.79086 8 7 8C9.20914 8 11 6.20914 11 4C11 1.79086 9.20914 0 7 0ZM4 4C4 2.34315 5.34315 1 7 1C8.65685 1 10 2.34315 10 4C10 5.65685 8.65685 7 7 7C5.34315 7 4 5.65685 4 4ZM2.00873 9C0.903151 9 0 9.88687 0 11C0 12.6912 0.83281 13.9663 2.13499 14.7966C3.41697 15.614 5.14526 16 7 16C8.85474 16 10.583 15.614 11.865 14.7966C13.1672 13.9663 14 12.6912 14 11C14 9.89557 13.1045 9.00001 12 9.00001L2.00873 9ZM1 11C1 10.4467 1.44786 10 2.00873 10L12 10C12.5522 10 13 10.4478 13 11C13 12.3088 12.3777 13.2837 11.3274 13.9534C10.2568 14.636 8.73511 15 7 15C5.26489 15 3.74318 14.636 2.67262 13.9534C1.62226 13.2837 1 12.3088 1 11Z",fill:"currentColor"}))}};c.style=C;exports.clock_icon=s;exports.person_icon=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-d36b8fb8.cjs");require("react");require("react-dom");const i=".sc-clock-icon-h{display:flex}",n=i,s=class{constructor(t){e.registerInstance(this,t),this.width="16",this.height="16"}render(){return e.h("svg",{key:"63d2d06255adf5ee8ba71b9ae22c27a92b9a069b",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"79770fc09cc2b4c2d715ff15529a6e8f525ddd1c",d:"M8 0.5C12.1421 0.5 15.5 3.85786 15.5 8C15.5 12.1421 12.1421 15.5 8 15.5C3.85786 15.5 0.5 12.1421 0.5 8C0.5 3.85786 3.85786 0.5 8 0.5ZM8 1.4375C4.37563 1.4375 1.4375 4.37563 1.4375 8C1.4375 11.6244 4.37563 14.5625 8 14.5625C11.6244 14.5625 14.5625 11.6244 14.5625 8C14.5625 4.37563 11.6244 1.4375 8 1.4375ZM7.53125 3.3125C7.76137 3.3125 7.95276 3.47832 7.99245 3.69699L8 3.78125V8H10.3438C10.6026 8 10.8125 8.20987 10.8125 8.46875C10.8125 8.69887 10.6467 8.89026 10.428 8.92995L10.3438 8.9375H7.53125C7.30113 8.9375 7.10974 8.77168 7.07005 8.55301L7.0625 8.46875V3.78125C7.0625 3.52237 7.27237 3.3125 7.53125 3.3125Z",fill:"currentColor"}))}};s.style=n;const o=".sc-person-icon-h{display:flex}",C=o,c=class{constructor(t){e.registerInstance(this,t),this.width="14",this.height="16"}render(){return e.h("svg",{key:"2fb0a78fae1d4ddf552207e44b9ce63e785ca8df",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"3574c670090c1df5b950388211e0916903c50be8",d:"M7 0C4.79086 0 3 1.79086 3 4C3 6.20914 4.79086 8 7 8C9.20914 8 11 6.20914 11 4C11 1.79086 9.20914 0 7 0ZM4 4C4 2.34315 5.34315 1 7 1C8.65685 1 10 2.34315 10 4C10 5.65685 8.65685 7 7 7C5.34315 7 4 5.65685 4 4ZM2.00873 9C0.903151 9 0 9.88687 0 11C0 12.6912 0.83281 13.9663 2.13499 14.7966C3.41697 15.614 5.14526 16 7 16C8.85474 16 10.583 15.614 11.865 14.7966C13.1672 13.9663 14 12.6912 14 11C14 9.89557 13.1045 9.00001 12 9.00001L2.00873 9ZM1 11C1 10.4467 1.44786 10 2.00873 10L12 10C12.5522 10 13 10.4478 13 11C13 12.3088 12.3777 13.2837 11.3274 13.9534C10.2568 14.636 8.73511 15 7 15C5.26489 15 3.74318 14.636 2.67262 13.9534C1.62226 13.2837 1 12.3088 1 11Z",fill:"currentColor"}))}};c.style=C;exports.clock_icon=s;exports.person_icon=c;