@biznext-ui/react 0.6.4 → 0.6.5
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/README.md +11 -0
- package/dist/biznext-style.css +1 -1
- package/dist/index.es.d.ts +18 -5
- package/dist/index.es.js +3982 -3762
- package/dist/index.umd.js +8 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,3 +16,14 @@ You can install BizNext-UI via npm:
|
|
|
16
16
|
```bash
|
|
17
17
|
npm install @biznext-ui/react
|
|
18
18
|
```
|
|
19
|
+
|
|
20
|
+
## Local documentation playground
|
|
21
|
+
|
|
22
|
+
The development server includes a restricted documentation and component playground.
|
|
23
|
+
|
|
24
|
+
1. Copy `env.example.json` to `env.json`.
|
|
25
|
+
2. Add one or more `{ "username", "password" }` entries to the `PLAYGROUND_USERS` array. Any configured user can sign in.
|
|
26
|
+
3. Start the workspace with `npm run dev`.
|
|
27
|
+
4. Sign in with a configured username and password.
|
|
28
|
+
|
|
29
|
+
`env.json` is ignored by Git and should never contain production credentials. This is a client-side gate intended for an internal development workspace; use server-side authentication before deploying the playground publicly.
|
package/dist/biznext-style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@import"https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&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{visibility:hidden;position:fixed;z-index:9999999999}.biznext-ui-Voj91bwiOQ0-5.biznext-ui-r8K3Yfg1a0k-a{visibility:visible;top:0;left:0}.biznext-ui-Voj91bwiOQ0-5.biznext-ui-hLBI-yY3XZg-8{visibility:visible;top:0;left:50%;transform:translate(-50%)}.biznext-ui-Voj91bwiOQ0-5.biznext-ui-McMmb-sS6LE-3{visibility:visible;top:0;right:0}.biznext-ui-Voj91bwiOQ0-5.biznext-ui-lX4jcK0Szv4-9{visibility:visible;bottom:0;left:0}.biznext-ui-Voj91bwiOQ0-5.biznext-ui-Ee7khmzQluU-1{visibility:visible;bottom:0;left:50%;transform:translate(-50%)}.biznext-ui-Voj91bwiOQ0-5.biznext-ui-8KE-IEqqaMQ-f{visibility:visible;bottom:0;right:0}.biznext-ui-HNUcjKVTeyM-1{background:#fff;border-radius:4px;border-top:4px solid #cfd7df;padding:10px 16px;box-shadow:0 2px 18px #12344d33;width:400px;margin:16px;display:flex;align-items:flex-start;position:relative;animation:biznext-ui-HDMPjvBSEyg-1 .5s}.biznext-ui--tFdGazkGSA-f{margin-right:16px;margin-top:2px;color:#cfd7df}.biznext-ui--tFdGazkGSA-f>svg{width:16px;height:16px}.biznext-ui-ymhtH9nUp6I-c{font-size:14px;font-weight:600;padding-right:16px;flex-grow:2;font-family:Nunito Sans,sans-serif}.biznext-ui-KpFZjCXKdcg-2{margin:0;word-break:break-word;white-space:normal}.biznext-ui-BzxmwExZEIc-0{display:inline-flex;margin-top:4px}.biznext-ui-2vYXLFQRSLY-d{border-radius:4px;padding:0 2px;font-size:10px;min-width:16px;line-height:1;height:16px;background-color:transparent;border:1px solid transparent;cursor:pointer}.biznext-ui-fnjPMKE33W8-7{display:inline-flex;color:#264966}.biznext-ui-fnjPMKE33W8-7>svg{width:9px;height:9px}.biznext-ui-PGnSqC3fwN4-3{font-size:.75rem;padding:2px 6px;border-radius:5px;color:#fff;font-weight:500;position:absolute;top:-10px;right:-10px}.biznext-ui-g5CASl7JMIU-8{position:relative;display:inline-block}.biznext-ui-iwVPv1bazVw-8{position:absolute;top:15%;left:3%;height:70%;width:93%;border-radius:12px;background:#fff;box-shadow:0 1px 3px #0000000d,0 4px 10px #00000014;border:1px solid rgba(0,0,0,.06);pointer-events:none}.biznext-ui-HNUcjKVTeyM-1.biznext-ui-gWJh5oSUaH4-8{border-top-color:#00795b}.biznext-ui-HNUcjKVTeyM-1.biznext-ui-gWJh5oSUaH4-8 .biznext-ui-PGnSqC3fwN4-3{background-color:#00795b}.biznext-ui-HNUcjKVTeyM-1.biznext-ui-KprtriQR6do-2{border-top-color:#2c5cc5}.biznext-ui-HNUcjKVTeyM-1.biznext-ui-KprtriQR6do-2 .biznext-ui-PGnSqC3fwN4-3{background-color:#2c5cc5}.biznext-ui-HNUcjKVTeyM-1.biznext-ui-u0IYuYPu1og-b{border-top-color:#ea7630}.biznext-ui-HNUcjKVTeyM-1.biznext-ui-u0IYuYPu1og-b .biznext-ui-PGnSqC3fwN4-3{background-color:#ea7630}.biznext-ui-HNUcjKVTeyM-1.biznext-ui-DMi33WPhK2I-0{border-top-color:#d72d30}.biznext-ui-HNUcjKVTeyM-1.biznext-ui-DMi33WPhK2I-0 .biznext-ui-PGnSqC3fwN4-3{background-color:#d72d30}.biznext-ui-HNUcjKVTeyM-1.biznext-ui-gWJh5oSUaH4-8>.biznext-ui--tFdGazkGSA-f{color:#00795b}.biznext-ui-HNUcjKVTeyM-1.biznext-ui-KprtriQR6do-2>.biznext-ui--tFdGazkGSA-f{color:#2c5cc5}.biznext-ui-HNUcjKVTeyM-1.biznext-ui-u0IYuYPu1og-b>.biznext-ui--tFdGazkGSA-f{color:#ea7630}.biznext-ui-HNUcjKVTeyM-1.biznext-ui-DMi33WPhK2I-0>.biznext-ui--tFdGazkGSA-f{color:#d72d30}@keyframes biznext-ui-HDMPjvBSEyg-1{0%{top:-100px;opacity:0}to{top:0;opacity:1}}.biznext-ui-4yyscqDACxw-e *{margin:0;padding:0;font-family:Nunito Sans,sans-serif}.biznext-ui-ylpaWxEFaTU-c{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:99999999;display:flex;background-color:#18324799}.biznext-ui-4yyscqDACxw-e{display:grid;width:440px;opacity:1;transform:translateY(0);border-radius:8px;background:#fff;margin:auto;border:1px solid #cfd7df;box-shadow:0 25px 50px -12px #00000040}.biznext-ui-xwshXokj5ZA-c{height:100%}.biznext-ui-K3-i0eWEQi8-2{display:grid;grid-template-columns:80px auto;align-items:center;padding:24px}.biznext-ui-W86o6InrK1E-5{border:1px solid #34495e;border-radius:12px;height:max-content;width:max-content}.biznext-ui-PSIKxZhvjyo-3{border:2px solid #ffffff;background:#ebebeb;height:100%;border-radius:12px;display:flex;align-items:center;justify-content:center;height:42px;width:42px}.biznext-ui-PSIKxZhvjyo-3 svg{color:#34495e;font-size:22px}.biznext-ui-K3-i0eWEQi8-2 h2{font-size:18px;color:#2a2e34}.biznext-ui-K3-i0eWEQi8-2 p{font-weight:400;font-size:13px;color:#4f5762;margin-top:4px}.biznext-ui-ffcW632vEe0-7{display:flex;gap:12px;padding:16px 24px;border-top:1px solid #cfd7df;background:#f7f8f9;border-radius:0 0 8px 8px}.biznext-ui-ffcW632vEe0-7>button{height:40px;padding-inline:15px;border-radius:8px;gap:6px;width:100%;font-weight:500;border-width:1px;border-style:solid;cursor:pointer}.biznext-ui-hDNTUYM-ra0-8{color:#4f5762;background-color:#fff;border-color:#cfd7df}.biznext-ui-hDNTUYM-ra0-8:hover{background:#f0f1f3}.biznext-ui-bFmcSx3W8Rs-6{color:#fff;background:#34495e;border-color:#34495e}.biznext-ui-bFmcSx3W8Rs-6:hover{opacity:.7}.biznext-ui-4yyscqDACxw-e.biznext-ui-wec4qWkj9NU-c .biznext-ui-bFmcSx3W8Rs-6{background:#2c5cc5!important;border-color:#2c5cc5!important}.biznext-ui-4yyscqDACxw-e.biznext-ui-wec4qWkj9NU-c .biznext-ui-W86o6InrK1E-5{border-color:#2c5cc5!important}.biznext-ui-4yyscqDACxw-e.biznext-ui-wec4qWkj9NU-c .biznext-ui-PSIKxZhvjyo-3{background:#d7eafe!important}.biznext-ui-4yyscqDACxw-e.biznext-ui-wec4qWkj9NU-c .biznext-ui-PSIKxZhvjyo-3 svg{color:#2c5cc5}.biznext-ui-4yyscqDACxw-e.biznext-ui-mcehjNn9Nl0-9 .biznext-ui-bFmcSx3W8Rs-6{background:#ea7630!important;border-color:#ea7630!important}.biznext-ui-4yyscqDACxw-e.biznext-ui-mcehjNn9Nl0-9 .biznext-ui-W86o6InrK1E-5{border-color:#ea7630!important}.biznext-ui-4yyscqDACxw-e.biznext-ui-mcehjNn9Nl0-9 .biznext-ui-PSIKxZhvjyo-3{background:#fee2d0!important}.biznext-ui-4yyscqDACxw-e.biznext-ui-mcehjNn9Nl0-9 .biznext-ui-PSIKxZhvjyo-3 svg{color:#ea7630}.biznext-ui-4yyscqDACxw-e.biznext-ui-pYq-UQoFMHM-a .biznext-ui-bFmcSx3W8Rs-6{background:#d33d44!important;border-color:#d33d44!important}.biznext-ui-4yyscqDACxw-e.biznext-ui-pYq-UQoFMHM-a .biznext-ui-W86o6InrK1E-5{border-color:#eeb0b3!important}.biznext-ui-4yyscqDACxw-e.biznext-ui-pYq-UQoFMHM-a .biznext-ui-PSIKxZhvjyo-3{background:#f8e2e4!important}.biznext-ui-4yyscqDACxw-e.biznext-ui-pYq-UQoFMHM-a .biznext-ui-PSIKxZhvjyo-3 svg{color:#b13a41}.biznext-ui-4yyscqDACxw-e.biznext-ui-bgVORylkzc0-6 .biznext-ui-bFmcSx3W8Rs-6{background:#319795!important;border-color:#319795!important}.biznext-ui-4yyscqDACxw-e.biznext-ui-bgVORylkzc0-6 .biznext-ui-W86o6InrK1E-5{border-color:#319795!important}.biznext-ui-4yyscqDACxw-e.biznext-ui-bgVORylkzc0-6 .biznext-ui-PSIKxZhvjyo-3{background:#d0ece7!important}.biznext-ui-4yyscqDACxw-e.biznext-ui-bgVORylkzc0-6 .biznext-ui-PSIKxZhvjyo-3 svg{color:#319795}*{font-family:Poppins,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-a7p3n176fMY-6{transform:scale(1.02)!important}.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{cursor:move;padding:8px 12px;position:relative;background-color:#f3f5f7;display:flex;justify-content:space-between;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: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}
|
package/dist/index.es.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export declare const Form: {
|
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
declare interface IConfirmDialogConfig {
|
|
47
|
-
type:
|
|
47
|
+
type: IConfirmDialogType;
|
|
48
48
|
title: string;
|
|
49
49
|
description: string;
|
|
50
50
|
onConfirm: () => void;
|
|
@@ -53,8 +53,12 @@ declare interface IConfirmDialogConfig {
|
|
|
53
53
|
onConfirmTitle?: string;
|
|
54
54
|
onCloseTitle?: string;
|
|
55
55
|
};
|
|
56
|
+
/** Overlay clicks are ignored by default to prevent accidental cancellation. */
|
|
57
|
+
closeOnOverlayClick?: boolean;
|
|
56
58
|
}
|
|
57
59
|
|
|
60
|
+
declare type IConfirmDialogType = 'default' | 'info' | 'warning' | 'danger' | 'success';
|
|
61
|
+
|
|
58
62
|
declare interface IModalProps {
|
|
59
63
|
type: 'left' | 'right' | 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right' | 'center' | 'full';
|
|
60
64
|
index?: number;
|
|
@@ -67,11 +71,20 @@ declare interface IModalProps {
|
|
|
67
71
|
children?: ReactNode;
|
|
68
72
|
}
|
|
69
73
|
|
|
74
|
+
declare interface IToastConfig {
|
|
75
|
+
/** Time in milliseconds before dismissal. Set to 0 to keep the toast open. */
|
|
76
|
+
duration?: number;
|
|
77
|
+
/** Show the close action. Defaults to true. */
|
|
78
|
+
dismissible?: boolean;
|
|
79
|
+
/** Show the copy-message action. Defaults to true. */
|
|
80
|
+
copyable?: boolean;
|
|
81
|
+
}
|
|
82
|
+
|
|
70
83
|
declare interface IToastContext {
|
|
71
|
-
success: (title: string, config?:
|
|
72
|
-
warning: (title: string, config?:
|
|
73
|
-
info: (title: string, config?:
|
|
74
|
-
error: (title: string, config?:
|
|
84
|
+
success: (title: string, config?: IToastConfig) => void;
|
|
85
|
+
warning: (title: string, config?: IToastConfig) => void;
|
|
86
|
+
info: (title: string, config?: IToastConfig) => void;
|
|
87
|
+
error: (title: string, config?: IToastConfig) => void;
|
|
75
88
|
removeToast: (id: string) => void;
|
|
76
89
|
}
|
|
77
90
|
|