@biznext-ui/react 0.6.5 → 0.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/biznext-style.css +1 -1
- package/dist/index.es.d.ts +23 -3
- package/dist/index.es.js +3100 -2934
- package/dist/index.umd.js +8 -8
- package/package.json +1 -1
package/dist/biznext-style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@import"https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700;800&display=swap";@import"https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap";.biznext-ui-Voj91bwiOQ0-5{--toast-error: #cf2f37;--toast-warning: #d97706;--toast-success: #07845f;--toast-info: #2563c9;position:fixed;z-index:999999;width:min(430px,calc(100vw - 32px));padding:16px;font-family:Nunito Sans,sans-serif;pointer-events:none}.biznext-ui-r8K3Yfg1a0k-a{top:0;left:0}.biznext-ui-hLBI-yY3XZg-8{top:0;left:50%;transform:translate(-50%)}.biznext-ui-McMmb-sS6LE-3{top:0;right:0}.biznext-ui-lX4jcK0Szv4-9{bottom:0;left:0}.biznext-ui-Ee7khmzQluU-1{bottom:0;left:50%;transform:translate(-50%)}.biznext-ui-8KE-IEqqaMQ-f{bottom:0;right:0}.biznext-ui-4-ykJu3ktdI-e{display:flex;flex-direction:column;gap:10px;margin-top:8px}.biznext-ui-R5o-B6LYQqI-4{display:none}.biznext-ui-bvyhEKUyzs0-6{min-height:38px;padding:0 8px 0 14px;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:#172535;box-shadow:0 8px 24px #0f1f2e3d;color:#fff;display:flex;align-items:center;gap:12px;pointer-events:auto}.biznext-ui-7-BFk6QjUtM-e{margin-right:auto;font-size:13px;font-weight:800;letter-spacing:.01em}.biznext-ui-rIQ5pY84y80-a{display:inline-flex;align-items:center;gap:5px;min-width:24px;font-size:12px;font-weight:700;color:#dce5ed}.biznext-ui-zrCBnR1vOOI-c{width:8px;height:8px;border:2px solid currentColor;border-radius:50%}.biznext-ui-vF8-uN09R8M-b{color:#ff7c83}.biznext-ui-iwysSJEvjo4-8{color:#ffb55b}.biznext-ui-1VVbc17tlX0-d{color:#58d4a8}.biznext-ui-tX-SojkiR-A-b{color:#82b5ff}.biznext-ui-bO4HZOSzwCk-6,.biznext-ui-MQh2XzXGub4-3{border:0;background:transparent;cursor:pointer;display:inline-grid;place-items:center}.biznext-ui-bO4HZOSzwCk-6{width:28px;height:28px;padding:0;border-radius:50%;color:#fff}.biznext-ui-bO4HZOSzwCk-6:hover{background:#ffffff1f}.biznext-ui-g5CASl7JMIU-8{width:100%;pointer-events:auto}.biznext-ui-HNUcjKVTeyM-1{--toast-accent: #687b8c;position:relative;box-sizing:border-box;width:100%;min-height:76px;padding:14px 12px 14px 14px;overflow:hidden;border:1px solid #dfe6ec;border-left:4px solid var(--toast-accent);border-radius:10px;background:#fff;box-shadow:0 10px 30px #12344d29,0 2px 6px #12344d14;color:#183247;display:flex;align-items:flex-start;gap:12px}.biznext-ui-HNUcjKVTeyM-1.biznext-ui-gWJh5oSUaH4-8{--toast-accent: var(--toast-success)}.biznext-ui-HNUcjKVTeyM-1.biznext-ui-KprtriQR6do-2{--toast-accent: var(--toast-info)}.biznext-ui-HNUcjKVTeyM-1.biznext-ui-u0IYuYPu1og-b{--toast-accent: var(--toast-warning)}.biznext-ui-HNUcjKVTeyM-1.biznext-ui-DMi33WPhK2I-0{--toast-accent: var(--toast-error)}.biznext-ui--tFdGazkGSA-f{width:34px;height:34px;flex:0 0 34px;border-radius:9px;background:color-mix(in srgb,var(--toast-accent) 11%,white);color:var(--toast-accent);display:grid;place-items:center}.biznext-ui--tFdGazkGSA-f>svg{width:18px;height:18px}.biznext-ui-ymhtH9nUp6I-c{min-width:0;flex:1;align-self:center}.biznext-ui-4B-r9c2kSyk-e{min-height:18px;margin-bottom:3px;display:flex;align-items:center;gap:8px}.biznext-ui-jjfO-6V7sTk-8{color:var(--toast-accent);font-size:10px;font-weight:800;letter-spacing:.08em;line-height:1.2;text-transform:uppercase}.biznext-ui-PGnSqC3fwN4-3{box-sizing:border-box;width:38px;height:18px;padding:0 5px;border-radius:999px;background:var(--toast-accent);font-size:10px;font-weight:800;line-height:18px;text-align:center;white-space:nowrap;color:#fff;font-variant-numeric:tabular-nums}.biznext-ui-nPNSSWhWyC8-9{visibility:hidden}.biznext-ui-KpFZjCXKdcg-2{margin:0;color:#183247;font-size:14px;font-weight:700;line-height:1.45;overflow-wrap:anywhere}.biznext-ui-N2QAVlXUlrk-3{flex:0 0 auto;display:flex;align-items:center;gap:2px}.biznext-ui-MQh2XzXGub4-3{width:30px;height:30px;padding:0;border-radius:7px;color:#526b7e}.biznext-ui-MQh2XzXGub4-3:hover{background:#edf2f6;color:#183247}.biznext-ui-MQh2XzXGub4-3:focus-visible,.biznext-ui-bO4HZOSzwCk-6:focus-visible{outline:2px solid #2563c9;outline-offset:2px}.biznext-ui-MQh2XzXGub4-3>svg{width:14px;height:14px}.biznext-ui-49vilWsWaWY-e{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:520px){.biznext-ui-Voj91bwiOQ0-5{width:calc(100vw - 20px);padding:10px}.biznext-ui-bvyhEKUyzs0-6{gap:8px}.biznext-ui-7-BFk6QjUtM-e{font-size:12px}.biznext-ui-rIQ5pY84y80-a{min-width:20px}.biznext-ui-HNUcjKVTeyM-1{padding:12px 8px 12px 12px}}@media(prefers-reduced-motion:reduce){.biznext-ui-g5CASl7JMIU-8{transition:none!important}}.biznext-ui-ylpaWxEFaTU-c{position:fixed;top:0;right:0;bottom:0;left:0;z-index:99999999;box-sizing:border-box;padding:24px;background:#0f1f2ea3;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:grid;place-items:center}.biznext-ui-4yyscqDACxw-e{--dialog-accent: #405f75;--dialog-soft: #eef3f6;position:relative;box-sizing:border-box;width:min(100%,480px);overflow:hidden;border:1px solid rgba(207,215,223,.9);border-radius:14px;background:#fff;box-shadow:0 28px 70px #091e304d,0 4px 14px #091e301f;color:#183247;font-family:Nunito Sans,sans-serif}.biznext-ui-4yyscqDACxw-e.biznext-ui-wec4qWkj9NU-c{--dialog-accent: #2563c9;--dialog-soft: #edf4ff}.biznext-ui-4yyscqDACxw-e.biznext-ui-mcehjNn9Nl0-9{--dialog-accent: #d97706;--dialog-soft: #fff6e8}.biznext-ui-4yyscqDACxw-e.biznext-ui-pYq-UQoFMHM-a{--dialog-accent: #cf2f37;--dialog-soft: #fff0f1}.biznext-ui-4yyscqDACxw-e.biznext-ui-bgVORylkzc0-6{--dialog-accent: #07845f;--dialog-soft: #eaf8f3}.biznext-ui-7ReHYWZ2x80-e{position:absolute;inset:0 0 auto;height:4px;background:var(--dialog-accent)}.biznext-ui-p-dS1gE1lUQ-a{position:absolute;top:16px;right:16px;width:34px;height:34px;padding:0;border:0;border-radius:8px;background:transparent;color:#60798c;cursor:pointer;display:grid;place-items:center}.biznext-ui-p-dS1gE1lUQ-a:hover{background:#edf2f6;color:#183247}.biznext-ui-p-dS1gE1lUQ-a svg{width:18px;height:18px}.biznext-ui-K3-i0eWEQi8-2{padding:30px 58px 26px 28px;display:grid;grid-template-columns:52px minmax(0,1fr);align-items:start;gap:18px}.biznext-ui-PSIKxZhvjyo-3{width:50px;height:50px;border:1px solid color-mix(in srgb,var(--dialog-accent) 18%,white);border-radius:13px;background:var(--dialog-soft);color:var(--dialog-accent);display:grid;place-items:center}.biznext-ui-PSIKxZhvjyo-3 svg{width:24px;height:24px}.biznext-ui-5d4mFe8-8hI-e{min-width:0;padding-top:1px}.biznext-ui-sqQMi13S3QI-b{display:block;margin-bottom:5px;color:var(--dialog-accent);font-size:10px;font-weight:800;letter-spacing:.09em;line-height:1.3;text-transform:uppercase}.biznext-ui-4yyscqDACxw-e h2{margin:0;color:#183247;font-size:20px;font-weight:800;line-height:1.3;overflow-wrap:anywhere}.biznext-ui-4yyscqDACxw-e p{margin:8px 0 0;color:#607286;font-size:14px;font-weight:400;line-height:1.55;overflow-wrap:anywhere}.biznext-ui-ffcW632vEe0-7{min-height:72px;box-sizing:border-box;padding:14px 24px;border-top:1px solid #e2e8ed;background:#f7f9fa;display:flex;justify-content:flex-end;align-items:center;gap:10px}.biznext-ui-ffcW632vEe0-7 button{min-width:104px;min-height:42px;padding:9px 18px;border:1px solid transparent;border-radius:9px;font-family:inherit;font-size:14px;font-weight:800;line-height:1.2;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease,transform .15s ease}.biznext-ui-WN418UGh91k-5{border-color:#cdd7df!important;background:#fff;color:#40576a}.biznext-ui-WN418UGh91k-5:hover{border-color:#aebdca!important;background:#edf2f6}.biznext-ui-DYDcHcMDZtM-0{border-color:var(--dialog-accent)!important;background:var(--dialog-accent);box-shadow:0 4px 10px color-mix(in srgb,var(--dialog-accent) 24%,transparent);color:#fff}.biznext-ui-DYDcHcMDZtM-0:hover{filter:brightness(.92);transform:translateY(-1px)}.biznext-ui-DYDcHcMDZtM-0:active{transform:translateY(0)}.biznext-ui-4yyscqDACxw-e button:focus-visible{outline:3px solid color-mix(in srgb,var(--dialog-accent) 24%,transparent);outline-offset:2px}@media(max-width:520px){.biznext-ui-ylpaWxEFaTU-c{padding:16px;place-items:end center}.biznext-ui-4yyscqDACxw-e{width:100%;border-radius:14px}.biznext-ui-K3-i0eWEQi8-2{padding:26px 48px 22px 20px;grid-template-columns:44px minmax(0,1fr);gap:14px}.biznext-ui-PSIKxZhvjyo-3{width:42px;height:42px;border-radius:11px}.biznext-ui-PSIKxZhvjyo-3 svg{width:21px;height:21px}.biznext-ui-4yyscqDACxw-e h2{font-size:18px}.biznext-ui-ffcW632vEe0-7{padding:14px 16px max(14px,env(safe-area-inset-bottom));flex-direction:column-reverse}.biznext-ui-ffcW632vEe0-7 button{width:100%}}@media(prefers-reduced-motion:reduce){.biznext-ui-ffcW632vEe0-7 button{transition:none}}.biznext-ui-Mao59ye15po-3 *{font-family:Nunito Sans,sans-serif}.biznext-ui-n2Vjx4mdikE-9{position:relative}.biznext-ui-6sKjk6L11EQ-e{background-color:#091e427a;width:100%;height:100%;position:fixed;top:0;bottom:0;left:0;right:0}.biznext-ui-Mao59ye15po-3{background:#fff;box-shadow:0 12px 32px #001b471f;position:fixed;border-radius:2px;margin:auto;padding:2px;display:flex}.biznext-ui-Mao59ye15po-3.biznext-ui-5bDq6-PrHF4-e{top:0;bottom:0;left:0;right:right}.biznext-ui-Mao59ye15po-3.biznext-ui-dhv7A0opLyg-7{top:0;bottom:0;left:0;right:auto;border-radius:0;margin:0}.biznext-ui-Mao59ye15po-3.biznext-ui-X9XXG3R3kc4-5{top:0;bottom:0;left:auto;right:0}.biznext-ui-Mao59ye15po-3.biznext-ui-EXk9iqQoKIU-1{top:0;bottom:0;left:auto;right:0;border-radius:0;margin:0}.biznext-ui-Mao59ye15po-3.biznext-ui-agEjPkJufuY-6{top:0;bottom:auto;left:0;right:auto}.biznext-ui-Mao59ye15po-3.biznext-ui-CzoFpYQH5r0-0{top:0;bottom:auto;left:0;right:0}.biznext-ui-Mao59ye15po-3.biznext-ui-e0SRVasbx2Q-7{top:0;bottom:auto;left:auto;right:0}.biznext-ui-Mao59ye15po-3.biznext-ui-jMdhucf3jH4-8{top:auto;bottom:0;left:0;right:auto}.biznext-ui-Mao59ye15po-3.biznext-ui-1ruLnzU-7Mg-d{top:auto;bottom:0;left:0;right:0}.biznext-ui-Mao59ye15po-3.biznext-ui-IBxY5gMZXAs-2{top:auto;bottom:0;left:auto;right:0}.biznext-ui-Mao59ye15po-3.biznext-ui-g7IKSnXitqg-8{top:0;bottom:0;left:0;right:0;margin:auto}.biznext-ui-Mao59ye15po-3.biznext-ui-T4NhvYHqFMo-4{top:0;bottom:0;left:0;right:0;border-radius:0;margin:0;height:100vh;width:100vw}.biznext-ui-1F-uEUK7Izg-d{position:relative;background:#fff;width:100%;height:100%;display:grid;grid-template-rows:max-content auto max-content}.biznext-ui-nWO9WSw4Ix8-9{padding:8px 12px;position:relative;background-color:#f3f5f7;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #cfd7df}.biznext-ui-kCEeyonkTlE-9{display:flex;align-items:center;justify-content:center;border:0px;width:30px;height:28px;border-radius:4px;cursor:pointer;background:transparent}.biznext-ui-kCEeyonkTlE-9>svg{font-size:18px;color:#85929e}.biznext-ui-kCEeyonkTlE-9:hover>svg{color:#f64e60}.biznext-ui-r-WKlIAFS20-a{font-size:16px;font-weight:600;color:#3d4852;margin:0}.biznext-ui-7AJhK9Yn-KQ-e{padding:8px;font-size:14px;position:relative;flex:1 1 auto;overflow-y:auto}.biznext-ui-lUyv0bpMUw4-9{height:44px;padding:0 12px;background-color:#f3f5f7;border-top:1px solid #cfd7df;display:flex;justify-content:flex-end;align-items:center}.biznext-ui-acScPNehEic-6{background-color:#85929e;color:#fff;border:0px;height:29px;line-height:6px;padding:6px 14px;cursor:pointer;margin-left:12px}.biznext-ui-acScPNehEic-6:hover{opacity:.7}.biznext-ui-WgISRe1bJDU-5 *{margin:0;padding:0;font-family:Nunito Sans,sans-serif}.biznext-ui-WgISRe1bJDU-5{display:grid;grid-auto-rows:max-content;padding:8px;row-gap:12px}.biznext-ui-PDYbgOuoFL0-3{display:grid;grid-template-columns:repeat(1,[label] minmax(60px,max-content) [input] minmax(80px,100%));gap:12px;align-items:center;grid-auto-rows:max-content;padding:0}.biznext-ui-7dIDGqcfwy4-e{display:contents}.biznext-ui-3qrluRcbSyQ-d{font-size:13px;line-height:1.5;text-transform:capitalize;font-weight:400;color:#555;height:100%;width:100%;display:grid;grid-template-rows:32px auto;align-items:center;white-space:nowrap;-webkit-user-select:none!important;user-select:none!important}.biznext-ui-3qrluRcbSyQ-d.biznext-ui-S1AWtF9fE-s-4{text-decoration:2px underline #f64e60}.biznext-ui-GQweSyKURD4-1{display:grid;grid-template-rows:minmax(32px,max-content) auto;grid-template-columns:auto max-content;row-gap:2px;height:100%;align-items:center;position:relative}.biznext-ui-Pxa8kMsnvaQ-3{width:100%;border:1px solid #d6dbdf;padding:6px 8px;border-radius:0!important;outline:none;font-size:12px;color:#3f4254;font-weight:400}.biznext-ui-Pxa8kMsnvaQ-3:focus{border:1px solid #0071e3;box-shadow:0 0 0 2px #007dfa4d}.biznext-ui-7dIDGqcfwy4-e.biznext-ui-B7sgFlayyBI-0 .biznext-ui-Pxa8kMsnvaQ-3,.biznext-ui-7dIDGqcfwy4-e.biznext-ui-B7sgFlayyBI-0 .biznext-ui-TyZSBF2HLh0-4{border:1px solid #f64e60}.biznext-ui-7dIDGqcfwy4-e.biznext-ui-B7sgFlayyBI-0 .biznext-ui-Pxa8kMsnvaQ-3:focus,.biznext-ui-7dIDGqcfwy4-e.biznext-ui-B7sgFlayyBI-0 .biznext-ui-TyZSBF2HLh0-4:focus{border:1px solid #f64e60;box-shadow:0 0 0 2px #fa001d44}.biznext-ui-npOI3UC2M38-9{color:#f64e60;font-size:11px;font-weight:500;grid-column:1;grid-row:2}
|
|
1
|
+
@import"https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700;800&display=swap";@import"https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap";.biznext-ui-Voj91bwiOQ0-5{--toast-error: #cf2f37;--toast-warning: #d97706;--toast-success: #07845f;--toast-info: #2563c9;position:fixed;z-index:999999;width:min(430px,calc(100vw - 32px));padding:16px;font-family:Nunito Sans,sans-serif;pointer-events:none}.biznext-ui-r8K3Yfg1a0k-a{top:0;left:0}.biznext-ui-hLBI-yY3XZg-8{top:0;left:50%;transform:translate(-50%)}.biznext-ui-McMmb-sS6LE-3{top:0;right:0}.biznext-ui-lX4jcK0Szv4-9{bottom:0;left:0}.biznext-ui-Ee7khmzQluU-1{bottom:0;left:50%;transform:translate(-50%)}.biznext-ui-8KE-IEqqaMQ-f{bottom:0;right:0}.biznext-ui-4-ykJu3ktdI-e{display:flex;flex-direction:column;gap:4px;margin-top:8px}.biznext-ui-dnfGA9SCTQo-7{overflow:hidden}.biznext-ui-bvyhEKUyzs0-6{min-height:38px;padding:0 8px 0 14px;border:1px solid rgba(255,255,255,.1);border-radius:10px;background:#172535;box-shadow:0 8px 24px #0f1f2e3d;color:#fff;display:flex;align-items:center;gap:4px;pointer-events:auto}.biznext-ui-Lij6tzXzjHc-2{min-width:0;min-height:36px;flex:1;padding:0;border:0;background:transparent;color:inherit;cursor:pointer;font:inherit;display:flex;align-items:center;gap:12px}.biznext-ui-Lij6tzXzjHc-2:focus-visible{outline:2px solid #82b5ff;outline-offset:-2px;border-radius:7px}.biznext-ui-7-BFk6QjUtM-e{margin-right:auto;font-size:13px;font-weight:800;letter-spacing:.01em}.biznext-ui-R5VUyugQlVc-4{width:24px;height:24px;flex:0 0 24px;border-radius:6px;color:#c9d5de;display:grid;place-items:center}.biznext-ui-Lij6tzXzjHc-2:hover .biznext-ui-R5VUyugQlVc-4{background:#ffffff1a;color:#fff}.biznext-ui-R5VUyugQlVc-4 svg{width:13px;height:13px}.biznext-ui-rIQ5pY84y80-a{display:inline-flex;align-items:center;gap:5px;min-width:24px;font-size:12px;font-weight:700;color:#dce5ed}.biznext-ui-zrCBnR1vOOI-c{width:8px;height:8px;border:2px solid currentColor;border-radius:50%}.biznext-ui-vF8-uN09R8M-b{color:#ff7c83}.biznext-ui-iwysSJEvjo4-8{color:#ffb55b}.biznext-ui-1VVbc17tlX0-d{color:#58d4a8}.biznext-ui-tX-SojkiR-A-b{color:#82b5ff}.biznext-ui-68JVkAtrUTE-e,.biznext-ui-MQh2XzXGub4-3{border:0;background:transparent;cursor:pointer;display:inline-grid;place-items:center}.biznext-ui-qlU3JIb08Bk-a{display:flex;align-items:center;gap:4px}.biznext-ui-68JVkAtrUTE-e{width:28px;height:28px;padding:0;border-radius:7px;color:#c9d5de;display:inline-flex;align-items:center;justify-content:center}.biznext-ui-68JVkAtrUTE-e span{display:none}.biznext-ui-68JVkAtrUTE-e:hover{background:#ffffff1a;color:#fff}.biznext-ui-w-GvCFTe4c0-c{background:#58d4a824;color:#74dfb8}.biznext-ui-SIU-1MBhQJo-4:hover{background:#ff7c8324;color:#ff949a}.biznext-ui-68JVkAtrUTE-e svg{width:12px;height:12px}.biznext-ui-g5CASl7JMIU-8{--toast-accent: #687b8c;--toast-soft: #f0f4f6;position:relative;width:100%;padding-bottom:9px;pointer-events:auto}.biznext-ui-g5CASl7JMIU-8.biznext-ui-gWJh5oSUaH4-8{--toast-accent: var(--toast-success);--toast-soft: #eaf8f3}.biznext-ui-g5CASl7JMIU-8.biznext-ui-KprtriQR6do-2{--toast-accent: var(--toast-info);--toast-soft: #edf4ff}.biznext-ui-g5CASl7JMIU-8.biznext-ui-u0IYuYPu1og-b{--toast-accent: var(--toast-warning);--toast-soft: #fff4e5}.biznext-ui-g5CASl7JMIU-8.biznext-ui-DMi33WPhK2I-0{--toast-accent: var(--toast-error);--toast-soft: #fff0f1}.biznext-ui-g5CASl7JMIU-8:before,.biznext-ui-g5CASl7JMIU-8:after{content:"";position:absolute;box-sizing:border-box;height:calc(100% - 9px);border:1px solid color-mix(in srgb,var(--toast-accent) 20%,#dfe6ec);border-radius:10px;background:linear-gradient(90deg,var(--toast-soft),#fff 48%);box-shadow:0 5px 14px #12344d17;opacity:0;pointer-events:none;transition:opacity .16s ease}.biznext-ui-g5CASl7JMIU-8:before{z-index:1;right:8px;bottom:6px;left:8px}.biznext-ui-g5CASl7JMIU-8:after{z-index:0;right:17px;bottom:1px;left:17px}.biznext-ui-PFawqzqyJDY-3:before,.biznext-ui-PFawqzqyJDY-3:after{opacity:1}.biznext-ui-PFawqzqyJDY-3:after{opacity:.78}.biznext-ui-HNUcjKVTeyM-1{position:relative;z-index:2;box-sizing:border-box;width:100%;min-height:76px;padding:12px 12px 12px 14px;overflow:hidden;border:1px solid #dfe6ec;border-radius:11px;background:#fff;box-shadow:0 12px 28px #12344d24,0 2px 5px #12344d12;color:#183247;display:flex;align-items:flex-start;gap:12px}.biznext-ui-AO59gy9LSp8-0{padding-bottom:41px}.biznext-ui-HNUcjKVTeyM-1.biznext-ui-gWJh5oSUaH4-8{--toast-accent: var(--toast-success)}.biznext-ui-HNUcjKVTeyM-1.biznext-ui-KprtriQR6do-2{--toast-accent: var(--toast-info)}.biznext-ui-HNUcjKVTeyM-1.biznext-ui-u0IYuYPu1og-b{--toast-accent: var(--toast-warning)}.biznext-ui-HNUcjKVTeyM-1.biznext-ui-DMi33WPhK2I-0{--toast-accent: var(--toast-error)}.biznext-ui--tFdGazkGSA-f{width:36px;height:36px;flex:0 0 36px;border-radius:10px;background:color-mix(in srgb,var(--toast-accent) 11%,white);color:var(--toast-accent);display:grid;place-items:center}.biznext-ui--tFdGazkGSA-f>svg{width:19px;height:19px}.biznext-ui-ymhtH9nUp6I-c{min-width:0;flex:1;align-self:stretch;padding-top:1px}.biznext-ui-Ezh39blbBpU-1{min-height:28px;margin:-3px -4px 2px 0;display:flex;align-items:center;justify-content:space-between;gap:10px}.biznext-ui-4B-r9c2kSyk-e{min-width:0;min-height:20px;display:flex;align-items:center;gap:9px}.biznext-ui-jjfO-6V7sTk-8{padding:0 1px;color:var(--toast-accent);font-size:12px;font-weight:800;letter-spacing:.055em;line-height:20px;text-transform:uppercase;white-space:nowrap}.biznext-ui-PGnSqC3fwN4-3{box-sizing:border-box;width:auto;min-width:40px;height:20px;padding:0 6px;border:1px solid color-mix(in srgb,var(--toast-accent) 22%,white);border-radius:999px;background:color-mix(in srgb,var(--toast-accent) 9%,white);color:var(--toast-accent);white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:4px;font-variant-numeric:tabular-nums}.biznext-ui-PGnSqC3fwN4-3 svg{width:10px;height:10px;flex:0 0 10px}.biznext-ui-PGnSqC3fwN4-3 strong{font-size:10px;font-weight:800;line-height:1}.biznext-ui-nPNSSWhWyC8-9{display:none}.biznext-ui-KpFZjCXKdcg-2{margin:0;color:#183247;font-size:14px;font-weight:700;line-height:1.35;overflow-wrap:anywhere;white-space:pre-wrap}.biznext-ui-A21e7Wqtubw-0{position:absolute;right:0;bottom:0;left:0;box-sizing:border-box;width:100%;min-height:30px;padding:5px 14px 9px 15px;overflow:hidden;border:0;border-top:0;background:linear-gradient(90deg,color-mix(in srgb,var(--toast-soft) 58%,white),#f8fafb 72%);color:#5d7284;cursor:pointer;font:inherit;font-size:10.5px;line-height:14px;text-align:left;display:flex;align-items:center;gap:6px}.biznext-ui-A21e7Wqtubw-0:hover{background:color-mix(in srgb,var(--toast-soft) 70%,#f5f8fa);color:#40596c}.biznext-ui-A21e7Wqtubw-0:focus-visible{outline:2px solid #82b5ff;outline-offset:-2px}.biznext-ui-bu6XuuZmdc4-6{position:relative;z-index:1;width:11px;height:11px;flex:0 0 11px;color:var(--toast-accent)}.biznext-ui--HikQCHnjkg-f{position:relative;z-index:1}.biznext-ui-A21e7Wqtubw-0 strong{color:#183247;font-weight:800}.biznext-ui-A-ApuMp1MT8-0{position:absolute;right:auto;bottom:0;left:0;width:var(--toast-progress);height:3px;border-radius:0 2px 2px 0;background:var(--toast-accent);transition:width .25s linear}.biznext-ui-AiphfikSwTA-0{background:color-mix(in srgb,var(--toast-accent) 7%,#f7f9fb)}.biznext-ui-N2QAVlXUlrk-3{flex:0 0 auto;display:flex;align-items:center;gap:2px}.biznext-ui-MQh2XzXGub4-3{width:28px;height:28px;padding:0;border-radius:7px;color:#526b7e}.biznext-ui-MQh2XzXGub4-3:hover{background:#edf2f6;color:#183247}.biznext-ui-a96iMR8gsRw-6{width:27px;height:27px;margin-left:1px;border-radius:50%;color:#718596}.biznext-ui-a96iMR8gsRw-6:hover{background:#fff0f1;color:#cf2f37}.biznext-ui-MQh2XzXGub4-3.biznext-ui-a96iMR8gsRw-6>svg{width:17px;height:17px;stroke-width:1.8}.biznext-ui-Fz2Sb36hXZc-1{background:color-mix(in srgb,var(--toast-accent) 11%,white);color:var(--toast-accent)}.biznext-ui-Fz2Sb36hXZc-1:hover{background:color-mix(in srgb,var(--toast-accent) 16%,white);color:var(--toast-accent)}.biznext-ui-MQh2XzXGub4-3:focus-visible,.biznext-ui-68JVkAtrUTE-e:focus-visible{outline:2px solid #82b5ff;outline-offset:2px}.biznext-ui-MQh2XzXGub4-3>svg{width:14px;height:14px}.biznext-ui-49vilWsWaWY-e{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:520px){.biznext-ui-Voj91bwiOQ0-5{width:calc(100vw - 20px);padding:10px}.biznext-ui-bvyhEKUyzs0-6{gap:8px}.biznext-ui-7-BFk6QjUtM-e{font-size:12px}.biznext-ui-rIQ5pY84y80-a{min-width:20px}.biznext-ui-HNUcjKVTeyM-1{padding:12px 8px 12px 12px}}@media(prefers-reduced-motion:reduce){.biznext-ui-g5CASl7JMIU-8{transition:none!important}}.biznext-ui-ylpaWxEFaTU-c{position:fixed;top:0;right:0;bottom:0;left:0;z-index:99999999;box-sizing:border-box;padding:24px;background:#091c2bad;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);display:grid;place-items:center}.biznext-ui-4yyscqDACxw-e{--dialog-accent: #405f75;--dialog-soft: #edf3f6;--dialog-ring: rgba(64, 95, 117, .1);position:relative;box-sizing:border-box;width:min(100%,430px);overflow:hidden;border:1px solid rgba(220,228,234,.96);border-radius:12px;background:#fff;box-shadow:0 28px 70px #0519274d,0 8px 20px #0519271a;color:#183247;font-family:Nunito Sans,sans-serif}.biznext-ui-4yyscqDACxw-e.biznext-ui-rpPFYWZGetw-a{width:min(100%,460px)}.biznext-ui-4yyscqDACxw-e:before{content:"";position:absolute;z-index:3;top:0;right:0;left:0;height:3px;background:linear-gradient(90deg,var(--dialog-accent),color-mix(in srgb,var(--dialog-accent) 45%,white))}.biznext-ui-4yyscqDACxw-e.biznext-ui-wec4qWkj9NU-c{--dialog-accent: #2563c9;--dialog-soft: #eaf2ff;--dialog-ring: rgba(37, 99, 201, .1)}.biznext-ui-4yyscqDACxw-e.biznext-ui-mcehjNn9Nl0-9{--dialog-accent: #c66a05;--dialog-soft: #fff2dc;--dialog-ring: rgba(198, 106, 5, .11)}.biznext-ui-4yyscqDACxw-e.biznext-ui-pYq-UQoFMHM-a{--dialog-accent: #c82f38;--dialog-soft: #ffedef;--dialog-ring: rgba(200, 47, 56, .1)}.biznext-ui-4yyscqDACxw-e.biznext-ui-bgVORylkzc0-6{--dialog-accent: #087b5a;--dialog-soft: #e8f7f1;--dialog-ring: rgba(8, 123, 90, .1)}.biznext-ui-p-dS1gE1lUQ-a{position:absolute;top:16px;right:16px;z-index:1;width:30px;height:30px;padding:0;border:0;border-radius:50%;border:1px solid transparent;background:transparent;color:#718493;cursor:pointer;display:grid;place-items:center;transition:background-color .15s ease,color .15s ease}.biznext-ui-p-dS1gE1lUQ-a:hover{border-color:color-mix(in srgb,var(--dialog-accent) 16%,#d7e1e7);background:var(--dialog-soft);color:var(--dialog-accent)}.biznext-ui-p-dS1gE1lUQ-a svg{width:15px;height:15px}.biznext-ui-K3-i0eWEQi8-2{padding:30px 58px 24px 24px;background:linear-gradient(110deg,color-mix(in srgb,var(--dialog-soft) 55%,white),#fff 68%);text-align:left;display:flex;align-items:flex-start;gap:14px}.biznext-ui-S-5we6ib51I-4{box-sizing:border-box;width:48px;height:48px;flex:0 0 48px;border-radius:12px;border:1px solid color-mix(in srgb,var(--dialog-accent) 9%,transparent);background:var(--dialog-ring);display:grid;place-items:center}.biznext-ui-PSIKxZhvjyo-3{width:36px;height:36px;border:1px solid color-mix(in srgb,var(--dialog-accent) 18%,white);border-radius:9px;background:var(--dialog-soft);box-shadow:0 4px 10px color-mix(in srgb,var(--dialog-accent) 9%,transparent);color:var(--dialog-accent);display:grid;place-items:center}.biznext-ui-PSIKxZhvjyo-3 svg{width:18px;height:18px;stroke-width:2}.biznext-ui-5d4mFe8-8hI-e{min-width:0;flex:1;padding-top:1px}.biznext-ui-dolrBquxUOE-7{width:fit-content;margin-bottom:5px;padding:3px 7px;border-radius:999px;background:var(--dialog-soft);color:var(--dialog-accent);display:block;font-size:8px;font-weight:800;letter-spacing:.08em;line-height:1.25;text-transform:uppercase}.biznext-ui-NN-kzVEZk1g-3{box-sizing:border-box;width:100%;margin:0;padding:17px 24px 16px;border:0;border-top:1px solid color-mix(in srgb,var(--dialog-accent) 10%,#e3eaee);border-radius:0;background:linear-gradient(120deg,color-mix(in srgb,var(--dialog-soft) 42%,white),#fbfcfd 78%);text-align:left}.biznext-ui-6NfA36ViKm8-e{position:relative}.biznext-ui-6NfA36ViKm8-e input{box-sizing:border-box;width:100%;height:42px;padding:0 40px 0 12px;border:1px solid #ccd8df;border-radius:7px;outline:0;background:#fff;color:#183247;font-family:inherit;font-size:13px;font-weight:700}.biznext-ui-6NfA36ViKm8-e input:focus{border-color:var(--dialog-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--dialog-accent) 12%,transparent)}.biznext-ui-6NfA36ViKm8-e>svg{position:absolute;top:50%;right:12px;width:16px;height:16px;transform:translateY(-50%);color:#087b5a}.biznext-ui-Gt1D6p6DYEI-1 input{border-color:#65bda4;background:#fbfffd}.biznext-ui-JOQb0io1ajI-2{min-height:16px;margin:0 0 9px;color:#7d8f9c;display:flex;align-items:center;gap:5px;font-size:10px;font-weight:700;line-height:1.4}.biznext-ui-JOQb0io1ajI-2 svg{width:12px;height:12px}.biznext-ui-Wm-UdZU22kM-5{color:#087b5a;font-weight:800}.biznext-ui-4yyscqDACxw-e h2{margin:0;color:#183247;font-size:19px;font-weight:800;letter-spacing:-.025em;line-height:1.3;overflow-wrap:anywhere}.biznext-ui-4yyscqDACxw-e p{max-width:340px;margin:5px 0 0;color:#718493;font-size:13px;font-weight:400;line-height:1.5;overflow-wrap:anywhere}.biznext-ui-ffcW632vEe0-7{box-sizing:border-box;padding:14px 22px 18px;margin-top:0;border-top:1px solid #e7edf0;background:#fafcfd;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.biznext-ui-rpPFYWZGetw-a .biznext-ui-ffcW632vEe0-7{margin-top:0}.biznext-ui-ffcW632vEe0-7 button{min-width:0;min-height:40px;padding:9px 16px;border:1px solid transparent;border-radius:8px;font-family:inherit;font-size:13px;font-weight:800;line-height:1.2;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease,transform .15s ease}.biznext-ui-WN418UGh91k-5{border-color:#d4dee5!important;background:#fff;color:#40596c}.biznext-ui-WN418UGh91k-5:hover{border-color:#b7c6d1!important;background:#f1f5f7}.biznext-ui-DYDcHcMDZtM-0{border-color:var(--dialog-accent)!important;background:var(--dialog-accent);box-shadow:0 6px 14px color-mix(in srgb,var(--dialog-accent) 22%,transparent);color:#fff}.biznext-ui-DYDcHcMDZtM-0:hover{filter:brightness(.92);transform:translateY(-1px)}.biznext-ui-DYDcHcMDZtM-0:active{transform:translateY(0)}.biznext-ui-DYDcHcMDZtM-0:disabled,.biznext-ui-DYDcHcMDZtM-0:disabled:hover{border-color:#cbd5dc!important;background:#dce4e9;box-shadow:none;color:#8495a2;cursor:not-allowed;filter:none;transform:none}.biznext-ui-4yyscqDACxw-e button:focus-visible{outline:3px solid color-mix(in srgb,var(--dialog-accent) 22%,transparent);outline-offset:2px}@media(max-width:520px){.biznext-ui-ylpaWxEFaTU-c{padding:16px;place-items:end center}.biznext-ui-4yyscqDACxw-e{width:100%;border-radius:12px}.biznext-ui-K3-i0eWEQi8-2{padding:27px 54px 22px 20px}.biznext-ui-S-5we6ib51I-4{width:46px;height:46px;flex-basis:46px}.biznext-ui-PSIKxZhvjyo-3{width:34px;height:34px}.biznext-ui-4yyscqDACxw-e h2{font-size:18px}.biznext-ui-NN-kzVEZk1g-3{margin:0;padding:15px 20px 14px}.biznext-ui-ffcW632vEe0-7{padding:13px 18px max(16px,env(safe-area-inset-bottom))}}@media(max-width:360px){.biznext-ui-ffcW632vEe0-7{grid-template-columns:1fr}.biznext-ui-WN418UGh91k-5{order:2}}@media(prefers-reduced-motion:reduce){.biznext-ui-p-dS1gE1lUQ-a,.biznext-ui-ffcW632vEe0-7 button{transition:none}}.biznext-ui-Mao59ye15po-3 *{font-family:Nunito Sans,sans-serif}.biznext-ui-n2Vjx4mdikE-9{position:relative}.biznext-ui-6sKjk6L11EQ-e{background-color:#091e427a;width:100%;height:100%;position:fixed;top:0;bottom:0;left:0;right:0}.biznext-ui-Mao59ye15po-3{background:#fff;box-shadow:0 12px 32px #001b471f;position:fixed;border-radius:2px;margin:auto;padding:2px;display:flex}.biznext-ui-Mao59ye15po-3.biznext-ui-5bDq6-PrHF4-e{top:0;bottom:0;left:0;right:right}.biznext-ui-Mao59ye15po-3.biznext-ui-dhv7A0opLyg-7{top:0;bottom:0;left:0;right:auto;border-radius:0;margin:0}.biznext-ui-Mao59ye15po-3.biznext-ui-X9XXG3R3kc4-5{top:0;bottom:0;left:auto;right:0}.biznext-ui-Mao59ye15po-3.biznext-ui-EXk9iqQoKIU-1{top:0;bottom:0;left:auto;right:0;border-radius:0;margin:0}.biznext-ui-Mao59ye15po-3.biznext-ui-agEjPkJufuY-6{top:0;bottom:auto;left:0;right:auto}.biznext-ui-Mao59ye15po-3.biznext-ui-CzoFpYQH5r0-0{top:0;bottom:auto;left:0;right:0}.biznext-ui-Mao59ye15po-3.biznext-ui-e0SRVasbx2Q-7{top:0;bottom:auto;left:auto;right:0}.biznext-ui-Mao59ye15po-3.biznext-ui-jMdhucf3jH4-8{top:auto;bottom:0;left:0;right:auto}.biznext-ui-Mao59ye15po-3.biznext-ui-1ruLnzU-7Mg-d{top:auto;bottom:0;left:0;right:0}.biznext-ui-Mao59ye15po-3.biznext-ui-IBxY5gMZXAs-2{top:auto;bottom:0;left:auto;right:0}.biznext-ui-Mao59ye15po-3.biznext-ui-g7IKSnXitqg-8{top:0;bottom:0;left:0;right:0;margin:auto}.biznext-ui-Mao59ye15po-3.biznext-ui-T4NhvYHqFMo-4{top:0;bottom:0;left:0;right:0;border-radius:0;margin:0;height:100vh;width:100vw}.biznext-ui-1F-uEUK7Izg-d{position:relative;background:#fff;width:100%;height:100%;display:grid;grid-template-rows:max-content auto max-content}.biznext-ui-nWO9WSw4Ix8-9{padding:8px 12px;position:relative;background-color:#f3f5f7;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #cfd7df}.biznext-ui-kCEeyonkTlE-9{display:flex;align-items:center;justify-content:center;border:0px;width:30px;height:28px;border-radius:4px;cursor:pointer;background:transparent}.biznext-ui-kCEeyonkTlE-9>svg{font-size:18px;color:#85929e}.biznext-ui-kCEeyonkTlE-9:hover>svg{color:#f64e60}.biznext-ui-r-WKlIAFS20-a{font-size:16px;font-weight:600;color:#3d4852;margin:0}.biznext-ui-7AJhK9Yn-KQ-e{padding:8px;font-size:14px;position:relative;flex:1 1 auto;overflow-y:auto}.biznext-ui-lUyv0bpMUw4-9{height:44px;padding:0 12px;background-color:#f3f5f7;border-top:1px solid #cfd7df;display:flex;justify-content:flex-end;align-items:center}.biznext-ui-acScPNehEic-6{background-color:#85929e;color:#fff;border:0px;height:29px;line-height:6px;padding:6px 14px;cursor:pointer;margin-left:12px}.biznext-ui-acScPNehEic-6:hover{opacity:.7}.biznext-ui-WgISRe1bJDU-5 *{margin:0;padding:0;font-family:Nunito Sans,sans-serif}.biznext-ui-WgISRe1bJDU-5{display:grid;grid-auto-rows:max-content;padding:8px;row-gap:12px}.biznext-ui-PDYbgOuoFL0-3{display:grid;grid-template-columns:repeat(1,[label] minmax(60px,max-content) [input] minmax(80px,100%));gap:12px;align-items:center;grid-auto-rows:max-content;padding:0}.biznext-ui-7dIDGqcfwy4-e{display:contents}.biznext-ui-3qrluRcbSyQ-d{font-size:13px;line-height:1.5;text-transform:capitalize;font-weight:400;color:#555;height:100%;width:100%;display:grid;grid-template-rows:32px auto;align-items:center;white-space:nowrap;-webkit-user-select:none!important;user-select:none!important}.biznext-ui-3qrluRcbSyQ-d.biznext-ui-S1AWtF9fE-s-4{text-decoration:2px underline #f64e60}.biznext-ui-GQweSyKURD4-1{display:grid;grid-template-rows:minmax(32px,max-content) auto;grid-template-columns:auto max-content;row-gap:2px;height:100%;align-items:center;position:relative}.biznext-ui-Pxa8kMsnvaQ-3{width:100%;border:1px solid #d6dbdf;padding:6px 8px;border-radius:0!important;outline:none;font-size:12px;color:#3f4254;font-weight:400}.biznext-ui-Pxa8kMsnvaQ-3:focus{border:1px solid #0071e3;box-shadow:0 0 0 2px #007dfa4d}.biznext-ui-7dIDGqcfwy4-e.biznext-ui-B7sgFlayyBI-0 .biznext-ui-Pxa8kMsnvaQ-3,.biznext-ui-7dIDGqcfwy4-e.biznext-ui-B7sgFlayyBI-0 .biznext-ui-TyZSBF2HLh0-4{border:1px solid #f64e60}.biznext-ui-7dIDGqcfwy4-e.biznext-ui-B7sgFlayyBI-0 .biznext-ui-Pxa8kMsnvaQ-3:focus,.biznext-ui-7dIDGqcfwy4-e.biznext-ui-B7sgFlayyBI-0 .biznext-ui-TyZSBF2HLh0-4:focus{border:1px solid #f64e60;box-shadow:0 0 0 2px #fa001d44}.biznext-ui-npOI3UC2M38-9{color:#f64e60;font-size:11px;font-weight:500;grid-column:1;grid-row:2}
|
package/dist/index.es.d.ts
CHANGED
|
@@ -43,21 +43,41 @@ export declare const Form: {
|
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
|
|
46
|
-
declare interface IConfirmDialogConfig {
|
|
46
|
+
export declare interface IConfirmDialogConfig {
|
|
47
47
|
type: IConfirmDialogType;
|
|
48
48
|
title: string;
|
|
49
49
|
description: string;
|
|
50
50
|
onConfirm: () => void;
|
|
51
|
-
icon
|
|
51
|
+
/** Custom icon. Omit, pass null, or use an empty fragment to use the semantic default. */
|
|
52
|
+
icon?: ReactElement | null;
|
|
52
53
|
buttonContent?: {
|
|
53
54
|
onConfirmTitle?: string;
|
|
54
55
|
onCloseTitle?: string;
|
|
55
56
|
};
|
|
56
57
|
/** Overlay clicks are ignored by default to prevent accidental cancellation. */
|
|
57
58
|
closeOnOverlayClick?: boolean;
|
|
59
|
+
/** Optional typed verification. Omit this property for the normal confirmation flow. */
|
|
60
|
+
verification?: IConfirmDialogVerificationConfig;
|
|
58
61
|
}
|
|
59
62
|
|
|
60
|
-
declare type IConfirmDialogType = 'default' | 'info' | 'warning' | 'danger' | 'success';
|
|
63
|
+
export declare type IConfirmDialogType = 'default' | 'info' | 'warning' | 'danger' | 'success';
|
|
64
|
+
|
|
65
|
+
export declare interface IConfirmDialogVerificationConfig {
|
|
66
|
+
/** Exact text the user must enter before confirmation is enabled. */
|
|
67
|
+
expectedText: string;
|
|
68
|
+
/** Input label. Defaults to "Confirmation text". */
|
|
69
|
+
label?: string;
|
|
70
|
+
/** Input placeholder. Defaults to the expected text. */
|
|
71
|
+
placeholder?: string;
|
|
72
|
+
/** Guidance displayed until the value matches. */
|
|
73
|
+
helperText?: string;
|
|
74
|
+
/** Match letter casing. Defaults to true. */
|
|
75
|
+
caseSensitive?: boolean;
|
|
76
|
+
/** Convert input to uppercase while the user types. Defaults to true; set false for normal typing. */
|
|
77
|
+
autoUppercase?: boolean;
|
|
78
|
+
/** Allow copy, cut, paste, and drag-drop in the verification input. Defaults to false. */
|
|
79
|
+
allowClipboard?: boolean;
|
|
80
|
+
}
|
|
61
81
|
|
|
62
82
|
declare interface IModalProps {
|
|
63
83
|
type: 'left' | 'right' | 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right' | 'center' | 'full';
|