@blinkdotnew/mobile-ui 1.0.0 → 2.0.0-alpha.1

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@blinkdotnew/mobile-ui",
3
- "version": "1.0.0",
4
- "description": "Blink Mobile UI SDK — NativeWind-powered component library for Expo",
3
+ "version": "2.0.0-alpha.1",
4
+ "description": "Blink Mobile UI SDK — Tamagui-powered component library for Expo",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
7
7
  "types": "dist/index.d.ts",
@@ -10,12 +10,10 @@
10
10
  "types": "./dist/index.d.ts",
11
11
  "import": "./dist/index.mjs",
12
12
  "require": "./dist/index.js"
13
- },
14
- "./tailwind": "./tailwind.config.js"
13
+ }
15
14
  },
16
15
  "files": [
17
- "dist/**",
18
- "tailwind.config.js"
16
+ "dist/**"
19
17
  ],
20
18
  "scripts": {
21
19
  "build": "tsup",
@@ -24,66 +22,21 @@
24
22
  "clean": "rm -rf dist",
25
23
  "prepublishOnly": "npm run build"
26
24
  },
27
- "dependencies": {
28
- "clsx": "^2.1.1",
29
- "tailwind-merge": "^2.6.1"
30
- },
25
+ "dependencies": {},
31
26
  "devDependencies": {
32
27
  "@types/react": "^18.0.0",
33
- "nativewind": "^4.2.3",
34
28
  "react": "^18.3.0",
35
29
  "react-native": "^0.76.0",
36
- "tailwindcss": "^3.4.19",
30
+ "tamagui": "^1.141.5",
31
+ "@tamagui/core": "^1.141.5",
37
32
  "tsup": "^8.0.0",
38
33
  "typescript": "^5.0.0"
39
34
  },
40
35
  "peerDependencies": {
41
- "@expo/vector-icons": ">=14.0.0",
42
- "expo-blur": ">=14.0.0",
43
- "expo-haptics": ">=14.0.0",
44
- "expo-linear-gradient": ">=14.0.0",
45
- "lucide-react-native": ">=0.400.0",
46
- "nativewind": "^4.0.0",
47
36
  "react": ">=18.0.0",
48
37
  "react-native": ">=0.76.0",
49
- "react-native-actions-sheet": ">=0.9.0",
50
- "react-native-gesture-handler": ">=2.0.0",
51
- "react-native-reanimated": ">=3.0.0",
52
- "react-native-safe-area-context": ">=5.0.0",
53
- "react-native-svg": ">=15.0.0",
54
- "tailwindcss": ">=3.3.0"
55
- },
56
- "peerDependenciesMeta": {
57
- "expo-blur": {
58
- "optional": true
59
- },
60
- "expo-haptics": {
61
- "optional": true
62
- },
63
- "expo-linear-gradient": {
64
- "optional": true
65
- },
66
- "@expo/vector-icons": {
67
- "optional": true
68
- },
69
- "lucide-react-native": {
70
- "optional": true
71
- },
72
- "react-native-safe-area-context": {
73
- "optional": true
74
- },
75
- "react-native-reanimated": {
76
- "optional": true
77
- },
78
- "react-native-gesture-handler": {
79
- "optional": true
80
- },
81
- "react-native-svg": {
82
- "optional": true
83
- },
84
- "react-native-actions-sheet": {
85
- "optional": true
86
- }
38
+ "tamagui": ">=1.100.0",
39
+ "@tamagui/core": ">=1.100.0"
87
40
  },
88
41
  "publishConfig": {
89
42
  "access": "public"
@@ -1,47 +0,0 @@
1
- /** @type {import('tailwindcss').Config} */
2
- module.exports = {
3
- theme: {
4
- extend: {
5
- fontFamily: {
6
- 'outfit': ['Outfit_400Regular'],
7
- 'outfit-bold': ['Outfit_700Bold'],
8
- },
9
- spacing: {
10
- global: '16px',
11
- },
12
- colors: {
13
- primary: 'var(--color-primary)',
14
- 'primary-dark': 'var(--color-primary-dark)',
15
- 'primary-light': 'var(--color-primary-light)',
16
- 'primary-tint': 'var(--color-primary-tint)',
17
- invert: 'var(--color-invert)',
18
- secondary: 'var(--color-secondary)',
19
- background: 'var(--color-background)',
20
- surface: 'var(--color-surface)',
21
- 'surface-elevated': 'var(--color-surface-elevated)',
22
- text: 'var(--color-text)',
23
- 'text-secondary': 'var(--color-text-secondary)',
24
- 'text-muted': 'var(--color-text-muted)',
25
- subtext: 'var(--color-subtext)',
26
- highlight: 'var(--color-highlight)',
27
- accent: 'var(--color-accent)',
28
- border: 'var(--color-border)',
29
- 'border-light': 'var(--color-border-light)',
30
- darker: 'var(--color-darker)',
31
- error: 'var(--color-error)',
32
- success: 'var(--color-success)',
33
- warning: 'var(--color-warning)',
34
- overlay: 'var(--color-overlay)',
35
- },
36
- borderRadius: {
37
- 'xs': '2px',
38
- 'sm': '4px',
39
- 'md': '8px',
40
- 'lg': '12px',
41
- 'xl': '16px',
42
- '2xl': '20px',
43
- '3xl': '24px',
44
- },
45
- },
46
- },
47
- }