@yahoo/uds 0.4.0 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. package/cli/README.md +10 -0
  2. package/cli/codemods/propsToClass.test.tsx +97 -0
  3. package/cli/codemods/propsToClass.ts +221 -0
  4. package/cli/codemods/utils/sizingPropToClassMap.ts +89 -0
  5. package/cli/commands/codemod/codemod.ts +87 -0
  6. package/cli/commands/codemod/sizingProps.ts +17 -0
  7. package/cli/utils/getCommandHelp.ts +42 -3
  8. package/cli/utils/getDirChoices.ts +22 -0
  9. package/dist/{Image.native-DUAFJodS.d.ts → Image.native-BJfkUDnq.d.ts} +2 -2
  10. package/dist/{Image.native-B3I4JoH3.d.cts → Image.native-CddvOupj.d.cts} +2 -2
  11. package/dist/{VStack-BHlRUsOR.d.cts → VStack-CMGd5AX1.d.cts} +1 -1
  12. package/dist/{VStack-DMb_RGRS.d.ts → VStack-CjOrFgxd.d.ts} +1 -1
  13. package/dist/experimental/index.cjs +1 -1
  14. package/dist/experimental/index.d.cts +2 -2
  15. package/dist/experimental/index.d.ts +2 -2
  16. package/dist/experimental/index.js +1 -1
  17. package/dist/experimental/index.native.cjs +1 -1
  18. package/dist/experimental/index.native.d.cts +3 -3
  19. package/dist/experimental/index.native.d.ts +3 -3
  20. package/dist/experimental/index.native.js +1 -1
  21. package/dist/fixtures.cjs +286 -242
  22. package/dist/fixtures.d.ts +1 -1
  23. package/dist/fixtures.js +286 -242
  24. package/dist/index.cjs +1 -1
  25. package/dist/index.d.cts +7 -13
  26. package/dist/index.d.ts +7 -13
  27. package/dist/index.js +1 -1
  28. package/dist/{index.native-Bm-r2Dpa.d.cts → index.native-DG8RsS88.d.cts} +1 -1
  29. package/dist/{index.native-BTfOSmUx.d.ts → index.native-LymI5azd.d.ts} +1 -1
  30. package/dist/index.native.cjs +1 -1
  31. package/dist/index.native.d.cts +8 -8
  32. package/dist/index.native.d.ts +8 -8
  33. package/dist/index.native.js +1 -1
  34. package/dist/tailwindPlugin.cjs +1 -1
  35. package/dist/tailwindPlugin.d.cts +1 -1
  36. package/dist/tailwindPlugin.d.ts +1 -1
  37. package/dist/tailwindPlugin.js +1 -1
  38. package/dist/tailwindPurge.cjs +1 -1
  39. package/dist/tailwindPurge.js +1 -1
  40. package/dist/tokens/index.cjs +1 -1
  41. package/dist/tokens/index.d.cts +8 -3
  42. package/dist/tokens/index.d.ts +8 -3
  43. package/dist/tokens/index.js +1 -1
  44. package/dist/tokens/index.native.d.cts +2 -2
  45. package/dist/tokens/index.native.d.ts +2 -2
  46. package/dist/tokens/parseTokens.d.cts +1 -1
  47. package/dist/tokens/parseTokens.d.ts +1 -1
  48. package/dist/tokens/parseTokens.native.d.cts +1 -1
  49. package/dist/tokens/parseTokens.native.d.ts +1 -1
  50. package/dist/{types-COiuE8XK.d.cts → types-D-ttCAsE.d.cts} +3 -23
  51. package/dist/{types-COiuE8XK.d.ts → types-D-ttCAsE.d.ts} +3 -23
  52. package/package.json +4 -2
@@ -1 +1 @@
1
- var S={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},h={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var x={none:0,thin:1,medium:2,thick:2},b={none:0,thin:1,medium:2,thick:4};var u={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"0"},secondary:{hue:"gray",step:"2"}},foreground:{primary:{hue:"gray",step:"13"},secondary:{hue:"gray",step:"12"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},_={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"}},foreground:{primary:{hue:"gray",step:"14"},secondary:{hue:"gray",step:"13"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},I={white:"#ffffff",black:"#000000",transparent:"transparent"};var a={s:16,m:24,l:32},C=a,n={sm:16,md:24,lg:32},E=n;var A={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:20,8:24,9:28,10:32,11:36,12:40,13:44,14:48},F={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:24,8:32,9:40,10:48,11:56,12:64,13:72,14:80};var L={blue:{0:"242 250 255",1:"223 242 255",2:"202 234 255",3:"162 218 255",4:"125 203 255",5:"89 189 255",6:"18 169 255",7:"24 143 255",8:"15 105 255",9:"0 99 235",10:"0 89 222",11:"0 72 196",12:"0 55 164",13:"0 39 126",14:"0 23 83",15:"0 10 38"},purple:{0:"248 244 255",1:"235 229 255",2:"225 217 255",3:"213 207 255",4:"202 194 255",5:"176 159 252",6:"149 126 252",7:"131 103 255",8:"124 73 252",9:"126 31 255",10:"96 1 210",11:"80 21 176",12:"57 0 125",13:"43 0 103",14:"29 0 71",15:"16 0 38"},pink:{0:"255 247 252",1:"255 235 249",2:"254 216 247",3:"255 176 231",4:"255 133 211",5:"255 85 195",6:"255 54 161",7:"255 0 128",8:"230 0 115",9:"220 2 118",10:"178 6 102",11:"113 0 75",12:"85 0 58",13:"56 0 40",14:"45 0 34",15:"38 0 16"},red:{0:"255 250 250",1:"255 240 241",2:"255 231 232",3:"255 214 218",4:"255 187 192",5:"255 152 159",6:"253 106 116",7:"255 77 82",8:"238 0 23",9:"211 13 46",10:"187 0 10",11:"157 0 4",12:"127 0 0",13:"98 3 0",14:"68 4 0",15:"38 3 0"},yellow:{0:"255 253 238",1:"255 250 209",2:"255 246 161",4:"255 233 87",3:"255 242 125",5:"255 211 51",6:"229 185 23",7:"151 117 0",8:"124 90 0",9:"100 67 0",10:"88 57 0",11:"75 47 0",12:"58 34 0",13:"44 25 0",14:"32 17 0",15:"21 11 0"},green:{0:"246 255 244",1:"225 253 220",2:"202 250 197",3:"162 242 162",4:"126 228 135",5:"86 196 112",6:"48 161 89",7:"0 135 81",8:"10 122 68",9:"0 108 59",10:"4 94 52",11:"4 77 44",12:"4 59 35",13:"4 51 31",14:"4 43 27",15:"3 33 21"},teal:{0:"242 255 251",1:"224 255 248",2:"207 255 248",3:"177 255 243",4:"133 247 233",5:"78 232 220",6:"17 211 205",7:"0 160 160",8:"0 130 130",9:"0 122 122",10:"0 110 107",11:"0 89 86",12:"0 69 67",13:"0 54 53",14:"0 44 44",15:"0 38 38"},gray:{0:"255 255 255",1:"245 248 250",2:"240 243 245",3:"224 228 233",4:"199 205 210",5:"176 185 193",6:"151 158 168",7:"130 138 147",8:"110 119 128",9:"91 99 106",10:"70 78 86",11:"44 54 63",12:"35 42 49",13:"29 34 40",14:"16 21 24",15:"0 0 0"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",3:"249 208 167",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"226 105 0",8:"204 78 0",9:"191 73 0",10:"166 64 0",11:"145 56 0",12:"115 44 0",13:"94 37 1",14:"68 26 0",15:"38 15 0"},rose:{0:"255 247 250",1:"255 235 243",2:"255 224 239",3:"255 209 226",4:"255 193 213",5:"250 162 187",6:"233 126 157",7:"211 89 124",8:"189 57 95",9:"167 52 85",10:"144 47 75",11:"113 35 57",12:"87 27 44",13:"66 22 35",14:"50 18 27",15:"38 15 22"},sunset:{0:"255 240 238",1:"251 221 218",2:"247 203 199",3:"234 170 163",4:"221 140 130",5:"209 113 99",6:"196 89 71",7:"184 68 46",8:"171 51 24",9:"158 44 18",10:"145 38 12",11:"124 26 1",12:"102 22 0",13:"81 18 0",14:"60 13 0",15:"38 8 0"},brown:{0:"255 253 250",1:"255 246 224",2:"255 236 209",3:"251 221 191",4:"237 199 159",5:"217 170 118",6:"185 136 79",7:"151 104 47",8:"134 90 35",9:"117 76 25",10:"91 56 11",11:"71 42 4",12:"55 33 1",13:"45 27 0",14:"38 23 0",15:"26 16 0"},citron:{0:"253 255 230",1:"249 253 193",2:"245 252 158",3:"235 244 87",4:"222 231 23",5:"205 212 0",6:"184 188 0",7:"158 159 0",8:"122 122 0",9:"115 113 0",10:"101 99 0",11:"78 76 0",12:"61 58 0",13:"49 46 0",14:"42 39 0",15:"38 35 0"},lime:{0:"249 255 245",1:"237 255 224",2:"230 255 209",3:"217 250 190",4:"202 239 168",5:"172 222 122",6:"137 199 70",7:"101 169 21",8:"75 133 0",9:"70 122 0",10:"62 107 0",11:"50 83 0",12:"40 65 0",13:"33 51 0",14:"28 43 0",15:"26 38 0"},mint:{0:"245 255 249",1:"231 252 240",2:"218 248 232",3:"201 239 219",4:"174 224 199",5:"133 203 172",6:"88 179 142",7:"45 151 113",8:"12 122 88",9:"1 109 78",10:"1 96 71",11:"0 74 57",12:"0 58 46",13:"0 47 38",14:"0 41 33",15:"0 28 23"},cyan:{0:"245 255 255",1:"223 255 255",2:"201 255 255",3:"161 245 251",4:"121 229 240",5:"85 205 223",6:"54 177 201",7:"29 146 174",8:"20 114 142",9:"19 100 126",10:"17 86 111",11:"13 64 86",12:"10 48 67",13:"9 37 53",14:"8 29 44",15:"4 18 28"},indigo:{0:"242 244 255",1:"226 230 255",2:"209 213 255",3:"184 188 255",4:"156 160 255",5:"130 130 255",6:"109 110 255",7:"93 94 255",8:"64 64 227",9:"32 21 194",10:"26 13 171",11:"22 9 144",12:"18 5 118",13:"15 3 91",14:"11 1 65",15:"6 0 38"},magenta:{0:"244 235 255",1:"236 217 251",2:"229 199 247",3:"223 182 243",4:"220 166 240",5:"212 136 227",6:"207 109 214",7:"201 84 199",8:"188 61 177",9:"164 46 151",10:"140 32 126",11:"116 22 103",12:"92 13 81",13:"68 6 60",14:"44 2 39",15:"20 0 18"},nude:{0:"255 245 245",1:"251 222 221",2:"248 203 196",3:"235 185 172",4:"222 169 149",5:"202 155 136",6:"182 139 122",7:"162 122 106",8:"142 104 89",9:"131 93 80",10:"120 83 71",11:"100 61 48",12:"80 34 19",13:"60 14 0",14:"40 9 0",15:"20 4 0"},carbon:{0:"255 255 255",1:"252 251 251",2:"245 245 245",3:"227 227 227",4:"205 205 205",5:"176 176 176",6:"142 142 142",7:"106 106 106",8:"90 90 90",9:"68 68 68",10:"50 50 50",11:"41 41 41",12:"31 31 31",13:"20 20 20",14:"10 10 10",15:"0 0 0"}},R={blue:{0:"0 10 38",1:"0 14 57",2:"0 19 75",3:"0 29 102",4:"0 44 129",5:"0 63 156",6:"0 87 183",7:"0 116 210",8:"17 148 236",9:"18 169 255",10:"99 192 255",11:"125 203 255",12:"150 210 250",13:"182 224 252",14:"213 237 252",15:"240 247 252"},purple:{0:"25 0 38",1:"34 0 57",2:"42 0 75",3:"51 0 102",4:"57 0 125",5:"80 21 176",6:"96 1 210",7:"108 36 242",8:"119 89 255",9:"144 124 255",10:"165 149 248",11:"187 174 249",12:"209 201 251",13:"225 219 252",14:"235 232 254",15:"248 244 255"},pink:{0:"38 0 19",1:"48 0 23",2:"58 0 27",3:"75 0 34",4:"96 0 43",5:"123 0 54",6:"157 0 67",7:"194 0 81",8:"233 0 107",9:"255 0 128",10:"255 54 161",11:"255 101 186",12:"255 150 211",13:"255 186 228",14:"255 212 240",15:"255 229 247"},red:{0:"38 3 0",1:"57 3 0",2:"75 3 0",3:"102 1 0",4:"129 5 0",5:"156 15 12",6:"183 28 27",7:"210 46 47",8:"232 58 62",9:"255 77 82",10:"255 105 109",11:"255 135 141",12:"255 155 161",13:"255 183 188",14:"254 210 214",15:"255 240 241"},yellow:{0:"38 35 0",1:"48 42 0",2:"58 49 0",4:"96 73 0",3:"75 60 0",5:"123 91 0",6:"157 112 0",7:"194 136 0",8:"233 171 0",9:"255 204 0",10:"255 220 79",11:"255 232 102",12:"255 243 138",13:"255 249 163",14:"255 251 197",15:"255 253 238"},green:{0:"7 33 23",1:"7 43 29",2:"8 48 32",3:"8 55 36",4:"11 70 44",5:"14 91 55",6:"18 118 68",7:"23 149 83",8:"29 181 97",9:"26 197 103",10:"55 219 115",11:"91 235 126",12:"128 242 143",13:"169 251 169",14:"213 255 208",15:"247 255 245"},teal:{0:"0 35 38",1:"0 40 43",2:"0 45 49",3:"0 56 60",4:"0 73 76",5:"0 97 99",6:"0 126 127",7:"1 160 159",8:"15 194 190",9:"17 211 205",10:"52 227 222",11:"99 237 231",12:"145 249 243",13:"185 255 251",14:"216 255 252",15:"242 255 254"},gray:{0:"0 0 0",1:"16 21 24",2:"29 34 40",3:"35 42 49",4:"44 54 63",5:"70 78 86",6:"91 99 106",7:"110 119 128",8:"130 138 147",9:"151 158 168",10:"176 185 193",11:"199 205 210",12:"224 228 233",13:"240 243 245",14:"245 248 250",15:"255 255 255"},carbon:{0:"0 0 0",1:"10 10 10",2:"20 20 20",3:"31 31 31",4:"41 41 41",5:"50 50 50",6:"68 68 68",7:"90 90 90",8:"117 117 117",9:"142 142 142",10:"176 176 176",11:"205 205 205",12:"227 227 227",13:"245 245 245",14:"252 251 251",15:"255 255 255"},orange:{0:"38 15 0",1:"46 17 0",2:"54 19 0",3:"67 23 0",4:"86 28 0",5:"111 34 0",6:"142 41 0",7:"177 54 0",8:"229 80 0",9:"253 97 0",10:"255 123 41",11:"255 145 77",12:"255 161 102",13:"255 192 153",14:"255 224 204",15:"255 246 240"},rose:{0:"28 4 11",1:"38 5 15",2:"50 18 27",3:"66 22 35",4:"87 27 44",5:"113 35 57",6:"158 49 80",7:"191 58 96",8:"214 87 124",9:"221 108 141",10:"228 131 159",11:"245 164 188",12:"255 193 211",13:"255 214 226",14:"255 233 240",15:"255 251 252"},sunset:{0:"38 8 0",1:"54 11 0",2:"69 15 0",3:"100 20 0",4:"130 26 0",5:"156 40 12",6:"178 58 31",7:"197 79 53",8:"213 101 78",9:"219 112 90",10:"225 124 104",11:"235 147 131",12:"243 171 158",13:"249 194 185",14:"253 218 212",15:"255 241 238"},brown:{0:"38 23 0",1:"52 31 1",2:"66 40 2",3:"95 58 5",4:"123 75 10",5:"148 92 19",6:"168 108 31",7:"186 123 46",8:"200 138 66",9:"209 150 80",10:"219 165 103",11:"224 176 122",12:"229 190 148",13:"239 210 180",14:"248 230 212",15:"255 249 242"},citron:{0:"38 35 0",1:"42 39 0",2:"49 46 0",3:"61 58 0",4:"78 76 0",5:"101 99 0",6:"128 125 0",7:"153 153 0",8:"184 188 0",9:"205 212 0",10:"222 231 23",11:"235 244 87",12:"237 243 116",13:"243 249 158",14:"249 253 193",15:"254 255 238"},lime:{0:"20 38 0",1:"34 51 0",2:"41 63 0",3:"53 83 0",4:"65 104 2",5:"79 125 11",6:"94 145 24",7:"110 166 40",8:"127 187 60",9:"137 199 70",10:"151 209 90",11:"168 224 121",12:"184 237 148",13:"209 247 186",14:"226 255 211",15:"244 255 240"},mint:{0:"0 31 25",1:"0 41 34",2:"0 49 41",3:"0 62 52",4:"0 81 64",5:"0 106 77",6:"29 130 89",7:"33 150 104",8:"39 171 116",9:"72 194 129",10:"106 212 153",11:"149 222 182",12:"181 232 204",13:"209 244 224",14:"227 252 237",15:"242 255 248"},cyan:{0:"0 22 38",1:"0 32 54",2:"1 42 69",3:"3 65 100",4:"8 89 130",5:"15 114 156",6:"26 138 178",7:"41 161 197",8:"60 182 213",9:"72 192 219",10:"100 210 232",11:"124 227 242",12:"145 239 250",13:"179 244 249",14:"212 251 253",15:"242 255 255"},indigo:{0:"8 2 38",1:"13 4 65",2:"17 5 91",3:"20 7 117",4:"22 9 144",5:"26 13 171",6:"39 32 187",7:"60 63 219",8:"93 94 255",9:"112 117 242",10:"135 146 242",11:"163 175 251",12:"189 198 255",13:"211 214 255",14:"232 233 255",15:"252 253 255"},magenta:{0:"46 5 44",1:"63 6 58",2:"80 8 72",3:"96 11 86",4:"113 13 99",5:"138 23 122",6:"163 38 148",7:"188 61 177",8:"195 87 196",9:"194 116 205",10:"198 145 213",11:"206 172 222",13:"228 215 238",14:"239 231 247",15:"249 244 255",12:"217 195 230"},nude:{0:"20 0 0",1:"33 0 0",2:"46 0 0",3:"67 0 0",4:"89 20 18",5:"110 46 42",6:"132 73 66",7:"154 99 90",8:"175 124 112",9:"188 136 121",10:"200 147 131",11:"222 169 149",12:"230 189 170",13:"239 208 191",14:"247 224 210",15:"255 240 229"}};var t=["Helvetica Neue","Helvetica","Arial","sans-serif"],M=["Georgia","Times","Times New Roman","serif"],l={icons:{fallbacks:t,name:"yahoo-icons"},sans:{fallbacks:t,name:"yahoo-sans"},"sans-beta":{fallbacks:t,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:t,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:M,name:"yahoo-serif-text"},"serif-display":{fallbacks:M,name:"yahoo-serif-display"}},s={display1:"sans",display2:"sans",display3:"sans",title1:"sans",title2:"sans",title3:"sans",title4:"sans",headline1:"sans",body1:"sans",label1:"sans",label2:"sans",caption1:"sans",caption2:"sans",legal1:"sans"},z={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},r={display1:"black",display2:"extrabold",display3:"extrabold",title1:"bold",title2:"bold",title3:"bold",title4:"bold",headline1:"semibold",body1:"regular",label1:"semibold",label2:"regular",caption1:"semibold",caption2:"regular",legal1:"semibold"},p={display1:"uppercase",display2:"none",display3:"none",title1:"none",title2:"none",title3:"none",title4:"none",headline1:"none",body1:"none",label1:"none",label2:"none",caption1:"none",caption2:"none",legal1:"none"},c={fontSize:{display1:46,display2:37,display3:33,title1:29,title2:25,title3:21,title4:17,headline1:13,body1:13,label1:12,label2:12,caption1:11,caption2:11,legal1:10},lineHeight:{display1:44,display2:44,display3:44,title1:36,title2:32,title3:28,title4:24,headline1:16,body1:16,label1:16,label2:16,caption1:16,caption2:16,legal1:12}},d={fontSize:{display1:46,display2:38,display3:34,title1:30,title2:26,title3:22,title4:18,headline1:14,body1:14,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...c.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},o={fontSize:{display1:47,display2:39,display3:35,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...d.lineHeight,title2:36,title3:32}},g={fontSize:{...o.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...o.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},m={fontSize:{display1:50,display2:42,display3:38,title1:34,title2:30,title3:26,title4:22,headline1:18,body1:16,label1:16,label2:16,caption1:14,caption2:14,legal1:13},lineHeight:{...g.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},f={fontSize:{display1:52,display2:44,display3:40,title1:36,title2:32,title3:28,title4:26,headline1:20,body1:20,label1:18,label2:18,caption1:16,caption2:16,legal1:15},lineHeight:{...m.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},O={fontSize:{display1:54,display2:46,display3:42,title1:38,title2:34,title3:30,title4:28,headline1:22,body1:22,label1:20,label2:20,caption1:18,caption2:18,legal1:17},lineHeight:{...f.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var y={fontFamily:s,fontWeight:r,textTransform:p,avatarSizes:a,iconSizes:n,borderRadius:S,borderWidth:x,spacing:A},i={fontFamily:s,fontWeight:r,textTransform:p,avatarSizes:C,iconSizes:E,borderRadius:h,borderWidth:b,spacing:F},j={colorMode:{light:{palette:u,spectrum:L},dark:{palette:_,spectrum:R}},scaleMode:{xSmall:{...y,...c},small:{...y,...d},medium:{...y,...o},large:{...i,...g},xLarge:{...i,...m},xxLarge:{...i,...f},xxxLarge:{...i,...O}},fontFamily:l};var e="uds",q=`${e}-spectrum-color`,J=`${e}-font`,Q=`${e}-icon-size`,e1=`${e}-avatar-size`,t1=`${e}-border-radius`,o1=`${e}-border-width`,i1=`${e}-spacing`,a1=`${e}-font-size`,n1=`${e}-line-height`,l1=`${e}-font-weight`,s1=`${e}-text-transform`,r1=`${e}-color-mode-dark`,D=`${e}-color-mode-light`,p1=`${e}-scale-mode-xsmall`,c1=`${e}-scale-mode-small`,d1=`${e}-scale-mode-medium`,N=`${e}-scale-mode-large`,g1=`${e}-scale-mode-xlarge`,m1=`${e}-scale-mode-xxlarge`,f1=`${e}-scale-mode-xxxlarge`,y1=D,S1=N,h1=`--${e}-font-icons`,x1=`--${e}-font-sans`,b1=`--${e}-font-sans-beta`,u1=`--${e}-font-sans-condensed`,_1=`--${e}-font-serif-display`,C1=`--${e}-font-serif-text`;var A1="system",F1="system",L1="light",R1="large",M1=!1,O1="\u{1F1FA}\u{1F1F8} US";function I1(T){return Object.entries(T)}export{e1 as AVATAR_SIZE_PREFIX,t1 as BORDER_RADIUS_PREFIX,o1 as BORDER_WIDTH_PREFIX,r1 as DARK_COLOR_MODE_CLASSNAME,L1 as DEFAULT_COLOR_MODE,y1 as DEFAULT_COLOR_MODE_CLASSNAME,A1 as DEFAULT_COLOR_MODE_FOR_APP,M1 as DEFAULT_HIGH_CONTRAST_MODE,O1 as DEFAULT_REGION_MODE,R1 as DEFAULT_SCALE_MODE,S1 as DEFAULT_SCALE_MODE_CLASSNAME,F1 as DEFAULT_SCALE_MODE_FOR_APP,J as FONT_FAMILY_PREFIX,h1 as FONT_ICONS_CSS_VAR,b1 as FONT_SANS_BETA_CSS_VAR,u1 as FONT_SANS_CONDENSED_CSS_VAR,x1 as FONT_SANS_CSS_VAR,_1 as FONT_SERIF_DISPLAY_CSS_VAR,C1 as FONT_SERIF_TEXT_CSS_VAR,a1 as FONT_SIZE_PREFIX,l1 as FONT_WEIGHT_PREFIX,Q as ICON_SIZE_PREFIX,N as LARGE_SCALE_MODE_CLASSNAME,D as LIGHT_COLOR_MODE_CLASSNAME,n1 as LINE_HEIGHT_PREFIX,d1 as MEDIUM_SCALE_MODE_CLASSNAME,c1 as SMALL_SCALE_MODE_CLASSNAME,i1 as SPACING_PREFIX,q as SPECTRUM_COLOR_PREFIX,s1 as TEXT_TRANSFORM_PREFIX,e as UDS_PREFIX,g1 as XLARGE_SCALE_MODE_CLASSNAME,p1 as XSMALL_SCALE_MODE_CLASSNAME,m1 as XXLARGE_SCALE_MODE_CLASSNAME,f1 as XXXLARGE_SCALE_MODE_CLASSNAME,I as alwaysPalette,j as defaultTokensConfig,I1 as entries,l as fontFamilyGlobal,z as fontWeightMap};
1
+ var u={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},b={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var _={none:0,thin:1,medium:2,thick:2},C={none:0,thin:1,medium:2,thick:4};var E={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"0"},secondary:{hue:"gray",step:"2"}},foreground:{primary:{hue:"gray",step:"13"},secondary:{hue:"gray",step:"12"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},A={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"}},foreground:{primary:{hue:"gray",step:"14"},secondary:{hue:"gray",step:"13"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},N={white:"#ffffff",black:"#000000",transparent:"transparent"};var r={s:16,m:24,l:32},F=r,l={sm:16,md:24,lg:32},L=l;var R={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:20,8:24,9:28,10:32,11:36,12:40,13:44,14:48},T={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:24,8:32,9:40,10:48,11:56,12:64,13:72,14:80};var O={blue:{0:"242 250 255",1:"223 242 255",2:"202 234 255",3:"162 218 255",4:"125 203 255",5:"89 189 255",6:"18 169 255",7:"24 143 255",8:"15 105 255",9:"0 99 235",10:"0 89 222",11:"0 72 196",12:"0 55 164",13:"0 39 126",14:"0 23 83",15:"0 10 38"},purple:{0:"248 244 255",1:"235 229 255",2:"225 217 255",3:"213 207 255",4:"202 194 255",5:"176 159 252",6:"149 126 252",7:"131 103 255",8:"124 73 252",9:"126 31 255",10:"96 1 210",11:"80 21 176",12:"57 0 125",13:"43 0 103",14:"29 0 71",15:"16 0 38"},pink:{0:"255 247 252",1:"255 235 249",2:"254 216 247",3:"255 176 231",4:"255 133 211",5:"255 85 195",6:"255 54 161",7:"255 0 128",8:"230 0 115",9:"220 2 118",10:"178 6 102",11:"113 0 75",12:"85 0 58",13:"56 0 40",14:"45 0 34",15:"38 0 16"},red:{0:"255 250 250",1:"255 240 241",2:"255 231 232",3:"255 214 218",4:"255 187 192",5:"255 152 159",6:"253 106 116",7:"255 77 82",8:"238 0 23",9:"211 13 46",10:"187 0 10",11:"157 0 4",12:"127 0 0",13:"98 3 0",14:"68 4 0",15:"38 3 0"},yellow:{0:"255 253 238",1:"255 250 209",2:"255 246 161",4:"255 233 87",3:"255 242 125",5:"255 211 51",6:"229 185 23",7:"151 117 0",8:"124 90 0",9:"100 67 0",10:"88 57 0",11:"75 47 0",12:"58 34 0",13:"44 25 0",14:"32 17 0",15:"21 11 0"},green:{0:"246 255 244",1:"225 253 220",2:"202 250 197",3:"162 242 162",4:"126 228 135",5:"86 196 112",6:"48 161 89",7:"0 135 81",8:"10 122 68",9:"0 108 59",10:"4 94 52",11:"4 77 44",12:"4 59 35",13:"4 51 31",14:"4 43 27",15:"3 33 21"},teal:{0:"242 255 251",1:"224 255 248",2:"207 255 248",3:"177 255 243",4:"133 247 233",5:"78 232 220",6:"17 211 205",7:"0 160 160",8:"0 130 130",9:"0 122 122",10:"0 110 107",11:"0 89 86",12:"0 69 67",13:"0 54 53",14:"0 44 44",15:"0 38 38"},gray:{0:"255 255 255",1:"245 248 250",2:"240 243 245",3:"224 228 233",4:"199 205 210",5:"176 185 193",6:"151 158 168",7:"130 138 147",8:"110 119 128",9:"91 99 106",10:"70 78 86",11:"44 54 63",12:"35 42 49",13:"29 34 40",14:"16 21 24",15:"0 0 0"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",3:"249 208 167",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"226 105 0",8:"204 78 0",9:"191 73 0",10:"166 64 0",11:"145 56 0",12:"115 44 0",13:"94 37 1",14:"68 26 0",15:"38 15 0"},rose:{0:"255 247 250",1:"255 235 243",2:"255 224 239",3:"255 209 226",4:"255 193 213",5:"250 162 187",6:"233 126 157",7:"211 89 124",8:"189 57 95",9:"167 52 85",10:"144 47 75",11:"113 35 57",12:"87 27 44",13:"66 22 35",14:"50 18 27",15:"38 15 22"},sunset:{0:"255 240 238",1:"251 221 218",2:"247 203 199",3:"234 170 163",4:"221 140 130",5:"209 113 99",6:"196 89 71",7:"184 68 46",8:"171 51 24",9:"158 44 18",10:"145 38 12",11:"124 26 1",12:"102 22 0",13:"81 18 0",14:"60 13 0",15:"38 8 0"},brown:{0:"255 253 250",1:"255 246 224",2:"255 236 209",3:"251 221 191",4:"237 199 159",5:"217 170 118",6:"185 136 79",7:"151 104 47",8:"134 90 35",9:"117 76 25",10:"91 56 11",11:"71 42 4",12:"55 33 1",13:"45 27 0",14:"38 23 0",15:"26 16 0"},citron:{0:"253 255 230",1:"249 253 193",2:"245 252 158",3:"235 244 87",4:"222 231 23",5:"205 212 0",6:"184 188 0",7:"158 159 0",8:"122 122 0",9:"115 113 0",10:"101 99 0",11:"78 76 0",12:"61 58 0",13:"49 46 0",14:"42 39 0",15:"38 35 0"},lime:{0:"249 255 245",1:"237 255 224",2:"230 255 209",3:"217 250 190",4:"202 239 168",5:"172 222 122",6:"137 199 70",7:"101 169 21",8:"75 133 0",9:"70 122 0",10:"62 107 0",11:"50 83 0",12:"40 65 0",13:"33 51 0",14:"28 43 0",15:"26 38 0"},mint:{0:"245 255 249",1:"231 252 240",2:"218 248 232",3:"201 239 219",4:"174 224 199",5:"133 203 172",6:"88 179 142",7:"45 151 113",8:"12 122 88",9:"1 109 78",10:"1 96 71",11:"0 74 57",12:"0 58 46",13:"0 47 38",14:"0 41 33",15:"0 28 23"},cyan:{0:"245 255 255",1:"223 255 255",2:"201 255 255",3:"161 245 251",4:"121 229 240",5:"85 205 223",6:"54 177 201",7:"29 146 174",8:"20 114 142",9:"19 100 126",10:"17 86 111",11:"13 64 86",12:"10 48 67",13:"9 37 53",14:"8 29 44",15:"4 18 28"},indigo:{0:"242 244 255",1:"226 230 255",2:"209 213 255",3:"184 188 255",4:"156 160 255",5:"130 130 255",6:"109 110 255",7:"93 94 255",8:"64 64 227",9:"32 21 194",10:"26 13 171",11:"22 9 144",12:"18 5 118",13:"15 3 91",14:"11 1 65",15:"6 0 38"},magenta:{0:"244 235 255",1:"236 217 251",2:"229 199 247",3:"223 182 243",4:"220 166 240",5:"212 136 227",6:"207 109 214",7:"201 84 199",8:"188 61 177",9:"164 46 151",10:"140 32 126",11:"116 22 103",12:"92 13 81",13:"68 6 60",14:"44 2 39",15:"20 0 18"},nude:{0:"255 245 245",1:"251 222 221",2:"248 203 196",3:"235 185 172",4:"222 169 149",5:"202 155 136",6:"182 139 122",7:"162 122 106",8:"142 104 89",9:"131 93 80",10:"120 83 71",11:"100 61 48",12:"80 34 19",13:"60 14 0",14:"40 9 0",15:"20 4 0"},carbon:{0:"255 255 255",1:"252 251 251",2:"245 245 245",3:"227 227 227",4:"205 205 205",5:"176 176 176",6:"142 142 142",7:"106 106 106",8:"90 90 90",9:"68 68 68",10:"50 50 50",11:"41 41 41",12:"31 31 31",13:"20 20 20",14:"10 10 10",15:"0 0 0"}},M={blue:{0:"0 10 38",1:"0 14 57",2:"0 19 75",3:"0 29 102",4:"0 44 129",5:"0 63 156",6:"0 87 183",7:"0 116 210",8:"17 148 236",9:"18 169 255",10:"99 192 255",11:"125 203 255",12:"150 210 250",13:"182 224 252",14:"213 237 252",15:"240 247 252"},purple:{0:"25 0 38",1:"34 0 57",2:"42 0 75",3:"51 0 102",4:"57 0 125",5:"80 21 176",6:"96 1 210",7:"108 36 242",8:"119 89 255",9:"144 124 255",10:"165 149 248",11:"187 174 249",12:"209 201 251",13:"225 219 252",14:"235 232 254",15:"248 244 255"},pink:{0:"38 0 19",1:"48 0 23",2:"58 0 27",3:"75 0 34",4:"96 0 43",5:"123 0 54",6:"157 0 67",7:"194 0 81",8:"233 0 107",9:"255 0 128",10:"255 54 161",11:"255 101 186",12:"255 150 211",13:"255 186 228",14:"255 212 240",15:"255 229 247"},red:{0:"38 3 0",1:"57 3 0",2:"75 3 0",3:"102 1 0",4:"129 5 0",5:"156 15 12",6:"183 28 27",7:"210 46 47",8:"232 58 62",9:"255 77 82",10:"255 105 109",11:"255 135 141",12:"255 155 161",13:"255 183 188",14:"254 210 214",15:"255 240 241"},yellow:{0:"38 35 0",1:"48 42 0",2:"58 49 0",4:"96 73 0",3:"75 60 0",5:"123 91 0",6:"157 112 0",7:"194 136 0",8:"233 171 0",9:"255 204 0",10:"255 220 79",11:"255 232 102",12:"255 243 138",13:"255 249 163",14:"255 251 197",15:"255 253 238"},green:{0:"7 33 23",1:"7 43 29",2:"8 48 32",3:"8 55 36",4:"11 70 44",5:"14 91 55",6:"18 118 68",7:"23 149 83",8:"29 181 97",9:"26 197 103",10:"55 219 115",11:"91 235 126",12:"128 242 143",13:"169 251 169",14:"213 255 208",15:"247 255 245"},teal:{0:"0 35 38",1:"0 40 43",2:"0 45 49",3:"0 56 60",4:"0 73 76",5:"0 97 99",6:"0 126 127",7:"1 160 159",8:"15 194 190",9:"17 211 205",10:"52 227 222",11:"99 237 231",12:"145 249 243",13:"185 255 251",14:"216 255 252",15:"242 255 254"},gray:{0:"0 0 0",1:"16 21 24",2:"29 34 40",3:"35 42 49",4:"44 54 63",5:"70 78 86",6:"91 99 106",7:"110 119 128",8:"130 138 147",9:"151 158 168",10:"176 185 193",11:"199 205 210",12:"224 228 233",13:"240 243 245",14:"245 248 250",15:"255 255 255"},carbon:{0:"0 0 0",1:"10 10 10",2:"20 20 20",3:"31 31 31",4:"41 41 41",5:"50 50 50",6:"68 68 68",7:"90 90 90",8:"117 117 117",9:"142 142 142",10:"176 176 176",11:"205 205 205",12:"227 227 227",13:"245 245 245",14:"252 251 251",15:"255 255 255"},orange:{0:"38 15 0",1:"46 17 0",2:"54 19 0",3:"67 23 0",4:"86 28 0",5:"111 34 0",6:"142 41 0",7:"177 54 0",8:"229 80 0",9:"253 97 0",10:"255 123 41",11:"255 145 77",12:"255 161 102",13:"255 192 153",14:"255 224 204",15:"255 246 240"},rose:{0:"28 4 11",1:"38 5 15",2:"50 18 27",3:"66 22 35",4:"87 27 44",5:"113 35 57",6:"158 49 80",7:"191 58 96",8:"214 87 124",9:"221 108 141",10:"228 131 159",11:"245 164 188",12:"255 193 211",13:"255 214 226",14:"255 233 240",15:"255 251 252"},sunset:{0:"38 8 0",1:"54 11 0",2:"69 15 0",3:"100 20 0",4:"130 26 0",5:"156 40 12",6:"178 58 31",7:"197 79 53",8:"213 101 78",9:"219 112 90",10:"225 124 104",11:"235 147 131",12:"243 171 158",13:"249 194 185",14:"253 218 212",15:"255 241 238"},brown:{0:"38 23 0",1:"52 31 1",2:"66 40 2",3:"95 58 5",4:"123 75 10",5:"148 92 19",6:"168 108 31",7:"186 123 46",8:"200 138 66",9:"209 150 80",10:"219 165 103",11:"224 176 122",12:"229 190 148",13:"239 210 180",14:"248 230 212",15:"255 249 242"},citron:{0:"38 35 0",1:"42 39 0",2:"49 46 0",3:"61 58 0",4:"78 76 0",5:"101 99 0",6:"128 125 0",7:"153 153 0",8:"184 188 0",9:"205 212 0",10:"222 231 23",11:"235 244 87",12:"237 243 116",13:"243 249 158",14:"249 253 193",15:"254 255 238"},lime:{0:"20 38 0",1:"34 51 0",2:"41 63 0",3:"53 83 0",4:"65 104 2",5:"79 125 11",6:"94 145 24",7:"110 166 40",8:"127 187 60",9:"137 199 70",10:"151 209 90",11:"168 224 121",12:"184 237 148",13:"209 247 186",14:"226 255 211",15:"244 255 240"},mint:{0:"0 31 25",1:"0 41 34",2:"0 49 41",3:"0 62 52",4:"0 81 64",5:"0 106 77",6:"29 130 89",7:"33 150 104",8:"39 171 116",9:"72 194 129",10:"106 212 153",11:"149 222 182",12:"181 232 204",13:"209 244 224",14:"227 252 237",15:"242 255 248"},cyan:{0:"0 22 38",1:"0 32 54",2:"1 42 69",3:"3 65 100",4:"8 89 130",5:"15 114 156",6:"26 138 178",7:"41 161 197",8:"60 182 213",9:"72 192 219",10:"100 210 232",11:"124 227 242",12:"145 239 250",13:"179 244 249",14:"212 251 253",15:"242 255 255"},indigo:{0:"8 2 38",1:"13 4 65",2:"17 5 91",3:"20 7 117",4:"22 9 144",5:"26 13 171",6:"39 32 187",7:"60 63 219",8:"93 94 255",9:"112 117 242",10:"135 146 242",11:"163 175 251",12:"189 198 255",13:"211 214 255",14:"232 233 255",15:"252 253 255"},magenta:{0:"46 5 44",1:"63 6 58",2:"80 8 72",3:"96 11 86",4:"113 13 99",5:"138 23 122",6:"163 38 148",7:"188 61 177",8:"195 87 196",9:"194 116 205",10:"198 145 213",11:"206 172 222",13:"228 215 238",14:"239 231 247",15:"249 244 255",12:"217 195 230"},nude:{0:"20 0 0",1:"33 0 0",2:"46 0 0",3:"67 0 0",4:"89 20 18",5:"110 46 42",6:"132 73 66",7:"154 99 90",8:"175 124 112",9:"188 136 121",10:"200 147 131",11:"222 169 149",12:"230 189 170",13:"239 208 191",14:"247 224 210",15:"255 240 229"}};var o=["Helvetica Neue","Helvetica","Arial","sans-serif"],k=["Georgia","Times","Times New Roman","serif"],s={icons:{fallbacks:o,name:"yahoo-icons"},sans:{fallbacks:o,name:"yahoo-sans"},"sans-beta":{fallbacks:o,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:o,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:k,name:"yahoo-serif-text"},"serif-display":{fallbacks:k,name:"yahoo-serif-display"}},p={display1:"sans",display2:"sans",display3:"sans",title1:"sans",title2:"sans",title3:"sans",title4:"sans",headline1:"sans",body1:"sans",label1:"sans",label2:"sans",caption1:"sans",caption2:"sans",legal1:"sans"},H={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},c={display1:"black",display2:"extrabold",display3:"extrabold",title1:"bold",title2:"bold",title3:"bold",title4:"bold",headline1:"semibold",body1:"regular",label1:"semibold",label2:"regular",caption1:"semibold",caption2:"regular",legal1:"semibold"},d={display1:"uppercase",display2:"none",display3:"none",title1:"none",title2:"none",title3:"none",title4:"none",headline1:"none",body1:"none",label1:"none",label2:"none",caption1:"none",caption2:"none",legal1:"none"},g={fontSize:{display1:46,display2:37,display3:33,title1:29,title2:25,title3:21,title4:17,headline1:13,body1:13,label1:12,label2:12,caption1:11,caption2:11,legal1:10},lineHeight:{display1:44,display2:44,display3:44,title1:36,title2:32,title3:28,title4:24,headline1:16,body1:16,label1:16,label2:16,caption1:16,caption2:16,legal1:12}},m={fontSize:{display1:46,display2:38,display3:34,title1:30,title2:26,title3:22,title4:18,headline1:14,body1:14,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...g.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},i={fontSize:{display1:47,display2:39,display3:35,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...m.lineHeight,title2:36,title3:32}},f={fontSize:{...i.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...i.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},y={fontSize:{display1:50,display2:42,display3:38,title1:34,title2:30,title3:26,title4:22,headline1:18,body1:16,label1:16,label2:16,caption1:14,caption2:14,legal1:13},lineHeight:{...f.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},S={fontSize:{display1:52,display2:44,display3:40,title1:36,title2:32,title3:28,title4:26,headline1:20,body1:20,label1:18,label2:18,caption1:16,caption2:16,legal1:15},lineHeight:{...y.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},I={fontSize:{display1:54,display2:46,display3:42,title1:38,title2:34,title3:30,title4:28,headline1:22,body1:22,label1:20,label2:20,caption1:18,caption2:18,legal1:17},lineHeight:{...S.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var h={fontFamily:p,fontWeight:c,textTransform:d,avatarSizes:r,iconSizes:l,borderRadius:u,borderWidth:_,spacing:R},n={fontFamily:p,fontWeight:c,textTransform:d,avatarSizes:F,iconSizes:L,borderRadius:b,borderWidth:C,spacing:T},Q={colorMode:{light:{palette:E,spectrum:O},dark:{palette:A,spectrum:M}},scaleMode:{xSmall:{...h,...g},small:{...h,...m},medium:{...h,...i},large:{...n,...f},xLarge:{...n,...y},xxLarge:{...n,...S},xxxLarge:{...n,...I}},fontFamily:s};var e="uds",t1=`${e}-spectrum-color`,o1=`${e}-font`,i1=`${e}-icon-size`,n1=`${e}-avatar-size`,a1=`${e}-border-radius`,r1=`${e}-border-width`,l1=`${e}-spacing`,s1=`${e}-font-size`,p1=`${e}-line-height`,c1=`${e}-font-weight`,d1=`${e}-text-transform`,g1=`${e}-color-mode-dark`,P=`${e}-color-mode-light`,m1=`${e}-scale-mode-xsmall`,f1=`${e}-scale-mode-small`,y1=`${e}-scale-mode-medium`,$=`${e}-scale-mode-large`,S1=`${e}-scale-mode-xlarge`,h1=`${e}-scale-mode-xxlarge`,x1=`${e}-scale-mode-xxxlarge`,u1=P,b1=$,_1=`--${e}-font-icons`,C1=`--${e}-font-sans`,E1=`--${e}-font-sans-beta`,A1=`--${e}-font-sans-condensed`,F1=`--${e}-font-serif-display`,L1=`--${e}-font-serif-text`;var T1="system",O1="system",M1="light",k1="large",I1=!1,z1="\u{1F1FA}\u{1F1F8} US";function N1(t){return Object.entries(t)}function P1(t){return Object.fromEntries(t)}function W1(t,z){return Object.keys(t).reduce((x,a,D)=>(x[a]=z(t[a],a,D),x),{})}export{n1 as AVATAR_SIZE_PREFIX,a1 as BORDER_RADIUS_PREFIX,r1 as BORDER_WIDTH_PREFIX,g1 as DARK_COLOR_MODE_CLASSNAME,M1 as DEFAULT_COLOR_MODE,u1 as DEFAULT_COLOR_MODE_CLASSNAME,T1 as DEFAULT_COLOR_MODE_FOR_APP,I1 as DEFAULT_HIGH_CONTRAST_MODE,z1 as DEFAULT_REGION_MODE,k1 as DEFAULT_SCALE_MODE,b1 as DEFAULT_SCALE_MODE_CLASSNAME,O1 as DEFAULT_SCALE_MODE_FOR_APP,o1 as FONT_FAMILY_PREFIX,_1 as FONT_ICONS_CSS_VAR,E1 as FONT_SANS_BETA_CSS_VAR,A1 as FONT_SANS_CONDENSED_CSS_VAR,C1 as FONT_SANS_CSS_VAR,F1 as FONT_SERIF_DISPLAY_CSS_VAR,L1 as FONT_SERIF_TEXT_CSS_VAR,s1 as FONT_SIZE_PREFIX,c1 as FONT_WEIGHT_PREFIX,i1 as ICON_SIZE_PREFIX,$ as LARGE_SCALE_MODE_CLASSNAME,P as LIGHT_COLOR_MODE_CLASSNAME,p1 as LINE_HEIGHT_PREFIX,y1 as MEDIUM_SCALE_MODE_CLASSNAME,f1 as SMALL_SCALE_MODE_CLASSNAME,l1 as SPACING_PREFIX,t1 as SPECTRUM_COLOR_PREFIX,d1 as TEXT_TRANSFORM_PREFIX,e as UDS_PREFIX,S1 as XLARGE_SCALE_MODE_CLASSNAME,m1 as XSMALL_SCALE_MODE_CLASSNAME,h1 as XXLARGE_SCALE_MODE_CLASSNAME,x1 as XXXLARGE_SCALE_MODE_CLASSNAME,N as alwaysPalette,Q as defaultTokensConfig,N1 as entries,s as fontFamilyGlobal,H as fontWeightMap,P1 as fromEntries,W1 as mapValues};
@@ -1,3 +1,3 @@
1
- export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, a as fontWeightMap } from '../index.native-Bm-r2Dpa.cjs';
2
- export { A as AlwaysPalette, o as AlwaysPaletteAlias, p as Animation, q as AriaAttribute, r as AvatarShape, s as AvatarSize, t as AvatarSizeConfig, u as BackgroundColor, v as BackgroundPalette, B as BackgroundPaletteAlias, w as BackgroundStyleProps, x as BorderRadius, y as BorderRadiusConfig, z as BorderStyleProps, D as BorderWidth, E as BorderWidthConfig, G as BoxShadowConfig, I as ButtonSize, J as ButtonVariant, C as ColorMode, K as ColorModeConfig, M as ColorModeForApp, a as ColorsConfig, N as ConfigurableTextProperty, O as CorePalette, c as CorePaletteAlias, P as CustomSizingStyleProps, Q as DataAttribute, R as Display, T as Flex, V as FlexAlignContent, W as FlexAlignItems, X as FlexAlignSelf, Y as FlexBasis, Z as FlexDirection, _ as FlexGrow, $ as FlexJustifyContent, a0 as FlexShrink, a1 as FlexStyleProps, a2 as FlexWrap, a3 as FontFamilyConfig, a4 as FontFamilyGlobalAlias, f as FontFamilyGlobalConfig, a5 as FontSize, a6 as FontSizeConfig, d as FontWeightConfig, a7 as FontWeightDescriptive, e as FontWeightNumeric, a8 as ForegroundColor, a9 as ForegroundPalette, F as ForegroundPaletteAlias, aa as Height, ab as HighContrastMode, H as Hue, b as HueStep, ac as IconName, ad as IconSize, ae as IconSizeConfig, af as ImageStyleProps, ag as LayoutStyleProps, ah as LetterSpacing, ai as LineClampAlias, aj as LineColor, ak as LineHeight, al as LineHeightConfig, am as LinePalette, L as LinePaletteAlias, an as MaxHeight, ao as MaxWidth, ap as MinHeight, aq as MinWidth, ar as Modes, as as Overflow, at as Palette, au as PaletteConfig, av as PaletteType, aw as PaletteValue, ax as PlatformMode, ay as Position, az as RegionMode, aA as ScaleConfig, S as ScaleMode, aB as ScaleModeConfig, aC as ScaleModeForApp, aD as SizingStyleProps, aE as SpacingAlias, aF as SpacingConfig, aG as SpacingStyleProps, aH as SpectrumColor, aI as SpectrumConfig, aJ as StateStyleProps, aK as StyleProps, aL as TextStyleProps, aM as TextTransform, aN as TextTransformConfig, aO as TextVariant, aP as TransitionDelay, aQ as TransitionDuration, aR as TransitionTiming, g as UniversalAvatarProps, aS as UniversalBoxProps, h as UniversalButtonProps, j as UniversalIconButtonProps, m as UniversalIconProps, k as UniversalImageProps, i as UniversalPressableProps, l as UniversalStackProps, aT as UniversalTextInputProps, aU as UniversalTextProps, U as UniversalTokensConfig, aV as Width, n as alwaysPalette } from '../types-COiuE8XK.cjs';
1
+ export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, a as fontWeightMap } from '../index.native-DG8RsS88.cjs';
2
+ export { A as AlwaysPalette, o as AlwaysPaletteAlias, p as Animation, q as AriaAttribute, r as AvatarShape, s as AvatarSize, t as AvatarSizeConfig, u as BackgroundColor, v as BackgroundPalette, B as BackgroundPaletteAlias, w as BackgroundStyleProps, x as BorderRadius, y as BorderRadiusConfig, z as BorderStyleProps, D as BorderWidth, E as BorderWidthConfig, G as BoxShadowConfig, I as ButtonSize, J as ButtonVariant, C as ColorMode, K as ColorModeConfig, M as ColorModeForApp, a as ColorsConfig, N as ConfigurableTextProperty, O as CorePalette, c as CorePaletteAlias, P as CustomSizingStyleProps, Q as DataAttribute, R as Display, T as Flex, V as FlexAlignContent, W as FlexAlignItems, X as FlexAlignSelf, Y as FlexBasis, Z as FlexDirection, _ as FlexGrow, $ as FlexJustifyContent, a0 as FlexShrink, a1 as FlexStyleProps, a2 as FlexWrap, a3 as FontFamilyConfig, a4 as FontFamilyGlobalAlias, f as FontFamilyGlobalConfig, a5 as FontSize, a6 as FontSizeConfig, d as FontWeightConfig, a7 as FontWeightDescriptive, e as FontWeightNumeric, a8 as ForegroundColor, a9 as ForegroundPalette, F as ForegroundPaletteAlias, aa as HighContrastMode, H as Hue, b as HueStep, ab as IconName, ac as IconSize, ad as IconSizeConfig, ae as ImageStyleProps, af as LayoutStyleProps, ag as LetterSpacing, ah as LineClampAlias, ai as LineColor, aj as LineHeight, ak as LineHeightConfig, al as LinePalette, L as LinePaletteAlias, am as Modes, an as Overflow, ao as Palette, ap as PaletteConfig, aq as PaletteType, ar as PaletteValue, as as PlatformMode, at as Position, au as RegionMode, av as ScaleConfig, S as ScaleMode, aw as ScaleModeConfig, ax as ScaleModeForApp, ay as SpacingAlias, az as SpacingConfig, aA as SpacingStyleProps, aB as SpectrumColor, aC as SpectrumConfig, aD as StateStyleProps, aE as StyleProps, aF as TextStyleProps, aG as TextTransform, aH as TextTransformConfig, aI as TextVariant, aJ as TransitionDelay, aK as TransitionDuration, aL as TransitionTiming, g as UniversalAvatarProps, aM as UniversalBoxProps, h as UniversalButtonProps, j as UniversalIconButtonProps, m as UniversalIconProps, k as UniversalImageProps, i as UniversalPressableProps, l as UniversalStackProps, aN as UniversalTextInputProps, aO as UniversalTextProps, U as UniversalTokensConfig, n as alwaysPalette } from '../types-D-ttCAsE.cjs';
3
3
  import 'react';
@@ -1,3 +1,3 @@
1
- export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, a as fontWeightMap } from '../index.native-BTfOSmUx.js';
2
- export { A as AlwaysPalette, o as AlwaysPaletteAlias, p as Animation, q as AriaAttribute, r as AvatarShape, s as AvatarSize, t as AvatarSizeConfig, u as BackgroundColor, v as BackgroundPalette, B as BackgroundPaletteAlias, w as BackgroundStyleProps, x as BorderRadius, y as BorderRadiusConfig, z as BorderStyleProps, D as BorderWidth, E as BorderWidthConfig, G as BoxShadowConfig, I as ButtonSize, J as ButtonVariant, C as ColorMode, K as ColorModeConfig, M as ColorModeForApp, a as ColorsConfig, N as ConfigurableTextProperty, O as CorePalette, c as CorePaletteAlias, P as CustomSizingStyleProps, Q as DataAttribute, R as Display, T as Flex, V as FlexAlignContent, W as FlexAlignItems, X as FlexAlignSelf, Y as FlexBasis, Z as FlexDirection, _ as FlexGrow, $ as FlexJustifyContent, a0 as FlexShrink, a1 as FlexStyleProps, a2 as FlexWrap, a3 as FontFamilyConfig, a4 as FontFamilyGlobalAlias, f as FontFamilyGlobalConfig, a5 as FontSize, a6 as FontSizeConfig, d as FontWeightConfig, a7 as FontWeightDescriptive, e as FontWeightNumeric, a8 as ForegroundColor, a9 as ForegroundPalette, F as ForegroundPaletteAlias, aa as Height, ab as HighContrastMode, H as Hue, b as HueStep, ac as IconName, ad as IconSize, ae as IconSizeConfig, af as ImageStyleProps, ag as LayoutStyleProps, ah as LetterSpacing, ai as LineClampAlias, aj as LineColor, ak as LineHeight, al as LineHeightConfig, am as LinePalette, L as LinePaletteAlias, an as MaxHeight, ao as MaxWidth, ap as MinHeight, aq as MinWidth, ar as Modes, as as Overflow, at as Palette, au as PaletteConfig, av as PaletteType, aw as PaletteValue, ax as PlatformMode, ay as Position, az as RegionMode, aA as ScaleConfig, S as ScaleMode, aB as ScaleModeConfig, aC as ScaleModeForApp, aD as SizingStyleProps, aE as SpacingAlias, aF as SpacingConfig, aG as SpacingStyleProps, aH as SpectrumColor, aI as SpectrumConfig, aJ as StateStyleProps, aK as StyleProps, aL as TextStyleProps, aM as TextTransform, aN as TextTransformConfig, aO as TextVariant, aP as TransitionDelay, aQ as TransitionDuration, aR as TransitionTiming, g as UniversalAvatarProps, aS as UniversalBoxProps, h as UniversalButtonProps, j as UniversalIconButtonProps, m as UniversalIconProps, k as UniversalImageProps, i as UniversalPressableProps, l as UniversalStackProps, aT as UniversalTextInputProps, aU as UniversalTextProps, U as UniversalTokensConfig, aV as Width, n as alwaysPalette } from '../types-COiuE8XK.js';
1
+ export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, a as fontWeightMap } from '../index.native-LymI5azd.js';
2
+ export { A as AlwaysPalette, o as AlwaysPaletteAlias, p as Animation, q as AriaAttribute, r as AvatarShape, s as AvatarSize, t as AvatarSizeConfig, u as BackgroundColor, v as BackgroundPalette, B as BackgroundPaletteAlias, w as BackgroundStyleProps, x as BorderRadius, y as BorderRadiusConfig, z as BorderStyleProps, D as BorderWidth, E as BorderWidthConfig, G as BoxShadowConfig, I as ButtonSize, J as ButtonVariant, C as ColorMode, K as ColorModeConfig, M as ColorModeForApp, a as ColorsConfig, N as ConfigurableTextProperty, O as CorePalette, c as CorePaletteAlias, P as CustomSizingStyleProps, Q as DataAttribute, R as Display, T as Flex, V as FlexAlignContent, W as FlexAlignItems, X as FlexAlignSelf, Y as FlexBasis, Z as FlexDirection, _ as FlexGrow, $ as FlexJustifyContent, a0 as FlexShrink, a1 as FlexStyleProps, a2 as FlexWrap, a3 as FontFamilyConfig, a4 as FontFamilyGlobalAlias, f as FontFamilyGlobalConfig, a5 as FontSize, a6 as FontSizeConfig, d as FontWeightConfig, a7 as FontWeightDescriptive, e as FontWeightNumeric, a8 as ForegroundColor, a9 as ForegroundPalette, F as ForegroundPaletteAlias, aa as HighContrastMode, H as Hue, b as HueStep, ab as IconName, ac as IconSize, ad as IconSizeConfig, ae as ImageStyleProps, af as LayoutStyleProps, ag as LetterSpacing, ah as LineClampAlias, ai as LineColor, aj as LineHeight, ak as LineHeightConfig, al as LinePalette, L as LinePaletteAlias, am as Modes, an as Overflow, ao as Palette, ap as PaletteConfig, aq as PaletteType, ar as PaletteValue, as as PlatformMode, at as Position, au as RegionMode, av as ScaleConfig, S as ScaleMode, aw as ScaleModeConfig, ax as ScaleModeForApp, ay as SpacingAlias, az as SpacingConfig, aA as SpacingStyleProps, aB as SpectrumColor, aC as SpectrumConfig, aD as StateStyleProps, aE as StyleProps, aF as TextStyleProps, aG as TextTransform, aH as TextTransformConfig, aI as TextVariant, aJ as TransitionDelay, aK as TransitionDuration, aL as TransitionTiming, g as UniversalAvatarProps, aM as UniversalBoxProps, h as UniversalButtonProps, j as UniversalIconButtonProps, m as UniversalIconProps, k as UniversalImageProps, i as UniversalPressableProps, l as UniversalStackProps, aN as UniversalTextInputProps, aO as UniversalTextProps, U as UniversalTokensConfig, n as alwaysPalette } from '../types-D-ttCAsE.js';
3
3
  import 'react';
@@ -1,4 +1,4 @@
1
- import { U as UniversalTokensConfig, C as ColorMode, S as ScaleMode, a as ColorsConfig, H as Hue, b as HueStep, c as CorePaletteAlias, B as BackgroundPaletteAlias, F as ForegroundPaletteAlias, L as LinePaletteAlias, d as FontWeightConfig, e as FontWeightNumeric, f as FontFamilyGlobalConfig } from '../types-COiuE8XK.cjs';
1
+ import { U as UniversalTokensConfig, C as ColorMode, S as ScaleMode, a as ColorsConfig, H as Hue, b as HueStep, c as CorePaletteAlias, B as BackgroundPaletteAlias, F as ForegroundPaletteAlias, L as LinePaletteAlias, d as FontWeightConfig, e as FontWeightNumeric, f as FontFamilyGlobalConfig } from '../types-D-ttCAsE.cjs';
2
2
  import 'react';
3
3
 
4
4
  declare function transformColors(colors: ColorsConfig): {
@@ -1,4 +1,4 @@
1
- import { U as UniversalTokensConfig, C as ColorMode, S as ScaleMode, a as ColorsConfig, H as Hue, b as HueStep, c as CorePaletteAlias, B as BackgroundPaletteAlias, F as ForegroundPaletteAlias, L as LinePaletteAlias, d as FontWeightConfig, e as FontWeightNumeric, f as FontFamilyGlobalConfig } from '../types-COiuE8XK.js';
1
+ import { U as UniversalTokensConfig, C as ColorMode, S as ScaleMode, a as ColorsConfig, H as Hue, b as HueStep, c as CorePaletteAlias, B as BackgroundPaletteAlias, F as ForegroundPaletteAlias, L as LinePaletteAlias, d as FontWeightConfig, e as FontWeightNumeric, f as FontFamilyGlobalConfig } from '../types-D-ttCAsE.js';
2
2
  import 'react';
3
3
 
4
4
  declare function transformColors(colors: ColorsConfig): {
@@ -1,4 +1,4 @@
1
- import { U as UniversalTokensConfig, C as ColorMode, a as ColorsConfig } from '../types-COiuE8XK.cjs';
1
+ import { U as UniversalTokensConfig, C as ColorMode, a as ColorsConfig } from '../types-D-ttCAsE.cjs';
2
2
  import 'react';
3
3
 
4
4
  declare function transformColors({ spectrum, palette }: ColorsConfig): {
@@ -1,4 +1,4 @@
1
- import { U as UniversalTokensConfig, C as ColorMode, a as ColorsConfig } from '../types-COiuE8XK.js';
1
+ import { U as UniversalTokensConfig, C as ColorMode, a as ColorsConfig } from '../types-D-ttCAsE.js';
2
2
  import 'react';
3
3
 
4
4
  declare function transformColors({ spectrum, palette }: ColorsConfig): {
@@ -128,12 +128,6 @@ type FlexDirection = 'row' | 'column' | 'row-reverse' | 'column-reverse';
128
128
  type FlexWrap = 'wrap' | 'nowrap' | 'wrap-reverse';
129
129
  type FlexJustifyContent = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
130
130
  type FlexBasis = 'min-content';
131
- type Height = 'auto' | '1/2' | '1/3' | '2/3' | '1/4' | '2/4' | '3/4' | '1/5' | '2/5' | '3/5' | '4/5' | '1/6' | '2/6' | '3/6' | '4/6' | '5/6' | 'full' | 'screen' | 'min' | 'max' | 'fit';
132
- type MaxHeight = 'none' | 'full' | 'screen' | 'min' | 'max' | 'fit';
133
- type MaxWidth = 'none' | 'full' | 'min' | 'max' | 'fit';
134
- type MinHeight = 'full' | 'min' | 'max' | 'fit' | 'screen';
135
- type MinWidth = 'full' | 'min' | 'max' | 'fit' | 'screen';
136
- type Width = 'auto' | 'full' | 'screen' | 'min' | 'max' | 'fit' | '1/2' | '1/3' | '2/3' | '1/4' | '2/4' | '3/4' | '1/5' | '2/5' | '3/5' | '4/5' | '1/6' | '2/6' | '3/6' | '4/6' | '5/6' | '1/12' | '2/12' | '3/12' | '4/12' | '5/12' | '6/12' | '7/12' | '8/12' | '9/12' | '10/12' | '11/12';
137
131
  type Display = 'block' | 'inline-block' | 'inline' | 'flex' | 'inline-flex' | 'table' | 'inline-table' | 'table-caption' | 'table-cell' | 'table-column' | 'table-column-group' | 'table-footer-group' | 'table-header-group' | 'table-row-group' | 'table-row' | 'flow-root' | 'grid' | 'contents';
138
132
  type Overflow = 'auto' | 'hidden' | 'clip' | 'visible' | 'scroll';
139
133
  type Position = 'static' | 'fixed' | 'absolute' | 'relative' | 'sticky';
@@ -255,20 +249,6 @@ interface FlexStyleProps {
255
249
  /** Sets the initial main size of a flex item. It sets the size of the content box unless otherwise set with box-sizing. https://developer.mozilla.org/en-US/docs/Web/CSS/flex-basis */
256
250
  flexBasis?: FlexBasis;
257
251
  }
258
- interface SizingStyleProps {
259
- /** Sets the height of an element */
260
- height?: Height;
261
- /** Sets the height of an element */
262
- minHeight?: MinHeight;
263
- /** Sets the maximum height of an element */
264
- maxHeight?: MaxHeight;
265
- /** Sets the width of an element */
266
- width?: Width;
267
- /** Sets the minimum width of an element */
268
- minWidth?: MinWidth;
269
- /** Sets the maximum width of an element */
270
- maxWidth?: MaxWidth;
271
- }
272
252
  interface StateStyleProps {
273
253
  interactable?: boolean;
274
254
  focusable?: boolean;
@@ -299,8 +279,8 @@ type CustomSizingStyleProps = {
299
279
  iconSize?: IconSize;
300
280
  avatarSize?: AvatarSize;
301
281
  };
302
- type StyleProps = BackgroundStyleProps & BorderStyleProps & LayoutStyleProps & FlexStyleProps & SpacingStyleProps & TextStyleProps & SizingStyleProps & ImageStyleProps & CustomSizingStyleProps;
303
- interface UniversalBoxProps extends PropsWithChildren, BackgroundStyleProps, BorderStyleProps, FlexStyleProps, LayoutStyleProps, SizingStyleProps, SpacingStyleProps {
282
+ type StyleProps = BackgroundStyleProps & BorderStyleProps & LayoutStyleProps & FlexStyleProps & SpacingStyleProps & TextStyleProps & ImageStyleProps & CustomSizingStyleProps;
283
+ interface UniversalBoxProps extends PropsWithChildren, BackgroundStyleProps, BorderStyleProps, FlexStyleProps, LayoutStyleProps, SpacingStyleProps {
304
284
  /**
305
285
  * When asChild is set to true, the component's child will be cloned and passed
306
286
  * the props and behavior required to make it functional.
@@ -392,4 +372,4 @@ interface UniversalTextInputProps {
392
372
  spacingHorizontal?: SpacingAlias;
393
373
  }
394
374
 
395
- export { type FlexJustifyContent as $, type AlwaysPalette as A, type BackgroundPaletteAlias as B, type ColorMode as C, type BorderWidth as D, type BorderWidthConfig as E, type ForegroundPaletteAlias as F, type BoxShadowConfig as G, type Hue as H, type ButtonSize as I, type ButtonVariant as J, type ColorModeConfig as K, type LinePaletteAlias as L, type ColorModeForApp as M, type ConfigurableTextProperty as N, type CorePalette as O, type CustomSizingStyleProps as P, type DataAttribute as Q, type Display as R, type ScaleMode as S, type Flex as T, type UniversalTokensConfig as U, type FlexAlignContent as V, type FlexAlignItems as W, type FlexAlignSelf as X, type FlexBasis as Y, type FlexDirection as Z, type FlexGrow as _, type ColorsConfig as a, type FlexShrink as a0, type FlexStyleProps as a1, type FlexWrap as a2, type FontFamilyConfig as a3, type FontFamilyGlobalAlias as a4, type FontSize as a5, type FontSizeConfig as a6, type FontWeightDescriptive as a7, type ForegroundColor as a8, type ForegroundPalette as a9, type ScaleConfig as aA, type ScaleModeConfig as aB, type ScaleModeForApp as aC, type SizingStyleProps as aD, type SpacingAlias as aE, type SpacingConfig as aF, type SpacingStyleProps as aG, type SpectrumColor as aH, type SpectrumConfig as aI, type StateStyleProps as aJ, type StyleProps as aK, type TextStyleProps as aL, type TextTransform as aM, type TextTransformConfig as aN, type TextVariant as aO, type TransitionDelay as aP, type TransitionDuration as aQ, type TransitionTiming as aR, type UniversalBoxProps as aS, type UniversalTextInputProps as aT, type UniversalTextProps as aU, type Width as aV, type Height as aa, type HighContrastMode as ab, type IconName as ac, type IconSize as ad, type IconSizeConfig as ae, type ImageStyleProps as af, type LayoutStyleProps as ag, type LetterSpacing as ah, type LineClampAlias as ai, type LineColor as aj, type LineHeight as ak, type LineHeightConfig as al, type LinePalette as am, type MaxHeight as an, type MaxWidth as ao, type MinHeight as ap, type MinWidth as aq, type Modes as ar, type Overflow as as, type Palette as at, type PaletteConfig as au, type PaletteType as av, type PaletteValue as aw, type PlatformMode as ax, type Position as ay, type RegionMode as az, type HueStep as b, type CorePaletteAlias as c, type FontWeightConfig as d, type FontWeightNumeric as e, type FontFamilyGlobalConfig as f, type UniversalAvatarProps as g, type UniversalButtonProps as h, type UniversalPressableProps as i, type UniversalIconButtonProps as j, type UniversalImageProps as k, type UniversalStackProps as l, type UniversalIconProps as m, alwaysPalette as n, type AlwaysPaletteAlias as o, type Animation as p, type AriaAttribute as q, type AvatarShape as r, type AvatarSize as s, type AvatarSizeConfig as t, type BackgroundColor as u, type BackgroundPalette as v, type BackgroundStyleProps as w, type BorderRadius as x, type BorderRadiusConfig as y, type BorderStyleProps as z };
375
+ export { type FlexJustifyContent as $, type AlwaysPalette as A, type BackgroundPaletteAlias as B, type ColorMode as C, type BorderWidth as D, type BorderWidthConfig as E, type ForegroundPaletteAlias as F, type BoxShadowConfig as G, type Hue as H, type ButtonSize as I, type ButtonVariant as J, type ColorModeConfig as K, type LinePaletteAlias as L, type ColorModeForApp as M, type ConfigurableTextProperty as N, type CorePalette as O, type CustomSizingStyleProps as P, type DataAttribute as Q, type Display as R, type ScaleMode as S, type Flex as T, type UniversalTokensConfig as U, type FlexAlignContent as V, type FlexAlignItems as W, type FlexAlignSelf as X, type FlexBasis as Y, type FlexDirection as Z, type FlexGrow as _, type ColorsConfig as a, type FlexShrink as a0, type FlexStyleProps as a1, type FlexWrap as a2, type FontFamilyConfig as a3, type FontFamilyGlobalAlias as a4, type FontSize as a5, type FontSizeConfig as a6, type FontWeightDescriptive as a7, type ForegroundColor as a8, type ForegroundPalette as a9, type SpacingStyleProps as aA, type SpectrumColor as aB, type SpectrumConfig as aC, type StateStyleProps as aD, type StyleProps as aE, type TextStyleProps as aF, type TextTransform as aG, type TextTransformConfig as aH, type TextVariant as aI, type TransitionDelay as aJ, type TransitionDuration as aK, type TransitionTiming as aL, type UniversalBoxProps as aM, type UniversalTextInputProps as aN, type UniversalTextProps as aO, type HighContrastMode as aa, type IconName as ab, type IconSize as ac, type IconSizeConfig as ad, type ImageStyleProps as ae, type LayoutStyleProps as af, type LetterSpacing as ag, type LineClampAlias as ah, type LineColor as ai, type LineHeight as aj, type LineHeightConfig as ak, type LinePalette as al, type Modes as am, type Overflow as an, type Palette as ao, type PaletteConfig as ap, type PaletteType as aq, type PaletteValue as ar, type PlatformMode as as, type Position as at, type RegionMode as au, type ScaleConfig as av, type ScaleModeConfig as aw, type ScaleModeForApp as ax, type SpacingAlias as ay, type SpacingConfig as az, type HueStep as b, type CorePaletteAlias as c, type FontWeightConfig as d, type FontWeightNumeric as e, type FontFamilyGlobalConfig as f, type UniversalAvatarProps as g, type UniversalButtonProps as h, type UniversalPressableProps as i, type UniversalIconButtonProps as j, type UniversalImageProps as k, type UniversalStackProps as l, type UniversalIconProps as m, alwaysPalette as n, type AlwaysPaletteAlias as o, type Animation as p, type AriaAttribute as q, type AvatarShape as r, type AvatarSize as s, type AvatarSizeConfig as t, type BackgroundColor as u, type BackgroundPalette as v, type BackgroundStyleProps as w, type BorderRadius as x, type BorderRadiusConfig as y, type BorderStyleProps as z };
@@ -128,12 +128,6 @@ type FlexDirection = 'row' | 'column' | 'row-reverse' | 'column-reverse';
128
128
  type FlexWrap = 'wrap' | 'nowrap' | 'wrap-reverse';
129
129
  type FlexJustifyContent = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
130
130
  type FlexBasis = 'min-content';
131
- type Height = 'auto' | '1/2' | '1/3' | '2/3' | '1/4' | '2/4' | '3/4' | '1/5' | '2/5' | '3/5' | '4/5' | '1/6' | '2/6' | '3/6' | '4/6' | '5/6' | 'full' | 'screen' | 'min' | 'max' | 'fit';
132
- type MaxHeight = 'none' | 'full' | 'screen' | 'min' | 'max' | 'fit';
133
- type MaxWidth = 'none' | 'full' | 'min' | 'max' | 'fit';
134
- type MinHeight = 'full' | 'min' | 'max' | 'fit' | 'screen';
135
- type MinWidth = 'full' | 'min' | 'max' | 'fit' | 'screen';
136
- type Width = 'auto' | 'full' | 'screen' | 'min' | 'max' | 'fit' | '1/2' | '1/3' | '2/3' | '1/4' | '2/4' | '3/4' | '1/5' | '2/5' | '3/5' | '4/5' | '1/6' | '2/6' | '3/6' | '4/6' | '5/6' | '1/12' | '2/12' | '3/12' | '4/12' | '5/12' | '6/12' | '7/12' | '8/12' | '9/12' | '10/12' | '11/12';
137
131
  type Display = 'block' | 'inline-block' | 'inline' | 'flex' | 'inline-flex' | 'table' | 'inline-table' | 'table-caption' | 'table-cell' | 'table-column' | 'table-column-group' | 'table-footer-group' | 'table-header-group' | 'table-row-group' | 'table-row' | 'flow-root' | 'grid' | 'contents';
138
132
  type Overflow = 'auto' | 'hidden' | 'clip' | 'visible' | 'scroll';
139
133
  type Position = 'static' | 'fixed' | 'absolute' | 'relative' | 'sticky';
@@ -255,20 +249,6 @@ interface FlexStyleProps {
255
249
  /** Sets the initial main size of a flex item. It sets the size of the content box unless otherwise set with box-sizing. https://developer.mozilla.org/en-US/docs/Web/CSS/flex-basis */
256
250
  flexBasis?: FlexBasis;
257
251
  }
258
- interface SizingStyleProps {
259
- /** Sets the height of an element */
260
- height?: Height;
261
- /** Sets the height of an element */
262
- minHeight?: MinHeight;
263
- /** Sets the maximum height of an element */
264
- maxHeight?: MaxHeight;
265
- /** Sets the width of an element */
266
- width?: Width;
267
- /** Sets the minimum width of an element */
268
- minWidth?: MinWidth;
269
- /** Sets the maximum width of an element */
270
- maxWidth?: MaxWidth;
271
- }
272
252
  interface StateStyleProps {
273
253
  interactable?: boolean;
274
254
  focusable?: boolean;
@@ -299,8 +279,8 @@ type CustomSizingStyleProps = {
299
279
  iconSize?: IconSize;
300
280
  avatarSize?: AvatarSize;
301
281
  };
302
- type StyleProps = BackgroundStyleProps & BorderStyleProps & LayoutStyleProps & FlexStyleProps & SpacingStyleProps & TextStyleProps & SizingStyleProps & ImageStyleProps & CustomSizingStyleProps;
303
- interface UniversalBoxProps extends PropsWithChildren, BackgroundStyleProps, BorderStyleProps, FlexStyleProps, LayoutStyleProps, SizingStyleProps, SpacingStyleProps {
282
+ type StyleProps = BackgroundStyleProps & BorderStyleProps & LayoutStyleProps & FlexStyleProps & SpacingStyleProps & TextStyleProps & ImageStyleProps & CustomSizingStyleProps;
283
+ interface UniversalBoxProps extends PropsWithChildren, BackgroundStyleProps, BorderStyleProps, FlexStyleProps, LayoutStyleProps, SpacingStyleProps {
304
284
  /**
305
285
  * When asChild is set to true, the component's child will be cloned and passed
306
286
  * the props and behavior required to make it functional.
@@ -392,4 +372,4 @@ interface UniversalTextInputProps {
392
372
  spacingHorizontal?: SpacingAlias;
393
373
  }
394
374
 
395
- export { type FlexJustifyContent as $, type AlwaysPalette as A, type BackgroundPaletteAlias as B, type ColorMode as C, type BorderWidth as D, type BorderWidthConfig as E, type ForegroundPaletteAlias as F, type BoxShadowConfig as G, type Hue as H, type ButtonSize as I, type ButtonVariant as J, type ColorModeConfig as K, type LinePaletteAlias as L, type ColorModeForApp as M, type ConfigurableTextProperty as N, type CorePalette as O, type CustomSizingStyleProps as P, type DataAttribute as Q, type Display as R, type ScaleMode as S, type Flex as T, type UniversalTokensConfig as U, type FlexAlignContent as V, type FlexAlignItems as W, type FlexAlignSelf as X, type FlexBasis as Y, type FlexDirection as Z, type FlexGrow as _, type ColorsConfig as a, type FlexShrink as a0, type FlexStyleProps as a1, type FlexWrap as a2, type FontFamilyConfig as a3, type FontFamilyGlobalAlias as a4, type FontSize as a5, type FontSizeConfig as a6, type FontWeightDescriptive as a7, type ForegroundColor as a8, type ForegroundPalette as a9, type ScaleConfig as aA, type ScaleModeConfig as aB, type ScaleModeForApp as aC, type SizingStyleProps as aD, type SpacingAlias as aE, type SpacingConfig as aF, type SpacingStyleProps as aG, type SpectrumColor as aH, type SpectrumConfig as aI, type StateStyleProps as aJ, type StyleProps as aK, type TextStyleProps as aL, type TextTransform as aM, type TextTransformConfig as aN, type TextVariant as aO, type TransitionDelay as aP, type TransitionDuration as aQ, type TransitionTiming as aR, type UniversalBoxProps as aS, type UniversalTextInputProps as aT, type UniversalTextProps as aU, type Width as aV, type Height as aa, type HighContrastMode as ab, type IconName as ac, type IconSize as ad, type IconSizeConfig as ae, type ImageStyleProps as af, type LayoutStyleProps as ag, type LetterSpacing as ah, type LineClampAlias as ai, type LineColor as aj, type LineHeight as ak, type LineHeightConfig as al, type LinePalette as am, type MaxHeight as an, type MaxWidth as ao, type MinHeight as ap, type MinWidth as aq, type Modes as ar, type Overflow as as, type Palette as at, type PaletteConfig as au, type PaletteType as av, type PaletteValue as aw, type PlatformMode as ax, type Position as ay, type RegionMode as az, type HueStep as b, type CorePaletteAlias as c, type FontWeightConfig as d, type FontWeightNumeric as e, type FontFamilyGlobalConfig as f, type UniversalAvatarProps as g, type UniversalButtonProps as h, type UniversalPressableProps as i, type UniversalIconButtonProps as j, type UniversalImageProps as k, type UniversalStackProps as l, type UniversalIconProps as m, alwaysPalette as n, type AlwaysPaletteAlias as o, type Animation as p, type AriaAttribute as q, type AvatarShape as r, type AvatarSize as s, type AvatarSizeConfig as t, type BackgroundColor as u, type BackgroundPalette as v, type BackgroundStyleProps as w, type BorderRadius as x, type BorderRadiusConfig as y, type BorderStyleProps as z };
375
+ export { type FlexJustifyContent as $, type AlwaysPalette as A, type BackgroundPaletteAlias as B, type ColorMode as C, type BorderWidth as D, type BorderWidthConfig as E, type ForegroundPaletteAlias as F, type BoxShadowConfig as G, type Hue as H, type ButtonSize as I, type ButtonVariant as J, type ColorModeConfig as K, type LinePaletteAlias as L, type ColorModeForApp as M, type ConfigurableTextProperty as N, type CorePalette as O, type CustomSizingStyleProps as P, type DataAttribute as Q, type Display as R, type ScaleMode as S, type Flex as T, type UniversalTokensConfig as U, type FlexAlignContent as V, type FlexAlignItems as W, type FlexAlignSelf as X, type FlexBasis as Y, type FlexDirection as Z, type FlexGrow as _, type ColorsConfig as a, type FlexShrink as a0, type FlexStyleProps as a1, type FlexWrap as a2, type FontFamilyConfig as a3, type FontFamilyGlobalAlias as a4, type FontSize as a5, type FontSizeConfig as a6, type FontWeightDescriptive as a7, type ForegroundColor as a8, type ForegroundPalette as a9, type SpacingStyleProps as aA, type SpectrumColor as aB, type SpectrumConfig as aC, type StateStyleProps as aD, type StyleProps as aE, type TextStyleProps as aF, type TextTransform as aG, type TextTransformConfig as aH, type TextVariant as aI, type TransitionDelay as aJ, type TransitionDuration as aK, type TransitionTiming as aL, type UniversalBoxProps as aM, type UniversalTextInputProps as aN, type UniversalTextProps as aO, type HighContrastMode as aa, type IconName as ab, type IconSize as ac, type IconSizeConfig as ad, type ImageStyleProps as ae, type LayoutStyleProps as af, type LetterSpacing as ag, type LineClampAlias as ah, type LineColor as ai, type LineHeight as aj, type LineHeightConfig as ak, type LinePalette as al, type Modes as am, type Overflow as an, type Palette as ao, type PaletteConfig as ap, type PaletteType as aq, type PaletteValue as ar, type PlatformMode as as, type Position as at, type RegionMode as au, type ScaleConfig as av, type ScaleModeConfig as aw, type ScaleModeForApp as ax, type SpacingAlias as ay, type SpacingConfig as az, type HueStep as b, type CorePaletteAlias as c, type FontWeightConfig as d, type FontWeightNumeric as e, type FontFamilyGlobalConfig as f, type UniversalAvatarProps as g, type UniversalButtonProps as h, type UniversalPressableProps as i, type UniversalIconButtonProps as j, type UniversalImageProps as k, type UniversalStackProps as l, type UniversalIconProps as m, alwaysPalette as n, type AlwaysPaletteAlias as o, type Animation as p, type AriaAttribute as q, type AvatarShape as r, type AvatarSize as s, type AvatarSizeConfig as t, type BackgroundColor as u, type BackgroundPalette as v, type BackgroundStyleProps as w, type BorderRadius as x, type BorderRadiusConfig as y, type BorderStyleProps as z };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yahoo/uds",
3
3
  "description": "Yahoo Universal System",
4
- "version": "0.4.0",
4
+ "version": "0.4.2",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "uds": "./cli/uds-cli"
@@ -151,12 +151,14 @@
151
151
  "clsx": "^2.1.0",
152
152
  "fast-glob": "^3.3.2",
153
153
  "lodash-es": "^4.17.21",
154
+ "prompts": "^2.4.2",
154
155
  "react-toastify": "^10.0.4",
155
156
  "tailwind-merge": "^2.2.1",
156
- "ts-morph": "^21.0.1"
157
+ "ts-morph": "^22.0.0"
157
158
  },
158
159
  "devDependencies": {
159
160
  "@fullhuman/postcss-purgecss": "^5.0.0",
161
+ "@types/prompts": "^2.4.9",
160
162
  "@types/react": "^18.2.63",
161
163
  "@types/react-dom": "^18.2.20",
162
164
  "autoprefixer": "^10.4.18",