@uipath/apollo-wind 1.4.0 → 2.0.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/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/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/file-upload.cjs +2 -2
- package/dist/components/ui/file-upload.js +2 -2
- package/dist/components/ui/index.cjs +16 -16
- 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/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/tree-view.cjs +6 -6
- package/dist/components/ui/tree-view.js +6 -6
- package/dist/styles.css +17 -35
- 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"
|
|
@@ -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
|
},
|
|
@@ -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) {
|
|
@@ -30,7 +30,7 @@ var __webpack_modules__ = {
|
|
|
30
30
|
"@/components/ui/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) {
|
|
@@ -75,7 +75,7 @@ var __webpack_modules__ = {
|
|
|
75
75
|
"./hover-card" (module) {
|
|
76
76
|
module.exports = require("./hover-card.cjs");
|
|
77
77
|
},
|
|
78
|
-
"
|
|
78
|
+
"@/components/ui/input" (module) {
|
|
79
79
|
module.exports = require("./input.cjs");
|
|
80
80
|
},
|
|
81
81
|
"@/components/ui/label" (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",
|
|
@@ -276,7 +276,7 @@ var __webpack_exports__ = {};
|
|
|
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",
|
|
@@ -381,7 +381,7 @@ var __webpack_exports__ = {};
|
|
|
381
381
|
"default"
|
|
382
382
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_hover_card__rspack_import_24[__rspack_import_key];
|
|
383
383
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
384
|
-
var _input__rspack_import_25 = __webpack_require__("
|
|
384
|
+
var _input__rspack_import_25 = __webpack_require__("@/components/ui/input");
|
|
385
385
|
var __rspack_reexport = {};
|
|
386
386
|
for(const __rspack_import_key in _input__rspack_import_25)if ([
|
|
387
387
|
"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';
|
|
@@ -57,8 +57,8 @@ const Search = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ classN
|
|
|
57
57
|
showClearButton && value && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(external_button_cjs_namespaceObject.Button, {
|
|
58
58
|
type: "button",
|
|
59
59
|
variant: "ghost",
|
|
60
|
-
|
|
61
|
-
className: "absolute right-0 top-0 h-full w-8
|
|
60
|
+
icon: true,
|
|
61
|
+
className: "absolute right-0 top-0 h-full w-8 hover:bg-transparent",
|
|
62
62
|
onClick: handleClear,
|
|
63
63
|
children: [
|
|
64
64
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.X, {
|
|
@@ -28,8 +28,8 @@ const search_Search = /*#__PURE__*/ forwardRef(({ className, value, onChange, on
|
|
|
28
28
|
showClearButton && value && /*#__PURE__*/ jsxs(Button, {
|
|
29
29
|
type: "button",
|
|
30
30
|
variant: "ghost",
|
|
31
|
-
|
|
32
|
-
className: "absolute right-0 top-0 h-full w-8
|
|
31
|
+
icon: true,
|
|
32
|
+
className: "absolute right-0 top-0 h-full w-8 hover:bg-transparent",
|
|
33
33
|
onClick: handleClear,
|
|
34
34
|
children: [
|
|
35
35
|
/*#__PURE__*/ jsx(X, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { type VariantProps } from 'class-variance-authority';
|
|
3
3
|
declare const spinnerVariants: (props?: ({
|
|
4
|
-
size?: "default" | "
|
|
4
|
+
size?: "default" | "lg" | "sm" | "xl" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
6
|
export interface SpinnerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof spinnerVariants> {
|
|
7
7
|
label?: string;
|
|
@@ -3,10 +3,10 @@ import { type VariantProps } from 'class-variance-authority';
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
|
|
5
5
|
variant?: "default" | "outline" | null | undefined;
|
|
6
|
-
size?: "default" | "
|
|
6
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string>) & React.RefAttributes<HTMLDivElement>>;
|
|
8
8
|
declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
9
9
|
variant?: "default" | "outline" | null | undefined;
|
|
10
|
-
size?: "default" | "
|
|
10
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
11
11
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
12
12
|
export { ToggleGroup, ToggleGroupItem };
|
|
@@ -3,10 +3,10 @@ import { type VariantProps } from 'class-variance-authority';
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
declare const toggleVariants: (props?: ({
|
|
5
5
|
variant?: "default" | "outline" | null | undefined;
|
|
6
|
-
size?: "default" | "
|
|
6
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
9
9
|
variant?: "default" | "outline" | null | undefined;
|
|
10
|
-
size?: "default" | "
|
|
10
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
11
11
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
12
12
|
export { Toggle, toggleVariants };
|
|
@@ -232,8 +232,8 @@ function TreeItem({ item, depth = 0, selectedIds, lastSelectedId, onSelect, expa
|
|
|
232
232
|
onClick: (e)=>e.stopPropagation(),
|
|
233
233
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_button_cjs_namespaceObject.Button, {
|
|
234
234
|
variant: "ghost",
|
|
235
|
-
size: "
|
|
236
|
-
|
|
235
|
+
size: "3xs",
|
|
236
|
+
icon: true,
|
|
237
237
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_framer_motion_namespaceObject.motion.div, {
|
|
238
238
|
initial: false,
|
|
239
239
|
animate: {
|
|
@@ -308,7 +308,7 @@ function TreeItem({ item, depth = 0, selectedIds, lastSelectedId, onSelect, expa
|
|
|
308
308
|
asChild: true,
|
|
309
309
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_button_cjs_namespaceObject.Button, {
|
|
310
310
|
variant: "ghost",
|
|
311
|
-
|
|
311
|
+
icon: true,
|
|
312
312
|
className: "h-6 w-6 shrink-0 opacity-0 group-hover:opacity-100 transition-opacity",
|
|
313
313
|
onClick: (e)=>e.stopPropagation(),
|
|
314
314
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.MoreHorizontal, {
|
|
@@ -405,7 +405,7 @@ function TreeItem({ item, depth = 0, selectedIds, lastSelectedId, onSelect, expa
|
|
|
405
405
|
asChild: true,
|
|
406
406
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_button_cjs_namespaceObject.Button, {
|
|
407
407
|
variant: "ghost",
|
|
408
|
-
|
|
408
|
+
icon: true,
|
|
409
409
|
className: "h-6 w-6 shrink-0 p-0 opacity-0 group-hover:opacity-100 transition-opacity",
|
|
410
410
|
onClick: (e)=>e.stopPropagation(),
|
|
411
411
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Info, {
|
|
@@ -534,7 +534,7 @@ function TreeItem({ item, depth = 0, selectedIds, lastSelectedId, onSelect, expa
|
|
|
534
534
|
asChild: true,
|
|
535
535
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_button_cjs_namespaceObject.Button, {
|
|
536
536
|
variant: "ghost",
|
|
537
|
-
|
|
537
|
+
icon: true,
|
|
538
538
|
className: "h-6 w-6 shrink-0 opacity-0 group-hover:opacity-100 transition-opacity",
|
|
539
539
|
onClick: (e)=>e.stopPropagation(),
|
|
540
540
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.MoreHorizontal, {
|
|
@@ -620,7 +620,7 @@ function TreeItem({ item, depth = 0, selectedIds, lastSelectedId, onSelect, expa
|
|
|
620
620
|
asChild: true,
|
|
621
621
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_button_cjs_namespaceObject.Button, {
|
|
622
622
|
variant: "ghost",
|
|
623
|
-
|
|
623
|
+
icon: true,
|
|
624
624
|
className: "h-6 w-6 shrink-0 p-0 opacity-0 group-hover:opacity-100 transition-opacity",
|
|
625
625
|
onClick: (e)=>e.stopPropagation(),
|
|
626
626
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Info, {
|
|
@@ -204,8 +204,8 @@ function TreeItem({ item, depth = 0, selectedIds, lastSelectedId, onSelect, expa
|
|
|
204
204
|
onClick: (e)=>e.stopPropagation(),
|
|
205
205
|
children: /*#__PURE__*/ jsx(Button, {
|
|
206
206
|
variant: "ghost",
|
|
207
|
-
size: "
|
|
208
|
-
|
|
207
|
+
size: "3xs",
|
|
208
|
+
icon: true,
|
|
209
209
|
children: /*#__PURE__*/ jsx(motion.div, {
|
|
210
210
|
initial: false,
|
|
211
211
|
animate: {
|
|
@@ -280,7 +280,7 @@ function TreeItem({ item, depth = 0, selectedIds, lastSelectedId, onSelect, expa
|
|
|
280
280
|
asChild: true,
|
|
281
281
|
children: /*#__PURE__*/ jsx(Button, {
|
|
282
282
|
variant: "ghost",
|
|
283
|
-
|
|
283
|
+
icon: true,
|
|
284
284
|
className: "h-6 w-6 shrink-0 opacity-0 group-hover:opacity-100 transition-opacity",
|
|
285
285
|
onClick: (e)=>e.stopPropagation(),
|
|
286
286
|
children: /*#__PURE__*/ jsx(MoreHorizontal, {
|
|
@@ -377,7 +377,7 @@ function TreeItem({ item, depth = 0, selectedIds, lastSelectedId, onSelect, expa
|
|
|
377
377
|
asChild: true,
|
|
378
378
|
children: /*#__PURE__*/ jsx(Button, {
|
|
379
379
|
variant: "ghost",
|
|
380
|
-
|
|
380
|
+
icon: true,
|
|
381
381
|
className: "h-6 w-6 shrink-0 p-0 opacity-0 group-hover:opacity-100 transition-opacity",
|
|
382
382
|
onClick: (e)=>e.stopPropagation(),
|
|
383
383
|
children: /*#__PURE__*/ jsx(Info, {
|
|
@@ -506,7 +506,7 @@ function TreeItem({ item, depth = 0, selectedIds, lastSelectedId, onSelect, expa
|
|
|
506
506
|
asChild: true,
|
|
507
507
|
children: /*#__PURE__*/ jsx(Button, {
|
|
508
508
|
variant: "ghost",
|
|
509
|
-
|
|
509
|
+
icon: true,
|
|
510
510
|
className: "h-6 w-6 shrink-0 opacity-0 group-hover:opacity-100 transition-opacity",
|
|
511
511
|
onClick: (e)=>e.stopPropagation(),
|
|
512
512
|
children: /*#__PURE__*/ jsx(MoreHorizontal, {
|
|
@@ -592,7 +592,7 @@ function TreeItem({ item, depth = 0, selectedIds, lastSelectedId, onSelect, expa
|
|
|
592
592
|
asChild: true,
|
|
593
593
|
children: /*#__PURE__*/ jsx(Button, {
|
|
594
594
|
variant: "ghost",
|
|
595
|
-
|
|
595
|
+
icon: true,
|
|
596
596
|
className: "h-6 w-6 shrink-0 p-0 opacity-0 group-hover:opacity-100 transition-opacity",
|
|
597
597
|
onClick: (e)=>e.stopPropagation(),
|
|
598
598
|
children: /*#__PURE__*/ jsx(Info, {
|
package/dist/styles.css
CHANGED
|
@@ -949,14 +949,14 @@
|
|
|
949
949
|
width: calc(var(--spacing) * 24);
|
|
950
950
|
height: calc(var(--spacing) * 24);
|
|
951
951
|
}
|
|
952
|
-
.size-\[--cell-size\] {
|
|
953
|
-
width: --cell-size;
|
|
954
|
-
height: --cell-size;
|
|
955
|
-
}
|
|
956
952
|
.size-\[360px\] {
|
|
957
953
|
width: 360px;
|
|
958
954
|
height: 360px;
|
|
959
955
|
}
|
|
956
|
+
.size-\[var\(--cell-size\)\] {
|
|
957
|
+
width: var(--cell-size);
|
|
958
|
+
height: var(--cell-size);
|
|
959
|
+
}
|
|
960
960
|
.size-full {
|
|
961
961
|
width: 100%;
|
|
962
962
|
height: 100%;
|
|
@@ -1039,9 +1039,6 @@
|
|
|
1039
1039
|
.h-96 {
|
|
1040
1040
|
height: calc(var(--spacing) * 96);
|
|
1041
1041
|
}
|
|
1042
|
-
.h-\[--cell-size\] {
|
|
1043
|
-
height: --cell-size;
|
|
1044
|
-
}
|
|
1045
1042
|
.h-\[1px\] {
|
|
1046
1043
|
height: 1px;
|
|
1047
1044
|
}
|
|
@@ -1099,6 +1096,9 @@
|
|
|
1099
1096
|
.h-\[calc\(100vh-10rem\)\] {
|
|
1100
1097
|
height: calc(100vh - 10rem);
|
|
1101
1098
|
}
|
|
1099
|
+
.h-\[var\(--cell-size\)\] {
|
|
1100
|
+
height: var(--cell-size);
|
|
1101
|
+
}
|
|
1102
1102
|
.h-\[var\(--radix-select-trigger-height\)\] {
|
|
1103
1103
|
height: var(--radix-select-trigger-height);
|
|
1104
1104
|
}
|
|
@@ -1282,9 +1282,6 @@
|
|
|
1282
1282
|
.w-96 {
|
|
1283
1283
|
width: calc(var(--spacing) * 96);
|
|
1284
1284
|
}
|
|
1285
|
-
.w-\[--cell-size\] {
|
|
1286
|
-
width: --cell-size;
|
|
1287
|
-
}
|
|
1288
1285
|
.w-\[--radix-popover-trigger-width\] {
|
|
1289
1286
|
width: --radix-popover-trigger-width;
|
|
1290
1287
|
}
|
|
@@ -1402,6 +1399,9 @@
|
|
|
1402
1399
|
.w-\[930px\] {
|
|
1403
1400
|
width: 930px;
|
|
1404
1401
|
}
|
|
1402
|
+
.w-\[var\(--cell-size\)\] {
|
|
1403
|
+
width: var(--cell-size);
|
|
1404
|
+
}
|
|
1405
1405
|
.w-auto {
|
|
1406
1406
|
width: auto;
|
|
1407
1407
|
}
|
|
@@ -3331,8 +3331,8 @@
|
|
|
3331
3331
|
.px-10 {
|
|
3332
3332
|
padding-inline: calc(var(--spacing) * 10);
|
|
3333
3333
|
}
|
|
3334
|
-
.px-\[--cell-size\] {
|
|
3335
|
-
padding-inline: --cell-size;
|
|
3334
|
+
.px-\[var\(--cell-size\)\] {
|
|
3335
|
+
padding-inline: var(--cell-size);
|
|
3336
3336
|
}
|
|
3337
3337
|
.py-0 {
|
|
3338
3338
|
padding-block: calc(var(--spacing) * 0);
|
|
@@ -5231,6 +5231,11 @@
|
|
|
5231
5231
|
color: var(--primary-foreground);
|
|
5232
5232
|
}
|
|
5233
5233
|
}
|
|
5234
|
+
.data-\[selected-single\=true\]\:rounded-full {
|
|
5235
|
+
&[data-selected-single="true"] {
|
|
5236
|
+
border-radius: calc(infinity * 1px);
|
|
5237
|
+
}
|
|
5238
|
+
}
|
|
5234
5239
|
.data-\[selected-single\=true\]\:bg-primary {
|
|
5235
5240
|
&[data-selected-single="true"] {
|
|
5236
5241
|
background-color: var(--primary);
|
|
@@ -5246,11 +5251,6 @@
|
|
|
5246
5251
|
background-color: var(--accent);
|
|
5247
5252
|
}
|
|
5248
5253
|
}
|
|
5249
|
-
.data-\[selected\=true\]\:rounded-none {
|
|
5250
|
-
&[data-selected="true"] {
|
|
5251
|
-
border-radius: 0;
|
|
5252
|
-
}
|
|
5253
|
-
}
|
|
5254
5254
|
.data-\[selected\=true\]\:text-accent-foreground {
|
|
5255
5255
|
&[data-selected="true"] {
|
|
5256
5256
|
color: var(--accent-foreground);
|
|
@@ -5794,12 +5794,6 @@
|
|
|
5794
5794
|
visibility: hidden;
|
|
5795
5795
|
}
|
|
5796
5796
|
}
|
|
5797
|
-
.\[\&_svg\]\:size-3\.5 {
|
|
5798
|
-
& svg {
|
|
5799
|
-
width: calc(var(--spacing) * 3.5);
|
|
5800
|
-
height: calc(var(--spacing) * 3.5);
|
|
5801
|
-
}
|
|
5802
|
-
}
|
|
5803
5797
|
.\[\&_svg\]\:size-4 {
|
|
5804
5798
|
& svg {
|
|
5805
5799
|
width: calc(var(--spacing) * 4);
|
|
@@ -5835,12 +5829,6 @@
|
|
|
5835
5829
|
border-width: 0px;
|
|
5836
5830
|
}
|
|
5837
5831
|
}
|
|
5838
|
-
.\[\&\:first-child\[data-selected\=true\]_button\]\:rounded-l-md {
|
|
5839
|
-
&:first-child[data-selected=true] button {
|
|
5840
|
-
border-top-left-radius: var(--radius-md);
|
|
5841
|
-
border-bottom-left-radius: var(--radius-md);
|
|
5842
|
-
}
|
|
5843
|
-
}
|
|
5844
5832
|
.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0 {
|
|
5845
5833
|
&:has([role=checkbox]) {
|
|
5846
5834
|
padding-right: calc(var(--spacing) * 0);
|
|
@@ -5864,12 +5852,6 @@
|
|
|
5864
5852
|
}
|
|
5865
5853
|
}
|
|
5866
5854
|
}
|
|
5867
|
-
.\[\&\:last-child\[data-selected\=true\]_button\]\:rounded-r-md {
|
|
5868
|
-
&:last-child[data-selected=true] button {
|
|
5869
|
-
border-top-right-radius: var(--radius-md);
|
|
5870
|
-
border-bottom-right-radius: var(--radius-md);
|
|
5871
|
-
}
|
|
5872
|
-
}
|
|
5873
5855
|
.\[\&\:not\(\:last-child\)\]\:border-b {
|
|
5874
5856
|
&:not(:last-child) {
|
|
5875
5857
|
border-bottom-style: var(--tw-border-style);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/apollo-wind",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "UiPath wind design system - A Tailwind CSS based React component library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"tailwindcss": "^4.1.17",
|
|
112
112
|
"vaul": "^1.1.2",
|
|
113
113
|
"zod": "^4.3.5",
|
|
114
|
-
"@uipath/apollo-core": "5.
|
|
114
|
+
"@uipath/apollo-core": "5.9.0"
|
|
115
115
|
},
|
|
116
116
|
"devDependencies": {
|
|
117
117
|
"@rsbuild/plugin-react": "^1.4.1",
|