@metacells/mcellui-mcp-server 0.1.5 → 0.1.6

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.
Files changed (48) hide show
  1. package/dist/index.js +7 -7
  2. package/package.json +1 -1
  3. package/registry/ui/accordion.tsx +2 -2
  4. package/registry/ui/action-sheet.tsx +1 -1
  5. package/registry/ui/alert-dialog.tsx +2 -2
  6. package/registry/ui/avatar-stack.tsx +1 -1
  7. package/registry/ui/avatar.tsx +1 -1
  8. package/registry/ui/badge.tsx +1 -1
  9. package/registry/ui/button.tsx +2 -2
  10. package/registry/ui/card.tsx +1 -1
  11. package/registry/ui/carousel.tsx +1 -1
  12. package/registry/ui/checkbox.tsx +2 -2
  13. package/registry/ui/chip.tsx +1 -1
  14. package/registry/ui/column.tsx +1 -1
  15. package/registry/ui/datetime-picker.tsx +1 -1
  16. package/registry/ui/dialog.tsx +1 -1
  17. package/registry/ui/fab.tsx +1 -1
  18. package/registry/ui/form.tsx +1 -1
  19. package/registry/ui/horizontal-list.tsx +1 -1
  20. package/registry/ui/icon-button.tsx +2 -2
  21. package/registry/ui/image-gallery.tsx +1 -1
  22. package/registry/ui/image.tsx +1 -1
  23. package/registry/ui/input.tsx +2 -2
  24. package/registry/ui/label.tsx +1 -1
  25. package/registry/ui/list.tsx +2 -2
  26. package/registry/ui/progress.tsx +1 -1
  27. package/registry/ui/pull-to-refresh.tsx +1 -1
  28. package/registry/ui/radio-group.tsx +2 -2
  29. package/registry/ui/rating.tsx +1 -1
  30. package/registry/ui/row.tsx +1 -1
  31. package/registry/ui/screen.tsx +1 -1
  32. package/registry/ui/search-input.tsx +2 -2
  33. package/registry/ui/section-header.tsx +2 -2
  34. package/registry/ui/segmented-control.tsx +2 -2
  35. package/registry/ui/select.tsx +2 -2
  36. package/registry/ui/separator.tsx +1 -1
  37. package/registry/ui/sheet.tsx +1 -1
  38. package/registry/ui/skeleton.tsx +1 -1
  39. package/registry/ui/slider.tsx +2 -2
  40. package/registry/ui/spinner.tsx +1 -1
  41. package/registry/ui/stepper.tsx +2 -2
  42. package/registry/ui/stories.tsx +1 -1
  43. package/registry/ui/swipeable-row.tsx +2 -2
  44. package/registry/ui/switch.tsx +2 -2
  45. package/registry/ui/tabs.tsx +2 -2
  46. package/registry/ui/textarea.tsx +2 -2
  47. package/registry/ui/toast.tsx +2 -2
  48. package/registry/ui/tooltip.tsx +1 -1
package/dist/index.js CHANGED
@@ -576,7 +576,7 @@ Your component should follow this structure:
576
576
  \`\`\`tsx
577
577
  import React${withForwardRef ? ", { forwardRef }" : ""} from 'react';
578
578
  import { View, Text, StyleSheet } from 'react-native';
579
- import { useTheme } from '@nativeui/core';
579
+ import { useTheme } from '@metacells/mcellui-core';
580
580
 
581
581
  export interface ${pascalName}Props {
582
582
  // Define your props here
@@ -752,7 +752,7 @@ function App() {
752
752
 
753
753
  \`\`\`typescript
754
754
  // nativeui.config.ts
755
- import { defineConfig } from '@nativeui/core';
755
+ import { defineConfig } from '@metacells/mcellui-core';
756
756
 
757
757
  export default defineConfig({
758
758
  // Theme preset
@@ -865,7 +865,7 @@ Check \`tsconfig.json\`:
865
865
 
866
866
  - [ ] \`nativeui.config.ts\` exists
867
867
  - [ ] \`components/ui/\` directory exists
868
- - [ ] \`@nativeui/core\` installed
868
+ - [ ] \`@metacells/mcellui-core\` installed
869
869
  - [ ] \`react-native-reanimated\` installed
870
870
  - [ ] \`react-native-gesture-handler\` installed
871
871
  - [ ] Babel plugin configured
@@ -1262,7 +1262,7 @@ Best practices for building React Native components with nativeui.
1262
1262
  \`\`\`tsx
1263
1263
  import React from 'react';
1264
1264
  import { View, StyleSheet, type ViewProps } from 'react-native';
1265
- import { useTheme } from '@nativeui/core';
1265
+ import { useTheme } from '@metacells/mcellui-core';
1266
1266
 
1267
1267
  export interface MyComponentProps extends ViewProps {
1268
1268
  variant?: 'default' | 'outlined';
@@ -1534,7 +1534,7 @@ export default defineConfig({
1534
1534
  ## Accessing Theme in Components
1535
1535
 
1536
1536
  \`\`\`tsx
1537
- import { useTheme } from '@nativeui/core';
1537
+ import { useTheme } from '@metacells/mcellui-core';
1538
1538
 
1539
1539
  function MyComponent() {
1540
1540
  const { colors, spacing, radius, typography } = useTheme();
@@ -1636,7 +1636,7 @@ const radius = {
1636
1636
  nativeui automatically handles dark mode:
1637
1637
 
1638
1638
  \`\`\`tsx
1639
- import { ThemeProvider } from '@nativeui/core';
1639
+ import { ThemeProvider } from '@metacells/mcellui-core';
1640
1640
 
1641
1641
  export default function App() {
1642
1642
  return (
@@ -1657,7 +1657,7 @@ Options:
1657
1657
  To extend or override colors, modify the theme in your provider:
1658
1658
 
1659
1659
  \`\`\`tsx
1660
- import { ThemeProvider } from '@nativeui/core';
1660
+ import { ThemeProvider } from '@metacells/mcellui-core';
1661
1661
 
1662
1662
  const customColors = {
1663
1663
  brand: '#FF6B00',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metacells/mcellui-mcp-server",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "MCP server for mcellui - AI assistant integration for React Native development",
5
5
  "author": "metacells",
6
6
  "license": "MIT",
@@ -41,8 +41,8 @@ import Animated, {
41
41
  Extrapolation,
42
42
  } from 'react-native-reanimated';
43
43
  import Svg, { Path } from 'react-native-svg';
44
- import { useTheme, areAnimationsDisabled } from '@nativeui/core';
45
- import { haptic } from '@nativeui/core';
44
+ import { useTheme, areAnimationsDisabled } from '@metacells/mcellui-core';
45
+ import { haptic } from '@metacells/mcellui-core';
46
46
 
47
47
  // Smooth spring config for natural feel
48
48
  const SPRING_CONFIG = {
@@ -53,7 +53,7 @@ import Animated, {
53
53
  Easing,
54
54
  } from 'react-native-reanimated';
55
55
  import { Gesture, GestureDetector } from 'react-native-gesture-handler';
56
- import { useTheme, haptic } from '@nativeui/core';
56
+ import { useTheme, haptic } from '@metacells/mcellui-core';
57
57
 
58
58
  const { height: SCREEN_HEIGHT } = Dimensions.get('window');
59
59
 
@@ -45,8 +45,8 @@ import Animated, {
45
45
  runOnJS,
46
46
  interpolate,
47
47
  } from 'react-native-reanimated';
48
- import { useTheme } from '@nativeui/core';
49
- import { haptic } from '@nativeui/core';
48
+ import { useTheme } from '@metacells/mcellui-core';
49
+ import { haptic } from '@metacells/mcellui-core';
50
50
 
51
51
  const { width: SCREEN_WIDTH } = Dimensions.get('window');
52
52
 
@@ -38,7 +38,7 @@ import {
38
38
  ViewStyle,
39
39
  ImageSourcePropType,
40
40
  } from 'react-native';
41
- import { useTheme } from '@nativeui/core';
41
+ import { useTheme } from '@metacells/mcellui-core';
42
42
 
43
43
  // ─────────────────────────────────────────────────────────────────────────────
44
44
  // Types
@@ -21,7 +21,7 @@ import {
21
21
  StyleSheet,
22
22
  ViewStyle,
23
23
  } from 'react-native';
24
- import { useTheme } from '@nativeui/core';
24
+ import { useTheme } from '@metacells/mcellui-core';
25
25
 
26
26
  export type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
27
27
 
@@ -15,7 +15,7 @@
15
15
 
16
16
  import React from 'react';
17
17
  import { View, Text, StyleSheet, ViewStyle, TextStyle } from 'react-native';
18
- import { useTheme, ThemeColors } from '@nativeui/core';
18
+ import { useTheme, ThemeColors } from '@metacells/mcellui-core';
19
19
 
20
20
  export type BadgeVariant = 'default' | 'secondary' | 'destructive' | 'outline';
21
21
  export type BadgeSize = 'sm' | 'md' | 'lg';
@@ -29,8 +29,8 @@ import Animated, {
29
29
  useAnimatedStyle,
30
30
  withSpring,
31
31
  } from 'react-native-reanimated';
32
- import { useTheme, BUTTON_CONSTANTS, areAnimationsDisabled } from '@nativeui/core';
33
- import { haptic } from '@nativeui/core';
32
+ import { useTheme, BUTTON_CONSTANTS, areAnimationsDisabled } from '@metacells/mcellui-core';
33
+ import { haptic } from '@metacells/mcellui-core';
34
34
 
35
35
  const AnimatedPressable = Animated.createAnimatedComponent(Pressable);
36
36
 
@@ -48,7 +48,7 @@ import Animated, {
48
48
  useAnimatedStyle,
49
49
  withSpring,
50
50
  } from 'react-native-reanimated';
51
- import { useTheme, haptic } from '@nativeui/core';
51
+ import { useTheme, haptic } from '@metacells/mcellui-core';
52
52
 
53
53
  const AnimatedPressable = Animated.createAnimatedComponent(Pressable);
54
54
 
@@ -50,7 +50,7 @@ import Animated, {
50
50
  Extrapolation,
51
51
  SharedValue,
52
52
  } from 'react-native-reanimated';
53
- import { useTheme } from '@nativeui/core';
53
+ import { useTheme } from '@metacells/mcellui-core';
54
54
 
55
55
  const { width: SCREEN_WIDTH } = Dimensions.get('window');
56
56
 
@@ -31,8 +31,8 @@ import Animated, {
31
31
  Extrapolation,
32
32
  } from 'react-native-reanimated';
33
33
  import Svg, { Path } from 'react-native-svg';
34
- import { useTheme, areAnimationsDisabled } from '@nativeui/core';
35
- import { haptic } from '@nativeui/core';
34
+ import { useTheme, areAnimationsDisabled } from '@metacells/mcellui-core';
35
+ import { haptic } from '@metacells/mcellui-core';
36
36
 
37
37
  const AnimatedSvg = Animated.createAnimatedComponent(Svg);
38
38
 
@@ -46,7 +46,7 @@ import Animated, {
46
46
  withSpring,
47
47
  interpolateColor,
48
48
  } from 'react-native-reanimated';
49
- import { useTheme } from '@nativeui/core';
49
+ import { useTheme } from '@metacells/mcellui-core';
50
50
 
51
51
  const AnimatedPressable = Animated.createAnimatedComponent(Pressable);
52
52
 
@@ -21,7 +21,7 @@
21
21
 
22
22
  import React, { forwardRef } from 'react';
23
23
  import { View, ViewProps, ViewStyle } from 'react-native';
24
- import { useTheme } from '@nativeui/core';
24
+ import { useTheme } from '@metacells/mcellui-core';
25
25
 
26
26
  // Semantic gap values
27
27
  type GapSemantic = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
@@ -59,7 +59,7 @@ import Animated, {
59
59
  runOnJS,
60
60
  } from 'react-native-reanimated';
61
61
  import { Gesture, GestureDetector } from 'react-native-gesture-handler';
62
- import { useTheme, haptic } from '@nativeui/core';
62
+ import { useTheme, haptic } from '@metacells/mcellui-core';
63
63
 
64
64
  // Try to import native picker - may fail in Expo Go
65
65
  let DateTimePickerNative: typeof import('@react-native-community/datetimepicker').default | null = null;
@@ -46,7 +46,7 @@ import Animated, {
46
46
  runOnJS,
47
47
  interpolate,
48
48
  } from 'react-native-reanimated';
49
- import { useTheme, DIALOG_CONSTANTS, areAnimationsDisabled } from '@nativeui/core';
49
+ import { useTheme, DIALOG_CONSTANTS, areAnimationsDisabled } from '@metacells/mcellui-core';
50
50
 
51
51
  const { width: SCREEN_WIDTH } = Dimensions.get('window');
52
52
 
@@ -41,7 +41,7 @@ import Animated, {
41
41
  useSharedValue,
42
42
  withSpring,
43
43
  } from 'react-native-reanimated';
44
- import { useTheme, haptic } from '@nativeui/core';
44
+ import { useTheme, haptic } from '@metacells/mcellui-core';
45
45
 
46
46
  const AnimatedPressable = Animated.createAnimatedComponent(Pressable);
47
47
 
@@ -72,7 +72,7 @@ import {
72
72
  ControllerFieldState,
73
73
  UseFormStateReturn,
74
74
  } from 'react-hook-form';
75
- import { useTheme } from '@nativeui/core';
75
+ import { useTheme } from '@metacells/mcellui-core';
76
76
 
77
77
  // ============================================================================
78
78
  // Form Context
@@ -36,7 +36,7 @@ import {
36
36
  LayoutChangeEvent,
37
37
  Dimensions,
38
38
  } from 'react-native';
39
- import { useTheme } from '@nativeui/core';
39
+ import { useTheme } from '@metacells/mcellui-core';
40
40
 
41
41
  const { width: SCREEN_WIDTH } = Dimensions.get('window');
42
42
 
@@ -33,8 +33,8 @@ import Animated, {
33
33
  useAnimatedStyle,
34
34
  withSpring,
35
35
  } from 'react-native-reanimated';
36
- import { useTheme } from '@nativeui/core';
37
- import { haptic } from '@nativeui/core';
36
+ import { useTheme } from '@metacells/mcellui-core';
37
+ import { haptic } from '@metacells/mcellui-core';
38
38
 
39
39
  const AnimatedPressable = Animated.createAnimatedComponent(Pressable);
40
40
 
@@ -62,7 +62,7 @@ import {
62
62
  GestureDetector,
63
63
  GestureHandlerRootView,
64
64
  } from 'react-native-gesture-handler';
65
- import { useTheme, haptic } from '@nativeui/core';
65
+ import { useTheme, haptic } from '@metacells/mcellui-core';
66
66
 
67
67
  const { width: SCREEN_WIDTH, height: SCREEN_HEIGHT } = Dimensions.get('window');
68
68
 
@@ -46,7 +46,7 @@ import Animated, {
46
46
  Easing,
47
47
  } from 'react-native-reanimated';
48
48
  import Svg, { Path, Rect } from 'react-native-svg';
49
- import { useTheme } from '@nativeui/core';
49
+ import { useTheme } from '@metacells/mcellui-core';
50
50
 
51
51
  const AnimatedImage = Animated.createAnimatedComponent(RNImage);
52
52
 
@@ -28,8 +28,8 @@ import Animated, {
28
28
  withTiming,
29
29
  interpolateColor,
30
30
  } from 'react-native-reanimated';
31
- import { useTheme } from '@nativeui/core';
32
- import { haptic } from '@nativeui/core';
31
+ import { useTheme } from '@metacells/mcellui-core';
32
+ import { haptic } from '@metacells/mcellui-core';
33
33
 
34
34
  const AnimatedTextInput = Animated.createAnimatedComponent(TextInput);
35
35
 
@@ -20,7 +20,7 @@ import {
20
20
  TextStyle,
21
21
  TextProps,
22
22
  } from 'react-native';
23
- import { useTheme } from '@nativeui/core';
23
+ import { useTheme } from '@metacells/mcellui-core';
24
24
 
25
25
  export type LabelSize = 'sm' | 'md' | 'lg';
26
26
 
@@ -49,8 +49,8 @@ import Animated, {
49
49
  withSpring,
50
50
  } from 'react-native-reanimated';
51
51
  import Svg, { Path } from 'react-native-svg';
52
- import { useTheme } from '@nativeui/core';
53
- import { haptic } from '@nativeui/core';
52
+ import { useTheme } from '@metacells/mcellui-core';
53
+ import { haptic } from '@metacells/mcellui-core';
54
54
 
55
55
  const AnimatedPressable = Animated.createAnimatedComponent(Pressable);
56
56
 
@@ -23,7 +23,7 @@ import Animated, {
23
23
  withSequence,
24
24
  Easing,
25
25
  } from 'react-native-reanimated';
26
- import { useTheme, areAnimationsDisabled } from '@nativeui/core';
26
+ import { useTheme, areAnimationsDisabled } from '@metacells/mcellui-core';
27
27
 
28
28
  export type ProgressSize = 'sm' | 'md' | 'lg';
29
29
  export type ProgressColor = 'default' | 'primary' | 'success' | 'warning' | 'destructive';
@@ -38,7 +38,7 @@ import Animated, {
38
38
  Easing,
39
39
  cancelAnimation,
40
40
  } from 'react-native-reanimated';
41
- import { useTheme, areAnimationsDisabled } from '@nativeui/core';
41
+ import { useTheme, areAnimationsDisabled } from '@metacells/mcellui-core';
42
42
 
43
43
  export interface PullToRefreshProps {
44
44
  /** Whether currently refreshing */
@@ -33,8 +33,8 @@ import Animated, {
33
33
  interpolateColor,
34
34
  Extrapolation,
35
35
  } from 'react-native-reanimated';
36
- import { useTheme, ThemeColors, springs as themeSpringPresets } from '@nativeui/core';
37
- import { haptic } from '@nativeui/core';
36
+ import { useTheme, ThemeColors, springs as themeSpringPresets } from '@metacells/mcellui-core';
37
+ import { haptic } from '@metacells/mcellui-core';
38
38
 
39
39
  // Context for sharing state between RadioGroup and RadioGroupItem
40
40
  interface RadioGroupContextValue {
@@ -38,7 +38,7 @@ import Animated, {
38
38
  withSequence,
39
39
  withTiming,
40
40
  } from 'react-native-reanimated';
41
- import { useTheme, haptic } from '@nativeui/core';
41
+ import { useTheme, haptic } from '@metacells/mcellui-core';
42
42
 
43
43
  const AnimatedPressable = Animated.createAnimatedComponent(Pressable);
44
44
 
@@ -19,7 +19,7 @@
19
19
 
20
20
  import React, { forwardRef } from 'react';
21
21
  import { View, ViewProps, ViewStyle } from 'react-native';
22
- import { useTheme } from '@nativeui/core';
22
+ import { useTheme } from '@metacells/mcellui-core';
23
23
 
24
24
  // Semantic gap values
25
25
  type GapSemantic = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
@@ -32,7 +32,7 @@ import {
32
32
  StyleSheet,
33
33
  } from 'react-native';
34
34
  import { useSafeAreaInsets, Edge } from 'react-native-safe-area-context';
35
- import { useTheme } from '@nativeui/core';
35
+ import { useTheme } from '@metacells/mcellui-core';
36
36
 
37
37
  export type ScreenVariant = 'default' | 'surface' | 'muted';
38
38
 
@@ -47,8 +47,8 @@ import Animated, {
47
47
  interpolate,
48
48
  } from 'react-native-reanimated';
49
49
  import Svg, { Path, Circle } from 'react-native-svg';
50
- import { useTheme } from '@nativeui/core';
51
- import { haptic } from '@nativeui/core';
50
+ import { useTheme } from '@metacells/mcellui-core';
51
+ import { haptic } from '@metacells/mcellui-core';
52
52
 
53
53
  // ─────────────────────────────────────────────────────────────────────────────
54
54
  // Types
@@ -47,8 +47,8 @@ import Animated, {
47
47
  withSpring,
48
48
  } from 'react-native-reanimated';
49
49
  import Svg, { Path } from 'react-native-svg';
50
- import { useTheme } from '@nativeui/core';
51
- import { haptic } from '@nativeui/core';
50
+ import { useTheme } from '@metacells/mcellui-core';
51
+ import { haptic } from '@metacells/mcellui-core';
52
52
 
53
53
  const AnimatedPressable = Animated.createAnimatedComponent(Pressable);
54
54
 
@@ -36,8 +36,8 @@ import Animated, {
36
36
  useAnimatedStyle,
37
37
  withSpring,
38
38
  } from 'react-native-reanimated';
39
- import { useTheme, areAnimationsDisabled } from '@nativeui/core';
40
- import { haptic } from '@nativeui/core';
39
+ import { useTheme, areAnimationsDisabled } from '@metacells/mcellui-core';
40
+ import { haptic } from '@metacells/mcellui-core';
41
41
 
42
42
  export type SegmentedControlSize = 'sm' | 'md' | 'lg';
43
43
 
@@ -39,8 +39,8 @@ import Animated, {
39
39
  interpolateColor,
40
40
  Easing,
41
41
  } from 'react-native-reanimated';
42
- import { useTheme } from '@nativeui/core';
43
- import { haptic } from '@nativeui/core';
42
+ import { useTheme } from '@metacells/mcellui-core';
43
+ import { haptic } from '@metacells/mcellui-core';
44
44
 
45
45
  const TIMING_CONFIG = { duration: 200, easing: Easing.out(Easing.quad) };
46
46
  import {
@@ -20,7 +20,7 @@ import {
20
20
  ViewStyle,
21
21
  ViewProps,
22
22
  } from 'react-native';
23
- import { useTheme } from '@nativeui/core';
23
+ import { useTheme } from '@metacells/mcellui-core';
24
24
 
25
25
  export type SeparatorOrientation = 'horizontal' | 'vertical';
26
26
 
@@ -47,7 +47,7 @@ import {
47
47
  GestureDetector,
48
48
  GestureHandlerRootView,
49
49
  } from 'react-native-gesture-handler';
50
- import { useTheme, SHEET_CONSTANTS, areAnimationsDisabled } from '@nativeui/core';
50
+ import { useTheme, SHEET_CONSTANTS, areAnimationsDisabled } from '@metacells/mcellui-core';
51
51
 
52
52
  const { height: SCREEN_HEIGHT } = Dimensions.get('window');
53
53
 
@@ -22,7 +22,7 @@ import Animated, {
22
22
  interpolate,
23
23
  Easing,
24
24
  } from 'react-native-reanimated';
25
- import { useTheme, areAnimationsDisabled } from '@nativeui/core';
25
+ import { useTheme, areAnimationsDisabled } from '@metacells/mcellui-core';
26
26
 
27
27
  export type SkeletonRadius = 'none' | 'sm' | 'md' | 'lg' | 'full';
28
28
 
@@ -33,8 +33,8 @@ import {
33
33
  Gesture,
34
34
  GestureDetector,
35
35
  } from 'react-native-gesture-handler';
36
- import { useTheme, areAnimationsDisabled } from '@nativeui/core';
37
- import { haptic } from '@nativeui/core';
36
+ import { useTheme, areAnimationsDisabled } from '@metacells/mcellui-core';
37
+ import { haptic } from '@metacells/mcellui-core';
38
38
 
39
39
  export type SliderSize = 'sm' | 'md' | 'lg';
40
40
 
@@ -21,7 +21,7 @@ import {
21
21
  ViewStyle,
22
22
  ActivityIndicatorProps,
23
23
  } from 'react-native';
24
- import { useTheme } from '@nativeui/core';
24
+ import { useTheme } from '@metacells/mcellui-core';
25
25
 
26
26
  export type SpinnerSize = 'sm' | 'md' | 'lg';
27
27
  export type SpinnerColor = 'default' | 'primary' | 'secondary' | 'muted';
@@ -28,8 +28,8 @@ import Animated, {
28
28
  useAnimatedStyle,
29
29
  withSpring,
30
30
  } from 'react-native-reanimated';
31
- import { useTheme, areAnimationsDisabled } from '@nativeui/core';
32
- import { haptic } from '@nativeui/core';
31
+ import { useTheme, areAnimationsDisabled } from '@metacells/mcellui-core';
32
+ import { haptic } from '@metacells/mcellui-core';
33
33
 
34
34
  const AnimatedPressable = Animated.createAnimatedComponent(Pressable);
35
35
 
@@ -50,7 +50,7 @@ import Animated, {
50
50
  Easing,
51
51
  } from 'react-native-reanimated';
52
52
  import { LinearGradient } from 'expo-linear-gradient';
53
- import { useTheme, haptic } from '@nativeui/core';
53
+ import { useTheme, haptic } from '@metacells/mcellui-core';
54
54
 
55
55
  const AnimatedPressable = Animated.createAnimatedComponent(Pressable);
56
56
 
@@ -48,8 +48,8 @@ import {
48
48
  Gesture,
49
49
  GestureDetector,
50
50
  } from 'react-native-gesture-handler';
51
- import { useTheme, areAnimationsDisabled } from '@nativeui/core';
52
- import { haptic } from '@nativeui/core';
51
+ import { useTheme, areAnimationsDisabled } from '@metacells/mcellui-core';
52
+ import { haptic } from '@metacells/mcellui-core';
53
53
 
54
54
  const SCREEN_WIDTH = Dimensions.get('window').width;
55
55
  const ACTION_WIDTH = 80;
@@ -31,8 +31,8 @@ import Animated, {
31
31
  interpolateColor,
32
32
  Extrapolation,
33
33
  } from 'react-native-reanimated';
34
- import { useTheme, areAnimationsDisabled } from '@nativeui/core';
35
- import { haptic } from '@nativeui/core';
34
+ import { useTheme, areAnimationsDisabled } from '@metacells/mcellui-core';
35
+ import { haptic } from '@metacells/mcellui-core';
36
36
 
37
37
  export type SwitchSize = 'sm' | 'md' | 'lg';
38
38
 
@@ -57,8 +57,8 @@ import Animated, {
57
57
  useAnimatedStyle,
58
58
  withSpring,
59
59
  } from 'react-native-reanimated';
60
- import { useTheme, areAnimationsDisabled } from '@nativeui/core';
61
- import { haptic } from '@nativeui/core';
60
+ import { useTheme, areAnimationsDisabled } from '@metacells/mcellui-core';
61
+ import { haptic } from '@metacells/mcellui-core';
62
62
 
63
63
  // Context
64
64
  interface TabsContextValue {
@@ -31,8 +31,8 @@ import Animated, {
31
31
  interpolateColor,
32
32
  Easing,
33
33
  } from 'react-native-reanimated';
34
- import { useTheme } from '@nativeui/core';
35
- import { haptic } from '@nativeui/core';
34
+ import { useTheme } from '@metacells/mcellui-core';
35
+ import { haptic } from '@metacells/mcellui-core';
36
36
 
37
37
  const TIMING_CONFIG = { duration: 200, easing: Easing.out(Easing.quad) };
38
38
 
@@ -49,8 +49,8 @@ import Animated, {
49
49
  Layout,
50
50
  } from 'react-native-reanimated';
51
51
  import { useSafeAreaInsets } from 'react-native-safe-area-context';
52
- import { useTheme, TOAST_CONSTANTS, areAnimationsDisabled } from '@nativeui/core';
53
- import { haptic } from '@nativeui/core';
52
+ import { useTheme, TOAST_CONSTANTS, areAnimationsDisabled } from '@metacells/mcellui-core';
53
+ import { haptic } from '@metacells/mcellui-core';
54
54
 
55
55
  const { width: SCREEN_WIDTH } = Dimensions.get('window');
56
56
 
@@ -39,7 +39,7 @@ import Animated, {
39
39
  withTiming,
40
40
  withSpring,
41
41
  } from 'react-native-reanimated';
42
- import { useTheme, haptic } from '@nativeui/core';
42
+ import { useTheme, haptic } from '@metacells/mcellui-core';
43
43
 
44
44
  const { width: SCREEN_WIDTH, height: SCREEN_HEIGHT } = Dimensions.get('window');
45
45