@uipath/apollo-wind 1.4.0 → 2.0.0-pr482.0700da2
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/custom/flow-properties-expanded.cjs +2 -2
- package/dist/components/custom/flow-properties-expanded.js +2 -2
- package/dist/components/forms/form-designer.cjs +6 -4
- package/dist/components/forms/form-designer.js +6 -4
- package/dist/components/forms/schema-viewer.cjs +0 -2
- package/dist/components/forms/schema-viewer.js +0 -2
- package/dist/components/ui/badge.cjs +4 -0
- package/dist/components/ui/badge.d.ts +1 -1
- package/dist/components/ui/badge.js +4 -0
- package/dist/components/ui/button.cjs +12 -4
- package/dist/components/ui/button.d.ts +2 -1
- package/dist/components/ui/button.js +12 -4
- package/dist/components/ui/calendar.cjs +10 -10
- package/dist/components/ui/calendar.js +10 -10
- package/dist/components/ui/code-block.cjs +2 -2
- package/dist/components/ui/code-block.js +2 -2
- package/dist/components/ui/dropdown-menu.cjs +1 -1
- package/dist/components/ui/dropdown-menu.js +1 -1
- package/dist/components/ui/file-upload.cjs +2 -2
- package/dist/components/ui/file-upload.js +2 -2
- package/dist/components/ui/index.cjs +18 -18
- package/dist/components/ui/pagination.cjs +2 -2
- package/dist/components/ui/pagination.js +2 -2
- package/dist/components/ui/search.cjs +2 -2
- package/dist/components/ui/search.js +2 -2
- package/dist/components/ui/skeleton.cjs +1 -1
- package/dist/components/ui/skeleton.js +1 -1
- package/dist/components/ui/spinner.d.ts +1 -1
- package/dist/components/ui/toggle-group.d.ts +2 -2
- package/dist/components/ui/toggle.d.ts +2 -2
- package/dist/components/ui/tooltip.cjs +4 -0
- package/dist/components/ui/tooltip.d.ts +2 -1
- package/dist/components/ui/tooltip.js +3 -2
- package/dist/components/ui/tree-view.cjs +6 -6
- package/dist/components/ui/tree-view.js +6 -6
- package/dist/index.cjs +3 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/styles.css +105 -43
- package/dist/tailwind.css +28 -8
- package/package.json +2 -2
|
@@ -171,7 +171,7 @@ function PropertiesExpanded({ className, nodeName = 'Validate invoice', nodeType
|
|
|
171
171
|
]
|
|
172
172
|
}),
|
|
173
173
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(button_cjs_namespaceObject.Button, {
|
|
174
|
-
|
|
174
|
+
icon: true,
|
|
175
175
|
variant: "ghost",
|
|
176
176
|
className: "bg-surface-overlay text-foreground-muted hover:bg-surface-overlay hover:text-foreground [&_svg]:size-5",
|
|
177
177
|
onClick: onClose,
|
|
@@ -189,7 +189,7 @@ function PropertiesExpanded({ className, nodeName = 'Validate invoice', nodeType
|
|
|
189
189
|
className: "flex items-center gap-2",
|
|
190
190
|
children: [
|
|
191
191
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(button_cjs_namespaceObject.Button, {
|
|
192
|
-
|
|
192
|
+
icon: true,
|
|
193
193
|
variant: "ghost",
|
|
194
194
|
className: "bg-surface-overlay text-foreground-muted hover:bg-surface-overlay hover:text-foreground [&_svg]:size-5",
|
|
195
195
|
"aria-label": "Toggle panel dock",
|
|
@@ -143,7 +143,7 @@ function PropertiesExpanded({ className, nodeName = 'Validate invoice', nodeType
|
|
|
143
143
|
]
|
|
144
144
|
}),
|
|
145
145
|
/*#__PURE__*/ jsx(Button, {
|
|
146
|
-
|
|
146
|
+
icon: true,
|
|
147
147
|
variant: "ghost",
|
|
148
148
|
className: "bg-surface-overlay text-foreground-muted hover:bg-surface-overlay hover:text-foreground [&_svg]:size-5",
|
|
149
149
|
onClick: onClose,
|
|
@@ -161,7 +161,7 @@ function PropertiesExpanded({ className, nodeName = 'Validate invoice', nodeType
|
|
|
161
161
|
className: "flex items-center gap-2",
|
|
162
162
|
children: [
|
|
163
163
|
/*#__PURE__*/ jsx(Button, {
|
|
164
|
-
|
|
164
|
+
icon: true,
|
|
165
165
|
variant: "ghost",
|
|
166
166
|
className: "bg-surface-overlay text-foreground-muted hover:bg-surface-overlay hover:text-foreground [&_svg]:size-5",
|
|
167
167
|
"aria-label": "Toggle panel dock",
|
|
@@ -1463,8 +1463,9 @@ function FieldOptionsEditor({ options, onChange }) {
|
|
|
1463
1463
|
}),
|
|
1464
1464
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(button_cjs_namespaceObject.Button, {
|
|
1465
1465
|
variant: "ghost",
|
|
1466
|
-
size: "
|
|
1467
|
-
|
|
1466
|
+
size: "xs",
|
|
1467
|
+
icon: true,
|
|
1468
|
+
className: "text-muted-foreground hover:text-destructive",
|
|
1468
1469
|
onClick: ()=>removeOption(index),
|
|
1469
1470
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Trash2, {
|
|
1470
1471
|
className: "h-4 w-4"
|
|
@@ -2077,8 +2078,9 @@ function RulesEditor({ rules = [], onChange, allFields, requiredMessage, onRequi
|
|
|
2077
2078
|
}),
|
|
2078
2079
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(button_cjs_namespaceObject.Button, {
|
|
2079
2080
|
variant: "ghost",
|
|
2080
|
-
size: "
|
|
2081
|
-
|
|
2081
|
+
size: "2xs",
|
|
2082
|
+
icon: true,
|
|
2083
|
+
className: "text-destructive hover:text-destructive",
|
|
2082
2084
|
onClick: ()=>deleteRule(index),
|
|
2083
2085
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Trash2, {
|
|
2084
2086
|
className: "h-3.5 w-3.5"
|
|
@@ -1435,8 +1435,9 @@ function FieldOptionsEditor({ options, onChange }) {
|
|
|
1435
1435
|
}),
|
|
1436
1436
|
/*#__PURE__*/ jsx(Button, {
|
|
1437
1437
|
variant: "ghost",
|
|
1438
|
-
size: "
|
|
1439
|
-
|
|
1438
|
+
size: "xs",
|
|
1439
|
+
icon: true,
|
|
1440
|
+
className: "text-muted-foreground hover:text-destructive",
|
|
1440
1441
|
onClick: ()=>removeOption(index),
|
|
1441
1442
|
children: /*#__PURE__*/ jsx(Trash2, {
|
|
1442
1443
|
className: "h-4 w-4"
|
|
@@ -2049,8 +2050,9 @@ function RulesEditor({ rules = [], onChange, allFields, requiredMessage, onRequi
|
|
|
2049
2050
|
}),
|
|
2050
2051
|
/*#__PURE__*/ jsx(Button, {
|
|
2051
2052
|
variant: "ghost",
|
|
2052
|
-
size: "
|
|
2053
|
-
|
|
2053
|
+
size: "2xs",
|
|
2054
|
+
icon: true,
|
|
2055
|
+
className: "text-destructive hover:text-destructive",
|
|
2054
2056
|
onClick: ()=>deleteRule(index),
|
|
2055
2057
|
children: /*#__PURE__*/ jsx(Trash2, {
|
|
2056
2058
|
className: "h-3.5 w-3.5"
|
|
@@ -56,7 +56,6 @@ function SchemaViewer({ schema, triggerLabel = 'View Schema' }) {
|
|
|
56
56
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(button_cjs_namespaceObject.Button, {
|
|
57
57
|
variant: "outline",
|
|
58
58
|
size: "sm",
|
|
59
|
-
className: "gap-2",
|
|
60
59
|
children: [
|
|
61
60
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Code2, {
|
|
62
61
|
className: "h-4 w-4"
|
|
@@ -81,7 +80,6 @@ function SchemaViewer({ schema, triggerLabel = 'View Schema' }) {
|
|
|
81
80
|
variant: "outline",
|
|
82
81
|
size: "sm",
|
|
83
82
|
onClick: handleCopy,
|
|
84
|
-
className: "gap-2",
|
|
85
83
|
children: [
|
|
86
84
|
copied ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Check, {
|
|
87
85
|
className: "h-4 w-4"
|
|
@@ -26,7 +26,6 @@ function SchemaViewer({ schema, triggerLabel = 'View Schema' }) {
|
|
|
26
26
|
children: /*#__PURE__*/ jsxs(Button, {
|
|
27
27
|
variant: "outline",
|
|
28
28
|
size: "sm",
|
|
29
|
-
className: "gap-2",
|
|
30
29
|
children: [
|
|
31
30
|
/*#__PURE__*/ jsx(Code2, {
|
|
32
31
|
className: "h-4 w-4"
|
|
@@ -51,7 +50,6 @@ function SchemaViewer({ schema, triggerLabel = 'View Schema' }) {
|
|
|
51
50
|
variant: "outline",
|
|
52
51
|
size: "sm",
|
|
53
52
|
onClick: handleCopy,
|
|
54
|
-
className: "gap-2",
|
|
55
53
|
children: [
|
|
56
54
|
copied ? /*#__PURE__*/ jsx(Check, {
|
|
57
55
|
className: "h-4 w-4"
|
|
@@ -37,6 +37,10 @@ const badgeVariants = (0, external_class_variance_authority_namespaceObject.cva)
|
|
|
37
37
|
default: 'border-transparent bg-primary text-primary-foreground hover:bg-primary/80',
|
|
38
38
|
secondary: 'border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80',
|
|
39
39
|
destructive: 'border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80',
|
|
40
|
+
error: 'border-transparent bg-error-background text-error hover:bg-error-background/80',
|
|
41
|
+
warning: 'border-transparent bg-warning-background text-warning hover:bg-warning-background/80',
|
|
42
|
+
info: 'border-transparent bg-info-background text-info hover:bg-info-background/80',
|
|
43
|
+
success: 'border-transparent bg-success-background text-success hover:bg-success-background/80',
|
|
40
44
|
outline: 'text-foreground'
|
|
41
45
|
}
|
|
42
46
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
declare const badgeVariants: (props?: ({
|
|
4
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
4
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "error" | "warning" | "info" | "success" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
6
|
export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
7
7
|
}
|
|
@@ -8,6 +8,10 @@ const badgeVariants = cva('inline-flex items-center rounded-full border px-2.5 p
|
|
|
8
8
|
default: 'border-transparent bg-primary text-primary-foreground hover:bg-primary/80',
|
|
9
9
|
secondary: 'border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80',
|
|
10
10
|
destructive: 'border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80',
|
|
11
|
+
error: 'border-transparent bg-error-background text-error hover:bg-error-background/80',
|
|
12
|
+
warning: 'border-transparent bg-warning-background text-warning hover:bg-warning-background/80',
|
|
13
|
+
info: 'border-transparent bg-info-background text-info hover:bg-info-background/80',
|
|
14
|
+
success: 'border-transparent bg-success-background text-success hover:bg-success-background/80',
|
|
11
15
|
outline: 'text-foreground'
|
|
12
16
|
}
|
|
13
17
|
},
|
|
@@ -43,23 +43,31 @@ const buttonVariants = (0, external_class_variance_authority_namespaceObject.cva
|
|
|
43
43
|
link: 'text-primary underline-offset-4 hover:underline'
|
|
44
44
|
},
|
|
45
45
|
size: {
|
|
46
|
+
lg: 'h-11 px-8',
|
|
46
47
|
default: 'h-10 px-4 py-2',
|
|
47
48
|
sm: 'h-9 px-3',
|
|
48
|
-
|
|
49
|
-
|
|
49
|
+
xs: 'h-8 px-2.5',
|
|
50
|
+
'2xs': 'h-7 px-2 text-xs',
|
|
51
|
+
'3xs': 'h-6 px-1.5 text-xs',
|
|
52
|
+
icon: 'h-10 aspect-square p-0'
|
|
53
|
+
},
|
|
54
|
+
icon: {
|
|
55
|
+
true: 'aspect-square p-0'
|
|
50
56
|
}
|
|
51
57
|
},
|
|
52
58
|
defaultVariants: {
|
|
53
59
|
variant: 'default',
|
|
54
|
-
size: 'default'
|
|
60
|
+
size: 'default',
|
|
61
|
+
icon: false
|
|
55
62
|
}
|
|
56
63
|
});
|
|
57
|
-
const Button = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, variant, size, asChild = false, ...props }, ref)=>{
|
|
64
|
+
const Button = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, variant, size, icon, asChild = false, ...props }, ref)=>{
|
|
58
65
|
const Comp = asChild ? react_slot_namespaceObject.Slot : 'button';
|
|
59
66
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Comp, {
|
|
60
67
|
className: (0, index_cjs_namespaceObject.cn)(buttonVariants({
|
|
61
68
|
variant,
|
|
62
69
|
size,
|
|
70
|
+
icon,
|
|
63
71
|
className
|
|
64
72
|
})),
|
|
65
73
|
ref: ref,
|
|
@@ -2,7 +2,8 @@ import { type VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
4
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
5
|
-
size?: "default" | "icon" | "sm" | "
|
|
5
|
+
size?: "default" | "icon" | "lg" | "sm" | "xs" | "2xs" | "3xs" | null | undefined;
|
|
6
|
+
icon?: boolean | null | undefined;
|
|
6
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
8
|
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
8
9
|
asChild?: boolean;
|
|
@@ -14,23 +14,31 @@ const buttonVariants = cva('inline-flex items-center justify-center gap-2 whites
|
|
|
14
14
|
link: 'text-primary underline-offset-4 hover:underline'
|
|
15
15
|
},
|
|
16
16
|
size: {
|
|
17
|
+
lg: 'h-11 px-8',
|
|
17
18
|
default: 'h-10 px-4 py-2',
|
|
18
19
|
sm: 'h-9 px-3',
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
xs: 'h-8 px-2.5',
|
|
21
|
+
'2xs': 'h-7 px-2 text-xs',
|
|
22
|
+
'3xs': 'h-6 px-1.5 text-xs',
|
|
23
|
+
icon: 'h-10 aspect-square p-0'
|
|
24
|
+
},
|
|
25
|
+
icon: {
|
|
26
|
+
true: 'aspect-square p-0'
|
|
21
27
|
}
|
|
22
28
|
},
|
|
23
29
|
defaultVariants: {
|
|
24
30
|
variant: 'default',
|
|
25
|
-
size: 'default'
|
|
31
|
+
size: 'default',
|
|
32
|
+
icon: false
|
|
26
33
|
}
|
|
27
34
|
});
|
|
28
|
-
const Button = /*#__PURE__*/ forwardRef(({ className, variant, size, asChild = false, ...props }, ref)=>{
|
|
35
|
+
const Button = /*#__PURE__*/ forwardRef(({ className, variant, size, icon, asChild = false, ...props }, ref)=>{
|
|
29
36
|
const Comp = asChild ? Slot : 'button';
|
|
30
37
|
return /*#__PURE__*/ jsx(Comp, {
|
|
31
38
|
className: cn(buttonVariants({
|
|
32
39
|
variant,
|
|
33
40
|
size,
|
|
41
|
+
icon,
|
|
34
42
|
className
|
|
35
43
|
})),
|
|
36
44
|
ref: ref,
|
|
@@ -53,12 +53,12 @@ function Calendar({ className, classNames, showOutsideDays = true, captionLayout
|
|
|
53
53
|
nav: (0, index_cjs_namespaceObject.cn)('absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1', defaultClassNames.nav),
|
|
54
54
|
button_previous: (0, index_cjs_namespaceObject.cn)((0, external_button_cjs_namespaceObject.buttonVariants)({
|
|
55
55
|
variant: buttonVariant
|
|
56
|
-
}), 'h-[--cell-size] w-[--cell-size] select-none p-0 aria-disabled:opacity-50', defaultClassNames.button_previous),
|
|
56
|
+
}), 'h-[var(--cell-size)] w-[var(--cell-size)] select-none p-0 aria-disabled:opacity-50', defaultClassNames.button_previous),
|
|
57
57
|
button_next: (0, index_cjs_namespaceObject.cn)((0, external_button_cjs_namespaceObject.buttonVariants)({
|
|
58
58
|
variant: buttonVariant
|
|
59
|
-
}), 'h-[--cell-size] w-[--cell-size] select-none p-0 aria-disabled:opacity-50', defaultClassNames.button_next),
|
|
60
|
-
month_caption: (0, index_cjs_namespaceObject.cn)('flex h-[--cell-size] w-full items-center justify-center px-[--cell-size]', defaultClassNames.month_caption),
|
|
61
|
-
dropdowns: (0, index_cjs_namespaceObject.cn)('flex h-[--cell-size] w-full items-center justify-center gap-1.5 text-sm font-medium', defaultClassNames.dropdowns),
|
|
59
|
+
}), 'h-[var(--cell-size)] w-[var(--cell-size)] select-none p-0 aria-disabled:opacity-50', defaultClassNames.button_next),
|
|
60
|
+
month_caption: (0, index_cjs_namespaceObject.cn)('flex h-[var(--cell-size)] w-full items-center justify-center px-[var(--cell-size)]', defaultClassNames.month_caption),
|
|
61
|
+
dropdowns: (0, index_cjs_namespaceObject.cn)('flex h-[var(--cell-size)] w-full items-center justify-center gap-1.5 text-sm font-medium', defaultClassNames.dropdowns),
|
|
62
62
|
dropdown_root: (0, index_cjs_namespaceObject.cn)('has-focus:border-ring border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] relative rounded-md border', defaultClassNames.dropdown_root),
|
|
63
63
|
dropdown: (0, index_cjs_namespaceObject.cn)('bg-popover absolute inset-0 opacity-0', defaultClassNames.dropdown),
|
|
64
64
|
caption_label: (0, index_cjs_namespaceObject.cn)('select-none font-medium', 'label' === captionLayout ? 'text-sm' : '[&>svg]:text-muted-foreground flex h-8 items-center gap-1 rounded-md pl-2 pr-1 text-sm [&>svg]:size-3.5', defaultClassNames.caption_label),
|
|
@@ -66,13 +66,13 @@ function Calendar({ className, classNames, showOutsideDays = true, captionLayout
|
|
|
66
66
|
weekdays: (0, index_cjs_namespaceObject.cn)('flex gap-2', defaultClassNames.weekdays),
|
|
67
67
|
weekday: (0, index_cjs_namespaceObject.cn)('text-muted-foreground flex-1 select-none rounded-md text-[0.8rem] font-normal', defaultClassNames.weekday),
|
|
68
68
|
week: (0, index_cjs_namespaceObject.cn)('mt-2 flex w-full gap-2', defaultClassNames.week),
|
|
69
|
-
week_number_header: (0, index_cjs_namespaceObject.cn)('w-[--cell-size] select-none', defaultClassNames.week_number_header),
|
|
69
|
+
week_number_header: (0, index_cjs_namespaceObject.cn)('w-[var(--cell-size)] select-none', defaultClassNames.week_number_header),
|
|
70
70
|
week_number: (0, index_cjs_namespaceObject.cn)('text-muted-foreground select-none text-[0.8rem]', defaultClassNames.week_number),
|
|
71
|
-
day: (0, index_cjs_namespaceObject.cn)('group/day relative aspect-square flex-1 select-none p-0 text-center
|
|
71
|
+
day: (0, index_cjs_namespaceObject.cn)('group/day relative aspect-square flex-1 select-none p-0 text-center', defaultClassNames.day),
|
|
72
72
|
range_start: (0, index_cjs_namespaceObject.cn)('bg-accent rounded-l-md', defaultClassNames.range_start),
|
|
73
73
|
range_middle: (0, index_cjs_namespaceObject.cn)('rounded-none', defaultClassNames.range_middle),
|
|
74
74
|
range_end: (0, index_cjs_namespaceObject.cn)('bg-accent rounded-r-md', defaultClassNames.range_end),
|
|
75
|
-
today: (0, index_cjs_namespaceObject.cn)('bg-accent text-accent-foreground rounded-
|
|
75
|
+
today: (0, index_cjs_namespaceObject.cn)('bg-accent text-accent-foreground rounded-full', defaultClassNames.today),
|
|
76
76
|
outside: (0, index_cjs_namespaceObject.cn)('text-muted-foreground aria-selected:text-muted-foreground', defaultClassNames.outside),
|
|
77
77
|
disabled: (0, index_cjs_namespaceObject.cn)('text-muted-foreground opacity-50', defaultClassNames.disabled),
|
|
78
78
|
hidden: (0, index_cjs_namespaceObject.cn)('invisible', defaultClassNames.hidden),
|
|
@@ -103,7 +103,7 @@ function Calendar({ className, classNames, showOutsideDays = true, captionLayout
|
|
|
103
103
|
WeekNumber: ({ children, ...props })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("td", {
|
|
104
104
|
...props,
|
|
105
105
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
106
|
-
className: "flex size-[--cell-size] items-center justify-center text-center",
|
|
106
|
+
className: "flex size-[var(--cell-size)] items-center justify-center text-center",
|
|
107
107
|
children: children
|
|
108
108
|
})
|
|
109
109
|
}),
|
|
@@ -123,13 +123,13 @@ function CalendarDayButton({ className, day, modifiers, ...props }) {
|
|
|
123
123
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_button_cjs_namespaceObject.Button, {
|
|
124
124
|
ref: ref,
|
|
125
125
|
variant: "ghost",
|
|
126
|
-
|
|
126
|
+
icon: true,
|
|
127
127
|
"data-day": day.date.toLocaleDateString(),
|
|
128
128
|
"data-selected-single": modifiers.selected && !modifiers.range_start && !modifiers.range_end && !modifiers.range_middle,
|
|
129
129
|
"data-range-start": modifiers.range_start,
|
|
130
130
|
"data-range-end": modifiers.range_end,
|
|
131
131
|
"data-range-middle": modifiers.range_middle,
|
|
132
|
-
className: (0, index_cjs_namespaceObject.cn)('data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 flex
|
|
132
|
+
className: (0, index_cjs_namespaceObject.cn)('data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[selected-single=true]:rounded-full data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 flex h-[var(--cell-size)] w-[var(--cell-size)] items-center justify-center rounded-full font-normal leading-none data-[range-end=true]:rounded-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] [&>span]:text-xs [&>span]:opacity-70', defaultClassNames.day, className),
|
|
133
133
|
...props
|
|
134
134
|
});
|
|
135
135
|
}
|
|
@@ -24,12 +24,12 @@ function Calendar({ className, classNames, showOutsideDays = true, captionLayout
|
|
|
24
24
|
nav: cn('absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1', defaultClassNames.nav),
|
|
25
25
|
button_previous: cn(buttonVariants({
|
|
26
26
|
variant: buttonVariant
|
|
27
|
-
}), 'h-[--cell-size] w-[--cell-size] select-none p-0 aria-disabled:opacity-50', defaultClassNames.button_previous),
|
|
27
|
+
}), 'h-[var(--cell-size)] w-[var(--cell-size)] select-none p-0 aria-disabled:opacity-50', defaultClassNames.button_previous),
|
|
28
28
|
button_next: cn(buttonVariants({
|
|
29
29
|
variant: buttonVariant
|
|
30
|
-
}), 'h-[--cell-size] w-[--cell-size] select-none p-0 aria-disabled:opacity-50', defaultClassNames.button_next),
|
|
31
|
-
month_caption: cn('flex h-[--cell-size] w-full items-center justify-center px-[--cell-size]', defaultClassNames.month_caption),
|
|
32
|
-
dropdowns: cn('flex h-[--cell-size] w-full items-center justify-center gap-1.5 text-sm font-medium', defaultClassNames.dropdowns),
|
|
30
|
+
}), 'h-[var(--cell-size)] w-[var(--cell-size)] select-none p-0 aria-disabled:opacity-50', defaultClassNames.button_next),
|
|
31
|
+
month_caption: cn('flex h-[var(--cell-size)] w-full items-center justify-center px-[var(--cell-size)]', defaultClassNames.month_caption),
|
|
32
|
+
dropdowns: cn('flex h-[var(--cell-size)] w-full items-center justify-center gap-1.5 text-sm font-medium', defaultClassNames.dropdowns),
|
|
33
33
|
dropdown_root: cn('has-focus:border-ring border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] relative rounded-md border', defaultClassNames.dropdown_root),
|
|
34
34
|
dropdown: cn('bg-popover absolute inset-0 opacity-0', defaultClassNames.dropdown),
|
|
35
35
|
caption_label: cn('select-none font-medium', 'label' === captionLayout ? 'text-sm' : '[&>svg]:text-muted-foreground flex h-8 items-center gap-1 rounded-md pl-2 pr-1 text-sm [&>svg]:size-3.5', defaultClassNames.caption_label),
|
|
@@ -37,13 +37,13 @@ function Calendar({ className, classNames, showOutsideDays = true, captionLayout
|
|
|
37
37
|
weekdays: cn('flex gap-2', defaultClassNames.weekdays),
|
|
38
38
|
weekday: cn('text-muted-foreground flex-1 select-none rounded-md text-[0.8rem] font-normal', defaultClassNames.weekday),
|
|
39
39
|
week: cn('mt-2 flex w-full gap-2', defaultClassNames.week),
|
|
40
|
-
week_number_header: cn('w-[--cell-size] select-none', defaultClassNames.week_number_header),
|
|
40
|
+
week_number_header: cn('w-[var(--cell-size)] select-none', defaultClassNames.week_number_header),
|
|
41
41
|
week_number: cn('text-muted-foreground select-none text-[0.8rem]', defaultClassNames.week_number),
|
|
42
|
-
day: cn('group/day relative aspect-square flex-1 select-none p-0 text-center
|
|
42
|
+
day: cn('group/day relative aspect-square flex-1 select-none p-0 text-center', defaultClassNames.day),
|
|
43
43
|
range_start: cn('bg-accent rounded-l-md', defaultClassNames.range_start),
|
|
44
44
|
range_middle: cn('rounded-none', defaultClassNames.range_middle),
|
|
45
45
|
range_end: cn('bg-accent rounded-r-md', defaultClassNames.range_end),
|
|
46
|
-
today: cn('bg-accent text-accent-foreground rounded-
|
|
46
|
+
today: cn('bg-accent text-accent-foreground rounded-full', defaultClassNames.today),
|
|
47
47
|
outside: cn('text-muted-foreground aria-selected:text-muted-foreground', defaultClassNames.outside),
|
|
48
48
|
disabled: cn('text-muted-foreground opacity-50', defaultClassNames.disabled),
|
|
49
49
|
hidden: cn('invisible', defaultClassNames.hidden),
|
|
@@ -74,7 +74,7 @@ function Calendar({ className, classNames, showOutsideDays = true, captionLayout
|
|
|
74
74
|
WeekNumber: ({ children, ...props })=>/*#__PURE__*/ jsx("td", {
|
|
75
75
|
...props,
|
|
76
76
|
children: /*#__PURE__*/ jsx("div", {
|
|
77
|
-
className: "flex size-[--cell-size] items-center justify-center text-center",
|
|
77
|
+
className: "flex size-[var(--cell-size)] items-center justify-center text-center",
|
|
78
78
|
children: children
|
|
79
79
|
})
|
|
80
80
|
}),
|
|
@@ -94,13 +94,13 @@ function CalendarDayButton({ className, day, modifiers, ...props }) {
|
|
|
94
94
|
return /*#__PURE__*/ jsx(Button, {
|
|
95
95
|
ref: ref,
|
|
96
96
|
variant: "ghost",
|
|
97
|
-
|
|
97
|
+
icon: true,
|
|
98
98
|
"data-day": day.date.toLocaleDateString(),
|
|
99
99
|
"data-selected-single": modifiers.selected && !modifiers.range_start && !modifiers.range_end && !modifiers.range_middle,
|
|
100
100
|
"data-range-start": modifiers.range_start,
|
|
101
101
|
"data-range-end": modifiers.range_end,
|
|
102
102
|
"data-range-middle": modifiers.range_middle,
|
|
103
|
-
className: cn('data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 flex
|
|
103
|
+
className: cn('data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[selected-single=true]:rounded-full data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 flex h-[var(--cell-size)] w-[var(--cell-size)] items-center justify-center rounded-full font-normal leading-none data-[range-end=true]:rounded-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] [&>span]:text-xs [&>span]:opacity-70', defaultClassNames.day, className),
|
|
104
104
|
...props
|
|
105
105
|
});
|
|
106
106
|
}
|
|
@@ -183,9 +183,9 @@ function CodeBlock({ children, language = 'tsx', showLineNumbers = true, showCop
|
|
|
183
183
|
children: fileName ?? language
|
|
184
184
|
}),
|
|
185
185
|
showCopyButton && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_button_cjs_namespaceObject.Button, {
|
|
186
|
-
|
|
186
|
+
icon: true,
|
|
187
187
|
variant: "ghost",
|
|
188
|
-
|
|
188
|
+
size: "2xs",
|
|
189
189
|
style: {
|
|
190
190
|
color: config.iconColor
|
|
191
191
|
},
|
|
@@ -155,9 +155,9 @@ function CodeBlock({ children, language = 'tsx', showLineNumbers = true, showCop
|
|
|
155
155
|
children: fileName ?? language
|
|
156
156
|
}),
|
|
157
157
|
showCopyButton && /*#__PURE__*/ jsx(Button, {
|
|
158
|
-
|
|
158
|
+
icon: true,
|
|
159
159
|
variant: "ghost",
|
|
160
|
-
|
|
160
|
+
size: "2xs",
|
|
161
161
|
style: {
|
|
162
162
|
color: config.iconColor
|
|
163
163
|
},
|
|
@@ -128,7 +128,7 @@ const DropdownMenuLabel = /*#__PURE__*/ external_react_namespaceObject.forwardRe
|
|
|
128
128
|
DropdownMenuLabel.displayName = react_dropdown_menu_namespaceObject.Label.displayName;
|
|
129
129
|
const DropdownMenuSeparator = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_dropdown_menu_namespaceObject.Separator, {
|
|
130
130
|
ref: ref,
|
|
131
|
-
className: (0, index_cjs_namespaceObject.cn)('-mx-1 my-1 h-px bg-
|
|
131
|
+
className: (0, index_cjs_namespaceObject.cn)('-mx-1 my-1 h-px bg-surface-overlay', className),
|
|
132
132
|
...props
|
|
133
133
|
}));
|
|
134
134
|
DropdownMenuSeparator.displayName = react_dropdown_menu_namespaceObject.Separator.displayName;
|
|
@@ -86,7 +86,7 @@ const DropdownMenuLabel = /*#__PURE__*/ forwardRef(({ className, inset, ...props
|
|
|
86
86
|
DropdownMenuLabel.displayName = Label.displayName;
|
|
87
87
|
const DropdownMenuSeparator = /*#__PURE__*/ forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Separator, {
|
|
88
88
|
ref: ref,
|
|
89
|
-
className: cn('-mx-1 my-1 h-px bg-
|
|
89
|
+
className: cn('-mx-1 my-1 h-px bg-surface-overlay', className),
|
|
90
90
|
...props
|
|
91
91
|
}));
|
|
92
92
|
DropdownMenuSeparator.displayName = Separator.displayName;
|
|
@@ -250,8 +250,8 @@ function FileUpload({ onFilesChange, accept, multiple = false, disabled = false,
|
|
|
250
250
|
}),
|
|
251
251
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_button_cjs_namespaceObject.Button, {
|
|
252
252
|
variant: "ghost",
|
|
253
|
-
|
|
254
|
-
|
|
253
|
+
icon: true,
|
|
254
|
+
size: "xs",
|
|
255
255
|
"aria-label": `Remove ${file.name}`,
|
|
256
256
|
onClick: (e)=>{
|
|
257
257
|
e.stopPropagation();
|
|
@@ -222,8 +222,8 @@ function FileUpload({ onFilesChange, accept, multiple = false, disabled = false,
|
|
|
222
222
|
}),
|
|
223
223
|
/*#__PURE__*/ jsx(Button, {
|
|
224
224
|
variant: "ghost",
|
|
225
|
-
|
|
226
|
-
|
|
225
|
+
icon: true,
|
|
226
|
+
size: "xs",
|
|
227
227
|
"aria-label": `Remove ${file.name}`,
|
|
228
228
|
onClick: (e)=>{
|
|
229
229
|
e.stopPropagation();
|
|
@@ -15,7 +15,7 @@ var __webpack_modules__ = {
|
|
|
15
15
|
"./avatar" (module) {
|
|
16
16
|
module.exports = require("./avatar.cjs");
|
|
17
17
|
},
|
|
18
|
-
"
|
|
18
|
+
"./badge" (module) {
|
|
19
19
|
module.exports = require("./badge.cjs");
|
|
20
20
|
},
|
|
21
21
|
"./breadcrumb" (module) {
|
|
@@ -24,13 +24,13 @@ var __webpack_modules__ = {
|
|
|
24
24
|
"./button-group" (module) {
|
|
25
25
|
module.exports = require("./button-group.cjs");
|
|
26
26
|
},
|
|
27
|
-
"
|
|
27
|
+
"./button" (module) {
|
|
28
28
|
module.exports = require("./button.cjs");
|
|
29
29
|
},
|
|
30
|
-
"
|
|
30
|
+
"./calendar" (module) {
|
|
31
31
|
module.exports = require("./calendar.cjs");
|
|
32
32
|
},
|
|
33
|
-
"
|
|
33
|
+
"./card" (module) {
|
|
34
34
|
module.exports = require("./card.cjs");
|
|
35
35
|
},
|
|
36
36
|
"./checkbox" (module) {
|
|
@@ -42,7 +42,7 @@ var __webpack_modules__ = {
|
|
|
42
42
|
"./combobox" (module) {
|
|
43
43
|
module.exports = require("./combobox.cjs");
|
|
44
44
|
},
|
|
45
|
-
"
|
|
45
|
+
"./command" (module) {
|
|
46
46
|
module.exports = require("./command.cjs");
|
|
47
47
|
},
|
|
48
48
|
"./context-menu" (module) {
|
|
@@ -57,13 +57,13 @@ var __webpack_modules__ = {
|
|
|
57
57
|
"./datetime-picker" (module) {
|
|
58
58
|
module.exports = require("./datetime-picker.cjs");
|
|
59
59
|
},
|
|
60
|
-
"
|
|
60
|
+
"./dialog" (module) {
|
|
61
61
|
module.exports = require("./dialog.cjs");
|
|
62
62
|
},
|
|
63
63
|
"./dropdown-menu" (module) {
|
|
64
64
|
module.exports = require("./dropdown-menu.cjs");
|
|
65
65
|
},
|
|
66
|
-
"
|
|
66
|
+
"./editable-cell" (module) {
|
|
67
67
|
module.exports = require("./editable-cell.cjs");
|
|
68
68
|
},
|
|
69
69
|
"./empty-state" (module) {
|
|
@@ -138,7 +138,7 @@ var __webpack_modules__ = {
|
|
|
138
138
|
"./switch" (module) {
|
|
139
139
|
module.exports = require("./switch.cjs");
|
|
140
140
|
},
|
|
141
|
-
"
|
|
141
|
+
"./table" (module) {
|
|
142
142
|
module.exports = require("./table.cjs");
|
|
143
143
|
},
|
|
144
144
|
"./tabs" (module) {
|
|
@@ -150,7 +150,7 @@ var __webpack_modules__ = {
|
|
|
150
150
|
"./toggle-group" (module) {
|
|
151
151
|
module.exports = require("./toggle-group.cjs");
|
|
152
152
|
},
|
|
153
|
-
"
|
|
153
|
+
"./toggle" (module) {
|
|
154
154
|
module.exports = require("./toggle.cjs");
|
|
155
155
|
},
|
|
156
156
|
"./tooltip" (module) {
|
|
@@ -241,7 +241,7 @@ var __webpack_exports__ = {};
|
|
|
241
241
|
"default"
|
|
242
242
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_avatar__rspack_import_4[__rspack_import_key];
|
|
243
243
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
244
|
-
var _badge__rspack_import_5 = __webpack_require__("
|
|
244
|
+
var _badge__rspack_import_5 = __webpack_require__("./badge");
|
|
245
245
|
var __rspack_reexport = {};
|
|
246
246
|
for(const __rspack_import_key in _badge__rspack_import_5)if ([
|
|
247
247
|
"TreeView",
|
|
@@ -255,7 +255,7 @@ var __webpack_exports__ = {};
|
|
|
255
255
|
"default"
|
|
256
256
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_breadcrumb__rspack_import_6[__rspack_import_key];
|
|
257
257
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
258
|
-
var _button__rspack_import_7 = __webpack_require__("
|
|
258
|
+
var _button__rspack_import_7 = __webpack_require__("./button");
|
|
259
259
|
var __rspack_reexport = {};
|
|
260
260
|
for(const __rspack_import_key in _button__rspack_import_7)if ([
|
|
261
261
|
"TreeView",
|
|
@@ -269,14 +269,14 @@ var __webpack_exports__ = {};
|
|
|
269
269
|
"default"
|
|
270
270
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_button_group__rspack_import_8[__rspack_import_key];
|
|
271
271
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
272
|
-
var _calendar__rspack_import_9 = __webpack_require__("
|
|
272
|
+
var _calendar__rspack_import_9 = __webpack_require__("./calendar");
|
|
273
273
|
var __rspack_reexport = {};
|
|
274
274
|
for(const __rspack_import_key in _calendar__rspack_import_9)if ([
|
|
275
275
|
"TreeView",
|
|
276
276
|
"default"
|
|
277
277
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_calendar__rspack_import_9[__rspack_import_key];
|
|
278
278
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
279
|
-
var _card__rspack_import_10 = __webpack_require__("
|
|
279
|
+
var _card__rspack_import_10 = __webpack_require__("./card");
|
|
280
280
|
var __rspack_reexport = {};
|
|
281
281
|
for(const __rspack_import_key in _card__rspack_import_10)if ([
|
|
282
282
|
"TreeView",
|
|
@@ -304,7 +304,7 @@ var __webpack_exports__ = {};
|
|
|
304
304
|
"default"
|
|
305
305
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_combobox__rspack_import_13[__rspack_import_key];
|
|
306
306
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
307
|
-
var _command__rspack_import_14 = __webpack_require__("
|
|
307
|
+
var _command__rspack_import_14 = __webpack_require__("./command");
|
|
308
308
|
var __rspack_reexport = {};
|
|
309
309
|
for(const __rspack_import_key in _command__rspack_import_14)if ([
|
|
310
310
|
"TreeView",
|
|
@@ -339,7 +339,7 @@ var __webpack_exports__ = {};
|
|
|
339
339
|
"default"
|
|
340
340
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_datetime_picker__rspack_import_18[__rspack_import_key];
|
|
341
341
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
342
|
-
var _dialog__rspack_import_19 = __webpack_require__("
|
|
342
|
+
var _dialog__rspack_import_19 = __webpack_require__("./dialog");
|
|
343
343
|
var __rspack_reexport = {};
|
|
344
344
|
for(const __rspack_import_key in _dialog__rspack_import_19)if ([
|
|
345
345
|
"TreeView",
|
|
@@ -353,7 +353,7 @@ var __webpack_exports__ = {};
|
|
|
353
353
|
"default"
|
|
354
354
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_dropdown_menu__rspack_import_20[__rspack_import_key];
|
|
355
355
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
356
|
-
var _editable_cell__rspack_import_21 = __webpack_require__("
|
|
356
|
+
var _editable_cell__rspack_import_21 = __webpack_require__("./editable-cell");
|
|
357
357
|
var __rspack_reexport = {};
|
|
358
358
|
for(const __rspack_import_key in _editable_cell__rspack_import_21)if ([
|
|
359
359
|
"TreeView",
|
|
@@ -528,7 +528,7 @@ var __webpack_exports__ = {};
|
|
|
528
528
|
"default"
|
|
529
529
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_switch__rspack_import_45[__rspack_import_key];
|
|
530
530
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
531
|
-
var _table__rspack_import_46 = __webpack_require__("
|
|
531
|
+
var _table__rspack_import_46 = __webpack_require__("./table");
|
|
532
532
|
var __rspack_reexport = {};
|
|
533
533
|
for(const __rspack_import_key in _table__rspack_import_46)if ([
|
|
534
534
|
"TreeView",
|
|
@@ -549,7 +549,7 @@ var __webpack_exports__ = {};
|
|
|
549
549
|
"default"
|
|
550
550
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_textarea__rspack_import_48[__rspack_import_key];
|
|
551
551
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
552
|
-
var _toggle__rspack_import_49 = __webpack_require__("
|
|
552
|
+
var _toggle__rspack_import_49 = __webpack_require__("./toggle");
|
|
553
553
|
var __rspack_reexport = {};
|
|
554
554
|
for(const __rspack_import_key in _toggle__rspack_import_49)if ([
|
|
555
555
|
"TreeView",
|
|
@@ -55,12 +55,12 @@ const PaginationItem = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
|
55
55
|
...props
|
|
56
56
|
}));
|
|
57
57
|
PaginationItem.displayName = 'PaginationItem';
|
|
58
|
-
const PaginationLink = ({ className, isActive, size = '
|
|
58
|
+
const PaginationLink = ({ className, isActive, size = 'default', ...props })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("a", {
|
|
59
59
|
"aria-current": isActive ? 'page' : void 0,
|
|
60
60
|
className: (0, index_cjs_namespaceObject.cn)((0, external_button_cjs_namespaceObject.buttonVariants)({
|
|
61
61
|
variant: isActive ? 'outline' : 'ghost',
|
|
62
62
|
size
|
|
63
|
-
}), className),
|
|
63
|
+
}), 'aspect-square p-0', className),
|
|
64
64
|
...props
|
|
65
65
|
});
|
|
66
66
|
PaginationLink.displayName = 'PaginationLink';
|
|
@@ -21,12 +21,12 @@ const PaginationItem = /*#__PURE__*/ forwardRef(({ className, ...props }, ref)=>
|
|
|
21
21
|
...props
|
|
22
22
|
}));
|
|
23
23
|
PaginationItem.displayName = 'PaginationItem';
|
|
24
|
-
const PaginationLink = ({ className, isActive, size = '
|
|
24
|
+
const PaginationLink = ({ className, isActive, size = 'default', ...props })=>/*#__PURE__*/ jsx("a", {
|
|
25
25
|
"aria-current": isActive ? 'page' : void 0,
|
|
26
26
|
className: cn(buttonVariants({
|
|
27
27
|
variant: isActive ? 'outline' : 'ghost',
|
|
28
28
|
size
|
|
29
|
-
}), className),
|
|
29
|
+
}), 'aspect-square p-0', className),
|
|
30
30
|
...props
|
|
31
31
|
});
|
|
32
32
|
PaginationLink.displayName = 'PaginationLink';
|