@taicode/common-web 3.3.0 → 3.4.1
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/output/components/badge.d.ts +7 -6
- package/output/components/badge.d.ts.map +1 -1
- package/output/components/badge.js +20 -12
- package/output/components/button.d.ts +8 -8
- package/output/components/button.d.ts.map +1 -1
- package/output/components/button.js +25 -21
- package/output/components/calendar.d.ts +13 -0
- package/output/components/calendar.d.ts.map +1 -0
- package/output/components/calendar.js +57 -0
- package/output/components/card.d.ts +12 -7
- package/output/components/card.d.ts.map +1 -1
- package/output/components/card.js +25 -20
- package/output/components/chart.d.ts +56 -0
- package/output/components/chart.d.ts.map +1 -0
- package/output/components/chart.js +127 -0
- package/output/components/drawer.d.ts +14 -0
- package/output/components/drawer.d.ts.map +1 -0
- package/output/components/drawer.js +56 -0
- package/output/components/index.d.ts +9 -0
- package/output/components/index.d.ts.map +1 -1
- package/output/components/index.js +9 -0
- package/output/components/input-group.d.ts +1 -1
- package/output/components/input.d.ts +3 -2
- package/output/components/input.d.ts.map +1 -1
- package/output/components/input.js +6 -6
- package/output/components/item.d.ts +1 -1
- package/output/components/list-actions/index.d.ts +23 -0
- package/output/components/list-actions/index.d.ts.map +1 -0
- package/output/components/list-actions/index.js +15 -0
- package/output/components/page-back-button/index.d.ts +8 -0
- package/output/components/page-back-button/index.d.ts.map +1 -0
- package/output/components/page-back-button/index.js +7 -0
- package/output/components/pagination/index.d.ts +34 -0
- package/output/components/pagination/index.d.ts.map +1 -0
- package/output/components/pagination/index.js +75 -0
- package/output/components/separator.d.ts +4 -5
- package/output/components/separator.d.ts.map +1 -1
- package/output/components/separator.js +7 -6
- package/output/components/sidebar.d.ts +78 -0
- package/output/components/sidebar.d.ts.map +1 -0
- package/output/components/sidebar.js +233 -0
- package/output/components/skeleton.d.ts +2 -2
- package/output/components/skeleton.d.ts.map +1 -1
- package/output/components/skeleton.js +4 -3
- package/output/components/toggle-group.d.ts +12 -0
- package/output/components/toggle-group.d.ts.map +1 -0
- package/output/components/toggle-group.js +38 -0
- package/output/components/toggle.d.ts +10 -0
- package/output/components/toggle.d.ts.map +1 -0
- package/output/components/toggle.js +38 -0
- package/package.json +4 -5
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import * as React from 'react';
|
|
14
|
+
import { Drawer as DrawerPrimitive } from 'vaul';
|
|
15
|
+
import { mergeClassNames } from '../utils/merge-class-names/index.js';
|
|
16
|
+
function Drawer(params) {
|
|
17
|
+
const props = __rest(params, []);
|
|
18
|
+
return _jsx(DrawerPrimitive.Root, Object.assign({ "data-slot": "drawer" }, props));
|
|
19
|
+
}
|
|
20
|
+
function DrawerTrigger(params) {
|
|
21
|
+
const props = __rest(params, []);
|
|
22
|
+
return _jsx(DrawerPrimitive.Trigger, Object.assign({ "data-slot": "drawer-trigger" }, props));
|
|
23
|
+
}
|
|
24
|
+
function DrawerPortal(params) {
|
|
25
|
+
const props = __rest(params, []);
|
|
26
|
+
return _jsx(DrawerPrimitive.Portal, Object.assign({ "data-slot": "drawer-portal" }, props));
|
|
27
|
+
}
|
|
28
|
+
function DrawerClose(params) {
|
|
29
|
+
const props = __rest(params, []);
|
|
30
|
+
return _jsx(DrawerPrimitive.Close, Object.assign({ "data-slot": "drawer-close" }, props));
|
|
31
|
+
}
|
|
32
|
+
function DrawerOverlay(params) {
|
|
33
|
+
const { className } = params, props = __rest(params, ["className"]);
|
|
34
|
+
return (_jsx(DrawerPrimitive.Overlay, Object.assign({ "data-slot": "drawer-overlay", className: mergeClassNames('data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50', className) }, props)));
|
|
35
|
+
}
|
|
36
|
+
function DrawerContent(params) {
|
|
37
|
+
const { className, children } = params, props = __rest(params, ["className", "children"]);
|
|
38
|
+
return (_jsxs(DrawerPortal, { "data-slot": "drawer-portal", children: [_jsx(DrawerOverlay, {}), _jsxs(DrawerPrimitive.Content, Object.assign({ "data-slot": "drawer-content", className: mergeClassNames('bg-background flex h-auto flex-col text-sm data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-xl data-[vaul-drawer-direction=bottom]:border-t data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:rounded-r-xl data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:rounded-l-xl data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-xl data-[vaul-drawer-direction=top]:border-b data-[vaul-drawer-direction=left]:sm:max-w-sm data-[vaul-drawer-direction=right]:sm:max-w-sm group/drawer-content fixed z-50', className) }, props, { children: [_jsx("div", { className: "bg-muted mx-auto mt-4 hidden h-1.5 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }), children] }))] }));
|
|
39
|
+
}
|
|
40
|
+
function DrawerHeader(params) {
|
|
41
|
+
const { className } = params, props = __rest(params, ["className"]);
|
|
42
|
+
return (_jsx("div", Object.assign({ "data-slot": "drawer-header", className: mergeClassNames('gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-1.5 md:text-left flex flex-col', className) }, props)));
|
|
43
|
+
}
|
|
44
|
+
function DrawerFooter(params) {
|
|
45
|
+
const { className } = params, props = __rest(params, ["className"]);
|
|
46
|
+
return (_jsx("div", Object.assign({ "data-slot": "drawer-footer", className: mergeClassNames('gap-2 p-4 mt-auto flex flex-col', className) }, props)));
|
|
47
|
+
}
|
|
48
|
+
function DrawerTitle(params) {
|
|
49
|
+
const { className } = params, props = __rest(params, ["className"]);
|
|
50
|
+
return (_jsx(DrawerPrimitive.Title, Object.assign({ "data-slot": "drawer-title", className: mergeClassNames('text-foreground font-medium', className) }, props)));
|
|
51
|
+
}
|
|
52
|
+
function DrawerDescription(params) {
|
|
53
|
+
const { className } = params, props = __rest(params, ["className"]);
|
|
54
|
+
return (_jsx(DrawerPrimitive.Description, Object.assign({ "data-slot": "drawer-description", className: mergeClassNames('text-muted-foreground text-sm', className) }, props)));
|
|
55
|
+
}
|
|
56
|
+
export { Drawer, DrawerPortal, DrawerOverlay, DrawerTrigger, DrawerClose, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription };
|
|
@@ -4,19 +4,25 @@ export * from './avatar.js';
|
|
|
4
4
|
export * from './badge.js';
|
|
5
5
|
export * from './button.js';
|
|
6
6
|
export * from './card.js';
|
|
7
|
+
export * from './calendar.js';
|
|
8
|
+
export * from './chart.js';
|
|
7
9
|
export * from './checkbox.js';
|
|
8
10
|
export * from './command.js';
|
|
9
11
|
export * from './dialog.js';
|
|
10
12
|
export * from './direction.js';
|
|
11
13
|
export * from './dropdown-menu.js';
|
|
14
|
+
export * from './drawer.js';
|
|
12
15
|
export * from './field.js';
|
|
13
16
|
export * from './input-group.js';
|
|
14
17
|
export * from './input.js';
|
|
15
18
|
export * from './item.js';
|
|
16
19
|
export * from './kbd.js';
|
|
17
20
|
export * from './label.js';
|
|
21
|
+
export * from './list-actions/index.js';
|
|
18
22
|
export * from './native-select.js';
|
|
23
|
+
export * from './page-back-button/index.js';
|
|
19
24
|
export * from './page-state.js';
|
|
25
|
+
export * from './pagination/index.js';
|
|
20
26
|
export * from './popover.js';
|
|
21
27
|
export * from './progress.js';
|
|
22
28
|
export * from './radio-group.js';
|
|
@@ -32,5 +38,8 @@ export * from './table.js';
|
|
|
32
38
|
export * from './tabs.js';
|
|
33
39
|
export * from './textarea.js';
|
|
34
40
|
export * from './theme-switcher.js';
|
|
41
|
+
export * from './toggle.js';
|
|
42
|
+
export * from './toggle-group.js';
|
|
35
43
|
export * from './tooltip.js';
|
|
44
|
+
export * from './sidebar.js';
|
|
36
45
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../source/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA;AACjC,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA;AACzB,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,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,eAAe,CAAA;AAC7B,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,eAAe,CAAA;AAC7B,cAAc,qBAAqB,CAAA;AACnC,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA"}
|
|
@@ -4,19 +4,25 @@ export * from './avatar.js';
|
|
|
4
4
|
export * from './badge.js';
|
|
5
5
|
export * from './button.js';
|
|
6
6
|
export * from './card.js';
|
|
7
|
+
export * from './calendar.js';
|
|
8
|
+
export * from './chart.js';
|
|
7
9
|
export * from './checkbox.js';
|
|
8
10
|
export * from './command.js';
|
|
9
11
|
export * from './dialog.js';
|
|
10
12
|
export * from './direction.js';
|
|
11
13
|
export * from './dropdown-menu.js';
|
|
14
|
+
export * from './drawer.js';
|
|
12
15
|
export * from './field.js';
|
|
13
16
|
export * from './input-group.js';
|
|
14
17
|
export * from './input.js';
|
|
15
18
|
export * from './item.js';
|
|
16
19
|
export * from './kbd.js';
|
|
17
20
|
export * from './label.js';
|
|
21
|
+
export * from './list-actions/index.js';
|
|
18
22
|
export * from './native-select.js';
|
|
23
|
+
export * from './page-back-button/index.js';
|
|
19
24
|
export * from './page-state.js';
|
|
25
|
+
export * from './pagination/index.js';
|
|
20
26
|
export * from './popover.js';
|
|
21
27
|
export * from './progress.js';
|
|
22
28
|
export * from './radio-group.js';
|
|
@@ -32,4 +38,7 @@ export * from './table.js';
|
|
|
32
38
|
export * from './tabs.js';
|
|
33
39
|
export * from './textarea.js';
|
|
34
40
|
export * from './theme-switcher.js';
|
|
41
|
+
export * from './toggle.js';
|
|
42
|
+
export * from './toggle-group.js';
|
|
35
43
|
export * from './tooltip.js';
|
|
44
|
+
export * from './sidebar.js';
|
|
@@ -7,7 +7,7 @@ declare const inputGroupAddonVariants: (props?: ({
|
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
declare function InputGroupAddon(params: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): React.JSX.Element;
|
|
9
9
|
declare const inputGroupButtonVariants: (props?: ({
|
|
10
|
-
size?: "
|
|
10
|
+
size?: "xs" | "sm" | "icon-xs" | "icon-sm" | null | undefined;
|
|
11
11
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
12
12
|
declare function InputGroupButton(params: Omit<React.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): React.JSX.Element;
|
|
13
13
|
declare function InputGroupText(params: React.ComponentProps<"span">): React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare function Input(params: React.ComponentProps<'input'>): React.JSX.Element;
|
|
3
|
+
export { Input };
|
|
3
4
|
//# sourceMappingURL=input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../source/components/input.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../source/components/input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,iBAAS,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,qBAanD;AAED,OAAO,EAAE,KAAK,EAAE,CAAA"}
|
|
@@ -10,10 +10,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import
|
|
13
|
+
import * as React from 'react';
|
|
14
14
|
import { mergeClassNames } from '../utils/merge-class-names/index.js';
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
return (_jsx("input", Object.assign({
|
|
18
|
-
}
|
|
19
|
-
|
|
15
|
+
function Input(params) {
|
|
16
|
+
const { className, type } = params, props = __rest(params, ["className", "type"]);
|
|
17
|
+
return (_jsx("input", Object.assign({ type: type, "data-slot": "input", className: mergeClassNames('dark:bg-input/30 border-input focus-visible:border-ring aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 h-9 rounded-md border bg-transparent px-2.5 py-1 text-base transition-colors file:h-7 file:text-sm file:font-medium md:text-sm file:text-foreground placeholder:text-muted-foreground w-full min-w-0 outline-none file:inline-flex file:border-0 file:bg-transparent disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50', className) }, props)));
|
|
18
|
+
}
|
|
19
|
+
export { Input };
|
|
@@ -8,7 +8,7 @@ declare function ItemGroup(params: React.ComponentProps<"div">): React.JSX.Eleme
|
|
|
8
8
|
declare function ItemSeparator(params: React.ComponentProps<typeof Separator>): React.JSX.Element;
|
|
9
9
|
declare const itemVariants: (props?: ({
|
|
10
10
|
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
11
|
-
size?: "default" | "
|
|
11
|
+
size?: "default" | "xs" | "sm" | null | undefined;
|
|
12
12
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
13
13
|
declare function Item(params: React.ComponentProps<"div"> & VariantProps<typeof itemVariants> & ItemParams): React.JSX.Element;
|
|
14
14
|
declare const itemMediaVariants: (props?: ({
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
type RefreshButtonProps = {
|
|
2
|
+
onClick: () => void;
|
|
3
|
+
loading?: boolean;
|
|
4
|
+
label?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare function RefreshButton(props: RefreshButtonProps): import("react").JSX.Element;
|
|
7
|
+
type ResetButtonProps = {
|
|
8
|
+
onClick: () => void;
|
|
9
|
+
label?: string;
|
|
10
|
+
};
|
|
11
|
+
export declare function ResetButton(props: ResetButtonProps): import("react").JSX.Element;
|
|
12
|
+
type FilterActionsProps = {
|
|
13
|
+
onApply: () => void;
|
|
14
|
+
onReset: () => void;
|
|
15
|
+
onRefresh?: () => void;
|
|
16
|
+
loading?: boolean;
|
|
17
|
+
applyLabel?: string;
|
|
18
|
+
resetLabel?: string;
|
|
19
|
+
refreshLabel?: string;
|
|
20
|
+
};
|
|
21
|
+
export declare function FilterActions(props: FilterActionsProps): import("react").JSX.Element;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/components/list-actions/index.tsx"],"names":[],"mappings":"AAIA,KAAK,kBAAkB,GAAG;IACxB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,+BAQtD;AAED,KAAK,gBAAgB,GAAG;IACtB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,+BAQlD;AAED,KAAK,kBAAkB,GAAG;IACxB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,+BAatD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { RefreshCwIcon, RotateCcwIcon, SearchIcon } from 'lucide-react';
|
|
3
|
+
import { Button } from '../button.js';
|
|
4
|
+
export function RefreshButton(props) {
|
|
5
|
+
const { onClick, loading = false, label = 'Refresh' } = props;
|
|
6
|
+
return (_jsx(Button, { variant: "outline", size: "icon", className: "size-9", onClick: onClick, disabled: loading, "aria-label": label, title: label, children: _jsx(RefreshCwIcon, { className: loading ? 'size-4 animate-spin' : 'size-4' }) }));
|
|
7
|
+
}
|
|
8
|
+
export function ResetButton(props) {
|
|
9
|
+
const { onClick, label = 'Reset' } = props;
|
|
10
|
+
return (_jsx(Button, { onClick: onClick, variant: "outline", size: "icon", className: "size-9", "aria-label": label, title: label, children: _jsx(RotateCcwIcon, { className: "size-4" }) }));
|
|
11
|
+
}
|
|
12
|
+
export function FilterActions(props) {
|
|
13
|
+
const { onApply, onReset, onRefresh, loading = false, applyLabel = 'Filter', resetLabel = 'Reset', refreshLabel = 'Refresh' } = props;
|
|
14
|
+
return (_jsxs("div", { className: "flex shrink-0 items-center gap-2", children: [_jsxs(Button, { onClick: onApply, className: "h-9", children: [_jsx(SearchIcon, { className: "size-4" }), applyLabel] }), _jsx(ResetButton, { onClick: onReset, label: resetLabel }), onRefresh && _jsx(RefreshButton, { onClick: onRefresh, loading: loading, label: refreshLabel })] }));
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/components/page-back-button/index.tsx"],"names":[],"mappings":"AAIA,KAAK,mBAAmB,GAAG;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB,CAAA;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,+BAYxD"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { ArrowLeftIcon } from 'lucide-react';
|
|
3
|
+
import { Button } from '../button.js';
|
|
4
|
+
export function PageBackButton(props) {
|
|
5
|
+
const { label = 'Back', context, onClick } = props;
|
|
6
|
+
return (_jsxs("div", { className: "flex min-h-9 min-w-0 items-center gap-2", children: [_jsxs(Button, { variant: "ghost", size: "sm", onClick: onClick, className: "-ml-2 shrink-0 gap-1.5 px-2", children: [_jsx(ArrowLeftIcon, { className: "size-4" }), _jsx("span", { children: label })] }), context && _jsx("span", { className: "truncate text-sm text-muted-foreground", children: context })] }));
|
|
7
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
interface PaginationProps {
|
|
2
|
+
/**
|
|
3
|
+
* 当前页码(从1开始)
|
|
4
|
+
*/
|
|
5
|
+
currentPage: number;
|
|
6
|
+
/**
|
|
7
|
+
* 每页数量
|
|
8
|
+
*/
|
|
9
|
+
pageSize: number;
|
|
10
|
+
/**
|
|
11
|
+
* 总数据量
|
|
12
|
+
*/
|
|
13
|
+
total: number;
|
|
14
|
+
/**
|
|
15
|
+
* 页码改变回调
|
|
16
|
+
*/
|
|
17
|
+
onPageChange: (page: number) => void;
|
|
18
|
+
/**
|
|
19
|
+
* 每页数量改变回调(可选)
|
|
20
|
+
*/
|
|
21
|
+
onPageSizeChange?: (pageSize: number) => void;
|
|
22
|
+
/**
|
|
23
|
+
* 文案(可选,用于 i18n 覆盖)
|
|
24
|
+
*/
|
|
25
|
+
labels?: {
|
|
26
|
+
showingResults?: (start: number, end: number, total: number) => string;
|
|
27
|
+
previous?: string;
|
|
28
|
+
next?: string;
|
|
29
|
+
pageOf?: (current: number, total: number) => string;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export declare function Pagination(props: PaginationProps): import("react").JSX.Element | null;
|
|
33
|
+
export {};
|
|
34
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/components/pagination/index.tsx"],"names":[],"mappings":"AAIA,UAAU,eAAe;IACvB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACpC;;OAEG;IACH,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IAC7C;;OAEG;IACH,MAAM,CAAC,EAAE;QACP,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;QACtE,QAAQ,CAAC,EAAE,MAAM,CAAA;QACjB,IAAI,CAAC,EAAE,MAAM,CAAA;QACb,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;KACpD,CAAA;CACF;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,sCAmIhD"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { ChevronLeft, ChevronRight, ChevronsLeft, ChevronsRight } from 'lucide-react';
|
|
3
|
+
import { Button } from '../button.js';
|
|
4
|
+
export function Pagination(props) {
|
|
5
|
+
var _a, _b;
|
|
6
|
+
const { currentPage, pageSize, total, onPageChange, labels } = props;
|
|
7
|
+
const totalPages = Math.max(1, Math.ceil(total / pageSize));
|
|
8
|
+
const getPageNumbers = () => {
|
|
9
|
+
const pages = [];
|
|
10
|
+
const maxVisible = 7;
|
|
11
|
+
if (totalPages <= maxVisible) {
|
|
12
|
+
for (let i = 1; i <= totalPages; i++) {
|
|
13
|
+
pages.push(i);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
if (currentPage <= 4) {
|
|
18
|
+
for (let i = 1; i <= 5; i++) {
|
|
19
|
+
pages.push(i);
|
|
20
|
+
}
|
|
21
|
+
pages.push('...');
|
|
22
|
+
pages.push(totalPages);
|
|
23
|
+
}
|
|
24
|
+
else if (currentPage >= totalPages - 3) {
|
|
25
|
+
pages.push(1);
|
|
26
|
+
pages.push('...');
|
|
27
|
+
for (let i = totalPages - 4; i <= totalPages; i++) {
|
|
28
|
+
pages.push(i);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
pages.push(1);
|
|
33
|
+
pages.push('...');
|
|
34
|
+
for (let i = currentPage - 1; i <= currentPage + 1; i++) {
|
|
35
|
+
pages.push(i);
|
|
36
|
+
}
|
|
37
|
+
pages.push('...');
|
|
38
|
+
pages.push(totalPages);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return pages;
|
|
42
|
+
};
|
|
43
|
+
const pageNumbers = getPageNumbers();
|
|
44
|
+
const handleFirst = () => {
|
|
45
|
+
onPageChange(1);
|
|
46
|
+
};
|
|
47
|
+
const handlePrevious = () => {
|
|
48
|
+
if (currentPage > 1) {
|
|
49
|
+
onPageChange(currentPage - 1);
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
const handleNext = () => {
|
|
53
|
+
if (currentPage < totalPages) {
|
|
54
|
+
onPageChange(currentPage + 1);
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
const handleLast = () => {
|
|
58
|
+
onPageChange(totalPages);
|
|
59
|
+
};
|
|
60
|
+
const handlePageClick = (page) => {
|
|
61
|
+
if (typeof page === 'number') {
|
|
62
|
+
onPageChange(page);
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
const startIndex = (currentPage - 1) * pageSize + 1;
|
|
66
|
+
const endIndex = Math.min(currentPage * pageSize, total);
|
|
67
|
+
if (total === 0) {
|
|
68
|
+
return null;
|
|
69
|
+
}
|
|
70
|
+
const showingResults = (labels === null || labels === void 0 ? void 0 : labels.showingResults) ? labels.showingResults(startIndex, endIndex, total) : `Showing ${startIndex} to ${endIndex} of ${total} results`;
|
|
71
|
+
const previousLabel = (_a = labels === null || labels === void 0 ? void 0 : labels.previous) !== null && _a !== void 0 ? _a : 'Previous';
|
|
72
|
+
const nextLabel = (_b = labels === null || labels === void 0 ? void 0 : labels.next) !== null && _b !== void 0 ? _b : 'Next';
|
|
73
|
+
const pageOfLabel = (labels === null || labels === void 0 ? void 0 : labels.pageOf) ? labels.pageOf(currentPage, totalPages) : `Page ${currentPage} of ${totalPages}`;
|
|
74
|
+
return (_jsxs("div", { className: "flex items-center justify-between px-4", children: [_jsx("div", { className: "text-muted-foreground hidden flex-1 text-sm lg:flex", children: showingResults }), _jsxs("div", { className: "flex w-full items-center justify-between gap-1 lg:hidden", children: [_jsxs(Button, { variant: "outline", size: "sm", className: "shrink-0 px-2", onClick: handlePrevious, disabled: currentPage === 1, children: [_jsx(ChevronLeft, { className: "h-4 w-4" }), previousLabel] }), _jsx("div", { className: "min-w-0 truncate px-1 text-center text-xs font-medium", children: pageOfLabel }), _jsxs(Button, { variant: "outline", size: "sm", className: "shrink-0 px-2", onClick: handleNext, disabled: currentPage === totalPages, children: [nextLabel, _jsx(ChevronRight, { className: "h-4 w-4" })] })] }), _jsxs("div", { className: "hidden w-full items-center gap-2 lg:flex lg:w-fit", children: [_jsxs(Button, { variant: "outline", className: "size-8 p-0", onClick: handleFirst, disabled: currentPage === 1, children: [_jsx("span", { className: "sr-only", children: "Go to first page" }), _jsx(ChevronsLeft, { className: "h-4 w-4" })] }), _jsxs(Button, { variant: "outline", className: "size-8 p-0", onClick: handlePrevious, disabled: currentPage === 1, children: [_jsx("span", { className: "sr-only", children: "Go to previous page" }), _jsx(ChevronLeft, { className: "h-4 w-4" })] }), _jsx("div", { className: "flex items-center gap-1", children: pageNumbers.map((page, index) => typeof page === 'number' ? (_jsx(Button, { variant: page === currentPage ? 'default' : 'outline', className: "size-8 p-0", onClick: () => handlePageClick(page), children: page }, `page-${page}`)) : (_jsx("span", { className: "flex size-8 items-center justify-center text-muted-foreground", children: page }, `ellipsis-${index}`))) }), _jsxs(Button, { variant: "outline", className: "size-8 p-0", onClick: handleNext, disabled: currentPage === totalPages, children: [_jsx("span", { className: "sr-only", children: "Go to next page" }), _jsx(ChevronRight, { className: "h-4 w-4" })] }), _jsxs(Button, { variant: "outline", className: "size-8 p-0", onClick: handleLast, disabled: currentPage === totalPages, children: [_jsx("span", { className: "sr-only", children: "Go to last page" }), _jsx(ChevronsRight, { className: "h-4 w-4" })] })] })] }));
|
|
75
|
+
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
export declare const Separator: import("react").ForwardRefExoticComponent<SeparatorProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Separator as SeparatorPrimitive } from 'radix-ui';
|
|
3
|
+
declare function Separator(params: React.ComponentProps<typeof SeparatorPrimitive.Root>): React.JSX.Element;
|
|
4
|
+
export { Separator };
|
|
6
5
|
//# sourceMappingURL=separator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../source/components/separator.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../source/components/separator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,SAAS,IAAI,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAI1D,iBAAS,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,IAAI,CAAC,qBAc9E;AAED,OAAO,EAAE,SAAS,EAAE,CAAA"}
|
|
@@ -10,10 +10,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import
|
|
13
|
+
import * as React from 'react';
|
|
14
|
+
import { Separator as SeparatorPrimitive } from 'radix-ui';
|
|
14
15
|
import { mergeClassNames } from '../utils/merge-class-names/index.js';
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
return _jsx(
|
|
18
|
-
}
|
|
19
|
-
|
|
16
|
+
function Separator(params) {
|
|
17
|
+
const { className, orientation = 'horizontal', decorative = true } = params, props = __rest(params, ["className", "orientation", "decorative"]);
|
|
18
|
+
return (_jsx(SeparatorPrimitive.Root, Object.assign({ "data-slot": "separator", decorative: decorative, orientation: orientation, className: mergeClassNames('bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px data-[orientation=vertical]:self-stretch', className) }, props)));
|
|
19
|
+
}
|
|
20
|
+
export { Separator };
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
import { Button } from './button.js';
|
|
4
|
+
import { Input } from './input.js';
|
|
5
|
+
import { Separator } from './separator.js';
|
|
6
|
+
import { TooltipContent } from './tooltip.js';
|
|
7
|
+
type SidebarGroupActionParams = {
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
};
|
|
10
|
+
type SidebarGroupLabelParams = {
|
|
11
|
+
asChild?: boolean;
|
|
12
|
+
};
|
|
13
|
+
type SidebarMenuActionParams = {
|
|
14
|
+
asChild?: boolean;
|
|
15
|
+
showOnHover?: boolean;
|
|
16
|
+
};
|
|
17
|
+
type SidebarMenuButtonParams = {
|
|
18
|
+
asChild?: boolean;
|
|
19
|
+
isActive?: boolean;
|
|
20
|
+
tooltip?: string | React.ComponentProps<typeof TooltipContent>;
|
|
21
|
+
};
|
|
22
|
+
type SidebarMenuSkeletonParams = {
|
|
23
|
+
showIcon?: boolean;
|
|
24
|
+
};
|
|
25
|
+
type SidebarMenuSubButtonParams = {
|
|
26
|
+
asChild?: boolean;
|
|
27
|
+
size?: 'sm' | 'md';
|
|
28
|
+
isActive?: boolean;
|
|
29
|
+
};
|
|
30
|
+
type SidebarParams = {
|
|
31
|
+
side?: 'left' | 'right';
|
|
32
|
+
variant?: 'sidebar' | 'floating' | 'inset';
|
|
33
|
+
collapsible?: 'offcanvas' | 'icon' | 'none';
|
|
34
|
+
};
|
|
35
|
+
type SidebarProviderParams = {
|
|
36
|
+
defaultOpen?: boolean;
|
|
37
|
+
open?: boolean;
|
|
38
|
+
onOpenChange?: (open: boolean) => void;
|
|
39
|
+
};
|
|
40
|
+
type SidebarContextProps = {
|
|
41
|
+
state: 'expanded' | 'collapsed';
|
|
42
|
+
open: boolean;
|
|
43
|
+
setOpen: (open: boolean) => void;
|
|
44
|
+
openMobile: boolean;
|
|
45
|
+
setOpenMobile: (open: boolean) => void;
|
|
46
|
+
isMobile: boolean;
|
|
47
|
+
toggleSidebar: () => void;
|
|
48
|
+
};
|
|
49
|
+
declare function useSidebar(): SidebarContextProps;
|
|
50
|
+
declare function SidebarProvider(params: React.ComponentProps<'div'> & SidebarProviderParams): React.JSX.Element;
|
|
51
|
+
declare function Sidebar(params: React.ComponentProps<'div'> & SidebarParams): React.JSX.Element;
|
|
52
|
+
declare function SidebarTrigger(params: React.ComponentProps<typeof Button>): React.JSX.Element;
|
|
53
|
+
declare function SidebarRail(params: React.ComponentProps<'button'>): React.JSX.Element;
|
|
54
|
+
declare function SidebarInset(params: React.ComponentProps<'main'>): React.JSX.Element;
|
|
55
|
+
declare function SidebarInput(params: React.ComponentProps<typeof Input>): React.JSX.Element;
|
|
56
|
+
declare function SidebarHeader(params: React.ComponentProps<'div'>): React.JSX.Element;
|
|
57
|
+
declare function SidebarFooter(params: React.ComponentProps<'div'>): React.JSX.Element;
|
|
58
|
+
declare function SidebarSeparator(params: React.ComponentProps<typeof Separator>): React.JSX.Element;
|
|
59
|
+
declare function SidebarContent(params: React.ComponentProps<'div'>): React.JSX.Element;
|
|
60
|
+
declare function SidebarGroup(params: React.ComponentProps<'div'>): React.JSX.Element;
|
|
61
|
+
declare function SidebarGroupLabel(params: React.ComponentProps<'div'> & SidebarGroupLabelParams): React.JSX.Element;
|
|
62
|
+
declare function SidebarGroupAction(params: React.ComponentProps<'button'> & SidebarGroupActionParams): React.JSX.Element;
|
|
63
|
+
declare function SidebarGroupContent(params: React.ComponentProps<'div'>): React.JSX.Element;
|
|
64
|
+
declare function SidebarMenu(params: React.ComponentProps<'ul'>): React.JSX.Element;
|
|
65
|
+
declare function SidebarMenuItem(params: React.ComponentProps<'li'>): React.JSX.Element;
|
|
66
|
+
declare const sidebarMenuButtonVariants: (props?: ({
|
|
67
|
+
variant?: "default" | "outline" | null | undefined;
|
|
68
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
69
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
70
|
+
declare function SidebarMenuButton(params: React.ComponentProps<'button'> & SidebarMenuButtonParams & VariantProps<typeof sidebarMenuButtonVariants>): React.JSX.Element;
|
|
71
|
+
declare function SidebarMenuAction(params: React.ComponentProps<'button'> & SidebarMenuActionParams): React.JSX.Element;
|
|
72
|
+
declare function SidebarMenuBadge(params: React.ComponentProps<'div'>): React.JSX.Element;
|
|
73
|
+
declare function SidebarMenuSkeleton(params: React.ComponentProps<'div'> & SidebarMenuSkeletonParams): React.JSX.Element;
|
|
74
|
+
declare function SidebarMenuSub(params: React.ComponentProps<'ul'>): React.JSX.Element;
|
|
75
|
+
declare function SidebarMenuSubItem(params: React.ComponentProps<'li'>): React.JSX.Element;
|
|
76
|
+
declare function SidebarMenuSubButton(params: React.ComponentProps<'a'> & SidebarMenuSubButtonParams): React.JSX.Element;
|
|
77
|
+
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar, };
|
|
78
|
+
//# sourceMappingURL=sidebar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../source/components/sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAIjE,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAG1C,OAAO,EAAW,cAAc,EAAmC,MAAM,cAAc,CAAA;AAIvF,KAAK,wBAAwB,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,CAAA;AAErD,KAAK,uBAAuB,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,CAAA;AAEpD,KAAK,uBAAuB,GAAG;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAA;AAED,KAAK,uBAAuB,GAAG;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,CAAA;CAC/D,CAAA;AAED,KAAK,yBAAyB,GAAG;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAA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