@uipath/apollo-wind 2.76.0 → 2.77.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.
@@ -175,7 +175,7 @@ const file_upload_FileUpload = /*#__PURE__*/ external_react_namespaceObject.forw
175
175
  "aria-describedby": describedBy || void 0,
176
176
  "aria-errormessage": resolvedAriaErrorMessage,
177
177
  tabIndex: disabled ? -1 : 0,
178
- className: (0, index_cjs_namespaceObject.cn)('relative flex w-full flex-col items-center justify-center h-32 border-2 border-dashed rounded-lg px-4 py-6 cursor-pointer transition-colors', 'text-foreground-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background', 'aria-invalid:border-error aria-invalid:focus-visible:ring-error future:aria-invalid:border-error future:aria-invalid:ring-1 future:aria-invalid:ring-error/40', 'future:rounded-xl future:border-border-subtle future:bg-surface-overlay future:hover:bg-surface-hover future:focus-visible:ring-offset-background', isDragging ? 'border-primary bg-primary/5' : 'border-input bg-background hover:bg-accent/50', disabled && 'opacity-50 cursor-not-allowed hover:bg-background future:hover:bg-surface-overlay'),
178
+ className: (0, index_cjs_namespaceObject.cn)('relative flex w-full flex-col items-center justify-center min-h-32 border-2 border-dashed rounded-lg px-4 py-6 cursor-pointer transition-colors', 'text-foreground-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background', 'aria-invalid:border-error aria-invalid:focus-visible:ring-error future:aria-invalid:border-error future:aria-invalid:ring-1 future:aria-invalid:ring-error/40', 'future:rounded-xl future:border-border-subtle future:bg-surface-overlay future:hover:bg-surface-hover future:focus-visible:ring-offset-background', isDragging ? 'border-primary bg-primary/5' : 'border-input bg-background hover:bg-accent/50', disabled && 'opacity-50 cursor-not-allowed hover:bg-background future:hover:bg-surface-overlay'),
179
179
  onDragEnter: handleDragEnter,
180
180
  onDragOver: handleDragOver,
181
181
  onDragLeave: handleDragLeave,
@@ -189,7 +189,7 @@ const file_upload_FileUpload = /*#__PURE__*/ external_react_namespaceObject.forw
189
189
  },
190
190
  children: [
191
191
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Upload, {
192
- className: "mb-2 h-8 w-8 text-muted-foreground future:text-foreground-muted"
192
+ className: "mb-2 h-8 w-8 shrink-0 text-muted-foreground future:text-foreground-muted"
193
193
  }),
194
194
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("p", {
195
195
  className: "text-center text-sm text-muted-foreground future:text-foreground-muted",
@@ -147,7 +147,7 @@ const file_upload_FileUpload = /*#__PURE__*/ forwardRef(function({ id, ariaLabel
147
147
  "aria-describedby": describedBy || void 0,
148
148
  "aria-errormessage": resolvedAriaErrorMessage,
149
149
  tabIndex: disabled ? -1 : 0,
150
- className: cn('relative flex w-full flex-col items-center justify-center h-32 border-2 border-dashed rounded-lg px-4 py-6 cursor-pointer transition-colors', 'text-foreground-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background', 'aria-invalid:border-error aria-invalid:focus-visible:ring-error future:aria-invalid:border-error future:aria-invalid:ring-1 future:aria-invalid:ring-error/40', 'future:rounded-xl future:border-border-subtle future:bg-surface-overlay future:hover:bg-surface-hover future:focus-visible:ring-offset-background', isDragging ? 'border-primary bg-primary/5' : 'border-input bg-background hover:bg-accent/50', disabled && 'opacity-50 cursor-not-allowed hover:bg-background future:hover:bg-surface-overlay'),
150
+ className: cn('relative flex w-full flex-col items-center justify-center min-h-32 border-2 border-dashed rounded-lg px-4 py-6 cursor-pointer transition-colors', 'text-foreground-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background', 'aria-invalid:border-error aria-invalid:focus-visible:ring-error future:aria-invalid:border-error future:aria-invalid:ring-1 future:aria-invalid:ring-error/40', 'future:rounded-xl future:border-border-subtle future:bg-surface-overlay future:hover:bg-surface-hover future:focus-visible:ring-offset-background', isDragging ? 'border-primary bg-primary/5' : 'border-input bg-background hover:bg-accent/50', disabled && 'opacity-50 cursor-not-allowed hover:bg-background future:hover:bg-surface-overlay'),
151
151
  onDragEnter: handleDragEnter,
152
152
  onDragOver: handleDragOver,
153
153
  onDragLeave: handleDragLeave,
@@ -161,7 +161,7 @@ const file_upload_FileUpload = /*#__PURE__*/ forwardRef(function({ id, ariaLabel
161
161
  },
162
162
  children: [
163
163
  /*#__PURE__*/ jsx(Upload, {
164
- className: "mb-2 h-8 w-8 text-muted-foreground future:text-foreground-muted"
164
+ className: "mb-2 h-8 w-8 shrink-0 text-muted-foreground future:text-foreground-muted"
165
165
  }),
166
166
  /*#__PURE__*/ jsxs("p", {
167
167
  className: "text-center text-sm text-muted-foreground future:text-foreground-muted",
@@ -51,7 +51,7 @@ var __webpack_modules__ = {
51
51
  "./chat-hero" (module) {
52
52
  module.exports = require("./chat-hero.cjs");
53
53
  },
54
- "./checkbox" (module) {
54
+ "@/components/ui/checkbox" (module) {
55
55
  module.exports = require("./checkbox.cjs");
56
56
  },
57
57
  "./citation" (module) {
@@ -96,7 +96,7 @@ var __webpack_modules__ = {
96
96
  "./dropzone-overlay" (module) {
97
97
  module.exports = require("./dropzone-overlay.cjs");
98
98
  },
99
- "./editable-cell" (module) {
99
+ "@/components/ui/editable-cell" (module) {
100
100
  module.exports = require("./editable-cell.cjs");
101
101
  },
102
102
  "./empty-state" (module) {
@@ -117,7 +117,7 @@ var __webpack_modules__ = {
117
117
  "./form-field" (module) {
118
118
  module.exports = require("./form-field.cjs");
119
119
  },
120
- "./hover-card" (module) {
120
+ "@/components/ui/hover-card" (module) {
121
121
  module.exports = require("./hover-card.cjs");
122
122
  },
123
123
  "./info-tooltip" (module) {
@@ -502,7 +502,7 @@ var __webpack_exports__ = {};
502
502
  "ReferenceChip"
503
503
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_chat_hero__rspack_import_16[__rspack_import_key];
504
504
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
505
- var _checkbox__rspack_import_17 = __webpack_require__("./checkbox");
505
+ var _checkbox__rspack_import_17 = __webpack_require__("@/components/ui/checkbox");
506
506
  var __rspack_reexport = {};
507
507
  for(const __rspack_import_key in _checkbox__rspack_import_17)if ([
508
508
  "getReferenceChipColors",
@@ -652,7 +652,7 @@ var __webpack_exports__ = {};
652
652
  "ReferenceChip"
653
653
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_dropzone_overlay__rspack_import_31[__rspack_import_key];
654
654
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
655
- var _editable_cell__rspack_import_32 = __webpack_require__("./editable-cell");
655
+ var _editable_cell__rspack_import_32 = __webpack_require__("@/components/ui/editable-cell");
656
656
  var __rspack_reexport = {};
657
657
  for(const __rspack_import_key in _editable_cell__rspack_import_32)if ([
658
658
  "getReferenceChipColors",
@@ -722,7 +722,7 @@ var __webpack_exports__ = {};
722
722
  "ReferenceChip"
723
723
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_form_field__rspack_import_38[__rspack_import_key];
724
724
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
725
- var _hover_card__rspack_import_39 = __webpack_require__("./hover-card");
725
+ var _hover_card__rspack_import_39 = __webpack_require__("@/components/ui/hover-card");
726
726
  var __rspack_reexport = {};
727
727
  for(const __rspack_import_key in _hover_card__rspack_import_39)if ([
728
728
  "getReferenceChipColors",
@@ -283,8 +283,10 @@ function QuickFormField({ value = '', onValueChange, onValueBlur, locked = true,
283
283
  onBlur: onValueBlur
284
284
  }) : 'textarea' === fieldType ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_input_group_cjs_namespaceObject.InputGroupTextarea, {
285
285
  ...textInputProps,
286
- minRows: 3,
287
- maxRows: 8
286
+ rows: 1,
287
+ minRows: 1,
288
+ maxRows: 8,
289
+ className: "py-[3px] future:py-0.5"
288
290
  }) : /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_input_group_cjs_namespaceObject.InputGroupInput, {
289
291
  ...textInputProps,
290
292
  type: 'integer' === fieldType || 'double' === fieldType ? 'number' : 'text',
@@ -255,8 +255,10 @@ function QuickFormField({ value = '', onValueChange, onValueBlur, locked = true,
255
255
  onBlur: onValueBlur
256
256
  }) : 'textarea' === fieldType ? /*#__PURE__*/ jsx(InputGroupTextarea, {
257
257
  ...textInputProps,
258
- minRows: 3,
259
- maxRows: 8
258
+ rows: 1,
259
+ minRows: 1,
260
+ maxRows: 8,
261
+ className: "py-[3px] future:py-0.5"
260
262
  }) : /*#__PURE__*/ jsx(InputGroupInput, {
261
263
  ...textInputProps,
262
264
  type: 'integer' === fieldType || 'double' === fieldType ? 'number' : 'text',
package/dist/styles.css CHANGED
@@ -1448,6 +1448,9 @@
1448
1448
  .min-h-28 {
1449
1449
  min-height: calc(var(--spacing) * 28);
1450
1450
  }
1451
+ .min-h-32 {
1452
+ min-height: calc(var(--spacing) * 32);
1453
+ }
1451
1454
  .min-h-\[32px\] {
1452
1455
  min-height: 32px;
1453
1456
  }
@@ -4423,6 +4426,9 @@
4423
4426
  .py-20 {
4424
4427
  padding-block: calc(var(--spacing) * 20);
4425
4428
  }
4429
+ .py-\[3px\] {
4430
+ padding-block: 3px;
4431
+ }
4426
4432
  .py-\[5px\] {
4427
4433
  padding-block: 5px;
4428
4434
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-wind",
3
- "version": "2.76.0",
3
+ "version": "2.77.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",