@uipath/apollo-wind 0.9.0 → 0.10.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.
@@ -32,29 +32,53 @@ const external_lucide_react_namespaceObject = require("lucide-react");
32
32
  const external_react_namespaceObject = require("react");
33
33
  const external_button_cjs_namespaceObject = require("./button.cjs");
34
34
  const index_cjs_namespaceObject = require("../../lib/index.cjs");
35
- function FileUpload({ onFilesChange, accept, multiple = false, disabled = false, maxSize, className, showPreview = false }) {
35
+ function FileUpload({ onFilesChange, accept, multiple = false, disabled = false, maxSize, className, showPreview = false, errors }) {
36
36
  const [files, setFiles] = external_react_namespaceObject.useState([]);
37
37
  const [isDragging, setIsDragging] = external_react_namespaceObject.useState(false);
38
- const [error, setError] = external_react_namespaceObject.useState('');
38
+ const [fileErrors, setFileErrors] = external_react_namespaceObject.useState(new Map());
39
39
  const [previews, setPreviews] = external_react_namespaceObject.useState([]);
40
40
  const inputRef = external_react_namespaceObject.useRef(null);
41
- const validateFiles = (fileList)=>{
42
- setError('');
41
+ const isFileTypeAccepted = (file)=>{
42
+ if (!accept) return true;
43
+ const acceptedTypes = accept.split(',').map((type)=>type.trim().toLowerCase());
44
+ for (const acceptedType of acceptedTypes)if (acceptedType.endsWith('/*')) {
45
+ const baseType = acceptedType.slice(0, -2);
46
+ if (file.type.toLowerCase().startsWith(baseType)) return true;
47
+ } else if (acceptedType.includes('/')) {
48
+ if (file.type.toLowerCase() === acceptedType) return true;
49
+ } else if (acceptedType.startsWith('.')) {
50
+ if (file.name.toLowerCase().endsWith(acceptedType)) return true;
51
+ }
52
+ return false;
53
+ };
54
+ const validateFiles = (fileList, startIndex, existingErrors)=>{
43
55
  const validFiles = [];
56
+ const errors = multiple ? new Map(existingErrors) : new Map();
44
57
  for (const file of fileList){
58
+ const fileIndex = startIndex + validFiles.length;
59
+ if (!isFileTypeAccepted(file)) {
60
+ errors.set(fileIndex, 'File type not accepted');
61
+ validFiles.push(file);
62
+ continue;
63
+ }
45
64
  if (maxSize && file.size > maxSize) {
46
- setError(`File "${file.name}" exceeds maximum size of ${formatFileSize(maxSize)}`);
65
+ errors.set(fileIndex, `Exceeds maximum size of ${formatFileSize(maxSize)}`);
66
+ validFiles.push(file);
47
67
  continue;
48
68
  }
49
69
  const isDuplicate = files.some((existingFile)=>existingFile.name === file.name && existingFile.size === file.size);
50
70
  if (!isDuplicate) validFiles.push(file);
51
71
  }
52
- return validFiles;
72
+ return {
73
+ validFiles,
74
+ errors
75
+ };
53
76
  };
54
77
  const handleFiles = (fileList)=>{
55
78
  if (!fileList || 0 === fileList.length) return;
56
79
  const filesArray = Array.from(fileList);
57
- const validFiles = validateFiles(filesArray);
80
+ const startIndex = multiple ? files.length : 0;
81
+ const { validFiles, errors } = validateFiles(filesArray, startIndex, fileErrors);
58
82
  if (0 === validFiles.length) return;
59
83
  const newFiles = multiple ? [
60
84
  ...files,
@@ -62,6 +86,7 @@ function FileUpload({ onFilesChange, accept, multiple = false, disabled = false,
62
86
  ] : validFiles;
63
87
  setFiles(newFiles);
64
88
  onFilesChange?.(newFiles);
89
+ setFileErrors(errors);
65
90
  if (showPreview) {
66
91
  const newPreviews = [];
67
92
  validFiles.forEach((file)=>{
@@ -87,7 +112,14 @@ function FileUpload({ onFilesChange, accept, multiple = false, disabled = false,
87
112
  const newPreviews = previews.filter((_, i)=>i !== index);
88
113
  setPreviews(newPreviews);
89
114
  }
90
- setError('');
115
+ setFileErrors((prev)=>{
116
+ const updated = new Map();
117
+ prev.forEach((error, i)=>{
118
+ if (i < index) updated.set(i, error);
119
+ else if (i > index) updated.set(i - 1, error);
120
+ });
121
+ return updated;
122
+ });
91
123
  };
92
124
  const handleDragEnter = (e)=>{
93
125
  e.preventDefault();
@@ -132,7 +164,7 @@ function FileUpload({ onFilesChange, accept, multiple = false, disabled = false,
132
164
  className: (0, index_cjs_namespaceObject.cn)('w-full', className),
133
165
  children: [
134
166
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
135
- className: (0, index_cjs_namespaceObject.cn)('relative flex flex-col items-center justify-center w-full h-32 px-4 py-6 border-2 border-dashed rounded-lg cursor-pointer transition-colors', isDragging ? 'border-primary bg-primary/5' : 'border-input bg-background hover:bg-accent/50', disabled && 'opacity-50 cursor-not-allowed hover:bg-background', error && 'border-destructive'),
167
+ className: (0, index_cjs_namespaceObject.cn)('relative flex flex-col items-center justify-center w-full h-32 px-4 py-6 border-2 border-dashed rounded-lg cursor-pointer transition-colors', isDragging ? 'border-primary bg-primary/5' : 'border-input bg-background hover:bg-accent/50', disabled && 'opacity-50 cursor-not-allowed hover:bg-background'),
136
168
  onDragEnter: handleDragEnter,
137
169
  onDragOver: handleDragOver,
138
170
  onDragLeave: handleDragLeave,
@@ -175,54 +207,62 @@ function FileUpload({ onFilesChange, accept, multiple = false, disabled = false,
175
207
  })
176
208
  ]
177
209
  }),
178
- error && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
179
- className: "text-sm text-destructive mt-2",
180
- children: error
181
- }),
182
210
  files.length > 0 && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
183
211
  className: "mt-4 space-y-2",
184
- children: files.map((file, index)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
185
- className: "flex items-center justify-between p-3 bg-accent/50 rounded-md",
212
+ children: files.map((file, index)=>{
213
+ const fileError = errors?.[file.name] ?? fileErrors.get(index);
214
+ return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
215
+ className: (0, index_cjs_namespaceObject.cn)('flex flex-col p-3 rounded-md', fileError ? 'bg-destructive/10 border border-destructive/20' : 'bg-accent/50'),
186
216
  children: [
187
217
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
188
- className: "flex items-center gap-3 flex-1 min-w-0",
218
+ className: "flex items-center justify-between",
189
219
  children: [
190
- showPreview && previews[index] && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("img", {
191
- src: previews[index],
192
- alt: file.name,
193
- className: "w-10 h-10 object-cover rounded"
194
- }),
195
220
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
196
- className: "flex-1 min-w-0",
221
+ className: "flex items-center gap-3 flex-1 min-w-0",
197
222
  children: [
198
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
199
- className: "text-sm font-medium truncate",
200
- children: file.name
223
+ showPreview && previews[index] && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("img", {
224
+ src: previews[index],
225
+ alt: file.name,
226
+ className: "w-10 h-10 object-cover rounded"
201
227
  }),
202
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
203
- className: "text-xs text-muted-foreground",
204
- children: formatFileSize(file.size)
228
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
229
+ className: "flex-1 min-w-0",
230
+ children: [
231
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
232
+ className: "text-sm font-medium truncate",
233
+ children: file.name
234
+ }),
235
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
236
+ className: "text-xs text-muted-foreground",
237
+ children: formatFileSize(file.size)
238
+ })
239
+ ]
205
240
  })
206
241
  ]
242
+ }),
243
+ /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_button_cjs_namespaceObject.Button, {
244
+ variant: "ghost",
245
+ size: "icon",
246
+ className: "h-8 w-8",
247
+ "aria-label": `Remove ${file.name}`,
248
+ onClick: (e)=>{
249
+ e.stopPropagation();
250
+ removeFile(index);
251
+ },
252
+ disabled: disabled,
253
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.X, {
254
+ className: "h-4 w-4"
255
+ })
207
256
  })
208
257
  ]
209
258
  }),
210
- /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_button_cjs_namespaceObject.Button, {
211
- variant: "ghost",
212
- size: "icon",
213
- className: "h-8 w-8",
214
- "aria-label": `Remove ${file.name}`,
215
- onClick: (e)=>{
216
- e.stopPropagation();
217
- removeFile(index);
218
- },
219
- disabled: disabled,
220
- children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.X, {
221
- className: "h-4 w-4"
222
- })
259
+ fileError && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("p", {
260
+ className: "text-xs text-destructive mt-2",
261
+ children: fileError
223
262
  })
224
263
  ]
225
- }, index))
264
+ }, index);
265
+ })
226
266
  })
227
267
  ]
228
268
  });
@@ -6,5 +6,7 @@ export interface FileUploadProps {
6
6
  maxSize?: number;
7
7
  className?: string;
8
8
  showPreview?: boolean;
9
+ /** External errors keyed by filename. Use this to set errors from outside (e.g., upload failures). */
10
+ errors?: Record<string, string>;
9
11
  }
10
- export declare function FileUpload({ onFilesChange, accept, multiple, disabled, maxSize, className, showPreview, }: FileUploadProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare function FileUpload({ onFilesChange, accept, multiple, disabled, maxSize, className, showPreview, errors, }: FileUploadProps): import("react/jsx-runtime").JSX.Element;
@@ -4,29 +4,53 @@ import { Upload, X } from "lucide-react";
4
4
  import { useRef, useState } from "react";
5
5
  import { Button } from "./button.js";
6
6
  import { cn } from "../../lib/index.js";
7
- function FileUpload({ onFilesChange, accept, multiple = false, disabled = false, maxSize, className, showPreview = false }) {
7
+ function FileUpload({ onFilesChange, accept, multiple = false, disabled = false, maxSize, className, showPreview = false, errors }) {
8
8
  const [files, setFiles] = useState([]);
9
9
  const [isDragging, setIsDragging] = useState(false);
10
- const [error, setError] = useState('');
10
+ const [fileErrors, setFileErrors] = useState(new Map());
11
11
  const [previews, setPreviews] = useState([]);
12
12
  const inputRef = useRef(null);
13
- const validateFiles = (fileList)=>{
14
- setError('');
13
+ const isFileTypeAccepted = (file)=>{
14
+ if (!accept) return true;
15
+ const acceptedTypes = accept.split(',').map((type)=>type.trim().toLowerCase());
16
+ for (const acceptedType of acceptedTypes)if (acceptedType.endsWith('/*')) {
17
+ const baseType = acceptedType.slice(0, -2);
18
+ if (file.type.toLowerCase().startsWith(baseType)) return true;
19
+ } else if (acceptedType.includes('/')) {
20
+ if (file.type.toLowerCase() === acceptedType) return true;
21
+ } else if (acceptedType.startsWith('.')) {
22
+ if (file.name.toLowerCase().endsWith(acceptedType)) return true;
23
+ }
24
+ return false;
25
+ };
26
+ const validateFiles = (fileList, startIndex, existingErrors)=>{
15
27
  const validFiles = [];
28
+ const errors = multiple ? new Map(existingErrors) : new Map();
16
29
  for (const file of fileList){
30
+ const fileIndex = startIndex + validFiles.length;
31
+ if (!isFileTypeAccepted(file)) {
32
+ errors.set(fileIndex, 'File type not accepted');
33
+ validFiles.push(file);
34
+ continue;
35
+ }
17
36
  if (maxSize && file.size > maxSize) {
18
- setError(`File "${file.name}" exceeds maximum size of ${formatFileSize(maxSize)}`);
37
+ errors.set(fileIndex, `Exceeds maximum size of ${formatFileSize(maxSize)}`);
38
+ validFiles.push(file);
19
39
  continue;
20
40
  }
21
41
  const isDuplicate = files.some((existingFile)=>existingFile.name === file.name && existingFile.size === file.size);
22
42
  if (!isDuplicate) validFiles.push(file);
23
43
  }
24
- return validFiles;
44
+ return {
45
+ validFiles,
46
+ errors
47
+ };
25
48
  };
26
49
  const handleFiles = (fileList)=>{
27
50
  if (!fileList || 0 === fileList.length) return;
28
51
  const filesArray = Array.from(fileList);
29
- const validFiles = validateFiles(filesArray);
52
+ const startIndex = multiple ? files.length : 0;
53
+ const { validFiles, errors } = validateFiles(filesArray, startIndex, fileErrors);
30
54
  if (0 === validFiles.length) return;
31
55
  const newFiles = multiple ? [
32
56
  ...files,
@@ -34,6 +58,7 @@ function FileUpload({ onFilesChange, accept, multiple = false, disabled = false,
34
58
  ] : validFiles;
35
59
  setFiles(newFiles);
36
60
  onFilesChange?.(newFiles);
61
+ setFileErrors(errors);
37
62
  if (showPreview) {
38
63
  const newPreviews = [];
39
64
  validFiles.forEach((file)=>{
@@ -59,7 +84,14 @@ function FileUpload({ onFilesChange, accept, multiple = false, disabled = false,
59
84
  const newPreviews = previews.filter((_, i)=>i !== index);
60
85
  setPreviews(newPreviews);
61
86
  }
62
- setError('');
87
+ setFileErrors((prev)=>{
88
+ const updated = new Map();
89
+ prev.forEach((error, i)=>{
90
+ if (i < index) updated.set(i, error);
91
+ else if (i > index) updated.set(i - 1, error);
92
+ });
93
+ return updated;
94
+ });
63
95
  };
64
96
  const handleDragEnter = (e)=>{
65
97
  e.preventDefault();
@@ -104,7 +136,7 @@ function FileUpload({ onFilesChange, accept, multiple = false, disabled = false,
104
136
  className: cn('w-full', className),
105
137
  children: [
106
138
  /*#__PURE__*/ jsxs("div", {
107
- className: cn('relative flex flex-col items-center justify-center w-full h-32 px-4 py-6 border-2 border-dashed rounded-lg cursor-pointer transition-colors', isDragging ? 'border-primary bg-primary/5' : 'border-input bg-background hover:bg-accent/50', disabled && 'opacity-50 cursor-not-allowed hover:bg-background', error && 'border-destructive'),
139
+ className: cn('relative flex flex-col items-center justify-center w-full h-32 px-4 py-6 border-2 border-dashed rounded-lg cursor-pointer transition-colors', isDragging ? 'border-primary bg-primary/5' : 'border-input bg-background hover:bg-accent/50', disabled && 'opacity-50 cursor-not-allowed hover:bg-background'),
108
140
  onDragEnter: handleDragEnter,
109
141
  onDragOver: handleDragOver,
110
142
  onDragLeave: handleDragLeave,
@@ -147,54 +179,62 @@ function FileUpload({ onFilesChange, accept, multiple = false, disabled = false,
147
179
  })
148
180
  ]
149
181
  }),
150
- error && /*#__PURE__*/ jsx("p", {
151
- className: "text-sm text-destructive mt-2",
152
- children: error
153
- }),
154
182
  files.length > 0 && /*#__PURE__*/ jsx("div", {
155
183
  className: "mt-4 space-y-2",
156
- children: files.map((file, index)=>/*#__PURE__*/ jsxs("div", {
157
- className: "flex items-center justify-between p-3 bg-accent/50 rounded-md",
184
+ children: files.map((file, index)=>{
185
+ const fileError = errors?.[file.name] ?? fileErrors.get(index);
186
+ return /*#__PURE__*/ jsxs("div", {
187
+ className: cn('flex flex-col p-3 rounded-md', fileError ? 'bg-destructive/10 border border-destructive/20' : 'bg-accent/50'),
158
188
  children: [
159
189
  /*#__PURE__*/ jsxs("div", {
160
- className: "flex items-center gap-3 flex-1 min-w-0",
190
+ className: "flex items-center justify-between",
161
191
  children: [
162
- showPreview && previews[index] && /*#__PURE__*/ jsx("img", {
163
- src: previews[index],
164
- alt: file.name,
165
- className: "w-10 h-10 object-cover rounded"
166
- }),
167
192
  /*#__PURE__*/ jsxs("div", {
168
- className: "flex-1 min-w-0",
193
+ className: "flex items-center gap-3 flex-1 min-w-0",
169
194
  children: [
170
- /*#__PURE__*/ jsx("p", {
171
- className: "text-sm font-medium truncate",
172
- children: file.name
195
+ showPreview && previews[index] && /*#__PURE__*/ jsx("img", {
196
+ src: previews[index],
197
+ alt: file.name,
198
+ className: "w-10 h-10 object-cover rounded"
173
199
  }),
174
- /*#__PURE__*/ jsx("p", {
175
- className: "text-xs text-muted-foreground",
176
- children: formatFileSize(file.size)
200
+ /*#__PURE__*/ jsxs("div", {
201
+ className: "flex-1 min-w-0",
202
+ children: [
203
+ /*#__PURE__*/ jsx("p", {
204
+ className: "text-sm font-medium truncate",
205
+ children: file.name
206
+ }),
207
+ /*#__PURE__*/ jsx("p", {
208
+ className: "text-xs text-muted-foreground",
209
+ children: formatFileSize(file.size)
210
+ })
211
+ ]
177
212
  })
178
213
  ]
214
+ }),
215
+ /*#__PURE__*/ jsx(Button, {
216
+ variant: "ghost",
217
+ size: "icon",
218
+ className: "h-8 w-8",
219
+ "aria-label": `Remove ${file.name}`,
220
+ onClick: (e)=>{
221
+ e.stopPropagation();
222
+ removeFile(index);
223
+ },
224
+ disabled: disabled,
225
+ children: /*#__PURE__*/ jsx(X, {
226
+ className: "h-4 w-4"
227
+ })
179
228
  })
180
229
  ]
181
230
  }),
182
- /*#__PURE__*/ jsx(Button, {
183
- variant: "ghost",
184
- size: "icon",
185
- className: "h-8 w-8",
186
- "aria-label": `Remove ${file.name}`,
187
- onClick: (e)=>{
188
- e.stopPropagation();
189
- removeFile(index);
190
- },
191
- disabled: disabled,
192
- children: /*#__PURE__*/ jsx(X, {
193
- className: "h-4 w-4"
194
- })
231
+ fileError && /*#__PURE__*/ jsx("p", {
232
+ className: "text-xs text-destructive mt-2",
233
+ children: fileError
195
234
  })
196
235
  ]
197
- }, index))
236
+ }, index);
237
+ })
198
238
  })
199
239
  ]
200
240
  });
@@ -15,7 +15,7 @@ var __webpack_modules__ = {
15
15
  "./avatar": function(module) {
16
16
  module.exports = require("./avatar.cjs");
17
17
  },
18
- "./badge": function(module) {
18
+ "@/components/ui/badge": function(module) {
19
19
  module.exports = require("./badge.cjs");
20
20
  },
21
21
  "./breadcrumb": function(module) {
@@ -24,10 +24,10 @@ var __webpack_modules__ = {
24
24
  "./button-group": function(module) {
25
25
  module.exports = require("./button-group.cjs");
26
26
  },
27
- "./button": function(module) {
27
+ "@/components/ui/button": function(module) {
28
28
  module.exports = require("./button.cjs");
29
29
  },
30
- "./calendar": function(module) {
30
+ "@/components/ui/calendar": function(module) {
31
31
  module.exports = require("./calendar.cjs");
32
32
  },
33
33
  "./card": function(module) {
@@ -42,7 +42,7 @@ var __webpack_modules__ = {
42
42
  "./combobox": function(module) {
43
43
  module.exports = require("./combobox.cjs");
44
44
  },
45
- "./command": function(module) {
45
+ "@/components/ui/command": function(module) {
46
46
  module.exports = require("./command.cjs");
47
47
  },
48
48
  "./context-menu": function(module) {
@@ -57,7 +57,7 @@ var __webpack_modules__ = {
57
57
  "./datetime-picker": function(module) {
58
58
  module.exports = require("./datetime-picker.cjs");
59
59
  },
60
- "@/components/ui/dialog": function(module) {
60
+ "./dialog": function(module) {
61
61
  module.exports = require("./dialog.cjs");
62
62
  },
63
63
  "./drawer": function(module) {
@@ -78,7 +78,7 @@ var __webpack_modules__ = {
78
78
  "./hover-card": function(module) {
79
79
  module.exports = require("./hover-card.cjs");
80
80
  },
81
- "./input": function(module) {
81
+ "@/components/ui/input": function(module) {
82
82
  module.exports = require("./input.cjs");
83
83
  },
84
84
  "@/components/ui/label": function(module) {
@@ -99,7 +99,7 @@ var __webpack_modules__ = {
99
99
  "./pagination": function(module) {
100
100
  module.exports = require("./pagination.cjs");
101
101
  },
102
- "./popover": function(module) {
102
+ "@/components/ui/popover": function(module) {
103
103
  module.exports = require("./popover.cjs");
104
104
  },
105
105
  "./progress": function(module) {
@@ -239,7 +239,7 @@ var __webpack_exports__ = {};
239
239
  return _avatar__WEBPACK_IMPORTED_MODULE_4__[key];
240
240
  }).bind(0, __WEBPACK_IMPORT_KEY__);
241
241
  __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
242
- var _badge__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("./badge");
242
+ var _badge__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("@/components/ui/badge");
243
243
  var __WEBPACK_REEXPORT_OBJECT__ = {};
244
244
  for(var __WEBPACK_IMPORT_KEY__ in _badge__WEBPACK_IMPORTED_MODULE_5__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
245
245
  return _badge__WEBPACK_IMPORTED_MODULE_5__[key];
@@ -251,7 +251,7 @@ var __webpack_exports__ = {};
251
251
  return _breadcrumb__WEBPACK_IMPORTED_MODULE_6__[key];
252
252
  }).bind(0, __WEBPACK_IMPORT_KEY__);
253
253
  __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
254
- var _button__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("./button");
254
+ var _button__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("@/components/ui/button");
255
255
  var __WEBPACK_REEXPORT_OBJECT__ = {};
256
256
  for(var __WEBPACK_IMPORT_KEY__ in _button__WEBPACK_IMPORTED_MODULE_7__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
257
257
  return _button__WEBPACK_IMPORTED_MODULE_7__[key];
@@ -263,7 +263,7 @@ var __webpack_exports__ = {};
263
263
  return _button_group__WEBPACK_IMPORTED_MODULE_8__[key];
264
264
  }).bind(0, __WEBPACK_IMPORT_KEY__);
265
265
  __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
266
- var _calendar__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("./calendar");
266
+ var _calendar__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("@/components/ui/calendar");
267
267
  var __WEBPACK_REEXPORT_OBJECT__ = {};
268
268
  for(var __WEBPACK_IMPORT_KEY__ in _calendar__WEBPACK_IMPORTED_MODULE_9__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
269
269
  return _calendar__WEBPACK_IMPORTED_MODULE_9__[key];
@@ -293,7 +293,7 @@ var __webpack_exports__ = {};
293
293
  return _combobox__WEBPACK_IMPORTED_MODULE_13__[key];
294
294
  }).bind(0, __WEBPACK_IMPORT_KEY__);
295
295
  __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
296
- var _command__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("./command");
296
+ var _command__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__("@/components/ui/command");
297
297
  var __WEBPACK_REEXPORT_OBJECT__ = {};
298
298
  for(var __WEBPACK_IMPORT_KEY__ in _command__WEBPACK_IMPORTED_MODULE_14__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
299
299
  return _command__WEBPACK_IMPORTED_MODULE_14__[key];
@@ -323,7 +323,7 @@ var __webpack_exports__ = {};
323
323
  return _datetime_picker__WEBPACK_IMPORTED_MODULE_18__[key];
324
324
  }).bind(0, __WEBPACK_IMPORT_KEY__);
325
325
  __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
326
- var _dialog__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("@/components/ui/dialog");
326
+ var _dialog__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("./dialog");
327
327
  var __WEBPACK_REEXPORT_OBJECT__ = {};
328
328
  for(var __WEBPACK_IMPORT_KEY__ in _dialog__WEBPACK_IMPORTED_MODULE_19__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
329
329
  return _dialog__WEBPACK_IMPORTED_MODULE_19__[key];
@@ -365,7 +365,7 @@ var __webpack_exports__ = {};
365
365
  return _hover_card__WEBPACK_IMPORTED_MODULE_25__[key];
366
366
  }).bind(0, __WEBPACK_IMPORT_KEY__);
367
367
  __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
368
- var _input__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__("./input");
368
+ var _input__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__("@/components/ui/input");
369
369
  var __WEBPACK_REEXPORT_OBJECT__ = {};
370
370
  for(var __WEBPACK_IMPORT_KEY__ in _input__WEBPACK_IMPORTED_MODULE_26__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
371
371
  return _input__WEBPACK_IMPORTED_MODULE_26__[key];
@@ -407,7 +407,7 @@ var __webpack_exports__ = {};
407
407
  return _pagination__WEBPACK_IMPORTED_MODULE_32__[key];
408
408
  }).bind(0, __WEBPACK_IMPORT_KEY__);
409
409
  __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
410
- var _popover__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__("./popover");
410
+ var _popover__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__("@/components/ui/popover");
411
411
  var __WEBPACK_REEXPORT_OBJECT__ = {};
412
412
  for(var __WEBPACK_IMPORT_KEY__ in _popover__WEBPACK_IMPORTED_MODULE_33__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
413
413
  return _popover__WEBPACK_IMPORTED_MODULE_33__[key];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-wind",
3
- "version": "0.9.0",
3
+ "version": "0.10.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",