@rehagro/ui 1.0.35 → 1.0.37

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/native.mjs CHANGED
@@ -108,7 +108,8 @@ var Button = forwardRef(function Button2({
108
108
  danger: theme.danger ?? "#dc2626",
109
109
  warning: theme.warning ?? "#d97706",
110
110
  success: theme.success ?? "#16a34a",
111
- info: theme.info ?? "#0284c7"
111
+ info: theme.info ?? "#0284c7",
112
+ neutral: theme.textMuted ?? "#6b7280"
112
113
  };
113
114
  const presetHover = {
114
115
  primary: theme.primaryHover ?? darkenColor(presetBase.primary),
@@ -116,7 +117,8 @@ var Button = forwardRef(function Button2({
116
117
  danger: theme.dangerHover ?? darkenColor(presetBase.danger),
117
118
  warning: theme.warning ?? darkenColor(presetBase.warning),
118
119
  success: theme.success ?? darkenColor(presetBase.success),
119
- info: theme.infoHover ?? darkenColor(presetBase.info)
120
+ info: theme.infoHover ?? darkenColor(presetBase.info),
121
+ neutral: theme.text ?? darkenColor(presetBase.neutral)
120
122
  };
121
123
  const colorBase = preset ? presetBase[color] : color;
122
124
  const colorHover = preset ? presetHover[color] : darkenColor(color);
@@ -257,7 +259,8 @@ var IconButton = forwardRef(function IconButton2({
257
259
  danger: { main: theme.danger ?? "#dc2626", hover: theme.dangerHover ?? darkenColor2(theme.danger ?? "#dc2626") },
258
260
  warning: { main: theme.warning ?? "#d97706", hover: darkenColor2(theme.warning ?? "#d97706") },
259
261
  success: { main: theme.success ?? "#16a34a", hover: darkenColor2(theme.success ?? "#16a34a") },
260
- info: { main: theme.info ?? "#0284c7", hover: theme.infoHover ?? darkenColor2(theme.info ?? "#0284c7") }
262
+ info: { main: theme.info ?? "#0284c7", hover: theme.infoHover ?? darkenColor2(theme.info ?? "#0284c7") },
263
+ neutral: { main: theme.textMuted ?? "#6b7280", hover: theme.text ?? darkenColor2(theme.textMuted ?? "#6b7280") }
261
264
  };
262
265
  const preset = isPresetColor2(color);
263
266
  const main = preset ? presetTokens[color].main : color;
@@ -724,7 +727,8 @@ var Tag = forwardRef(function Tag2({
724
727
  danger: { main: theme.danger ?? "#dc2626", hover: theme.dangerHover ?? "#b91c1c" },
725
728
  warning: { main: theme.warning ?? "#d97706", hover: theme.warning ?? "#d97706" },
726
729
  success: { main: theme.success ?? "#16a34a", hover: theme.success ?? "#16a34a" },
727
- info: { main: theme.info ?? "#0284c7", hover: theme.infoHover ?? "#0369a1" }
730
+ info: { main: theme.info ?? "#0284c7", hover: theme.infoHover ?? "#0369a1" },
731
+ neutral: { main: theme.textMuted ?? "#6b7280", hover: theme.text ?? "#374151" }
728
732
  };
729
733
  const preset = isPresetColor3(color);
730
734
  const mainColor = preset ? presetTokens[color].main : color;