@dreamtree-org/twreact-ui 1.1.17 → 1.1.19

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/index.js CHANGED
@@ -3209,15 +3209,15 @@ var Input = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
3209
3209
  htmlFor: inputId,
3210
3210
  className: "block text-sm font-medium mb-1"
3211
3211
  }, label, required && /*#__PURE__*/React.createElement("span", {
3212
- className: "text-red-500 ml-1"
3212
+ className: "text-error-500 ml-1"
3213
3213
  }, "*")), /*#__PURE__*/React.createElement("div", {
3214
3214
  className: "relative"
3215
3215
  }, leftHasIcon && /*#__PURE__*/React.createElement("div", {
3216
3216
  className: "absolute left-3 top-1/2 transform -translate-y-1/2 pointer-events-none"
3217
3217
  }, isSearch ? /*#__PURE__*/React.createElement(Search, {
3218
- className: "h-4 w-4 text-gray-400"
3218
+ className: "h-4 w-4 text-primary-400"
3219
3219
  }) : /*#__PURE__*/React.createElement("span", {
3220
- className: "text-gray-400"
3220
+ className: "text-primary-400"
3221
3221
  }, icon)), /*#__PURE__*/React.createElement("input", _extends({
3222
3222
  id: inputId,
3223
3223
  ref: ref,
@@ -3233,10 +3233,10 @@ var Input = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
3233
3233
  value: value,
3234
3234
  defaultValue: defaultValue
3235
3235
  }, rest)), icon && iconPosition === "right" && !isPassword && !(clearable && currentLength > 0) && /*#__PURE__*/React.createElement("div", {
3236
- className: "absolute right-3 top-1/2 transform -translate-y-1/2 pointer-events-none text-gray-400"
3236
+ className: "absolute right-3 top-1/2 transform -translate-y-1/2 pointer-events-none text-primary-400"
3237
3237
  }, icon), isPassword && /*#__PURE__*/React.createElement("button", {
3238
3238
  type: "button",
3239
- className: "absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-500 hover:text-gray-700",
3239
+ className: "absolute right-3 top-1/2 transform -translate-y-1/2 text-primary-500",
3240
3240
  onClick: function onClick() {
3241
3241
  return setShowPassword(function (s) {
3242
3242
  return !s;
@@ -3250,7 +3250,7 @@ var Input = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
3250
3250
  className: "h-4 w-4"
3251
3251
  })), clearable && currentLength > 0 && !isPassword && /*#__PURE__*/React.createElement("button", {
3252
3252
  type: "button",
3253
- className: "absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-500 hover:text-gray-700",
3253
+ className: "absolute right-3 top-1/2 transform -translate-y-1/2 text-primary-500",
3254
3254
  onClick: handleClear,
3255
3255
  "aria-label": "Clear input",
3256
3256
  disabled: disabled
@@ -3258,14 +3258,14 @@ var Input = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {
3258
3258
  className: "h-4 w-4"
3259
3259
  }))), error && /*#__PURE__*/React.createElement("p", {
3260
3260
  id: "".concat(inputId, "-error"),
3261
- className: "mt-1 text-sm text-red-600",
3261
+ className: "mt-1 text-sm text-error-600",
3262
3262
  "aria-live": "polite"
3263
3263
  }, error), !error && success && /*#__PURE__*/React.createElement("p", {
3264
3264
  id: "".concat(inputId, "-success"),
3265
- className: "mt-1 text-sm text-green-600",
3265
+ className: "mt-1 text-sm text-success-600",
3266
3266
  "aria-live": "polite"
3267
3267
  }, success), showCount && maxLength && /*#__PURE__*/React.createElement("div", {
3268
- className: "mt-1 text-right text-xs text-gray-500",
3268
+ className: "mt-1 text-right text-xs text-primary-500",
3269
3269
  "aria-hidden": true
3270
3270
  }, currentLength, "/", maxLength));
3271
3271
  });
@@ -3288,7 +3288,7 @@ var Button = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
3288
3288
  // Variants
3289
3289
  'bg-primary-600 text-white hover:bg-primary-700 focus:ring-primary-500': variant === 'primary',
3290
3290
  'bg-secondary-100 text-secondary-900 hover:bg-secondary-200 focus:ring-secondary-500': variant === 'secondary',
3291
- 'bg-transparent border border-gray-300 text-gray-700 hover:bg-gray-50 focus:ring-primary-500': variant === 'outline',
3291
+ 'bg-transparent border border-gray-300 hover:bg-gray-50 focus:ring-primary-500': variant === 'outline',
3292
3292
  'bg-transparent text-primary-600 hover:bg-primary-50 focus:ring-primary-500': variant === 'ghost',
3293
3293
  'bg-error-600 text-white hover:bg-error-700 focus:ring-error-500': variant === 'destructive',
3294
3294
  'bg-success-600 text-white hover:bg-success-700 focus:ring-success-500': variant === 'success',
@@ -3717,7 +3717,7 @@ var Select = /*#__PURE__*/React.forwardRef(function (_ref, forwardedRef) {
3717
3717
  className: "truncate max-w-[6rem]"
3718
3718
  }, opt.label));
3719
3719
  })), /*#__PURE__*/React.createElement("div", {
3720
- className: "text-xs text-gray-500"
3720
+ className: "text-xs text-primary-500"
3721
3721
  }, "+", rest));
3722
3722
  }
3723
3723
  return ((_selectedOptions$ = selectedOptions[0]) === null || _selectedOptions$ === void 0 ? void 0 : _selectedOptions$.label) || placeholder;
@@ -3738,7 +3738,7 @@ var Select = /*#__PURE__*/React.forwardRef(function (_ref, forwardedRef) {
3738
3738
  });
3739
3739
  }
3740
3740
  }, /*#__PURE__*/React.createElement(ChevronDown, {
3741
- className: cn$1("h-4 w-4 text-gray-400 transition-transform", {
3741
+ className: cn$1("h-4 w-4 text-primary-400 transition-transform", {
3742
3742
  "rotate-180": collapsedGroups[group.label]
3743
3743
  })
3744
3744
  }))), !collapsedGroups[group.label] && /*#__PURE__*/React.createElement("div", {
@@ -3772,7 +3772,7 @@ var Select = /*#__PURE__*/React.forwardRef(function (_ref, forwardedRef) {
3772
3772
  return /*#__PURE__*/React.createElement("div", null, loading ? /*#__PURE__*/React.createElement("div", {
3773
3773
  className: "px-3 py-2 text-sm"
3774
3774
  }, "Loading...") : Array.isArray(filtered) && filtered.length === 0 ? /*#__PURE__*/React.createElement("div", {
3775
- className: "px-3 py-2 text-sm text-gray-500"
3775
+ className: "px-3 py-2 text-sm text-primary-500"
3776
3776
  }, "No options found") : (grouped ? flattenGroups(filtered) : filtered).map(function (option, index) {
3777
3777
  return /*#__PURE__*/React.createElement("div", {
3778
3778
  key: option.value,
@@ -3807,7 +3807,7 @@ var Select = /*#__PURE__*/React.forwardRef(function (_ref, forwardedRef) {
3807
3807
  return /*#__PURE__*/React.createElement("div", {
3808
3808
  className: "w-full"
3809
3809
  }, label && /*#__PURE__*/React.createElement("label", {
3810
- className: "block text-sm font-medium text-gray-700 mb-1"
3810
+ className: "block text-sm font-medium mb-1"
3811
3811
  }, label, required && /*#__PURE__*/React.createElement("span", {
3812
3812
  className: "text-error-500 ml-1"
3813
3813
  }, "*")), /*#__PURE__*/React.createElement("div", {
@@ -3820,7 +3820,7 @@ var Select = /*#__PURE__*/React.forwardRef(function (_ref, forwardedRef) {
3820
3820
  "aria-labelledby": "select-label",
3821
3821
  className: cn$1("flex w-full items-center justify-between rounded-md border border-gray-300 px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-transparent disabled:cursor-not-allowed disabled:opacity-50", {
3822
3822
  "border-error-500 focus:ring-error-500": error,
3823
- "text-gray-500": !selectedOptions.length
3823
+ "text-primary-500": !selectedOptions.length
3824
3824
  }, className),
3825
3825
  onClick: function onClick() {
3826
3826
  if (!disabled) {
@@ -3847,7 +3847,7 @@ var Select = /*#__PURE__*/React.forwardRef(function (_ref, forwardedRef) {
3847
3847
  }, /*#__PURE__*/React.createElement(X, {
3848
3848
  className: "h-4 w-4"
3849
3849
  })), /*#__PURE__*/React.createElement(ChevronDown, {
3850
- className: cn$1("h-4 w-4 text-gray-400 transition-transform", {
3850
+ className: cn$1("h-4 w-4 text-primary-400 transition-transform", {
3851
3851
  "rotate-180": isOpen
3852
3852
  })
3853
3853
  }))), name && (multiSelect ?
@@ -3911,7 +3911,7 @@ var Select = /*#__PURE__*/React.forwardRef(function (_ref, forwardedRef) {
3911
3911
  },
3912
3912
  "aria-label": "Search options"
3913
3913
  }), /*#__PURE__*/React.createElement(Search, {
3914
- className: "absolute right-2 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400"
3914
+ className: "absolute right-2 top-1/2 h-4 w-4 -translate-y-1/2 text-primary-400"
3915
3915
  }))), /*#__PURE__*/React.createElement("div", {
3916
3916
  className: "overflow-auto",
3917
3917
  role: "listbox",
@@ -4003,7 +4003,7 @@ function PaginationHeader(_ref) {
4003
4003
  },
4004
4004
  "aria-label": "First page"
4005
4005
  }, /*#__PURE__*/React.createElement(ChevronsLeft, {
4006
- className: "size-4 md:size-5 text-gray-800"
4006
+ className: "size-4 md:size-5 text-primary-800"
4007
4007
  })), /*#__PURE__*/React.createElement("button", {
4008
4008
  className: cn$1("rounded-lg md:rounded-md border border-gray-300 p-2 disabled:opacity-50", ["hover:" + theme.rowHover]),
4009
4009
  disabled: currentPage === 1,
@@ -4012,7 +4012,7 @@ function PaginationHeader(_ref) {
4012
4012
  },
4013
4013
  "aria-label": "Previous page"
4014
4014
  }, /*#__PURE__*/React.createElement(ChevronLeft, {
4015
- className: "size-4 md:size-5 text-gray-800"
4015
+ className: "size-4 md:size-5 text-primary-800"
4016
4016
  })), /*#__PURE__*/React.createElement("button", {
4017
4017
  className: cn$1("rounded-lg md:rounded-md border border-gray-300 p-2 disabled:opacity-50", ["hover:" + theme.rowHover]),
4018
4018
  disabled: currentPage === totalPages,
@@ -4021,7 +4021,7 @@ function PaginationHeader(_ref) {
4021
4021
  },
4022
4022
  "aria-label": "Next page"
4023
4023
  }, /*#__PURE__*/React.createElement(ChevronRight, {
4024
- className: "size-4 md:size-5 text-gray-800"
4024
+ className: "size-4 md:size-5 text-primary-800"
4025
4025
  })), totalPages >= 4 && /*#__PURE__*/React.createElement("button", {
4026
4026
  className: cn$1("rounded-lg md:rounded-md border border-gray-300 p-2 disabled:opacity-50", ["hover:" + theme.rowHover]),
4027
4027
  disabled: currentPage === totalPages,
@@ -4030,7 +4030,7 @@ function PaginationHeader(_ref) {
4030
4030
  },
4031
4031
  "aria-label": "Last page"
4032
4032
  }, /*#__PURE__*/React.createElement(ChevronsRight, {
4033
- className: "size-4 md:size-5 text-gray-800"
4033
+ className: "size-4 md:size-5 text-primary-800"
4034
4034
  })));
4035
4035
  }
4036
4036
 
@@ -4058,7 +4058,7 @@ function PaginationFooter(_ref2) {
4058
4058
  },
4059
4059
  "aria-label": "First page"
4060
4060
  }, isMobileView ? /*#__PURE__*/React.createElement(ChevronsLeft, {
4061
- className: "size-4 text-gray-800"
4061
+ className: "size-4 text-primary-800"
4062
4062
  }) : "First"), /*#__PURE__*/React.createElement("button", {
4063
4063
  className: cn$1("rounded-lg md:rounded-md border border-gray-300 disabled:opacity-50", isMobileView ? "p-2" : "px-4 py-2 text-sm", ["hover:" + theme.rowHover]),
4064
4064
  disabled: currentPage === 1,
@@ -4067,7 +4067,7 @@ function PaginationFooter(_ref2) {
4067
4067
  },
4068
4068
  "aria-label": "Previous page"
4069
4069
  }, isMobileView ? /*#__PURE__*/React.createElement(ChevronLeft, {
4070
- className: "size-4 text-gray-800"
4070
+ className: "size-4 text-primary-800"
4071
4071
  }) : "Previous"), /*#__PURE__*/React.createElement("div", {
4072
4072
  className: "flex items-center gap-1"
4073
4073
  }, Array.from({
@@ -4101,7 +4101,7 @@ function PaginationFooter(_ref2) {
4101
4101
  },
4102
4102
  "aria-label": "Next page"
4103
4103
  }, isMobileView ? /*#__PURE__*/React.createElement(ChevronRight, {
4104
- className: "size-4 text-gray-800"
4104
+ className: "size-4 text-primary-800"
4105
4105
  }) : "Next"), totalPages >= 4 && /*#__PURE__*/React.createElement("button", {
4106
4106
  className: cn$1("rounded-lg md:rounded-md border border-gray-300 disabled:opacity-50", isMobileView ? "p-2" : "px-4 py-2 text-sm", ["hover:" + theme.rowHover]),
4107
4107
  disabled: currentPage === totalPages,
@@ -4110,7 +4110,7 @@ function PaginationFooter(_ref2) {
4110
4110
  },
4111
4111
  "aria-label": "Last page"
4112
4112
  }, isMobileView ? /*#__PURE__*/React.createElement(ChevronsRight, {
4113
- className: "size-4 text-gray-800"
4113
+ className: "size-4 text-primary-800"
4114
4114
  }) : "Last"))));
4115
4115
  }
4116
4116
 
@@ -4177,7 +4177,7 @@ function MobileFilters(_ref) {
4177
4177
  return !s;
4178
4178
  });
4179
4179
  },
4180
- className: "text-xs text-gray-500 hover:text-gray-700"
4180
+ className: "text-xs text-primary-500"
4181
4181
  }, showMobileFilters ? "Hide" : "Show")), showMobileFilters && /*#__PURE__*/React.createElement("div", {
4182
4182
  className: "space-y-3"
4183
4183
  }, globalSearch && /*#__PURE__*/React.createElement("div", {
@@ -4192,7 +4192,7 @@ function MobileFilters(_ref) {
4192
4192
  },
4193
4193
  onKeyDown: onGlobalKeyDown
4194
4194
  }), /*#__PURE__*/React.createElement(Search, {
4195
- className: "absolute right-3 top-2.5 h-4 w-4 text-gray-400"
4195
+ className: "absolute right-3 top-2.5 h-4 w-4 text-primary-400"
4196
4196
  })), filterable && visibleColumns.map(function (column) {
4197
4197
  return /*#__PURE__*/React.createElement("div", {
4198
4198
  key: column.key
@@ -4347,7 +4347,7 @@ function ActionMenu(_ref) {
4347
4347
  }, /*#__PURE__*/React.createElement("div", {
4348
4348
  className: "p-1"
4349
4349
  }, !Array.isArray(actions) || actions.length === 0 ? /*#__PURE__*/React.createElement("div", {
4350
- className: "px-3 py-2 text-sm text-gray-500"
4350
+ className: "px-3 py-2 text-sm text-primary-500"
4351
4351
  }, "No actions") : actions.map(function (action) {
4352
4352
  return /*#__PURE__*/React.createElement("div", {
4353
4353
  key: action.name,
@@ -4625,9 +4625,9 @@ function MobileCard(_ref) {
4625
4625
  key: column.key,
4626
4626
  className: cn$1("flex justify-between items-center flex-row py-2 border-b last:border-b-0", safeExtraCellClass)
4627
4627
  }, /*#__PURE__*/React.createElement("div", {
4628
- className: "text-xs font-medium text-gray-500 uppercase tracking-wide mb-1 sm:mb-0 sm:w-1/3 sm:pr-2"
4628
+ className: "text-xs font-medium text-primary-500 uppercase tracking-wide mb-1 sm:mb-0 sm:w-1/3 sm:pr-2"
4629
4629
  }, column.label), /*#__PURE__*/React.createElement("div", {
4630
- className: "text-sm text-gray-900 sm:w-2/3 sm:pl-2 break-words"
4630
+ className: "text-sm text-primary-900 sm:w-2/3 sm:pl-2 break-words"
4631
4631
  }, renderCell(column, row, globalIndex)));
4632
4632
  })), hasDetails && isExpanded && DetailsComponent && /*#__PURE__*/React.createElement("div", {
4633
4633
  className: "border-t bg-gray-50 p-4"
@@ -5172,7 +5172,7 @@ var Table = function Table(_ref) {
5172
5172
  className: "absolute right-2 top-1/2 transform -translate-y-1/2 p-2 rounded-lg hover:bg-gray-100",
5173
5173
  title: "Search"
5174
5174
  }, /*#__PURE__*/React.createElement(Search, {
5175
- className: "h-4 w-4 text-gray-400"
5175
+ className: "h-4 w-4 text-primary-400"
5176
5176
  }))), /*#__PURE__*/React.createElement("button", {
5177
5177
  onClick: function onClick() {
5178
5178
  setSearchInput("");
@@ -5203,7 +5203,7 @@ var Table = function Table(_ref) {
5203
5203
  }, /*#__PURE__*/React.createElement("tr", null, hasDetails && /*#__PURE__*/React.createElement("th", {
5204
5204
  className: "w-8 px-4 py-3"
5205
5205
  }), showSerial && /*#__PURE__*/React.createElement("th", {
5206
- className: "w-8 px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"
5206
+ className: "w-8 px-4 py-3 text-left text-xs font-medium text-primary-500 uppercase tracking-wider"
5207
5207
  }, "#"), selectable && /*#__PURE__*/React.createElement("th", {
5208
5208
  className: "w-12 px-6 py-3"
5209
5209
  }, /*#__PURE__*/React.createElement("input", {
@@ -5214,7 +5214,7 @@ var Table = function Table(_ref) {
5214
5214
  })), visibleColumns.map(function (column) {
5215
5215
  return /*#__PURE__*/React.createElement("th", {
5216
5216
  key: column.key,
5217
- className: cn$1("px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider", {
5217
+ className: cn$1("px-6 py-3 text-left text-xs font-medium text-primary-500 uppercase tracking-wider", {
5218
5218
  "cursor-pointer hover:bg-gray-100": sortable && column.sortable !== false
5219
5219
  }),
5220
5220
  onClick: function onClick() {
@@ -5284,18 +5284,18 @@ var Table = function Table(_ref) {
5284
5284
  }, /*#__PURE__*/React.createElement("div", {
5285
5285
  className: "h-6 w-6 animate-spin rounded-full border-2 border-primary-600 border-t-transparent"
5286
5286
  }), /*#__PURE__*/React.createElement("span", {
5287
- className: "text-sm text-gray-500"
5287
+ className: "text-sm text-primary-500"
5288
5288
  }, "Loading...")))) : paginatedData.length === 0 ? /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
5289
5289
  colSpan: visibleCount,
5290
5290
  className: "px-6 py-8 text-center"
5291
5291
  }, /*#__PURE__*/React.createElement("div", {
5292
5292
  className: "flex flex-col items-center gap-2"
5293
5293
  }, /*#__PURE__*/React.createElement("div", {
5294
- className: "text-gray-400"
5294
+ className: "text-primary-400"
5295
5295
  }, /*#__PURE__*/React.createElement(List, {
5296
5296
  className: "h-8 w-8"
5297
5297
  })), /*#__PURE__*/React.createElement("span", {
5298
- className: "text-sm text-gray-500"
5298
+ className: "text-sm text-primary-500"
5299
5299
  }, "No results found.")))) : paginatedData.map(function (row, rowIndexInPage) {
5300
5300
  return /*#__PURE__*/React.createElement(TableRow, _extends({
5301
5301
  key: getRowKey(row, startIndex + rowIndexInPage),
@@ -5313,17 +5313,17 @@ var Table = function Table(_ref) {
5313
5313
  }, /*#__PURE__*/React.createElement("div", {
5314
5314
  className: "h-6 w-6 animate-spin rounded-full border-2 border-primary-600 border-t-transparent"
5315
5315
  }), /*#__PURE__*/React.createElement("span", {
5316
- className: "text-sm text-gray-500"
5316
+ className: "text-sm text-primary-500"
5317
5317
  }, "Loading..."))) : paginatedData.length === 0 ? /*#__PURE__*/React.createElement("div", {
5318
5318
  className: "py-8 text-center"
5319
5319
  }, /*#__PURE__*/React.createElement("div", {
5320
5320
  className: "flex flex-col items-center gap-2"
5321
5321
  }, /*#__PURE__*/React.createElement("div", {
5322
- className: "text-gray-400"
5322
+ className: "text-primary-400"
5323
5323
  }, /*#__PURE__*/React.createElement(List, {
5324
5324
  className: "h-8 w-8"
5325
5325
  })), /*#__PURE__*/React.createElement("span", {
5326
- className: "text-sm text-gray-500"
5326
+ className: "text-sm text-primary-500"
5327
5327
  }, "No results found."))) : paginatedData.map(function (row, rowIndexInPage) {
5328
5328
  return /*#__PURE__*/React.createElement(MobileCard, _extends({
5329
5329
  key: getRowKey(row, startIndex + rowIndexInPage),
@@ -11000,7 +11000,7 @@ var DatePicker = /*#__PURE__*/React.forwardRef(function (_ref, forwardedRef) {
11000
11000
  var label = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"][dayIndex];
11001
11001
  return /*#__PURE__*/React.createElement("div", {
11002
11002
  key: label,
11003
- className: "p-2 text-center text-xs font-medium text-gray-500"
11003
+ className: "p-2 text-center text-xs font-medium text-primary-500"
11004
11004
  }, label);
11005
11005
  })), /*#__PURE__*/React.createElement("div", {
11006
11006
  className: "grid grid-cols-7 gap-1",
@@ -11023,7 +11023,7 @@ var DatePicker = /*#__PURE__*/React.forwardRef(function (_ref, forwardedRef) {
11023
11023
  return handleGridKeyDown(e, idx);
11024
11024
  },
11025
11025
  className: cn$1("h-8 w-8 rounded-md text-sm transition-colors focus:outline-2 focus:outline-offset-1", {
11026
- "text-gray-400": !isCurrentMonth,
11026
+ "text-primary-400": !isCurrentMonth,
11027
11027
  "bg-primary-600 text-white": isSelected,
11028
11028
  "bg-primary-100 text-primary-600": isTodayDate && !isSelected,
11029
11029
  "hover:bg-gray-100": isCurrentMonth && !isSelected && !isDisabled,
@@ -11054,12 +11054,12 @@ var DatePicker = /*#__PURE__*/React.forwardRef(function (_ref, forwardedRef) {
11054
11054
  if (closeOnSelect) setIsOpen(false);
11055
11055
  }
11056
11056
  }, "Today")), /*#__PURE__*/React.createElement("div", {
11057
- className: "text-xs text-gray-500"
11057
+ className: "text-xs text-primary-500"
11058
11058
  }, formatDisplayValue())));
11059
11059
  return /*#__PURE__*/React.createElement("div", {
11060
11060
  className: "w-full"
11061
11061
  }, label && /*#__PURE__*/React.createElement("label", {
11062
- className: "block text-sm font-medium text-gray-700 mb-1"
11062
+ className: "block text-sm font-medium mb-1"
11063
11063
  }, label, required && /*#__PURE__*/React.createElement("span", {
11064
11064
  className: "text-error-500 ml-1"
11065
11065
  }, "*")), /*#__PURE__*/React.createElement("div", {
@@ -11069,7 +11069,7 @@ var DatePicker = /*#__PURE__*/React.forwardRef(function (_ref, forwardedRef) {
11069
11069
  type: "button",
11070
11070
  className: cn$1("flex w-full items-center justify-between rounded-md border border-gray-300 bg-white px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-transparent disabled:cursor-not-allowed disabled:opacity-50", {
11071
11071
  "border-error-500 focus:ring-error-500": error,
11072
- "text-gray-500": !selected
11072
+ "text-primary-500": !selected
11073
11073
  }, className),
11074
11074
  onClick: function onClick() {
11075
11075
  return isOpen ? setIsOpen(false) : openAndFocusSelected();
@@ -11090,9 +11090,9 @@ var DatePicker = /*#__PURE__*/React.forwardRef(function (_ref, forwardedRef) {
11090
11090
  "aria-label": "Clear date",
11091
11091
  className: "p-1"
11092
11092
  }, /*#__PURE__*/React.createElement(X, {
11093
- className: "h-4 w-4 text-gray-400"
11093
+ className: "h-4 w-4 text-primary-400"
11094
11094
  })), /*#__PURE__*/React.createElement(Calendar, {
11095
- className: "h-4 w-4 text-gray-400"
11095
+ className: "h-4 w-4 text-primary-400"
11096
11096
  }))), isOpen && (portal ? /*#__PURE__*/ReactDOM.createPortal(calendarPopup, document.body) : calendarPopup)), error && /*#__PURE__*/React.createElement("p", {
11097
11097
  className: "mt-1 text-sm text-error-500"
11098
11098
  }, error));
@@ -11391,12 +11391,12 @@ var Form = function Form(_ref) {
11391
11391
  return /*#__PURE__*/React.createElement("div", {
11392
11392
  className: "w-full"
11393
11393
  }, label && /*#__PURE__*/React.createElement("label", {
11394
- className: "block text-sm font-medium text-gray-700 mb-1"
11394
+ className: "block text-sm font-medium mb-1"
11395
11395
  }, label, required && /*#__PURE__*/React.createElement("span", {
11396
11396
  className: "text-error-500 ml-1"
11397
11397
  }, "*")), /*#__PURE__*/React.createElement("textarea", {
11398
11398
  ref: ref,
11399
- className: cn$1("flex w-full rounded-md border border-gray-300 bg-white px-3 py-2 text-sm placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-transparent disabled:cursor-not-allowed disabled:opacity-50", {
11399
+ className: cn$1("flex w-full rounded-md border border-gray-300 bg-white px-3 py-2 text-sm placeholder:text-primary-400 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-transparent disabled:cursor-not-allowed disabled:opacity-50", {
11400
11400
  "border-error-500 focus:ring-error-500": error
11401
11401
  }),
11402
11402
  placeholder: placeholder,
@@ -11430,7 +11430,7 @@ var Form = function Form(_ref) {
11430
11430
  },
11431
11431
  className: "rounded border-gray-300 text-primary-600 focus:ring-primary-500"
11432
11432
  }), label && /*#__PURE__*/React.createElement("label", {
11433
- className: "ml-2 text-sm text-gray-700"
11433
+ className: "ml-2 text-sm"
11434
11434
  }, label, required && /*#__PURE__*/React.createElement("span", {
11435
11435
  className: "text-error-500 ml-1"
11436
11436
  }, "*")), error && /*#__PURE__*/React.createElement("p", {
@@ -11451,7 +11451,7 @@ var Form = function Form(_ref) {
11451
11451
  return /*#__PURE__*/React.createElement("div", {
11452
11452
  className: "w-full"
11453
11453
  }, label && /*#__PURE__*/React.createElement("label", {
11454
- className: "block text-sm font-medium text-gray-700 mb-2"
11454
+ className: "block text-sm font-medium mb-2"
11455
11455
  }, label, required && /*#__PURE__*/React.createElement("span", {
11456
11456
  className: "text-error-500 ml-1"
11457
11457
  }, "*")), /*#__PURE__*/React.createElement("div", {
@@ -11469,7 +11469,7 @@ var Form = function Form(_ref) {
11469
11469
  },
11470
11470
  className: "text-primary-600 focus:ring-primary-500"
11471
11471
  }), /*#__PURE__*/React.createElement("label", {
11472
- className: "ml-2 text-sm text-gray-700"
11472
+ className: "ml-2 text-sm"
11473
11473
  }, option.label));
11474
11474
  })), error && /*#__PURE__*/React.createElement("p", {
11475
11475
  className: "mt-1 text-sm text-error-500"
@@ -11492,18 +11492,18 @@ var Form = function Form(_ref) {
11492
11492
  return /*#__PURE__*/React.createElement("div", {
11493
11493
  className: "w-full"
11494
11494
  }, label && /*#__PURE__*/React.createElement("label", {
11495
- className: "block text-sm font-medium text-gray-700 mb-1"
11495
+ className: "block text-sm font-medium mb-1"
11496
11496
  }, label, required && /*#__PURE__*/React.createElement("span", {
11497
11497
  className: "text-error-500 ml-1"
11498
11498
  }, "*")), /*#__PURE__*/React.createElement("div", {
11499
11499
  className: "mt-1 flex items-center"
11500
11500
  }, /*#__PURE__*/React.createElement("label", {
11501
11501
  htmlFor: name,
11502
- className: cn$1("cursor-pointer inline-flex items-center px-4 py-2 border border-gray-300 rounded-md shadow-sm text-sm font-medium text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500", {
11502
+ className: cn$1("cursor-pointer inline-flex items-center px-4 py-2 border border-gray-300 rounded-md shadow-sm text-sm font-medium bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500", {
11503
11503
  "border-error-500": error
11504
11504
  })
11505
11505
  }, /*#__PURE__*/React.createElement("svg", {
11506
- className: "-ml-1 mr-2 h-5 w-5 text-gray-400",
11506
+ className: "-ml-1 mr-2 h-5 w-5 text-primary-400",
11507
11507
  fill: "none",
11508
11508
  stroke: "currentColor",
11509
11509
  viewBox: "0 0 24 24",
@@ -11541,7 +11541,7 @@ var Form = function Form(_ref) {
11541
11541
  accept: fieldProps.accept,
11542
11542
  multiple: fieldProps.multiple
11543
11543
  })), /*#__PURE__*/React.createElement("span", {
11544
- className: "ml-3 text-sm text-gray-500"
11544
+ className: "ml-3 text-sm text-primary-500"
11545
11545
  }, (value === null || value === void 0 ? void 0 : value.name) || "No file chosen"), value && /*#__PURE__*/React.createElement("button", {
11546
11546
  type: "button",
11547
11547
  onClick: function onClick() {
@@ -11558,7 +11558,7 @@ var Form = function Form(_ref) {
11558
11558
  alt: "Preview",
11559
11559
  className: "h-32 w-32 object-cover rounded"
11560
11560
  })), fieldProps.accept && /*#__PURE__*/React.createElement("p", {
11561
- className: "mt-1 text-xs text-gray-500"
11561
+ className: "mt-1 text-xs text-primary-500"
11562
11562
  }, "Accepted: ", fieldProps.accept), error && /*#__PURE__*/React.createElement("p", {
11563
11563
  className: "mt-1 text-sm text-error-500"
11564
11564
  }, error));
@@ -11603,9 +11603,9 @@ var Form = function Form(_ref) {
11603
11603
  key: group.name,
11604
11604
  className: "space-y-4"
11605
11605
  }, group.title && /*#__PURE__*/React.createElement("h3", {
11606
- className: "text-lg font-medium text-gray-900"
11606
+ className: "text-lg font-medium text-primary-900"
11607
11607
  }, group.title), group.description && /*#__PURE__*/React.createElement("p", {
11608
- className: "text-sm text-gray-600"
11608
+ className: "text-sm text-primary-600"
11609
11609
  }, group.description), /*#__PURE__*/React.createElement("div", {
11610
11610
  className: cn$1("grid gap-4", group.gridCols ? "grid-cols-".concat(group.gridCols) : "grid-cols-1")
11611
11611
  }, group.fields.map(renderField)));
@@ -11825,7 +11825,7 @@ function Accordion(_ref) {
11825
11825
  }, /*#__PURE__*/React.createElement("span", {
11826
11826
  className: "font-medium"
11827
11827
  }, item.title), item.subtitle ? /*#__PURE__*/React.createElement("span", {
11828
- className: "text-gray-500 text-sm"
11828
+ className: "text-primary-500 text-sm"
11829
11829
  }, item.subtitle) : null)), chevronPosition === "right" ? /*#__PURE__*/React.createElement("span", {
11830
11830
  className: "flex-shrink-0 transform transition-transform duration-150 ".concat(open ? "rotate-180" : "rotate-0")
11831
11831
  }, chevronIcon !== null && chevronIcon !== void 0 ? chevronIcon : /*#__PURE__*/React.createElement("svg", {
@@ -11940,7 +11940,7 @@ var Checkbox = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
11940
11940
  className: wrapperCls
11941
11941
  }, (_props$wrapperProps = props === null || props === void 0 ? void 0 : props.wrapperProps) !== null && _props$wrapperProps !== void 0 ? _props$wrapperProps : {}), label && labelPosition === "left" && /*#__PURE__*/React.createElement("label", {
11942
11942
  htmlFor: inputId,
11943
- className: "".concat(sizeClass.label, " text-gray-700 select-none mr-2")
11943
+ className: "".concat(sizeClass.label, " select-none mr-2")
11944
11944
  }, label), /*#__PURE__*/React.createElement("div", {
11945
11945
  className: boxOuterCls,
11946
11946
  style: disabled ? {} : {
@@ -11964,7 +11964,7 @@ var Checkbox = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
11964
11964
  "aria-label": ariaLabel,
11965
11965
  "aria-checked": Boolean(currentChecked)
11966
11966
  }, props)), /*#__PURE__*/React.createElement("div", {
11967
- className: "pointer-events-none z-0 flex items-center justify-center rounded-sm w-full h-full transition-colors duration-150 ease-in-out " + "peer-checked:bg-green-600 peer-checked:border-green-600 peer-checked:text-white " + "peer-focus:ring-2 peer-focus:ring-offset-1 peer-focus:ring-green-300 " + "".concat(disabled ? "bg-gray-100 border-gray-400 text-gray-400" : "bg-white border-gray-500 text-gray-700"),
11967
+ className: "pointer-events-none z-0 flex items-center justify-center rounded-sm w-full h-full transition-colors duration-150 ease-in-out " + "peer-checked:bg-green-600 peer-checked:border-green-600 peer-checked:text-white " + "peer-focus:ring-2 peer-focus:ring-offset-1 peer-focus:ring-green-300 " + "".concat(disabled ? "bg-gray-100 border-gray-400 text-primary-400" : "bg-white border-gray-500"),
11968
11968
  style: currentChecked && checkedColor ? {
11969
11969
  backgroundColor: checkedColor,
11970
11970
  borderColor: checkedColor
@@ -11979,7 +11979,7 @@ var Checkbox = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
11979
11979
  "aria-hidden": "true"
11980
11980
  }))), label && labelPosition === "right" && /*#__PURE__*/React.createElement("label", {
11981
11981
  htmlFor: inputId,
11982
- className: "".concat(sizeClass.label, " text-gray-700 select-none ml-2")
11982
+ className: "".concat(sizeClass.label, " select-none ml-2")
11983
11983
  }, label));
11984
11984
  });
11985
11985
 
@@ -12260,7 +12260,7 @@ function ColorPicker(props) {
12260
12260
  }), /*#__PURE__*/React.createElement("div", {
12261
12261
  className: "flex flex-col"
12262
12262
  }, /*#__PURE__*/React.createElement("div", {
12263
- className: "text-xs text-gray-500"
12263
+ className: "text-xs text-primary-500"
12264
12264
  }, "Current"), /*#__PURE__*/React.createElement("div", {
12265
12265
  className: "font-mono text-sm"
12266
12266
  }, rgbaToHex(internal)))), /*#__PURE__*/React.createElement("input", {
@@ -12319,7 +12319,7 @@ function Slider(_ref6) {
12319
12319
  return /*#__PURE__*/React.createElement("div", {
12320
12320
  className: "flex items-center gap-3"
12321
12321
  }, /*#__PURE__*/React.createElement("div", {
12322
- className: "w-36 text-sm text-gray-600"
12322
+ className: "w-36 text-sm text-primary-600"
12323
12323
  }, label), /*#__PURE__*/React.createElement("input", {
12324
12324
  type: "range",
12325
12325
  min: min,
@@ -12666,7 +12666,7 @@ var DateRangePicker = function DateRangePicker(_ref) {
12666
12666
  var label = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"][dayIndex];
12667
12667
  return /*#__PURE__*/React.createElement("div", {
12668
12668
  key: label,
12669
- className: "p-2 text-center text-xs font-medium text-gray-500"
12669
+ className: "p-2 text-center text-xs font-medium text-primary-500"
12670
12670
  }, label);
12671
12671
  })), /*#__PURE__*/React.createElement("div", {
12672
12672
  className: "grid grid-cols-7 gap-1",
@@ -12693,7 +12693,7 @@ var DateRangePicker = function DateRangePicker(_ref) {
12693
12693
  },
12694
12694
  disabled: disabled,
12695
12695
  className: cn$1("h-8 w-8 rounded-md text-sm transition-colors focus:outline-2 focus:outline-offset-1", {
12696
- "text-gray-400": !isCurrentMonth,
12696
+ "text-primary-400": !isCurrentMonth,
12697
12697
  "bg-primary-600 text-white": isSelStart || isSelEnd,
12698
12698
  "bg-primary-100 text-primary-600": today && !(isSelStart || isSelEnd),
12699
12699
  "bg-primary-200": inRange && !(isSelStart || isSelEnd),
@@ -12725,7 +12725,7 @@ var DateRangePicker = function DateRangePicker(_ref) {
12725
12725
  }, "Today")), /*#__PURE__*/React.createElement("div", {
12726
12726
  className: "flex items-center gap-2"
12727
12727
  }, /*#__PURE__*/React.createElement("div", {
12728
- className: "text-xs text-gray-500"
12728
+ className: "text-xs text-primary-500"
12729
12729
  }, !localStart || !localEnd ? placeholder : "".concat(format(localStart, displayFormat, {
12730
12730
  locale: locale
12731
12731
  }), " \u2014 ").concat(format(localEnd, displayFormat, {
@@ -12734,7 +12734,7 @@ var DateRangePicker = function DateRangePicker(_ref) {
12734
12734
  return /*#__PURE__*/React.createElement("div", {
12735
12735
  className: "w-full"
12736
12736
  }, label && /*#__PURE__*/React.createElement("label", {
12737
- className: "block text-sm font-medium text-gray-700 mb-1"
12737
+ className: "block text-sm font-medium mb-1"
12738
12738
  }, label, required && /*#__PURE__*/React.createElement("span", {
12739
12739
  className: "text-error-500 ml-1"
12740
12740
  }, "*")), /*#__PURE__*/React.createElement("div", {
@@ -12744,7 +12744,7 @@ var DateRangePicker = function DateRangePicker(_ref) {
12744
12744
  type: "button",
12745
12745
  className: cn$1("flex w-full items-center justify-between rounded-md border border-gray-300 bg-white px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-transparent disabled:cursor-not-allowed disabled:opacity-50", {
12746
12746
  "border-error-500 focus:ring-error-500": error,
12747
- "text-gray-500": !localStart || !localEnd
12747
+ "text-primary-500": !localStart || !localEnd
12748
12748
  }, className),
12749
12749
  onClick: function onClick() {
12750
12750
  // Prevent closing the popup when a start is selected but end isn't — force user to finish range
@@ -12769,9 +12769,9 @@ var DateRangePicker = function DateRangePicker(_ref) {
12769
12769
  "aria-label": "Clear range",
12770
12770
  className: "p-1"
12771
12771
  }, /*#__PURE__*/React.createElement(X, {
12772
- className: "h-4 w-4 text-gray-400"
12772
+ className: "h-4 w-4 text-primary-400"
12773
12773
  })), /*#__PURE__*/React.createElement(Calendar, {
12774
- className: "h-4 w-4 text-gray-400"
12774
+ className: "h-4 w-4 text-primary-400"
12775
12775
  }))), isOpen && (portal ? /*#__PURE__*/ReactDOM.createPortal(calendarPopup, document.body) : calendarPopup)), error && /*#__PURE__*/React.createElement("p", {
12776
12776
  className: "mt-1 text-sm text-error-500"
12777
12777
  }, error));
@@ -12899,7 +12899,7 @@ var Loader = /*#__PURE__*/React.forwardRef(function Loader(_ref, ref) {
12899
12899
  animation: "loader-bar ".concat(speed, "s linear infinite")
12900
12900
  }
12901
12901
  })), text && /*#__PURE__*/React.createElement("span", {
12902
- className: "text-sm text-slate-500"
12902
+ className: "text-sm text-primary-500"
12903
12903
  }, text));
12904
12904
  });
12905
12905
 
@@ -13176,7 +13176,7 @@ function PriceRangePicker(_ref) {
13176
13176
  max: max,
13177
13177
  disabled: disabled
13178
13178
  })), /*#__PURE__*/React.createElement("div", {
13179
- className: "text-xs text-gray-500"
13179
+ className: "text-xs text-primary-500"
13180
13180
  }, "\u2014"), /*#__PURE__*/React.createElement("div", {
13181
13181
  className: "flex-1 flex justify-end"
13182
13182
  }, /*#__PURE__*/React.createElement("input", {
@@ -13191,7 +13191,7 @@ function PriceRangePicker(_ref) {
13191
13191
  max: max,
13192
13192
  disabled: disabled
13193
13193
  }))) : /*#__PURE__*/React.createElement("div", {
13194
- className: "text-sm text-gray-700"
13194
+ className: "text-sm"
13195
13195
  }, formatValue(isControlled ? value.min : internalMin), " - ", formatValue(isControlled ? value.max : internalMax)), presets && presets.length > 0 && /*#__PURE__*/React.createElement("div", {
13196
13196
  className: "ml-4 flex gap-2"
13197
13197
  }, presets.map(function (p) {
@@ -13247,13 +13247,13 @@ function PriceRangePicker(_ref) {
13247
13247
  zIndex: 10
13248
13248
  }
13249
13249
  }), showTooltips && isDragging && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
13250
- className: "absolute -top-9 text-xs text-gray-700 bg-white px-2 py-1 rounded-md shadow-sm border",
13250
+ className: "absolute -top-9 text-xs bg-white px-2 py-1 rounded-md shadow-sm border",
13251
13251
  style: {
13252
13252
  left: "".concat(minPercent, "%"),
13253
13253
  transform: "translateX(-50%)"
13254
13254
  }
13255
13255
  }, formatValue(isControlled ? value.min : internalMin)), /*#__PURE__*/React.createElement("div", {
13256
- className: "absolute -top-9 text-xs text-gray-700 bg-white px-2 py-1 rounded-md shadow-sm border",
13256
+ className: "absolute -top-9 text-xs bg-white px-2 py-1 rounded-md shadow-sm border",
13257
13257
  style: {
13258
13258
  left: "".concat(maxPercent, "%"),
13259
13259
  transform: "translateX(-50%)"
@@ -13373,7 +13373,7 @@ function ProgressBar(_ref) {
13373
13373
  className: "w-full ".concat(className),
13374
13374
  style: style
13375
13375
  }, /*#__PURE__*/React.createElement("style", null, "@keyframes stripeShift { 0% { background-position: 0 0; } 100% { background-position: 40px 0; } }"), label ? /*#__PURE__*/React.createElement("div", {
13376
- className: "mb-2 text-sm font-medium text-gray-700"
13376
+ className: "mb-2 text-sm font-medium"
13377
13377
  }, label) : null, /*#__PURE__*/React.createElement("div", {
13378
13378
  className: "w-full relative overflow-hidden ".concat(trackRadiusClass),
13379
13379
  style: _objectSpread$6({
@@ -14649,7 +14649,7 @@ var Radio = /*#__PURE__*/React.forwardRef(function Radio(_ref, ref) {
14649
14649
  className: cn("relative inline-flex items-center select-none gap-2", disabled ? "opacity-50 cursor-not-allowed" : "cursor-pointer", className),
14650
14650
  "aria-disabled": disabled ? "true" : undefined
14651
14651
  }, showLabelLeft && /*#__PURE__*/React.createElement("span", {
14652
- className: cn(sizeClasses.label, "leading-none", disabled && "text-slate-400")
14652
+ className: cn(sizeClasses.label, "leading-none", disabled && "text-primary-400")
14653
14653
  }, label, required ? /*#__PURE__*/React.createElement("span", {
14654
14654
  "aria-hidden": "true"
14655
14655
  }, " *") : null), /*#__PURE__*/React.createElement("input", _extends({
@@ -14682,7 +14682,7 @@ var Radio = /*#__PURE__*/React.forwardRef(function Radio(_ref, ref) {
14682
14682
  transform: isChecked ? "scale(1)" : "scale(0.7)"
14683
14683
  }
14684
14684
  }))), !showLabelLeft && label && /*#__PURE__*/React.createElement("span", {
14685
- className: cn(sizeClasses.label, "leading-none", disabled && "text-slate-400")
14685
+ className: cn(sizeClasses.label, "leading-none", disabled && "text-primary-400")
14686
14686
  }, label, required ? /*#__PURE__*/React.createElement("span", {
14687
14687
  "aria-hidden": "true"
14688
14688
  }, " *") : null));
@@ -14884,7 +14884,7 @@ function Rate(_ref3) {
14884
14884
  }, filled ? ActiveIcon : InactiveIcon);
14885
14885
  })), text ? /*#__PURE__*/React.createElement("div", {
14886
14886
  "aria-hidden": true,
14887
- className: "ml-1 text-sm text-slate-700 select-none",
14887
+ className: "ml-1 text-sm text-primary-700 select-none",
14888
14888
  style: {
14889
14889
  fontSize: Math.max(12, Math.round(size * 0.9))
14890
14890
  }
@@ -14965,7 +14965,7 @@ function RoundedTag(_ref) {
14965
14965
  }, initials));
14966
14966
  return /*#__PURE__*/React.createElement("div", {
14967
14967
  ref: wrapperRef,
14968
- className: "inline-flex items-center ".concat(paddingClass, " ").concat(gapClass, " rounded-full bg-gray-100 text-slate-800 ").concat(s.text, " ").concat(className),
14968
+ className: "inline-flex items-center ".concat(paddingClass, " ").concat(gapClass, " rounded-full bg-gray-100 text-primary-800 ").concat(s.text, " ").concat(className),
14969
14969
  role: "group",
14970
14970
  "aria-label": ariaLabel,
14971
14971
  onClick: function onClick(e) {
@@ -15463,7 +15463,7 @@ function ThreeDotPopoverSimple(_ref) {
15463
15463
  return handleItemClick(it);
15464
15464
  },
15465
15465
  disabled: it.disabled,
15466
- className: "w-full text-left px-4 py-3 flex items-center gap-3 text-sm leading-5 ".concat(it.destructive ? "text-rose-600" : "text-slate-900", " ").concat(it.disabled ? "opacity-50 cursor-not-allowed" : "hover:bg-gray-50", " ").concat(menuItemClass)
15466
+ className: "w-full text-left px-4 py-3 flex items-center gap-3 text-sm leading-5 ".concat(it.destructive ? "text-error-600" : "text-primary-900", " ").concat(it.disabled ? "opacity-50 cursor-not-allowed" : "hover:bg-gray-50", " ").concat(menuItemClass)
15467
15467
  }, Icon ? /*#__PURE__*/React.createElement(Icon, {
15468
15468
  className: "w-5 h-5"
15469
15469
  }) : /*#__PURE__*/React.createElement("span", {
@@ -16314,7 +16314,7 @@ var Sidebar = function Sidebar(_ref2) {
16314
16314
  }, /*#__PURE__*/React.createElement("div", {
16315
16315
  className: cn$1("flex items-center rounded-md px-3 py-2 text-sm font-medium transition-colors cursor-pointer", {
16316
16316
  "bg-primary-100 text-primary-700": isActive,
16317
- "text-gray-700 hover:bg-gray-100": !isActive,
16317
+ "hover:bg-gray-100": !isActive,
16318
16318
  "justify-center": effectiveCollapsed && level === 0
16319
16319
  }),
16320
16320
  onClick: function onClick() {
@@ -16424,9 +16424,9 @@ var Sidebar = function Sidebar(_ref2) {
16424
16424
  }), !effectiveCollapsed && /*#__PURE__*/React.createElement("div", {
16425
16425
  className: "ml-3 min-w-0 flex-1"
16426
16426
  }, /*#__PURE__*/React.createElement("p", {
16427
- className: "text-sm font-medium text-gray-700 truncate"
16427
+ className: "text-sm font-medium truncate"
16428
16428
  }, user.name), /*#__PURE__*/React.createElement("p", {
16429
- className: "text-xs text-gray-500 truncate"
16429
+ className: "text-xs text-primary-500 truncate"
16430
16430
  }, user.email))))));
16431
16431
  var isRight = drawerPosition === "right";
16432
16432
  var mobileDrawerClasses = cn$1("fixed top-0 z-50 h-full transition-transform duration-300 ease-in-out md:hidden", {
@@ -16553,7 +16553,7 @@ var NotificationsDropdown = function NotificationsDropdown(_ref) {
16553
16553
  // For simplicity, shows notifications in the dropdown, can be expanded
16554
16554
  return /*#__PURE__*/React.createElement(Dropdown, {
16555
16555
  trigger: /*#__PURE__*/React.createElement("button", {
16556
- className: "relative rounded-md p-2 text-gray-400 hover:text-gray-500 hover:bg-gray-100",
16556
+ className: "relative rounded-md p-2 text-primary-400 hover:text-primary-500 hover:bg-gray-100",
16557
16557
  "aria-label": "notifications"
16558
16558
  }, /*#__PURE__*/React.createElement(Bell, {
16559
16559
  className: "h-5 w-5"
@@ -16566,16 +16566,16 @@ var NotificationsDropdown = function NotificationsDropdown(_ref) {
16566
16566
  }, /*#__PURE__*/React.createElement("div", {
16567
16567
  className: "px-4 py-2 border-b border-gray-100 flex items-center justify-between"
16568
16568
  }, /*#__PURE__*/React.createElement("span", {
16569
- className: "font-medium text-gray-800 text-sm"
16569
+ className: "font-medium text-primary-800 text-sm"
16570
16570
  }, "Notifications"), /*#__PURE__*/React.createElement("button", {
16571
- className: "text-xs text-gray-400 hover:text-error-600",
16571
+ className: "text-xs text-primary-400 hover:text-error-600",
16572
16572
  onClick: function onClick() {
16573
16573
  onClearAll();
16574
16574
  setNotifications([]);
16575
16575
  },
16576
16576
  type: "button"
16577
16577
  }, "Clear all")), notifications.length === 0 ? /*#__PURE__*/React.createElement("div", {
16578
- className: "px-4 py-4 text-sm text-gray-500 text-center"
16578
+ className: "px-4 py-4 text-sm text-primary-500 text-center"
16579
16579
  }, "No notifications") : notifications.map(function (n) {
16580
16580
  return /*#__PURE__*/React.createElement("div", {
16581
16581
  key: n.id,
@@ -16588,9 +16588,9 @@ var NotificationsDropdown = function NotificationsDropdown(_ref) {
16588
16588
  }), /*#__PURE__*/React.createElement("div", {
16589
16589
  className: "flex-1"
16590
16590
  }, /*#__PURE__*/React.createElement("div", {
16591
- className: "text-sm text-gray-800"
16591
+ className: "text-sm text-primary-800"
16592
16592
  }, n.title), n.message && /*#__PURE__*/React.createElement("div", {
16593
- className: "text-xs text-gray-500"
16593
+ className: "text-xs text-primary-500"
16594
16594
  }, n.message), /*#__PURE__*/React.createElement("div", {
16595
16595
  className: "flex gap-2 mt-1"
16596
16596
  }, !n.read ? /*#__PURE__*/React.createElement("button", {
@@ -16604,7 +16604,7 @@ var NotificationsDropdown = function NotificationsDropdown(_ref) {
16604
16604
  e.stopPropagation();
16605
16605
  onMarkAsUnread();
16606
16606
  },
16607
- className: "text-xs text-gray-400 hover:underline"
16607
+ className: "text-xs text-primary-400 hover:underline"
16608
16608
  }, "Mark as Unread"), /*#__PURE__*/React.createElement("button", {
16609
16609
  onClick: function onClick(e) {
16610
16610
  e.stopPropagation();
@@ -16630,7 +16630,7 @@ var RightMenuContent = function RightMenuContent(_ref2) {
16630
16630
  }, props)));
16631
16631
  };
16632
16632
  var styledClassNames = {
16633
- button: "rounded-md p-2 text-gray-400 hover:text-gray-500 hover:bg-gray-100",
16633
+ button: "rounded-md p-2 text-primary-400 hover:text-primary-500 hover:bg-gray-100",
16634
16634
  mobileItem: "md:hidden",
16635
16635
  icon: "h-6 w-6",
16636
16636
  dropdown: "w-56 rounded-md border border-gray-200 bg-white py-1 shadow-lg"
@@ -16706,7 +16706,7 @@ var Navbar = function Navbar(_ref3) {
16706
16706
  href: item.href,
16707
16707
  className: cn$1("text-sm font-medium transition-colors", {
16708
16708
  "text-primary-600": item.active,
16709
- "text-gray-700 hover:text-primary-600": !item.active
16709
+ "hover:text-primary-600": !item.active
16710
16710
  })
16711
16711
  }, item.label) : /*#__PURE__*/React.createElement("button", {
16712
16712
  key: item.id,
@@ -16717,7 +16717,7 @@ var Navbar = function Navbar(_ref3) {
16717
16717
  },
16718
16718
  className: cn$1("block w-full text-left px-4 py-2 text-sm", {
16719
16719
  "text-primary-600": item.active,
16720
- "text-gray-700 hover:bg-gray-50": !item.active
16720
+ "hover:bg-gray-50": !item.active
16721
16721
  })
16722
16722
  }, item.label);
16723
16723
  }));
@@ -16742,7 +16742,7 @@ var Navbar = function Navbar(_ref3) {
16742
16742
  className: "flex items-center"
16743
16743
  }, leftIcon !== false && /*#__PURE__*/React.createElement("button", {
16744
16744
  onClick: onLeftIconClick,
16745
- className: "md:hidden rounded-md p-2 text-gray-400 hover:text-gray-500 hover:bg-gray-100",
16745
+ className: "md:hidden rounded-md p-2 text-primary-400 hover:text-primary-500 hover:bg-gray-100",
16746
16746
  "aria-label": "back"
16747
16747
  }, leftIcon), logo && /*#__PURE__*/React.createElement("div", {
16748
16748
  className: "ml-4 md:ml-0"
@@ -16756,7 +16756,7 @@ var Navbar = function Navbar(_ref3) {
16756
16756
  }, /*#__PURE__*/React.createElement("div", {
16757
16757
  className: "relative"
16758
16758
  }, /*#__PURE__*/React.createElement(Search, {
16759
- className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400"
16759
+ className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-primary-400"
16760
16760
  }), /*#__PURE__*/React.createElement("input", {
16761
16761
  type: "text",
16762
16762
  placeholder: "Search...",
@@ -16811,9 +16811,9 @@ var Navbar = function Navbar(_ref3) {
16811
16811
  }, /*#__PURE__*/React.createElement("div", {
16812
16812
  className: "px-4 py-2 border-b border-gray-200"
16813
16813
  }, /*#__PURE__*/React.createElement("p", {
16814
- className: "text-sm font-medium text-gray-900"
16814
+ className: "text-sm font-medium text-primary-900"
16815
16815
  }, user.name), /*#__PURE__*/React.createElement("p", {
16816
- className: "text-xs text-gray-500"
16816
+ className: "text-xs text-primary-500"
16817
16817
  }, user.email)), isMobile && /*#__PURE__*/React.createElement("div", {
16818
16818
  className: "py-1"
16819
16819
  }, renderNavItems(true)), user.menuItems && user.menuItems.length > 0 && /*#__PURE__*/React.createElement("div", {
@@ -16823,10 +16823,10 @@ var Navbar = function Navbar(_ref3) {
16823
16823
  return /*#__PURE__*/React.createElement("button", {
16824
16824
  key: mi.id,
16825
16825
  onClick: (_mi$onClick = mi === null || mi === void 0 || (_mi$onClick2 = mi.onClick) === null || _mi$onClick2 === void 0 ? void 0 : _mi$onClick2.call(mi)) !== null && _mi$onClick !== void 0 ? _mi$onClick : function () {},
16826
- className: "block w-full px-4 py-2 text-left text-sm text-gray-700 hover:bg-gray-100"
16826
+ className: "block w-full px-4 py-2 text-left text-sm hover:bg-gray-100"
16827
16827
  }, mi.label);
16828
16828
  }))))))), isMobileMenuOpen && !user && /*#__PURE__*/React.createElement("div", {
16829
- className: "md:hidden"
16829
+ className: "md:hidden h-full"
16830
16830
  }, /*#__PURE__*/React.createElement("div", {
16831
16831
  className: "space-y-1 border-t border-gray-200 px-2 pt-4 pb-3"
16832
16832
  }, items.map(function (item) {
@@ -16835,7 +16835,7 @@ var Navbar = function Navbar(_ref3) {
16835
16835
  href: item.href,
16836
16836
  className: cn$1("block rounded-md px-3 py-2 text-base font-medium", {
16837
16837
  "bg-primary-50 text-primary-700": item.active,
16838
- "text-gray-700 hover:bg-gray-50": !item.active
16838
+ "hover:bg-gray-50": !item.active
16839
16839
  })
16840
16840
  }, item.label);
16841
16841
  }))));
@@ -16866,7 +16866,7 @@ var FootNav = function FootNav(_ref) {
16866
16866
  key: item.id,
16867
16867
  className: cn$1('flex flex-col items-center space-y-1 rounded-md px-3 py-2 text-xs font-medium transition-colors', {
16868
16868
  'text-primary-600': item.active,
16869
- 'text-gray-500 hover:text-gray-700': !item.active
16869
+ 'text-primary-500': !item.active
16870
16870
  }),
16871
16871
  onClick: function onClick() {
16872
16872
  var _item$onClick;
@@ -16911,16 +16911,16 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
16911
16911
  return /*#__PURE__*/React.createElement(React.Fragment, {
16912
16912
  key: item.id
16913
16913
  }, index > 0 && /*#__PURE__*/React.createElement("span", {
16914
- className: "text-gray-400",
16914
+ className: "text-primary-400",
16915
16915
  "aria-hidden": "true"
16916
16916
  }, separator), index === allItems.length - 1 ? /*#__PURE__*/React.createElement("span", {
16917
- className: "font-medium text-gray-900",
16917
+ className: "font-medium text-primary-900",
16918
16918
  "aria-current": "page"
16919
16919
  }, item.icon && /*#__PURE__*/React.createElement("span", {
16920
16920
  className: "mr-1"
16921
16921
  }, item.icon), item.label) : /*#__PURE__*/React.createElement("a", {
16922
16922
  href: item.href,
16923
- className: "flex items-center text-gray-500 hover:text-gray-700 transition-colors",
16923
+ className: "flex items-center text-primary-500 transition-colors",
16924
16924
  onClick: function onClick(e) {
16925
16925
  if (item.onClick) {
16926
16926
  e.preventDefault();
@@ -17008,10 +17008,10 @@ var Dialog = function Dialog(_ref) {
17008
17008
  className: "flex items-center justify-between border-b border-gray-200 px-6 py-4"
17009
17009
  }, title && /*#__PURE__*/React.createElement("h2", {
17010
17010
  id: "dialog-title",
17011
- className: "text-lg font-semibold text-gray-900"
17011
+ className: "text-lg font-semibold text-primary-900"
17012
17012
  }, title), showCloseButton && /*#__PURE__*/React.createElement("button", {
17013
17013
  type: "button",
17014
- className: "rounded-md p-1 text-gray-400 hover:text-gray-600 hover:bg-gray-100",
17014
+ className: "rounded-md p-1 text-primary-400 hover:text-primary-600 hover:bg-gray-100",
17015
17015
  onClick: onClose,
17016
17016
  "aria-label": "Close dialog"
17017
17017
  }, /*#__PURE__*/React.createElement(X, {
@@ -17116,12 +17116,12 @@ var Toast = function Toast(_ref) {
17116
17116
  }, icons[type]), /*#__PURE__*/React.createElement("div", {
17117
17117
  className: "ml-3 flex-1"
17118
17118
  }, title && /*#__PURE__*/React.createElement("h4", {
17119
- className: "text-sm font-medium text-gray-900"
17119
+ className: "text-sm font-medium text-primary-900"
17120
17120
  }, title), message && /*#__PURE__*/React.createElement("p", {
17121
- className: "mt-1 text-sm text-gray-600"
17121
+ className: "mt-1 text-sm text-primary-600"
17122
17122
  }, message)), /*#__PURE__*/React.createElement("button", {
17123
17123
  type: "button",
17124
- className: "ml-4 flex-shrink-0 rounded-md p-1 text-gray-400 hover:text-gray-600 hover:bg-gray-100",
17124
+ className: "ml-4 flex-shrink-0 rounded-md p-1 text-primary-400 hover:text-primary-600 hover:bg-gray-100",
17125
17125
  onClick: handleClose
17126
17126
  }, /*#__PURE__*/React.createElement(X, {
17127
17127
  className: "h-4 w-4"
@@ -17295,13 +17295,13 @@ var Badge = function Badge(_ref) {
17295
17295
  className = _ref.className,
17296
17296
  props = _objectWithoutProperties$1(_ref, _excluded$5);
17297
17297
  var variants = {
17298
- "default": 'bg-gray-100 text-gray-800',
17298
+ "default": 'bg-gray-100 text-primary-800',
17299
17299
  primary: 'bg-primary-100 text-primary-800',
17300
17300
  secondary: 'bg-secondary-100 text-secondary-800',
17301
17301
  success: 'bg-success-100 text-success-800',
17302
17302
  warning: 'bg-warning-100 text-warning-800',
17303
17303
  error: 'bg-error-100 text-error-800',
17304
- outline: 'border border-gray-300 text-gray-700'
17304
+ outline: 'border border-gray-300'
17305
17305
  };
17306
17306
  var sizes = {
17307
17307
  sm: 'px-2 py-0.5 text-xs',
@@ -17359,7 +17359,7 @@ var Avatar = function Avatar(_ref) {
17359
17359
  return /*#__PURE__*/React.createElement("div", {
17360
17360
  className: "relative inline-block"
17361
17361
  }, /*#__PURE__*/React.createElement("div", _extends({
17362
- className: cn$1('flex items-center justify-center bg-gray-100 text-gray-600 font-medium', sizes[size], {
17362
+ className: cn$1('flex items-center justify-center bg-gray-100 text-primary-600 font-medium', sizes[size], {
17363
17363
  'rounded-full': shape === 'circle',
17364
17364
  'rounded-md': shape === 'square',
17365
17365
  'rounded-lg': shape === 'rounded'
@@ -17422,7 +17422,7 @@ var CardTitle = function CardTitle(_ref3) {
17422
17422
  className = _ref3.className,
17423
17423
  props = _objectWithoutProperties$1(_ref3, _excluded3);
17424
17424
  return /*#__PURE__*/React.createElement("h3", _extends({
17425
- className: cn$1('text-lg font-semibold text-gray-900', className)
17425
+ className: cn$1('text-lg font-semibold text-primary-900', className)
17426
17426
  }, props), children);
17427
17427
  };
17428
17428
  var CardDescription = function CardDescription(_ref4) {
@@ -17430,7 +17430,7 @@ var CardDescription = function CardDescription(_ref4) {
17430
17430
  className = _ref4.className,
17431
17431
  props = _objectWithoutProperties$1(_ref4, _excluded4);
17432
17432
  return /*#__PURE__*/React.createElement("p", _extends({
17433
- className: cn$1('text-sm text-gray-600', className)
17433
+ className: cn$1('text-sm text-primary-600', className)
17434
17434
  }, props), children);
17435
17435
  };
17436
17436
  var CardContent = function CardContent(_ref5) {
@@ -17500,13 +17500,13 @@ var Pagination = function Pagination(_ref) {
17500
17500
  className: cn$1('flex items-center justify-center space-x-1', className),
17501
17501
  "aria-label": "Pagination"
17502
17502
  }, props), showFirstLast && currentPage > 1 && /*#__PURE__*/React.createElement("button", {
17503
- className: "rounded-md border border-gray-300 bg-white px-3 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2",
17503
+ className: "rounded-md border border-gray-300 bg-white px-3 py-2 text-sm font-medium hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2",
17504
17504
  onClick: function onClick() {
17505
17505
  return handlePageClick(1);
17506
17506
  },
17507
17507
  "aria-label": "Go to first page"
17508
17508
  }, "1"), showPrevNext && /*#__PURE__*/React.createElement("button", {
17509
- className: "rounded-md border border-gray-300 bg-white px-3 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed",
17509
+ className: "rounded-md border border-gray-300 bg-white px-3 py-2 text-sm font-medium hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed",
17510
17510
  onClick: function onClick() {
17511
17511
  return handlePageClick(currentPage - 1);
17512
17512
  },
@@ -17515,13 +17515,13 @@ var Pagination = function Pagination(_ref) {
17515
17515
  }, /*#__PURE__*/React.createElement(ChevronLeft, {
17516
17516
  className: "h-4 w-4"
17517
17517
  })), showFirstLast && visiblePages[0] > 2 && /*#__PURE__*/React.createElement("span", {
17518
- className: "px-3 py-2 text-sm text-gray-500"
17518
+ className: "px-3 py-2 text-sm text-primary-500"
17519
17519
  }, "..."), visiblePages.map(function (page) {
17520
17520
  return /*#__PURE__*/React.createElement("button", {
17521
17521
  key: page,
17522
17522
  className: cn$1('rounded-md border px-3 py-2 text-sm font-medium focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2', {
17523
17523
  'border-primary-500 bg-primary-50 text-primary-600': page === currentPage,
17524
- 'border-gray-300 bg-white text-gray-700 hover:bg-gray-50': page !== currentPage
17524
+ 'border-gray-300 bg-white hover:bg-gray-50': page !== currentPage
17525
17525
  }),
17526
17526
  onClick: function onClick() {
17527
17527
  return handlePageClick(page);
@@ -17530,9 +17530,9 @@ var Pagination = function Pagination(_ref) {
17530
17530
  "aria-current": page === currentPage ? 'page' : undefined
17531
17531
  }, page);
17532
17532
  }), showFirstLast && visiblePages[visiblePages.length - 1] < totalPages - 1 && /*#__PURE__*/React.createElement("span", {
17533
- className: "px-3 py-2 text-sm text-gray-500"
17533
+ className: "px-3 py-2 text-sm text-primary-500"
17534
17534
  }, "..."), showPrevNext && /*#__PURE__*/React.createElement("button", {
17535
- className: "rounded-md border border-gray-300 bg-white px-3 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed",
17535
+ className: "rounded-md border border-gray-300 bg-white px-3 py-2 text-sm font-medium hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed",
17536
17536
  onClick: function onClick() {
17537
17537
  return handlePageClick(currentPage + 1);
17538
17538
  },
@@ -17541,7 +17541,7 @@ var Pagination = function Pagination(_ref) {
17541
17541
  }, /*#__PURE__*/React.createElement(ChevronRight, {
17542
17542
  className: "h-4 w-4"
17543
17543
  })), showFirstLast && currentPage < totalPages && /*#__PURE__*/React.createElement("button", {
17544
- className: "rounded-md border border-gray-300 bg-white px-3 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2",
17544
+ className: "rounded-md border border-gray-300 bg-white px-3 py-2 text-sm font-medium hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2",
17545
17545
  onClick: function onClick() {
17546
17546
  return handlePageClick(totalPages);
17547
17547
  },
@@ -17578,9 +17578,9 @@ var Stepper = function Stepper(_ref) {
17578
17578
  text: 'text-primary-600'
17579
17579
  },
17580
17580
  upcoming: {
17581
- circle: 'bg-gray-300 text-gray-500',
17581
+ circle: 'bg-gray-300 text-primary-500',
17582
17582
  line: 'bg-gray-300',
17583
- text: 'text-gray-500'
17583
+ text: 'text-primary-500'
17584
17584
  }
17585
17585
  };
17586
17586
  return /*#__PURE__*/React.createElement("nav", _extends({
@@ -17628,7 +17628,7 @@ var Stepper = function Stepper(_ref) {
17628
17628
  }, /*#__PURE__*/React.createElement("span", {
17629
17629
  className: cn$1('text-sm font-medium', colors.text)
17630
17630
  }, step.title), step.description && /*#__PURE__*/React.createElement("span", {
17631
- className: "text-xs text-gray-500"
17631
+ className: "text-xs text-primary-500"
17632
17632
  }, step.description)));
17633
17633
  }));
17634
17634
  };
@@ -17674,16 +17674,16 @@ var FileUpload = function FileUpload(_ref) {
17674
17674
  var getFileIcon = function getFileIcon(file) {
17675
17675
  if (file.type.startsWith('image/')) {
17676
17676
  return /*#__PURE__*/React.createElement(Image, {
17677
- className: "h-8 w-8 text-blue-500"
17677
+ className: "h-8 w-8 text-primary-500"
17678
17678
  });
17679
17679
  }
17680
17680
  if (file.type.includes('text') || file.type.includes('document')) {
17681
17681
  return /*#__PURE__*/React.createElement(FileText, {
17682
- className: "h-8 w-8 text-green-500"
17682
+ className: "h-8 w-8 text-success-500"
17683
17683
  });
17684
17684
  }
17685
17685
  return /*#__PURE__*/React.createElement(File, {
17686
- className: "h-8 w-8 text-gray-500"
17686
+ className: "h-8 w-8 text-primary-500"
17687
17687
  });
17688
17688
  };
17689
17689
  var handleFiles = React.useCallback(function (newFiles) {
@@ -17748,17 +17748,17 @@ var FileUpload = function FileUpload(_ref) {
17748
17748
  }), /*#__PURE__*/React.createElement(Upload, {
17749
17749
  className: cn$1('mx-auto h-12 w-12', {
17750
17750
  'text-primary-500': !disabled,
17751
- 'text-gray-400': disabled
17751
+ 'text-primary-400': disabled
17752
17752
  })
17753
17753
  }), /*#__PURE__*/React.createElement("div", {
17754
17754
  className: "mt-4"
17755
17755
  }, /*#__PURE__*/React.createElement("p", {
17756
17756
  className: cn$1('text-sm font-medium', {
17757
- 'text-gray-900': !disabled,
17758
- 'text-gray-500': disabled
17757
+ 'text-primary-900': !disabled,
17758
+ 'text-primary-500': disabled
17759
17759
  })
17760
17760
  }, isDragOver ? 'Drop files here' : 'Click to upload or drag and drop'), /*#__PURE__*/React.createElement("p", {
17761
- className: "text-xs text-gray-500 mt-1"
17761
+ className: "text-xs text-primary-500 mt-1"
17762
17762
  }, accept && "Accepted formats: ".concat(accept), maxSize && " \u2022 Max size: ".concat(formatFileSize(maxSize))))), error && /*#__PURE__*/React.createElement("p", {
17763
17763
  className: "mt-2 text-sm text-error-500"
17764
17764
  }, error), files.length > 0 && /*#__PURE__*/React.createElement("div", {
@@ -17770,12 +17770,12 @@ var FileUpload = function FileUpload(_ref) {
17770
17770
  }, /*#__PURE__*/React.createElement("div", {
17771
17771
  className: "flex items-center space-x-3"
17772
17772
  }, getFileIcon(file), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("p", {
17773
- className: "text-sm font-medium text-gray-900"
17773
+ className: "text-sm font-medium text-primary-900"
17774
17774
  }, file.name), /*#__PURE__*/React.createElement("p", {
17775
- className: "text-xs text-gray-500"
17775
+ className: "text-xs text-primary-500"
17776
17776
  }, formatFileSize(file.size)))), /*#__PURE__*/React.createElement("button", {
17777
17777
  type: "button",
17778
- className: "rounded-md p-1 text-gray-400 hover:text-gray-600 hover:bg-gray-100",
17778
+ className: "rounded-md p-1 text-primary-400 hover:text-primary-600 hover:bg-gray-100",
17779
17779
  onClick: function onClick() {
17780
17780
  return handleRemoveFile(index);
17781
17781
  },