@umituz/react-native-design-system 2.6.67 → 2.6.69
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/atoms/AtomicDatePicker.tsx +0 -1
- package/src/atoms/AtomicInput.tsx +1 -1
- package/src/atoms/AtomicPicker.tsx +1 -1
- package/src/atoms/datepicker/styles/datePickerStyles.ts +1 -1
- package/src/atoms/datepicker/types.ts +6 -0
- package/src/atoms/picker/components/PickerIcons.tsx +3 -3
- package/src/molecules/calendar/presentation/components/AtomicCalendar.tsx +2 -2
- package/src/molecules/calendar/presentation/components/CalendarDayCell.tsx +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/react-native-design-system",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.69",
|
|
4
4
|
"description": "Universal design system for React Native apps - Consolidated package with atoms, molecules, organisms, theme, typography, responsive and safe area utilities",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./src/index.ts",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { View, TextInput,
|
|
2
|
+
import { View, TextInput, StyleProp, ViewStyle, TextStyle } from 'react-native';
|
|
3
3
|
import { useAppDesignTokens } from '../theme';
|
|
4
4
|
import { useInputState } from './input/hooks/useInputState';
|
|
5
5
|
import { getSizeConfig, getVariantStyle, getTextColor } from './input/styles/inputStylesHelper';
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
} from 'react-native';
|
|
49
49
|
import { useAppDesignTokens } from '../theme';
|
|
50
50
|
import { AtomicPickerProps } from './picker/types';
|
|
51
|
-
|
|
51
|
+
|
|
52
52
|
import { AtomicText } from './AtomicText';
|
|
53
53
|
import { PickerModal } from './picker/components/PickerModal';
|
|
54
54
|
import { PickerChips } from './picker/components/PickerChips';
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { TouchableOpacity, View } from 'react-native';
|
|
8
|
-
import { useAppDesignTokens } from '
|
|
9
|
-
import { AtomicIcon } from '
|
|
10
|
-
|
|
8
|
+
import { useAppDesignTokens } from '../../../theme';
|
|
9
|
+
import { AtomicIcon } from '../../AtomicIcon';
|
|
10
|
+
|
|
11
11
|
|
|
12
12
|
interface PickerIconsProps {
|
|
13
13
|
clearable: boolean;
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
*/
|
|
32
32
|
|
|
33
33
|
import React from 'react';
|
|
34
|
-
import { View,
|
|
34
|
+
import { View, StyleProp, ViewStyle } from 'react-native';
|
|
35
35
|
import { useAppDesignTokens } from '../../../../index';
|
|
36
36
|
import type { CalendarDay } from '../../domain/entities/CalendarDay.entity';
|
|
37
37
|
import { CalendarService } from '../../infrastructure/services/CalendarService';
|
|
@@ -123,7 +123,7 @@ export const AtomicCalendar: React.FC<AtomicCalendarProps> = ({
|
|
|
123
123
|
day={day}
|
|
124
124
|
index={index}
|
|
125
125
|
isSelected={isSelected}
|
|
126
|
-
|
|
126
|
+
|
|
127
127
|
onDateSelect={onDateSelect}
|
|
128
128
|
maxEventIndicators={maxEventIndicators}
|
|
129
129
|
showEventCount={showEventCount}
|
|
@@ -6,14 +6,14 @@ import React from 'react';
|
|
|
6
6
|
import { TouchableOpacity, View, StyleProp, ViewStyle } from 'react-native';
|
|
7
7
|
import { AtomicText, useAppDesignTokens } from '../../../../index';
|
|
8
8
|
import type { CalendarDay } from '../../domain/entities/CalendarDay.entity';
|
|
9
|
-
|
|
9
|
+
|
|
10
10
|
import { calendarStyles } from './calendarStyles';
|
|
11
11
|
|
|
12
12
|
interface CalendarDayCellProps {
|
|
13
13
|
day: CalendarDay;
|
|
14
14
|
index: number;
|
|
15
15
|
isSelected: boolean;
|
|
16
|
-
|
|
16
|
+
|
|
17
17
|
onDateSelect: (date: Date) => void;
|
|
18
18
|
maxEventIndicators: number;
|
|
19
19
|
showEventCount: boolean;
|
|
@@ -25,7 +25,7 @@ export const CalendarDayCell: React.FC<CalendarDayCellProps> = ({
|
|
|
25
25
|
day,
|
|
26
26
|
index,
|
|
27
27
|
isSelected,
|
|
28
|
-
|
|
28
|
+
|
|
29
29
|
onDateSelect,
|
|
30
30
|
maxEventIndicators,
|
|
31
31
|
showEventCount,
|