@yahoo/uds 1.0.0 → 1.1.0

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 (166) hide show
  1. package/cli/bin/uds-darwin-arm64-baseline +0 -0
  2. package/cli/bin/uds-linux-x64-baseline +0 -0
  3. package/dist/{chunk-CNSDQ4UJ.cjs → chunk-2IVMFNWO.cjs} +3 -3
  4. package/dist/{chunk-HY56NZEJ.js → chunk-7IXBPSW7.js} +2 -2
  5. package/dist/{chunk-VG5VAHYR.cjs → chunk-COAW5U7I.cjs} +2 -2
  6. package/dist/{chunk-MIEZCJHO.cjs → chunk-FUUHK3KY.cjs} +1 -1
  7. package/dist/{chunk-5MYSY56L.js → chunk-HUI56XBO.js} +1 -1
  8. package/dist/{chunk-FMWP4OJR.js → chunk-JPWL2FQ4.js} +1 -1
  9. package/dist/{chunk-D5GE4WP4.cjs → chunk-LPSBCR5I.cjs} +2 -2
  10. package/dist/{chunk-6G2JWFC3.js → chunk-N4DCBD5Z.js} +4 -4
  11. package/dist/{chunk-L7X6ZDMI.js → chunk-TOC3K5HJ.js} +2 -2
  12. package/dist/{chunk-B7X77UTF.cjs → chunk-TTWB3TUG.cjs} +2 -2
  13. package/dist/{chunk-5UHMAJB4.js → chunk-UMOO6CJW.js} +1 -1
  14. package/dist/{chunk-HR7JPJLN.cjs → chunk-VHMLH3ZR.cjs} +2 -2
  15. package/dist/{chunk-TO7LE2BM.js → chunk-VN24RDUH.js} +2 -2
  16. package/dist/{chunk-HF5DHYIT.cjs → chunk-XDGPT2CN.cjs} +1 -1
  17. package/dist/{chunk-WRJEEPKK.cjs → chunk-XZP5NPIC.cjs} +1 -1
  18. package/dist/{chunk-55JFYGC7.js → chunk-ZL6ABLCA.js} +2 -2
  19. package/dist/client/index.cjs +3 -3
  20. package/dist/client/index.js +5 -5
  21. package/dist/experimental/index.cjs +2 -2
  22. package/dist/experimental/index.js +2 -2
  23. package/dist/experimental/index.native.cjs +1 -1
  24. package/dist/experimental/index.native.js +1 -1
  25. package/dist/index.cjs +1 -1
  26. package/dist/index.js +2 -2
  27. package/dist/index.native.cjs +1 -1
  28. package/dist/index.native.js +1 -1
  29. package/dist/metafile-cjs.json +1 -1
  30. package/dist/metafile-esm.json +1 -1
  31. package/dist/tailwind/plugin.cjs +2 -2
  32. package/dist/tailwind/plugin.js +3 -3
  33. package/dist/tailwind/purger.cjs +1 -1
  34. package/dist/tailwind/purger.js +1 -1
  35. package/dist/tailwind/tsMorph.cjs +2 -2
  36. package/dist/tailwind/tsMorph.js +2 -2
  37. package/dist/tailwind/utils.cjs +1 -1
  38. package/dist/tailwind/utils.js +1 -1
  39. package/dist/tokens/index.cjs +1 -1
  40. package/dist/tokens/index.js +1 -1
  41. package/dist/tokens/index.native.cjs +1 -1
  42. package/dist/tokens/index.native.js +1 -1
  43. package/dist/tokens/parseTokens.cjs +1 -1
  44. package/dist/tokens/parseTokens.js +1 -1
  45. package/package.json +207 -207
  46. package/cli/bin/uds-darwin-x64 +0 -0
  47. package/cli/bin/uds-linux-arm64 +0 -0
  48. package/cli/bin/uds-windows-x64-baseline.exe +0 -0
  49. package/dist/Image.native-BTcdQraV.d.ts +0 -39
  50. package/dist/Image.native-D6qA03vT.d.ts +0 -39
  51. package/dist/Image.native-D96MZTYD.d.cts +0 -39
  52. package/dist/Image.native-DX2YWGZD.d.ts +0 -39
  53. package/dist/Image.native-f8x4GPuV.d.cts +0 -39
  54. package/dist/Image.native-mHTDIRbL.d.cts +0 -39
  55. package/dist/chunk-2C7RDVXS.js +0 -3
  56. package/dist/chunk-2JQBQOM6.cjs +0 -4
  57. package/dist/chunk-47ZDV5TW.js +0 -3
  58. package/dist/chunk-4EJ6WK3H.cjs +0 -2
  59. package/dist/chunk-5DFU4PSC.cjs +0 -2
  60. package/dist/chunk-5LDKFAU4.cjs +0 -2
  61. package/dist/chunk-5YEIGJJN.js +0 -3
  62. package/dist/chunk-6QLTGUJB.cjs +0 -2
  63. package/dist/chunk-77JE2H36.js +0 -2
  64. package/dist/chunk-7A7DDMD7.cjs +0 -2
  65. package/dist/chunk-7BKASJ4D.cjs +0 -3
  66. package/dist/chunk-7ICJCQTV.cjs +0 -4
  67. package/dist/chunk-7OODVPL6.cjs +0 -2
  68. package/dist/chunk-7SJRCGTP.js +0 -3
  69. package/dist/chunk-AKOUDLRN.cjs +0 -2
  70. package/dist/chunk-AV442FHA.js +0 -3
  71. package/dist/chunk-AY4XUL7M.cjs +0 -3
  72. package/dist/chunk-BIYOCTWR.js +0 -3
  73. package/dist/chunk-BNBFA73B.js +0 -4
  74. package/dist/chunk-BQB5NUKC.cjs +0 -3
  75. package/dist/chunk-CBSKS4K5.cjs +0 -2
  76. package/dist/chunk-CE5ROFEK.cjs +0 -3
  77. package/dist/chunk-CNY6ADXP.js +0 -3
  78. package/dist/chunk-D24YMS3F.cjs +0 -2
  79. package/dist/chunk-D3NVRUYG.cjs +0 -4
  80. package/dist/chunk-DIOVB5EV.js +0 -3
  81. package/dist/chunk-E53NU2VM.js +0 -2
  82. package/dist/chunk-E5X2STIU.js +0 -2
  83. package/dist/chunk-E6BTI63P.cjs +0 -2
  84. package/dist/chunk-E7QYUBHG.js +0 -3
  85. package/dist/chunk-EFYCREMN.js +0 -3
  86. package/dist/chunk-EMPQR5VI.js +0 -3
  87. package/dist/chunk-ET6WP7R7.js +0 -2
  88. package/dist/chunk-EXHCIY4P.cjs +0 -2
  89. package/dist/chunk-F56AWN2Z.js +0 -3
  90. package/dist/chunk-G7GQQIM5.js +0 -3
  91. package/dist/chunk-GVBZYWK6.js +0 -4
  92. package/dist/chunk-H2RSKIJ4.cjs +0 -2
  93. package/dist/chunk-HFHRMJKN.cjs +0 -2
  94. package/dist/chunk-HTDED6CG.js +0 -3
  95. package/dist/chunk-HUYXQPM5.cjs +0 -3
  96. package/dist/chunk-I2ENXXSN.js +0 -2
  97. package/dist/chunk-ITYNB2GX.js +0 -3
  98. package/dist/chunk-IVJD6N6G.cjs +0 -2
  99. package/dist/chunk-JVQ7PW3M.js +0 -3
  100. package/dist/chunk-KH3WJY4K.js +0 -4
  101. package/dist/chunk-KIDADDGN.js +0 -4
  102. package/dist/chunk-KTATHDMS.js +0 -3
  103. package/dist/chunk-L7K4GFJK.cjs +0 -3
  104. package/dist/chunk-LF6V2NFN.cjs +0 -3
  105. package/dist/chunk-LRJNSHQA.cjs +0 -2
  106. package/dist/chunk-MPK4ZX4R.js +0 -3
  107. package/dist/chunk-MPP74SLP.js +0 -2
  108. package/dist/chunk-N3LPKXTZ.cjs +0 -3
  109. package/dist/chunk-ND64MB7X.js +0 -2
  110. package/dist/chunk-NSPDKMNR.cjs +0 -2
  111. package/dist/chunk-O6FFTCHY.js +0 -3
  112. package/dist/chunk-OAYQHFZC.cjs +0 -3
  113. package/dist/chunk-OG5MIFO6.js +0 -3
  114. package/dist/chunk-OH7FOQCA.js +0 -3
  115. package/dist/chunk-OHOQVW2M.js +0 -3
  116. package/dist/chunk-OXDRC7K7.cjs +0 -3
  117. package/dist/chunk-PKL3JLWF.js +0 -2
  118. package/dist/chunk-PSZZ5NTF.cjs +0 -2
  119. package/dist/chunk-QAVZFB5J.cjs +0 -3
  120. package/dist/chunk-QENB6W4I.cjs +0 -4
  121. package/dist/chunk-QFPKRD7L.js +0 -3
  122. package/dist/chunk-QGADB35M.js +0 -4
  123. package/dist/chunk-RFY7RXSM.js +0 -3
  124. package/dist/chunk-RL274CM3.cjs +0 -2
  125. package/dist/chunk-RT46SXH4.cjs +0 -2
  126. package/dist/chunk-S37OVJTV.js +0 -2
  127. package/dist/chunk-SGN6JN5F.cjs +0 -2
  128. package/dist/chunk-TKOGPWM4.cjs +0 -2
  129. package/dist/chunk-TM36S4YW.cjs +0 -2
  130. package/dist/chunk-UI4NLXDH.cjs +0 -2
  131. package/dist/chunk-UWZYIALE.js +0 -3
  132. package/dist/chunk-VCELYR7Q.cjs +0 -3
  133. package/dist/chunk-VEIAMHP4.js +0 -2
  134. package/dist/chunk-VF7WOINA.cjs +0 -2
  135. package/dist/chunk-VHK4FEXK.cjs +0 -4
  136. package/dist/chunk-WEJOZLMZ.js +0 -2
  137. package/dist/chunk-WJBYPKLH.cjs +0 -3
  138. package/dist/chunk-WKHVRU4K.js +0 -3
  139. package/dist/chunk-WR7BWGMO.cjs +0 -2
  140. package/dist/chunk-X5VBG5D7.js +0 -3
  141. package/dist/chunk-XELIMPNH.cjs +0 -4
  142. package/dist/chunk-YACR35TD.js +0 -4
  143. package/dist/chunk-YUYEO5DZ.cjs +0 -2
  144. package/dist/chunk-ZDKN5LRE.js +0 -3
  145. package/dist/chunk-ZFYJXGZM.cjs +0 -2
  146. package/dist/chunk-ZMPSBRKW.js +0 -2
  147. package/dist/motionFeatures-GFOZDTZE.js +0 -1
  148. package/dist/motionFeatures-H5RRG7RP.js +0 -1
  149. package/dist/motionFeatures-WFC6MN64.cjs +0 -1
  150. package/dist/motionFeatures-WUDKXXR7.js +0 -1
  151. package/dist/motionFeatures-XXMSSBUB.cjs +0 -1
  152. package/dist/motionFeatures-ZAB6OWON.cjs +0 -1
  153. package/dist/types-BVfWAIpr.d.cts +0 -909
  154. package/dist/types-BVfWAIpr.d.ts +0 -909
  155. package/dist/types-BkcFcA6N.d.cts +0 -909
  156. package/dist/types-BkcFcA6N.d.ts +0 -909
  157. package/dist/types-C7KJV1b1.d.cts +0 -943
  158. package/dist/types-C7KJV1b1.d.ts +0 -943
  159. package/dist/types-DVTR9ROz.d.cts +0 -942
  160. package/dist/types-DVTR9ROz.d.ts +0 -942
  161. package/dist/types-JTm5E7im.d.cts +0 -943
  162. package/dist/types-JTm5E7im.d.ts +0 -943
  163. package/dist/types-uSRlDJAd.d.cts +0 -942
  164. package/dist/types-uSRlDJAd.d.ts +0 -942
  165. /package/dist/{motionFeatures-AEY3XSQX.js → motionFeatures-7CCHNGRR.js} +0 -0
  166. /package/dist/{motionFeatures-NR4MMJ3L.cjs → motionFeatures-VI4KVLFF.cjs} +0 -0
package/package.json CHANGED
@@ -1,207 +1,207 @@
1
- {
2
- "name": "@yahoo/uds",
3
- "description": "Yahoo Universal System",
4
- "version": "1.0.0",
5
- "type": "module",
6
- "bin": {
7
- "uds": "./cli/uds-cli"
8
- },
9
- "files": [
10
- "cli/**",
11
- "dist/**",
12
- "fonts/**",
13
- "package.json"
14
- ],
15
- "sideEffects": false,
16
- "exports": {
17
- ".": {
18
- "react-native": {
19
- "types": "./dist/index.native.d.ts",
20
- "require": "./dist/index.native.cjs",
21
- "default": "./dist/index.native.js"
22
- },
23
- "import": {
24
- "types": "./dist/index.d.ts",
25
- "default": "./dist/index.js"
26
- },
27
- "require": {
28
- "types": "./dist/index.d.cts",
29
- "default": "./dist/index.cjs"
30
- }
31
- },
32
- "./client": {
33
- "import": {
34
- "types": "./dist/client/index.d.ts",
35
- "default": "./dist/client/index.js"
36
- },
37
- "require": {
38
- "types": "./dist/client/index.d.cts",
39
- "default": "./dist/client/index.cjs"
40
- }
41
- },
42
- "./experimental": {
43
- "react-native": {
44
- "types": "./dist/experimental/index.native.d.ts",
45
- "require": "./dist/experimental/index.native.cjs",
46
- "default": "./dist/experimental/index.native.js"
47
- },
48
- "import": {
49
- "types": "./dist/experimental/index.d.ts",
50
- "default": "./dist/experimental/index.js"
51
- },
52
- "require": {
53
- "types": "./dist/experimental/index.d.cts",
54
- "default": "./dist/experimental/index.cjs"
55
- }
56
- },
57
- "./fixtures": {
58
- "import": {
59
- "types": "./dist/fixtures.d.ts",
60
- "default": "./dist/fixtures.js"
61
- },
62
- "require": {
63
- "types": "./dist/fixtures.d.ts",
64
- "default": "./dist/fixtures.cjs"
65
- }
66
- },
67
- "./fonts/*.otf": "./fonts/*.otf",
68
- "./fonts/*.ttf": "./fonts/*.ttf",
69
- "./fonts/*.woff2": "./fonts/*.woff2",
70
- "./fonts/*": {
71
- "types": "./fonts/*.d.ts",
72
- "require": "./fonts/*.cjs"
73
- },
74
- "./package.json": "./package.json",
75
- "./styles/*": "./dist/styles/*",
76
- "./tailwind/*": {
77
- "import": {
78
- "types": "./dist/tailwind/*.d.ts",
79
- "default": "./dist/tailwind/*.js"
80
- },
81
- "require": {
82
- "types": "./dist/tailwind/*.d.cts",
83
- "default": "./dist/tailwind/*.cjs"
84
- }
85
- },
86
- "./tokens": {
87
- "react-native": {
88
- "types": "./dist/tokens/index.native.d.ts",
89
- "require": "./dist/tokens/index.native.cjs",
90
- "default": "./dist/tokens/index.native.js"
91
- },
92
- "import": {
93
- "types": "./dist/tokens/index.d.ts",
94
- "default": "./dist/tokens/index.js"
95
- },
96
- "require": {
97
- "types": "./dist/tokens/index.d.cts",
98
- "default": "./dist/tokens/index.cjs"
99
- }
100
- },
101
- "./tokens/parseTokens": {
102
- "import": {
103
- "types": "./dist/tokens/parseTokens.d.ts",
104
- "default": "./dist/tokens/parseTokens.js"
105
- },
106
- "require": {
107
- "types": "./dist/tokens/parseTokens.d.cts",
108
- "default": "./dist/tokens/parseTokens.cjs"
109
- }
110
- }
111
- },
112
- "scripts": {
113
- "build": "bun run ./scripts/prebuild.ts && tsup && bun run ./scripts/postbuild.ts",
114
- "build:cli": "bun ./cli/compile.ts",
115
- "build:fixtures": "bun run ./scripts/buildFixtures.ts",
116
- "build:purgeCSSData": "bun run ./scripts/generatePurgeCSSData.ts",
117
- "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist && rm -rf .coverage",
118
- "dev": "concurrently bun:dev:*",
119
- "dev:fixtures": "bun run ./scripts/buildFixtures.ts --watch",
120
- "dev:purgeCSSData": "bun run ./scripts/generatePurgeCSSData.ts --watch",
121
- "dev:ts": "tsup --watch",
122
- "lint": "ESLINT_USE_FLAT_CONFIG=true eslint -c eslint.config.mjs .",
123
- "lint:pkg": "bun publint",
124
- "test": "vitest run",
125
- "test:bun": "bun run test:bun:scripts && bun run test:bun:cli",
126
- "test:bun:cli": "cd ./cli && bun test",
127
- "test:bun:scripts": "cd ./scripts && bun test",
128
- "test:coverage": "vitest run --coverage",
129
- "test:ui": "vitest --ui --coverage",
130
- "test:watch": "vitest",
131
- "typecheck": "concurrently bun:typecheck:*",
132
- "typecheck:cli": "tsc -p ./cli --noEmit",
133
- "typecheck:scripts": "tsc -p ./scripts --noEmit",
134
- "typecheck:uds": "tsc -p . --noEmit"
135
- },
136
- "dependencies": {
137
- "@ariakit/react": "^0.4.5",
138
- "bluebun": "^0.0.34",
139
- "clsx": "^2.1.0",
140
- "framer-motion": "^11.3.28",
141
- "lodash-es": "^4.17.21",
142
- "prompts": "^2.4.2",
143
- "react-toastify": "^10.0.5",
144
- "semver": "^7.6.2",
145
- "tailwind-merge": "^2.3.0",
146
- "ts-morph": "^23.0.0"
147
- },
148
- "devDependencies": {
149
- "@fullhuman/postcss-purgecss": "^6.0.0",
150
- "@types/prompts": "^2.4.9",
151
- "@types/react": "^18.2.74",
152
- "@types/react-dom": "^18.2.24",
153
- "@yahoo/uds-icons": "workspace:*",
154
- "autoprefixer": "^10.4.19",
155
- "chalk": "^5.3.0",
156
- "concurrently": "^8.2.2",
157
- "postcss": "^8.4.38",
158
- "tailwindcss": "^3.4.3",
159
- "terser": "^5.30.4",
160
- "tsconfig": "workspace:*",
161
- "tsup": "^8.0.2"
162
- },
163
- "peerDependencies": {
164
- "@gorhom/bottom-sheet": "^4.6.1",
165
- "@react-navigation/native": "^6.1.17",
166
- "expo-constants": "^16.0.0",
167
- "expo-image": "^1.10.6",
168
- "expo-status-bar": "^1.11.1",
169
- "react": "^18.2.0",
170
- "react-dom": "^18.2.0",
171
- "react-native": "^0.74.0",
172
- "react-native-safe-area-context": "^4.9.0",
173
- "tailwindcss": "^3.4.3"
174
- },
175
- "peerDependenciesMeta": {
176
- "@gorhom/bottom-sheet": {
177
- "optional": true
178
- },
179
- "@react-navigation/native": {
180
- "optional": true
181
- },
182
- "expo-constants": {
183
- "optional": true
184
- },
185
- "expo-image": {
186
- "optional": true
187
- },
188
- "expo-status-bar": {
189
- "optional": true
190
- },
191
- "react": {
192
- "optional": false
193
- },
194
- "react-dom": {
195
- "optional": true
196
- },
197
- "react-native": {
198
- "optional": true
199
- },
200
- "react-native-safe-area-context": {
201
- "optional": true
202
- },
203
- "tailwindcss": {
204
- "optional": true
205
- }
206
- }
207
- }
1
+ {
2
+ "name": "@yahoo/uds",
3
+ "description": "Yahoo Universal System",
4
+ "version": "1.1.0",
5
+ "type": "module",
6
+ "bin": {
7
+ "uds": "./cli/uds-cli"
8
+ },
9
+ "files": [
10
+ "cli/**",
11
+ "dist/**",
12
+ "fonts/**",
13
+ "package.json"
14
+ ],
15
+ "sideEffects": false,
16
+ "exports": {
17
+ ".": {
18
+ "react-native": {
19
+ "types": "./dist/index.native.d.ts",
20
+ "require": "./dist/index.native.cjs",
21
+ "default": "./dist/index.native.js"
22
+ },
23
+ "import": {
24
+ "types": "./dist/index.d.ts",
25
+ "default": "./dist/index.js"
26
+ },
27
+ "require": {
28
+ "types": "./dist/index.d.cts",
29
+ "default": "./dist/index.cjs"
30
+ }
31
+ },
32
+ "./client": {
33
+ "import": {
34
+ "types": "./dist/client/index.d.ts",
35
+ "default": "./dist/client/index.js"
36
+ },
37
+ "require": {
38
+ "types": "./dist/client/index.d.cts",
39
+ "default": "./dist/client/index.cjs"
40
+ }
41
+ },
42
+ "./experimental": {
43
+ "react-native": {
44
+ "types": "./dist/experimental/index.native.d.ts",
45
+ "require": "./dist/experimental/index.native.cjs",
46
+ "default": "./dist/experimental/index.native.js"
47
+ },
48
+ "import": {
49
+ "types": "./dist/experimental/index.d.ts",
50
+ "default": "./dist/experimental/index.js"
51
+ },
52
+ "require": {
53
+ "types": "./dist/experimental/index.d.cts",
54
+ "default": "./dist/experimental/index.cjs"
55
+ }
56
+ },
57
+ "./fixtures": {
58
+ "import": {
59
+ "types": "./dist/fixtures.d.ts",
60
+ "default": "./dist/fixtures.js"
61
+ },
62
+ "require": {
63
+ "types": "./dist/fixtures.d.ts",
64
+ "default": "./dist/fixtures.cjs"
65
+ }
66
+ },
67
+ "./fonts/*.otf": "./fonts/*.otf",
68
+ "./fonts/*.ttf": "./fonts/*.ttf",
69
+ "./fonts/*.woff2": "./fonts/*.woff2",
70
+ "./fonts/*": {
71
+ "types": "./fonts/*.d.ts",
72
+ "require": "./fonts/*.cjs"
73
+ },
74
+ "./package.json": "./package.json",
75
+ "./styles/*": "./dist/styles/*",
76
+ "./tailwind/*": {
77
+ "import": {
78
+ "types": "./dist/tailwind/*.d.ts",
79
+ "default": "./dist/tailwind/*.js"
80
+ },
81
+ "require": {
82
+ "types": "./dist/tailwind/*.d.cts",
83
+ "default": "./dist/tailwind/*.cjs"
84
+ }
85
+ },
86
+ "./tokens": {
87
+ "react-native": {
88
+ "types": "./dist/tokens/index.native.d.ts",
89
+ "require": "./dist/tokens/index.native.cjs",
90
+ "default": "./dist/tokens/index.native.js"
91
+ },
92
+ "import": {
93
+ "types": "./dist/tokens/index.d.ts",
94
+ "default": "./dist/tokens/index.js"
95
+ },
96
+ "require": {
97
+ "types": "./dist/tokens/index.d.cts",
98
+ "default": "./dist/tokens/index.cjs"
99
+ }
100
+ },
101
+ "./tokens/parseTokens": {
102
+ "import": {
103
+ "types": "./dist/tokens/parseTokens.d.ts",
104
+ "default": "./dist/tokens/parseTokens.js"
105
+ },
106
+ "require": {
107
+ "types": "./dist/tokens/parseTokens.d.cts",
108
+ "default": "./dist/tokens/parseTokens.cjs"
109
+ }
110
+ }
111
+ },
112
+ "scripts": {
113
+ "build": "bun run ./scripts/prebuild.ts && tsup && bun run ./scripts/postbuild.ts",
114
+ "build:cli": "bun ./cli/compile.ts",
115
+ "build:fixtures": "bun run ./scripts/buildFixtures.ts",
116
+ "build:purgeCSSData": "bun run ./scripts/generatePurgeCSSData.ts",
117
+ "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist && rm -rf .coverage",
118
+ "dev": "concurrently bun:dev:*",
119
+ "dev:fixtures": "bun run ./scripts/buildFixtures.ts --watch",
120
+ "dev:purgeCSSData": "bun run ./scripts/generatePurgeCSSData.ts --watch",
121
+ "dev:ts": "tsup --watch",
122
+ "lint": "ESLINT_USE_FLAT_CONFIG=true eslint -c eslint.config.mjs .",
123
+ "lint:pkg": "bun publint",
124
+ "test": "vitest run",
125
+ "test:bun": "bun run test:bun:scripts && bun run test:bun:cli",
126
+ "test:bun:cli": "cd ./cli && bun test",
127
+ "test:bun:scripts": "cd ./scripts && bun test",
128
+ "test:coverage": "vitest run --coverage",
129
+ "test:ui": "vitest --ui --coverage",
130
+ "test:watch": "vitest",
131
+ "typecheck": "concurrently bun:typecheck:*",
132
+ "typecheck:cli": "tsc -p ./cli --noEmit",
133
+ "typecheck:scripts": "tsc -p ./scripts --noEmit",
134
+ "typecheck:uds": "tsc -p . --noEmit"
135
+ },
136
+ "dependencies": {
137
+ "@ariakit/react": "^0.4.5",
138
+ "bluebun": "^0.0.34",
139
+ "clsx": "^2.1.0",
140
+ "framer-motion": "^11.3.28",
141
+ "lodash-es": "^4.17.21",
142
+ "prompts": "^2.4.2",
143
+ "react-toastify": "^10.0.5",
144
+ "semver": "^7.6.2",
145
+ "tailwind-merge": "^2.3.0",
146
+ "ts-morph": "^23.0.0"
147
+ },
148
+ "devDependencies": {
149
+ "@fullhuman/postcss-purgecss": "^6.0.0",
150
+ "@types/prompts": "^2.4.9",
151
+ "@types/react": "^18.2.74",
152
+ "@types/react-dom": "^18.2.24",
153
+ "@yahoo/uds-icons": "0.0.14",
154
+ "autoprefixer": "^10.4.19",
155
+ "chalk": "^5.3.0",
156
+ "concurrently": "^8.2.2",
157
+ "postcss": "^8.4.38",
158
+ "tailwindcss": "^3.4.3",
159
+ "terser": "^5.30.4",
160
+ "tsconfig": "0.0.1",
161
+ "tsup": "^8.0.2"
162
+ },
163
+ "peerDependencies": {
164
+ "@gorhom/bottom-sheet": "^4.6.1",
165
+ "@react-navigation/native": "^6.1.17",
166
+ "expo-constants": "^16.0.0",
167
+ "expo-image": "^1.10.6",
168
+ "expo-status-bar": "^1.11.1",
169
+ "react": "^18.2.0",
170
+ "react-dom": "^18.2.0",
171
+ "react-native": "^0.74.0",
172
+ "react-native-safe-area-context": "^4.9.0",
173
+ "tailwindcss": "^3.4.3"
174
+ },
175
+ "peerDependenciesMeta": {
176
+ "@gorhom/bottom-sheet": {
177
+ "optional": true
178
+ },
179
+ "@react-navigation/native": {
180
+ "optional": true
181
+ },
182
+ "expo-constants": {
183
+ "optional": true
184
+ },
185
+ "expo-image": {
186
+ "optional": true
187
+ },
188
+ "expo-status-bar": {
189
+ "optional": true
190
+ },
191
+ "react": {
192
+ "optional": false
193
+ },
194
+ "react-dom": {
195
+ "optional": true
196
+ },
197
+ "react-native": {
198
+ "optional": true
199
+ },
200
+ "react-native-safe-area-context": {
201
+ "optional": true
202
+ },
203
+ "tailwindcss": {
204
+ "optional": true
205
+ }
206
+ }
207
+ }
Binary file
Binary file
@@ -1,39 +0,0 @@
1
- import * as react from 'react';
2
- import { b as UniversalPressableProps, c as UniversalIconButtonProps, d as UniversalImageProps } from './types-BVfWAIpr.js';
3
- import { View, PressableProps as PressableProps$1, StyleProp, ViewStyle } from 'react-native';
4
- import * as react_jsx_runtime from 'react/jsx-runtime';
5
- import { ImageProps as ImageProps$1 } from 'expo-image';
6
-
7
- type NativePressableProps = Omit<PressableProps$1, 'children' | 'style' | 'onPress'> & {
8
- style?: StyleProp<ViewStyle>;
9
- };
10
- interface PressableProps extends UniversalPressableProps, NativePressableProps {
11
- }
12
- declare const Pressable: react.ForwardRefExoticComponent<PressableProps & react.RefAttributes<View>>;
13
-
14
- interface IconButtonProps extends PressableProps, UniversalIconButtonProps {
15
- }
16
- /**
17
- * An icon button is essentially an interactive icon. They should be used to
18
- * display an icon which, when clicked, allows the user to trigger an action.
19
- * Icon buttons provide additional features such hover states, focus states, and
20
- * pressable functionality.
21
- *
22
- * **Basic usage**
23
- * ```tsx
24
- * import { IconButton } from "@yahoo/uds";
25
- * import { AddFolder } from "@yahoo/uds-icons";
26
- *
27
- * <IconButton name={AddFolder} variant="accent" iconVariant="outline" />
28
- * ```
29
- */
30
- declare const IconButton: react.ForwardRefExoticComponent<IconButtonProps & react.RefAttributes<View>>;
31
-
32
- interface ImageProps extends Omit<ImageProps$1, 'alt' | 'source'>, UniversalImageProps {
33
- }
34
- /**
35
- * An image element
36
- */
37
- declare function Image({ width: imageWidth, height: imageHeight, src, alt, contentFit, backgroundColor, borderRadius, borderTopStartRadius, borderTopEndRadius, borderBottomStartRadius, borderBottomEndRadius, borderColor, borderStartColor, borderEndColor, borderTopColor, borderBottomColor, borderWidth, borderVerticalWidth, borderHorizontalWidth, borderStartWidth, borderEndWidth, borderTopWidth, borderBottomWidth, alignContent, alignItems, alignSelf, flex, flexDirection, flexGrow, flexShrink, flexWrap, justifyContent, flexBasis, display, overflow, overflowX, overflowY, position, spacing, spacingHorizontal, spacingVertical, spacingBottom, spacingEnd, spacingStart, spacingTop, offset, offsetVertical, offsetHorizontal, offsetBottom, offsetEnd, offsetStart, offsetTop, columnGap, rowGap, ...props }: ImageProps): react_jsx_runtime.JSX.Element;
38
-
39
- export { type ImageProps as I, type PressableProps as P, IconButton as a, type IconButtonProps as b, Image as c, Pressable as d };
@@ -1,39 +0,0 @@
1
- import * as react from 'react';
2
- import { b as UniversalPressableProps, c as UniversalIconButtonProps, d as UniversalImageProps } from './types-C7KJV1b1.js';
3
- import { View, PressableProps as PressableProps$1, StyleProp, ViewStyle } from 'react-native';
4
- import * as react_jsx_runtime from 'react/jsx-runtime';
5
- import { ImageProps as ImageProps$1 } from 'expo-image';
6
-
7
- type NativePressableProps = Omit<PressableProps$1, 'children' | 'style' | 'onPress'> & {
8
- style?: StyleProp<ViewStyle>;
9
- };
10
- interface PressableProps extends UniversalPressableProps, NativePressableProps {
11
- }
12
- declare const Pressable: react.ForwardRefExoticComponent<PressableProps & react.RefAttributes<View>>;
13
-
14
- interface IconButtonProps extends PressableProps, UniversalIconButtonProps {
15
- }
16
- /**
17
- * An icon button is essentially an interactive icon. They should be used to
18
- * display an icon which, when clicked, allows the user to trigger an action.
19
- * Icon buttons provide additional features such hover states, focus states, and
20
- * pressable functionality.
21
- *
22
- * **Basic usage**
23
- * ```tsx
24
- * import { IconButton } from "@yahoo/uds";
25
- * import { AddFolder } from "@yahoo/uds-icons";
26
- *
27
- * <IconButton name={AddFolder} variant="accent" iconVariant="outline" />
28
- * ```
29
- */
30
- declare const IconButton: react.ForwardRefExoticComponent<IconButtonProps & react.RefAttributes<View>>;
31
-
32
- interface ImageProps extends Omit<ImageProps$1, 'alt' | 'source'>, UniversalImageProps {
33
- }
34
- /**
35
- * An image element
36
- */
37
- declare function Image({ width: imageWidth, height: imageHeight, src, alt, contentFit, backgroundColor, borderRadius, borderTopStartRadius, borderTopEndRadius, borderBottomStartRadius, borderBottomEndRadius, borderColor, borderStartColor, borderEndColor, borderTopColor, borderBottomColor, borderWidth, borderVerticalWidth, borderHorizontalWidth, borderStartWidth, borderEndWidth, borderTopWidth, borderBottomWidth, alignContent, alignItems, alignSelf, flex, flexDirection, flexGrow, flexShrink, flexWrap, justifyContent, flexBasis, display, overflow, overflowX, overflowY, position, spacing, spacingHorizontal, spacingVertical, spacingBottom, spacingEnd, spacingStart, spacingTop, offset, offsetVertical, offsetHorizontal, offsetBottom, offsetEnd, offsetStart, offsetTop, columnGap, rowGap, ...props }: ImageProps): react_jsx_runtime.JSX.Element;
38
-
39
- export { type ImageProps as I, type PressableProps as P, IconButton as a, type IconButtonProps as b, Image as c, Pressable as d };
@@ -1,39 +0,0 @@
1
- import * as react from 'react';
2
- import { b as UniversalPressableProps, c as UniversalIconButtonProps, d as UniversalImageProps } from './types-BVfWAIpr.cjs';
3
- import { View, PressableProps as PressableProps$1, StyleProp, ViewStyle } from 'react-native';
4
- import * as react_jsx_runtime from 'react/jsx-runtime';
5
- import { ImageProps as ImageProps$1 } from 'expo-image';
6
-
7
- type NativePressableProps = Omit<PressableProps$1, 'children' | 'style' | 'onPress'> & {
8
- style?: StyleProp<ViewStyle>;
9
- };
10
- interface PressableProps extends UniversalPressableProps, NativePressableProps {
11
- }
12
- declare const Pressable: react.ForwardRefExoticComponent<PressableProps & react.RefAttributes<View>>;
13
-
14
- interface IconButtonProps extends PressableProps, UniversalIconButtonProps {
15
- }
16
- /**
17
- * An icon button is essentially an interactive icon. They should be used to
18
- * display an icon which, when clicked, allows the user to trigger an action.
19
- * Icon buttons provide additional features such hover states, focus states, and
20
- * pressable functionality.
21
- *
22
- * **Basic usage**
23
- * ```tsx
24
- * import { IconButton } from "@yahoo/uds";
25
- * import { AddFolder } from "@yahoo/uds-icons";
26
- *
27
- * <IconButton name={AddFolder} variant="accent" iconVariant="outline" />
28
- * ```
29
- */
30
- declare const IconButton: react.ForwardRefExoticComponent<IconButtonProps & react.RefAttributes<View>>;
31
-
32
- interface ImageProps extends Omit<ImageProps$1, 'alt' | 'source'>, UniversalImageProps {
33
- }
34
- /**
35
- * An image element
36
- */
37
- declare function Image({ width: imageWidth, height: imageHeight, src, alt, contentFit, backgroundColor, borderRadius, borderTopStartRadius, borderTopEndRadius, borderBottomStartRadius, borderBottomEndRadius, borderColor, borderStartColor, borderEndColor, borderTopColor, borderBottomColor, borderWidth, borderVerticalWidth, borderHorizontalWidth, borderStartWidth, borderEndWidth, borderTopWidth, borderBottomWidth, alignContent, alignItems, alignSelf, flex, flexDirection, flexGrow, flexShrink, flexWrap, justifyContent, flexBasis, display, overflow, overflowX, overflowY, position, spacing, spacingHorizontal, spacingVertical, spacingBottom, spacingEnd, spacingStart, spacingTop, offset, offsetVertical, offsetHorizontal, offsetBottom, offsetEnd, offsetStart, offsetTop, columnGap, rowGap, ...props }: ImageProps): react_jsx_runtime.JSX.Element;
38
-
39
- export { type ImageProps as I, type PressableProps as P, IconButton as a, type IconButtonProps as b, Image as c, Pressable as d };
@@ -1,39 +0,0 @@
1
- import * as react from 'react';
2
- import { b as UniversalPressableProps, c as UniversalIconButtonProps, d as UniversalImageProps } from './types-DVTR9ROz.js';
3
- import { View, PressableProps as PressableProps$1, StyleProp, ViewStyle } from 'react-native';
4
- import * as react_jsx_runtime from 'react/jsx-runtime';
5
- import { ImageProps as ImageProps$1 } from 'expo-image';
6
-
7
- type NativePressableProps = Omit<PressableProps$1, 'children' | 'style' | 'onPress'> & {
8
- style?: StyleProp<ViewStyle>;
9
- };
10
- interface PressableProps extends UniversalPressableProps, NativePressableProps {
11
- }
12
- declare const Pressable: react.ForwardRefExoticComponent<PressableProps & react.RefAttributes<View>>;
13
-
14
- interface IconButtonProps extends PressableProps, UniversalIconButtonProps {
15
- }
16
- /**
17
- * An icon button is essentially an interactive icon. They should be used to
18
- * display an icon which, when clicked, allows the user to trigger an action.
19
- * Icon buttons provide additional features such hover states, focus states, and
20
- * pressable functionality.
21
- *
22
- * **Basic usage**
23
- * ```tsx
24
- * import { IconButton } from "@yahoo/uds";
25
- * import { AddFolder } from "@yahoo/uds-icons";
26
- *
27
- * <IconButton name={AddFolder} variant="accent" iconVariant="outline" />
28
- * ```
29
- */
30
- declare const IconButton: react.ForwardRefExoticComponent<IconButtonProps & react.RefAttributes<View>>;
31
-
32
- interface ImageProps extends Omit<ImageProps$1, 'alt' | 'source'>, UniversalImageProps {
33
- }
34
- /**
35
- * An image element
36
- */
37
- declare function Image({ width: imageWidth, height: imageHeight, src, alt, contentFit, backgroundColor, borderRadius, borderTopStartRadius, borderTopEndRadius, borderBottomStartRadius, borderBottomEndRadius, borderColor, borderStartColor, borderEndColor, borderTopColor, borderBottomColor, borderWidth, borderVerticalWidth, borderHorizontalWidth, borderStartWidth, borderEndWidth, borderTopWidth, borderBottomWidth, alignContent, alignItems, alignSelf, flex, flexDirection, flexGrow, flexShrink, flexWrap, justifyContent, flexBasis, display, overflow, overflowX, overflowY, position, spacing, spacingHorizontal, spacingVertical, spacingBottom, spacingEnd, spacingStart, spacingTop, offset, offsetVertical, offsetHorizontal, offsetBottom, offsetEnd, offsetStart, offsetTop, columnGap, rowGap, ...props }: ImageProps): react_jsx_runtime.JSX.Element;
38
-
39
- export { type ImageProps as I, type PressableProps as P, IconButton as a, type IconButtonProps as b, Image as c, Pressable as d };
@@ -1,39 +0,0 @@
1
- import * as react from 'react';
2
- import { b as UniversalPressableProps, c as UniversalIconButtonProps, d as UniversalImageProps } from './types-C7KJV1b1.cjs';
3
- import { View, PressableProps as PressableProps$1, StyleProp, ViewStyle } from 'react-native';
4
- import * as react_jsx_runtime from 'react/jsx-runtime';
5
- import { ImageProps as ImageProps$1 } from 'expo-image';
6
-
7
- type NativePressableProps = Omit<PressableProps$1, 'children' | 'style' | 'onPress'> & {
8
- style?: StyleProp<ViewStyle>;
9
- };
10
- interface PressableProps extends UniversalPressableProps, NativePressableProps {
11
- }
12
- declare const Pressable: react.ForwardRefExoticComponent<PressableProps & react.RefAttributes<View>>;
13
-
14
- interface IconButtonProps extends PressableProps, UniversalIconButtonProps {
15
- }
16
- /**
17
- * An icon button is essentially an interactive icon. They should be used to
18
- * display an icon which, when clicked, allows the user to trigger an action.
19
- * Icon buttons provide additional features such hover states, focus states, and
20
- * pressable functionality.
21
- *
22
- * **Basic usage**
23
- * ```tsx
24
- * import { IconButton } from "@yahoo/uds";
25
- * import { AddFolder } from "@yahoo/uds-icons";
26
- *
27
- * <IconButton name={AddFolder} variant="accent" iconVariant="outline" />
28
- * ```
29
- */
30
- declare const IconButton: react.ForwardRefExoticComponent<IconButtonProps & react.RefAttributes<View>>;
31
-
32
- interface ImageProps extends Omit<ImageProps$1, 'alt' | 'source'>, UniversalImageProps {
33
- }
34
- /**
35
- * An image element
36
- */
37
- declare function Image({ width: imageWidth, height: imageHeight, src, alt, contentFit, backgroundColor, borderRadius, borderTopStartRadius, borderTopEndRadius, borderBottomStartRadius, borderBottomEndRadius, borderColor, borderStartColor, borderEndColor, borderTopColor, borderBottomColor, borderWidth, borderVerticalWidth, borderHorizontalWidth, borderStartWidth, borderEndWidth, borderTopWidth, borderBottomWidth, alignContent, alignItems, alignSelf, flex, flexDirection, flexGrow, flexShrink, flexWrap, justifyContent, flexBasis, display, overflow, overflowX, overflowY, position, spacing, spacingHorizontal, spacingVertical, spacingBottom, spacingEnd, spacingStart, spacingTop, offset, offsetVertical, offsetHorizontal, offsetBottom, offsetEnd, offsetStart, offsetTop, columnGap, rowGap, ...props }: ImageProps): react_jsx_runtime.JSX.Element;
38
-
39
- export { type ImageProps as I, type PressableProps as P, IconButton as a, type IconButtonProps as b, Image as c, Pressable as d };