@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.
Files changed (145) hide show
  1. package/dist/components/forms/field-renderer.cjs +120 -69
  2. package/dist/components/forms/field-renderer.js +120 -69
  3. package/dist/components/forms/form-designer.cjs +2352 -1488
  4. package/dist/components/forms/form-designer.js +2353 -1489
  5. package/dist/components/forms/form-examples.cjs +10 -10
  6. package/dist/components/forms/form-examples.js +10 -10
  7. package/dist/components/forms/form-state-viewer.cjs +988 -433
  8. package/dist/components/forms/form-state-viewer.js +988 -433
  9. package/dist/components/forms/metadata-form.cjs +446 -170
  10. package/dist/components/forms/metadata-form.js +446 -170
  11. package/dist/components/forms/schema-viewer.cjs +173 -80
  12. package/dist/components/forms/schema-viewer.js +173 -80
  13. package/dist/components/ui/accordion.cjs +131 -27
  14. package/dist/components/ui/accordion.js +131 -27
  15. package/dist/components/ui/alert-dialog.cjs +273 -45
  16. package/dist/components/ui/alert-dialog.js +273 -45
  17. package/dist/components/ui/alert.cjs +106 -17
  18. package/dist/components/ui/alert.js +106 -17
  19. package/dist/components/ui/avatar.cjs +100 -15
  20. package/dist/components/ui/avatar.js +100 -15
  21. package/dist/components/ui/badge.cjs +36 -6
  22. package/dist/components/ui/badge.js +36 -6
  23. package/dist/components/ui/breadcrumb.cjs +258 -52
  24. package/dist/components/ui/breadcrumb.js +258 -52
  25. package/dist/components/ui/button-group.cjs +119 -19
  26. package/dist/components/ui/button-group.js +119 -19
  27. package/dist/components/ui/button.cjs +48 -8
  28. package/dist/components/ui/button.js +48 -8
  29. package/dist/components/ui/calendar.cjs +88 -30
  30. package/dist/components/ui/calendar.js +88 -30
  31. package/dist/components/ui/card.cjs +199 -30
  32. package/dist/components/ui/card.js +199 -30
  33. package/dist/components/ui/checkbox.cjs +42 -8
  34. package/dist/components/ui/checkbox.js +42 -8
  35. package/dist/components/ui/combobox.cjs +150 -53
  36. package/dist/components/ui/combobox.js +150 -53
  37. package/dist/components/ui/command.cjs +291 -53
  38. package/dist/components/ui/command.js +291 -53
  39. package/dist/components/ui/context-menu.cjs +370 -72
  40. package/dist/components/ui/context-menu.js +370 -72
  41. package/dist/components/ui/data-table.cjs +76 -39
  42. package/dist/components/ui/data-table.js +76 -39
  43. package/dist/components/ui/date-picker.cjs +179 -68
  44. package/dist/components/ui/date-picker.js +179 -68
  45. package/dist/components/ui/datetime-picker.cjs +225 -104
  46. package/dist/components/ui/datetime-picker.js +225 -104
  47. package/dist/components/ui/dialog.cjs +290 -78
  48. package/dist/components/ui/dialog.js +290 -78
  49. package/dist/components/ui/drawer.cjs +220 -39
  50. package/dist/components/ui/drawer.js +220 -39
  51. package/dist/components/ui/dropdown-menu.cjs +376 -73
  52. package/dist/components/ui/dropdown-menu.js +376 -73
  53. package/dist/components/ui/editable-cell.cjs +106 -42
  54. package/dist/components/ui/editable-cell.js +106 -42
  55. package/dist/components/ui/empty-state.cjs +106 -33
  56. package/dist/components/ui/empty-state.js +106 -33
  57. package/dist/components/ui/file-upload.cjs +405 -187
  58. package/dist/components/ui/file-upload.d.ts +3 -1
  59. package/dist/components/ui/file-upload.js +405 -187
  60. package/dist/components/ui/hover-card.cjs +46 -7
  61. package/dist/components/ui/hover-card.js +46 -7
  62. package/dist/components/ui/index.cjs +4 -4
  63. package/dist/components/ui/input.cjs +39 -6
  64. package/dist/components/ui/input.js +39 -6
  65. package/dist/components/ui/label.cjs +34 -5
  66. package/dist/components/ui/label.js +34 -5
  67. package/dist/components/ui/layout/column.cjs +209 -41
  68. package/dist/components/ui/layout/column.js +209 -41
  69. package/dist/components/ui/layout/grid.cjs +275 -60
  70. package/dist/components/ui/layout/grid.js +275 -60
  71. package/dist/components/ui/layout/row.cjs +209 -41
  72. package/dist/components/ui/layout/row.js +209 -41
  73. package/dist/components/ui/menubar.cjs +540 -106
  74. package/dist/components/ui/menubar.js +540 -106
  75. package/dist/components/ui/multi-select.cjs +289 -135
  76. package/dist/components/ui/multi-select.js +289 -135
  77. package/dist/components/ui/navigation-menu.cjs +244 -47
  78. package/dist/components/ui/navigation-menu.js +244 -47
  79. package/dist/components/ui/pagination.cjs +301 -65
  80. package/dist/components/ui/pagination.js +301 -65
  81. package/dist/components/ui/popover.cjs +48 -9
  82. package/dist/components/ui/popover.js +48 -9
  83. package/dist/components/ui/progress.cjs +48 -8
  84. package/dist/components/ui/progress.js +48 -8
  85. package/dist/components/ui/radio-group.cjs +74 -12
  86. package/dist/components/ui/radio-group.js +74 -12
  87. package/dist/components/ui/resizable.cjs +75 -10
  88. package/dist/components/ui/resizable.js +75 -10
  89. package/dist/components/ui/scroll-area.cjs +113 -21
  90. package/dist/components/ui/scroll-area.js +113 -21
  91. package/dist/components/ui/search.cjs +280 -98
  92. package/dist/components/ui/search.js +280 -98
  93. package/dist/components/ui/select.cjs +334 -68
  94. package/dist/components/ui/select.js +334 -68
  95. package/dist/components/ui/separator.cjs +48 -7
  96. package/dist/components/ui/separator.js +48 -7
  97. package/dist/components/ui/sheet.cjs +236 -50
  98. package/dist/components/ui/sheet.js +236 -50
  99. package/dist/components/ui/skeleton.cjs +31 -5
  100. package/dist/components/ui/skeleton.js +31 -5
  101. package/dist/components/ui/slider.cjs +71 -21
  102. package/dist/components/ui/slider.js +71 -21
  103. package/dist/components/ui/sonner.cjs +43 -15
  104. package/dist/components/ui/sonner.js +43 -15
  105. package/dist/components/ui/spinner.cjs +83 -21
  106. package/dist/components/ui/spinner.js +83 -21
  107. package/dist/components/ui/stats-card.cjs +169 -60
  108. package/dist/components/ui/stats-card.js +169 -60
  109. package/dist/components/ui/stepper.cjs +126 -57
  110. package/dist/components/ui/stepper.js +126 -57
  111. package/dist/components/ui/switch.cjs +42 -8
  112. package/dist/components/ui/switch.js +42 -8
  113. package/dist/components/ui/table.cjs +267 -42
  114. package/dist/components/ui/table.js +267 -42
  115. package/dist/components/ui/tabs.cjs +100 -15
  116. package/dist/components/ui/tabs.js +100 -15
  117. package/dist/components/ui/textarea.cjs +34 -5
  118. package/dist/components/ui/textarea.js +34 -5
  119. package/dist/components/ui/toggle-group.cjs +112 -19
  120. package/dist/components/ui/toggle-group.js +112 -19
  121. package/dist/components/ui/toggle.cjs +43 -6
  122. package/dist/components/ui/toggle.js +43 -6
  123. package/dist/components/ui/tooltip.cjs +40 -6
  124. package/dist/components/ui/tooltip.js +40 -6
  125. package/dist/examples/admin-layout-example.cjs +879 -347
  126. package/dist/examples/admin-layout-example.js +879 -347
  127. package/dist/examples/app-shell-example.cjs +14 -14
  128. package/dist/examples/app-shell-example.js +14 -14
  129. package/dist/examples/dashboard-example.cjs +495 -334
  130. package/dist/examples/dashboard-example.js +495 -334
  131. package/dist/examples/data-management-example.cjs +501 -303
  132. package/dist/examples/data-management-example.js +502 -304
  133. package/dist/examples/flow-editor-layout-example.cjs +435 -231
  134. package/dist/examples/flow-editor-layout-example.js +436 -232
  135. package/dist/examples/flow-start-example.cjs +508 -251
  136. package/dist/examples/flow-start-example.js +509 -252
  137. package/dist/examples/form-builder-example.cjs +1006 -602
  138. package/dist/examples/form-builder-example.js +1007 -603
  139. package/dist/examples/new-project-example.cjs +806 -474
  140. package/dist/examples/new-project-example.js +807 -475
  141. package/dist/examples/settings-example.cjs +792 -704
  142. package/dist/examples/settings-example.js +792 -704
  143. package/dist/examples/vscode-example.cjs +731 -236
  144. package/dist/examples/vscode-example.js +731 -236
  145. package/package.json +4 -1
@@ -37,100 +37,312 @@ __webpack_require__.d(__webpack_exports__, {
37
37
  DialogPortal: ()=>DialogPortal
38
38
  });
39
39
  const jsx_runtime_namespaceObject = require("react/jsx-runtime");
40
+ const compiler_runtime_namespaceObject = require("react/compiler-runtime");
40
41
  const react_dialog_namespaceObject = require("@radix-ui/react-dialog");
41
42
  const external_lucide_react_namespaceObject = require("lucide-react");
42
43
  const external_react_namespaceObject = require("react");
43
44
  const index_cjs_namespaceObject = require("../../lib/index.cjs");
44
- function Dialog({ ...props }) {
45
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_dialog_namespaceObject.Root, {
46
- "data-slot": "dialog",
47
- ...props
48
- });
45
+ function Dialog(t0) {
46
+ const $ = (0, compiler_runtime_namespaceObject.c)(4);
47
+ let props;
48
+ if ($[0] !== t0) {
49
+ ({ ...props } = t0);
50
+ $[0] = t0;
51
+ $[1] = props;
52
+ } else props = $[1];
53
+ let t1;
54
+ if ($[2] !== props) {
55
+ t1 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_dialog_namespaceObject.Root, {
56
+ "data-slot": "dialog",
57
+ ...props
58
+ });
59
+ $[2] = props;
60
+ $[3] = t1;
61
+ } else t1 = $[3];
62
+ return t1;
49
63
  }
50
64
  const dialog_DialogTrigger = /*#__PURE__*/ external_react_namespaceObject.forwardRef(function(props, ref) {
51
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_dialog_namespaceObject.Trigger, {
52
- "data-slot": "dialog-trigger",
53
- ref: ref,
54
- ...props
55
- });
65
+ const $ = (0, compiler_runtime_namespaceObject.c)(3);
66
+ let t0;
67
+ if ($[0] !== props || $[1] !== ref) {
68
+ t0 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_dialog_namespaceObject.Trigger, {
69
+ "data-slot": "dialog-trigger",
70
+ ref: ref,
71
+ ...props
72
+ });
73
+ $[0] = props;
74
+ $[1] = ref;
75
+ $[2] = t0;
76
+ } else t0 = $[2];
77
+ return t0;
56
78
  });
57
- function DialogPortal({ ...props }) {
58
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_dialog_namespaceObject.Portal, {
59
- "data-slot": "dialog-portal",
60
- ...props
61
- });
79
+ function DialogPortal(t0) {
80
+ const $ = (0, compiler_runtime_namespaceObject.c)(4);
81
+ let props;
82
+ if ($[0] !== t0) {
83
+ ({ ...props } = t0);
84
+ $[0] = t0;
85
+ $[1] = props;
86
+ } else props = $[1];
87
+ let t1;
88
+ if ($[2] !== props) {
89
+ t1 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_dialog_namespaceObject.Portal, {
90
+ "data-slot": "dialog-portal",
91
+ ...props
92
+ });
93
+ $[2] = props;
94
+ $[3] = t1;
95
+ } else t1 = $[3];
96
+ return t1;
62
97
  }
63
98
  const dialog_DialogClose = /*#__PURE__*/ external_react_namespaceObject.forwardRef(function(props, ref) {
64
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_dialog_namespaceObject.Close, {
65
- "data-slot": "dialog-close",
66
- ref: ref,
67
- ...props
68
- });
99
+ const $ = (0, compiler_runtime_namespaceObject.c)(3);
100
+ let t0;
101
+ if ($[0] !== props || $[1] !== ref) {
102
+ t0 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_dialog_namespaceObject.Close, {
103
+ "data-slot": "dialog-close",
104
+ ref: ref,
105
+ ...props
106
+ });
107
+ $[0] = props;
108
+ $[1] = ref;
109
+ $[2] = t0;
110
+ } else t0 = $[2];
111
+ return t0;
69
112
  });
70
- const dialog_DialogOverlay = /*#__PURE__*/ external_react_namespaceObject.forwardRef(function({ className, ...props }, ref) {
71
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_dialog_namespaceObject.Overlay, {
72
- "data-slot": "dialog-overlay",
73
- className: (0, index_cjs_namespaceObject.cn)('data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed flex items-center justify-center inset-0 z-50 bg-black/50', className),
74
- ref: ref,
75
- ...props
76
- });
113
+ const dialog_DialogOverlay = /*#__PURE__*/ external_react_namespaceObject.forwardRef(function(t0, ref) {
114
+ const $ = (0, compiler_runtime_namespaceObject.c)(9);
115
+ let className;
116
+ let props;
117
+ if ($[0] !== t0) {
118
+ ({ className, ...props } = t0);
119
+ $[0] = t0;
120
+ $[1] = className;
121
+ $[2] = props;
122
+ } else {
123
+ className = $[1];
124
+ props = $[2];
125
+ }
126
+ let t1;
127
+ if ($[3] !== className) {
128
+ t1 = (0, index_cjs_namespaceObject.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed flex items-center justify-center inset-0 z-50 bg-black/50", className);
129
+ $[3] = className;
130
+ $[4] = t1;
131
+ } else t1 = $[4];
132
+ let t2;
133
+ if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
134
+ t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_dialog_namespaceObject.Overlay, {
135
+ "data-slot": "dialog-overlay",
136
+ className: t1,
137
+ ref: ref,
138
+ ...props
139
+ });
140
+ $[5] = props;
141
+ $[6] = ref;
142
+ $[7] = t1;
143
+ $[8] = t2;
144
+ } else t2 = $[8];
145
+ return t2;
77
146
  });
78
- const dialog_DialogContent = /*#__PURE__*/ external_react_namespaceObject.forwardRef(function({ className, children, showCloseButton = true, ...props }, ref) {
79
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(DialogPortal, {
80
- "data-slot": "dialog-portal",
81
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(dialog_DialogOverlay, {
82
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(react_dialog_namespaceObject.Content, {
83
- "data-slot": "dialog-content",
84
- className: (0, index_cjs_namespaceObject.cn)('bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 z-50 grid w-full max-w-[calc(100%-2rem)] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg', className),
85
- ref: ref,
86
- ...props,
87
- children: [
88
- children,
89
- showCloseButton && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(react_dialog_namespaceObject.Close, {
90
- "data-slot": "dialog-close",
91
- className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
92
- children: [
93
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.XIcon, {}),
94
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
95
- className: "sr-only",
96
- children: "Close"
97
- })
98
- ]
99
- })
100
- ]
147
+ const dialog_DialogContent = /*#__PURE__*/ external_react_namespaceObject.forwardRef(function(t0, ref) {
148
+ const $ = (0, compiler_runtime_namespaceObject.c)(15);
149
+ let children;
150
+ let className;
151
+ let props;
152
+ let t1;
153
+ if ($[0] !== t0) {
154
+ ({ className, children, showCloseButton: t1, ...props } = t0);
155
+ $[0] = t0;
156
+ $[1] = children;
157
+ $[2] = className;
158
+ $[3] = props;
159
+ $[4] = t1;
160
+ } else {
161
+ children = $[1];
162
+ className = $[2];
163
+ props = $[3];
164
+ t1 = $[4];
165
+ }
166
+ const showCloseButton = void 0 === t1 ? true : t1;
167
+ let t2;
168
+ if ($[5] !== className) {
169
+ t2 = (0, index_cjs_namespaceObject.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 z-50 grid w-full max-w-[calc(100%-2rem)] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg", className);
170
+ $[5] = className;
171
+ $[6] = t2;
172
+ } else t2 = $[6];
173
+ let t3;
174
+ if ($[7] !== showCloseButton) {
175
+ t3 = showCloseButton && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(react_dialog_namespaceObject.Close, {
176
+ "data-slot": "dialog-close",
177
+ className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
178
+ children: [
179
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.XIcon, {}),
180
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
181
+ className: "sr-only",
182
+ children: "Close"
183
+ })
184
+ ]
185
+ });
186
+ $[7] = showCloseButton;
187
+ $[8] = t3;
188
+ } else t3 = $[8];
189
+ let t4;
190
+ if ($[9] !== children || $[10] !== props || $[11] !== ref || $[12] !== t2 || $[13] !== t3) {
191
+ t4 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(DialogPortal, {
192
+ "data-slot": "dialog-portal",
193
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(dialog_DialogOverlay, {
194
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(react_dialog_namespaceObject.Content, {
195
+ "data-slot": "dialog-content",
196
+ className: t2,
197
+ ref: ref,
198
+ ...props,
199
+ children: [
200
+ children,
201
+ t3
202
+ ]
203
+ })
101
204
  })
102
- })
103
- });
205
+ });
206
+ $[9] = children;
207
+ $[10] = props;
208
+ $[11] = ref;
209
+ $[12] = t2;
210
+ $[13] = t3;
211
+ $[14] = t4;
212
+ } else t4 = $[14];
213
+ return t4;
104
214
  });
105
- function DialogHeader({ className, ...props }) {
106
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
107
- "data-slot": "dialog-header",
108
- className: (0, index_cjs_namespaceObject.cn)('flex flex-col gap-2 text-center sm:text-left', className),
109
- ...props
110
- });
215
+ function DialogHeader(t0) {
216
+ const $ = (0, compiler_runtime_namespaceObject.c)(8);
217
+ let className;
218
+ let props;
219
+ if ($[0] !== t0) {
220
+ ({ className, ...props } = t0);
221
+ $[0] = t0;
222
+ $[1] = className;
223
+ $[2] = props;
224
+ } else {
225
+ className = $[1];
226
+ props = $[2];
227
+ }
228
+ let t1;
229
+ if ($[3] !== className) {
230
+ t1 = (0, index_cjs_namespaceObject.cn)("flex flex-col gap-2 text-center sm:text-left", className);
231
+ $[3] = className;
232
+ $[4] = t1;
233
+ } else t1 = $[4];
234
+ let t2;
235
+ if ($[5] !== props || $[6] !== t1) {
236
+ t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
237
+ "data-slot": "dialog-header",
238
+ className: t1,
239
+ ...props
240
+ });
241
+ $[5] = props;
242
+ $[6] = t1;
243
+ $[7] = t2;
244
+ } else t2 = $[7];
245
+ return t2;
111
246
  }
112
- function DialogFooter({ className, ...props }) {
113
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
114
- "data-slot": "dialog-footer",
115
- className: (0, index_cjs_namespaceObject.cn)('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', className),
116
- ...props
117
- });
247
+ function DialogFooter(t0) {
248
+ const $ = (0, compiler_runtime_namespaceObject.c)(8);
249
+ let className;
250
+ let props;
251
+ if ($[0] !== t0) {
252
+ ({ className, ...props } = t0);
253
+ $[0] = t0;
254
+ $[1] = className;
255
+ $[2] = props;
256
+ } else {
257
+ className = $[1];
258
+ props = $[2];
259
+ }
260
+ let t1;
261
+ if ($[3] !== className) {
262
+ t1 = (0, index_cjs_namespaceObject.cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className);
263
+ $[3] = className;
264
+ $[4] = t1;
265
+ } else t1 = $[4];
266
+ let t2;
267
+ if ($[5] !== props || $[6] !== t1) {
268
+ t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
269
+ "data-slot": "dialog-footer",
270
+ className: t1,
271
+ ...props
272
+ });
273
+ $[5] = props;
274
+ $[6] = t1;
275
+ $[7] = t2;
276
+ } else t2 = $[7];
277
+ return t2;
118
278
  }
119
- const dialog_DialogTitle = /*#__PURE__*/ external_react_namespaceObject.forwardRef(function({ className, ...props }, ref) {
120
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_dialog_namespaceObject.Title, {
121
- "data-slot": "dialog-title",
122
- className: (0, index_cjs_namespaceObject.cn)('text-lg leading-none font-semibold', className),
123
- ref: ref,
124
- ...props
125
- });
279
+ const dialog_DialogTitle = /*#__PURE__*/ external_react_namespaceObject.forwardRef(function(t0, ref) {
280
+ const $ = (0, compiler_runtime_namespaceObject.c)(9);
281
+ let className;
282
+ let props;
283
+ if ($[0] !== t0) {
284
+ ({ className, ...props } = t0);
285
+ $[0] = t0;
286
+ $[1] = className;
287
+ $[2] = props;
288
+ } else {
289
+ className = $[1];
290
+ props = $[2];
291
+ }
292
+ let t1;
293
+ if ($[3] !== className) {
294
+ t1 = (0, index_cjs_namespaceObject.cn)("text-lg leading-none font-semibold", className);
295
+ $[3] = className;
296
+ $[4] = t1;
297
+ } else t1 = $[4];
298
+ let t2;
299
+ if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
300
+ t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_dialog_namespaceObject.Title, {
301
+ "data-slot": "dialog-title",
302
+ className: t1,
303
+ ref: ref,
304
+ ...props
305
+ });
306
+ $[5] = props;
307
+ $[6] = ref;
308
+ $[7] = t1;
309
+ $[8] = t2;
310
+ } else t2 = $[8];
311
+ return t2;
126
312
  });
127
- const dialog_DialogDescription = /*#__PURE__*/ external_react_namespaceObject.forwardRef(function({ className, ...props }, ref) {
128
- return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_dialog_namespaceObject.Description, {
129
- "data-slot": "dialog-description",
130
- className: (0, index_cjs_namespaceObject.cn)('text-muted-foreground text-sm', className),
131
- ref: ref,
132
- ...props
133
- });
313
+ const dialog_DialogDescription = /*#__PURE__*/ external_react_namespaceObject.forwardRef(function(t0, ref) {
314
+ const $ = (0, compiler_runtime_namespaceObject.c)(9);
315
+ let className;
316
+ let props;
317
+ if ($[0] !== t0) {
318
+ ({ className, ...props } = t0);
319
+ $[0] = t0;
320
+ $[1] = className;
321
+ $[2] = props;
322
+ } else {
323
+ className = $[1];
324
+ props = $[2];
325
+ }
326
+ let t1;
327
+ if ($[3] !== className) {
328
+ t1 = (0, index_cjs_namespaceObject.cn)("text-muted-foreground text-sm", className);
329
+ $[3] = className;
330
+ $[4] = t1;
331
+ } else t1 = $[4];
332
+ let t2;
333
+ if ($[5] !== props || $[6] !== ref || $[7] !== t1) {
334
+ t2 = /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_dialog_namespaceObject.Description, {
335
+ "data-slot": "dialog-description",
336
+ className: t1,
337
+ ref: ref,
338
+ ...props
339
+ });
340
+ $[5] = props;
341
+ $[6] = ref;
342
+ $[7] = t1;
343
+ $[8] = t2;
344
+ } else t2 = $[8];
345
+ return t2;
134
346
  });
135
347
  exports.Dialog = __webpack_exports__.Dialog;
136
348
  exports.DialogClose = __webpack_exports__.DialogClose;