@dreamtree-org/twreact-ui 1.1.18 → 1.1.20

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.esm.js CHANGED
@@ -3189,15 +3189,15 @@ var Input = /*#__PURE__*/forwardRef(function (props, forwardedRef) {
3189
3189
  htmlFor: inputId,
3190
3190
  className: "block text-sm font-medium mb-1"
3191
3191
  }, label, required && /*#__PURE__*/React__default.createElement("span", {
3192
- className: "text-red-500 ml-1"
3192
+ className: "text-error-500 ml-1"
3193
3193
  }, "*")), /*#__PURE__*/React__default.createElement("div", {
3194
3194
  className: "relative"
3195
3195
  }, leftHasIcon && /*#__PURE__*/React__default.createElement("div", {
3196
3196
  className: "absolute left-3 top-1/2 transform -translate-y-1/2 pointer-events-none"
3197
3197
  }, isSearch ? /*#__PURE__*/React__default.createElement(Search, {
3198
- className: "h-4 w-4 text-gray-400"
3198
+ className: "h-4 w-4 text-primary-400"
3199
3199
  }) : /*#__PURE__*/React__default.createElement("span", {
3200
- className: "text-gray-400"
3200
+ className: "text-primary-400"
3201
3201
  }, icon)), /*#__PURE__*/React__default.createElement("input", _extends({
3202
3202
  id: inputId,
3203
3203
  ref: ref,
@@ -3213,10 +3213,10 @@ var Input = /*#__PURE__*/forwardRef(function (props, forwardedRef) {
3213
3213
  value: value,
3214
3214
  defaultValue: defaultValue
3215
3215
  }, rest)), icon && iconPosition === "right" && !isPassword && !(clearable && currentLength > 0) && /*#__PURE__*/React__default.createElement("div", {
3216
- className: "absolute right-3 top-1/2 transform -translate-y-1/2 pointer-events-none text-gray-400"
3216
+ className: "absolute right-3 top-1/2 transform -translate-y-1/2 pointer-events-none text-primary-400"
3217
3217
  }, icon), isPassword && /*#__PURE__*/React__default.createElement("button", {
3218
3218
  type: "button",
3219
- className: "absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-500",
3219
+ className: "absolute right-3 top-1/2 transform -translate-y-1/2 text-primary-500",
3220
3220
  onClick: function onClick() {
3221
3221
  return setShowPassword(function (s) {
3222
3222
  return !s;
@@ -3230,7 +3230,7 @@ var Input = /*#__PURE__*/forwardRef(function (props, forwardedRef) {
3230
3230
  className: "h-4 w-4"
3231
3231
  })), clearable && currentLength > 0 && !isPassword && /*#__PURE__*/React__default.createElement("button", {
3232
3232
  type: "button",
3233
- className: "absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-500",
3233
+ className: "absolute right-3 top-1/2 transform -translate-y-1/2 text-primary-500",
3234
3234
  onClick: handleClear,
3235
3235
  "aria-label": "Clear input",
3236
3236
  disabled: disabled
@@ -3238,14 +3238,14 @@ var Input = /*#__PURE__*/forwardRef(function (props, forwardedRef) {
3238
3238
  className: "h-4 w-4"
3239
3239
  }))), error && /*#__PURE__*/React__default.createElement("p", {
3240
3240
  id: "".concat(inputId, "-error"),
3241
- className: "mt-1 text-sm text-red-600",
3241
+ className: "mt-1 text-sm text-error-600",
3242
3242
  "aria-live": "polite"
3243
3243
  }, error), !error && success && /*#__PURE__*/React__default.createElement("p", {
3244
3244
  id: "".concat(inputId, "-success"),
3245
- className: "mt-1 text-sm text-green-600",
3245
+ className: "mt-1 text-sm text-success-600",
3246
3246
  "aria-live": "polite"
3247
3247
  }, success), showCount && maxLength && /*#__PURE__*/React__default.createElement("div", {
3248
- className: "mt-1 text-right text-xs text-gray-500",
3248
+ className: "mt-1 text-right text-xs text-primary-500",
3249
3249
  "aria-hidden": true
3250
3250
  }, currentLength, "/", maxLength));
3251
3251
  });
@@ -3697,7 +3697,7 @@ var Select = /*#__PURE__*/React__default.forwardRef(function (_ref, forwardedRef
3697
3697
  className: "truncate max-w-[6rem]"
3698
3698
  }, opt.label));
3699
3699
  })), /*#__PURE__*/React__default.createElement("div", {
3700
- className: "text-xs text-gray-500"
3700
+ className: "text-xs text-primary-500"
3701
3701
  }, "+", rest));
3702
3702
  }
3703
3703
  return ((_selectedOptions$ = selectedOptions[0]) === null || _selectedOptions$ === void 0 ? void 0 : _selectedOptions$.label) || placeholder;
@@ -3718,7 +3718,7 @@ var Select = /*#__PURE__*/React__default.forwardRef(function (_ref, forwardedRef
3718
3718
  });
3719
3719
  }
3720
3720
  }, /*#__PURE__*/React__default.createElement(ChevronDown, {
3721
- className: cn$1("h-4 w-4 text-gray-400 transition-transform", {
3721
+ className: cn$1("h-4 w-4 text-primary-400 transition-transform", {
3722
3722
  "rotate-180": collapsedGroups[group.label]
3723
3723
  })
3724
3724
  }))), !collapsedGroups[group.label] && /*#__PURE__*/React__default.createElement("div", {
@@ -3752,7 +3752,7 @@ var Select = /*#__PURE__*/React__default.forwardRef(function (_ref, forwardedRef
3752
3752
  return /*#__PURE__*/React__default.createElement("div", null, loading ? /*#__PURE__*/React__default.createElement("div", {
3753
3753
  className: "px-3 py-2 text-sm"
3754
3754
  }, "Loading...") : Array.isArray(filtered) && filtered.length === 0 ? /*#__PURE__*/React__default.createElement("div", {
3755
- className: "px-3 py-2 text-sm text-gray-500"
3755
+ className: "px-3 py-2 text-sm text-primary-500"
3756
3756
  }, "No options found") : (grouped ? flattenGroups(filtered) : filtered).map(function (option, index) {
3757
3757
  return /*#__PURE__*/React__default.createElement("div", {
3758
3758
  key: option.value,
@@ -3800,7 +3800,7 @@ var Select = /*#__PURE__*/React__default.forwardRef(function (_ref, forwardedRef
3800
3800
  "aria-labelledby": "select-label",
3801
3801
  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", {
3802
3802
  "border-error-500 focus:ring-error-500": error,
3803
- "text-gray-500": !selectedOptions.length
3803
+ "text-primary-500": !selectedOptions.length
3804
3804
  }, className),
3805
3805
  onClick: function onClick() {
3806
3806
  if (!disabled) {
@@ -3827,7 +3827,7 @@ var Select = /*#__PURE__*/React__default.forwardRef(function (_ref, forwardedRef
3827
3827
  }, /*#__PURE__*/React__default.createElement(X, {
3828
3828
  className: "h-4 w-4"
3829
3829
  })), /*#__PURE__*/React__default.createElement(ChevronDown, {
3830
- className: cn$1("h-4 w-4 text-gray-400 transition-transform", {
3830
+ className: cn$1("h-4 w-4 text-primary-400 transition-transform", {
3831
3831
  "rotate-180": isOpen
3832
3832
  })
3833
3833
  }))), name && (multiSelect ?
@@ -3891,7 +3891,7 @@ var Select = /*#__PURE__*/React__default.forwardRef(function (_ref, forwardedRef
3891
3891
  },
3892
3892
  "aria-label": "Search options"
3893
3893
  }), /*#__PURE__*/React__default.createElement(Search, {
3894
- className: "absolute right-2 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400"
3894
+ className: "absolute right-2 top-1/2 h-4 w-4 -translate-y-1/2 text-primary-400"
3895
3895
  }))), /*#__PURE__*/React__default.createElement("div", {
3896
3896
  className: "overflow-auto",
3897
3897
  role: "listbox",
@@ -3983,7 +3983,7 @@ function PaginationHeader(_ref) {
3983
3983
  },
3984
3984
  "aria-label": "First page"
3985
3985
  }, /*#__PURE__*/React__default.createElement(ChevronsLeft, {
3986
- className: "size-4 md:size-5 text-gray-800"
3986
+ className: "size-4 md:size-5 text-primary-800"
3987
3987
  })), /*#__PURE__*/React__default.createElement("button", {
3988
3988
  className: cn$1("rounded-lg md:rounded-md border border-gray-300 p-2 disabled:opacity-50", ["hover:" + theme.rowHover]),
3989
3989
  disabled: currentPage === 1,
@@ -3992,7 +3992,7 @@ function PaginationHeader(_ref) {
3992
3992
  },
3993
3993
  "aria-label": "Previous page"
3994
3994
  }, /*#__PURE__*/React__default.createElement(ChevronLeft, {
3995
- className: "size-4 md:size-5 text-gray-800"
3995
+ className: "size-4 md:size-5 text-primary-800"
3996
3996
  })), /*#__PURE__*/React__default.createElement("button", {
3997
3997
  className: cn$1("rounded-lg md:rounded-md border border-gray-300 p-2 disabled:opacity-50", ["hover:" + theme.rowHover]),
3998
3998
  disabled: currentPage === totalPages,
@@ -4001,7 +4001,7 @@ function PaginationHeader(_ref) {
4001
4001
  },
4002
4002
  "aria-label": "Next page"
4003
4003
  }, /*#__PURE__*/React__default.createElement(ChevronRight, {
4004
- className: "size-4 md:size-5 text-gray-800"
4004
+ className: "size-4 md:size-5 text-primary-800"
4005
4005
  })), totalPages >= 4 && /*#__PURE__*/React__default.createElement("button", {
4006
4006
  className: cn$1("rounded-lg md:rounded-md border border-gray-300 p-2 disabled:opacity-50", ["hover:" + theme.rowHover]),
4007
4007
  disabled: currentPage === totalPages,
@@ -4010,7 +4010,7 @@ function PaginationHeader(_ref) {
4010
4010
  },
4011
4011
  "aria-label": "Last page"
4012
4012
  }, /*#__PURE__*/React__default.createElement(ChevronsRight, {
4013
- className: "size-4 md:size-5 text-gray-800"
4013
+ className: "size-4 md:size-5 text-primary-800"
4014
4014
  })));
4015
4015
  }
4016
4016
 
@@ -4038,7 +4038,7 @@ function PaginationFooter(_ref2) {
4038
4038
  },
4039
4039
  "aria-label": "First page"
4040
4040
  }, isMobileView ? /*#__PURE__*/React__default.createElement(ChevronsLeft, {
4041
- className: "size-4 text-gray-800"
4041
+ className: "size-4 text-primary-800"
4042
4042
  }) : "First"), /*#__PURE__*/React__default.createElement("button", {
4043
4043
  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]),
4044
4044
  disabled: currentPage === 1,
@@ -4047,7 +4047,7 @@ function PaginationFooter(_ref2) {
4047
4047
  },
4048
4048
  "aria-label": "Previous page"
4049
4049
  }, isMobileView ? /*#__PURE__*/React__default.createElement(ChevronLeft, {
4050
- className: "size-4 text-gray-800"
4050
+ className: "size-4 text-primary-800"
4051
4051
  }) : "Previous"), /*#__PURE__*/React__default.createElement("div", {
4052
4052
  className: "flex items-center gap-1"
4053
4053
  }, Array.from({
@@ -4081,7 +4081,7 @@ function PaginationFooter(_ref2) {
4081
4081
  },
4082
4082
  "aria-label": "Next page"
4083
4083
  }, isMobileView ? /*#__PURE__*/React__default.createElement(ChevronRight, {
4084
- className: "size-4 text-gray-800"
4084
+ className: "size-4 text-primary-800"
4085
4085
  }) : "Next"), totalPages >= 4 && /*#__PURE__*/React__default.createElement("button", {
4086
4086
  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]),
4087
4087
  disabled: currentPage === totalPages,
@@ -4090,7 +4090,7 @@ function PaginationFooter(_ref2) {
4090
4090
  },
4091
4091
  "aria-label": "Last page"
4092
4092
  }, isMobileView ? /*#__PURE__*/React__default.createElement(ChevronsRight, {
4093
- className: "size-4 text-gray-800"
4093
+ className: "size-4 text-primary-800"
4094
4094
  }) : "Last"))));
4095
4095
  }
4096
4096
 
@@ -4157,7 +4157,7 @@ function MobileFilters(_ref) {
4157
4157
  return !s;
4158
4158
  });
4159
4159
  },
4160
- className: "text-xs text-gray-500"
4160
+ className: "text-xs text-primary-500"
4161
4161
  }, showMobileFilters ? "Hide" : "Show")), showMobileFilters && /*#__PURE__*/React__default.createElement("div", {
4162
4162
  className: "space-y-3"
4163
4163
  }, globalSearch && /*#__PURE__*/React__default.createElement("div", {
@@ -4172,7 +4172,7 @@ function MobileFilters(_ref) {
4172
4172
  },
4173
4173
  onKeyDown: onGlobalKeyDown
4174
4174
  }), /*#__PURE__*/React__default.createElement(Search, {
4175
- className: "absolute right-3 top-2.5 h-4 w-4 text-gray-400"
4175
+ className: "absolute right-3 top-2.5 h-4 w-4 text-primary-400"
4176
4176
  })), filterable && visibleColumns.map(function (column) {
4177
4177
  return /*#__PURE__*/React__default.createElement("div", {
4178
4178
  key: column.key
@@ -4327,7 +4327,7 @@ function ActionMenu(_ref) {
4327
4327
  }, /*#__PURE__*/React__default.createElement("div", {
4328
4328
  className: "p-1"
4329
4329
  }, !Array.isArray(actions) || actions.length === 0 ? /*#__PURE__*/React__default.createElement("div", {
4330
- className: "px-3 py-2 text-sm text-gray-500"
4330
+ className: "px-3 py-2 text-sm text-primary-500"
4331
4331
  }, "No actions") : actions.map(function (action) {
4332
4332
  return /*#__PURE__*/React__default.createElement("div", {
4333
4333
  key: action.name,
@@ -4605,9 +4605,9 @@ function MobileCard(_ref) {
4605
4605
  key: column.key,
4606
4606
  className: cn$1("flex justify-between items-center flex-row py-2 border-b last:border-b-0", safeExtraCellClass)
4607
4607
  }, /*#__PURE__*/React__default.createElement("div", {
4608
- className: "text-xs font-medium text-gray-500 uppercase tracking-wide mb-1 sm:mb-0 sm:w-1/3 sm:pr-2"
4608
+ className: "text-xs font-medium text-primary-500 uppercase tracking-wide mb-1 sm:mb-0 sm:w-1/3 sm:pr-2"
4609
4609
  }, column.label), /*#__PURE__*/React__default.createElement("div", {
4610
- className: "text-sm text-gray-900 sm:w-2/3 sm:pl-2 break-words"
4610
+ className: "text-sm text-primary-900 sm:w-2/3 sm:pl-2 break-words"
4611
4611
  }, renderCell(column, row, globalIndex)));
4612
4612
  })), hasDetails && isExpanded && DetailsComponent && /*#__PURE__*/React__default.createElement("div", {
4613
4613
  className: "border-t bg-gray-50 p-4"
@@ -5152,7 +5152,7 @@ var Table = function Table(_ref) {
5152
5152
  className: "absolute right-2 top-1/2 transform -translate-y-1/2 p-2 rounded-lg hover:bg-gray-100",
5153
5153
  title: "Search"
5154
5154
  }, /*#__PURE__*/React__default.createElement(Search, {
5155
- className: "h-4 w-4 text-gray-400"
5155
+ className: "h-4 w-4 text-primary-400"
5156
5156
  }))), /*#__PURE__*/React__default.createElement("button", {
5157
5157
  onClick: function onClick() {
5158
5158
  setSearchInput("");
@@ -5183,7 +5183,7 @@ var Table = function Table(_ref) {
5183
5183
  }, /*#__PURE__*/React__default.createElement("tr", null, hasDetails && /*#__PURE__*/React__default.createElement("th", {
5184
5184
  className: "w-8 px-4 py-3"
5185
5185
  }), showSerial && /*#__PURE__*/React__default.createElement("th", {
5186
- className: "w-8 px-4 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"
5186
+ className: "w-8 px-4 py-3 text-left text-xs font-medium text-primary-500 uppercase tracking-wider"
5187
5187
  }, "#"), selectable && /*#__PURE__*/React__default.createElement("th", {
5188
5188
  className: "w-12 px-6 py-3"
5189
5189
  }, /*#__PURE__*/React__default.createElement("input", {
@@ -5194,7 +5194,7 @@ var Table = function Table(_ref) {
5194
5194
  })), visibleColumns.map(function (column) {
5195
5195
  return /*#__PURE__*/React__default.createElement("th", {
5196
5196
  key: column.key,
5197
- className: cn$1("px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider", {
5197
+ className: cn$1("px-6 py-3 text-left text-xs font-medium text-primary-500 uppercase tracking-wider", {
5198
5198
  "cursor-pointer hover:bg-gray-100": sortable && column.sortable !== false
5199
5199
  }),
5200
5200
  onClick: function onClick() {
@@ -5264,18 +5264,18 @@ var Table = function Table(_ref) {
5264
5264
  }, /*#__PURE__*/React__default.createElement("div", {
5265
5265
  className: "h-6 w-6 animate-spin rounded-full border-2 border-primary-600 border-t-transparent"
5266
5266
  }), /*#__PURE__*/React__default.createElement("span", {
5267
- className: "text-sm text-gray-500"
5267
+ className: "text-sm text-primary-500"
5268
5268
  }, "Loading...")))) : paginatedData.length === 0 ? /*#__PURE__*/React__default.createElement("tr", null, /*#__PURE__*/React__default.createElement("td", {
5269
5269
  colSpan: visibleCount,
5270
5270
  className: "px-6 py-8 text-center"
5271
5271
  }, /*#__PURE__*/React__default.createElement("div", {
5272
5272
  className: "flex flex-col items-center gap-2"
5273
5273
  }, /*#__PURE__*/React__default.createElement("div", {
5274
- className: "text-gray-400"
5274
+ className: "text-primary-400"
5275
5275
  }, /*#__PURE__*/React__default.createElement(List, {
5276
5276
  className: "h-8 w-8"
5277
5277
  })), /*#__PURE__*/React__default.createElement("span", {
5278
- className: "text-sm text-gray-500"
5278
+ className: "text-sm text-primary-500"
5279
5279
  }, "No results found.")))) : paginatedData.map(function (row, rowIndexInPage) {
5280
5280
  return /*#__PURE__*/React__default.createElement(TableRow, _extends({
5281
5281
  key: getRowKey(row, startIndex + rowIndexInPage),
@@ -5293,17 +5293,17 @@ var Table = function Table(_ref) {
5293
5293
  }, /*#__PURE__*/React__default.createElement("div", {
5294
5294
  className: "h-6 w-6 animate-spin rounded-full border-2 border-primary-600 border-t-transparent"
5295
5295
  }), /*#__PURE__*/React__default.createElement("span", {
5296
- className: "text-sm text-gray-500"
5296
+ className: "text-sm text-primary-500"
5297
5297
  }, "Loading..."))) : paginatedData.length === 0 ? /*#__PURE__*/React__default.createElement("div", {
5298
5298
  className: "py-8 text-center"
5299
5299
  }, /*#__PURE__*/React__default.createElement("div", {
5300
5300
  className: "flex flex-col items-center gap-2"
5301
5301
  }, /*#__PURE__*/React__default.createElement("div", {
5302
- className: "text-gray-400"
5302
+ className: "text-primary-400"
5303
5303
  }, /*#__PURE__*/React__default.createElement(List, {
5304
5304
  className: "h-8 w-8"
5305
5305
  })), /*#__PURE__*/React__default.createElement("span", {
5306
- className: "text-sm text-gray-500"
5306
+ className: "text-sm text-primary-500"
5307
5307
  }, "No results found."))) : paginatedData.map(function (row, rowIndexInPage) {
5308
5308
  return /*#__PURE__*/React__default.createElement(MobileCard, _extends({
5309
5309
  key: getRowKey(row, startIndex + rowIndexInPage),
@@ -10980,7 +10980,7 @@ var DatePicker = /*#__PURE__*/React__default.forwardRef(function (_ref, forwarde
10980
10980
  var label = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"][dayIndex];
10981
10981
  return /*#__PURE__*/React__default.createElement("div", {
10982
10982
  key: label,
10983
- className: "p-2 text-center text-xs font-medium text-gray-500"
10983
+ className: "p-2 text-center text-xs font-medium text-primary-500"
10984
10984
  }, label);
10985
10985
  })), /*#__PURE__*/React__default.createElement("div", {
10986
10986
  className: "grid grid-cols-7 gap-1",
@@ -11003,7 +11003,7 @@ var DatePicker = /*#__PURE__*/React__default.forwardRef(function (_ref, forwarde
11003
11003
  return handleGridKeyDown(e, idx);
11004
11004
  },
11005
11005
  className: cn$1("h-8 w-8 rounded-md text-sm transition-colors focus:outline-2 focus:outline-offset-1", {
11006
- "text-gray-400": !isCurrentMonth,
11006
+ "text-primary-400": !isCurrentMonth,
11007
11007
  "bg-primary-600 text-white": isSelected,
11008
11008
  "bg-primary-100 text-primary-600": isTodayDate && !isSelected,
11009
11009
  "hover:bg-gray-100": isCurrentMonth && !isSelected && !isDisabled,
@@ -11034,7 +11034,7 @@ var DatePicker = /*#__PURE__*/React__default.forwardRef(function (_ref, forwarde
11034
11034
  if (closeOnSelect) setIsOpen(false);
11035
11035
  }
11036
11036
  }, "Today")), /*#__PURE__*/React__default.createElement("div", {
11037
- className: "text-xs text-gray-500"
11037
+ className: "text-xs text-primary-500"
11038
11038
  }, formatDisplayValue())));
11039
11039
  return /*#__PURE__*/React__default.createElement("div", {
11040
11040
  className: "w-full"
@@ -11049,7 +11049,7 @@ var DatePicker = /*#__PURE__*/React__default.forwardRef(function (_ref, forwarde
11049
11049
  type: "button",
11050
11050
  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", {
11051
11051
  "border-error-500 focus:ring-error-500": error,
11052
- "text-gray-500": !selected
11052
+ "text-primary-500": !selected
11053
11053
  }, className),
11054
11054
  onClick: function onClick() {
11055
11055
  return isOpen ? setIsOpen(false) : openAndFocusSelected();
@@ -11070,9 +11070,9 @@ var DatePicker = /*#__PURE__*/React__default.forwardRef(function (_ref, forwarde
11070
11070
  "aria-label": "Clear date",
11071
11071
  className: "p-1"
11072
11072
  }, /*#__PURE__*/React__default.createElement(X, {
11073
- className: "h-4 w-4 text-gray-400"
11073
+ className: "h-4 w-4 text-primary-400"
11074
11074
  })), /*#__PURE__*/React__default.createElement(Calendar, {
11075
- className: "h-4 w-4 text-gray-400"
11075
+ className: "h-4 w-4 text-primary-400"
11076
11076
  }))), isOpen && (portal ? /*#__PURE__*/ReactDOM.createPortal(calendarPopup, document.body) : calendarPopup)), error && /*#__PURE__*/React__default.createElement("p", {
11077
11077
  className: "mt-1 text-sm text-error-500"
11078
11078
  }, error));
@@ -11376,7 +11376,7 @@ var Form = function Form(_ref) {
11376
11376
  className: "text-error-500 ml-1"
11377
11377
  }, "*")), /*#__PURE__*/React__default.createElement("textarea", {
11378
11378
  ref: ref,
11379
- 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", {
11379
+ 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", {
11380
11380
  "border-error-500 focus:ring-error-500": error
11381
11381
  }),
11382
11382
  placeholder: placeholder,
@@ -11483,7 +11483,7 @@ var Form = function Form(_ref) {
11483
11483
  "border-error-500": error
11484
11484
  })
11485
11485
  }, /*#__PURE__*/React__default.createElement("svg", {
11486
- className: "-ml-1 mr-2 h-5 w-5 text-gray-400",
11486
+ className: "-ml-1 mr-2 h-5 w-5 text-primary-400",
11487
11487
  fill: "none",
11488
11488
  stroke: "currentColor",
11489
11489
  viewBox: "0 0 24 24",
@@ -11521,7 +11521,7 @@ var Form = function Form(_ref) {
11521
11521
  accept: fieldProps.accept,
11522
11522
  multiple: fieldProps.multiple
11523
11523
  })), /*#__PURE__*/React__default.createElement("span", {
11524
- className: "ml-3 text-sm text-gray-500"
11524
+ className: "ml-3 text-sm text-primary-500"
11525
11525
  }, (value === null || value === void 0 ? void 0 : value.name) || "No file chosen"), value && /*#__PURE__*/React__default.createElement("button", {
11526
11526
  type: "button",
11527
11527
  onClick: function onClick() {
@@ -11538,7 +11538,7 @@ var Form = function Form(_ref) {
11538
11538
  alt: "Preview",
11539
11539
  className: "h-32 w-32 object-cover rounded"
11540
11540
  })), fieldProps.accept && /*#__PURE__*/React__default.createElement("p", {
11541
- className: "mt-1 text-xs text-gray-500"
11541
+ className: "mt-1 text-xs text-primary-500"
11542
11542
  }, "Accepted: ", fieldProps.accept), error && /*#__PURE__*/React__default.createElement("p", {
11543
11543
  className: "mt-1 text-sm text-error-500"
11544
11544
  }, error));
@@ -11583,9 +11583,9 @@ var Form = function Form(_ref) {
11583
11583
  key: group.name,
11584
11584
  className: "space-y-4"
11585
11585
  }, group.title && /*#__PURE__*/React__default.createElement("h3", {
11586
- className: "text-lg font-medium text-gray-900"
11586
+ className: "text-lg font-medium text-primary-900"
11587
11587
  }, group.title), group.description && /*#__PURE__*/React__default.createElement("p", {
11588
- className: "text-sm text-gray-600"
11588
+ className: "text-sm text-primary-600"
11589
11589
  }, group.description), /*#__PURE__*/React__default.createElement("div", {
11590
11590
  className: cn$1("grid gap-4", group.gridCols ? "grid-cols-".concat(group.gridCols) : "grid-cols-1")
11591
11591
  }, group.fields.map(renderField)));
@@ -11805,7 +11805,7 @@ function Accordion(_ref) {
11805
11805
  }, /*#__PURE__*/React__default.createElement("span", {
11806
11806
  className: "font-medium"
11807
11807
  }, item.title), item.subtitle ? /*#__PURE__*/React__default.createElement("span", {
11808
- className: "text-gray-500 text-sm"
11808
+ className: "text-primary-500 text-sm"
11809
11809
  }, item.subtitle) : null)), chevronPosition === "right" ? /*#__PURE__*/React__default.createElement("span", {
11810
11810
  className: "flex-shrink-0 transform transition-transform duration-150 ".concat(open ? "rotate-180" : "rotate-0")
11811
11811
  }, chevronIcon !== null && chevronIcon !== void 0 ? chevronIcon : /*#__PURE__*/React__default.createElement("svg", {
@@ -11944,7 +11944,7 @@ var Checkbox = /*#__PURE__*/forwardRef(function (_ref, ref) {
11944
11944
  "aria-label": ariaLabel,
11945
11945
  "aria-checked": Boolean(currentChecked)
11946
11946
  }, props)), /*#__PURE__*/React__default.createElement("div", {
11947
- 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"),
11947
+ 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"),
11948
11948
  style: currentChecked && checkedColor ? {
11949
11949
  backgroundColor: checkedColor,
11950
11950
  borderColor: checkedColor
@@ -12240,7 +12240,7 @@ function ColorPicker(props) {
12240
12240
  }), /*#__PURE__*/React__default.createElement("div", {
12241
12241
  className: "flex flex-col"
12242
12242
  }, /*#__PURE__*/React__default.createElement("div", {
12243
- className: "text-xs text-gray-500"
12243
+ className: "text-xs text-primary-500"
12244
12244
  }, "Current"), /*#__PURE__*/React__default.createElement("div", {
12245
12245
  className: "font-mono text-sm"
12246
12246
  }, rgbaToHex(internal)))), /*#__PURE__*/React__default.createElement("input", {
@@ -12299,7 +12299,7 @@ function Slider(_ref6) {
12299
12299
  return /*#__PURE__*/React__default.createElement("div", {
12300
12300
  className: "flex items-center gap-3"
12301
12301
  }, /*#__PURE__*/React__default.createElement("div", {
12302
- className: "w-36 text-sm text-gray-600"
12302
+ className: "w-36 text-sm text-primary-600"
12303
12303
  }, label), /*#__PURE__*/React__default.createElement("input", {
12304
12304
  type: "range",
12305
12305
  min: min,
@@ -12646,7 +12646,7 @@ var DateRangePicker = function DateRangePicker(_ref) {
12646
12646
  var label = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"][dayIndex];
12647
12647
  return /*#__PURE__*/React__default.createElement("div", {
12648
12648
  key: label,
12649
- className: "p-2 text-center text-xs font-medium text-gray-500"
12649
+ className: "p-2 text-center text-xs font-medium text-primary-500"
12650
12650
  }, label);
12651
12651
  })), /*#__PURE__*/React__default.createElement("div", {
12652
12652
  className: "grid grid-cols-7 gap-1",
@@ -12673,7 +12673,7 @@ var DateRangePicker = function DateRangePicker(_ref) {
12673
12673
  },
12674
12674
  disabled: disabled,
12675
12675
  className: cn$1("h-8 w-8 rounded-md text-sm transition-colors focus:outline-2 focus:outline-offset-1", {
12676
- "text-gray-400": !isCurrentMonth,
12676
+ "text-primary-400": !isCurrentMonth,
12677
12677
  "bg-primary-600 text-white": isSelStart || isSelEnd,
12678
12678
  "bg-primary-100 text-primary-600": today && !(isSelStart || isSelEnd),
12679
12679
  "bg-primary-200": inRange && !(isSelStart || isSelEnd),
@@ -12705,7 +12705,7 @@ var DateRangePicker = function DateRangePicker(_ref) {
12705
12705
  }, "Today")), /*#__PURE__*/React__default.createElement("div", {
12706
12706
  className: "flex items-center gap-2"
12707
12707
  }, /*#__PURE__*/React__default.createElement("div", {
12708
- className: "text-xs text-gray-500"
12708
+ className: "text-xs text-primary-500"
12709
12709
  }, !localStart || !localEnd ? placeholder : "".concat(format(localStart, displayFormat, {
12710
12710
  locale: locale
12711
12711
  }), " \u2014 ").concat(format(localEnd, displayFormat, {
@@ -12724,7 +12724,7 @@ var DateRangePicker = function DateRangePicker(_ref) {
12724
12724
  type: "button",
12725
12725
  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", {
12726
12726
  "border-error-500 focus:ring-error-500": error,
12727
- "text-gray-500": !localStart || !localEnd
12727
+ "text-primary-500": !localStart || !localEnd
12728
12728
  }, className),
12729
12729
  onClick: function onClick() {
12730
12730
  // Prevent closing the popup when a start is selected but end isn't — force user to finish range
@@ -12749,9 +12749,9 @@ var DateRangePicker = function DateRangePicker(_ref) {
12749
12749
  "aria-label": "Clear range",
12750
12750
  className: "p-1"
12751
12751
  }, /*#__PURE__*/React__default.createElement(X, {
12752
- className: "h-4 w-4 text-gray-400"
12752
+ className: "h-4 w-4 text-primary-400"
12753
12753
  })), /*#__PURE__*/React__default.createElement(Calendar, {
12754
- className: "h-4 w-4 text-gray-400"
12754
+ className: "h-4 w-4 text-primary-400"
12755
12755
  }))), isOpen && (portal ? /*#__PURE__*/ReactDOM.createPortal(calendarPopup, document.body) : calendarPopup)), error && /*#__PURE__*/React__default.createElement("p", {
12756
12756
  className: "mt-1 text-sm text-error-500"
12757
12757
  }, error));
@@ -12879,7 +12879,7 @@ var Loader = /*#__PURE__*/forwardRef(function Loader(_ref, ref) {
12879
12879
  animation: "loader-bar ".concat(speed, "s linear infinite")
12880
12880
  }
12881
12881
  })), text && /*#__PURE__*/React__default.createElement("span", {
12882
- className: "text-sm text-slate-500"
12882
+ className: "text-sm text-primary-500"
12883
12883
  }, text));
12884
12884
  });
12885
12885
 
@@ -13156,7 +13156,7 @@ function PriceRangePicker(_ref) {
13156
13156
  max: max,
13157
13157
  disabled: disabled
13158
13158
  })), /*#__PURE__*/React__default.createElement("div", {
13159
- className: "text-xs text-gray-500"
13159
+ className: "text-xs text-primary-500"
13160
13160
  }, "\u2014"), /*#__PURE__*/React__default.createElement("div", {
13161
13161
  className: "flex-1 flex justify-end"
13162
13162
  }, /*#__PURE__*/React__default.createElement("input", {
@@ -14629,7 +14629,7 @@ var Radio = /*#__PURE__*/forwardRef(function Radio(_ref, ref) {
14629
14629
  className: cn("relative inline-flex items-center select-none gap-2", disabled ? "opacity-50 cursor-not-allowed" : "cursor-pointer", className),
14630
14630
  "aria-disabled": disabled ? "true" : undefined
14631
14631
  }, showLabelLeft && /*#__PURE__*/React__default.createElement("span", {
14632
- className: cn(sizeClasses.label, "leading-none", disabled && "text-slate-400")
14632
+ className: cn(sizeClasses.label, "leading-none", disabled && "text-primary-400")
14633
14633
  }, label, required ? /*#__PURE__*/React__default.createElement("span", {
14634
14634
  "aria-hidden": "true"
14635
14635
  }, " *") : null), /*#__PURE__*/React__default.createElement("input", _extends({
@@ -14662,7 +14662,7 @@ var Radio = /*#__PURE__*/forwardRef(function Radio(_ref, ref) {
14662
14662
  transform: isChecked ? "scale(1)" : "scale(0.7)"
14663
14663
  }
14664
14664
  }))), !showLabelLeft && label && /*#__PURE__*/React__default.createElement("span", {
14665
- className: cn(sizeClasses.label, "leading-none", disabled && "text-slate-400")
14665
+ className: cn(sizeClasses.label, "leading-none", disabled && "text-primary-400")
14666
14666
  }, label, required ? /*#__PURE__*/React__default.createElement("span", {
14667
14667
  "aria-hidden": "true"
14668
14668
  }, " *") : null));
@@ -14864,7 +14864,7 @@ function Rate(_ref3) {
14864
14864
  }, filled ? ActiveIcon : InactiveIcon);
14865
14865
  })), text ? /*#__PURE__*/React__default.createElement("div", {
14866
14866
  "aria-hidden": true,
14867
- className: "ml-1 text-sm text-slate-700 select-none",
14867
+ className: "ml-1 text-sm text-primary-700 select-none",
14868
14868
  style: {
14869
14869
  fontSize: Math.max(12, Math.round(size * 0.9))
14870
14870
  }
@@ -14945,7 +14945,7 @@ function RoundedTag(_ref) {
14945
14945
  }, initials));
14946
14946
  return /*#__PURE__*/React__default.createElement("div", {
14947
14947
  ref: wrapperRef,
14948
- className: "inline-flex items-center ".concat(paddingClass, " ").concat(gapClass, " rounded-full bg-gray-100 text-slate-800 ").concat(s.text, " ").concat(className),
14948
+ className: "inline-flex items-center ".concat(paddingClass, " ").concat(gapClass, " rounded-full bg-gray-100 text-primary-800 ").concat(s.text, " ").concat(className),
14949
14949
  role: "group",
14950
14950
  "aria-label": ariaLabel,
14951
14951
  onClick: function onClick(e) {
@@ -15443,7 +15443,7 @@ function ThreeDotPopoverSimple(_ref) {
15443
15443
  return handleItemClick(it);
15444
15444
  },
15445
15445
  disabled: it.disabled,
15446
- 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)
15446
+ 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)
15447
15447
  }, Icon ? /*#__PURE__*/React__default.createElement(Icon, {
15448
15448
  className: "w-5 h-5"
15449
15449
  }) : /*#__PURE__*/React__default.createElement("span", {
@@ -16406,7 +16406,7 @@ var Sidebar = function Sidebar(_ref2) {
16406
16406
  }, /*#__PURE__*/React__default.createElement("p", {
16407
16407
  className: "text-sm font-medium truncate"
16408
16408
  }, user.name), /*#__PURE__*/React__default.createElement("p", {
16409
- className: "text-xs text-gray-500 truncate"
16409
+ className: "text-xs text-primary-500 truncate"
16410
16410
  }, user.email))))));
16411
16411
  var isRight = drawerPosition === "right";
16412
16412
  var mobileDrawerClasses = cn$1("fixed top-0 z-50 h-full transition-transform duration-300 ease-in-out md:hidden", {
@@ -16533,7 +16533,7 @@ var NotificationsDropdown = function NotificationsDropdown(_ref) {
16533
16533
  // For simplicity, shows notifications in the dropdown, can be expanded
16534
16534
  return /*#__PURE__*/React__default.createElement(Dropdown, {
16535
16535
  trigger: /*#__PURE__*/React__default.createElement("button", {
16536
- className: "relative rounded-md p-2 text-gray-400 hover:text-gray-500 hover:bg-gray-100",
16536
+ className: "relative rounded-md p-2 text-primary-400 hover:text-primary-500 hover:bg-gray-100",
16537
16537
  "aria-label": "notifications"
16538
16538
  }, /*#__PURE__*/React__default.createElement(Bell, {
16539
16539
  className: "h-5 w-5"
@@ -16546,16 +16546,16 @@ var NotificationsDropdown = function NotificationsDropdown(_ref) {
16546
16546
  }, /*#__PURE__*/React__default.createElement("div", {
16547
16547
  className: "px-4 py-2 border-b border-gray-100 flex items-center justify-between"
16548
16548
  }, /*#__PURE__*/React__default.createElement("span", {
16549
- className: "font-medium text-gray-800 text-sm"
16549
+ className: "font-medium text-primary-800 text-sm"
16550
16550
  }, "Notifications"), /*#__PURE__*/React__default.createElement("button", {
16551
- className: "text-xs text-gray-400 hover:text-error-600",
16551
+ className: "text-xs text-primary-400 hover:text-error-600",
16552
16552
  onClick: function onClick() {
16553
16553
  onClearAll();
16554
16554
  setNotifications([]);
16555
16555
  },
16556
16556
  type: "button"
16557
16557
  }, "Clear all")), notifications.length === 0 ? /*#__PURE__*/React__default.createElement("div", {
16558
- className: "px-4 py-4 text-sm text-gray-500 text-center"
16558
+ className: "px-4 py-4 text-sm text-primary-500 text-center"
16559
16559
  }, "No notifications") : notifications.map(function (n) {
16560
16560
  return /*#__PURE__*/React__default.createElement("div", {
16561
16561
  key: n.id,
@@ -16568,9 +16568,9 @@ var NotificationsDropdown = function NotificationsDropdown(_ref) {
16568
16568
  }), /*#__PURE__*/React__default.createElement("div", {
16569
16569
  className: "flex-1"
16570
16570
  }, /*#__PURE__*/React__default.createElement("div", {
16571
- className: "text-sm text-gray-800"
16571
+ className: "text-sm text-primary-800"
16572
16572
  }, n.title), n.message && /*#__PURE__*/React__default.createElement("div", {
16573
- className: "text-xs text-gray-500"
16573
+ className: "text-xs text-primary-500"
16574
16574
  }, n.message), /*#__PURE__*/React__default.createElement("div", {
16575
16575
  className: "flex gap-2 mt-1"
16576
16576
  }, !n.read ? /*#__PURE__*/React__default.createElement("button", {
@@ -16584,7 +16584,7 @@ var NotificationsDropdown = function NotificationsDropdown(_ref) {
16584
16584
  e.stopPropagation();
16585
16585
  onMarkAsUnread();
16586
16586
  },
16587
- className: "text-xs text-gray-400 hover:underline"
16587
+ className: "text-xs text-primary-400 hover:underline"
16588
16588
  }, "Mark as Unread"), /*#__PURE__*/React__default.createElement("button", {
16589
16589
  onClick: function onClick(e) {
16590
16590
  e.stopPropagation();
@@ -16610,7 +16610,7 @@ var RightMenuContent = function RightMenuContent(_ref2) {
16610
16610
  }, props)));
16611
16611
  };
16612
16612
  var styledClassNames = {
16613
- button: "rounded-md p-2 text-gray-400 hover:text-gray-500 hover:bg-gray-100",
16613
+ button: "rounded-md p-2 text-primary-400 hover:text-primary-500 hover:bg-gray-100",
16614
16614
  mobileItem: "md:hidden",
16615
16615
  icon: "h-6 w-6",
16616
16616
  dropdown: "w-56 rounded-md border border-gray-200 bg-white py-1 shadow-lg"
@@ -16722,7 +16722,7 @@ var Navbar = function Navbar(_ref3) {
16722
16722
  className: "flex items-center"
16723
16723
  }, leftIcon !== false && /*#__PURE__*/React__default.createElement("button", {
16724
16724
  onClick: onLeftIconClick,
16725
- className: "md:hidden rounded-md p-2 text-gray-400 hover:text-gray-500 hover:bg-gray-100",
16725
+ className: "md:hidden rounded-md p-2 text-primary-400 hover:text-primary-500 hover:bg-gray-100",
16726
16726
  "aria-label": "back"
16727
16727
  }, leftIcon), logo && /*#__PURE__*/React__default.createElement("div", {
16728
16728
  className: "ml-4 md:ml-0"
@@ -16736,7 +16736,7 @@ var Navbar = function Navbar(_ref3) {
16736
16736
  }, /*#__PURE__*/React__default.createElement("div", {
16737
16737
  className: "relative"
16738
16738
  }, /*#__PURE__*/React__default.createElement(Search, {
16739
- className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400"
16739
+ className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-primary-400"
16740
16740
  }), /*#__PURE__*/React__default.createElement("input", {
16741
16741
  type: "text",
16742
16742
  placeholder: "Search...",
@@ -16791,9 +16791,9 @@ var Navbar = function Navbar(_ref3) {
16791
16791
  }, /*#__PURE__*/React__default.createElement("div", {
16792
16792
  className: "px-4 py-2 border-b border-gray-200"
16793
16793
  }, /*#__PURE__*/React__default.createElement("p", {
16794
- className: "text-sm font-medium text-gray-900"
16794
+ className: "text-sm font-medium text-primary-900"
16795
16795
  }, user.name), /*#__PURE__*/React__default.createElement("p", {
16796
- className: "text-xs text-gray-500"
16796
+ className: "text-xs text-primary-500"
16797
16797
  }, user.email)), isMobile && /*#__PURE__*/React__default.createElement("div", {
16798
16798
  className: "py-1"
16799
16799
  }, renderNavItems(true)), user.menuItems && user.menuItems.length > 0 && /*#__PURE__*/React__default.createElement("div", {
@@ -16846,7 +16846,7 @@ var FootNav = function FootNav(_ref) {
16846
16846
  key: item.id,
16847
16847
  className: cn$1('flex flex-col items-center space-y-1 rounded-md px-3 py-2 text-xs font-medium transition-colors', {
16848
16848
  'text-primary-600': item.active,
16849
- 'text-gray-500': !item.active
16849
+ 'text-primary-500': !item.active
16850
16850
  }),
16851
16851
  onClick: function onClick() {
16852
16852
  var _item$onClick;
@@ -16891,16 +16891,16 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
16891
16891
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, {
16892
16892
  key: item.id
16893
16893
  }, index > 0 && /*#__PURE__*/React__default.createElement("span", {
16894
- className: "text-gray-400",
16894
+ className: "text-primary-400",
16895
16895
  "aria-hidden": "true"
16896
16896
  }, separator), index === allItems.length - 1 ? /*#__PURE__*/React__default.createElement("span", {
16897
- className: "font-medium text-gray-900",
16897
+ className: "font-medium text-primary-900",
16898
16898
  "aria-current": "page"
16899
16899
  }, item.icon && /*#__PURE__*/React__default.createElement("span", {
16900
16900
  className: "mr-1"
16901
16901
  }, item.icon), item.label) : /*#__PURE__*/React__default.createElement("a", {
16902
16902
  href: item.href,
16903
- className: "flex items-center text-gray-500 transition-colors",
16903
+ className: "flex items-center text-primary-500 transition-colors",
16904
16904
  onClick: function onClick(e) {
16905
16905
  if (item.onClick) {
16906
16906
  e.preventDefault();
@@ -16988,10 +16988,10 @@ var Dialog = function Dialog(_ref) {
16988
16988
  className: "flex items-center justify-between border-b border-gray-200 px-6 py-4"
16989
16989
  }, title && /*#__PURE__*/React__default.createElement("h2", {
16990
16990
  id: "dialog-title",
16991
- className: "text-lg font-semibold text-gray-900"
16991
+ className: "text-lg font-semibold text-primary-900"
16992
16992
  }, title), showCloseButton && /*#__PURE__*/React__default.createElement("button", {
16993
16993
  type: "button",
16994
- className: "rounded-md p-1 text-gray-400 hover:text-gray-600 hover:bg-gray-100",
16994
+ className: "rounded-md p-1 text-primary-400 hover:text-primary-600 hover:bg-gray-100",
16995
16995
  onClick: onClose,
16996
16996
  "aria-label": "Close dialog"
16997
16997
  }, /*#__PURE__*/React__default.createElement(X, {
@@ -17096,12 +17096,12 @@ var Toast = function Toast(_ref) {
17096
17096
  }, icons[type]), /*#__PURE__*/React__default.createElement("div", {
17097
17097
  className: "ml-3 flex-1"
17098
17098
  }, title && /*#__PURE__*/React__default.createElement("h4", {
17099
- className: "text-sm font-medium text-gray-900"
17099
+ className: "text-sm font-medium text-primary-900"
17100
17100
  }, title), message && /*#__PURE__*/React__default.createElement("p", {
17101
- className: "mt-1 text-sm text-gray-600"
17101
+ className: "mt-1 text-sm text-primary-600"
17102
17102
  }, message)), /*#__PURE__*/React__default.createElement("button", {
17103
17103
  type: "button",
17104
- className: "ml-4 flex-shrink-0 rounded-md p-1 text-gray-400 hover:text-gray-600 hover:bg-gray-100",
17104
+ className: "ml-4 flex-shrink-0 rounded-md p-1 text-primary-400 hover:text-primary-600 hover:bg-gray-100",
17105
17105
  onClick: handleClose
17106
17106
  }, /*#__PURE__*/React__default.createElement(X, {
17107
17107
  className: "h-4 w-4"
@@ -17275,7 +17275,7 @@ var Badge = function Badge(_ref) {
17275
17275
  className = _ref.className,
17276
17276
  props = _objectWithoutProperties$1(_ref, _excluded$5);
17277
17277
  var variants = {
17278
- "default": 'bg-gray-100 text-gray-800',
17278
+ "default": 'bg-gray-100 text-primary-800',
17279
17279
  primary: 'bg-primary-100 text-primary-800',
17280
17280
  secondary: 'bg-secondary-100 text-secondary-800',
17281
17281
  success: 'bg-success-100 text-success-800',
@@ -17339,7 +17339,7 @@ var Avatar = function Avatar(_ref) {
17339
17339
  return /*#__PURE__*/React__default.createElement("div", {
17340
17340
  className: "relative inline-block"
17341
17341
  }, /*#__PURE__*/React__default.createElement("div", _extends({
17342
- className: cn$1('flex items-center justify-center bg-gray-100 text-gray-600 font-medium', sizes[size], {
17342
+ className: cn$1('flex items-center justify-center bg-gray-100 text-primary-600 font-medium', sizes[size], {
17343
17343
  'rounded-full': shape === 'circle',
17344
17344
  'rounded-md': shape === 'square',
17345
17345
  'rounded-lg': shape === 'rounded'
@@ -17402,7 +17402,7 @@ var CardTitle = function CardTitle(_ref3) {
17402
17402
  className = _ref3.className,
17403
17403
  props = _objectWithoutProperties$1(_ref3, _excluded3);
17404
17404
  return /*#__PURE__*/React__default.createElement("h3", _extends({
17405
- className: cn$1('text-lg font-semibold text-gray-900', className)
17405
+ className: cn$1('text-lg font-semibold text-primary-900', className)
17406
17406
  }, props), children);
17407
17407
  };
17408
17408
  var CardDescription = function CardDescription(_ref4) {
@@ -17410,7 +17410,7 @@ var CardDescription = function CardDescription(_ref4) {
17410
17410
  className = _ref4.className,
17411
17411
  props = _objectWithoutProperties$1(_ref4, _excluded4);
17412
17412
  return /*#__PURE__*/React__default.createElement("p", _extends({
17413
- className: cn$1('text-sm text-gray-600', className)
17413
+ className: cn$1('text-sm text-primary-600', className)
17414
17414
  }, props), children);
17415
17415
  };
17416
17416
  var CardContent = function CardContent(_ref5) {
@@ -17495,7 +17495,7 @@ var Pagination = function Pagination(_ref) {
17495
17495
  }, /*#__PURE__*/React__default.createElement(ChevronLeft, {
17496
17496
  className: "h-4 w-4"
17497
17497
  })), showFirstLast && visiblePages[0] > 2 && /*#__PURE__*/React__default.createElement("span", {
17498
- className: "px-3 py-2 text-sm text-gray-500"
17498
+ className: "px-3 py-2 text-sm text-primary-500"
17499
17499
  }, "..."), visiblePages.map(function (page) {
17500
17500
  return /*#__PURE__*/React__default.createElement("button", {
17501
17501
  key: page,
@@ -17510,7 +17510,7 @@ var Pagination = function Pagination(_ref) {
17510
17510
  "aria-current": page === currentPage ? 'page' : undefined
17511
17511
  }, page);
17512
17512
  }), showFirstLast && visiblePages[visiblePages.length - 1] < totalPages - 1 && /*#__PURE__*/React__default.createElement("span", {
17513
- className: "px-3 py-2 text-sm text-gray-500"
17513
+ className: "px-3 py-2 text-sm text-primary-500"
17514
17514
  }, "..."), showPrevNext && /*#__PURE__*/React__default.createElement("button", {
17515
17515
  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",
17516
17516
  onClick: function onClick() {
@@ -17558,9 +17558,9 @@ var Stepper = function Stepper(_ref) {
17558
17558
  text: 'text-primary-600'
17559
17559
  },
17560
17560
  upcoming: {
17561
- circle: 'bg-gray-300 text-gray-500',
17561
+ circle: 'bg-gray-300 text-primary-500',
17562
17562
  line: 'bg-gray-300',
17563
- text: 'text-gray-500'
17563
+ text: 'text-primary-500'
17564
17564
  }
17565
17565
  };
17566
17566
  return /*#__PURE__*/React__default.createElement("nav", _extends({
@@ -17608,7 +17608,7 @@ var Stepper = function Stepper(_ref) {
17608
17608
  }, /*#__PURE__*/React__default.createElement("span", {
17609
17609
  className: cn$1('text-sm font-medium', colors.text)
17610
17610
  }, step.title), step.description && /*#__PURE__*/React__default.createElement("span", {
17611
- className: "text-xs text-gray-500"
17611
+ className: "text-xs text-primary-500"
17612
17612
  }, step.description)));
17613
17613
  }));
17614
17614
  };
@@ -17654,16 +17654,16 @@ var FileUpload = function FileUpload(_ref) {
17654
17654
  var getFileIcon = function getFileIcon(file) {
17655
17655
  if (file.type.startsWith('image/')) {
17656
17656
  return /*#__PURE__*/React__default.createElement(Image, {
17657
- className: "h-8 w-8 text-blue-500"
17657
+ className: "h-8 w-8 text-primary-500"
17658
17658
  });
17659
17659
  }
17660
17660
  if (file.type.includes('text') || file.type.includes('document')) {
17661
17661
  return /*#__PURE__*/React__default.createElement(FileText, {
17662
- className: "h-8 w-8 text-green-500"
17662
+ className: "h-8 w-8 text-success-500"
17663
17663
  });
17664
17664
  }
17665
17665
  return /*#__PURE__*/React__default.createElement(File, {
17666
- className: "h-8 w-8 text-gray-500"
17666
+ className: "h-8 w-8 text-primary-500"
17667
17667
  });
17668
17668
  };
17669
17669
  var handleFiles = useCallback(function (newFiles) {
@@ -17728,17 +17728,17 @@ var FileUpload = function FileUpload(_ref) {
17728
17728
  }), /*#__PURE__*/React__default.createElement(Upload, {
17729
17729
  className: cn$1('mx-auto h-12 w-12', {
17730
17730
  'text-primary-500': !disabled,
17731
- 'text-gray-400': disabled
17731
+ 'text-primary-400': disabled
17732
17732
  })
17733
17733
  }), /*#__PURE__*/React__default.createElement("div", {
17734
17734
  className: "mt-4"
17735
17735
  }, /*#__PURE__*/React__default.createElement("p", {
17736
17736
  className: cn$1('text-sm font-medium', {
17737
- 'text-gray-900': !disabled,
17738
- 'text-gray-500': disabled
17737
+ 'text-primary-900': !disabled,
17738
+ 'text-primary-500': disabled
17739
17739
  })
17740
17740
  }, isDragOver ? 'Drop files here' : 'Click to upload or drag and drop'), /*#__PURE__*/React__default.createElement("p", {
17741
- className: "text-xs text-gray-500 mt-1"
17741
+ className: "text-xs text-primary-500 mt-1"
17742
17742
  }, accept && "Accepted formats: ".concat(accept), maxSize && " \u2022 Max size: ".concat(formatFileSize(maxSize))))), error && /*#__PURE__*/React__default.createElement("p", {
17743
17743
  className: "mt-2 text-sm text-error-500"
17744
17744
  }, error), files.length > 0 && /*#__PURE__*/React__default.createElement("div", {
@@ -17750,12 +17750,12 @@ var FileUpload = function FileUpload(_ref) {
17750
17750
  }, /*#__PURE__*/React__default.createElement("div", {
17751
17751
  className: "flex items-center space-x-3"
17752
17752
  }, getFileIcon(file), /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement("p", {
17753
- className: "text-sm font-medium text-gray-900"
17753
+ className: "text-sm font-medium text-primary-900"
17754
17754
  }, file.name), /*#__PURE__*/React__default.createElement("p", {
17755
- className: "text-xs text-gray-500"
17755
+ className: "text-xs text-primary-500"
17756
17756
  }, formatFileSize(file.size)))), /*#__PURE__*/React__default.createElement("button", {
17757
17757
  type: "button",
17758
- className: "rounded-md p-1 text-gray-400 hover:text-gray-600 hover:bg-gray-100",
17758
+ className: "rounded-md p-1 text-primary-400 hover:text-primary-600 hover:bg-gray-100",
17759
17759
  onClick: function onClick() {
17760
17760
  return handleRemoveFile(index);
17761
17761
  },