@rehagro/ui 1.0.37 → 1.0.38

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
@@ -30,6 +30,8 @@ var DEFAULT_NATIVE_THEME = {
30
30
  inputHeightSm: 36,
31
31
  inputHeightMd: 44,
32
32
  inputHeightLg: 52,
33
+ buttonHeightXxs: 16,
34
+ buttonHeightXs: 24,
33
35
  buttonHeightSm: 36,
34
36
  buttonHeightMd: 44,
35
37
  buttonHeightLg: 52,
@@ -123,12 +125,16 @@ var Button = forwardRef(function Button2({
123
125
  const colorBase = preset ? presetBase[color] : color;
124
126
  const colorHover = preset ? presetHover[color] : darkenColor(color);
125
127
  const sizeStyleMap = {
128
+ xxs: { paddingHorizontal: 6, height: theme.buttonHeightXxs ?? 16, gap: 4 },
129
+ xs: { paddingHorizontal: 8, height: theme.buttonHeightXs ?? 24, gap: 4 },
126
130
  sm: { paddingHorizontal: 12, height: theme.buttonHeightSm ?? 36 },
127
131
  md: { paddingHorizontal: 16, height: theme.buttonHeightMd ?? 44 },
128
132
  lg: { paddingHorizontal: 20, height: theme.buttonHeightLg ?? 52 },
129
133
  xl: { paddingHorizontal: 24, height: theme.buttonHeightXl ?? 60 }
130
134
  };
131
135
  const fontSizeMap = {
136
+ xxs: 10,
137
+ xs: 12,
132
138
  sm: 14,
133
139
  md: 14,
134
140
  lg: 16,
@@ -239,6 +245,8 @@ var IconButton = forwardRef(function IconButton2({
239
245
  const theme = useRehagroTheme();
240
246
  const isDisabled = disabled || loading;
241
247
  const sizePxMap = {
248
+ xxs: 16,
249
+ xs: 24,
242
250
  sm: 32,
243
251
  md: 40,
244
252
  lg: 48