@yahoo/uds 1.0.0 → 1.1.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.
Files changed (201) hide show
  1. package/cli/bin/uds-darwin-arm64-baseline +0 -0
  2. package/cli/bin/uds-linux-x64-baseline +0 -0
  3. package/cli/commands/expo/build.ts +1 -1
  4. package/cli/commands/sync.ts +1 -1
  5. package/cli/utils/configWorker.ts +2 -2
  6. package/cli/utils/purgeCSS.ts +2 -2
  7. package/cli/utils/setupConfigWorker.ts +2 -2
  8. package/cli/utils/types.ts +5 -2
  9. package/dist/{Image.native-D96MZTYD.d.cts → Image.native-BnaKznW1.d.cts} +1 -1
  10. package/dist/{Image.native-D6qA03vT.d.ts → Image.native-BySeDVdT.d.ts} +1 -1
  11. package/dist/{chunk-VG5VAHYR.cjs → chunk-5AGBM4YW.cjs} +2 -2
  12. package/dist/{chunk-BNBFA73B.js → chunk-BJZSTZKO.js} +4 -4
  13. package/dist/{chunk-B7X77UTF.cjs → chunk-BQENUWKR.cjs} +2 -2
  14. package/dist/{chunk-D5GE4WP4.cjs → chunk-FXA7CXCG.cjs} +2 -2
  15. package/dist/{chunk-HY56NZEJ.js → chunk-G56DRBBO.js} +2 -2
  16. package/dist/{chunk-FMWP4OJR.js → chunk-HDTC4SXA.js} +1 -1
  17. package/dist/{chunk-MIEZCJHO.cjs → chunk-QDDUQMIL.cjs} +1 -1
  18. package/dist/{chunk-55JFYGC7.js → chunk-RTLUKBLZ.js} +2 -2
  19. package/dist/{chunk-WRJEEPKK.cjs → chunk-UEKY6CPD.cjs} +1 -1
  20. package/dist/{chunk-HR7JPJLN.cjs → chunk-UNYRPTSW.cjs} +2 -2
  21. package/dist/{chunk-5MYSY56L.js → chunk-V4IAOCQT.js} +1 -1
  22. package/dist/{chunk-HF5DHYIT.cjs → chunk-V4KQO6WZ.cjs} +1 -1
  23. package/dist/{chunk-TO7LE2BM.js → chunk-VYFYXMA5.js} +2 -2
  24. package/dist/{chunk-5UHMAJB4.js → chunk-WTM3H6RK.js} +1 -1
  25. package/dist/{chunk-CNSDQ4UJ.cjs → chunk-XHR7XP5T.cjs} +3 -3
  26. package/dist/{chunk-L7X6ZDMI.js → chunk-XVDIMP4I.js} +2 -2
  27. package/dist/client/index.cjs +3 -3
  28. package/dist/client/index.d.cts +2 -1
  29. package/dist/client/index.d.ts +2 -1
  30. package/dist/client/index.js +4 -4
  31. package/dist/experimental/index.cjs +2 -2
  32. package/dist/experimental/index.d.cts +9 -17
  33. package/dist/experimental/index.d.ts +9 -17
  34. package/dist/experimental/index.js +2 -2
  35. package/dist/experimental/index.native.cjs +2 -2
  36. package/dist/experimental/index.native.d.cts +4 -3
  37. package/dist/experimental/index.native.d.ts +4 -3
  38. package/dist/experimental/index.native.js +2 -2
  39. package/dist/fixtures.cjs +1 -1
  40. package/dist/fixtures.d.ts +2 -2
  41. package/dist/fixtures.js +1 -1
  42. package/dist/index.cjs +1 -1
  43. package/dist/index.d.cts +3 -2
  44. package/dist/index.d.ts +3 -2
  45. package/dist/index.js +2 -2
  46. package/dist/index.native.cjs +2 -2
  47. package/dist/index.native.d.cts +5 -5
  48. package/dist/index.native.d.ts +5 -5
  49. package/dist/index.native.js +2 -2
  50. package/dist/metafile-cjs.json +1 -1
  51. package/dist/metafile-esm.json +1 -1
  52. package/dist/tailwind/plugin.cjs +2 -2
  53. package/dist/tailwind/plugin.d.cts +2 -1
  54. package/dist/tailwind/plugin.d.ts +2 -1
  55. package/dist/tailwind/plugin.js +3 -3
  56. package/dist/tailwind/purger.cjs +1 -1
  57. package/dist/tailwind/purger.js +1 -1
  58. package/dist/tailwind/tsMorph.cjs +2 -2
  59. package/dist/tailwind/tsMorph.js +2 -2
  60. package/dist/tailwind/utils.cjs +1 -1
  61. package/dist/tailwind/utils.d.cts +2 -1
  62. package/dist/tailwind/utils.d.ts +2 -1
  63. package/dist/tailwind/utils.js +1 -1
  64. package/dist/tokens/index.cjs +1 -1
  65. package/dist/tokens/index.d.cts +3 -2
  66. package/dist/tokens/index.d.ts +3 -2
  67. package/dist/tokens/index.js +1 -1
  68. package/dist/tokens/index.native.cjs +1 -1
  69. package/dist/tokens/index.native.d.cts +3 -2
  70. package/dist/tokens/index.native.d.ts +3 -2
  71. package/dist/tokens/index.native.js +1 -1
  72. package/dist/tokens/parseTokens.cjs +1 -1
  73. package/dist/tokens/parseTokens.d.cts +2 -1
  74. package/dist/tokens/parseTokens.d.ts +2 -1
  75. package/dist/tokens/parseTokens.js +1 -1
  76. package/dist/{types-C4OR1S9X.d.cts → types-B_LqmFC1.d.cts} +2 -4
  77. package/dist/{types-C4OR1S9X.d.ts → types-B_LqmFC1.d.ts} +2 -4
  78. package/dist/{types-Bi1Q20iy.d.ts → types-CDWK8Kiq.d.cts} +2 -4
  79. package/dist/{types-Bi1Q20iy.d.cts → types-CDWK8Kiq.d.ts} +2 -4
  80. package/package.json +207 -207
  81. package/cli/bin/uds-darwin-x64 +0 -0
  82. package/cli/bin/uds-linux-arm64 +0 -0
  83. package/cli/bin/uds-windows-x64-baseline.exe +0 -0
  84. package/dist/Image.native-BTcdQraV.d.ts +0 -39
  85. package/dist/Image.native-DX2YWGZD.d.ts +0 -39
  86. package/dist/Image.native-M8D2Y2sv.d.cts +0 -39
  87. package/dist/Image.native-QRZjcXm7.d.ts +0 -39
  88. package/dist/Image.native-f8x4GPuV.d.cts +0 -39
  89. package/dist/Image.native-mHTDIRbL.d.cts +0 -39
  90. package/dist/chunk-2C7RDVXS.js +0 -3
  91. package/dist/chunk-2JQBQOM6.cjs +0 -4
  92. package/dist/chunk-47ZDV5TW.js +0 -3
  93. package/dist/chunk-4EJ6WK3H.cjs +0 -2
  94. package/dist/chunk-5DFU4PSC.cjs +0 -2
  95. package/dist/chunk-5LDKFAU4.cjs +0 -2
  96. package/dist/chunk-5YEIGJJN.js +0 -3
  97. package/dist/chunk-6G2JWFC3.js +0 -4
  98. package/dist/chunk-6QLTGUJB.cjs +0 -2
  99. package/dist/chunk-77JE2H36.js +0 -2
  100. package/dist/chunk-7A7DDMD7.cjs +0 -2
  101. package/dist/chunk-7BKASJ4D.cjs +0 -3
  102. package/dist/chunk-7ICJCQTV.cjs +0 -4
  103. package/dist/chunk-7OODVPL6.cjs +0 -2
  104. package/dist/chunk-7SJRCGTP.js +0 -3
  105. package/dist/chunk-AKOUDLRN.cjs +0 -2
  106. package/dist/chunk-AV442FHA.js +0 -3
  107. package/dist/chunk-AY4XUL7M.cjs +0 -3
  108. package/dist/chunk-BIYOCTWR.js +0 -3
  109. package/dist/chunk-BQB5NUKC.cjs +0 -3
  110. package/dist/chunk-CBSKS4K5.cjs +0 -2
  111. package/dist/chunk-CE5ROFEK.cjs +0 -3
  112. package/dist/chunk-CNY6ADXP.js +0 -3
  113. package/dist/chunk-D24YMS3F.cjs +0 -2
  114. package/dist/chunk-D3NVRUYG.cjs +0 -4
  115. package/dist/chunk-DIOVB5EV.js +0 -3
  116. package/dist/chunk-E53NU2VM.js +0 -2
  117. package/dist/chunk-E5X2STIU.js +0 -2
  118. package/dist/chunk-E6BTI63P.cjs +0 -2
  119. package/dist/chunk-E7QYUBHG.js +0 -3
  120. package/dist/chunk-EFYCREMN.js +0 -3
  121. package/dist/chunk-EMPQR5VI.js +0 -3
  122. package/dist/chunk-ET6WP7R7.js +0 -2
  123. package/dist/chunk-EXHCIY4P.cjs +0 -2
  124. package/dist/chunk-F56AWN2Z.js +0 -3
  125. package/dist/chunk-G7GQQIM5.js +0 -3
  126. package/dist/chunk-GVBZYWK6.js +0 -4
  127. package/dist/chunk-H2RSKIJ4.cjs +0 -2
  128. package/dist/chunk-HFHRMJKN.cjs +0 -2
  129. package/dist/chunk-HTDED6CG.js +0 -3
  130. package/dist/chunk-HUYXQPM5.cjs +0 -3
  131. package/dist/chunk-I2ENXXSN.js +0 -2
  132. package/dist/chunk-ITYNB2GX.js +0 -3
  133. package/dist/chunk-IVJD6N6G.cjs +0 -2
  134. package/dist/chunk-JVQ7PW3M.js +0 -3
  135. package/dist/chunk-KH3WJY4K.js +0 -4
  136. package/dist/chunk-KIDADDGN.js +0 -4
  137. package/dist/chunk-KTATHDMS.js +0 -3
  138. package/dist/chunk-L7K4GFJK.cjs +0 -3
  139. package/dist/chunk-LF6V2NFN.cjs +0 -3
  140. package/dist/chunk-LRJNSHQA.cjs +0 -2
  141. package/dist/chunk-MPK4ZX4R.js +0 -3
  142. package/dist/chunk-MPP74SLP.js +0 -2
  143. package/dist/chunk-N3LPKXTZ.cjs +0 -3
  144. package/dist/chunk-ND64MB7X.js +0 -2
  145. package/dist/chunk-NSPDKMNR.cjs +0 -2
  146. package/dist/chunk-O6FFTCHY.js +0 -3
  147. package/dist/chunk-OAYQHFZC.cjs +0 -3
  148. package/dist/chunk-OG5MIFO6.js +0 -3
  149. package/dist/chunk-OH7FOQCA.js +0 -3
  150. package/dist/chunk-OHOQVW2M.js +0 -3
  151. package/dist/chunk-OXDRC7K7.cjs +0 -3
  152. package/dist/chunk-PKL3JLWF.js +0 -2
  153. package/dist/chunk-PSZZ5NTF.cjs +0 -2
  154. package/dist/chunk-QAVZFB5J.cjs +0 -3
  155. package/dist/chunk-QENB6W4I.cjs +0 -4
  156. package/dist/chunk-QFPKRD7L.js +0 -3
  157. package/dist/chunk-QGADB35M.js +0 -4
  158. package/dist/chunk-RFY7RXSM.js +0 -3
  159. package/dist/chunk-RL274CM3.cjs +0 -2
  160. package/dist/chunk-RT46SXH4.cjs +0 -2
  161. package/dist/chunk-S37OVJTV.js +0 -2
  162. package/dist/chunk-SGN6JN5F.cjs +0 -2
  163. package/dist/chunk-TKOGPWM4.cjs +0 -2
  164. package/dist/chunk-TM36S4YW.cjs +0 -2
  165. package/dist/chunk-UI4NLXDH.cjs +0 -2
  166. package/dist/chunk-UWZYIALE.js +0 -3
  167. package/dist/chunk-VCELYR7Q.cjs +0 -3
  168. package/dist/chunk-VEIAMHP4.js +0 -2
  169. package/dist/chunk-VF7WOINA.cjs +0 -2
  170. package/dist/chunk-VHK4FEXK.cjs +0 -4
  171. package/dist/chunk-WEJOZLMZ.js +0 -2
  172. package/dist/chunk-WJBYPKLH.cjs +0 -3
  173. package/dist/chunk-WKHVRU4K.js +0 -3
  174. package/dist/chunk-WR7BWGMO.cjs +0 -2
  175. package/dist/chunk-X5VBG5D7.js +0 -3
  176. package/dist/chunk-XELIMPNH.cjs +0 -4
  177. package/dist/chunk-YACR35TD.js +0 -4
  178. package/dist/chunk-YUYEO5DZ.cjs +0 -2
  179. package/dist/chunk-ZDKN5LRE.js +0 -3
  180. package/dist/chunk-ZFYJXGZM.cjs +0 -2
  181. package/dist/chunk-ZMPSBRKW.js +0 -2
  182. package/dist/motionFeatures-GFOZDTZE.js +0 -1
  183. package/dist/motionFeatures-H5RRG7RP.js +0 -1
  184. package/dist/motionFeatures-WFC6MN64.cjs +0 -1
  185. package/dist/motionFeatures-WUDKXXR7.js +0 -1
  186. package/dist/motionFeatures-XXMSSBUB.cjs +0 -1
  187. package/dist/motionFeatures-ZAB6OWON.cjs +0 -1
  188. package/dist/types-BVfWAIpr.d.cts +0 -909
  189. package/dist/types-BVfWAIpr.d.ts +0 -909
  190. package/dist/types-BkcFcA6N.d.cts +0 -909
  191. package/dist/types-BkcFcA6N.d.ts +0 -909
  192. package/dist/types-C7KJV1b1.d.cts +0 -943
  193. package/dist/types-C7KJV1b1.d.ts +0 -943
  194. package/dist/types-DVTR9ROz.d.cts +0 -942
  195. package/dist/types-DVTR9ROz.d.ts +0 -942
  196. package/dist/types-JTm5E7im.d.cts +0 -943
  197. package/dist/types-JTm5E7im.d.ts +0 -943
  198. package/dist/types-uSRlDJAd.d.cts +0 -942
  199. package/dist/types-uSRlDJAd.d.ts +0 -942
  200. /package/dist/{motionFeatures-NR4MMJ3L.cjs → motionFeatures-X2TTGYMV.cjs} +0 -0
  201. /package/dist/{motionFeatures-AEY3XSQX.js → motionFeatures-Y7AWRH5K.js} +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.1",
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.10",
138
+ "bluebun": "^0.0.34",
139
+ "clsx": "^2.1.1",
140
+ "framer-motion": "^11.3.30",
141
+ "lodash-es": "^4.17.21",
142
+ "prompts": "^2.4.2",
143
+ "react-toastify": "^10.0.5",
144
+ "semver": "^7.6.3",
145
+ "tailwind-merge": "^2.5.2",
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.3.4",
152
+ "@types/react-dom": "^18.3.0",
153
+ "@yahoo/uds-icons": "1.0.0",
154
+ "autoprefixer": "^10.4.20",
155
+ "chalk": "^5.3.0",
156
+ "concurrently": "^8.2.2",
157
+ "postcss": "^8.4.41",
158
+ "tailwindcss": "^3.4.10",
159
+ "terser": "^5.31.6",
160
+ "tsconfig": "0.0.1",
161
+ "tsup": "^8.2.4"
162
+ },
163
+ "peerDependencies": {
164
+ "@gorhom/bottom-sheet": "^4.6.4",
165
+ "@react-navigation/native": "^6.1.18",
166
+ "expo-constants": "^16.0.2",
167
+ "expo-image": "^1.12.15",
168
+ "expo-status-bar": "^1.12.1",
169
+ "react": "^18.3.1",
170
+ "react-dom": "^18.3.1",
171
+ "react-native": "^0.75.2",
172
+ "react-native-safe-area-context": "^4.10.9",
173
+ "tailwindcss": "^3.4.10"
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-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-C4OR1S9X.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-C4OR1S9X.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 };