@surfnet/curve-react 0.2.0
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/components/ui/avatar/avatar.d.ts +12 -0
- package/dist/components/ui/avatar/avatar.js +52 -0
- package/dist/components/ui/avatar/index.d.ts +1 -0
- package/dist/components/ui/avatar/index.js +1 -0
- package/dist/components/ui/breadcrumb/breadcrumb.d.ts +10 -0
- package/dist/components/ui/breadcrumb/breadcrumb.js +74 -0
- package/dist/components/ui/breadcrumb/index.d.ts +1 -0
- package/dist/components/ui/breadcrumb/index.js +1 -0
- package/dist/components/ui/button/button.d.ts +8 -0
- package/dist/components/ui/button/button.js +46 -0
- package/dist/components/ui/button/index.d.ts +1 -0
- package/dist/components/ui/button/index.js +1 -0
- package/dist/components/ui/card/card.d.ts +11 -0
- package/dist/components/ui/card/card.js +56 -0
- package/dist/components/ui/card/index.d.ts +1 -0
- package/dist/components/ui/card/index.js +1 -0
- package/dist/components/ui/checkbox/checkbox.d.ts +3 -0
- package/dist/components/ui/checkbox/checkbox.js +21 -0
- package/dist/components/ui/checkbox/index.d.ts +1 -0
- package/dist/components/ui/checkbox/index.js +1 -0
- package/dist/components/ui/data-table/data-table.d.ts +23 -0
- package/dist/components/ui/data-table/data-table.js +61 -0
- package/dist/components/ui/data-table/index.d.ts +2 -0
- package/dist/components/ui/data-table/index.js +2 -0
- package/dist/components/ui/data-table/use-data-table.d.ts +11 -0
- package/dist/components/ui/data-table/use-data-table.js +33 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts +30 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.js +138 -0
- package/dist/components/ui/dropdown-menu/index.d.ts +1 -0
- package/dist/components/ui/dropdown-menu/index.js +1 -0
- package/dist/components/ui/field/field.d.ts +24 -0
- package/dist/components/ui/field/field.js +111 -0
- package/dist/components/ui/field/index.d.ts +1 -0
- package/dist/components/ui/field/index.js +1 -0
- package/dist/components/ui/input/index.d.ts +1 -0
- package/dist/components/ui/input/index.js +1 -0
- package/dist/components/ui/input/input.d.ts +3 -0
- package/dist/components/ui/input/input.js +17 -0
- package/dist/components/ui/input-group/index.d.ts +1 -0
- package/dist/components/ui/input-group/index.js +1 -0
- package/dist/components/ui/input-group/input-group.d.ts +18 -0
- package/dist/components/ui/input-group/input-group.js +80 -0
- package/dist/components/ui/label/index.d.ts +1 -0
- package/dist/components/ui/label/index.js +1 -0
- package/dist/components/ui/label/label.d.ts +3 -0
- package/dist/components/ui/label/label.js +15 -0
- package/dist/components/ui/select/index.d.ts +1 -0
- package/dist/components/ui/select/index.js +1 -0
- package/dist/components/ui/select/select.d.ts +16 -0
- package/dist/components/ui/select/select.js +99 -0
- package/dist/components/ui/separator/index.d.ts +1 -0
- package/dist/components/ui/separator/index.js +1 -0
- package/dist/components/ui/separator/separator.d.ts +3 -0
- package/dist/components/ui/separator/separator.js +16 -0
- package/dist/components/ui/sidebar/index.d.ts +1 -0
- package/dist/components/ui/sidebar/index.js +1 -0
- package/dist/components/ui/sidebar/sheet.d.ts +14 -0
- package/dist/components/ui/sidebar/sheet.js +72 -0
- package/dist/components/ui/sidebar/sidebar.d.ts +63 -0
- package/dist/components/ui/sidebar/sidebar.js +362 -0
- package/dist/components/ui/sidebar/skeleton.d.ts +2 -0
- package/dist/components/ui/sidebar/skeleton.js +12 -0
- package/dist/components/ui/sidebar/tooltip.d.ts +6 -0
- package/dist/components/ui/sidebar/tooltip.js +35 -0
- package/dist/components/ui/sidebar/use-mobile.d.ts +1 -0
- package/dist/components/ui/sidebar/use-mobile.js +14 -0
- package/dist/components/ui/table/index.d.ts +1 -0
- package/dist/components/ui/table/index.js +1 -0
- package/dist/components/ui/table/table.d.ts +10 -0
- package/dist/components/ui/table/table.js +68 -0
- package/dist/components/ui/textarea/index.d.ts +1 -0
- package/dist/components/ui/textarea/index.js +1 -0
- package/dist/components/ui/textarea/textarea.d.ts +3 -0
- package/dist/components/ui/textarea/textarea.js +13 -0
- package/dist/curve-react.css +3 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.js +36 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/lib/utils.js +8 -0
- package/package.json +66 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { cn as e } from "./lib/utils.js";
|
|
3
|
+
import { Avatar as t, AvatarBadge as n, AvatarFallback as r, AvatarGroup as i, AvatarGroupCount as a, AvatarImage as o } from "./components/ui/avatar/avatar.js";
|
|
4
|
+
import "./components/ui/avatar/index.js";
|
|
5
|
+
import { Card as s, CardAction as c, CardContent as l, CardDescription as u, CardFooter as d, CardHeader as f, CardTitle as p } from "./components/ui/card/card.js";
|
|
6
|
+
import "./components/ui/card/index.js";
|
|
7
|
+
import { Breadcrumb as m, BreadcrumbEllipsis as h, BreadcrumbItem as g, BreadcrumbLink as _, BreadcrumbList as v, BreadcrumbPage as y, BreadcrumbSeparator as b } from "./components/ui/breadcrumb/breadcrumb.js";
|
|
8
|
+
import "./components/ui/breadcrumb/index.js";
|
|
9
|
+
import { Button as x, buttonVariants as S } from "./components/ui/button/button.js";
|
|
10
|
+
import "./components/ui/button/index.js";
|
|
11
|
+
import { Checkbox as C } from "./components/ui/checkbox/checkbox.js";
|
|
12
|
+
import "./components/ui/checkbox/index.js";
|
|
13
|
+
import { Table as w, TableBody as T, TableCaption as E, TableCell as D, TableFooter as O, TableHead as k, TableHeader as A, TableRow as j } from "./components/ui/table/table.js";
|
|
14
|
+
import "./components/ui/table/index.js";
|
|
15
|
+
import { DataTableContent as M, DataTablePagination as N, DataTableToolbar as P } from "./components/ui/data-table/data-table.js";
|
|
16
|
+
import { useDataTable as F } from "./components/ui/data-table/use-data-table.js";
|
|
17
|
+
import "./components/ui/data-table/index.js";
|
|
18
|
+
import { DropdownMenu as I, DropdownMenuCheckboxItem as L, DropdownMenuContent as R, DropdownMenuGroup as z, DropdownMenuItem as B, DropdownMenuLabel as V, DropdownMenuPortal as H, DropdownMenuRadioGroup as U, DropdownMenuRadioItem as W, DropdownMenuSeparator as G, DropdownMenuShortcut as K, DropdownMenuSub as q, DropdownMenuSubContent as J, DropdownMenuSubTrigger as Y, DropdownMenuTrigger as X } from "./components/ui/dropdown-menu/dropdown-menu.js";
|
|
19
|
+
import "./components/ui/dropdown-menu/index.js";
|
|
20
|
+
import { Label as Z } from "./components/ui/label/label.js";
|
|
21
|
+
import "./components/ui/label/index.js";
|
|
22
|
+
import { Separator as Q } from "./components/ui/separator/separator.js";
|
|
23
|
+
import "./components/ui/separator/index.js";
|
|
24
|
+
import { Field as $, FieldContent as ee, FieldDescription as te, FieldError as ne, FieldGroup as re, FieldLabel as ie, FieldLegend as ae, FieldSeparator as oe, FieldSet as se, FieldTitle as ce } from "./components/ui/field/field.js";
|
|
25
|
+
import "./components/ui/field/index.js";
|
|
26
|
+
import { Input as le } from "./components/ui/input/input.js";
|
|
27
|
+
import "./components/ui/input/index.js";
|
|
28
|
+
import { Textarea as ue } from "./components/ui/textarea/textarea.js";
|
|
29
|
+
import "./components/ui/textarea/index.js";
|
|
30
|
+
import { InputGroup as de, InputGroupAddon as fe, InputGroupButton as pe, InputGroupInput as me, InputGroupText as he, InputGroupTextarea as ge } from "./components/ui/input-group/input-group.js";
|
|
31
|
+
import "./components/ui/input-group/index.js";
|
|
32
|
+
import { Select as _e, SelectContent as ve, SelectGroup as ye, SelectItem as be, SelectLabel as xe, SelectScrollDownButton as Se, SelectScrollUpButton as Ce, SelectSeparator as we, SelectTrigger as Te, SelectValue as Ee } from "./components/ui/select/select.js";
|
|
33
|
+
import "./components/ui/select/index.js";
|
|
34
|
+
import { Sidebar as De, SidebarContent as Oe, SidebarFooter as ke, SidebarGroup as Ae, SidebarGroupAction as je, SidebarGroupContent as Me, SidebarGroupLabel as Ne, SidebarHeader as Pe, SidebarInput as Fe, SidebarInset as Ie, SidebarMenu as Le, SidebarMenuAction as Re, SidebarMenuBadge as ze, SidebarMenuButton as Be, SidebarMenuItem as Ve, SidebarMenuSkeleton as He, SidebarMenuSub as Ue, SidebarMenuSubButton as We, SidebarMenuSubItem as Ge, SidebarProvider as Ke, SidebarRail as qe, SidebarSeparator as Je, SidebarTrigger as Ye, useSidebar as Xe } from "./components/ui/sidebar/sidebar.js";
|
|
35
|
+
import "./components/ui/sidebar/index.js";
|
|
36
|
+
export { t as Avatar, n as AvatarBadge, r as AvatarFallback, i as AvatarGroup, a as AvatarGroupCount, o as AvatarImage, m as Breadcrumb, h as BreadcrumbEllipsis, g as BreadcrumbItem, _ as BreadcrumbLink, v as BreadcrumbList, y as BreadcrumbPage, b as BreadcrumbSeparator, x as Button, s as Card, c as CardAction, l as CardContent, u as CardDescription, d as CardFooter, f as CardHeader, p as CardTitle, C as Checkbox, M as DataTableContent, N as DataTablePagination, P as DataTableToolbar, I as DropdownMenu, L as DropdownMenuCheckboxItem, R as DropdownMenuContent, z as DropdownMenuGroup, B as DropdownMenuItem, V as DropdownMenuLabel, H as DropdownMenuPortal, U as DropdownMenuRadioGroup, W as DropdownMenuRadioItem, G as DropdownMenuSeparator, K as DropdownMenuShortcut, q as DropdownMenuSub, J as DropdownMenuSubContent, Y as DropdownMenuSubTrigger, X as DropdownMenuTrigger, $ as Field, ee as FieldContent, te as FieldDescription, ne as FieldError, re as FieldGroup, ie as FieldLabel, ae as FieldLegend, oe as FieldSeparator, se as FieldSet, ce as FieldTitle, le as Input, de as InputGroup, fe as InputGroupAddon, pe as InputGroupButton, me as InputGroupInput, he as InputGroupText, ge as InputGroupTextarea, Z as Label, _e as Select, ve as SelectContent, ye as SelectGroup, be as SelectItem, xe as SelectLabel, Se as SelectScrollDownButton, Ce as SelectScrollUpButton, we as SelectSeparator, Te as SelectTrigger, Ee as SelectValue, Q as Separator, De as Sidebar, Oe as SidebarContent, ke as SidebarFooter, Ae as SidebarGroup, je as SidebarGroupAction, Me as SidebarGroupContent, Ne as SidebarGroupLabel, Pe as SidebarHeader, Fe as SidebarInput, Ie as SidebarInset, Le as SidebarMenu, Re as SidebarMenuAction, ze as SidebarMenuBadge, Be as SidebarMenuButton, Ve as SidebarMenuItem, He as SidebarMenuSkeleton, Ue as SidebarMenuSub, We as SidebarMenuSubButton, Ge as SidebarMenuSubItem, Ke as SidebarProvider, qe as SidebarRail, Je as SidebarSeparator, Ye as SidebarTrigger, w as Table, T as TableBody, E as TableCaption, D as TableCell, O as TableFooter, k as TableHead, A as TableHeader, j as TableRow, ue as Textarea, S as buttonVariants, e as cn, F as useDataTable, Xe as useSidebar };
|
package/package.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@surfnet/curve-react",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"import": "./dist/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./styles.css": "./dist/curve-react.css"
|
|
17
|
+
},
|
|
18
|
+
"main": "./dist/index.js",
|
|
19
|
+
"module": "./dist/index.js",
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"peerDependencies": {
|
|
22
|
+
"@phosphor-icons/react": "^2.0.0",
|
|
23
|
+
"react": "^19.0.0",
|
|
24
|
+
"react-dom": "^19.0.0"
|
|
25
|
+
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@base-ui/react": "1.5.0",
|
|
28
|
+
"@tanstack/react-table": "^8.21.3",
|
|
29
|
+
"class-variance-authority": "0.7.1",
|
|
30
|
+
"clsx": "2.1.1",
|
|
31
|
+
"tailwind-merge": "3.6.0"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@fontsource-variable/geist": "5.2.9",
|
|
35
|
+
"@phosphor-icons/react": "2.1.10",
|
|
36
|
+
"@storybook/addon-a11y": "10.4.5",
|
|
37
|
+
"@storybook/addon-docs": "10.4.5",
|
|
38
|
+
"@storybook/react-vite": "10.4.5",
|
|
39
|
+
"@tailwindcss/vite": "4.3.1",
|
|
40
|
+
"@types/node": "24.13.2",
|
|
41
|
+
"@types/react": "19.2.17",
|
|
42
|
+
"@types/react-dom": "19.2.3",
|
|
43
|
+
"@vitejs/plugin-react": "6.0.2",
|
|
44
|
+
"react": "19.2.7",
|
|
45
|
+
"react-dom": "19.2.7",
|
|
46
|
+
"rollup-plugin-preserve-directives": "^0.4.0",
|
|
47
|
+
"shadcn": "4.11.0",
|
|
48
|
+
"storybook": "10.4.5",
|
|
49
|
+
"tailwindcss": "4.3.1",
|
|
50
|
+
"tw-animate-css": "1.4.0",
|
|
51
|
+
"typescript": "6.0.3",
|
|
52
|
+
"vite": "8.0.16",
|
|
53
|
+
"vite-plugin-dts": "5.0.2",
|
|
54
|
+
"@surfnet/curve-contracts": "0.2.0",
|
|
55
|
+
"@surfnet/curve-storybook-config": "0.2.0",
|
|
56
|
+
"@surfnet/curve-tokens": "0.2.0",
|
|
57
|
+
"@surfnet/curve-typescript-config": "0.2.0"
|
|
58
|
+
},
|
|
59
|
+
"scripts": {
|
|
60
|
+
"build": "vite build",
|
|
61
|
+
"dev": "vite build --watch",
|
|
62
|
+
"lint": "tsc --noEmit",
|
|
63
|
+
"storybook": "storybook dev -p 6006 --no-open",
|
|
64
|
+
"build-storybook": "storybook build"
|
|
65
|
+
}
|
|
66
|
+
}
|