@umituz/react-native-design-system 2.8.9 → 2.8.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/react-native-design-system",
3
- "version": "2.8.9",
3
+ "version": "2.8.10",
4
4
  "description": "Universal design system for React Native apps - Consolidated package with atoms, molecules, organisms, theme, typography, responsive, safe area, exception, infinite scroll, UUID, image, timezone, offline, and onboarding utilities",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -23,7 +23,7 @@ export const useCardMediaUpload = (): UseCardMediaUploadResult => {
23
23
  const [error, setError] = React.useState<string | null>(null);
24
24
 
25
25
  const uploadMedia = React.useCallback(
26
- async (file: any, options?: CardMediaCompressionOptions) => {
26
+ async (file: any, _options?: CardMediaCompressionOptions) => {
27
27
  try {
28
28
  setIsUploading(true);
29
29
  setError(null);
@@ -76,8 +76,8 @@ export const useCardMultimediaFlashcard =
76
76
 
77
77
  const updateCardMedia = React.useCallback(
78
78
  async (
79
- cardId: string,
80
- media: CardMediaAttachment[],
79
+ _cardId: string,
80
+ _media: CardMediaAttachment[],
81
81
  ): Promise<CardMultimediaFlashcard> => {
82
82
  // Mock implementation
83
83
  await new Promise((resolve) => setTimeout(resolve, 500));
@@ -87,7 +87,7 @@ export const useCardMultimediaFlashcard =
87
87
  );
88
88
 
89
89
  const deleteCardMedia = React.useCallback(
90
- async (attachmentId: string): Promise<void> => {
90
+ async (_attachmentId: string): Promise<void> => {
91
91
  // Mock implementation
92
92
  await new Promise((resolve) => setTimeout(resolve, 500));
93
93
  },
@@ -23,7 +23,7 @@ export const useMediaUpload = (): UseMediaUploadResult => {
23
23
  const [error, setError] = React.useState<string | null>(null);
24
24
 
25
25
  const uploadMedia = React.useCallback(
26
- async (file: any, options?: MediaCompressionOptions) => {
26
+ async (file: any, _options?: MediaCompressionOptions) => {
27
27
  try {
28
28
  setIsUploading(true);
29
29
  setError(null);
@@ -75,8 +75,8 @@ export const useMultimediaFlashcard = (): UseMultimediaFlashcardResult => {
75
75
 
76
76
  const updateMedia = React.useCallback(
77
77
  async (
78
- cardId: string,
79
- media: MediaAttachment[],
78
+ _cardId: string,
79
+ _media: MediaAttachment[],
80
80
  ): Promise<MultimediaFlashcard> => {
81
81
  // Mock implementation
82
82
  await new Promise((resolve) => setTimeout(resolve, 500));
@@ -86,7 +86,7 @@ export const useMultimediaFlashcard = (): UseMultimediaFlashcardResult => {
86
86
  );
87
87
 
88
88
  const deleteMedia = React.useCallback(
89
- async (attachmentId: string): Promise<void> => {
89
+ async (_attachmentId: string): Promise<void> => {
90
90
  // Mock implementation
91
91
  await new Promise((resolve) => setTimeout(resolve, 500));
92
92
  },