ics-ui-kit 0.1.6 → 0.1.8
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/{Command-BhbfL5wm.js → Command-CiZHptkR.js} +2 -2
- package/dist/{Command-BhbfL5wm.js.map → Command-CiZHptkR.js.map} +1 -1
- package/dist/{Dialog-ByiJIDhl.js → Dialog-Bs1B5Iu8.js} +2 -2
- package/dist/{Dialog-ByiJIDhl.js.map → Dialog-Bs1B5Iu8.js.map} +1 -1
- package/dist/Overlay-CVt011mY.js +28 -0
- package/dist/Overlay-CVt011mY.js.map +1 -0
- package/dist/{Sheet-rtwmzm2-.js → Sheet-zTMuP7C8.js} +2 -2
- package/dist/{Sheet-rtwmzm2-.js.map → Sheet-zTMuP7C8.js.map} +1 -1
- package/dist/components/alert-dialog.js +1 -1
- package/dist/components/command.js +1 -1
- package/dist/components/dialog.js +2 -2
- package/dist/components/drawer.js +1 -1
- package/dist/components/file-upload/FileUpload.d.ts +1 -0
- package/dist/components/file-upload/FileUpload.stories.d.ts +1 -0
- package/dist/components/file-upload/components/file-upload-compact-input-zone/FileUploadCompactInputZone.d.ts +1 -1
- package/dist/components/file-upload/components/file-upload-input-zone/FileUploadInputZone.d.ts +1 -1
- package/dist/components/file-upload/components/file-upload-item/FileUploadItem.d.ts +2 -0
- package/dist/components/file-upload/components/file-upload-item/FileUploadItem.stories.d.ts +1 -0
- package/dist/components/file-upload/components/file-upload-item-compact/FileUploadItemCompact.d.ts +2 -0
- package/dist/components/file-upload/components/file-upload-item-compact/FileUploadItemCompact.stories.d.ts +1 -0
- package/dist/components/file-upload/file-upload-compact/FileUploadCompact.d.ts +1 -0
- package/dist/components/file-upload/file-upload-compact/FileUploadCompact.stories.d.ts +1 -0
- package/dist/components/file-upload.js +194 -185
- package/dist/components/file-upload.js.map +1 -1
- package/dist/components/overlay.js +1 -1
- package/dist/components/resizable/components/ResizableCornerIcon.d.ts +3 -0
- package/dist/components/resizable/components/ResizableCornerIcon.stories.d.ts +7 -0
- package/dist/components/resizable/index.d.ts +1 -0
- package/dist/components/resizable.js +255 -232
- package/dist/components/resizable.js.map +1 -1
- package/dist/components/search-select.js +1 -1
- package/dist/components/sheet.js +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/formatBytes-C4QXq5lC.js +9 -0
- package/dist/formatBytes-C4QXq5lC.js.map +1 -0
- package/dist/hooks/use-file-upload.js +1 -1
- package/dist/lib/utils/index.d.ts +1 -0
- package/dist/lib/utils.js +4 -2
- package/dist/lib/utils.js.map +1 -1
- package/dist/styles-scoped.css +54 -40
- package/dist/styles.css +54 -40
- package/dist/theme.css +25 -25
- package/dist/useFileUpload-Bnl3P8mP.js +193 -0
- package/dist/useFileUpload-Bnl3P8mP.js.map +1 -0
- package/package.json +1 -1
- package/tailwind.preset.js +2 -2
- package/dist/Overlay-2XMlxApi.js +0 -28
- package/dist/Overlay-2XMlxApi.js.map +0 -1
- package/dist/useFileUpload-iDag0iqM.js +0 -197
- package/dist/useFileUpload-iDag0iqM.js.map +0 -1
|
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as D, Fragment as q } from "react/jsx-runtime";
|
|
|
2
2
|
import F, { useState as w, useCallback as x, useEffect as A, forwardRef as ee, useMemo as M, useRef as H } from "react";
|
|
3
3
|
import { T as Q } from "../index-BVqs-uqP.js";
|
|
4
4
|
import { u as K, S as fe } from "../SearchSelectTag-DFCX9zT1.js";
|
|
5
|
-
import { b as Se, g as re, C as te, c as ne, e as ge, i as ve } from "../Command-
|
|
5
|
+
import { b as Se, g as re, C as te, c as ne, e as ge, i as ve } from "../Command-CiZHptkR.js";
|
|
6
6
|
import { I as j } from "../Icon-DH3ev9GK.js";
|
|
7
7
|
import { b as ye, P as _, a as $ } from "../Popover-Dvr7y0YY.js";
|
|
8
8
|
import { m as Ce, s as be } from "../Select-DRwv6-eZ.js";
|
package/dist/components/sheet.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as a, g as s, a as h, e as S, c as r, b as o, i, h as l, d as g, f as n } from "../Sheet-
|
|
1
|
+
import { S as a, g as s, a as h, e as S, c as r, b as o, i, h as l, d as g, f as n } from "../Sheet-zTMuP7C8.js";
|
|
2
2
|
export {
|
|
3
3
|
a as Sheet,
|
|
4
4
|
s as SheetClose,
|
|
@@ -3,7 +3,7 @@ import { e as T } from "../useBreakpoints-D8wKOvil.js";
|
|
|
3
3
|
import o from "react";
|
|
4
4
|
import { T as B, b as D, c as A, a as E } from "../Tooltip-C4rVuWr4.js";
|
|
5
5
|
import { c as w } from "../cn-dsXlqdJg.js";
|
|
6
|
-
import { S as G, a as L, b as O, d as H, e as P } from "../Sheet-
|
|
6
|
+
import { S as G, a as L, b as O, d as H, e as P } from "../Sheet-zTMuP7C8.js";
|
|
7
7
|
import { I as R } from "../IconButton-DwkpNgn3.js";
|
|
8
8
|
import { T as K } from "../TextInput-Cj50ImXi.js";
|
|
9
9
|
import { D as j } from "../Divider-DPW5ZhZ8.js";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const e = (t, o = 2) => {
|
|
2
|
+
if (t === 0) return "0 Bytes";
|
|
3
|
+
const B = 1024, s = o < 0 ? 0 : o, a = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"], r = Math.floor(Math.log(t) / Math.log(B));
|
|
4
|
+
return `${Number.parseFloat((t / Math.pow(B, r)).toFixed(s))} ${a[r]}`;
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
e as f
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=formatBytes-C4QXq5lC.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatBytes-C4QXq5lC.js","sources":["../src/lib/utils/file/formatBytes.ts"],"sourcesContent":["// Helper function to format bytes to human-readable format\nexport const formatBytes = (bytes: number, decimals = 2): string => {\n\tif (bytes === 0) return \"0 Bytes\";\n\n\tconst k = 1024;\n\tconst dm = decimals < 0 ? 0 : decimals;\n\tconst sizes = [\"Bytes\", \"KB\", \"MB\", \"GB\", \"TB\", \"PB\", \"EB\", \"ZB\", \"YB\"];\n\n\tconst i = Math.floor(Math.log(bytes) / Math.log(k));\n\n\treturn `${Number.parseFloat((bytes / Math.pow(k, i)).toFixed(dm))} ${sizes[i]}`;\n};\n"],"names":["formatBytes","bytes","decimals","k","dm","sizes","i"],"mappings":"AACO,MAAMA,IAAc,CAACC,GAAeC,IAAW,MAAc;AAC/D,MAAAD,MAAU,EAAU,QAAA;AAExB,QAAME,IAAI,MACJC,IAAKF,IAAW,IAAI,IAAIA,GACxBG,IAAQ,CAAC,SAAS,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM,IAAI,GAEhEC,IAAI,KAAK,MAAM,KAAK,IAAIL,CAAK,IAAI,KAAK,IAAIE,CAAC,CAAC;AAElD,SAAO,GAAG,OAAO,YAAYF,IAAQ,KAAK,IAAIE,GAAGG,CAAC,GAAG,QAAQF,CAAE,CAAC,CAAC,IAAIC,EAAMC,CAAC,CAAC;AAC9E;"}
|
package/dist/lib/utils.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as i } from "../cn-dsXlqdJg.js";
|
|
2
|
+
import { f as c } from "../formatBytes-C4QXq5lC.js";
|
|
2
3
|
function n(r) {
|
|
3
4
|
if (r === 0 || r < 0)
|
|
4
5
|
return "";
|
|
@@ -19,7 +20,8 @@ function n(r) {
|
|
|
19
20
|
return String(r);
|
|
20
21
|
}
|
|
21
22
|
export {
|
|
22
|
-
|
|
23
|
+
i as cn,
|
|
24
|
+
c as formatBytes,
|
|
23
25
|
n as formatCounterValue
|
|
24
26
|
};
|
|
25
27
|
//# sourceMappingURL=utils.js.map
|
package/dist/lib/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sources":["../../src/lib/utils/formatCounterValue.ts"],"sourcesContent":["/**\n * Форматирует число для отображения в компоненте Counter согласно правилам:\n * - Максимум 4 символа, включая `+`\n * - 0 не отображается\n * - Без дробей\n *\n * @param value - Число для форматирования\n * @returns Отформатированная строка или пустая строка для 0\n *\n * @example\n * formatCounterValue(5) // \"5\"\n * formatCounterValue(42) // \"42\"\n * formatCounterValue(150) // \"99+\"\n * formatCounterValue(5000) // \"999+\"\n * formatCounterValue(50000) // \"10k+\"\n * formatCounterValue(2000000) // \"2М+\"\n * formatCounterValue(10000000) // \"10М+\"\n * formatCounterValue(99000000) // \"99М+\"\n * formatCounterValue(0) // \"\"\n */\nexport function formatCounterValue(value: number): string {\n\t// 0 не отображаем\n\tif (value === 0) {\n\t\treturn \"\";\n\t}\n\n\t// Отрицательные числа не поддерживаются\n\tif (value < 0) {\n\t\treturn \"\";\n\t}\n\n\t// 1-9: показать одну цифру\n\tif (value >= 1 && value <= 9) {\n\t\treturn String(value);\n\t}\n\n\t// 10-99: показать две цифры\n\tif (value >= 10 && value <= 99) {\n\t\treturn String(value);\n\t}\n\n\t// 100-999: показать \"99+\"\n\tif (value >= 100 && value <= 999) {\n\t\treturn \"99+\";\n\t}\n\n\t// 1 000-9 999: показать \"999+\"\n\tif (value >= 1000 && value <= 9999) {\n\t\treturn \"999+\";\n\t}\n\n\t// 10 000-999 999: показать \"10k+\", \"99k+\" и т.д.\n\tif (value >= 10000 && value <= 999999) {\n\t\tconst thousands = Math.floor(value / 1000);\n\t\t// Проверяем, что результат не превышает 4 символа\n\t\tif (thousands <= 99) {\n\t\t\treturn `${thousands}k+`;\n\t\t}\n\t\t// Если больше 99k, показываем 99k+\n\t\treturn \"99k+\";\n\t}\n\n\t// ≥ 1 000 000: показать \"1М+\", \"9М+\", \"10М+\", \"99М+\" и т.д.\n\tif (value >= 1000000) {\n\t\tconst millions = Math.floor(value / 1000000);\n\t\t// 1-9 млн и 10-98 млн\"\n\t\tif ((millions >= 1 && millions <= 9) || (millions >= 10 && millions <= 98)) {\n\t\t\treturn `${millions}М+`;\n\t\t}\n\t\t// 99 млн и выше: всегда \"99М+\"\n\t\treturn \"99М+\";\n\t}\n\n\t// Fallback (не должно произойти)\n\treturn String(value);\n}\n"],"names":["formatCounterValue","value","thousands","millions"],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.js","sources":["../../src/lib/utils/formatCounterValue.ts"],"sourcesContent":["/**\n * Форматирует число для отображения в компоненте Counter согласно правилам:\n * - Максимум 4 символа, включая `+`\n * - 0 не отображается\n * - Без дробей\n *\n * @param value - Число для форматирования\n * @returns Отформатированная строка или пустая строка для 0\n *\n * @example\n * formatCounterValue(5) // \"5\"\n * formatCounterValue(42) // \"42\"\n * formatCounterValue(150) // \"99+\"\n * formatCounterValue(5000) // \"999+\"\n * formatCounterValue(50000) // \"10k+\"\n * formatCounterValue(2000000) // \"2М+\"\n * formatCounterValue(10000000) // \"10М+\"\n * formatCounterValue(99000000) // \"99М+\"\n * formatCounterValue(0) // \"\"\n */\nexport function formatCounterValue(value: number): string {\n\t// 0 не отображаем\n\tif (value === 0) {\n\t\treturn \"\";\n\t}\n\n\t// Отрицательные числа не поддерживаются\n\tif (value < 0) {\n\t\treturn \"\";\n\t}\n\n\t// 1-9: показать одну цифру\n\tif (value >= 1 && value <= 9) {\n\t\treturn String(value);\n\t}\n\n\t// 10-99: показать две цифры\n\tif (value >= 10 && value <= 99) {\n\t\treturn String(value);\n\t}\n\n\t// 100-999: показать \"99+\"\n\tif (value >= 100 && value <= 999) {\n\t\treturn \"99+\";\n\t}\n\n\t// 1 000-9 999: показать \"999+\"\n\tif (value >= 1000 && value <= 9999) {\n\t\treturn \"999+\";\n\t}\n\n\t// 10 000-999 999: показать \"10k+\", \"99k+\" и т.д.\n\tif (value >= 10000 && value <= 999999) {\n\t\tconst thousands = Math.floor(value / 1000);\n\t\t// Проверяем, что результат не превышает 4 символа\n\t\tif (thousands <= 99) {\n\t\t\treturn `${thousands}k+`;\n\t\t}\n\t\t// Если больше 99k, показываем 99k+\n\t\treturn \"99k+\";\n\t}\n\n\t// ≥ 1 000 000: показать \"1М+\", \"9М+\", \"10М+\", \"99М+\" и т.д.\n\tif (value >= 1000000) {\n\t\tconst millions = Math.floor(value / 1000000);\n\t\t// 1-9 млн и 10-98 млн\"\n\t\tif ((millions >= 1 && millions <= 9) || (millions >= 10 && millions <= 98)) {\n\t\t\treturn `${millions}М+`;\n\t\t}\n\t\t// 99 млн и выше: всегда \"99М+\"\n\t\treturn \"99М+\";\n\t}\n\n\t// Fallback (не должно произойти)\n\treturn String(value);\n}\n"],"names":["formatCounterValue","value","thousands","millions"],"mappings":";;AAoBO,SAASA,EAAmBC,GAAuB;AAOzD,MALIA,MAAU,KAKVA,IAAQ;AACJ,WAAA;AASJ,MALAA,KAAS,KAAKA,KAAS,KAKvBA,KAAS,MAAMA,KAAS;AAC3B,WAAO,OAAOA,CAAK;AAIhB,MAAAA,KAAS,OAAOA,KAAS;AACrB,WAAA;AAIJ,MAAAA,KAAS,OAAQA,KAAS;AACtB,WAAA;AAIJ,MAAAA,KAAS,OAASA,KAAS,QAAQ;AACtC,UAAMC,IAAY,KAAK,MAAMD,IAAQ,GAAI;AAEzC,WAAIC,KAAa,KACT,GAAGA,CAAS,OAGb;AAAA,EAAA;AAIR,MAAID,KAAS,KAAS;AACrB,UAAME,IAAW,KAAK,MAAMF,IAAQ,GAAO;AAE3C,WAAKE,KAAY,KAAKA,KAAY,KAAOA,KAAY,MAAMA,KAAY,KAC/D,GAAGA,CAAQ,OAGZ;AAAA,EAAA;AAIR,SAAO,OAAOF,CAAK;AACpB;"}
|
package/dist/styles-scoped.css
CHANGED
|
@@ -128,18 +128,18 @@
|
|
|
128
128
|
--alpha-80: 210 40% 96% / 80%;
|
|
129
129
|
--alpha-90: 210 40% 96% / 90%;
|
|
130
130
|
|
|
131
|
-
--alpha-high-03:
|
|
132
|
-
--alpha-high-05:
|
|
133
|
-
--alpha-high-08:
|
|
134
|
-
--alpha-high-10:
|
|
135
|
-
--alpha-high-20:
|
|
136
|
-
--alpha-high-30:
|
|
137
|
-
--alpha-high-40:
|
|
138
|
-
--alpha-high-50:
|
|
139
|
-
--alpha-high-60:
|
|
140
|
-
--alpha-high-70:
|
|
141
|
-
--alpha-high-80:
|
|
142
|
-
--alpha-high-90:
|
|
131
|
+
--alpha-high-03: 229 84% 5% / 3%;
|
|
132
|
+
--alpha-high-05: 229 84% 5% / 5%;
|
|
133
|
+
--alpha-high-08: 229 84% 5% / 8%;
|
|
134
|
+
--alpha-high-10: 229 84% 5% / 10%;
|
|
135
|
+
--alpha-high-20: 229 84% 5% / 20%;
|
|
136
|
+
--alpha-high-30: 229 84% 5% / 30%;
|
|
137
|
+
--alpha-high-40: 229 84% 5% / 40%;
|
|
138
|
+
--alpha-high-50: 229 84% 5% / 50%;
|
|
139
|
+
--alpha-high-60: 229 84% 5% / 60%;
|
|
140
|
+
--alpha-high-70: 229 84% 5% / 70%;
|
|
141
|
+
--alpha-high-80: 229 84% 5% / 80%;
|
|
142
|
+
--alpha-high-90: 229 84% 5% / 90%;
|
|
143
143
|
|
|
144
144
|
--alpha-accent-primary: 210 40% 96% / 12%;
|
|
145
145
|
--alpha-accent-secondary: 210 40% 96% / 8%;
|
|
@@ -282,18 +282,18 @@
|
|
|
282
282
|
--status-error-secondary-border: 0 63% 31%;
|
|
283
283
|
|
|
284
284
|
/** Alpha **/
|
|
285
|
-
--alpha-03:
|
|
286
|
-
--alpha-05:
|
|
287
|
-
--alpha-08:
|
|
288
|
-
--alpha-10:
|
|
289
|
-
--alpha-20:
|
|
290
|
-
--alpha-30:
|
|
291
|
-
--alpha-40:
|
|
292
|
-
--alpha-50:
|
|
293
|
-
--alpha-60:
|
|
294
|
-
--alpha-70:
|
|
295
|
-
--alpha-80:
|
|
296
|
-
--alpha-90:
|
|
285
|
+
--alpha-03: 229 84% 5% / 3%;
|
|
286
|
+
--alpha-05: 229 84% 5% / 5%;
|
|
287
|
+
--alpha-08: 229 84% 5% / 8%;
|
|
288
|
+
--alpha-10: 229 84% 5% / 10%;
|
|
289
|
+
--alpha-20: 229 84% 5% / 20%;
|
|
290
|
+
--alpha-30: 229 84% 5% / 30%;
|
|
291
|
+
--alpha-40: 229 84% 5% / 40%;
|
|
292
|
+
--alpha-50: 229 84% 5% / 50%;
|
|
293
|
+
--alpha-60: 229 84% 5% / 60%;
|
|
294
|
+
--alpha-70: 229 84% 5% / 70%;
|
|
295
|
+
--alpha-80: 229 84% 5% / 80%;
|
|
296
|
+
--alpha-90: 229 84% 5% / 90%;
|
|
297
297
|
|
|
298
298
|
--alpha-high-03: 210 40% 96% / 3%;
|
|
299
299
|
--alpha-high-05: 210 40% 96% / 5%;
|
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
|
|
340
340
|
/** Glass **/
|
|
341
341
|
--glass-thin: blur(8px) brightness(68%) saturate(130%);
|
|
342
|
-
--glass-regular: blur(16px)
|
|
342
|
+
--glass-regular: blur(16px);
|
|
343
343
|
--glass-thick: blur(24px) brightness(52%) saturate(180%) contrast(115%);
|
|
344
344
|
--glass-clear: blur(4px) brightness(100%) saturate(100%) opacity(0.6);
|
|
345
345
|
|
|
@@ -1442,6 +1442,9 @@
|
|
|
1442
1442
|
.ui-kit .right-0 {
|
|
1443
1443
|
right: 0px;
|
|
1444
1444
|
}
|
|
1445
|
+
.ui-kit .right-0\.5 {
|
|
1446
|
+
right: 0.125rem;
|
|
1447
|
+
}
|
|
1445
1448
|
.ui-kit .right-1 {
|
|
1446
1449
|
right: 0.25rem;
|
|
1447
1450
|
}
|
|
@@ -3004,13 +3007,13 @@
|
|
|
3004
3007
|
background-color: hsl(var(--alpha-50));
|
|
3005
3008
|
}
|
|
3006
3009
|
.ui-kit .bg-alpha-60 {
|
|
3007
|
-
background-color: hsl(var(--alpha-
|
|
3010
|
+
background-color: hsl(var(--alpha-40));
|
|
3008
3011
|
}
|
|
3009
3012
|
.ui-kit .bg-alpha-high-20 {
|
|
3010
3013
|
background-color: hsl(var(--alpha-high-80));
|
|
3011
3014
|
}
|
|
3012
3015
|
.ui-kit .bg-alpha-high-60 {
|
|
3013
|
-
background-color: hsl(var(--alpha-high-
|
|
3016
|
+
background-color: hsl(var(--alpha-high-40));
|
|
3014
3017
|
}
|
|
3015
3018
|
.ui-kit .bg-alpha-high-80 {
|
|
3016
3019
|
background-color: hsl(var(--alpha-high-20));
|
|
@@ -3112,12 +3115,6 @@
|
|
|
3112
3115
|
.ui-kit .bg-sidebar-bg {
|
|
3113
3116
|
background-color: hsl(var(--sidebar-bg));
|
|
3114
3117
|
}
|
|
3115
|
-
.ui-kit .bg-slate-950\/20 {
|
|
3116
|
-
background-color: rgb(2 6 23 / 0.2);
|
|
3117
|
-
}
|
|
3118
|
-
.ui-kit .bg-slate-950\/80 {
|
|
3119
|
-
background-color: rgb(2 6 23 / 0.8);
|
|
3120
|
-
}
|
|
3121
3118
|
.ui-kit .bg-status-error {
|
|
3122
3119
|
background-color: hsl(var(--status-error));
|
|
3123
3120
|
}
|
|
@@ -3219,6 +3216,11 @@
|
|
|
3219
3216
|
.ui-kit .bg-gradient-to-r {
|
|
3220
3217
|
background-image: linear-gradient(to right, var(--tw-gradient-stops));
|
|
3221
3218
|
}
|
|
3219
|
+
.ui-kit .from-alpha-high-50 {
|
|
3220
|
+
--tw-gradient-from: hsl(var(--alpha-high-50)) var(--tw-gradient-from-position);
|
|
3221
|
+
--tw-gradient-to: hsl(var(--alpha-high-50) / 0) var(--tw-gradient-to-position);
|
|
3222
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
3223
|
+
}
|
|
3222
3224
|
.ui-kit .from-blue-50 {
|
|
3223
3225
|
--tw-gradient-from: #eff6ff var(--tw-gradient-from-position);
|
|
3224
3226
|
--tw-gradient-to: rgb(239 246 255 / 0) var(--tw-gradient-to-position);
|
|
@@ -3229,10 +3231,8 @@
|
|
|
3229
3231
|
--tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);
|
|
3230
3232
|
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
3231
3233
|
}
|
|
3232
|
-
.ui-kit .
|
|
3233
|
-
--tw-gradient-
|
|
3234
|
-
--tw-gradient-to: rgb(2 6 23 / 0) var(--tw-gradient-to-position);
|
|
3235
|
-
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
3234
|
+
.ui-kit .to-alpha-high-20 {
|
|
3235
|
+
--tw-gradient-to: hsl(var(--alpha-high-80)) var(--tw-gradient-to-position);
|
|
3236
3236
|
}
|
|
3237
3237
|
.ui-kit .to-blue-100 {
|
|
3238
3238
|
--tw-gradient-to: #dbeafe var(--tw-gradient-to-position);
|
|
@@ -3240,9 +3240,6 @@
|
|
|
3240
3240
|
.ui-kit .to-purple-600 {
|
|
3241
3241
|
--tw-gradient-to: #9333ea var(--tw-gradient-to-position);
|
|
3242
3242
|
}
|
|
3243
|
-
.ui-kit .to-slate-950\/80 {
|
|
3244
|
-
--tw-gradient-to: rgb(2 6 23 / 0.8) var(--tw-gradient-to-position);
|
|
3245
|
-
}
|
|
3246
3243
|
.ui-kit .fill-alpha-high-20 {
|
|
3247
3244
|
fill: hsl(var(--alpha-high-80));
|
|
3248
3245
|
}
|
|
@@ -5644,9 +5641,23 @@
|
|
|
5644
5641
|
animation: collapsible-down 200ms cubic-bezier(0.22,1,0.36,1);
|
|
5645
5642
|
}
|
|
5646
5643
|
}
|
|
5644
|
+
.ui-kit .dark\:bg-alpha-20:is(.dark *) {
|
|
5645
|
+
background-color: hsl(var(--alpha-80));
|
|
5646
|
+
}
|
|
5647
|
+
.ui-kit .dark\:bg-alpha-80:is(.dark *) {
|
|
5648
|
+
background-color: hsl(var(--alpha-20));
|
|
5649
|
+
}
|
|
5647
5650
|
.ui-kit .dark\:bg-secondary-bg:is(.dark *) {
|
|
5648
5651
|
background-color: hsl(var(--secondary-bg));
|
|
5649
5652
|
}
|
|
5653
|
+
.ui-kit .dark\:from-alpha-50:is(.dark *) {
|
|
5654
|
+
--tw-gradient-from: hsl(var(--alpha-50)) var(--tw-gradient-from-position);
|
|
5655
|
+
--tw-gradient-to: hsl(var(--alpha-50) / 0) var(--tw-gradient-to-position);
|
|
5656
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
5657
|
+
}
|
|
5658
|
+
.ui-kit .dark\:to-alpha-20:is(.dark *) {
|
|
5659
|
+
--tw-gradient-to: hsl(var(--alpha-80)) var(--tw-gradient-to-position);
|
|
5660
|
+
}
|
|
5650
5661
|
.ui-kit .dark\:fill-primary-border:is(.dark *) {
|
|
5651
5662
|
fill: hsl(var(--primary-border));
|
|
5652
5663
|
}
|
|
@@ -6105,6 +6116,9 @@
|
|
|
6105
6116
|
visibility: visible;
|
|
6106
6117
|
}
|
|
6107
6118
|
}
|
|
6119
|
+
.ui-kit .\[\&\:\:-webkit-resizer\]\:appearance-none::-webkit-resizer {
|
|
6120
|
+
appearance: none;
|
|
6121
|
+
}
|
|
6108
6122
|
.ui-kit .\[\&\:\:-webkit-search-cancel-button\]\:hidden::-webkit-search-cancel-button {
|
|
6109
6123
|
display: none;
|
|
6110
6124
|
}
|
package/dist/styles.css
CHANGED
|
@@ -128,18 +128,18 @@
|
|
|
128
128
|
--alpha-80: 210 40% 96% / 80%;
|
|
129
129
|
--alpha-90: 210 40% 96% / 90%;
|
|
130
130
|
|
|
131
|
-
--alpha-high-03:
|
|
132
|
-
--alpha-high-05:
|
|
133
|
-
--alpha-high-08:
|
|
134
|
-
--alpha-high-10:
|
|
135
|
-
--alpha-high-20:
|
|
136
|
-
--alpha-high-30:
|
|
137
|
-
--alpha-high-40:
|
|
138
|
-
--alpha-high-50:
|
|
139
|
-
--alpha-high-60:
|
|
140
|
-
--alpha-high-70:
|
|
141
|
-
--alpha-high-80:
|
|
142
|
-
--alpha-high-90:
|
|
131
|
+
--alpha-high-03: 229 84% 5% / 3%;
|
|
132
|
+
--alpha-high-05: 229 84% 5% / 5%;
|
|
133
|
+
--alpha-high-08: 229 84% 5% / 8%;
|
|
134
|
+
--alpha-high-10: 229 84% 5% / 10%;
|
|
135
|
+
--alpha-high-20: 229 84% 5% / 20%;
|
|
136
|
+
--alpha-high-30: 229 84% 5% / 30%;
|
|
137
|
+
--alpha-high-40: 229 84% 5% / 40%;
|
|
138
|
+
--alpha-high-50: 229 84% 5% / 50%;
|
|
139
|
+
--alpha-high-60: 229 84% 5% / 60%;
|
|
140
|
+
--alpha-high-70: 229 84% 5% / 70%;
|
|
141
|
+
--alpha-high-80: 229 84% 5% / 80%;
|
|
142
|
+
--alpha-high-90: 229 84% 5% / 90%;
|
|
143
143
|
|
|
144
144
|
--alpha-accent-primary: 210 40% 96% / 12%;
|
|
145
145
|
--alpha-accent-secondary: 210 40% 96% / 8%;
|
|
@@ -282,18 +282,18 @@
|
|
|
282
282
|
--status-error-secondary-border: 0 63% 31%;
|
|
283
283
|
|
|
284
284
|
/** Alpha **/
|
|
285
|
-
--alpha-03:
|
|
286
|
-
--alpha-05:
|
|
287
|
-
--alpha-08:
|
|
288
|
-
--alpha-10:
|
|
289
|
-
--alpha-20:
|
|
290
|
-
--alpha-30:
|
|
291
|
-
--alpha-40:
|
|
292
|
-
--alpha-50:
|
|
293
|
-
--alpha-60:
|
|
294
|
-
--alpha-70:
|
|
295
|
-
--alpha-80:
|
|
296
|
-
--alpha-90:
|
|
285
|
+
--alpha-03: 229 84% 5% / 3%;
|
|
286
|
+
--alpha-05: 229 84% 5% / 5%;
|
|
287
|
+
--alpha-08: 229 84% 5% / 8%;
|
|
288
|
+
--alpha-10: 229 84% 5% / 10%;
|
|
289
|
+
--alpha-20: 229 84% 5% / 20%;
|
|
290
|
+
--alpha-30: 229 84% 5% / 30%;
|
|
291
|
+
--alpha-40: 229 84% 5% / 40%;
|
|
292
|
+
--alpha-50: 229 84% 5% / 50%;
|
|
293
|
+
--alpha-60: 229 84% 5% / 60%;
|
|
294
|
+
--alpha-70: 229 84% 5% / 70%;
|
|
295
|
+
--alpha-80: 229 84% 5% / 80%;
|
|
296
|
+
--alpha-90: 229 84% 5% / 90%;
|
|
297
297
|
|
|
298
298
|
--alpha-high-03: 210 40% 96% / 3%;
|
|
299
299
|
--alpha-high-05: 210 40% 96% / 5%;
|
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
|
|
340
340
|
/** Glass **/
|
|
341
341
|
--glass-thin: blur(8px) brightness(68%) saturate(130%);
|
|
342
|
-
--glass-regular: blur(16px)
|
|
342
|
+
--glass-regular: blur(16px);
|
|
343
343
|
--glass-thick: blur(24px) brightness(52%) saturate(180%) contrast(115%);
|
|
344
344
|
--glass-clear: blur(4px) brightness(100%) saturate(100%) opacity(0.6);
|
|
345
345
|
|
|
@@ -1427,6 +1427,9 @@ body {
|
|
|
1427
1427
|
.right-0 {
|
|
1428
1428
|
right: 0px;
|
|
1429
1429
|
}
|
|
1430
|
+
.right-0\.5 {
|
|
1431
|
+
right: 0.125rem;
|
|
1432
|
+
}
|
|
1430
1433
|
.right-1 {
|
|
1431
1434
|
right: 0.25rem;
|
|
1432
1435
|
}
|
|
@@ -2989,13 +2992,13 @@ body {
|
|
|
2989
2992
|
background-color: hsl(var(--alpha-50));
|
|
2990
2993
|
}
|
|
2991
2994
|
.bg-alpha-60 {
|
|
2992
|
-
background-color: hsl(var(--alpha-
|
|
2995
|
+
background-color: hsl(var(--alpha-40));
|
|
2993
2996
|
}
|
|
2994
2997
|
.bg-alpha-high-20 {
|
|
2995
2998
|
background-color: hsl(var(--alpha-high-80));
|
|
2996
2999
|
}
|
|
2997
3000
|
.bg-alpha-high-60 {
|
|
2998
|
-
background-color: hsl(var(--alpha-high-
|
|
3001
|
+
background-color: hsl(var(--alpha-high-40));
|
|
2999
3002
|
}
|
|
3000
3003
|
.bg-alpha-high-80 {
|
|
3001
3004
|
background-color: hsl(var(--alpha-high-20));
|
|
@@ -3097,12 +3100,6 @@ body {
|
|
|
3097
3100
|
.bg-sidebar-bg {
|
|
3098
3101
|
background-color: hsl(var(--sidebar-bg));
|
|
3099
3102
|
}
|
|
3100
|
-
.bg-slate-950\/20 {
|
|
3101
|
-
background-color: rgb(2 6 23 / 0.2);
|
|
3102
|
-
}
|
|
3103
|
-
.bg-slate-950\/80 {
|
|
3104
|
-
background-color: rgb(2 6 23 / 0.8);
|
|
3105
|
-
}
|
|
3106
3103
|
.bg-status-error {
|
|
3107
3104
|
background-color: hsl(var(--status-error));
|
|
3108
3105
|
}
|
|
@@ -3204,6 +3201,11 @@ body {
|
|
|
3204
3201
|
.bg-gradient-to-r {
|
|
3205
3202
|
background-image: linear-gradient(to right, var(--tw-gradient-stops));
|
|
3206
3203
|
}
|
|
3204
|
+
.from-alpha-high-50 {
|
|
3205
|
+
--tw-gradient-from: hsl(var(--alpha-high-50)) var(--tw-gradient-from-position);
|
|
3206
|
+
--tw-gradient-to: hsl(var(--alpha-high-50) / 0) var(--tw-gradient-to-position);
|
|
3207
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
3208
|
+
}
|
|
3207
3209
|
.from-blue-50 {
|
|
3208
3210
|
--tw-gradient-from: #eff6ff var(--tw-gradient-from-position);
|
|
3209
3211
|
--tw-gradient-to: rgb(239 246 255 / 0) var(--tw-gradient-to-position);
|
|
@@ -3214,10 +3216,8 @@ body {
|
|
|
3214
3216
|
--tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);
|
|
3215
3217
|
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
3216
3218
|
}
|
|
3217
|
-
.
|
|
3218
|
-
--tw-gradient-
|
|
3219
|
-
--tw-gradient-to: rgb(2 6 23 / 0) var(--tw-gradient-to-position);
|
|
3220
|
-
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
3219
|
+
.to-alpha-high-20 {
|
|
3220
|
+
--tw-gradient-to: hsl(var(--alpha-high-80)) var(--tw-gradient-to-position);
|
|
3221
3221
|
}
|
|
3222
3222
|
.to-blue-100 {
|
|
3223
3223
|
--tw-gradient-to: #dbeafe var(--tw-gradient-to-position);
|
|
@@ -3225,9 +3225,6 @@ body {
|
|
|
3225
3225
|
.to-purple-600 {
|
|
3226
3226
|
--tw-gradient-to: #9333ea var(--tw-gradient-to-position);
|
|
3227
3227
|
}
|
|
3228
|
-
.to-slate-950\/80 {
|
|
3229
|
-
--tw-gradient-to: rgb(2 6 23 / 0.8) var(--tw-gradient-to-position);
|
|
3230
|
-
}
|
|
3231
3228
|
.fill-alpha-high-20 {
|
|
3232
3229
|
fill: hsl(var(--alpha-high-80));
|
|
3233
3230
|
}
|
|
@@ -5633,9 +5630,23 @@ body {
|
|
|
5633
5630
|
animation: collapsible-down 200ms cubic-bezier(0.22,1,0.36,1);
|
|
5634
5631
|
}
|
|
5635
5632
|
}
|
|
5633
|
+
.dark\:bg-alpha-20:is(.dark *) {
|
|
5634
|
+
background-color: hsl(var(--alpha-80));
|
|
5635
|
+
}
|
|
5636
|
+
.dark\:bg-alpha-80:is(.dark *) {
|
|
5637
|
+
background-color: hsl(var(--alpha-20));
|
|
5638
|
+
}
|
|
5636
5639
|
.dark\:bg-secondary-bg:is(.dark *) {
|
|
5637
5640
|
background-color: hsl(var(--secondary-bg));
|
|
5638
5641
|
}
|
|
5642
|
+
.dark\:from-alpha-50:is(.dark *) {
|
|
5643
|
+
--tw-gradient-from: hsl(var(--alpha-50)) var(--tw-gradient-from-position);
|
|
5644
|
+
--tw-gradient-to: hsl(var(--alpha-50) / 0) var(--tw-gradient-to-position);
|
|
5645
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
5646
|
+
}
|
|
5647
|
+
.dark\:to-alpha-20:is(.dark *) {
|
|
5648
|
+
--tw-gradient-to: hsl(var(--alpha-80)) var(--tw-gradient-to-position);
|
|
5649
|
+
}
|
|
5639
5650
|
.dark\:fill-primary-border:is(.dark *) {
|
|
5640
5651
|
fill: hsl(var(--primary-border));
|
|
5641
5652
|
}
|
|
@@ -6094,6 +6105,9 @@ body {
|
|
|
6094
6105
|
visibility: visible;
|
|
6095
6106
|
}
|
|
6096
6107
|
}
|
|
6108
|
+
.\[\&\:\:-webkit-resizer\]\:appearance-none::-webkit-resizer {
|
|
6109
|
+
appearance: none;
|
|
6110
|
+
}
|
|
6097
6111
|
.\[\&\:\:-webkit-search-cancel-button\]\:hidden::-webkit-search-cancel-button {
|
|
6098
6112
|
display: none;
|
|
6099
6113
|
}
|
package/dist/theme.css
CHANGED
|
@@ -127,18 +127,18 @@
|
|
|
127
127
|
--alpha-80: 210 40% 96% / 80%;
|
|
128
128
|
--alpha-90: 210 40% 96% / 90%;
|
|
129
129
|
|
|
130
|
-
--alpha-high-03:
|
|
131
|
-
--alpha-high-05:
|
|
132
|
-
--alpha-high-08:
|
|
133
|
-
--alpha-high-10:
|
|
134
|
-
--alpha-high-20:
|
|
135
|
-
--alpha-high-30:
|
|
136
|
-
--alpha-high-40:
|
|
137
|
-
--alpha-high-50:
|
|
138
|
-
--alpha-high-60:
|
|
139
|
-
--alpha-high-70:
|
|
140
|
-
--alpha-high-80:
|
|
141
|
-
--alpha-high-90:
|
|
130
|
+
--alpha-high-03: 229 84% 5% / 3%;
|
|
131
|
+
--alpha-high-05: 229 84% 5% / 5%;
|
|
132
|
+
--alpha-high-08: 229 84% 5% / 8%;
|
|
133
|
+
--alpha-high-10: 229 84% 5% / 10%;
|
|
134
|
+
--alpha-high-20: 229 84% 5% / 20%;
|
|
135
|
+
--alpha-high-30: 229 84% 5% / 30%;
|
|
136
|
+
--alpha-high-40: 229 84% 5% / 40%;
|
|
137
|
+
--alpha-high-50: 229 84% 5% / 50%;
|
|
138
|
+
--alpha-high-60: 229 84% 5% / 60%;
|
|
139
|
+
--alpha-high-70: 229 84% 5% / 70%;
|
|
140
|
+
--alpha-high-80: 229 84% 5% / 80%;
|
|
141
|
+
--alpha-high-90: 229 84% 5% / 90%;
|
|
142
142
|
|
|
143
143
|
--alpha-accent-primary: 210 40% 96% / 12%;
|
|
144
144
|
--alpha-accent-secondary: 210 40% 96% / 8%;
|
|
@@ -282,18 +282,18 @@
|
|
|
282
282
|
--status-error-secondary-border: 0 63% 31%;
|
|
283
283
|
|
|
284
284
|
/** Alpha **/
|
|
285
|
-
--alpha-03:
|
|
286
|
-
--alpha-05:
|
|
287
|
-
--alpha-08:
|
|
288
|
-
--alpha-10:
|
|
289
|
-
--alpha-20:
|
|
290
|
-
--alpha-30:
|
|
291
|
-
--alpha-40:
|
|
292
|
-
--alpha-50:
|
|
293
|
-
--alpha-60:
|
|
294
|
-
--alpha-70:
|
|
295
|
-
--alpha-80:
|
|
296
|
-
--alpha-90:
|
|
285
|
+
--alpha-03: 229 84% 5% / 3%;
|
|
286
|
+
--alpha-05: 229 84% 5% / 5%;
|
|
287
|
+
--alpha-08: 229 84% 5% / 8%;
|
|
288
|
+
--alpha-10: 229 84% 5% / 10%;
|
|
289
|
+
--alpha-20: 229 84% 5% / 20%;
|
|
290
|
+
--alpha-30: 229 84% 5% / 30%;
|
|
291
|
+
--alpha-40: 229 84% 5% / 40%;
|
|
292
|
+
--alpha-50: 229 84% 5% / 50%;
|
|
293
|
+
--alpha-60: 229 84% 5% / 60%;
|
|
294
|
+
--alpha-70: 229 84% 5% / 70%;
|
|
295
|
+
--alpha-80: 229 84% 5% / 80%;
|
|
296
|
+
--alpha-90: 229 84% 5% / 90%;
|
|
297
297
|
|
|
298
298
|
--alpha-high-03: 210 40% 96% / 3%;
|
|
299
299
|
--alpha-high-05: 210 40% 96% / 5%;
|
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
|
|
340
340
|
/** Glass **/
|
|
341
341
|
--glass-thin: blur(8px) brightness(68%) saturate(130%);
|
|
342
|
-
--glass-regular: blur(16px)
|
|
342
|
+
--glass-regular: blur(16px);
|
|
343
343
|
--glass-thick: blur(24px) brightness(52%) saturate(180%) contrast(115%);
|
|
344
344
|
--glass-clear: blur(4px) brightness(100%) saturate(100%) opacity(0.6);
|
|
345
345
|
|