@uipath/apollo-wind 0.9.0 → 0.10.0-pr257.2a4b17b
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/forms/field-renderer.cjs +120 -69
- package/dist/components/forms/field-renderer.js +120 -69
- package/dist/components/forms/form-designer.cjs +2352 -1488
- package/dist/components/forms/form-designer.js +2353 -1489
- package/dist/components/forms/form-examples.cjs +10 -10
- package/dist/components/forms/form-examples.js +10 -10
- package/dist/components/forms/form-state-viewer.cjs +988 -433
- package/dist/components/forms/form-state-viewer.js +988 -433
- package/dist/components/forms/metadata-form.cjs +446 -170
- package/dist/components/forms/metadata-form.js +446 -170
- package/dist/components/forms/schema-viewer.cjs +173 -80
- package/dist/components/forms/schema-viewer.js +173 -80
- package/dist/components/ui/accordion.cjs +131 -27
- package/dist/components/ui/accordion.js +131 -27
- package/dist/components/ui/alert-dialog.cjs +273 -45
- package/dist/components/ui/alert-dialog.js +273 -45
- package/dist/components/ui/alert.cjs +106 -17
- package/dist/components/ui/alert.js +106 -17
- package/dist/components/ui/avatar.cjs +100 -15
- package/dist/components/ui/avatar.js +100 -15
- package/dist/components/ui/badge.cjs +36 -6
- package/dist/components/ui/badge.js +36 -6
- package/dist/components/ui/breadcrumb.cjs +258 -52
- package/dist/components/ui/breadcrumb.js +258 -52
- package/dist/components/ui/button-group.cjs +119 -19
- package/dist/components/ui/button-group.js +119 -19
- package/dist/components/ui/button.cjs +48 -8
- package/dist/components/ui/button.js +48 -8
- package/dist/components/ui/calendar.cjs +88 -30
- package/dist/components/ui/calendar.js +88 -30
- package/dist/components/ui/card.cjs +199 -30
- package/dist/components/ui/card.js +199 -30
- package/dist/components/ui/checkbox.cjs +42 -8
- package/dist/components/ui/checkbox.js +42 -8
- package/dist/components/ui/combobox.cjs +150 -53
- package/dist/components/ui/combobox.js +150 -53
- package/dist/components/ui/command.cjs +291 -53
- package/dist/components/ui/command.js +291 -53
- package/dist/components/ui/context-menu.cjs +370 -72
- package/dist/components/ui/context-menu.js +370 -72
- package/dist/components/ui/data-table.cjs +76 -39
- package/dist/components/ui/data-table.js +76 -39
- package/dist/components/ui/date-picker.cjs +179 -68
- package/dist/components/ui/date-picker.js +179 -68
- package/dist/components/ui/datetime-picker.cjs +225 -104
- package/dist/components/ui/datetime-picker.js +225 -104
- package/dist/components/ui/dialog.cjs +290 -78
- package/dist/components/ui/dialog.js +290 -78
- package/dist/components/ui/drawer.cjs +220 -39
- package/dist/components/ui/drawer.js +220 -39
- package/dist/components/ui/dropdown-menu.cjs +376 -73
- package/dist/components/ui/dropdown-menu.js +376 -73
- package/dist/components/ui/editable-cell.cjs +106 -42
- package/dist/components/ui/editable-cell.js +106 -42
- package/dist/components/ui/empty-state.cjs +106 -33
- package/dist/components/ui/empty-state.js +106 -33
- package/dist/components/ui/file-upload.cjs +405 -187
- package/dist/components/ui/file-upload.d.ts +3 -1
- package/dist/components/ui/file-upload.js +405 -187
- package/dist/components/ui/hover-card.cjs +46 -7
- package/dist/components/ui/hover-card.js +46 -7
- package/dist/components/ui/index.cjs +4 -4
- package/dist/components/ui/input.cjs +39 -6
- package/dist/components/ui/input.js +39 -6
- package/dist/components/ui/label.cjs +34 -5
- package/dist/components/ui/label.js +34 -5
- package/dist/components/ui/layout/column.cjs +209 -41
- package/dist/components/ui/layout/column.js +209 -41
- package/dist/components/ui/layout/grid.cjs +275 -60
- package/dist/components/ui/layout/grid.js +275 -60
- package/dist/components/ui/layout/row.cjs +209 -41
- package/dist/components/ui/layout/row.js +209 -41
- package/dist/components/ui/menubar.cjs +540 -106
- package/dist/components/ui/menubar.js +540 -106
- package/dist/components/ui/multi-select.cjs +289 -135
- package/dist/components/ui/multi-select.js +289 -135
- package/dist/components/ui/navigation-menu.cjs +244 -47
- package/dist/components/ui/navigation-menu.js +244 -47
- package/dist/components/ui/pagination.cjs +301 -65
- package/dist/components/ui/pagination.js +301 -65
- package/dist/components/ui/popover.cjs +48 -9
- package/dist/components/ui/popover.js +48 -9
- package/dist/components/ui/progress.cjs +48 -8
- package/dist/components/ui/progress.js +48 -8
- package/dist/components/ui/radio-group.cjs +74 -12
- package/dist/components/ui/radio-group.js +74 -12
- package/dist/components/ui/resizable.cjs +75 -10
- package/dist/components/ui/resizable.js +75 -10
- package/dist/components/ui/scroll-area.cjs +113 -21
- package/dist/components/ui/scroll-area.js +113 -21
- package/dist/components/ui/search.cjs +280 -98
- package/dist/components/ui/search.js +280 -98
- package/dist/components/ui/select.cjs +334 -68
- package/dist/components/ui/select.js +334 -68
- package/dist/components/ui/separator.cjs +48 -7
- package/dist/components/ui/separator.js +48 -7
- package/dist/components/ui/sheet.cjs +236 -50
- package/dist/components/ui/sheet.js +236 -50
- package/dist/components/ui/skeleton.cjs +31 -5
- package/dist/components/ui/skeleton.js +31 -5
- package/dist/components/ui/slider.cjs +71 -21
- package/dist/components/ui/slider.js +71 -21
- package/dist/components/ui/sonner.cjs +43 -15
- package/dist/components/ui/sonner.js +43 -15
- package/dist/components/ui/spinner.cjs +83 -21
- package/dist/components/ui/spinner.js +83 -21
- package/dist/components/ui/stats-card.cjs +169 -60
- package/dist/components/ui/stats-card.js +169 -60
- package/dist/components/ui/stepper.cjs +126 -57
- package/dist/components/ui/stepper.js +126 -57
- package/dist/components/ui/switch.cjs +42 -8
- package/dist/components/ui/switch.js +42 -8
- package/dist/components/ui/table.cjs +267 -42
- package/dist/components/ui/table.js +267 -42
- package/dist/components/ui/tabs.cjs +100 -15
- package/dist/components/ui/tabs.js +100 -15
- package/dist/components/ui/textarea.cjs +34 -5
- package/dist/components/ui/textarea.js +34 -5
- package/dist/components/ui/toggle-group.cjs +112 -19
- package/dist/components/ui/toggle-group.js +112 -19
- package/dist/components/ui/toggle.cjs +43 -6
- package/dist/components/ui/toggle.js +43 -6
- package/dist/components/ui/tooltip.cjs +40 -6
- package/dist/components/ui/tooltip.js +40 -6
- package/dist/examples/admin-layout-example.cjs +879 -347
- package/dist/examples/admin-layout-example.js +879 -347
- package/dist/examples/app-shell-example.cjs +14 -14
- package/dist/examples/app-shell-example.js +14 -14
- package/dist/examples/dashboard-example.cjs +495 -334
- package/dist/examples/dashboard-example.js +495 -334
- package/dist/examples/data-management-example.cjs +501 -303
- package/dist/examples/data-management-example.js +502 -304
- package/dist/examples/flow-editor-layout-example.cjs +435 -231
- package/dist/examples/flow-editor-layout-example.js +436 -232
- package/dist/examples/flow-start-example.cjs +508 -251
- package/dist/examples/flow-start-example.js +509 -252
- package/dist/examples/form-builder-example.cjs +1006 -602
- package/dist/examples/form-builder-example.js +1007 -603
- package/dist/examples/new-project-example.cjs +806 -474
- package/dist/examples/new-project-example.js +807 -475
- package/dist/examples/settings-example.cjs +792 -704
- package/dist/examples/settings-example.js +792 -704
- package/dist/examples/vscode-example.cjs +731 -236
- package/dist/examples/vscode-example.js +731 -236
- package/package.json +4 -1
|
@@ -29,6 +29,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29
29
|
AlertTitle: ()=>AlertTitle
|
|
30
30
|
});
|
|
31
31
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
32
|
+
const compiler_runtime_namespaceObject = require("react/compiler-runtime");
|
|
32
33
|
const external_class_variance_authority_namespaceObject = require("class-variance-authority");
|
|
33
34
|
const external_react_namespaceObject = require("react");
|
|
34
35
|
const index_cjs_namespaceObject = require("../../lib/index.cjs");
|
|
@@ -43,26 +44,114 @@ const alertVariants = (0, external_class_variance_authority_namespaceObject.cva)
|
|
|
43
44
|
variant: 'default'
|
|
44
45
|
}
|
|
45
46
|
});
|
|
46
|
-
const Alert = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
const Alert = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
48
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(11);
|
|
49
|
+
let className;
|
|
50
|
+
let props;
|
|
51
|
+
let variant;
|
|
52
|
+
if ($[0] !== t0) {
|
|
53
|
+
({ className, variant, ...props } = t0);
|
|
54
|
+
$[0] = t0;
|
|
55
|
+
$[1] = className;
|
|
56
|
+
$[2] = props;
|
|
57
|
+
$[3] = variant;
|
|
58
|
+
} else {
|
|
59
|
+
className = $[1];
|
|
60
|
+
props = $[2];
|
|
61
|
+
variant = $[3];
|
|
62
|
+
}
|
|
63
|
+
let t1;
|
|
64
|
+
if ($[4] !== className || $[5] !== variant) {
|
|
65
|
+
t1 = (0, index_cjs_namespaceObject.cn)(alertVariants({
|
|
50
66
|
variant
|
|
51
|
-
}), className)
|
|
52
|
-
|
|
53
|
-
|
|
67
|
+
}), className);
|
|
68
|
+
$[4] = className;
|
|
69
|
+
$[5] = variant;
|
|
70
|
+
$[6] = t1;
|
|
71
|
+
} else t1 = $[6];
|
|
72
|
+
let t2;
|
|
73
|
+
if ($[7] !== props || $[8] !== ref || $[9] !== t1) {
|
|
74
|
+
t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
75
|
+
ref: ref,
|
|
76
|
+
role: "alert",
|
|
77
|
+
className: t1,
|
|
78
|
+
...props
|
|
79
|
+
});
|
|
80
|
+
$[7] = props;
|
|
81
|
+
$[8] = ref;
|
|
82
|
+
$[9] = t1;
|
|
83
|
+
$[10] = t2;
|
|
84
|
+
} else t2 = $[10];
|
|
85
|
+
return t2;
|
|
86
|
+
});
|
|
54
87
|
Alert.displayName = 'Alert';
|
|
55
|
-
const AlertTitle = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
88
|
+
const AlertTitle = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
89
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(9);
|
|
90
|
+
let className;
|
|
91
|
+
let props;
|
|
92
|
+
if ($[0] !== t0) {
|
|
93
|
+
({ className, ...props } = t0);
|
|
94
|
+
$[0] = t0;
|
|
95
|
+
$[1] = className;
|
|
96
|
+
$[2] = props;
|
|
97
|
+
} else {
|
|
98
|
+
className = $[1];
|
|
99
|
+
props = $[2];
|
|
100
|
+
}
|
|
101
|
+
let t1;
|
|
102
|
+
if ($[3] !== className) {
|
|
103
|
+
t1 = (0, index_cjs_namespaceObject.cn)("mb-1 font-medium leading-none tracking-tight", className);
|
|
104
|
+
$[3] = className;
|
|
105
|
+
$[4] = t1;
|
|
106
|
+
} else t1 = $[4];
|
|
107
|
+
let t2;
|
|
108
|
+
if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
|
|
109
|
+
t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("h5", {
|
|
110
|
+
ref: ref,
|
|
111
|
+
className: t1,
|
|
112
|
+
...props
|
|
113
|
+
});
|
|
114
|
+
$[5] = props;
|
|
115
|
+
$[6] = ref;
|
|
116
|
+
$[7] = t1;
|
|
117
|
+
$[8] = t2;
|
|
118
|
+
} else t2 = $[8];
|
|
119
|
+
return t2;
|
|
120
|
+
});
|
|
60
121
|
AlertTitle.displayName = 'AlertTitle';
|
|
61
|
-
const AlertDescription = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
122
|
+
const AlertDescription = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
123
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(9);
|
|
124
|
+
let className;
|
|
125
|
+
let props;
|
|
126
|
+
if ($[0] !== t0) {
|
|
127
|
+
({ className, ...props } = t0);
|
|
128
|
+
$[0] = t0;
|
|
129
|
+
$[1] = className;
|
|
130
|
+
$[2] = props;
|
|
131
|
+
} else {
|
|
132
|
+
className = $[1];
|
|
133
|
+
props = $[2];
|
|
134
|
+
}
|
|
135
|
+
let t1;
|
|
136
|
+
if ($[3] !== className) {
|
|
137
|
+
t1 = (0, index_cjs_namespaceObject.cn)("text-sm [&_p]:leading-relaxed", className);
|
|
138
|
+
$[3] = className;
|
|
139
|
+
$[4] = t1;
|
|
140
|
+
} else t1 = $[4];
|
|
141
|
+
let t2;
|
|
142
|
+
if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
|
|
143
|
+
t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
144
|
+
ref: ref,
|
|
145
|
+
className: t1,
|
|
146
|
+
...props
|
|
147
|
+
});
|
|
148
|
+
$[5] = props;
|
|
149
|
+
$[6] = ref;
|
|
150
|
+
$[7] = t1;
|
|
151
|
+
$[8] = t2;
|
|
152
|
+
} else t2 = $[8];
|
|
153
|
+
return t2;
|
|
154
|
+
});
|
|
66
155
|
AlertDescription.displayName = "AlertDescription";
|
|
67
156
|
exports.Alert = __webpack_exports__.Alert;
|
|
68
157
|
exports.AlertDescription = __webpack_exports__.AlertDescription;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
2
3
|
import { cva } from "class-variance-authority";
|
|
3
4
|
import { forwardRef } from "react";
|
|
4
5
|
import { cn } from "../../lib/index.js";
|
|
@@ -13,25 +14,113 @@ const alertVariants = cva('relative w-full rounded-lg border p-4 [&>svg~*]:pl-7
|
|
|
13
14
|
variant: 'default'
|
|
14
15
|
}
|
|
15
16
|
});
|
|
16
|
-
const Alert = /*#__PURE__*/ forwardRef((
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
const Alert = /*#__PURE__*/ forwardRef((t0, ref)=>{
|
|
18
|
+
const $ = c(11);
|
|
19
|
+
let className;
|
|
20
|
+
let props;
|
|
21
|
+
let variant;
|
|
22
|
+
if ($[0] !== t0) {
|
|
23
|
+
({ className, variant, ...props } = t0);
|
|
24
|
+
$[0] = t0;
|
|
25
|
+
$[1] = className;
|
|
26
|
+
$[2] = props;
|
|
27
|
+
$[3] = variant;
|
|
28
|
+
} else {
|
|
29
|
+
className = $[1];
|
|
30
|
+
props = $[2];
|
|
31
|
+
variant = $[3];
|
|
32
|
+
}
|
|
33
|
+
let t1;
|
|
34
|
+
if ($[4] !== className || $[5] !== variant) {
|
|
35
|
+
t1 = cn(alertVariants({
|
|
20
36
|
variant
|
|
21
|
-
}), className)
|
|
22
|
-
|
|
23
|
-
|
|
37
|
+
}), className);
|
|
38
|
+
$[4] = className;
|
|
39
|
+
$[5] = variant;
|
|
40
|
+
$[6] = t1;
|
|
41
|
+
} else t1 = $[6];
|
|
42
|
+
let t2;
|
|
43
|
+
if ($[7] !== props || $[8] !== ref || $[9] !== t1) {
|
|
44
|
+
t2 = /*#__PURE__*/ jsx("div", {
|
|
45
|
+
ref: ref,
|
|
46
|
+
role: "alert",
|
|
47
|
+
className: t1,
|
|
48
|
+
...props
|
|
49
|
+
});
|
|
50
|
+
$[7] = props;
|
|
51
|
+
$[8] = ref;
|
|
52
|
+
$[9] = t1;
|
|
53
|
+
$[10] = t2;
|
|
54
|
+
} else t2 = $[10];
|
|
55
|
+
return t2;
|
|
56
|
+
});
|
|
24
57
|
Alert.displayName = 'Alert';
|
|
25
|
-
const AlertTitle = /*#__PURE__*/ forwardRef((
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
58
|
+
const AlertTitle = /*#__PURE__*/ forwardRef((t0, ref)=>{
|
|
59
|
+
const $ = c(9);
|
|
60
|
+
let className;
|
|
61
|
+
let props;
|
|
62
|
+
if ($[0] !== t0) {
|
|
63
|
+
({ className, ...props } = t0);
|
|
64
|
+
$[0] = t0;
|
|
65
|
+
$[1] = className;
|
|
66
|
+
$[2] = props;
|
|
67
|
+
} else {
|
|
68
|
+
className = $[1];
|
|
69
|
+
props = $[2];
|
|
70
|
+
}
|
|
71
|
+
let t1;
|
|
72
|
+
if ($[3] !== className) {
|
|
73
|
+
t1 = cn("mb-1 font-medium leading-none tracking-tight", className);
|
|
74
|
+
$[3] = className;
|
|
75
|
+
$[4] = t1;
|
|
76
|
+
} else t1 = $[4];
|
|
77
|
+
let t2;
|
|
78
|
+
if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
|
|
79
|
+
t2 = /*#__PURE__*/ jsx("h5", {
|
|
80
|
+
ref: ref,
|
|
81
|
+
className: t1,
|
|
82
|
+
...props
|
|
83
|
+
});
|
|
84
|
+
$[5] = props;
|
|
85
|
+
$[6] = ref;
|
|
86
|
+
$[7] = t1;
|
|
87
|
+
$[8] = t2;
|
|
88
|
+
} else t2 = $[8];
|
|
89
|
+
return t2;
|
|
90
|
+
});
|
|
30
91
|
AlertTitle.displayName = 'AlertTitle';
|
|
31
|
-
const AlertDescription = /*#__PURE__*/ forwardRef((
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
92
|
+
const AlertDescription = /*#__PURE__*/ forwardRef((t0, ref)=>{
|
|
93
|
+
const $ = c(9);
|
|
94
|
+
let className;
|
|
95
|
+
let props;
|
|
96
|
+
if ($[0] !== t0) {
|
|
97
|
+
({ className, ...props } = t0);
|
|
98
|
+
$[0] = t0;
|
|
99
|
+
$[1] = className;
|
|
100
|
+
$[2] = props;
|
|
101
|
+
} else {
|
|
102
|
+
className = $[1];
|
|
103
|
+
props = $[2];
|
|
104
|
+
}
|
|
105
|
+
let t1;
|
|
106
|
+
if ($[3] !== className) {
|
|
107
|
+
t1 = cn("text-sm [&_p]:leading-relaxed", className);
|
|
108
|
+
$[3] = className;
|
|
109
|
+
$[4] = t1;
|
|
110
|
+
} else t1 = $[4];
|
|
111
|
+
let t2;
|
|
112
|
+
if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
|
|
113
|
+
t2 = /*#__PURE__*/ jsx("div", {
|
|
114
|
+
ref: ref,
|
|
115
|
+
className: t1,
|
|
116
|
+
...props
|
|
117
|
+
});
|
|
118
|
+
$[5] = props;
|
|
119
|
+
$[6] = ref;
|
|
120
|
+
$[7] = t1;
|
|
121
|
+
$[8] = t2;
|
|
122
|
+
} else t2 = $[8];
|
|
123
|
+
return t2;
|
|
124
|
+
});
|
|
36
125
|
AlertDescription.displayName = "AlertDescription";
|
|
37
126
|
export { Alert, AlertDescription, AlertTitle };
|
|
@@ -29,26 +29,111 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29
29
|
AvatarImage: ()=>AvatarImage
|
|
30
30
|
});
|
|
31
31
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
32
|
+
const compiler_runtime_namespaceObject = require("react/compiler-runtime");
|
|
32
33
|
const react_avatar_namespaceObject = require("@radix-ui/react-avatar");
|
|
33
34
|
const external_react_namespaceObject = require("react");
|
|
34
35
|
const index_cjs_namespaceObject = require("../../lib/index.cjs");
|
|
35
|
-
const Avatar = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
const Avatar = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
37
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(9);
|
|
38
|
+
let className;
|
|
39
|
+
let props;
|
|
40
|
+
if ($[0] !== t0) {
|
|
41
|
+
({ className, ...props } = t0);
|
|
42
|
+
$[0] = t0;
|
|
43
|
+
$[1] = className;
|
|
44
|
+
$[2] = props;
|
|
45
|
+
} else {
|
|
46
|
+
className = $[1];
|
|
47
|
+
props = $[2];
|
|
48
|
+
}
|
|
49
|
+
let t1;
|
|
50
|
+
if ($[3] !== className) {
|
|
51
|
+
t1 = (0, index_cjs_namespaceObject.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", className);
|
|
52
|
+
$[3] = className;
|
|
53
|
+
$[4] = t1;
|
|
54
|
+
} else t1 = $[4];
|
|
55
|
+
let t2;
|
|
56
|
+
if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
|
|
57
|
+
t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_avatar_namespaceObject.Root, {
|
|
58
|
+
ref: ref,
|
|
59
|
+
className: t1,
|
|
60
|
+
...props
|
|
61
|
+
});
|
|
62
|
+
$[5] = props;
|
|
63
|
+
$[6] = ref;
|
|
64
|
+
$[7] = t1;
|
|
65
|
+
$[8] = t2;
|
|
66
|
+
} else t2 = $[8];
|
|
67
|
+
return t2;
|
|
68
|
+
});
|
|
40
69
|
Avatar.displayName = react_avatar_namespaceObject.Root.displayName;
|
|
41
|
-
const AvatarImage = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
70
|
+
const AvatarImage = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
71
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(9);
|
|
72
|
+
let className;
|
|
73
|
+
let props;
|
|
74
|
+
if ($[0] !== t0) {
|
|
75
|
+
({ className, ...props } = t0);
|
|
76
|
+
$[0] = t0;
|
|
77
|
+
$[1] = className;
|
|
78
|
+
$[2] = props;
|
|
79
|
+
} else {
|
|
80
|
+
className = $[1];
|
|
81
|
+
props = $[2];
|
|
82
|
+
}
|
|
83
|
+
let t1;
|
|
84
|
+
if ($[3] !== className) {
|
|
85
|
+
t1 = (0, index_cjs_namespaceObject.cn)("aspect-square h-full w-full", className);
|
|
86
|
+
$[3] = className;
|
|
87
|
+
$[4] = t1;
|
|
88
|
+
} else t1 = $[4];
|
|
89
|
+
let t2;
|
|
90
|
+
if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
|
|
91
|
+
t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_avatar_namespaceObject.Image, {
|
|
92
|
+
ref: ref,
|
|
93
|
+
className: t1,
|
|
94
|
+
...props
|
|
95
|
+
});
|
|
96
|
+
$[5] = props;
|
|
97
|
+
$[6] = ref;
|
|
98
|
+
$[7] = t1;
|
|
99
|
+
$[8] = t2;
|
|
100
|
+
} else t2 = $[8];
|
|
101
|
+
return t2;
|
|
102
|
+
});
|
|
46
103
|
AvatarImage.displayName = react_avatar_namespaceObject.Image.displayName;
|
|
47
|
-
const AvatarFallback = /*#__PURE__*/ external_react_namespaceObject.forwardRef((
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
104
|
+
const AvatarFallback = /*#__PURE__*/ external_react_namespaceObject.forwardRef((t0, ref)=>{
|
|
105
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(9);
|
|
106
|
+
let className;
|
|
107
|
+
let props;
|
|
108
|
+
if ($[0] !== t0) {
|
|
109
|
+
({ className, ...props } = t0);
|
|
110
|
+
$[0] = t0;
|
|
111
|
+
$[1] = className;
|
|
112
|
+
$[2] = props;
|
|
113
|
+
} else {
|
|
114
|
+
className = $[1];
|
|
115
|
+
props = $[2];
|
|
116
|
+
}
|
|
117
|
+
let t1;
|
|
118
|
+
if ($[3] !== className) {
|
|
119
|
+
t1 = (0, index_cjs_namespaceObject.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted", className);
|
|
120
|
+
$[3] = className;
|
|
121
|
+
$[4] = t1;
|
|
122
|
+
} else t1 = $[4];
|
|
123
|
+
let t2;
|
|
124
|
+
if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
|
|
125
|
+
t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_avatar_namespaceObject.Fallback, {
|
|
126
|
+
ref: ref,
|
|
127
|
+
className: t1,
|
|
128
|
+
...props
|
|
129
|
+
});
|
|
130
|
+
$[5] = props;
|
|
131
|
+
$[6] = ref;
|
|
132
|
+
$[7] = t1;
|
|
133
|
+
$[8] = t2;
|
|
134
|
+
} else t2 = $[8];
|
|
135
|
+
return t2;
|
|
136
|
+
});
|
|
52
137
|
AvatarFallback.displayName = react_avatar_namespaceObject.Fallback.displayName;
|
|
53
138
|
exports.Avatar = __webpack_exports__.Avatar;
|
|
54
139
|
exports.AvatarFallback = __webpack_exports__.AvatarFallback;
|
|
@@ -1,23 +1,108 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
2
3
|
import { Fallback, Image, Root } from "@radix-ui/react-avatar";
|
|
3
4
|
import { forwardRef } from "react";
|
|
4
5
|
import { cn } from "../../lib/index.js";
|
|
5
|
-
const Avatar = /*#__PURE__*/ forwardRef((
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
const Avatar = /*#__PURE__*/ forwardRef((t0, ref)=>{
|
|
7
|
+
const $ = c(9);
|
|
8
|
+
let className;
|
|
9
|
+
let props;
|
|
10
|
+
if ($[0] !== t0) {
|
|
11
|
+
({ className, ...props } = t0);
|
|
12
|
+
$[0] = t0;
|
|
13
|
+
$[1] = className;
|
|
14
|
+
$[2] = props;
|
|
15
|
+
} else {
|
|
16
|
+
className = $[1];
|
|
17
|
+
props = $[2];
|
|
18
|
+
}
|
|
19
|
+
let t1;
|
|
20
|
+
if ($[3] !== className) {
|
|
21
|
+
t1 = cn("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", className);
|
|
22
|
+
$[3] = className;
|
|
23
|
+
$[4] = t1;
|
|
24
|
+
} else t1 = $[4];
|
|
25
|
+
let t2;
|
|
26
|
+
if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
|
|
27
|
+
t2 = /*#__PURE__*/ jsx(Root, {
|
|
28
|
+
ref: ref,
|
|
29
|
+
className: t1,
|
|
30
|
+
...props
|
|
31
|
+
});
|
|
32
|
+
$[5] = props;
|
|
33
|
+
$[6] = ref;
|
|
34
|
+
$[7] = t1;
|
|
35
|
+
$[8] = t2;
|
|
36
|
+
} else t2 = $[8];
|
|
37
|
+
return t2;
|
|
38
|
+
});
|
|
10
39
|
Avatar.displayName = Root.displayName;
|
|
11
|
-
const AvatarImage = /*#__PURE__*/ forwardRef((
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
40
|
+
const AvatarImage = /*#__PURE__*/ forwardRef((t0, ref)=>{
|
|
41
|
+
const $ = c(9);
|
|
42
|
+
let className;
|
|
43
|
+
let props;
|
|
44
|
+
if ($[0] !== t0) {
|
|
45
|
+
({ className, ...props } = t0);
|
|
46
|
+
$[0] = t0;
|
|
47
|
+
$[1] = className;
|
|
48
|
+
$[2] = props;
|
|
49
|
+
} else {
|
|
50
|
+
className = $[1];
|
|
51
|
+
props = $[2];
|
|
52
|
+
}
|
|
53
|
+
let t1;
|
|
54
|
+
if ($[3] !== className) {
|
|
55
|
+
t1 = cn("aspect-square h-full w-full", className);
|
|
56
|
+
$[3] = className;
|
|
57
|
+
$[4] = t1;
|
|
58
|
+
} else t1 = $[4];
|
|
59
|
+
let t2;
|
|
60
|
+
if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
|
|
61
|
+
t2 = /*#__PURE__*/ jsx(Image, {
|
|
62
|
+
ref: ref,
|
|
63
|
+
className: t1,
|
|
64
|
+
...props
|
|
65
|
+
});
|
|
66
|
+
$[5] = props;
|
|
67
|
+
$[6] = ref;
|
|
68
|
+
$[7] = t1;
|
|
69
|
+
$[8] = t2;
|
|
70
|
+
} else t2 = $[8];
|
|
71
|
+
return t2;
|
|
72
|
+
});
|
|
16
73
|
AvatarImage.displayName = Image.displayName;
|
|
17
|
-
const AvatarFallback = /*#__PURE__*/ forwardRef((
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
74
|
+
const AvatarFallback = /*#__PURE__*/ forwardRef((t0, ref)=>{
|
|
75
|
+
const $ = c(9);
|
|
76
|
+
let className;
|
|
77
|
+
let props;
|
|
78
|
+
if ($[0] !== t0) {
|
|
79
|
+
({ className, ...props } = t0);
|
|
80
|
+
$[0] = t0;
|
|
81
|
+
$[1] = className;
|
|
82
|
+
$[2] = props;
|
|
83
|
+
} else {
|
|
84
|
+
className = $[1];
|
|
85
|
+
props = $[2];
|
|
86
|
+
}
|
|
87
|
+
let t1;
|
|
88
|
+
if ($[3] !== className) {
|
|
89
|
+
t1 = cn("flex h-full w-full items-center justify-center rounded-full bg-muted", className);
|
|
90
|
+
$[3] = className;
|
|
91
|
+
$[4] = t1;
|
|
92
|
+
} else t1 = $[4];
|
|
93
|
+
let t2;
|
|
94
|
+
if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
|
|
95
|
+
t2 = /*#__PURE__*/ jsx(Fallback, {
|
|
96
|
+
ref: ref,
|
|
97
|
+
className: t1,
|
|
98
|
+
...props
|
|
99
|
+
});
|
|
100
|
+
$[5] = props;
|
|
101
|
+
$[6] = ref;
|
|
102
|
+
$[7] = t1;
|
|
103
|
+
$[8] = t2;
|
|
104
|
+
} else t2 = $[8];
|
|
105
|
+
return t2;
|
|
106
|
+
});
|
|
22
107
|
AvatarFallback.displayName = Fallback.displayName;
|
|
23
108
|
export { Avatar, AvatarFallback, AvatarImage };
|
|
@@ -28,6 +28,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
28
28
|
badgeVariants: ()=>badgeVariants
|
|
29
29
|
});
|
|
30
30
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
31
|
+
const compiler_runtime_namespaceObject = require("react/compiler-runtime");
|
|
31
32
|
const external_class_variance_authority_namespaceObject = require("class-variance-authority");
|
|
32
33
|
require("react");
|
|
33
34
|
const index_cjs_namespaceObject = require("../../lib/index.cjs");
|
|
@@ -44,13 +45,42 @@ const badgeVariants = (0, external_class_variance_authority_namespaceObject.cva)
|
|
|
44
45
|
variant: 'default'
|
|
45
46
|
}
|
|
46
47
|
});
|
|
47
|
-
function Badge(
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
function Badge(t0) {
|
|
49
|
+
const $ = (0, compiler_runtime_namespaceObject.c)(10);
|
|
50
|
+
let className;
|
|
51
|
+
let props;
|
|
52
|
+
let variant;
|
|
53
|
+
if ($[0] !== t0) {
|
|
54
|
+
({ className, variant, ...props } = t0);
|
|
55
|
+
$[0] = t0;
|
|
56
|
+
$[1] = className;
|
|
57
|
+
$[2] = props;
|
|
58
|
+
$[3] = variant;
|
|
59
|
+
} else {
|
|
60
|
+
className = $[1];
|
|
61
|
+
props = $[2];
|
|
62
|
+
variant = $[3];
|
|
63
|
+
}
|
|
64
|
+
let t1;
|
|
65
|
+
if ($[4] !== className || $[5] !== variant) {
|
|
66
|
+
t1 = (0, index_cjs_namespaceObject.cn)(badgeVariants({
|
|
50
67
|
variant
|
|
51
|
-
}), className)
|
|
52
|
-
|
|
53
|
-
|
|
68
|
+
}), className);
|
|
69
|
+
$[4] = className;
|
|
70
|
+
$[5] = variant;
|
|
71
|
+
$[6] = t1;
|
|
72
|
+
} else t1 = $[6];
|
|
73
|
+
let t2;
|
|
74
|
+
if ($[7] !== props || $[8] !== t1) {
|
|
75
|
+
t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
76
|
+
className: t1,
|
|
77
|
+
...props
|
|
78
|
+
});
|
|
79
|
+
$[7] = props;
|
|
80
|
+
$[8] = t1;
|
|
81
|
+
$[9] = t2;
|
|
82
|
+
} else t2 = $[9];
|
|
83
|
+
return t2;
|
|
54
84
|
}
|
|
55
85
|
exports.Badge = __webpack_exports__.Badge;
|
|
56
86
|
exports.badgeVariants = __webpack_exports__.badgeVariants;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
2
3
|
import { cva } from "class-variance-authority";
|
|
3
4
|
import "react";
|
|
4
5
|
import { cn } from "../../lib/index.js";
|
|
@@ -15,12 +16,41 @@ const badgeVariants = cva('inline-flex items-center rounded-full border px-2.5 p
|
|
|
15
16
|
variant: 'default'
|
|
16
17
|
}
|
|
17
18
|
});
|
|
18
|
-
function Badge(
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
function Badge(t0) {
|
|
20
|
+
const $ = c(10);
|
|
21
|
+
let className;
|
|
22
|
+
let props;
|
|
23
|
+
let variant;
|
|
24
|
+
if ($[0] !== t0) {
|
|
25
|
+
({ className, variant, ...props } = t0);
|
|
26
|
+
$[0] = t0;
|
|
27
|
+
$[1] = className;
|
|
28
|
+
$[2] = props;
|
|
29
|
+
$[3] = variant;
|
|
30
|
+
} else {
|
|
31
|
+
className = $[1];
|
|
32
|
+
props = $[2];
|
|
33
|
+
variant = $[3];
|
|
34
|
+
}
|
|
35
|
+
let t1;
|
|
36
|
+
if ($[4] !== className || $[5] !== variant) {
|
|
37
|
+
t1 = cn(badgeVariants({
|
|
21
38
|
variant
|
|
22
|
-
}), className)
|
|
23
|
-
|
|
24
|
-
|
|
39
|
+
}), className);
|
|
40
|
+
$[4] = className;
|
|
41
|
+
$[5] = variant;
|
|
42
|
+
$[6] = t1;
|
|
43
|
+
} else t1 = $[6];
|
|
44
|
+
let t2;
|
|
45
|
+
if ($[7] !== props || $[8] !== t1) {
|
|
46
|
+
t2 = /*#__PURE__*/ jsx("div", {
|
|
47
|
+
className: t1,
|
|
48
|
+
...props
|
|
49
|
+
});
|
|
50
|
+
$[7] = props;
|
|
51
|
+
$[8] = t1;
|
|
52
|
+
$[9] = t2;
|
|
53
|
+
} else t2 = $[9];
|
|
54
|
+
return t2;
|
|
25
55
|
}
|
|
26
56
|
export { Badge, badgeVariants };
|