@bergetai/ui 0.2.7 → 0.3.2
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/index.cjs +739 -575
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +172 -74
- package/dist/index.d.ts +172 -74
- package/dist/index.js +702 -538
- package/dist/index.js.map +1 -1
- package/dist/styles/index.css +15 -0
- package/package.json +8 -18
- package/LICENSE +0 -21
package/dist/styles/index.css
CHANGED
|
@@ -313,6 +313,15 @@
|
|
|
313
313
|
--berget-item-footer-fg: var(--berget-muted-foreground);
|
|
314
314
|
--berget-item-separator: var(--berget-separator);
|
|
315
315
|
|
|
316
|
+
/* ── Tabs component-scoped tokens ─────────────────────────────────── */
|
|
317
|
+
/* Pill/segmented list track (default variant) */
|
|
318
|
+
--berget-tabs-list-bg: var(--berget-surface-02);
|
|
319
|
+
/* Active pill trigger lifts to the page background */
|
|
320
|
+
--berget-tabs-trigger-active-bg: var(--berget-background);
|
|
321
|
+
--berget-tabs-trigger-active-fg: var(--berget-foreground);
|
|
322
|
+
/* Line variant sliding underline (renders under/along the active tab) */
|
|
323
|
+
--berget-tabs-line-indicator: var(--berget-accent);
|
|
324
|
+
|
|
316
325
|
/* ── WCAG 1.4.8 Visual Presentation — Line heights ──────────────── */
|
|
317
326
|
--berget-heading-leading: 1.5;
|
|
318
327
|
--berget-body-leading: 1.6;
|
|
@@ -1035,6 +1044,12 @@
|
|
|
1035
1044
|
--color-berget-item-footer-fg: var(--berget-item-footer-fg);
|
|
1036
1045
|
--color-berget-item-separator: var(--berget-item-separator);
|
|
1037
1046
|
|
|
1047
|
+
/* Tabs component-scoped aliases */
|
|
1048
|
+
--color-berget-tabs-list-bg: var(--berget-tabs-list-bg);
|
|
1049
|
+
--color-berget-tabs-trigger-active-bg: var(--berget-tabs-trigger-active-bg);
|
|
1050
|
+
--color-berget-tabs-trigger-active-fg: var(--berget-tabs-trigger-active-fg);
|
|
1051
|
+
--color-berget-tabs-line-indicator: var(--berget-tabs-line-indicator);
|
|
1052
|
+
|
|
1038
1053
|
/* Sidebar aliases */
|
|
1039
1054
|
--color-berget-sidebar: var(--berget-sidebar);
|
|
1040
1055
|
--color-berget-sidebar-foreground: var(--berget-sidebar-foreground);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bergetai/ui",
|
|
3
|
-
"version": "0.2
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Berget Design System - Scandinavian-inspired design system with console aesthetic",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,24 +31,19 @@
|
|
|
31
31
|
"registry": "https://registry.npmjs.org",
|
|
32
32
|
"access": "public"
|
|
33
33
|
},
|
|
34
|
+
"scripts": {
|
|
35
|
+
"build": "tsup",
|
|
36
|
+
"dev": "tsup --watch",
|
|
37
|
+
"typecheck": "tsc --noEmit"
|
|
38
|
+
},
|
|
34
39
|
"dependencies": {
|
|
35
|
-
"@
|
|
36
|
-
"@radix-ui/react-dialog": "^1.1.18",
|
|
37
|
-
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
38
|
-
"@radix-ui/react-navigation-menu": "^1.2.18",
|
|
39
|
-
"@radix-ui/react-popover": "^1.1.18",
|
|
40
|
-
"@radix-ui/react-switch": "^1.3.2",
|
|
40
|
+
"@base-ui/react": "^1.6.0",
|
|
41
41
|
"class-variance-authority": "^0.7.1",
|
|
42
42
|
"clsx": "^2.1.1",
|
|
43
43
|
"cmdk": "^1.1.1",
|
|
44
44
|
"tailwind-merge": "^3.5.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@radix-ui/react-checkbox": "^1.3.3",
|
|
48
|
-
"@radix-ui/react-label": "^2.1.8",
|
|
49
|
-
"@radix-ui/react-select": "^2.2.6",
|
|
50
|
-
"@radix-ui/react-separator": "^1.1.8",
|
|
51
|
-
"@radix-ui/react-slot": "^1.2.4",
|
|
52
47
|
"lucide-react": "^1.23.0",
|
|
53
48
|
"motion": "^12.38.0",
|
|
54
49
|
"react": "^19.0.0",
|
|
@@ -61,10 +56,5 @@
|
|
|
61
56
|
"@types/react-dom": "^19.0.0",
|
|
62
57
|
"tsup": "^8.3.0",
|
|
63
58
|
"typescript": "^5.7.0"
|
|
64
|
-
},
|
|
65
|
-
"scripts": {
|
|
66
|
-
"build": "tsup",
|
|
67
|
-
"dev": "tsup --watch",
|
|
68
|
-
"typecheck": "tsc --noEmit"
|
|
69
59
|
}
|
|
70
|
-
}
|
|
60
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Berget AI
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|