@nylas/react 1.1.0-canary.21 → 1.1.0-canary.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{add-circle-icon_2.entry-b8d6df60.js → add-circle-icon_2.entry-404b178a.js} +5 -5
- package/dist/{add-circle-icon_2.entry-29cc2385.cjs → add-circle-icon_2.entry-d44a0d4b.cjs} +1 -1
- package/dist/{archive-icon_7.entry-afaef817.cjs → archive-icon_7.entry-1c2e5b68.cjs} +1 -1
- package/dist/{archive-icon_7.entry-3830776a.js → archive-icon_7.entry-d14abebc.js} +16 -16
- package/dist/{arrow-icon.entry-460cdd9f.cjs → arrow-icon.entry-61290104.cjs} +1 -1
- package/dist/arrow-icon.entry-8dd5bfb5.js +15 -0
- package/dist/{bold-icon_3.entry-1893eeec.cjs → bold-icon_3.entry-c5502b92.cjs} +1 -1
- package/dist/{bold-icon_3.entry-80abafbb.js → bold-icon_3.entry-cc7319da.js} +4 -4
- package/dist/{button-component.entry-36137536.js → button-component.entry-71de5b6b.js} +2 -2
- package/dist/{button-component.entry-b78dc39e.cjs → button-component.entry-92c46833.cjs} +1 -1
- package/dist/{calendar-agenda-fill-icon_40.entry-62c66fce.cjs → calendar-agenda-fill-icon_40.entry-242956c2.cjs} +3 -3
- package/dist/{calendar-agenda-fill-icon_40.entry-f19d6ad7.js → calendar-agenda-fill-icon_40.entry-b33080d8.js} +135 -135
- package/dist/{calendar-cancel-icon.entry-0d83ee82.cjs → calendar-cancel-icon.entry-bbf56125.cjs} +1 -1
- package/dist/{calendar-cancel-icon.entry-1fae00c5.js → calendar-cancel-icon.entry-fcc89777.js} +2 -2
- package/dist/{calendar-check-icon_2.entry-e01c9028.cjs → calendar-check-icon_2.entry-64d553de.cjs} +1 -1
- package/dist/{calendar-check-icon_2.entry-159c38af.js → calendar-check-icon_2.entry-e7691b84.js} +5 -5
- package/dist/{calendar-icon.entry-3af9cb76.js → calendar-icon.entry-6375e3ed.js} +4 -4
- package/dist/{calendar-icon.entry-2e701aab.cjs → calendar-icon.entry-9cea89bc.cjs} +1 -1
- package/dist/{checkbox-component_2.entry-5eee51f6.js → checkbox-component_2.entry-751f4638.js} +3 -3
- package/dist/{checkbox-component_2.entry-9ff2c85b.cjs → checkbox-component_2.entry-9a89cf14.cjs} +1 -1
- package/dist/{checkmark-icon.entry-0749b942.js → checkmark-icon.entry-136b682c.js} +4 -4
- package/dist/{checkmark-icon.entry-f96f1117.cjs → checkmark-icon.entry-6bca8604.cjs} +1 -1
- package/dist/{chevron-icon_3.entry-c3989df2.cjs → chevron-icon_3.entry-97c91007.cjs} +1 -1
- package/dist/{chevron-icon_3.entry-2e9eebbc.js → chevron-icon_3.entry-b4995425.js} +13 -13
- package/dist/{clock-icon_4.entry-d4563931.cjs → clock-icon_4.entry-cd6ac47d.cjs} +1 -1
- package/dist/{clock-icon_4.entry-9395d0cb.js → clock-icon_4.entry-d2e007e5.js} +19 -19
- package/dist/close-icon.entry-d1348fa8.cjs +1 -0
- package/dist/close-icon.entry-d4d4da48.js +15 -0
- package/dist/{constants-67de2eec-b17f5b96.js → constants-67de2eec-31cbc722.js} +1 -1
- package/dist/{constants-67de2eec-e3b50fc6.cjs → constants-67de2eec-8286f29c.cjs} +1 -1
- package/dist/{copy-icon_3.entry-7b276fa2.js → copy-icon_3.entry-e41eb1a0.js} +7 -7
- package/dist/{copy-icon_3.entry-7de3667f.cjs → copy-icon_3.entry-f614fc20.cjs} +1 -1
- package/dist/document-refresh-icon.entry-12833775.cjs +1 -0
- package/dist/{document-refresh-icon.entry-6dd65cb6.js → document-refresh-icon.entry-817322ba.js} +5 -5
- package/dist/{elements-dc5b338e-158dce67.cjs → elements-dc5b338e-3a8522b8.cjs} +1 -1
- package/dist/{elements-dc5b338e-5e8a704b.js → elements-dc5b338e-d885666f.js} +1 -1
- package/dist/{focus-visible-e8093c16-5883a317.cjs → focus-visible-e8093c16-17bb48f2.cjs} +1 -1
- package/dist/{focus-visible-e8093c16-9d88e8ee.js → focus-visible-e8093c16-78717e30.js} +1 -1
- package/dist/{forward-icon_6.entry-a59dada5.cjs → forward-icon_6.entry-074fd345.cjs} +3 -3
- package/dist/{forward-icon_6.entry-acdf04ad.js → forward-icon_6.entry-39b55b30.js} +9 -9
- package/dist/{globe-icon.entry-389c0391.js → globe-icon.entry-a1875d7e.js} +2 -2
- package/dist/{globe-icon.entry-eef27331.cjs → globe-icon.entry-dee4c2b0.cjs} +1 -1
- package/dist/{google-logo-icon_4.entry-eae19fc8.js → google-logo-icon_4.entry-3c3101ea.js} +25 -25
- package/dist/{google-logo-icon_4.entry-e9be320c.cjs → google-logo-icon_4.entry-44c3f539.cjs} +1 -1
- package/dist/{index-db48e0b6.cjs → index-26f8bbeb.cjs} +2 -2
- package/dist/index-53420959-a444c1cf.cjs +1 -0
- package/dist/index-53420959-b26d1293.js +5 -0
- package/dist/{index-f8317a8e.js → index-5da0aff3.js} +48 -48
- package/dist/{index-6d9eeb53-15c69801.cjs → index-6d9eeb53-b71b16c5.cjs} +1 -1
- package/dist/{index-6d9eeb53-c70fc8a7.js → index-6d9eeb53-f37ff819.js} +2 -2
- package/dist/{index.es-b16d0cf5-d7f30c4a.cjs → index.es-b16d0cf5-4ce1fb63.cjs} +1 -1
- package/dist/{index.es-b16d0cf5-386496a9.js → index.es-b16d0cf5-b1cecbdd.js} +1 -1
- package/dist/{info-icon_2.entry-63914227.cjs → info-icon_2.entry-67a3e2c3.cjs} +1 -1
- package/dist/{info-icon_2.entry-97d75550.js → info-icon_2.entry-6fd10047.js} +5 -5
- package/dist/{input-dropdown.entry-629d7b54.cjs → input-dropdown.entry-701ab8b7.cjs} +1 -1
- package/dist/{input-dropdown.entry-4d29246a.js → input-dropdown.entry-e677224a.js} +2 -2
- package/dist/loading-icon.entry-3f54b204.js +15 -0
- package/dist/loading-icon.entry-558c2382.cjs +1 -0
- package/dist/{mailbox-store-f11de360-d781fd36.js → mailbox-store-f11de360-79ba75b1.js} +2 -2
- package/dist/{mailbox-store-f11de360-02a6de93.cjs → mailbox-store-f11de360-8f269e26.cjs} +1 -1
- package/dist/{multi-select-dropdown.entry-68fcca98.cjs → multi-select-dropdown.entry-d053b2fb.cjs} +1 -1
- package/dist/{multi-select-dropdown.entry-8e14e9af.js → multi-select-dropdown.entry-e46f5cfb.js} +2 -2
- package/dist/nylas-booked-event-card_10.entry-32911b16.cjs +1 -0
- package/dist/{nylas-booked-event-card_10.entry-9487941d.js → nylas-booked-event-card_10.entry-545261f6.js} +72 -72
- package/dist/{nylas-custom-booking-flow.entry-338b0a8f.cjs → nylas-custom-booking-flow.entry-49b82a11.cjs} +1 -1
- package/dist/{nylas-custom-booking-flow.entry-0e16973b.js → nylas-custom-booking-flow.entry-6639c5fb.js} +6 -6
- package/dist/{nylas-form-card.entry-ccfa5692.js → nylas-form-card.entry-7d69820f.js} +16 -16
- package/dist/{nylas-form-card.entry-ca669dea.cjs → nylas-form-card.entry-a063402d.cjs} +1 -1
- package/dist/{nylas-if-state.entry-faa11bb6.cjs → nylas-if-state.entry-54a6948f.cjs} +1 -1
- package/dist/{nylas-if-state.entry-93935670.js → nylas-if-state.entry-9e7df799.js} +3 -3
- package/dist/{nylas-list-folders.entry-14fc1fe8.js → nylas-list-folders.entry-013ffceb.js} +3 -3
- package/dist/{nylas-list-folders.entry-e7e179ea.cjs → nylas-list-folders.entry-d08423d4.cjs} +1 -1
- package/dist/{nylas-list-threads.entry-3f52fc06.cjs → nylas-list-threads.entry-be9bc422.cjs} +1 -1
- package/dist/{nylas-list-threads.entry-2118b146.js → nylas-list-threads.entry-d3f575a5.js} +3 -3
- package/dist/{nylas-login.entry-87a902d6.js → nylas-login.entry-d82e8ee0.js} +7 -7
- package/dist/{nylas-login.entry-915f0284.cjs → nylas-login.entry-e7015d8f.cjs} +1 -1
- package/dist/{nylas-mailbox-pagination.entry-9aa8a606.cjs → nylas-mailbox-pagination.entry-22866764.cjs} +1 -1
- package/dist/{nylas-mailbox-pagination.entry-eedbf796.js → nylas-mailbox-pagination.entry-99339476.js} +2 -2
- package/dist/{nylas-mailbox-toolbar-button.entry-ba5b826e.cjs → nylas-mailbox-toolbar-button.entry-09faed21.cjs} +1 -1
- package/dist/{nylas-mailbox-toolbar-button.entry-40b75810.js → nylas-mailbox-toolbar-button.entry-b8929b00.js} +7 -7
- package/dist/{nylas-mailbox.entry-179e5a5c.js → nylas-mailbox.entry-6e8d4f9c.js} +4 -4
- package/dist/{nylas-mailbox.entry-31de7f8f.cjs → nylas-mailbox.entry-91ca6af1.cjs} +1 -1
- package/dist/{nylas-provider.entry-46fe01b6.cjs → nylas-provider.entry-b80d5e74.cjs} +1 -1
- package/dist/{nylas-provider.entry-7b70bbdc.js → nylas-provider.entry-cc32369c.js} +8 -8
- package/dist/{nylas-scheduler-editor.entry-f1f80de1.js → nylas-scheduler-editor.entry-5e0475d8.js} +5 -5
- package/dist/{nylas-scheduler-editor.entry-76b68f66.cjs → nylas-scheduler-editor.entry-c7f7bf6c.cjs} +2 -2
- package/dist/{nylas-scheduling.entry-3ce8c52f.cjs → nylas-scheduling.entry-047cd53a.cjs} +1 -1
- package/dist/{nylas-scheduling.entry-31d13205.js → nylas-scheduling.entry-c79596db.js} +30 -34
- package/dist/{nylas-threads-refresh.entry-a3ea46aa.js → nylas-threads-refresh.entry-e200efb9.js} +4 -4
- package/dist/{nylas-threads-refresh.entry-c9f9db8c.cjs → nylas-threads-refresh.entry-ef2ad409.cjs} +1 -1
- package/dist/{nylas-threads-search.entry-01482ddf.js → nylas-threads-search.entry-85a0bc7d.js} +5 -5
- package/dist/{nylas-threads-search.entry-a4ab0d47.cjs → nylas-threads-search.entry-a260ce6f.cjs} +1 -1
- package/dist/{nylas-time-window-picker.entry-5f063b2b.js → nylas-time-window-picker.entry-c9b2a7ca.js} +2 -2
- package/dist/{nylas-time-window-picker.entry-5a3bb0b7.cjs → nylas-time-window-picker.entry-cb33b696.cjs} +1 -1
- package/dist/{nylas-view-thread.entry-82e78b82.cjs → nylas-view-thread.entry-219511ac.cjs} +1 -1
- package/dist/{nylas-view-thread.entry-cb057b9e.js → nylas-view-thread.entry-f302c441.js} +3 -3
- package/dist/{person-icon.entry-78cdc7f9.cjs → person-icon.entry-6b20ac42.cjs} +1 -1
- package/dist/{person-icon.entry-3e30c63c.js → person-icon.entry-8f8b928f.js} +4 -4
- package/dist/{play-icon_2.entry-71eaad5c.js → play-icon_2.entry-3aa92414.js} +6 -6
- package/dist/{play-icon_2.entry-4fb1938c.cjs → play-icon_2.entry-c8114634.cjs} +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +1 -1
- package/dist/{refresh-icon.entry-db85d14d.js → refresh-icon.entry-0d80c9c5.js} +4 -4
- package/dist/{refresh-icon.entry-3570353d.cjs → refresh-icon.entry-de5001c7.cjs} +1 -1
- package/dist/{register-component-b2a51b20-9a913603.cjs → register-component-b2a51b20-09664950.cjs} +1 -1
- package/dist/{register-component-b2a51b20-8a262dcf.js → register-component-b2a51b20-ea46761a.js} +1 -1
- package/dist/{scheduler-config-store-9ccfba4d-a6745ccc.js → scheduler-config-store-9ccfba4d-92cb99d1.js} +1 -1
- package/dist/{scheduler-config-store-9ccfba4d-6806e3cb.cjs → scheduler-config-store-9ccfba4d-a677e77b.cjs} +1 -1
- package/dist/{scheduler-store-db06b30a-d5e6b6c3.cjs → scheduler-store-db06b30a-08429fc9.cjs} +1 -1
- package/dist/{scheduler-store-db06b30a-1e63b67f.js → scheduler-store-db06b30a-cee61c58.js} +1 -1
- package/dist/{textarea-component.entry-be870b8f.cjs → textarea-component.entry-670f72a7.cjs} +1 -1
- package/dist/{textarea-component.entry-f5f402a1.js → textarea-component.entry-c2d1900c.js} +4 -4
- package/dist/{time-period-selector.entry-fc7d61c6.cjs → time-period-selector.entry-3ccfc000.cjs} +1 -1
- package/dist/{time-period-selector.entry-d1a8470b.js → time-period-selector.entry-a03b1ce1.js} +6 -6
- package/dist/{translate-icon.entry-b91a0449.js → translate-icon.entry-8a2878ba.js} +4 -4
- package/dist/{translate-icon.entry-3ae0ddae.cjs → translate-icon.entry-b483f6b3.cjs} +1 -1
- package/dist/{warning-icon.entry-acdc811b.js → warning-icon.entry-68b3f25e.js} +7 -7
- package/dist/{warning-icon.entry-54127f45.cjs → warning-icon.entry-784f7818.cjs} +1 -1
- package/package.json +3 -3
- package/dist/arrow-icon.entry-19f00716.js +0 -15
- package/dist/close-icon.entry-cf9f0a69.js +0 -15
- package/dist/close-icon.entry-e24af309.cjs +0 -1
- package/dist/document-refresh-icon.entry-582ac233.cjs +0 -1
- package/dist/index-53420959-82a5306f.cjs +0 -1
- package/dist/index-53420959-9b1699ec.js +0 -5
- package/dist/loading-icon.entry-2f15a09f.cjs +0 -1
- package/dist/loading-icon.entry-fc9bc740.js +0 -15
- package/dist/nylas-booked-event-card_10.entry-4da23b61.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as s, h as t, c as r } from "./index-
|
|
2
|
-
import { s as a } from "./index-6d9eeb53-
|
|
3
|
-
import "./index-53420959-
|
|
1
|
+
import { r as s, h as t, c as r } from "./index-5da0aff3.js";
|
|
2
|
+
import { s as a } from "./index-6d9eeb53-f37ff819.js";
|
|
3
|
+
import "./index-53420959-b26d1293.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
const l = ".sc-add-circle-icon-h{display:flex}", i = l, n = class {
|
|
@@ -8,7 +8,7 @@ const l = ".sc-add-circle-icon-h{display:flex}", i = l, n = class {
|
|
|
8
8
|
s(this, e), this.width = "24", this.height = "25";
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return t("svg", { key: "
|
|
11
|
+
return t("svg", { key: "b4025f8db648f701317fcd36d3234f5e7e460dd3", width: this.width, height: this.height, fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "efbf9975ed8a5dc3362d55ce1d980f6a671c7a53", d: "M12 2.5c5.523 0 10 4.477 10 10s-4.477 10-10 10-10-4.477-10-10 4.477-10 10-10ZM12 4a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17Zm0 3.5a.75.75 0 0 1 .75.75v3.5h3.5a.75.75 0 0 1 0 1.5h-3.5v3.5a.75.75 0 0 1-1.5 0v-3.5h-3.5a.75.75 0 0 1 0-1.5h3.5v-3.5A.75.75 0 0 1 12 7.5Z", fill: "currentColor" }));
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
n.style = i;
|
|
@@ -54,7 +54,7 @@ const o = ':host{display:block;height:auto;--nylas-primary:#2563eb;--nylas-error
|
|
|
54
54
|
!this.pattern || !e && !this.required || (this.pattern.test(e) ? this.error = "" : this.error = this.patternError || "Invalid format.");
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return t("label", { key: "
|
|
57
|
+
return t("label", { key: "3b143ce109dc5f0f1da674e74c207c3dd8cbdbfe", part: "ic__label", class: { error: !!this.error } }, this.label && t("p", null, t("span", { class: "label" }, this.label), this.required && t("span", { class: "required" }, "*")), t("div", { key: "d9618bce777e05df8054e071fd0ea5f2829c8a61", part: "ic__input_wrapper", class: "input_wrapper" }, t("input", { key: "e11d543c75f8da64e06e2cbc69dd1ec68abaa98d", type: "text", name: this.name, part: "ic__input", readOnly: this.readOnly, autoFocus: this.autoFocus, value: this.value, maxLength: this.maxLength, placeholder: this.placeholder, class: { error: !!this.error }, onInput: (e) => this.handleInput(e), onBlur: () => this.handleBlur() }), t("slot", { key: "f95890e83b200fd3908ffdc9bd0099df25b7f8ea", name: "additional-input" })), this.error && t("span", { class: "error help-text" }, this.error));
|
|
58
58
|
}
|
|
59
59
|
static get watchers() {
|
|
60
60
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-26f8bbeb.cjs"),a=require("./index-6d9eeb53-b71b16c5.cjs");require("./index-53420959-a444c1cf.cjs");require("react");require("react-dom");const i=".sc-add-circle-icon-h{display:flex}",l=i,r=class{constructor(e){t.registerInstance(this,e),this.width="24",this.height="25"}render(){return t.h("svg",{key:"b4025f8db648f701317fcd36d3234f5e7e460dd3",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"efbf9975ed8a5dc3362d55ce1d980f6a671c7a53",d:"M12 2.5c5.523 0 10 4.477 10 10s-4.477 10-10 10-10-4.477-10-10 4.477-10 10-10ZM12 4a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17Zm0 3.5a.75.75 0 0 1 .75.75v3.5h3.5a.75.75 0 0 1 0 1.5h-3.5v3.5a.75.75 0 0 1-1.5 0v-3.5h-3.5a.75.75 0 0 1 0-1.5h3.5v-3.5A.75.75 0 0 1 12 7.5Z",fill:"currentColor"}))}};r.style=l;const n=':host{display:block;height:auto;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;width:100%}label{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%;flex-direction:column;gap:4px;font-family:var(--nylas-font-family);font-size:16px;color:var(--nylas-base-800)}label.error{color:var(--nylas-error)}label span.required{color:var(--nylas-error);padding:0 0.25rem}label p{margin:0}label .error{color:var(--nylas-error)}.input_wrapper{display:flex;align-items:center;gap:1rem}input[type=text],input[type=email]{display:flex;height:48px;padding-left:16px;align-items:center;gap:8px;align-self:stretch;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-300);background:var(--nylas-base-0);width:-webkit-fill-available;color:var(--nylas-base-900);font-size:16px;font-style:normal;font-weight:400;line-height:150%;width:-moz-available;width:-webkit-fill-available}input[type=text]:focus,input[type=email]:focus{outline-color:var(--nylas-primary)}input[type=text].error,input[type=email].error{border-radius:var(--nylas-border-radius-2x);font-weight:600;border-color:var(--nylas-error);border-width:2px}input[type=text].error::placeholder,input[type=email].error::placeholder{font-weight:400}input[type=text]::placeholder,input[type=email]::placeholder{color:var(--nylas-base-300)}',o=n,h={email:/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/,phone_number:/^[0-9]{10}$/},d={email:"name@example.com",phone_number:"1234567890"},s=class{constructor(e){t.registerInstance(this,e),this.nylasFormInputChanged=t.createEvent(this,"nylasFormInputChanged",7),this.nylasFormInputBlurred=t.createEvent(this,"nylasFormInputBlurred",7),this.name="input",this.defaultValue="",this.label="",this.type="text",this.placeholder=d[this.type],this.required=!1,this.readOnly=!1,this.autoFocus=!1,this.pattern=void 0,this.maxLength=255,this.patternError="",this.requiredError="",this.value="",this.error=""}handleDefaultValueChange(e){this.value=a.sanitizeHtml$1(e),this.value&&this.validatePattern(this.value)}componentWillLoad(){this.value=a.sanitizeHtml$1(this.defaultValue),this.type!=="text"&&!this.pattern&&(this.pattern=h[this.type]),this.value&&this.validatePattern(this.value)}handleBookingFormSubmitted(e){this.validatePattern(this.value),this.error&&e.preventDefault()}handleInput(e){this.error="",this.value=a.sanitizeHtml$1(e.target.value),this.nylasFormInputChanged.emit({value:this.value,name:this.name,label:this.label,error:this.error,type:this.type})}handleBlur(){this.nylasFormInputBlurred.emit({value:this.value,name:this.name})}validatePattern(e){if(this.error="",this.required&&!e){this.error=this.requiredError||"This field is required.";return}!this.pattern||!e&&!this.required||(this.pattern.test(e)?this.error="":this.error=this.patternError||"Invalid format.")}render(){return t.h("label",{key:"3b143ce109dc5f0f1da674e74c207c3dd8cbdbfe",part:"ic__label",class:{error:!!this.error}},this.label&&t.h("p",null,t.h("span",{class:"label"},this.label),this.required&&t.h("span",{class:"required"},"*")),t.h("div",{key:"d9618bce777e05df8054e071fd0ea5f2829c8a61",part:"ic__input_wrapper",class:"input_wrapper"},t.h("input",{key:"e11d543c75f8da64e06e2cbc69dd1ec68abaa98d",type:"text",name:this.name,part:"ic__input",readOnly:this.readOnly,autoFocus:this.autoFocus,value:this.value,maxLength:this.maxLength,placeholder:this.placeholder,class:{error:!!this.error},onInput:e=>this.handleInput(e),onBlur:()=>this.handleBlur()}),t.h("slot",{key:"f95890e83b200fd3908ffdc9bd0099df25b7f8ea",name:"additional-input"})),this.error&&t.h("span",{class:"error help-text"},this.error))}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}};s.style=o;exports.add_circle_icon=r;exports.input_component=s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-26f8bbeb.cjs");require("react");require("react-dom");const r=".sc-archive-icon-h{display:flex}",n=r,s=class{constructor(e){t.registerInstance(this,e),this.width="15",this.height="15"}render(){return t.h("svg",{key:"ca24d31ea77acb418feef00fc3269850db7cab30",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"5ef0715e58a3e69e41a2e4088e6e0f54b1860c75",d:"M3 6H5H21",stroke:"auto","stroke-width":"1.5"}),t.h("path",{key:"1e1a1e70a6c7d7f46b5079aa84bee048dae54094",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.h("path",{key:"8e7ada33bbd816199d0df34e9fc8404c05dff113",d:"M10 11V17",stroke:"auto","stroke-width":"1.5"}),t.h("path",{key:"074a58a98cb4348b90e8720e86fa9b2e5a1c3a32",d:"M14 11V17",stroke:"auto","stroke-width":"1.5"}))}};s.style=n;const f=".sc-folder-icon-h{display:flex}",l=f,h=class{constructor(e){t.registerInstance(this,e),this.width="15",this.height="15"}render(){return t.h("svg",{key:"42c8613224bf8d16adab5655f1c7d8e24dcaa37a",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"ccf5f8b1ddc4d11c4c6ffa39a1567b31f6328a70",d:"M3 8.2C3 7.07989 3 6.51984 3.21799 6.09202C3.40973 5.71569 3.71569 5.40973 4.09202 5.21799C4.51984 5 5.0799 5 6.2 5H9.67452C10.1637 5 10.4083 5 10.6385 5.05526C10.8425 5.10425 11.0376 5.18506 11.2166 5.29472C11.4184 5.4184 11.5914 5.59135 11.9373 5.93726L12.0627 6.06274C12.4086 6.40865 12.5816 6.5816 12.7834 6.70528C12.9624 6.81494 13.1575 6.89575 13.3615 6.94474C13.5917 7 13.8363 7 14.3255 7H17.8C18.9201 7 19.4802 7 19.908 7.21799C20.2843 7.40973 20.5903 7.71569 20.782 8.09202C21 8.51984 21 9.0799 21 10.2V15.8C21 16.9201 21 17.4802 20.782 17.908C20.5903 18.2843 20.2843 18.5903 19.908 18.782C19.4802 19 18.9201 19 17.8 19H6.2C5.07989 19 4.51984 19 4.09202 18.782C3.71569 18.5903 3.40973 18.2843 3.21799 17.908C3 17.4802 3 16.9201 3 15.8V8.2Z",stroke:"auto","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}))}};h.style=l;const w=".sc-inbox-icon-h{display:flex}",C=w,i=class{constructor(e){t.registerInstance(this,e),this.width="15",this.height="15"}render(){return t.h("svg",{key:"5aea87a70e3fd0d4db9231f986662a0e51d5225e",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"fa755f7158848e3bf9573b40f4feea7db22096f1",d:"M20 3H4C2.89543 3 2 3.89543 2 5V19C2 20.1046 2.89543 21 4 21H20C21.1046 21 22 20.1046 22 19V5C22 3.89543 21.1046 3 20 3Z",stroke:"auto","stroke-width":"1.5"}),t.h("path",{key:"937b7bd49b6c8c7970012f8072710ff501210c9c",d:"M2 5L12 12.5L22 5",stroke:"auto","stroke-width":"1.5"}))}};i.style=C;const k=".sc-sent-icon-h{display:flex}",b=k,c=class{constructor(e){t.registerInstance(this,e),this.width="15",this.height="15"}render(){return t.h("svg",{key:"538a9fdb5c1c37e2bcfb7ac8b2afd774e9aa2060",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"ad85c1bf9a25fc2dc21feabd6dba769b4f43144d",d:"M21.5 12L3.5 3.5L3.5 20.5L21.5 12Z",stroke:"auto","stroke-width":"1.5"}),t.h("path",{key:"ffb971251bd55675a945b564ace12f1fd0faee98",d:"M3.5 3.5L12 10.5",stroke:"auto","stroke-width":"1.5"}),t.h("path",{key:"9d299c2e4402cf262c536aaa6109f26234f5554a",d:"M3.5 20.5L12 13.5",stroke:"auto","stroke-width":"1.5"}))}};c.style=b;const g=".sc-spam-icon-h{display:flex}",y=g,o=class{constructor(e){t.registerInstance(this,e),this.width="15",this.height="15"}render(){return t.h("svg",{key:"1c46281820c1bf94a2679498ee570128ef38c734",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"eabcf8c40834807a07b2fc45d0aa67678822369d",d:"M20 3H4C2.89543 3 2 3.89543 2 5V19C2 20.1046 2.89543 21 4 21H20C21.1046 21 22 20.1046 22 19V5C22 3.89543 21.1046 3 20 3Z",stroke:"auto","stroke-width":"1.5"}),t.h("path",{key:"8d058e4f96bb2766d0571f5a577ff76a0c696caf",d:"M2 5L12 12.5L22 5",stroke:"auto","stroke-width":"1.5"}))}};o.style=y;const u=".sc-star-icon-h{display:flex}",p=u,a=class{constructor(e){t.registerInstance(this,e),this.width="15",this.height="15"}render(){return t.h("svg",{key:"6e811c3f7846631b6ffd67512617e96adc9da3b0",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"de42fefe1575e3d2de268f2a11dadf91631a8246",d:"M9.15316 5.40838C10.4198 3.13613 11.0531 2 12 2C12.9469 2 13.5802 3.13612 14.8468 5.40837L15.1745 5.99623C15.5345 6.64193 15.7144 6.96479 15.9951 7.17781C16.2757 7.39083 16.6251 7.4699 17.3241 7.62805L17.9605 7.77203C20.4201 8.32856 21.65 8.60682 21.9426 9.54773C22.2352 10.4886 21.3968 11.4691 19.7199 13.4299L19.2861 13.9372C18.8096 14.4944 18.5713 14.773 18.4641 15.1177C18.357 15.4624 18.393 15.8341 18.465 16.5776L18.5306 17.2544C18.7841 19.8706 18.9109 21.1787 18.1449 21.7602C17.3788 22.3417 16.2273 21.8115 13.9243 20.7512L13.3285 20.4768C12.6741 20.1755 12.3469 20.0248 12 20.0248C11.6531 20.0248 11.3259 20.1755 10.6715 20.4768L10.0757 20.7512C7.77268 21.8115 6.62118 22.3417 5.85515 21.7602C5.08912 21.1787 5.21588 19.8706 5.4694 17.2544L5.53498 16.5776C5.60703 15.8341 5.64305 15.4624 5.53586 15.1177C5.42868 14.773 5.19043 14.4944 4.71392 13.9372L4.2801 13.4299C2.60325 11.4691 1.76482 10.4886 2.05742 9.54773C2.35002 8.60682 3.57986 8.32856 6.03954 7.77203L6.67589 7.62805C7.37485 7.4699 7.72433 7.39083 8.00494 7.17781C8.28555 6.96479 8.46553 6.64194 8.82547 5.99623L9.15316 5.40838Z",stroke:"auto","stroke-width":"1.5"}))}};a.style=p;const v=".sc-trash-fill-icon-h{display:flex}",x=v,d=class{constructor(e){t.registerInstance(this,e),this.width="15",this.height="15"}render(){return t.h("svg",{key:"357c2ea72ed86c2aaa002178ef738d6113a93be7",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"faa540ca357df8471491f62be081c6cc401edb3d",d:"M3 6H5H21",stroke:"auto","stroke-width":"1.5"}),t.h("path",{key:"a164dc1bb3b3018f77d94f4243ce32f2ab64d6ba",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.h("path",{key:"e9e9ac01597589ce73c17ac1f55b0b03743d00d1",d:"M10 11V17",stroke:"auto","stroke-width":"1.5"}),t.h("path",{key:"385f32c899f2f9ca0d2c328f00cb0f83fcc2bb22",d:"M14 11V17",stroke:"auto","stroke-width":"1.5"}))}};d.style=x;exports.archive_icon=s;exports.folder_icon=h;exports.inbox_icon=i;exports.sent_icon=c;exports.spam_icon=o;exports.star_icon=a;exports.trash_fill_icon=d;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { r as s, h as t } from "./index-
|
|
1
|
+
import { r as s, h as t } from "./index-5da0aff3.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
|
-
const o = ".sc-archive-icon-h{display:flex}", h = o,
|
|
4
|
+
const o = ".sc-archive-icon-h{display:flex}", h = o, a = class {
|
|
5
5
|
constructor(e) {
|
|
6
6
|
s(this, e), this.width = "15", this.height = "15";
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return t("svg", { key: "
|
|
9
|
+
return t("svg", { key: "ca24d31ea77acb418feef00fc3269850db7cab30", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "5ef0715e58a3e69e41a2e4088e6e0f54b1860c75", d: "M3 6H5H21", stroke: "auto", "stroke-width": "1.5" }), t("path", { key: "1e1a1e70a6c7d7f46b5079aa84bee048dae54094", 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: "8e7ada33bbd816199d0df34e9fc8404c05dff113", d: "M10 11V17", stroke: "auto", "stroke-width": "1.5" }), t("path", { key: "074a58a98cb4348b90e8720e86fa9b2e5a1c3a32", d: "M14 11V17", stroke: "auto", "stroke-width": "1.5" }));
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
|
-
|
|
13
|
-
const i = ".sc-folder-icon-h{display:flex}",
|
|
12
|
+
a.style = h;
|
|
13
|
+
const i = ".sc-folder-icon-h{display:flex}", c = i, d = class {
|
|
14
14
|
constructor(e) {
|
|
15
15
|
s(this, e), this.width = "15", this.height = "15";
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return t("svg", { key: "
|
|
18
|
+
return t("svg", { key: "42c8613224bf8d16adab5655f1c7d8e24dcaa37a", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "ccf5f8b1ddc4d11c4c6ffa39a1567b31f6328a70", d: "M3 8.2C3 7.07989 3 6.51984 3.21799 6.09202C3.40973 5.71569 3.71569 5.40973 4.09202 5.21799C4.51984 5 5.0799 5 6.2 5H9.67452C10.1637 5 10.4083 5 10.6385 5.05526C10.8425 5.10425 11.0376 5.18506 11.2166 5.29472C11.4184 5.4184 11.5914 5.59135 11.9373 5.93726L12.0627 6.06274C12.4086 6.40865 12.5816 6.5816 12.7834 6.70528C12.9624 6.81494 13.1575 6.89575 13.3615 6.94474C13.5917 7 13.8363 7 14.3255 7H17.8C18.9201 7 19.4802 7 19.908 7.21799C20.2843 7.40973 20.5903 7.71569 20.782 8.09202C21 8.51984 21 9.0799 21 10.2V15.8C21 16.9201 21 17.4802 20.782 17.908C20.5903 18.2843 20.2843 18.5903 19.908 18.782C19.4802 19 18.9201 19 17.8 19H6.2C5.07989 19 4.51984 19 4.09202 18.782C3.71569 18.5903 3.40973 18.2843 3.21799 17.908C3 17.4802 3 16.9201 3 15.8V8.2Z", stroke: "auto", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
|
-
|
|
21
|
+
d.style = c;
|
|
22
22
|
const r = ".sc-inbox-icon-h{display:flex}", n = r, f = class {
|
|
23
23
|
constructor(e) {
|
|
24
24
|
s(this, e), this.width = "15", this.height = "15";
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return t("svg", { key: "
|
|
27
|
+
return t("svg", { key: "5aea87a70e3fd0d4db9231f986662a0e51d5225e", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "fa755f7158848e3bf9573b40f4feea7db22096f1", d: "M20 3H4C2.89543 3 2 3.89543 2 5V19C2 20.1046 2.89543 21 4 21H20C21.1046 21 22 20.1046 22 19V5C22 3.89543 21.1046 3 20 3Z", stroke: "auto", "stroke-width": "1.5" }), t("path", { key: "937b7bd49b6c8c7970012f8072710ff501210c9c", d: "M2 5L12 12.5L22 5", stroke: "auto", "stroke-width": "1.5" }));
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
f.style = n;
|
|
@@ -33,25 +33,25 @@ const w = ".sc-sent-icon-h{display:flex}", l = w, C = class {
|
|
|
33
33
|
s(this, e), this.width = "15", this.height = "15";
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return t("svg", { key: "
|
|
36
|
+
return t("svg", { key: "538a9fdb5c1c37e2bcfb7ac8b2afd774e9aa2060", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "ad85c1bf9a25fc2dc21feabd6dba769b4f43144d", d: "M21.5 12L3.5 3.5L3.5 20.5L21.5 12Z", stroke: "auto", "stroke-width": "1.5" }), t("path", { key: "ffb971251bd55675a945b564ace12f1fd0faee98", d: "M3.5 3.5L12 10.5", stroke: "auto", "stroke-width": "1.5" }), t("path", { key: "9d299c2e4402cf262c536aaa6109f26234f5554a", d: "M3.5 20.5L12 13.5", stroke: "auto", "stroke-width": "1.5" }));
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
C.style = l;
|
|
40
|
-
const
|
|
40
|
+
const k = ".sc-spam-icon-h{display:flex}", b = k, y = class {
|
|
41
41
|
constructor(e) {
|
|
42
42
|
s(this, e), this.width = "15", this.height = "15";
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return t("svg", { key: "
|
|
45
|
+
return t("svg", { key: "1c46281820c1bf94a2679498ee570128ef38c734", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "eabcf8c40834807a07b2fc45d0aa67678822369d", d: "M20 3H4C2.89543 3 2 3.89543 2 5V19C2 20.1046 2.89543 21 4 21H20C21.1046 21 22 20.1046 22 19V5C22 3.89543 21.1046 3 20 3Z", stroke: "auto", "stroke-width": "1.5" }), t("path", { key: "8d058e4f96bb2766d0571f5a577ff76a0c696caf", d: "M2 5L12 12.5L22 5", stroke: "auto", "stroke-width": "1.5" }));
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
|
-
y.style =
|
|
48
|
+
y.style = b;
|
|
49
49
|
const g = ".sc-star-icon-h{display:flex}", p = g, u = class {
|
|
50
50
|
constructor(e) {
|
|
51
51
|
s(this, e), this.width = "15", this.height = "15";
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return t("svg", { key: "
|
|
54
|
+
return t("svg", { key: "6e811c3f7846631b6ffd67512617e96adc9da3b0", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "de42fefe1575e3d2de268f2a11dadf91631a8246", d: "M9.15316 5.40838C10.4198 3.13613 11.0531 2 12 2C12.9469 2 13.5802 3.13612 14.8468 5.40837L15.1745 5.99623C15.5345 6.64193 15.7144 6.96479 15.9951 7.17781C16.2757 7.39083 16.6251 7.4699 17.3241 7.62805L17.9605 7.77203C20.4201 8.32856 21.65 8.60682 21.9426 9.54773C22.2352 10.4886 21.3968 11.4691 19.7199 13.4299L19.2861 13.9372C18.8096 14.4944 18.5713 14.773 18.4641 15.1177C18.357 15.4624 18.393 15.8341 18.465 16.5776L18.5306 17.2544C18.7841 19.8706 18.9109 21.1787 18.1449 21.7602C17.3788 22.3417 16.2273 21.8115 13.9243 20.7512L13.3285 20.4768C12.6741 20.1755 12.3469 20.0248 12 20.0248C11.6531 20.0248 11.3259 20.1755 10.6715 20.4768L10.0757 20.7512C7.77268 21.8115 6.62118 22.3417 5.85515 21.7602C5.08912 21.1787 5.21588 19.8706 5.4694 17.2544L5.53498 16.5776C5.60703 15.8341 5.64305 15.4624 5.53586 15.1177C5.42868 14.773 5.19043 14.4944 4.71392 13.9372L4.2801 13.4299C2.60325 11.4691 1.76482 10.4886 2.05742 9.54773C2.35002 8.60682 3.57986 8.32856 6.03954 7.77203L6.67589 7.62805C7.37485 7.4699 7.72433 7.39083 8.00494 7.17781C8.28555 6.96479 8.46553 6.64194 8.82547 5.99623L9.15316 5.40838Z", stroke: "auto", "stroke-width": "1.5" }));
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
u.style = p;
|
|
@@ -60,13 +60,13 @@ const x = ".sc-trash-fill-icon-h{display:flex}", v = x, L = class {
|
|
|
60
60
|
s(this, e), this.width = "15", this.height = "15";
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return t("svg", { key: "
|
|
63
|
+
return t("svg", { key: "357c2ea72ed86c2aaa002178ef738d6113a93be7", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "auto", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "faa540ca357df8471491f62be081c6cc401edb3d", d: "M3 6H5H21", stroke: "auto", "stroke-width": "1.5" }), t("path", { key: "a164dc1bb3b3018f77d94f4243ce32f2ab64d6ba", 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: "e9e9ac01597589ce73c17ac1f55b0b03743d00d1", d: "M10 11V17", stroke: "auto", "stroke-width": "1.5" }), t("path", { key: "385f32c899f2f9ca0d2c328f00cb0f83fcc2bb22", d: "M14 11V17", stroke: "auto", "stroke-width": "1.5" }));
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
L.style = v;
|
|
67
67
|
export {
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
a as archive_icon,
|
|
69
|
+
d as folder_icon,
|
|
70
70
|
f as inbox_icon,
|
|
71
71
|
C as sent_icon,
|
|
72
72
|
y as spam_icon,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-26f8bbeb.cjs");require("react");require("react-dom");const o=".sc-arrow-icon-h{display:flex}",i=o,t=class{constructor(r){e.registerInstance(this,r),this.width="15",this.height="15"}render(){return e.h("svg",{key:"c591258b1d07b3f8f87bf2e47a29155d01e1a553",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"5feb81bed066a2bdda04b028cfd0b31d3e6f9320",d:"M5 12H19M12 5L19 12L12 19",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}))}};t.style=i;exports.arrow_icon=t;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { r as o, h as t } from "./index-5da0aff3.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import "react-dom";
|
|
4
|
+
const e = ".sc-arrow-icon-h{display:flex}", s = e, i = class {
|
|
5
|
+
constructor(r) {
|
|
6
|
+
o(this, r), this.width = "15", this.height = "15";
|
|
7
|
+
}
|
|
8
|
+
render() {
|
|
9
|
+
return t("svg", { key: "c591258b1d07b3f8f87bf2e47a29155d01e1a553", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "5feb81bed066a2bdda04b028cfd0b31d3e6f9320", d: "M5 12H19M12 5L19 12L12 19", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }));
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
i.style = s;
|
|
13
|
+
export {
|
|
14
|
+
i as arrow_icon
|
|
15
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-26f8bbeb.cjs");require("react");require("react-dom");const o=".sc-bold-icon-h{display:flex}",c=o,i=class{constructor(t){e.registerInstance(this,t),this.width="15",this.height="15"}render(){return e.h("svg",{key:"12a86ea8c7baf1c90a0f2dff1c72c80ce3f900d6",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"6595b250cb781f8412a65aceeeac1c17d4650a96",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"}))}};i.style=c;const r=".sc-italic-icon-h{display:flex}",h=r,n=class{constructor(t){e.registerInstance(this,t),this.width="15",this.height="15"}render(){return e.h("svg",{key:"ff0c03904bd36803d828cd32e3c16d1bc69672ae",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"bc191ff0a0a806afa860e50a92e6dc023040d12e",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m10 20 4-16m2 0h-4m0 16H8"}))}};n.style=h;const d=".sc-underline-icon-h{display:flex}",l=d,s=class{constructor(t){e.registerInstance(this,t),this.width="15",this.height="15"}render(){return e.h("svg",{key:"2aeb033ac63382cfdb9e1c856b2ac7fed5373516",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"6ce6505dd68e29f83d53cb6fa72a350f7c5d6aa1",d:"M19 4V10C19 13.866 15.866 17 12 17C8.13401 17 5 13.866 5 10V4M8.5 4V10C8.5 13.2218 10.6766 15.9352 13.6395 16.7501M4 21H20M3 4L10.5 4M17 4L21 4",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}))}};s.style=l;exports.bold_icon=i;exports.italic_icon=n;exports.underline_icon=s;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as i, h as t } from "./index-
|
|
1
|
+
import { r as i, h as t } from "./index-5da0aff3.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
const o = ".sc-bold-icon-h{display:flex}", s = o, n = class {
|
|
@@ -6,7 +6,7 @@ const o = ".sc-bold-icon-h{display:flex}", s = o, n = class {
|
|
|
6
6
|
i(this, e), this.width = "15", this.height = "15";
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return t("svg", { key: "
|
|
9
|
+
return t("svg", { key: "12a86ea8c7baf1c90a0f2dff1c72c80ce3f900d6", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "6595b250cb781f8412a65aceeeac1c17d4650a96", 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" }));
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
n.style = s;
|
|
@@ -15,7 +15,7 @@ const c = ".sc-italic-icon-h{display:flex}", r = c, h = class {
|
|
|
15
15
|
i(this, e), this.width = "15", this.height = "15";
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return t("svg", { key: "
|
|
18
|
+
return t("svg", { key: "ff0c03904bd36803d828cd32e3c16d1bc69672ae", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "bc191ff0a0a806afa860e50a92e6dc023040d12e", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", d: "m10 20 4-16m2 0h-4m0 16H8" }));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
h.style = r;
|
|
@@ -24,7 +24,7 @@ const d = ".sc-underline-icon-h{display:flex}", l = d, a = class {
|
|
|
24
24
|
i(this, e), this.width = "15", this.height = "15";
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return t("svg", { key: "
|
|
27
|
+
return t("svg", { key: "2aeb033ac63382cfdb9e1c856b2ac7fed5373516", width: this.width, height: this.height, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { key: "6ce6505dd68e29f83d53cb6fa72a350f7c5d6aa1", d: "M19 4V10C19 13.866 15.866 17 12 17C8.13401 17 5 13.866 5 10V4M8.5 4V10C8.5 13.2218 10.6766 15.9352 13.6395 16.7501M4 21H20M3 4L10.5 4M17 4L21 4", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }));
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
a.style = l;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as o, h as n } from "./index-
|
|
1
|
+
import { r as o, h as n } from "./index-5da0aff3.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "react-dom";
|
|
4
4
|
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:1rem;line-height:24px;padding:0 1rem;cursor:pointer;font-family:var(--nylas-font-family);font-weight:600}@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:1rem;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}", e = r, a = class {
|
|
@@ -7,7 +7,7 @@ const r = "button.sc-button-component{display:flex;align-items:center;justify-co
|
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
9
|
const t = `button-${this.variant}` + (this.disabled ? " disabled" : "");
|
|
10
|
-
return n("button", { key: "
|
|
10
|
+
return n("button", { key: "f85bf89c8f3f30c55e700148a1eb83406074f925", class: t, disabled: this.disabled, type: "type", onClick: this.clickHandler, onMouseOver: this.mouseOverHandler, onMouseOut: this.mouseOutHandler, onFocus: this.focusHandler, onBlur: this.blurHandler }, n("slot", { key: "0ace1f6a44d2dfeca430bbd5378b15d0e5a87a84" }));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
a.style = e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index-26f8bbeb.cjs");require("react");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:1rem;line-height:24px;padding:0 1rem;cursor:pointer;font-family:var(--nylas-font-family);font-weight:600}@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:1rem;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}",e=r,o=class{constructor(t){n.registerInstance(this,t),this.variant="primary",this.disabled=!1,this.type="button",this.clickHandler=void 0,this.mouseOverHandler=void 0,this.mouseOutHandler=void 0,this.focusHandler=void 0,this.blurHandler=void 0}render(){const t=`button-${this.variant}`+(this.disabled?" disabled":"");return n.h("button",{key:"f85bf89c8f3f30c55e700148a1eb83406074f925",class:t,disabled:this.disabled,type:"type",onClick:this.clickHandler,onMouseOver:this.mouseOverHandler,onMouseOut:this.mouseOutHandler,onFocus:this.focusHandler,onBlur:this.blurHandler},n.h("slot",{key:"0ace1f6a44d2dfeca430bbd5378b15d0e5a87a84"}))}};o.style=e;exports.button_component=o;
|