@umituz/react-native-design-system 4.28.9 → 4.28.10
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/package.json +1 -1
- package/src/molecules/SearchBar/SearchBar.tsx +1 -1
- package/src/molecules/StepHeader/StepHeader.tsx +1 -1
- package/src/molecules/StepProgress/StepProgress.tsx +1 -1
- package/src/molecules/action-footer/ActionFooter.tsx +1 -1
- package/src/molecules/alerts/AlertModal.tsx +1 -1
- package/src/molecules/avatar/Avatar.tsx +1 -1
- package/src/molecules/avatar/AvatarGroup.tsx +1 -1
- package/src/molecules/circular-menu/CircularMenuItem.tsx +1 -1
- package/src/molecules/hero-section/HeroSection.tsx +1 -1
- package/src/molecules/icon-grid/IconGrid.tsx +1 -1
- package/src/molecules/info-grid/InfoGrid.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/react-native-design-system",
|
|
3
|
-
"version": "4.28.
|
|
3
|
+
"version": "4.28.10",
|
|
4
4
|
"description": "Universal design system for React Native apps with safe navigation hooks - updated SKILL.md with navigation documentation",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -9,7 +9,7 @@ import { useAppDesignTokens } from '../../theme';
|
|
|
9
9
|
import { AtomicIcon, useIconName } from '../../atoms';
|
|
10
10
|
import { AtomicSpinner } from '../../atoms/AtomicSpinner';
|
|
11
11
|
import type { SearchBarProps } from './types';
|
|
12
|
-
import { calculateResponsiveSize } from '
|
|
12
|
+
import { calculateResponsiveSize } from '../../utils/responsiveUtils';
|
|
13
13
|
import { MISC_SIZES } from '../../constants';
|
|
14
14
|
|
|
15
15
|
export const SearchBar: React.FC<SearchBarProps> = ({
|
|
@@ -12,7 +12,7 @@ import { useAppDesignTokens } from "../../theme/hooks/useAppDesignTokens";
|
|
|
12
12
|
import {
|
|
13
13
|
calculateResponsiveSize,
|
|
14
14
|
calculateLineHeight,
|
|
15
|
-
} from
|
|
15
|
+
} from "../../utils/responsiveUtils";
|
|
16
16
|
import { SPACING, STEP_INDICATOR } from "../../constants";
|
|
17
17
|
import { createMappedArray } from "../../utils";
|
|
18
18
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useMemo } from "react";
|
|
2
2
|
import { View, StyleSheet, ViewStyle } from "react-native";
|
|
3
3
|
import { useAppDesignTokens } from '../../theme/hooks/useAppDesignTokens';
|
|
4
|
-
import { calculateResponsiveSize } from '
|
|
4
|
+
import { calculateResponsiveSize } from '../../utils/responsiveUtils';
|
|
5
5
|
import { STEP_INDICATOR } from '../../constants';
|
|
6
6
|
import { createMappedArray } from '../../utils/arrayUtils';
|
|
7
7
|
|
|
@@ -5,7 +5,7 @@ import { AtomicText } from '../../atoms/AtomicText';
|
|
|
5
5
|
import { AtomicIcon } from '../../atoms';
|
|
6
6
|
import { useAppDesignTokens } from '../../theme';
|
|
7
7
|
import type { ActionFooterProps } from './types';
|
|
8
|
-
import { calculateResponsiveSize } from '
|
|
8
|
+
import { calculateResponsiveSize } from '../../utils/responsiveUtils';
|
|
9
9
|
import { NAVIGATION } from '../../constants';
|
|
10
10
|
|
|
11
11
|
const createStyles = (spacingMultiplier: number) => StyleSheet.create({
|
|
@@ -9,7 +9,7 @@ import { useAppDesignTokens } from '../../theme';
|
|
|
9
9
|
import { Alert, AlertType } from './AlertTypes';
|
|
10
10
|
import { getAlertBackgroundColor } from './utils/alertUtils';
|
|
11
11
|
import { useAlertDismissHandler } from './hooks';
|
|
12
|
-
import { calculateResponsiveSize } from '
|
|
12
|
+
import { calculateResponsiveSize } from '../../utils/responsiveUtils';
|
|
13
13
|
import { MODAL_SIZES, ALERT_MODAL_ICON } from '../../constants';
|
|
14
14
|
|
|
15
15
|
interface AlertModalProps {
|
|
@@ -12,7 +12,7 @@ import { AtomicText, AtomicIcon } from '../../atoms';
|
|
|
12
12
|
import type { AvatarSize, AvatarShape } from './Avatar.types';
|
|
13
13
|
import type { SizeConfig } from './Avatar.types';
|
|
14
14
|
import { AVATAR_SIZES } from '../../constants';
|
|
15
|
-
import { calculateResponsiveSize } from '
|
|
15
|
+
import { calculateResponsiveSize } from '../../utils/responsiveUtils';
|
|
16
16
|
import { AvatarUtils } from './Avatar.utils';
|
|
17
17
|
|
|
18
18
|
export interface AvatarProps {
|
|
@@ -12,7 +12,7 @@ import { AtomicText } from '../../atoms';
|
|
|
12
12
|
import { Avatar } from './Avatar';
|
|
13
13
|
import type { AvatarSize, AvatarShape } from './Avatar.types';
|
|
14
14
|
import { AVATAR_SIZES } from '../../constants';
|
|
15
|
-
import { calculateResponsiveSize } from '
|
|
15
|
+
import { calculateResponsiveSize } from '../../utils/responsiveUtils';
|
|
16
16
|
import type { SizeConfig } from './Avatar.types';
|
|
17
17
|
|
|
18
18
|
const AVATAR_CONSTANTS = {
|
|
@@ -4,7 +4,7 @@ import { AtomicIcon } from "../../atoms";
|
|
|
4
4
|
import { AtomicText } from "../../atoms";
|
|
5
5
|
import { useAppDesignTokens } from "../../theme";
|
|
6
6
|
import { LAYOUT } from "./constants";
|
|
7
|
-
import { calculateResponsiveSize } from
|
|
7
|
+
import { calculateResponsiveSize } from "../../utils/responsiveUtils";
|
|
8
8
|
|
|
9
9
|
export interface CircularMenuItemProps {
|
|
10
10
|
icon: string;
|
|
@@ -3,7 +3,7 @@ import React, { useMemo } from 'react';
|
|
|
3
3
|
import { View, StyleSheet, Text, Image } from 'react-native';
|
|
4
4
|
import { useAppDesignTokens } from '../../theme';
|
|
5
5
|
import type { HeroSectionProps } from './types';
|
|
6
|
-
import { calculateResponsiveSize } from '
|
|
6
|
+
import { calculateResponsiveSize } from '../../utils/responsiveUtils';
|
|
7
7
|
import { HERO_ICON } from '../../constants';
|
|
8
8
|
|
|
9
9
|
export const HeroSection: React.FC<HeroSectionProps> = ({
|
|
@@ -21,7 +21,7 @@ import { AtomicIcon } from '../../atoms';
|
|
|
21
21
|
import { AtomicText } from '../../atoms';
|
|
22
22
|
import type { IconName } from '../../atoms';
|
|
23
23
|
import { calculateGridItemWidth } from '../../utils/math';
|
|
24
|
-
import { calculateResponsiveSize } from '
|
|
24
|
+
import { calculateResponsiveSize } from '../../utils/responsiveUtils';
|
|
25
25
|
import { ICON_GRID } from '../../constants';
|
|
26
26
|
|
|
27
27
|
export interface IconGridItem {
|
|
@@ -5,7 +5,7 @@ import { AtomicText } from '../../atoms/AtomicText';
|
|
|
5
5
|
import { AtomicIcon } from '../../atoms';
|
|
6
6
|
import { useAppDesignTokens } from '../../theme';
|
|
7
7
|
import type { InfoGridProps } from './types';
|
|
8
|
-
import { calculateResponsiveSize } from '
|
|
8
|
+
import { calculateResponsiveSize } from '../../utils/responsiveUtils';
|
|
9
9
|
import { INFO_GRID_ICONS } from '../../constants';
|
|
10
10
|
|
|
11
11
|
export const InfoGrid: React.FC<InfoGridProps> = ({
|