@yahoo/uds 0.4.3 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. package/cli/utils/purgeCSS.test.ts +2 -9
  2. package/cli/utils/purgeCSS.ts +17 -19
  3. package/dist/{Image.native-CyJCMvgr.d.cts → Image.native-CfDCpWe_.d.cts} +1 -1
  4. package/dist/{Image.native-M50LC-q7.d.ts → Image.native-nwk5tr_f.d.ts} +1 -1
  5. package/dist/{VStack-fSE_ityd.d.ts → VStack-Bj6PfbK5.d.ts} +1 -1
  6. package/dist/{VStack-R8SACz7K.d.cts → VStack-D-py89Ge.d.cts} +1 -1
  7. package/dist/experimental/index.cjs +1 -1
  8. package/dist/experimental/index.d.cts +2 -2
  9. package/dist/experimental/index.d.ts +2 -2
  10. package/dist/experimental/index.js +1 -1
  11. package/dist/experimental/index.native.cjs +1 -1
  12. package/dist/experimental/index.native.d.cts +3 -3
  13. package/dist/experimental/index.native.d.ts +3 -3
  14. package/dist/experimental/index.native.js +1 -1
  15. package/dist/fixtures.cjs +60 -124
  16. package/dist/fixtures.d.ts +3 -10
  17. package/dist/fixtures.js +59 -123
  18. package/dist/index.cjs +1 -1
  19. package/dist/index.d.cts +21 -21
  20. package/dist/index.d.ts +21 -21
  21. package/dist/index.js +1 -1
  22. package/dist/{index.native-BstClKbg.d.cts → index.native-A2gCijBH.d.cts} +1 -1
  23. package/dist/{index.native-DtdUtCNu.d.ts → index.native-BLJdXZHY.d.ts} +1 -1
  24. package/dist/index.native.cjs +1 -1
  25. package/dist/index.native.d.cts +5 -9
  26. package/dist/index.native.d.ts +5 -9
  27. package/dist/index.native.js +1 -1
  28. package/dist/tailwind/plugin.cjs +1 -1
  29. package/dist/tailwind/plugin.d.cts +15 -2
  30. package/dist/tailwind/plugin.d.ts +15 -2
  31. package/dist/tailwind/plugin.js +1 -1
  32. package/dist/tailwind/purger.cjs +4 -0
  33. package/dist/tailwind/purger.d.cts +20 -0
  34. package/dist/tailwind/purger.d.ts +20 -0
  35. package/dist/tailwind/purger.js +4 -0
  36. package/dist/tailwind/tsMorph.cjs +1 -0
  37. package/dist/tailwind/tsMorph.d.cts +25 -0
  38. package/dist/tailwind/tsMorph.d.ts +25 -0
  39. package/dist/tailwind/tsMorph.js +1 -0
  40. package/dist/tokens/index.cjs +1 -1
  41. package/dist/tokens/index.d.cts +3 -4
  42. package/dist/tokens/index.d.ts +3 -4
  43. package/dist/tokens/index.js +1 -1
  44. package/dist/tokens/index.native.cjs +1 -1
  45. package/dist/tokens/index.native.d.cts +2 -2
  46. package/dist/tokens/index.native.d.ts +2 -2
  47. package/dist/tokens/index.native.js +1 -1
  48. package/dist/tokens/parseTokens.cjs +1 -1
  49. package/dist/tokens/parseTokens.d.cts +2 -3
  50. package/dist/tokens/parseTokens.d.ts +2 -3
  51. package/dist/tokens/parseTokens.js +1 -1
  52. package/dist/{types-BN1X8QcB.d.cts → types-Diou6f1Q.d.cts} +1 -2
  53. package/dist/{types-BN1X8QcB.d.ts → types-Diou6f1Q.d.ts} +1 -2
  54. package/dist/{types-DRP5tWZG.d.cts → types-Dk8fLx7L.d.cts} +2 -3
  55. package/dist/{types-DRP5tWZG.d.ts → types-Dk8fLx7L.d.ts} +2 -3
  56. package/package.json +1 -1
@@ -1 +1 @@
1
- import{tailwindColorsAsUds as Oe}from"@yahoo/uds/fixtures";var ee={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},oe={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var te={none:0,thin:1,medium:2,thick:2},ae={none:0,thin:1,medium:2,thick:4};var re={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"}}},ie={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"}}},D={white:"#ffffff",black:"#000000",transparent:"transparent"};var H={s:16,m:24,l:32},ne=H,B={sm:16,md:24,lg:32},se=B;var le={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},de={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 ce={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"}},pe={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 M=["Helvetica Neue","Helvetica","Arial","sans-serif"],ge=["Georgia","Times","Times New Roman","serif"],fe={icons:{fallbacks:M,name:"yahoo-icons"},sans:{fallbacks:M,name:"yahoo-sans"},"sans-beta":{fallbacks:M,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:M,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:ge,name:"yahoo-serif-text"},"serif-display":{fallbacks:ge,name:"yahoo-serif-display"}},N={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"},P={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},X={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"},U={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"},V={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}},G={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:{...V.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},b={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:{...G.lineHeight,title2:36,title3:32}},K={fontSize:{...b.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...b.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},Z={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:{...K.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},j={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:{...Z.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},me={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:{...j.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var Y={fontFamily:N,fontWeight:X,textTransform:U,avatarSizes:H,iconSizes:B,borderRadius:ee,borderWidth:te,spacing:le},v={fontFamily:N,fontWeight:X,textTransform:U,avatarSizes:ne,iconSizes:se,borderRadius:oe,borderWidth:ae,spacing:de},p={colorMode:{light:{palette:re,spectrum:ce},dark:{palette:ie,spectrum:pe}},scaleMode:{xSmall:{...Y,...V},small:{...Y,...G},medium:{...Y,...b},large:{...v,...K},xLarge:{...v,...Z},xxLarge:{...v,...j},xxxLarge:{...v,...me}},fontFamily:fe};var i="uds",q=`${i}-spectrum-color`,A=`${i}-font`,ue=`${i}-icon-size`,ye=`${i}-avatar-size`,F=`${i}-border-radius`,L=`${i}-border-width`,xe=`${i}-spacing`,w=`${i}-font-size`,O=`${i}-line-height`,Se=`${i}-font-weight`,_e=`${i}-text-transform`,z=`${i}-color-mode-dark`,he=`${i}-color-mode-light`,Te=`${i}-scale-mode-xsmall`,Re=`${i}-scale-mode-small`,Ee=`${i}-scale-mode-medium`,Ce=`${i}-scale-mode-large`,Me=`${i}-scale-mode-xlarge`,be=`${i}-scale-mode-xxlarge`,ve=`${i}-scale-mode-xxxlarge`;var l1=`--${i}-font-icons`,d1=`--${i}-font-sans`,c1=`--${i}-font-sans-beta`,p1=`--${i}-font-sans-condensed`,g1=`--${i}-font-serif-display`,f1=`--${i}-font-serif-text`;var Ae="light",u="large";function f(o){return Object.entries(o)}function W(o){return Object.fromEntries(o)}function l(o,e){return Object.keys(o).reduce((t,a,n)=>(t[a]=e(o[a],a,n),t),{})}function Fe(o){let{palette:e,spectrum:t}=o,a={},n={spectrum:{},palette:{}};for(let[s,r]of f(t))for(let[d,g]of f(r)){let y=`${s}-${d}`,c=`--${q}-${y}`;n.spectrum[s]||(n.spectrum[s]={}),n.spectrum[s][d]=`rgb(var(${c}))`,a[c]=g}return f(e).forEach(([s,r])=>{for(let[d,{hue:g,step:y,opacity:c}]of Object.entries(r)){s in n.palette||(n.palette[s]={});let E=`--${i}-${s}-color-${d}`;a[E]=`var(--${q}-${g}-${y})`,n.palette[s][d]=c?`rgb(var(${E}) / ${c})`:`rgb(var(${E}))`}}),{_vars:a,_raw:o,tailwindConfig:n}}function ke(o){let e={},t={};for(let[a,n="regular"]of f(o)){let s=`--${Se}-${a}`,r=P[n];e[s]=r,t[a]=`var(${s})`}return{_vars:e,_raw:o,tailwindConfig:{...P,...t}}}function Le(o,e,t){let a={},n={};for(let[s,r]of f(e)){let d=`--${o}-${s}`,g=t?t(r):r;a[d]=g,n[s]=`var(${d})`}return{_vars:a,_raw:e,tailwindConfig:n}}function _(o,e){if(!e)return{_vars:{},_raw:{},tailwindConfig:{}};let t={},a={};for(let[n,s]of f(e)){let r=`--${o}-${n}`,d=`${s}px`;t[r]=d,a[n]=`var(${r})`}return{_vars:t,_raw:e,tailwindConfig:a}}function Ie(o){return l(o,(e,t)=>{let{fallbacks:a=[]}=e??{};return[`var(--${A}-${t})`,...a]})}function J(o){let{colorMode:e,scaleMode:t,fontFamily:a}=o;return{...o,colorMode:{light:Fe(e.light),dark:Fe(e.dark)},scaleMode:l(t,({borderRadius:n,borderWidth:s,spacing:r,fontSize:d,lineHeight:g,fontFamily:y,fontWeight:c,textTransform:E,avatarSizes:k,iconSizes:I})=>({fontFamily:Le(A,y,$=>`var(--${A}-${$})`),fontSize:_(w,d),fontWeight:ke(c),lineHeight:_(O,g),textTransform:Le(_e,E),borderRadius:_(F,n),borderWidth:_(L,s),spacing:_(xe,r),avatarSizes:_(ye,k),iconSizes:_(ue,I)})),fontFamily:Ie(a)}}import Ge from"tailwindcss/plugin";import{borderRadiusRamp as $e,borderWidthRamp as De,fontSizeRamp as He,lineHeightRamp as Be,spacingRamp as Ne}from"@yahoo/uds/fixtures";import h from"tailwindcss/defaultTheme";var we={display1:"6xl",display2:"5xl",display3:"4xl",title1:"3xl",title2:"2xl",title3:"xl",title4:"lg",headline1:"base",body1:"base",label1:"sm",label2:"sm",caption1:"xs",caption2:"xs"},Pe={none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",14:"14"},Xe={xs:"sm",sm:"DEFAULT",md:"md",lg:"lg",xl:"xl"},Ue={thin:"DEFAULT",medium:"2",thick:"4"},m={fontSize:we,lineHeight:we,spacing:Pe,borderRadius:Xe,borderWidth:Ue};function T(o){return o.endsWith("rem")?parseFloat(o)*16:parseFloat(o)}var C={...p.scaleMode[u],fontSize:{...p.scaleMode[u].fontSize,...l(m.fontSize,o=>T(h.fontSize[o][0]))},lineHeight:{...p.scaleMode[u].fontSize,...l(m.lineHeight,o=>T(h.fontSize[o][1].lineHeight)),display1:T(h.fontSize[m.fontSize.display1][0]),display2:T(h.fontSize[m.fontSize.display2][0])},fontWeight:l(p.scaleMode[u].fontWeight,()=>"regular"),spacing:{...p.scaleMode[u].spacing,...l(m.spacing,o=>T(h.spacing[o]))},borderRadius:{...p.scaleMode[u].borderRadius,...l(m.borderRadius,o=>T(h.borderRadius[o]))},borderWidth:{...p.scaleMode[u].borderWidth,...l(m.borderWidth,o=>T(h.borderWidth[o]))}};function R(o){return{...p.scaleMode[o],fontWeight:C.fontWeight,fontSize:l(C.fontSize,(e,t)=>e+He[o][t]),lineHeight:l(C.lineHeight,(e,t)=>e+Be[o][t]),spacing:l(C.spacing,(e,t)=>e+Ne[o][t]),borderRadius:l(C.borderRadius,(e,t)=>e+$e[o][t]),borderWidth:l(C.borderWidth,(e,t)=>e+De[o][t])}}var Ve={...p,scaleMode:{xSmall:R("xSmall"),small:R("small"),medium:R("medium"),large:R("large"),xLarge:R("xLarge"),xxLarge:R("xxLarge"),xxxLarge:R("xxxLarge")}};var P1=Ge.withOptions(function({config:o=p}){let e=J(o),t=e.colorMode.light._vars,a={...e.scaleMode.large.borderRadius._vars,...e.scaleMode.large.borderWidth._vars,...e.scaleMode.large.avatarSizes._vars,...e.scaleMode.large.iconSizes._vars,...e.scaleMode.large.spacing._vars,...e.scaleMode.large.fontFamily._vars,...e.scaleMode.large.fontSize._vars,...e.scaleMode.large.fontWeight._vars,...e.scaleMode.large.lineHeight._vars,...e.scaleMode.large.textTransform._vars};return function({addBase:n,matchUtilities:s}){n({":root":{...t,...a},[`.${he}`]:t,[`.${Ce}`]:a,[`.${z}`]:{...e.colorMode.dark._vars},[`.${Te}`]:{...e.scaleMode.xSmall.borderRadius._vars,...e.scaleMode.xSmall.borderWidth._vars,...e.scaleMode.xSmall.avatarSizes._vars,...e.scaleMode.xSmall.iconSizes._vars,...e.scaleMode.xSmall.spacing._vars,...e.scaleMode.xSmall.fontFamily._vars,...e.scaleMode.xSmall.fontSize._vars,...e.scaleMode.xSmall.fontWeight._vars,...e.scaleMode.xSmall.lineHeight._vars,...e.scaleMode.xSmall.textTransform._vars},[`.${Re}`]:{...e.scaleMode.small.borderRadius._vars,...e.scaleMode.small.borderWidth._vars,...e.scaleMode.small.avatarSizes._vars,...e.scaleMode.small.iconSizes._vars,...e.scaleMode.small.spacing._vars,...e.scaleMode.small.fontFamily._vars,...e.scaleMode.small.fontSize._vars,...e.scaleMode.small.fontWeight._vars,...e.scaleMode.small.lineHeight._vars,...e.scaleMode.small.textTransform._vars},[`.${Ee}`]:{...e.scaleMode.medium.borderRadius._vars,...e.scaleMode.medium.borderWidth._vars,...e.scaleMode.medium.avatarSizes._vars,...e.scaleMode.medium.iconSizes._vars,...e.scaleMode.medium.spacing._vars,...e.scaleMode.medium.fontFamily._vars,...e.scaleMode.medium.fontSize._vars,...e.scaleMode.medium.fontWeight._vars,...e.scaleMode.medium.lineHeight._vars,...e.scaleMode.medium.textTransform._vars},[`.${Me}`]:{...e.scaleMode.xLarge.borderRadius._vars,...e.scaleMode.xLarge.borderWidth._vars,...e.scaleMode.xLarge.avatarSizes._vars,...e.scaleMode.xLarge.iconSizes._vars,...e.scaleMode.xLarge.spacing._vars,...e.scaleMode.xLarge.fontFamily._vars,...e.scaleMode.xLarge.fontSize._vars,...e.scaleMode.xLarge.fontWeight._vars,...e.scaleMode.xLarge.lineHeight._vars,...e.scaleMode.xLarge.textTransform._vars},[`.${be}`]:{...e.scaleMode.xxLarge.borderRadius._vars,...e.scaleMode.xxLarge.borderWidth._vars,...e.scaleMode.xxLarge.avatarSizes._vars,...e.scaleMode.xxLarge.iconSizes._vars,...e.scaleMode.xxLarge.spacing._vars,...e.scaleMode.xxLarge.fontFamily._vars,...e.scaleMode.xxLarge.fontSize._vars,...e.scaleMode.xxLarge.fontWeight._vars,...e.scaleMode.xxLarge.lineHeight._vars,...e.scaleMode.xxLarge.textTransform._vars},[`.${ve}`]:{...e.scaleMode.xxxLarge.borderRadius._vars,...e.scaleMode.xxxLarge.borderWidth._vars,...e.scaleMode.xxxLarge.avatarSizes._vars,...e.scaleMode.xxxLarge.iconSizes._vars,...e.scaleMode.xxxLarge.spacing._vars,...e.scaleMode.xxxLarge.fontFamily._vars,...e.scaleMode.xxxLarge.fontSize._vars,...e.scaleMode.xxxLarge.fontWeight._vars,...e.scaleMode.xxxLarge.lineHeight._vars,...e.scaleMode.xxxLarge.textTransform._vars}}),s({iconSize:r=>({width:r,height:r,fontSize:r,lineHeight:r})},{values:e.scaleMode.large.iconSizes.tailwindConfig}),s({avatarSize:r=>({width:r,height:r})},{values:e.scaleMode.large.avatarSizes.tailwindConfig}),s({case:r=>({"text-transform":r})},{values:e.scaleMode.large.textTransform.tailwindConfig}),s({"font-weight":r=>({"font-weight":r})},{values:e.scaleMode.large.fontWeight.tailwindConfig}),s({"font-size":r=>({"font-size":r})},{values:e.scaleMode.large.fontSize.tailwindConfig})}},function({config:o=p,safelist:e=[]}){let t=J(o),a=t.colorMode[Ae].tailwindConfig,n=t.scaleMode[u],s=l(a.spectrum,(x,S)=>({...x,...Oe[S]})),r=a.palette.core,d={...Oe,...s,...D,...r},g=a.palette.foreground,y=a.palette.background,c=a.palette.line,k=W(f(m.fontSize).map(([x,S])=>[S,[`var(--${w}-${x})`,{lineHeight:`var(--${O}-${x})`}]])),I=n.spacing.tailwindConfig,$=W(f(m.borderRadius).map(([x,S])=>[S,`var(--${F}-${x})`])),ze={...n.borderRadius.tailwindConfig,...$},We=W(f(m.borderWidth).map(([x,S])=>[S,`var(--${L}-${x})`])),Q={...n.borderWidth.tailwindConfig,...We};return{darkMode:["class",z],safelist:[z,...e],theme:{extend:{aria:{checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',invalid:'aria-invalid="true"'},data:{active:'active="true"',"active-item":'active-item="true"',autofill:'autofill="true"',backdrop:'backdrop="true"',enter:'enter="true"',leave:'leave="true"',"focus-visible":'focus-visible="true"'},animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"},borderRadius:ze,borderWidth:Q,outlineWidth:Q,fontFamily:{...t.fontFamily,...n.fontFamily.tailwindConfig},fontSize:k,lineHeight:n.lineHeight.tailwindConfig,spacing:I,colors:d,backgroundColor:y,textColor:g,borderColor:c,fill:y,caretColor:g,placeholderColor:g,textDecorationColor:g,divideColor:c,outlineColor:c,ringColor:c,ringOffsetColor:c,stroke:c}}}});export{Ve as defaultTailwindThemeAsUdsConfig,P1 as tailwindPlugin};
1
+ import{tailwindColorsAsUds as Fe}from"@yahoo/uds/fixtures";var Q={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},ee={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var te={none:0,thin:1,medium:2,thick:2},oe={none:0,thin:1,medium:2,thick:4};var re={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"}}},ae={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 D={s:16,m:24,l:32},ie=D,H={sm:16,md:24,lg:32},ne=H;var se={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"}},le={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 M=["Helvetica Neue","Helvetica","Arial","sans-serif"],de=["Georgia","Times","Times New Roman","serif"],ce={icons:{fallbacks:M,name:"yahoo-icons"},sans:{fallbacks:M,name:"yahoo-sans"},"sans-beta":{fallbacks:M,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:M,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:de,name:"yahoo-serif-text"},"serif-display":{fallbacks:de,name:"yahoo-serif-display"}},B={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"},N={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},P={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"},X={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"},U={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}},V={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:{...U.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},b={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:{...V.lineHeight,title2:36,title3:32}},G={fontSize:{...b.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...b.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},K={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}},Z={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:{...K.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},pe={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:{...Z.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var j={fontFamily:B,fontWeight:P,textTransform:X,avatarSizes:D,iconSizes:H,borderRadius:Q,borderWidth:te},v={fontFamily:B,fontWeight:P,textTransform:X,avatarSizes:ie,iconSizes:ne,borderRadius:ee,borderWidth:oe},f={colorMode:{light:{palette:re,spectrum:se},dark:{palette:ae,spectrum:le}},scaleMode:{xSmall:{...j,...U},small:{...j,...V},medium:{...j,...b},large:{...v,...G},xLarge:{...v,...K},xxLarge:{...v,...Z},xxxLarge:{...v,...pe}},fontFamily:ce};var n="uds",Y=`${n}-spectrum-color`,F=`${n}-font`,fe=`${n}-icon-size`,ge=`${n}-avatar-size`,A=`${n}-border-radius`,L=`${n}-border-width`,w=`${n}-font-size`,O=`${n}-line-height`,me=`${n}-font-weight`,ue=`${n}-text-transform`,z=`${n}-color-mode-dark`,ye=`${n}-color-mode-light`,xe=`${n}-scale-mode-xsmall`,Se=`${n}-scale-mode-small`,_e=`${n}-scale-mode-medium`,he=`${n}-scale-mode-large`,Te=`${n}-scale-mode-xlarge`,Re=`${n}-scale-mode-xxlarge`,Ee=`${n}-scale-mode-xxxlarge`;var e1=`--${n}-font-icons`,t1=`--${n}-font-sans`,o1=`--${n}-font-sans-beta`,r1=`--${n}-font-sans-condensed`,a1=`--${n}-font-serif-display`,i1=`--${n}-font-serif-text`;var Ce="light",u="large";function g(t){return Object.entries(t)}function W(t){return Object.fromEntries(t)}function l(t,e){return Object.keys(t).reduce((o,r,s)=>(o[r]=e(t[r],r,s),o),{})}function Me(t){let{palette:e,spectrum:o}=t,r={},s={spectrum:{},palette:{}};for(let[i,a]of g(o))for(let[d,p]of g(a)){let y=`${i}-${d}`,c=`--${Y}-${y}`;s.spectrum[i]||(s.spectrum[i]={}),s.spectrum[i][d]=`rgb(var(${c}))`,r[c]=p}return g(e).forEach(([i,a])=>{for(let[d,{hue:p,step:y,opacity:c}]of Object.entries(a)){i in s.palette||(s.palette[i]={});let h=`--${n}-${i}-color-${d}`;r[h]=`var(--${Y}-${p}-${y})`,s.palette[i][d]=c?`rgb(var(${h}) / ${c})`:`rgb(var(${h}))`}}),{_vars:r,_raw:t,tailwindConfig:s}}function we(t){let e={},o={};for(let[r,s="regular"]of g(t)){let i=`--${me}-${r}`,a=N[s];e[i]=a,o[r]=`var(${i})`}return{_vars:e,_raw:t,tailwindConfig:{...N,...o}}}function be(t,e,o){let r={},s={};for(let[i,a]of g(e)){let d=`--${t}-${i}`,p=o?o(a):a;r[d]=p,s[i]=`var(${d})`}return{_vars:r,_raw:e,tailwindConfig:s}}function T(t,e){if(!e)return{_vars:{},_raw:{},tailwindConfig:{}};let o={},r={};for(let[s,i]of g(e)){let a=`--${t}-${s}`,d=`${i}px`;o[a]=d,r[s]=`var(${a})`}return{_vars:o,_raw:e,tailwindConfig:r}}function Oe(t){return l(t,(e,o)=>{let{fallbacks:r=[]}=e??{};return[`var(--${F}-${o})`,...r]})}function q(t){let{colorMode:e,scaleMode:o,fontFamily:r}=t;return{...t,colorMode:{light:Me(e.light),dark:Me(e.dark)},scaleMode:l(o,({borderRadius:s,borderWidth:i,fontSize:a,lineHeight:d,fontFamily:p,fontWeight:y,textTransform:c,avatarSizes:h,iconSizes:k})=>({fontFamily:be(F,p,$=>`var(--${F}-${$})`),fontSize:T(w,a),fontWeight:we(y),lineHeight:T(O,d),textTransform:be(ue,c),borderRadius:T(A,s),borderWidth:T(L,i),avatarSizes:T(ge,h),iconSizes:T(fe,k)})),fontFamily:Oe(r)}}import Be from"tailwindcss/plugin";import{borderRadiusRamp as ze,borderWidthRamp as We,fontSizeRamp as ke,lineHeightRamp as $e}from"@yahoo/uds/fixtures";import R from"tailwindcss/defaultTheme";var ve={display1:"6xl",display2:"5xl",display3:"4xl",title1:"3xl",title2:"2xl",title3:"xl",title4:"lg",headline1:"base",body1:"base",label1:"sm",label2:"sm",caption1:"xs",caption2:"xs"},Ie={xs:"sm",sm:"DEFAULT",md:"md",lg:"lg",xl:"xl"},De={thin:"DEFAULT",medium:"2",thick:"4"},m={fontSize:ve,lineHeight:ve,borderRadius:Ie,borderWidth:De};function E(t){return t.endsWith("rem")?parseFloat(t)*16:parseFloat(t)}var C={...f.scaleMode[u],fontSize:{...f.scaleMode[u].fontSize,...l(m.fontSize,t=>E(R.fontSize[t][0]))},lineHeight:{...f.scaleMode[u].fontSize,...l(m.lineHeight,t=>E(R.fontSize[t][1].lineHeight)),display1:E(R.fontSize[m.fontSize.display1][0]),display2:E(R.fontSize[m.fontSize.display2][0])},fontWeight:l(f.scaleMode[u].fontWeight,()=>"regular"),borderRadius:{...f.scaleMode[u].borderRadius,...l(m.borderRadius,t=>E(R.borderRadius[t]))},borderWidth:{...f.scaleMode[u].borderWidth,...l(m.borderWidth,t=>E(R.borderWidth[t]))}};function _(t){return{...f.scaleMode[t],fontWeight:C.fontWeight,fontSize:l(C.fontSize,(e,o)=>e+ke[t][o]),lineHeight:l(C.lineHeight,(e,o)=>e+$e[t][o]),borderRadius:l(C.borderRadius,(e,o)=>e+ze[t][o]),borderWidth:l(C.borderWidth,(e,o)=>e+We[t][o])}}var He={...f,scaleMode:{xSmall:_("xSmall"),small:_("small"),medium:_("medium"),large:_("large"),xLarge:_("xLarge"),xxLarge:_("xxLarge"),xxxLarge:_("xxxLarge")}};var W1=Be.withOptions(function({config:t=f}){let e=q(t),o=e.colorMode.light._vars,r={...e.scaleMode.large.borderRadius._vars,...e.scaleMode.large.borderWidth._vars,...e.scaleMode.large.avatarSizes._vars,...e.scaleMode.large.iconSizes._vars,...e.scaleMode.large.fontFamily._vars,...e.scaleMode.large.fontSize._vars,...e.scaleMode.large.fontWeight._vars,...e.scaleMode.large.lineHeight._vars,...e.scaleMode.large.textTransform._vars};return function({addBase:s,matchUtilities:i}){s({":root":{...o,...r},[`.${ye}`]:o,[`.${he}`]:r,[`.${z}`]:{...e.colorMode.dark._vars},[`.${xe}`]:{...e.scaleMode.xSmall.borderRadius._vars,...e.scaleMode.xSmall.borderWidth._vars,...e.scaleMode.xSmall.avatarSizes._vars,...e.scaleMode.xSmall.iconSizes._vars,...e.scaleMode.xSmall.fontFamily._vars,...e.scaleMode.xSmall.fontSize._vars,...e.scaleMode.xSmall.fontWeight._vars,...e.scaleMode.xSmall.lineHeight._vars,...e.scaleMode.xSmall.textTransform._vars},[`.${Se}`]:{...e.scaleMode.small.borderRadius._vars,...e.scaleMode.small.borderWidth._vars,...e.scaleMode.small.avatarSizes._vars,...e.scaleMode.small.iconSizes._vars,...e.scaleMode.small.fontFamily._vars,...e.scaleMode.small.fontSize._vars,...e.scaleMode.small.fontWeight._vars,...e.scaleMode.small.lineHeight._vars,...e.scaleMode.small.textTransform._vars},[`.${_e}`]:{...e.scaleMode.medium.borderRadius._vars,...e.scaleMode.medium.borderWidth._vars,...e.scaleMode.medium.avatarSizes._vars,...e.scaleMode.medium.iconSizes._vars,...e.scaleMode.medium.fontFamily._vars,...e.scaleMode.medium.fontSize._vars,...e.scaleMode.medium.fontWeight._vars,...e.scaleMode.medium.lineHeight._vars,...e.scaleMode.medium.textTransform._vars},[`.${Te}`]:{...e.scaleMode.xLarge.borderRadius._vars,...e.scaleMode.xLarge.borderWidth._vars,...e.scaleMode.xLarge.avatarSizes._vars,...e.scaleMode.xLarge.iconSizes._vars,...e.scaleMode.xLarge.fontFamily._vars,...e.scaleMode.xLarge.fontSize._vars,...e.scaleMode.xLarge.fontWeight._vars,...e.scaleMode.xLarge.lineHeight._vars,...e.scaleMode.xLarge.textTransform._vars},[`.${Re}`]:{...e.scaleMode.xxLarge.borderRadius._vars,...e.scaleMode.xxLarge.borderWidth._vars,...e.scaleMode.xxLarge.avatarSizes._vars,...e.scaleMode.xxLarge.iconSizes._vars,...e.scaleMode.xxLarge.fontFamily._vars,...e.scaleMode.xxLarge.fontSize._vars,...e.scaleMode.xxLarge.fontWeight._vars,...e.scaleMode.xxLarge.lineHeight._vars,...e.scaleMode.xxLarge.textTransform._vars},[`.${Ee}`]:{...e.scaleMode.xxxLarge.borderRadius._vars,...e.scaleMode.xxxLarge.borderWidth._vars,...e.scaleMode.xxxLarge.avatarSizes._vars,...e.scaleMode.xxxLarge.iconSizes._vars,...e.scaleMode.xxxLarge.fontFamily._vars,...e.scaleMode.xxxLarge.fontSize._vars,...e.scaleMode.xxxLarge.fontWeight._vars,...e.scaleMode.xxxLarge.lineHeight._vars,...e.scaleMode.xxxLarge.textTransform._vars}}),i({iconSize:a=>({width:a,height:a,fontSize:a,lineHeight:a})},{values:e.scaleMode.large.iconSizes.tailwindConfig}),i({avatarSize:a=>({width:a,height:a})},{values:e.scaleMode.large.avatarSizes.tailwindConfig}),i({case:a=>({"text-transform":a})},{values:e.scaleMode.large.textTransform.tailwindConfig}),i({"font-weight":a=>({"font-weight":a})},{values:e.scaleMode.large.fontWeight.tailwindConfig}),i({"font-size":a=>({"font-size":a})},{values:e.scaleMode.large.fontSize.tailwindConfig})}},function({config:t=f,safelist:e=[]}){let o=q(t),r=o.colorMode[Ce].tailwindConfig,s=o.scaleMode[u],i=l(r.spectrum,(x,S)=>({...x,...Fe[S]})),a=r.palette.core,d={...Fe,...i,...I,...a},p=r.palette.foreground,y=r.palette.background,c=r.palette.line,k=W(g(m.fontSize).map(([x,S])=>[S,[`var(--${w}-${x})`,{lineHeight:`var(--${O}-${x})`}]])),$=W(g(m.borderRadius).map(([x,S])=>[S,`var(--${A}-${x})`])),Ae={...s.borderRadius.tailwindConfig,...$},Le=W(g(m.borderWidth).map(([x,S])=>[S,`var(--${L}-${x})`])),J={...s.borderWidth.tailwindConfig,...Le};return{darkMode:["class",z],safelist:[z,...e],theme:{extend:{aria:{checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',invalid:'aria-invalid="true"'},data:{active:'active="true"',"active-item":'active-item="true"',autofill:'autofill="true"',backdrop:'backdrop="true"',enter:'enter="true"',leave:'leave="true"',"focus-visible":'focus-visible="true"'},animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"},borderRadius:Ae,borderWidth:J,outlineWidth:J,fontFamily:{...o.fontFamily,...s.fontFamily.tailwindConfig},fontSize:k,lineHeight:s.lineHeight.tailwindConfig,colors:d,backgroundColor:y,textColor:p,borderColor:c,fill:y,caretColor:p,placeholderColor:p,textDecorationColor:p,divideColor:c,outlineColor:c,ringColor:c,ringOffsetColor:c,stroke:c}}}});export{He as defaultTailwindThemeAsUdsConfig,W1 as tailwindPlugin,m as udsToTailwindMap};
@@ -0,0 +1,4 @@
1
+ "use strict";var a=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var s=(o,e)=>{for(var t in e)a(o,t,{get:e[t],enumerable:!0})},l=(o,e,t,p)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of i(e))!d.call(o,r)&&r!==t&&a(o,r,{get:()=>e[r],enumerable:!(p=n(e,r))||p.enumerable});return o};var b=o=>l(a({},"__esModule",{value:!0}),o);var v={};s(v,{componentToTwClasses:()=>g,componentToVariants:()=>x,componentsDependencies:()=>f,variantToTailwindClass:()=>c,variantsList:()=>m});module.exports=b(v);var c={color:"text-accent text-alert text-black text-brand text-positive text-warning text-white text-transparent text-muted text-on-color text-primary text-secondary text-tertiary",placeholderColor:"placeholder:text-accent placeholder:text-alert placeholder:text-black placeholder:text-brand placeholder:text-positive placeholder:text-warning placeholder:text-white placeholder:text-transparent placeholder:text-muted placeholder:text-on-color placeholder:text-primary placeholder:text-secondary placeholder:text-tertiary",fontFamily:"font-icons font-sans font-sans-beta font-sans-condensed font-serif-text font-serif-display font-display1 font-display2 font-display3 font-title1 font-title2 font-title3 font-title4 font-headline1 font-body1 font-label1 font-label2 font-caption1 font-caption2 font-legal1",fontSize:"font-size-display1 font-size-display2 font-size-display3 font-size-title1 font-size-title2 font-size-title3 font-size-title4 font-size-headline1 font-size-body1 font-size-label1 font-size-label2 font-size-caption1 font-size-caption2 font-size-legal1",fontWeight:"font-weight-thin font-weight-extralight font-weight-light font-weight-regular font-weight-medium font-weight-semibold font-weight-bold font-weight-extrabold font-weight-black font-weight-display1 font-weight-display2 font-weight-display3 font-weight-title1 font-weight-title2 font-weight-title3 font-weight-title4 font-weight-headline1 font-weight-body1 font-weight-label1 font-weight-label2 font-weight-caption1 font-weight-caption2 font-weight-legal1",lineHeight:"leading-display1 leading-display2 leading-display3 leading-title1 leading-title2 leading-title3 leading-title4 leading-headline1 leading-body1 leading-label1 leading-label2 leading-caption1 leading-caption2 leading-legal1",textAlign:"text-center text-justify text-start text-end",textTransform:"case-display1 case-display2 case-display3 case-title1 case-title2 case-title3 case-title4 case-headline1 case-body1 case-label1 case-label2 case-caption1 case-caption2 case-legal1 normal-case uppercase lowercase capitalize",spacing:"p-0 p-1 p-2 p-3 p-4 p-5 p-6 p-7 p-8 p-9 p-10 p-11 p-12 p-14 p-16 p-20 p-24 p-28 p-32 p-36 p-40 p-44 p-48 p-52 p-56 p-60 p-64 p-72 p-80 p-96 p-px p-0.5 p-1.5 p-2.5 p-3.5",spacingHorizontal:"px-0 px-1 px-2 px-3 px-4 px-5 px-6 px-7 px-8 px-9 px-10 px-11 px-12 px-14 px-16 px-20 px-24 px-28 px-32 px-36 px-40 px-44 px-48 px-52 px-56 px-60 px-64 px-72 px-80 px-96 px-px px-0.5 px-1.5 px-2.5 px-3.5",spacingVertical:"py-0 py-1 py-2 py-3 py-4 py-5 py-6 py-7 py-8 py-9 py-10 py-11 py-12 py-14 py-16 py-20 py-24 py-28 py-32 py-36 py-40 py-44 py-48 py-52 py-56 py-60 py-64 py-72 py-80 py-96 py-px py-0.5 py-1.5 py-2.5 py-3.5",spacingBottom:"pb-0 pb-1 pb-2 pb-3 pb-4 pb-5 pb-6 pb-7 pb-8 pb-9 pb-10 pb-11 pb-12 pb-14 pb-16 pb-20 pb-24 pb-28 pb-32 pb-36 pb-40 pb-44 pb-48 pb-52 pb-56 pb-60 pb-64 pb-72 pb-80 pb-96 pb-px pb-0.5 pb-1.5 pb-2.5 pb-3.5",spacingEnd:"pe-0 pe-1 pe-2 pe-3 pe-4 pe-5 pe-6 pe-7 pe-8 pe-9 pe-10 pe-11 pe-12 pe-14 pe-16 pe-20 pe-24 pe-28 pe-32 pe-36 pe-40 pe-44 pe-48 pe-52 pe-56 pe-60 pe-64 pe-72 pe-80 pe-96 pe-px pe-0.5 pe-1.5 pe-2.5 pe-3.5",spacingStart:"ps-0 ps-1 ps-2 ps-3 ps-4 ps-5 ps-6 ps-7 ps-8 ps-9 ps-10 ps-11 ps-12 ps-14 ps-16 ps-20 ps-24 ps-28 ps-32 ps-36 ps-40 ps-44 ps-48 ps-52 ps-56 ps-60 ps-64 ps-72 ps-80 ps-96 ps-px ps-0.5 ps-1.5 ps-2.5 ps-3.5",spacingTop:"pt-0 pt-1 pt-2 pt-3 pt-4 pt-5 pt-6 pt-7 pt-8 pt-9 pt-10 pt-11 pt-12 pt-14 pt-16 pt-20 pt-24 pt-28 pt-32 pt-36 pt-40 pt-44 pt-48 pt-52 pt-56 pt-60 pt-64 pt-72 pt-80 pt-96 pt-px pt-0.5 pt-1.5 pt-2.5 pt-3.5",offset:"-m-0 -m-1 -m-2 -m-3 -m-4 -m-5 -m-6 -m-7 -m-8 -m-9 -m-10 -m-11 -m-12 -m-14 -m-16 -m-20 -m-24 -m-28 -m-32 -m-36 -m-40 -m-44 -m-48 -m-52 -m-56 -m-60 -m-64 -m-72 -m-80 -m-96 -m-px -m-0.5 -m-1.5 -m-2.5 -m-3.5",offsetVertical:"-my-0 -my-1 -my-2 -my-3 -my-4 -my-5 -my-6 -my-7 -my-8 -my-9 -my-10 -my-11 -my-12 -my-14 -my-16 -my-20 -my-24 -my-28 -my-32 -my-36 -my-40 -my-44 -my-48 -my-52 -my-56 -my-60 -my-64 -my-72 -my-80 -my-96 -my-px -my-0.5 -my-1.5 -my-2.5 -my-3.5",offsetHorizontal:"-mx-0 -mx-1 -mx-2 -mx-3 -mx-4 -mx-5 -mx-6 -mx-7 -mx-8 -mx-9 -mx-10 -mx-11 -mx-12 -mx-14 -mx-16 -mx-20 -mx-24 -mx-28 -mx-32 -mx-36 -mx-40 -mx-44 -mx-48 -mx-52 -mx-56 -mx-60 -mx-64 -mx-72 -mx-80 -mx-96 -mx-px -mx-0.5 -mx-1.5 -mx-2.5 -mx-3.5",offsetBottom:"-mb-0 -mb-1 -mb-2 -mb-3 -mb-4 -mb-5 -mb-6 -mb-7 -mb-8 -mb-9 -mb-10 -mb-11 -mb-12 -mb-14 -mb-16 -mb-20 -mb-24 -mb-28 -mb-32 -mb-36 -mb-40 -mb-44 -mb-48 -mb-52 -mb-56 -mb-60 -mb-64 -mb-72 -mb-80 -mb-96 -mb-px -mb-0.5 -mb-1.5 -mb-2.5 -mb-3.5",offsetEnd:"-me-0 -me-1 -me-2 -me-3 -me-4 -me-5 -me-6 -me-7 -me-8 -me-9 -me-10 -me-11 -me-12 -me-14 -me-16 -me-20 -me-24 -me-28 -me-32 -me-36 -me-40 -me-44 -me-48 -me-52 -me-56 -me-60 -me-64 -me-72 -me-80 -me-96 -me-px -me-0.5 -me-1.5 -me-2.5 -me-3.5",offsetStart:"-ms-0 -ms-1 -ms-2 -ms-3 -ms-4 -ms-5 -ms-6 -ms-7 -ms-8 -ms-9 -ms-10 -ms-11 -ms-12 -ms-14 -ms-16 -ms-20 -ms-24 -ms-28 -ms-32 -ms-36 -ms-40 -ms-44 -ms-48 -ms-52 -ms-56 -ms-60 -ms-64 -ms-72 -ms-80 -ms-96 -ms-px -ms-0.5 -ms-1.5 -ms-2.5 -ms-3.5",offsetTop:"-mt-0 -mt-1 -mt-2 -mt-3 -mt-4 -mt-5 -mt-6 -mt-7 -mt-8 -mt-9 -mt-10 -mt-11 -mt-12 -mt-14 -mt-16 -mt-20 -mt-24 -mt-28 -mt-32 -mt-36 -mt-40 -mt-44 -mt-48 -mt-52 -mt-56 -mt-60 -mt-64 -mt-72 -mt-80 -mt-96 -mt-px -mt-0.5 -mt-1.5 -mt-2.5 -mt-3.5",columnGap:"gap-x-0 gap-x-1 gap-x-2 gap-x-3 gap-x-4 gap-x-5 gap-x-6 gap-x-7 gap-x-8 gap-x-9 gap-x-10 gap-x-11 gap-x-12 gap-x-14 gap-x-16 gap-x-20 gap-x-24 gap-x-28 gap-x-32 gap-x-36 gap-x-40 gap-x-44 gap-x-48 gap-x-52 gap-x-56 gap-x-60 gap-x-64 gap-x-72 gap-x-80 gap-x-96 gap-x-px gap-x-0.5 gap-x-1.5 gap-x-2.5 gap-x-3.5",rowGap:"gap-y-0 gap-y-1 gap-y-2 gap-y-3 gap-y-4 gap-y-5 gap-y-6 gap-y-7 gap-y-8 gap-y-9 gap-y-10 gap-y-11 gap-y-12 gap-y-14 gap-y-16 gap-y-20 gap-y-24 gap-y-28 gap-y-32 gap-y-36 gap-y-40 gap-y-44 gap-y-48 gap-y-52 gap-y-56 gap-y-60 gap-y-64 gap-y-72 gap-y-80 gap-y-96 gap-y-px gap-y-0.5 gap-y-1.5 gap-y-2.5 gap-y-3.5",backgroundColor:"bg-accent bg-alert bg-black bg-brand bg-positive bg-warning bg-white bg-primary bg-secondary bg-transparent",borderColor:"border-accent border-alert border-black border-brand border-positive border-warning border-white border-transparent border-muted border-primary border-secondary border-tertiary",borderColorOnActive:"active:border-accent active:border-alert active:border-black active:border-brand active:border-positive active:border-warning active:border-white active:border-transparent active:border-muted active:border-primary active:border-secondary active:border-tertiary",borderColorOnFocus:"focus:border-accent focus:border-alert focus:border-black focus:border-brand focus:border-positive focus:border-warning focus:border-white focus:border-transparent focus:border-muted focus:border-primary focus:border-secondary focus:border-tertiary",borderColorOnHover:"hover:border-accent hover:border-alert hover:border-black hover:border-brand hover:border-positive hover:border-warning hover:border-white hover:border-transparent hover:border-muted hover:border-primary hover:border-secondary hover:border-tertiary",borderColorOnChecked:"data-[state=checked]:border-accent data-[state=checked]:border-alert data-[state=checked]:border-black data-[state=checked]:border-brand data-[state=checked]:border-positive data-[state=checked]:border-warning data-[state=checked]:border-white data-[state=checked]:border-transparent data-[state=checked]:border-muted data-[state=checked]:border-primary data-[state=checked]:border-secondary data-[state=checked]:border-tertiary",borderStartColor:"border-s-accent border-s-alert border-s-black border-s-brand border-s-positive border-s-warning border-s-white border-s-transparent border-s-muted border-s-primary border-s-secondary border-s-tertiary",borderEndColor:"border-e-accent border-e-alert border-e-black border-e-brand border-e-positive border-e-warning border-e-white border-e-transparent border-e-muted border-e-primary border-e-secondary border-e-tertiary",borderBottomColor:"border-b-accent border-b-alert border-b-black border-b-brand border-b-positive border-b-warning border-b-white border-b-transparent border-b-muted border-b-primary border-b-secondary border-b-tertiary",borderTopColor:"border-t-accent border-t-alert border-t-black border-t-brand border-t-positive border-t-warning border-t-white border-t-transparent border-t-muted border-t-primary border-t-secondary border-t-tertiary",borderRadius:"rounded-none rounded-xs rounded-sm rounded-md rounded-lg rounded-xl rounded-full",borderTopStartRadius:"rounded-ss-none rounded-ss-xs rounded-ss-sm rounded-ss-md rounded-ss-lg rounded-ss-xl rounded-ss-full",borderTopEndRadius:"rounded-se-none rounded-se-xs rounded-se-sm rounded-se-md rounded-se-lg rounded-se-xl rounded-se-full",borderBottomStartRadius:"rounded-es-none rounded-es-xs rounded-es-sm rounded-es-md rounded-es-lg rounded-es-xl rounded-es-full",borderBottomEndRadius:"rounded-ee-none rounded-ee-xs rounded-ee-sm rounded-ee-md rounded-ee-lg rounded-ee-xl rounded-ee-full",borderWidth:"border-none border-thin border-medium border-thick",borderVerticalWidth:"border-y-none border-y-thin border-y-medium border-y-thick",borderHorizontalWidth:"border-x-none border-x-thin border-x-medium border-x-thick",borderStartWidth:"border-s-none border-s-thin border-s-medium border-s-thick",borderEndWidth:"border-e-none border-e-thin border-e-medium border-e-thick",borderTopWidth:"border-t-none border-t-thin border-t-medium border-t-thick",borderBottomWidth:"border-b-none border-b-thin border-b-medium border-b-thick",avatarSize:"avatarSize-s avatarSize-m avatarSize-l",iconSize:"iconSize-sm leading-none iconSize-md leading-none iconSize-lg leading-none",alignContent:"content-start content-end content-center content-stretch content-between content-around",alignItems:"items-start items-end items-center items-stretch items-baseline",alignSelf:"self-auto self-start self-end self-center self-stretch self-baseline",flex:"flex-1 flex-auto flex-initial flex-none",flexDirection:"flex-row flex-col flex-row-reverse flex-col-reverse",flexGrow:"grow-0 grow grow-[2] grow-[3]",flexShrink:"shrink-0 shrink",flexWrap:"flex-wrap flex-wrap-reverse flex-nowrap",justifyContent:"justify-start justify-end justify-center justify-between justify-around justify-evenly",flexBasis:"basis-[min-content]",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",overflow:"overflow-auto overflow-hidden overflow-clip overflow-visible overflow-scroll",overflowX:"overflow-x-auto overflow-x-hidden overflow-x-clip overflow-x-visible overflow-x-scroll",overflowY:"overflow-y-auto overflow-y-hidden overflow-y-clip overflow-y-visible overflow-y-scroll",position:"static fixed absolute relative sticky",contentFit:"object-contain object-cover object-fill object-none object-scale-down",colorMode:"uds-color-mode-dark uds-color-mode-light",scaleMode:"uds-scale-mode-xsmall uds-scale-mode-small uds-scale-mode-medium uds-scale-mode-large uds-scale-mode-xlarge uds-scale-mode-xxxlarge uds-scale-mode-xxlarge"},m=["color","placeholderColor","fontFamily","fontSize","fontWeight","lineHeight","textAlign","textTransform","spacing","spacingHorizontal","spacingVertical","spacingBottom","spacingEnd","spacingStart","spacingTop","offset","offsetVertical","offsetHorizontal","offsetBottom","offsetEnd","offsetStart","offsetTop","columnGap","rowGap","backgroundColor","borderColor","borderColorOnActive","borderColorOnFocus","borderColorOnHover","borderColorOnChecked","borderStartColor","borderEndColor","borderBottomColor","borderTopColor","borderRadius","borderTopStartRadius","borderTopEndRadius","borderBottomStartRadius","borderBottomEndRadius","borderWidth","borderVerticalWidth","borderHorizontalWidth","borderStartWidth","borderEndWidth","borderTopWidth","borderBottomWidth","avatarSize","iconSize","alignContent","alignItems","alignSelf","flex","flexDirection","flexGrow","flexShrink","flexWrap","justifyContent","flexBasis","display","overflow","overflowX","overflowY","position","contentFit","colorMode","scaleMode"],x={Box:["display","flexDirection","rowGap","columnGap","borderColor","borderRadius","overflow"],HStack:["alignItems","justifyContent"],Icon:["color","iconSize"],Image:[],Pressable:["display","flexDirection","alignItems","justifyContent","spacingVertical","spacingHorizontal","borderRadius","columnGap","backgroundColor","borderColor","borderBottomWidth","spacingBottom","spacingTop"],Text:["color","fontSize","fontFamily","fontWeight","lineHeight","textTransform","textAlign","display","spacing","borderBottomColor","borderBottomWidth","spacingStart"],VStack:["overflow","spacingHorizontal","alignItems","borderRadius","backgroundColor","spacingVertical","position","spacing"],Accordion:["spacingHorizontal"],Avatar:[],Button:["spacingEnd","spacingVertical"],Chip:[],Dropdown:[],DropdownItem:[],DropdownItemPressable:[],DropdownItems:["overflow"],DropdownTrigger:[],IconButton:["color"],Modal:[],ModalDismiss:[],ModalHeader:[],Popover:[],PopoverAnchor:[],PopoverArrow:[],PopoverDescription:[],PopoverDisclosure:[],PopoverDisclosureArrow:[],PopoverDismiss:[],PopoverHeading:[],PopoverProvider:[],Spinner:[],Tab:[],TabList:[],TabPanel:[],Table:[],Tabs:[],TextInput:["backgroundColor","borderColor","borderWidth","borderRadius","color","placeholderColor","spacingVertical","spacingHorizontal"],TextInputGroup:[],TextInputLabel:[],ToastContainer:[]},g={Box:"container flex border",HStack:"container ",Icon:"flex border outline",Image:"flex border",Pressable:"flex border",Text:"container flex border",VStack:"container ",Accordion:"flex hidden max-h-0 max-h-full min-h-min w-full transition-\\[max-height\\] duration-500 ease-in-out hover\\:bg-secondary\\/80:hover",Avatar:"",Button:"",Chip:"inline-flex",Dropdown:"",DropdownItem:"",DropdownItemPressable:"flex cursor-default hover\\:bg-gray-2:hover",DropdownItems:"max-h-\\[312px\\] min-w-\\[220px\\] \\!stroke-muted \\!stroke-1 shadow-md",DropdownTrigger:"flex",IconButton:"h-\\[36px\\] h-\\[48px\\] h-\\[64px\\] w-\\[36px\\] w-\\[48px\\] w-\\[64px\\] leading-\\[0px\\]",Modal:"fixed inset-8 top-\\[250px\\] z-50 mx-auto hidden h-fit w-\\[600px\\] origin-center scale-95 opacity-0 shadow-md backdrop-blur-0 transition duration-150 data-\\[enter\\]\\:scale-100[data-enter] data-\\[enter\\]\\:bg-primary[data-enter] data-\\[enter\\]\\:opacity-100[data-enter] data-\\[enter\\]\\:backdrop-blur-sm[data-enter]",ModalDismiss:"fixed inset-8 top-\\[250px\\] z-50 mx-auto hidden h-fit w-\\[600px\\] origin-center scale-95 opacity-0 shadow-md backdrop-blur-0 transition duration-150 data-\\[enter\\]\\:scale-100[data-enter] data-\\[enter\\]\\:bg-primary[data-enter] data-\\[enter\\]\\:opacity-100[data-enter] data-\\[enter\\]\\:backdrop-blur-sm[data-enter]",ModalHeader:"fixed inset-8 top-\\[250px\\] z-50 mx-auto hidden h-fit w-\\[600px\\] origin-center scale-95 opacity-0 shadow-md backdrop-blur-0 transition duration-150 data-\\[enter\\]\\:scale-100[data-enter] data-\\[enter\\]\\:bg-primary[data-enter] data-\\[enter\\]\\:opacity-100[data-enter] data-\\[enter\\]\\:backdrop-blur-sm[data-enter]",Popover:"",PopoverAnchor:"",PopoverArrow:"",PopoverDescription:"",PopoverDisclosure:"",PopoverDisclosureArrow:"",PopoverDismiss:"",PopoverHeading:"",PopoverProvider:"",Spinner:"sr-only absolute relative left-0 right-0 animate-spin self-center fill-accent text-gray-3",Tab:"flex",TabList:"flex",TabPanel:"flex",Table:"block inline flex table table-cell table-header-group table-row-group table-row grid hidden",Tabs:"flex",TextInput:"w-full",TextInputGroup:"w-full",TextInputLabel:"",ToastContainer:"relative flex hidden cursor-pointer transition"},f={Box:[],HStack:["Box"],Icon:[],Image:[],Pressable:[],Text:[],VStack:["Box"],Accordion:["Icon","Pressable","Text","VStack"],Avatar:[],Button:["Icon","Pressable","Text"],Chip:["Icon","Pressable","Text"],Dropdown:["PopoverProvider"],DropdownItem:["DropdownItemPressable","Icon","Text","VStack"],DropdownItemPressable:["Pressable"],DropdownItems:["Popover","PopoverArrow","VStack"],DropdownTrigger:["PopoverDisclosure","Pressable"],IconButton:["Icon","Pressable"],Modal:["Button","HStack","Text","VStack"],ModalDismiss:["Button","HStack","Text","VStack"],ModalHeader:["Button","HStack","Text","VStack"],Popover:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],PopoverAnchor:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],PopoverArrow:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],PopoverDescription:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],PopoverDisclosure:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],PopoverDisclosureArrow:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],PopoverDismiss:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],PopoverHeading:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],PopoverProvider:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],Spinner:[],Tab:["Tab","TabList","TabPanel","Icon","Pressable","Text"],TabList:["Tab","TabList","TabPanel","Icon","Pressable","Text"],TabPanel:["Tab","TabList","TabPanel","Icon","Pressable","Text"],Table:["Box","Text"],Tabs:["Tab","TabList","TabPanel","Icon","Pressable","Text"],TextInput:[],TextInputGroup:["TextInput","TextInputLabel","VStack"],TextInputLabel:["Text"],ToastContainer:["ToastContainer","IconButton"]};0&&(module.exports={componentToTwClasses,componentToVariants,componentsDependencies,variantToTailwindClass,variantsList});
2
+ //! This file is generated by purgeCSS.ts from @yahoo/uds
3
+ //! Do not edit directly
4
+ //! If there is issue with this file please report to #ask-uds
@@ -0,0 +1,20 @@
1
+ type ComponentToVariants = {
2
+ [key: string]: string[];
3
+ };
4
+ type VariantToTailwindClass = {
5
+ [key: string]: string;
6
+ };
7
+ type VariantsList = string[];
8
+ type ComponentDependencies = {
9
+ [key: string]: string[];
10
+ };
11
+ type ComponentToTwClasses = {
12
+ [key: string]: string;
13
+ };
14
+ declare const variantToTailwindClass: VariantToTailwindClass;
15
+ declare const variantsList: VariantsList;
16
+ declare const componentToVariants: ComponentToVariants;
17
+ declare const componentToTwClasses: ComponentToTwClasses;
18
+ declare const componentsDependencies: ComponentDependencies;
19
+
20
+ export { type ComponentDependencies, type ComponentToTwClasses, type ComponentToVariants, type VariantToTailwindClass, type VariantsList, componentToTwClasses, componentToVariants, componentsDependencies, variantToTailwindClass, variantsList };
@@ -0,0 +1,20 @@
1
+ type ComponentToVariants = {
2
+ [key: string]: string[];
3
+ };
4
+ type VariantToTailwindClass = {
5
+ [key: string]: string;
6
+ };
7
+ type VariantsList = string[];
8
+ type ComponentDependencies = {
9
+ [key: string]: string[];
10
+ };
11
+ type ComponentToTwClasses = {
12
+ [key: string]: string;
13
+ };
14
+ declare const variantToTailwindClass: VariantToTailwindClass;
15
+ declare const variantsList: VariantsList;
16
+ declare const componentToVariants: ComponentToVariants;
17
+ declare const componentToTwClasses: ComponentToTwClasses;
18
+ declare const componentsDependencies: ComponentDependencies;
19
+
20
+ export { type ComponentDependencies, type ComponentToTwClasses, type ComponentToVariants, type VariantToTailwindClass, type VariantsList, componentToTwClasses, componentToVariants, componentsDependencies, variantToTailwindClass, variantsList };
@@ -0,0 +1,4 @@
1
+ var e={color:"text-accent text-alert text-black text-brand text-positive text-warning text-white text-transparent text-muted text-on-color text-primary text-secondary text-tertiary",placeholderColor:"placeholder:text-accent placeholder:text-alert placeholder:text-black placeholder:text-brand placeholder:text-positive placeholder:text-warning placeholder:text-white placeholder:text-transparent placeholder:text-muted placeholder:text-on-color placeholder:text-primary placeholder:text-secondary placeholder:text-tertiary",fontFamily:"font-icons font-sans font-sans-beta font-sans-condensed font-serif-text font-serif-display font-display1 font-display2 font-display3 font-title1 font-title2 font-title3 font-title4 font-headline1 font-body1 font-label1 font-label2 font-caption1 font-caption2 font-legal1",fontSize:"font-size-display1 font-size-display2 font-size-display3 font-size-title1 font-size-title2 font-size-title3 font-size-title4 font-size-headline1 font-size-body1 font-size-label1 font-size-label2 font-size-caption1 font-size-caption2 font-size-legal1",fontWeight:"font-weight-thin font-weight-extralight font-weight-light font-weight-regular font-weight-medium font-weight-semibold font-weight-bold font-weight-extrabold font-weight-black font-weight-display1 font-weight-display2 font-weight-display3 font-weight-title1 font-weight-title2 font-weight-title3 font-weight-title4 font-weight-headline1 font-weight-body1 font-weight-label1 font-weight-label2 font-weight-caption1 font-weight-caption2 font-weight-legal1",lineHeight:"leading-display1 leading-display2 leading-display3 leading-title1 leading-title2 leading-title3 leading-title4 leading-headline1 leading-body1 leading-label1 leading-label2 leading-caption1 leading-caption2 leading-legal1",textAlign:"text-center text-justify text-start text-end",textTransform:"case-display1 case-display2 case-display3 case-title1 case-title2 case-title3 case-title4 case-headline1 case-body1 case-label1 case-label2 case-caption1 case-caption2 case-legal1 normal-case uppercase lowercase capitalize",spacing:"p-0 p-1 p-2 p-3 p-4 p-5 p-6 p-7 p-8 p-9 p-10 p-11 p-12 p-14 p-16 p-20 p-24 p-28 p-32 p-36 p-40 p-44 p-48 p-52 p-56 p-60 p-64 p-72 p-80 p-96 p-px p-0.5 p-1.5 p-2.5 p-3.5",spacingHorizontal:"px-0 px-1 px-2 px-3 px-4 px-5 px-6 px-7 px-8 px-9 px-10 px-11 px-12 px-14 px-16 px-20 px-24 px-28 px-32 px-36 px-40 px-44 px-48 px-52 px-56 px-60 px-64 px-72 px-80 px-96 px-px px-0.5 px-1.5 px-2.5 px-3.5",spacingVertical:"py-0 py-1 py-2 py-3 py-4 py-5 py-6 py-7 py-8 py-9 py-10 py-11 py-12 py-14 py-16 py-20 py-24 py-28 py-32 py-36 py-40 py-44 py-48 py-52 py-56 py-60 py-64 py-72 py-80 py-96 py-px py-0.5 py-1.5 py-2.5 py-3.5",spacingBottom:"pb-0 pb-1 pb-2 pb-3 pb-4 pb-5 pb-6 pb-7 pb-8 pb-9 pb-10 pb-11 pb-12 pb-14 pb-16 pb-20 pb-24 pb-28 pb-32 pb-36 pb-40 pb-44 pb-48 pb-52 pb-56 pb-60 pb-64 pb-72 pb-80 pb-96 pb-px pb-0.5 pb-1.5 pb-2.5 pb-3.5",spacingEnd:"pe-0 pe-1 pe-2 pe-3 pe-4 pe-5 pe-6 pe-7 pe-8 pe-9 pe-10 pe-11 pe-12 pe-14 pe-16 pe-20 pe-24 pe-28 pe-32 pe-36 pe-40 pe-44 pe-48 pe-52 pe-56 pe-60 pe-64 pe-72 pe-80 pe-96 pe-px pe-0.5 pe-1.5 pe-2.5 pe-3.5",spacingStart:"ps-0 ps-1 ps-2 ps-3 ps-4 ps-5 ps-6 ps-7 ps-8 ps-9 ps-10 ps-11 ps-12 ps-14 ps-16 ps-20 ps-24 ps-28 ps-32 ps-36 ps-40 ps-44 ps-48 ps-52 ps-56 ps-60 ps-64 ps-72 ps-80 ps-96 ps-px ps-0.5 ps-1.5 ps-2.5 ps-3.5",spacingTop:"pt-0 pt-1 pt-2 pt-3 pt-4 pt-5 pt-6 pt-7 pt-8 pt-9 pt-10 pt-11 pt-12 pt-14 pt-16 pt-20 pt-24 pt-28 pt-32 pt-36 pt-40 pt-44 pt-48 pt-52 pt-56 pt-60 pt-64 pt-72 pt-80 pt-96 pt-px pt-0.5 pt-1.5 pt-2.5 pt-3.5",offset:"-m-0 -m-1 -m-2 -m-3 -m-4 -m-5 -m-6 -m-7 -m-8 -m-9 -m-10 -m-11 -m-12 -m-14 -m-16 -m-20 -m-24 -m-28 -m-32 -m-36 -m-40 -m-44 -m-48 -m-52 -m-56 -m-60 -m-64 -m-72 -m-80 -m-96 -m-px -m-0.5 -m-1.5 -m-2.5 -m-3.5",offsetVertical:"-my-0 -my-1 -my-2 -my-3 -my-4 -my-5 -my-6 -my-7 -my-8 -my-9 -my-10 -my-11 -my-12 -my-14 -my-16 -my-20 -my-24 -my-28 -my-32 -my-36 -my-40 -my-44 -my-48 -my-52 -my-56 -my-60 -my-64 -my-72 -my-80 -my-96 -my-px -my-0.5 -my-1.5 -my-2.5 -my-3.5",offsetHorizontal:"-mx-0 -mx-1 -mx-2 -mx-3 -mx-4 -mx-5 -mx-6 -mx-7 -mx-8 -mx-9 -mx-10 -mx-11 -mx-12 -mx-14 -mx-16 -mx-20 -mx-24 -mx-28 -mx-32 -mx-36 -mx-40 -mx-44 -mx-48 -mx-52 -mx-56 -mx-60 -mx-64 -mx-72 -mx-80 -mx-96 -mx-px -mx-0.5 -mx-1.5 -mx-2.5 -mx-3.5",offsetBottom:"-mb-0 -mb-1 -mb-2 -mb-3 -mb-4 -mb-5 -mb-6 -mb-7 -mb-8 -mb-9 -mb-10 -mb-11 -mb-12 -mb-14 -mb-16 -mb-20 -mb-24 -mb-28 -mb-32 -mb-36 -mb-40 -mb-44 -mb-48 -mb-52 -mb-56 -mb-60 -mb-64 -mb-72 -mb-80 -mb-96 -mb-px -mb-0.5 -mb-1.5 -mb-2.5 -mb-3.5",offsetEnd:"-me-0 -me-1 -me-2 -me-3 -me-4 -me-5 -me-6 -me-7 -me-8 -me-9 -me-10 -me-11 -me-12 -me-14 -me-16 -me-20 -me-24 -me-28 -me-32 -me-36 -me-40 -me-44 -me-48 -me-52 -me-56 -me-60 -me-64 -me-72 -me-80 -me-96 -me-px -me-0.5 -me-1.5 -me-2.5 -me-3.5",offsetStart:"-ms-0 -ms-1 -ms-2 -ms-3 -ms-4 -ms-5 -ms-6 -ms-7 -ms-8 -ms-9 -ms-10 -ms-11 -ms-12 -ms-14 -ms-16 -ms-20 -ms-24 -ms-28 -ms-32 -ms-36 -ms-40 -ms-44 -ms-48 -ms-52 -ms-56 -ms-60 -ms-64 -ms-72 -ms-80 -ms-96 -ms-px -ms-0.5 -ms-1.5 -ms-2.5 -ms-3.5",offsetTop:"-mt-0 -mt-1 -mt-2 -mt-3 -mt-4 -mt-5 -mt-6 -mt-7 -mt-8 -mt-9 -mt-10 -mt-11 -mt-12 -mt-14 -mt-16 -mt-20 -mt-24 -mt-28 -mt-32 -mt-36 -mt-40 -mt-44 -mt-48 -mt-52 -mt-56 -mt-60 -mt-64 -mt-72 -mt-80 -mt-96 -mt-px -mt-0.5 -mt-1.5 -mt-2.5 -mt-3.5",columnGap:"gap-x-0 gap-x-1 gap-x-2 gap-x-3 gap-x-4 gap-x-5 gap-x-6 gap-x-7 gap-x-8 gap-x-9 gap-x-10 gap-x-11 gap-x-12 gap-x-14 gap-x-16 gap-x-20 gap-x-24 gap-x-28 gap-x-32 gap-x-36 gap-x-40 gap-x-44 gap-x-48 gap-x-52 gap-x-56 gap-x-60 gap-x-64 gap-x-72 gap-x-80 gap-x-96 gap-x-px gap-x-0.5 gap-x-1.5 gap-x-2.5 gap-x-3.5",rowGap:"gap-y-0 gap-y-1 gap-y-2 gap-y-3 gap-y-4 gap-y-5 gap-y-6 gap-y-7 gap-y-8 gap-y-9 gap-y-10 gap-y-11 gap-y-12 gap-y-14 gap-y-16 gap-y-20 gap-y-24 gap-y-28 gap-y-32 gap-y-36 gap-y-40 gap-y-44 gap-y-48 gap-y-52 gap-y-56 gap-y-60 gap-y-64 gap-y-72 gap-y-80 gap-y-96 gap-y-px gap-y-0.5 gap-y-1.5 gap-y-2.5 gap-y-3.5",backgroundColor:"bg-accent bg-alert bg-black bg-brand bg-positive bg-warning bg-white bg-primary bg-secondary bg-transparent",borderColor:"border-accent border-alert border-black border-brand border-positive border-warning border-white border-transparent border-muted border-primary border-secondary border-tertiary",borderColorOnActive:"active:border-accent active:border-alert active:border-black active:border-brand active:border-positive active:border-warning active:border-white active:border-transparent active:border-muted active:border-primary active:border-secondary active:border-tertiary",borderColorOnFocus:"focus:border-accent focus:border-alert focus:border-black focus:border-brand focus:border-positive focus:border-warning focus:border-white focus:border-transparent focus:border-muted focus:border-primary focus:border-secondary focus:border-tertiary",borderColorOnHover:"hover:border-accent hover:border-alert hover:border-black hover:border-brand hover:border-positive hover:border-warning hover:border-white hover:border-transparent hover:border-muted hover:border-primary hover:border-secondary hover:border-tertiary",borderColorOnChecked:"data-[state=checked]:border-accent data-[state=checked]:border-alert data-[state=checked]:border-black data-[state=checked]:border-brand data-[state=checked]:border-positive data-[state=checked]:border-warning data-[state=checked]:border-white data-[state=checked]:border-transparent data-[state=checked]:border-muted data-[state=checked]:border-primary data-[state=checked]:border-secondary data-[state=checked]:border-tertiary",borderStartColor:"border-s-accent border-s-alert border-s-black border-s-brand border-s-positive border-s-warning border-s-white border-s-transparent border-s-muted border-s-primary border-s-secondary border-s-tertiary",borderEndColor:"border-e-accent border-e-alert border-e-black border-e-brand border-e-positive border-e-warning border-e-white border-e-transparent border-e-muted border-e-primary border-e-secondary border-e-tertiary",borderBottomColor:"border-b-accent border-b-alert border-b-black border-b-brand border-b-positive border-b-warning border-b-white border-b-transparent border-b-muted border-b-primary border-b-secondary border-b-tertiary",borderTopColor:"border-t-accent border-t-alert border-t-black border-t-brand border-t-positive border-t-warning border-t-white border-t-transparent border-t-muted border-t-primary border-t-secondary border-t-tertiary",borderRadius:"rounded-none rounded-xs rounded-sm rounded-md rounded-lg rounded-xl rounded-full",borderTopStartRadius:"rounded-ss-none rounded-ss-xs rounded-ss-sm rounded-ss-md rounded-ss-lg rounded-ss-xl rounded-ss-full",borderTopEndRadius:"rounded-se-none rounded-se-xs rounded-se-sm rounded-se-md rounded-se-lg rounded-se-xl rounded-se-full",borderBottomStartRadius:"rounded-es-none rounded-es-xs rounded-es-sm rounded-es-md rounded-es-lg rounded-es-xl rounded-es-full",borderBottomEndRadius:"rounded-ee-none rounded-ee-xs rounded-ee-sm rounded-ee-md rounded-ee-lg rounded-ee-xl rounded-ee-full",borderWidth:"border-none border-thin border-medium border-thick",borderVerticalWidth:"border-y-none border-y-thin border-y-medium border-y-thick",borderHorizontalWidth:"border-x-none border-x-thin border-x-medium border-x-thick",borderStartWidth:"border-s-none border-s-thin border-s-medium border-s-thick",borderEndWidth:"border-e-none border-e-thin border-e-medium border-e-thick",borderTopWidth:"border-t-none border-t-thin border-t-medium border-t-thick",borderBottomWidth:"border-b-none border-b-thin border-b-medium border-b-thick",avatarSize:"avatarSize-s avatarSize-m avatarSize-l",iconSize:"iconSize-sm leading-none iconSize-md leading-none iconSize-lg leading-none",alignContent:"content-start content-end content-center content-stretch content-between content-around",alignItems:"items-start items-end items-center items-stretch items-baseline",alignSelf:"self-auto self-start self-end self-center self-stretch self-baseline",flex:"flex-1 flex-auto flex-initial flex-none",flexDirection:"flex-row flex-col flex-row-reverse flex-col-reverse",flexGrow:"grow-0 grow grow-[2] grow-[3]",flexShrink:"shrink-0 shrink",flexWrap:"flex-wrap flex-wrap-reverse flex-nowrap",justifyContent:"justify-start justify-end justify-center justify-between justify-around justify-evenly",flexBasis:"basis-[min-content]",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",overflow:"overflow-auto overflow-hidden overflow-clip overflow-visible overflow-scroll",overflowX:"overflow-x-auto overflow-x-hidden overflow-x-clip overflow-x-visible overflow-x-scroll",overflowY:"overflow-y-auto overflow-y-hidden overflow-y-clip overflow-y-visible overflow-y-scroll",position:"static fixed absolute relative sticky",contentFit:"object-contain object-cover object-fill object-none object-scale-down",colorMode:"uds-color-mode-dark uds-color-mode-light",scaleMode:"uds-scale-mode-xsmall uds-scale-mode-small uds-scale-mode-medium uds-scale-mode-large uds-scale-mode-xlarge uds-scale-mode-xxxlarge uds-scale-mode-xxlarge"},o=["color","placeholderColor","fontFamily","fontSize","fontWeight","lineHeight","textAlign","textTransform","spacing","spacingHorizontal","spacingVertical","spacingBottom","spacingEnd","spacingStart","spacingTop","offset","offsetVertical","offsetHorizontal","offsetBottom","offsetEnd","offsetStart","offsetTop","columnGap","rowGap","backgroundColor","borderColor","borderColorOnActive","borderColorOnFocus","borderColorOnHover","borderColorOnChecked","borderStartColor","borderEndColor","borderBottomColor","borderTopColor","borderRadius","borderTopStartRadius","borderTopEndRadius","borderBottomStartRadius","borderBottomEndRadius","borderWidth","borderVerticalWidth","borderHorizontalWidth","borderStartWidth","borderEndWidth","borderTopWidth","borderBottomWidth","avatarSize","iconSize","alignContent","alignItems","alignSelf","flex","flexDirection","flexGrow","flexShrink","flexWrap","justifyContent","flexBasis","display","overflow","overflowX","overflowY","position","contentFit","colorMode","scaleMode"],r={Box:["display","flexDirection","rowGap","columnGap","borderColor","borderRadius","overflow"],HStack:["alignItems","justifyContent"],Icon:["color","iconSize"],Image:[],Pressable:["display","flexDirection","alignItems","justifyContent","spacingVertical","spacingHorizontal","borderRadius","columnGap","backgroundColor","borderColor","borderBottomWidth","spacingBottom","spacingTop"],Text:["color","fontSize","fontFamily","fontWeight","lineHeight","textTransform","textAlign","display","spacing","borderBottomColor","borderBottomWidth","spacingStart"],VStack:["overflow","spacingHorizontal","alignItems","borderRadius","backgroundColor","spacingVertical","position","spacing"],Accordion:["spacingHorizontal"],Avatar:[],Button:["spacingEnd","spacingVertical"],Chip:[],Dropdown:[],DropdownItem:[],DropdownItemPressable:[],DropdownItems:["overflow"],DropdownTrigger:[],IconButton:["color"],Modal:[],ModalDismiss:[],ModalHeader:[],Popover:[],PopoverAnchor:[],PopoverArrow:[],PopoverDescription:[],PopoverDisclosure:[],PopoverDisclosureArrow:[],PopoverDismiss:[],PopoverHeading:[],PopoverProvider:[],Spinner:[],Tab:[],TabList:[],TabPanel:[],Table:[],Tabs:[],TextInput:["backgroundColor","borderColor","borderWidth","borderRadius","color","placeholderColor","spacingVertical","spacingHorizontal"],TextInputGroup:[],TextInputLabel:[],ToastContainer:[]},t={Box:"container flex border",HStack:"container ",Icon:"flex border outline",Image:"flex border",Pressable:"flex border",Text:"container flex border",VStack:"container ",Accordion:"flex hidden max-h-0 max-h-full min-h-min w-full transition-\\[max-height\\] duration-500 ease-in-out hover\\:bg-secondary\\/80:hover",Avatar:"",Button:"",Chip:"inline-flex",Dropdown:"",DropdownItem:"",DropdownItemPressable:"flex cursor-default hover\\:bg-gray-2:hover",DropdownItems:"max-h-\\[312px\\] min-w-\\[220px\\] \\!stroke-muted \\!stroke-1 shadow-md",DropdownTrigger:"flex",IconButton:"h-\\[36px\\] h-\\[48px\\] h-\\[64px\\] w-\\[36px\\] w-\\[48px\\] w-\\[64px\\] leading-\\[0px\\]",Modal:"fixed inset-8 top-\\[250px\\] z-50 mx-auto hidden h-fit w-\\[600px\\] origin-center scale-95 opacity-0 shadow-md backdrop-blur-0 transition duration-150 data-\\[enter\\]\\:scale-100[data-enter] data-\\[enter\\]\\:bg-primary[data-enter] data-\\[enter\\]\\:opacity-100[data-enter] data-\\[enter\\]\\:backdrop-blur-sm[data-enter]",ModalDismiss:"fixed inset-8 top-\\[250px\\] z-50 mx-auto hidden h-fit w-\\[600px\\] origin-center scale-95 opacity-0 shadow-md backdrop-blur-0 transition duration-150 data-\\[enter\\]\\:scale-100[data-enter] data-\\[enter\\]\\:bg-primary[data-enter] data-\\[enter\\]\\:opacity-100[data-enter] data-\\[enter\\]\\:backdrop-blur-sm[data-enter]",ModalHeader:"fixed inset-8 top-\\[250px\\] z-50 mx-auto hidden h-fit w-\\[600px\\] origin-center scale-95 opacity-0 shadow-md backdrop-blur-0 transition duration-150 data-\\[enter\\]\\:scale-100[data-enter] data-\\[enter\\]\\:bg-primary[data-enter] data-\\[enter\\]\\:opacity-100[data-enter] data-\\[enter\\]\\:backdrop-blur-sm[data-enter]",Popover:"",PopoverAnchor:"",PopoverArrow:"",PopoverDescription:"",PopoverDisclosure:"",PopoverDisclosureArrow:"",PopoverDismiss:"",PopoverHeading:"",PopoverProvider:"",Spinner:"sr-only absolute relative left-0 right-0 animate-spin self-center fill-accent text-gray-3",Tab:"flex",TabList:"flex",TabPanel:"flex",Table:"block inline flex table table-cell table-header-group table-row-group table-row grid hidden",Tabs:"flex",TextInput:"w-full",TextInputGroup:"w-full",TextInputLabel:"",ToastContainer:"relative flex hidden cursor-pointer transition"},a={Box:[],HStack:["Box"],Icon:[],Image:[],Pressable:[],Text:[],VStack:["Box"],Accordion:["Icon","Pressable","Text","VStack"],Avatar:[],Button:["Icon","Pressable","Text"],Chip:["Icon","Pressable","Text"],Dropdown:["PopoverProvider"],DropdownItem:["DropdownItemPressable","Icon","Text","VStack"],DropdownItemPressable:["Pressable"],DropdownItems:["Popover","PopoverArrow","VStack"],DropdownTrigger:["PopoverDisclosure","Pressable"],IconButton:["Icon","Pressable"],Modal:["Button","HStack","Text","VStack"],ModalDismiss:["Button","HStack","Text","VStack"],ModalHeader:["Button","HStack","Text","VStack"],Popover:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],PopoverAnchor:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],PopoverArrow:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],PopoverDescription:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],PopoverDisclosure:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],PopoverDisclosureArrow:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],PopoverDismiss:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],PopoverHeading:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],PopoverProvider:["Popover","PopoverAnchor","PopoverArrow","PopoverDescription","PopoverDisclosure","PopoverDisclosureArrow","PopoverDismiss","PopoverHeading","PopoverProvider","HStack","Text"],Spinner:[],Tab:["Tab","TabList","TabPanel","Icon","Pressable","Text"],TabList:["Tab","TabList","TabPanel","Icon","Pressable","Text"],TabPanel:["Tab","TabList","TabPanel","Icon","Pressable","Text"],Table:["Box","Text"],Tabs:["Tab","TabList","TabPanel","Icon","Pressable","Text"],TextInput:[],TextInputGroup:["TextInput","TextInputLabel","VStack"],TextInputLabel:["Text"],ToastContainer:["ToastContainer","IconButton"]};export{t as componentToTwClasses,r as componentToVariants,a as componentsDependencies,e as variantToTailwindClass,o as variantsList};
2
+ //! This file is generated by purgeCSS.ts from @yahoo/uds
3
+ //! Do not edit directly
4
+ //! If there is issue with this file please report to #ask-uds
@@ -0,0 +1 @@
1
+ "use strict";var l=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var m=(n,e)=>{for(var i in e)l(n,i,{get:e[i],enumerable:!0})},E=(n,e,i,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of x(e))!g.call(n,r)&&r!==i&&l(n,r,{get:()=>e[r],enumerable:!(s=u(e,r))||s.enumerable});return n};var F=n=>E(l({},"__esModule",{value:!0}),n);var C={};m(C,{findReferencesAsJsxElements:()=>J,getJsxElement:()=>D,getJsxElements:()=>f,getReactFunctionDeclaration:()=>d,getUsedPropsInReference:()=>A,isForwardRefExpression:()=>a,isJsxComponent:()=>c});module.exports=F(C);var t=require("ts-morph");function a(n){if(t.Node.isCallExpression(n)){let e=n.getExpression();if(t.Node.isIdentifier(e)&&e.getText()==="forwardRef"||t.Node.isPropertyAccessExpression(e)&&e.getText()==="React.forwardRef")return!0}return!1}function c(n){let e;return t.Node.isVariableDeclaration(n)||t.Node.isFunctionDeclaration(n)||t.Node.isClassDeclaration(n)?e=n.getName():(t.Node.isFunctionExpression(n)||t.Node.isArrowFunction(n))&&(e=n.getFirstAncestorByKind(t.SyntaxKind.VariableDeclaration)?.getName()),e?/[A-Z]/.test(e.charAt(0)):!1}function d(n){if(c(n)){if(t.Node.isFunctionDeclaration(n))return n;if(t.Node.isVariableDeclaration(n)){let e=n.getInitializer();if(e){if(a(e)){let[i]=e.getArguments();if(t.Node.isFunctionDeclaration(i)||t.Node.isFunctionExpression(i)||t.Node.isArrowFunction(i))return i}else if(t.Node.isFunctionDeclaration(e)||t.Node.isFunctionExpression(e)||t.Node.isArrowFunction(e))return e}}}return null}function D(n,e){return f(n).find(i=>i.getFirstDescendantByKindOrThrow(t.SyntaxKind.Identifier).getText()===e)}function f(n){return n.getDescendants().filter(e=>t.Node.isJsxElement(e)||t.Node.isJsxSelfClosingElement(e))}function J(n){let e=[];for(let i of n.findReferencesAsNodes()){let s=i.getFirstAncestor(r=>t.Node.isJsxOpeningElement(r)||t.Node.isJsxSelfClosingElement(r));s&&e.push(s)}return e}var A=n=>n.getAttributes().map(s=>{if(t.Node.isJsxAttribute(s))return[s.getNameNode().getText()];if(t.Node.isJsxSpreadAttribute(s)){let r=s.getExpression().getChildren(),o=r.length===0?s.getExpression():r.pop();return!o||o?.getText()==="props"?[]:o.getType().getProperties().map(p=>p.getName()).flat()}return[]}).flat();0&&(module.exports={findReferencesAsJsxElements,getJsxElement,getJsxElements,getReactFunctionDeclaration,getUsedPropsInReference,isForwardRefExpression,isJsxComponent});
@@ -0,0 +1,25 @@
1
+ import { Node, CallExpression, VariableDeclaration, FunctionDeclaration, FunctionExpression, ArrowFunction, ClassDeclaration, JsxElement, JsxSelfClosingElement, Identifier, JsxOpeningElement } from 'ts-morph';
2
+
3
+ /** Determines if an expression is using React.forwardRef. */
4
+ declare function isForwardRefExpression(node: Node): node is CallExpression;
5
+ /** Determines if a node is a JSX component. */
6
+ declare function isJsxComponent(node: Node): node is VariableDeclaration | FunctionDeclaration | FunctionExpression | ArrowFunction | ClassDeclaration;
7
+ /** Returns a functional component declaration, unwrapping forwardRef if needed. */
8
+ declare function getReactFunctionDeclaration(declaration: Node): ArrowFunction | FunctionDeclaration | FunctionExpression | null;
9
+ /** Get the first descendant JsxElement based on the identifier. */
10
+ declare function getJsxElement(node: Node, name: string): JsxElement | JsxSelfClosingElement | undefined;
11
+ /** Get all descendant JsxElement nodes. */
12
+ declare function getJsxElements(node: Node): (JsxElement | JsxSelfClosingElement)[];
13
+ /**
14
+ * Traces component references.
15
+ *
16
+ * This is similar to `findReferencesAsNodes` but returns JsxSelfClosingElement and JsxElement nodes.
17
+ * Note, this currently does not account for cases where the component is used as a prop or is renamed.
18
+ */
19
+ declare function findReferencesAsJsxElements(identifer: Identifier): (JsxOpeningElement | JsxSelfClosingElement)[];
20
+ /**
21
+ * Get used props on a reference.
22
+ */
23
+ declare const getUsedPropsInReference: (reference: JsxOpeningElement | JsxSelfClosingElement) => string[];
24
+
25
+ export { findReferencesAsJsxElements, getJsxElement, getJsxElements, getReactFunctionDeclaration, getUsedPropsInReference, isForwardRefExpression, isJsxComponent };
@@ -0,0 +1,25 @@
1
+ import { Node, CallExpression, VariableDeclaration, FunctionDeclaration, FunctionExpression, ArrowFunction, ClassDeclaration, JsxElement, JsxSelfClosingElement, Identifier, JsxOpeningElement } from 'ts-morph';
2
+
3
+ /** Determines if an expression is using React.forwardRef. */
4
+ declare function isForwardRefExpression(node: Node): node is CallExpression;
5
+ /** Determines if a node is a JSX component. */
6
+ declare function isJsxComponent(node: Node): node is VariableDeclaration | FunctionDeclaration | FunctionExpression | ArrowFunction | ClassDeclaration;
7
+ /** Returns a functional component declaration, unwrapping forwardRef if needed. */
8
+ declare function getReactFunctionDeclaration(declaration: Node): ArrowFunction | FunctionDeclaration | FunctionExpression | null;
9
+ /** Get the first descendant JsxElement based on the identifier. */
10
+ declare function getJsxElement(node: Node, name: string): JsxElement | JsxSelfClosingElement | undefined;
11
+ /** Get all descendant JsxElement nodes. */
12
+ declare function getJsxElements(node: Node): (JsxElement | JsxSelfClosingElement)[];
13
+ /**
14
+ * Traces component references.
15
+ *
16
+ * This is similar to `findReferencesAsNodes` but returns JsxSelfClosingElement and JsxElement nodes.
17
+ * Note, this currently does not account for cases where the component is used as a prop or is renamed.
18
+ */
19
+ declare function findReferencesAsJsxElements(identifer: Identifier): (JsxOpeningElement | JsxSelfClosingElement)[];
20
+ /**
21
+ * Get used props on a reference.
22
+ */
23
+ declare const getUsedPropsInReference: (reference: JsxOpeningElement | JsxSelfClosingElement) => string[];
24
+
25
+ export { findReferencesAsJsxElements, getJsxElement, getJsxElements, getReactFunctionDeclaration, getUsedPropsInReference, isForwardRefExpression, isJsxComponent };
@@ -0,0 +1 @@
1
+ import{Node as t,SyntaxKind as l}from"ts-morph";function c(n){if(t.isCallExpression(n)){let e=n.getExpression();if(t.isIdentifier(e)&&e.getText()==="forwardRef"||t.isPropertyAccessExpression(e)&&e.getText()==="React.forwardRef")return!0}return!1}function f(n){let e;return t.isVariableDeclaration(n)||t.isFunctionDeclaration(n)||t.isClassDeclaration(n)?e=n.getName():(t.isFunctionExpression(n)||t.isArrowFunction(n))&&(e=n.getFirstAncestorByKind(l.VariableDeclaration)?.getName()),e?/[A-Z]/.test(e.charAt(0)):!1}function g(n){if(f(n)){if(t.isFunctionDeclaration(n))return n;if(t.isVariableDeclaration(n)){let e=n.getInitializer();if(e){if(c(e)){let[i]=e.getArguments();if(t.isFunctionDeclaration(i)||t.isFunctionExpression(i)||t.isArrowFunction(i))return i}else if(t.isFunctionDeclaration(e)||t.isFunctionExpression(e)||t.isArrowFunction(e))return e}}}return null}function m(n,e){return p(n).find(i=>i.getFirstDescendantByKindOrThrow(l.Identifier).getText()===e)}function p(n){return n.getDescendants().filter(e=>t.isJsxElement(e)||t.isJsxSelfClosingElement(e))}function E(n){let e=[];for(let i of n.findReferencesAsNodes()){let s=i.getFirstAncestor(r=>t.isJsxOpeningElement(r)||t.isJsxSelfClosingElement(r));s&&e.push(s)}return e}var F=n=>n.getAttributes().map(s=>{if(t.isJsxAttribute(s))return[s.getNameNode().getText()];if(t.isJsxSpreadAttribute(s)){let r=s.getExpression().getChildren(),o=r.length===0?s.getExpression():r.pop();return!o||o?.getText()==="props"?[]:o.getType().getProperties().map(a=>a.getName()).flat()}return[]}).flat();export{E as findReferencesAsJsxElements,m as getJsxElement,p as getJsxElements,g as getReactFunctionDeclaration,F as getUsedPropsInReference,c as isForwardRefExpression,f as isJsxComponent};
@@ -1 +1 @@
1
- "use strict";var c=Object.defineProperty;var X=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var G=(t,o)=>{for(var i in o)c(t,i,{get:o[i],enumerable:!0})},w=(t,o,i,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of v(o))!B.call(t,n)&&n!==i&&c(t,n,{get:()=>o[n],enumerable:!(a=X(o,n))||a.enumerable});return t};var U=t=>w(c({},"__esModule",{value:!0}),t);var T1={};G(T1,{AVATAR_SIZE_PREFIX:()=>Y,BORDER_RADIUS_PREFIX:()=>q,BORDER_WIDTH_PREFIX:()=>J,DARK_COLOR_MODE_CLASSNAME:()=>n1,DEFAULT_COLOR_MODE:()=>_1,DEFAULT_COLOR_MODE_CLASSNAME:()=>d1,DEFAULT_COLOR_MODE_FOR_APP:()=>u1,DEFAULT_HIGH_CONTRAST_MODE:()=>E1,DEFAULT_REGION_MODE:()=>A1,DEFAULT_SCALE_MODE:()=>C1,DEFAULT_SCALE_MODE_CLASSNAME:()=>g1,DEFAULT_SCALE_MODE_FOR_APP:()=>b1,FONT_FAMILY_PREFIX:()=>j,FONT_ICONS_CSS_VAR:()=>m1,FONT_SANS_BETA_CSS_VAR:()=>y1,FONT_SANS_CONDENSED_CSS_VAR:()=>S1,FONT_SANS_CSS_VAR:()=>f1,FONT_SERIF_DISPLAY_CSS_VAR:()=>h1,FONT_SERIF_TEXT_CSS_VAR:()=>x1,FONT_SIZE_PREFIX:()=>e1,FONT_WEIGHT_PREFIX:()=>o1,ICON_SIZE_PREFIX:()=>Z,LARGE_SCALE_MODE_CLASSNAME:()=>W,LIGHT_COLOR_MODE_CLASSNAME:()=>$,LINE_HEIGHT_PREFIX:()=>t1,MEDIUM_SCALE_MODE_CLASSNAME:()=>l1,SMALL_SCALE_MODE_CLASSNAME:()=>r1,SPACING_PREFIX:()=>Q,SPECTRUM_COLOR_PREFIX:()=>K,TEXT_TRANSFORM_PREFIX:()=>i1,UDS_PREFIX:()=>e,XLARGE_SCALE_MODE_CLASSNAME:()=>s1,XSMALL_SCALE_MODE_CLASSNAME:()=>a1,XXLARGE_SCALE_MODE_CLASSNAME:()=>p1,XXXLARGE_SCALE_MODE_CLASSNAME:()=>c1,alwaysPalette:()=>T,defaultTokensConfig:()=>V,entries:()=>F1,fontFamilyGlobal:()=>s,fontWeightMap:()=>H,fromEntries:()=>L1,mapValues:()=>R1});module.exports=U(T1);var C={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},E={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var A={none:0,thin:1,medium:2,thick:2},F={none:0,thin:1,medium:2,thick:4};var L={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"}}},R={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"}}},T={white:"#ffffff",black:"#000000",transparent:"transparent"};var d={s:16,m:24,l:32},O=d,g={sm:16,md:24,lg:32},M=g;var k={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},I={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 z={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"}},D={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 r=["Helvetica Neue","Helvetica","Arial","sans-serif"],N=["Georgia","Times","Times New Roman","serif"],s={icons:{fallbacks:r,name:"yahoo-icons"},sans:{fallbacks:r,name:"yahoo-sans"},"sans-beta":{fallbacks:r,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:r,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:N,name:"yahoo-serif-text"},"serif-display":{fallbacks:N,name:"yahoo-serif-display"}},m={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"},f={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"},y={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"},S={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}},h={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:{...S.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},l={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:{...h.lineHeight,title2:36,title3:32}},x={fontSize:{...l.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...l.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},u={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:{...x.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},b={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:{...u.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},P={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:{...b.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var _={fontFamily:m,fontWeight:f,textTransform:y,avatarSizes:d,iconSizes:g,borderRadius:C,borderWidth:A,spacing:k},p={fontFamily:m,fontWeight:f,textTransform:y,avatarSizes:O,iconSizes:M,borderRadius:E,borderWidth:F,spacing:I},V={colorMode:{light:{palette:L,spectrum:z},dark:{palette:R,spectrum:D}},scaleMode:{xSmall:{..._,...S},small:{..._,...h},medium:{..._,...l},large:{...p,...x},xLarge:{...p,...u},xxLarge:{...p,...b},xxxLarge:{...p,...P}},fontFamily:s};var e="uds",K=`${e}-spectrum-color`,j=`${e}-font`,Z=`${e}-icon-size`,Y=`${e}-avatar-size`,q=`${e}-border-radius`,J=`${e}-border-width`,Q=`${e}-spacing`,e1=`${e}-font-size`,t1=`${e}-line-height`,o1=`${e}-font-weight`,i1=`${e}-text-transform`,n1=`${e}-color-mode-dark`,$=`${e}-color-mode-light`,a1=`${e}-scale-mode-xsmall`,r1=`${e}-scale-mode-small`,l1=`${e}-scale-mode-medium`,W=`${e}-scale-mode-large`,s1=`${e}-scale-mode-xlarge`,p1=`${e}-scale-mode-xxlarge`,c1=`${e}-scale-mode-xxxlarge`,d1=$,g1=W,m1=`--${e}-font-icons`,f1=`--${e}-font-sans`,y1=`--${e}-font-sans-beta`,S1=`--${e}-font-sans-condensed`,h1=`--${e}-font-serif-display`,x1=`--${e}-font-serif-text`;var u1="system",b1="system",_1="light",C1="large",E1=!1,A1="\u{1F1FA}\u{1F1F8} US";function F1(t){return Object.entries(t)}function L1(t){return Object.fromEntries(t)}function R1(t,o){return Object.keys(t).reduce((i,a,n)=>(i[a]=o(t[a],a,n),i),{})}0&&(module.exports={AVATAR_SIZE_PREFIX,BORDER_RADIUS_PREFIX,BORDER_WIDTH_PREFIX,DARK_COLOR_MODE_CLASSNAME,DEFAULT_COLOR_MODE,DEFAULT_COLOR_MODE_CLASSNAME,DEFAULT_COLOR_MODE_FOR_APP,DEFAULT_HIGH_CONTRAST_MODE,DEFAULT_REGION_MODE,DEFAULT_SCALE_MODE,DEFAULT_SCALE_MODE_CLASSNAME,DEFAULT_SCALE_MODE_FOR_APP,FONT_FAMILY_PREFIX,FONT_ICONS_CSS_VAR,FONT_SANS_BETA_CSS_VAR,FONT_SANS_CONDENSED_CSS_VAR,FONT_SANS_CSS_VAR,FONT_SERIF_DISPLAY_CSS_VAR,FONT_SERIF_TEXT_CSS_VAR,FONT_SIZE_PREFIX,FONT_WEIGHT_PREFIX,ICON_SIZE_PREFIX,LARGE_SCALE_MODE_CLASSNAME,LIGHT_COLOR_MODE_CLASSNAME,LINE_HEIGHT_PREFIX,MEDIUM_SCALE_MODE_CLASSNAME,SMALL_SCALE_MODE_CLASSNAME,SPACING_PREFIX,SPECTRUM_COLOR_PREFIX,TEXT_TRANSFORM_PREFIX,UDS_PREFIX,XLARGE_SCALE_MODE_CLASSNAME,XSMALL_SCALE_MODE_CLASSNAME,XXLARGE_SCALE_MODE_CLASSNAME,XXXLARGE_SCALE_MODE_CLASSNAME,alwaysPalette,defaultTokensConfig,entries,fontFamilyGlobal,fontWeightMap,fromEntries,mapValues});
1
+ "use strict";var c=Object.defineProperty;var $=Object.getOwnPropertyDescriptor;var W=Object.getOwnPropertyNames;var X=Object.prototype.hasOwnProperty;var v=(t,o)=>{for(var i in o)c(t,i,{get:o[i],enumerable:!0})},B=(t,o,i,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of W(o))!X.call(t,n)&&n!==i&&c(t,n,{get:()=>o[n],enumerable:!(a=$(o,n))||a.enumerable});return t};var w=t=>B(c({},"__esModule",{value:!0}),t);var F1={};v(F1,{AVATAR_SIZE_PREFIX:()=>j,BORDER_RADIUS_PREFIX:()=>Z,BORDER_WIDTH_PREFIX:()=>Y,DARK_COLOR_MODE_CLASSNAME:()=>t1,DEFAULT_COLOR_MODE:()=>x1,DEFAULT_COLOR_MODE_CLASSNAME:()=>s1,DEFAULT_COLOR_MODE_FOR_APP:()=>h1,DEFAULT_HIGH_CONTRAST_MODE:()=>b1,DEFAULT_REGION_MODE:()=>_1,DEFAULT_SCALE_MODE:()=>u1,DEFAULT_SCALE_MODE_CLASSNAME:()=>p1,DEFAULT_SCALE_MODE_FOR_APP:()=>S1,FONT_FAMILY_PREFIX:()=>V,FONT_ICONS_CSS_VAR:()=>c1,FONT_SANS_BETA_CSS_VAR:()=>g1,FONT_SANS_CONDENSED_CSS_VAR:()=>m1,FONT_SANS_CSS_VAR:()=>d1,FONT_SERIF_DISPLAY_CSS_VAR:()=>f1,FONT_SERIF_TEXT_CSS_VAR:()=>y1,FONT_SIZE_PREFIX:()=>q,FONT_WEIGHT_PREFIX:()=>Q,ICON_SIZE_PREFIX:()=>K,LARGE_SCALE_MODE_CLASSNAME:()=>P,LIGHT_COLOR_MODE_CLASSNAME:()=>H,LINE_HEIGHT_PREFIX:()=>J,MEDIUM_SCALE_MODE_CLASSNAME:()=>n1,SMALL_SCALE_MODE_CLASSNAME:()=>i1,SPECTRUM_COLOR_PREFIX:()=>U,TEXT_TRANSFORM_PREFIX:()=>e1,UDS_PREFIX:()=>e,XLARGE_SCALE_MODE_CLASSNAME:()=>a1,XSMALL_SCALE_MODE_CLASSNAME:()=>o1,XXLARGE_SCALE_MODE_CLASSNAME:()=>l1,XXXLARGE_SCALE_MODE_CLASSNAME:()=>r1,alwaysPalette:()=>T,defaultTokensConfig:()=>G,entries:()=>C1,fontFamilyGlobal:()=>s,fontWeightMap:()=>I,fromEntries:()=>E1,mapValues:()=>A1});module.exports=w(F1);var C={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},E={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var A={none:0,thin:1,medium:2,thick:2},F={none:0,thin:1,medium:2,thick:4};var L={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"}}},R={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"}}},T={white:"#ffffff",black:"#000000",transparent:"transparent"};var d={s:16,m:24,l:32},O=d,g={sm:16,md:24,lg:32},M=g;var k={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"}},z={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 l=["Helvetica Neue","Helvetica","Arial","sans-serif"],D=["Georgia","Times","Times New Roman","serif"],s={icons:{fallbacks:l,name:"yahoo-icons"},sans:{fallbacks:l,name:"yahoo-sans"},"sans-beta":{fallbacks:l,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:l,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:D,name:"yahoo-serif-text"},"serif-display":{fallbacks:D,name:"yahoo-serif-display"}},m={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"},I={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},f={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"},y={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"},h={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}},S={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:{...h.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},r={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:{...S.lineHeight,title2:36,title3:32}},x={fontSize:{...r.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...r.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},u={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:{...x.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},b={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:{...u.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},N={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:{...b.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var _={fontFamily:m,fontWeight:f,textTransform:y,avatarSizes:d,iconSizes:g,borderRadius:C,borderWidth:A},p={fontFamily:m,fontWeight:f,textTransform:y,avatarSizes:O,iconSizes:M,borderRadius:E,borderWidth:F},G={colorMode:{light:{palette:L,spectrum:k},dark:{palette:R,spectrum:z}},scaleMode:{xSmall:{..._,...h},small:{..._,...S},medium:{..._,...r},large:{...p,...x},xLarge:{...p,...u},xxLarge:{...p,...b},xxxLarge:{...p,...N}},fontFamily:s};var e="uds",U=`${e}-spectrum-color`,V=`${e}-font`,K=`${e}-icon-size`,j=`${e}-avatar-size`,Z=`${e}-border-radius`,Y=`${e}-border-width`,q=`${e}-font-size`,J=`${e}-line-height`,Q=`${e}-font-weight`,e1=`${e}-text-transform`,t1=`${e}-color-mode-dark`,H=`${e}-color-mode-light`,o1=`${e}-scale-mode-xsmall`,i1=`${e}-scale-mode-small`,n1=`${e}-scale-mode-medium`,P=`${e}-scale-mode-large`,a1=`${e}-scale-mode-xlarge`,l1=`${e}-scale-mode-xxlarge`,r1=`${e}-scale-mode-xxxlarge`,s1=H,p1=P,c1=`--${e}-font-icons`,d1=`--${e}-font-sans`,g1=`--${e}-font-sans-beta`,m1=`--${e}-font-sans-condensed`,f1=`--${e}-font-serif-display`,y1=`--${e}-font-serif-text`;var h1="system",S1="system",x1="light",u1="large",b1=!1,_1="\u{1F1FA}\u{1F1F8} US";function C1(t){return Object.entries(t)}function E1(t){return Object.fromEntries(t)}function A1(t,o){return Object.keys(t).reduce((i,a,n)=>(i[a]=o(t[a],a,n),i),{})}0&&(module.exports={AVATAR_SIZE_PREFIX,BORDER_RADIUS_PREFIX,BORDER_WIDTH_PREFIX,DARK_COLOR_MODE_CLASSNAME,DEFAULT_COLOR_MODE,DEFAULT_COLOR_MODE_CLASSNAME,DEFAULT_COLOR_MODE_FOR_APP,DEFAULT_HIGH_CONTRAST_MODE,DEFAULT_REGION_MODE,DEFAULT_SCALE_MODE,DEFAULT_SCALE_MODE_CLASSNAME,DEFAULT_SCALE_MODE_FOR_APP,FONT_FAMILY_PREFIX,FONT_ICONS_CSS_VAR,FONT_SANS_BETA_CSS_VAR,FONT_SANS_CONDENSED_CSS_VAR,FONT_SANS_CSS_VAR,FONT_SERIF_DISPLAY_CSS_VAR,FONT_SERIF_TEXT_CSS_VAR,FONT_SIZE_PREFIX,FONT_WEIGHT_PREFIX,ICON_SIZE_PREFIX,LARGE_SCALE_MODE_CLASSNAME,LIGHT_COLOR_MODE_CLASSNAME,LINE_HEIGHT_PREFIX,MEDIUM_SCALE_MODE_CLASSNAME,SMALL_SCALE_MODE_CLASSNAME,SPECTRUM_COLOR_PREFIX,TEXT_TRANSFORM_PREFIX,UDS_PREFIX,XLARGE_SCALE_MODE_CLASSNAME,XSMALL_SCALE_MODE_CLASSNAME,XXLARGE_SCALE_MODE_CLASSNAME,XXXLARGE_SCALE_MODE_CLASSNAME,alwaysPalette,defaultTokensConfig,entries,fontFamilyGlobal,fontWeightMap,fromEntries,mapValues});
@@ -1,5 +1,5 @@
1
- import { U as UniversalTokensConfig, f as FontFamilyGlobalConfig, a6 as FontWeightDescriptive, e as FontWeightNumeric, K as ColorModeForApp, aw as ScaleModeForApp, C as ColorMode, S as ScaleMode, a9 as HighContrastMode, at as RegionMode } from '../types-BN1X8QcB.cjs';
2
- export { A as AlwaysPalette, n as AlwaysPaletteAlias, o as Animation, p as AriaAttribute, q as AvatarShape, r as AvatarSize, s as AvatarSizeConfig, t as BackgroundColor, u as BackgroundPalette, B as BackgroundPaletteAlias, v as BackgroundStyleProps, w as BorderRadius, x as BorderRadiusConfig, y as BorderStyleProps, z as BorderWidth, D as BorderWidthConfig, E as BoxShadowConfig, G as ButtonSize, I as ButtonVariant, J as ColorModeConfig, a as ColorsConfig, M as ConfigurableTextProperty, N as CorePalette, c as CorePaletteAlias, O as CustomSizingStyleProps, P as DataAttribute, Q as Display, R as Flex, T as FlexAlignContent, V as FlexAlignItems, W as FlexAlignSelf, X as FlexBasis, Y as FlexDirection, Z as FlexGrow, _ as FlexJustifyContent, $ as FlexShrink, a0 as FlexStyleProps, a1 as FlexWrap, a2 as FontFamilyConfig, a3 as FontFamilyGlobalAlias, a4 as FontSize, a5 as FontSizeConfig, d as FontWeightConfig, a7 as ForegroundColor, a8 as ForegroundPalette, F as ForegroundPaletteAlias, H as Hue, b as HueStep, aa as IconName, ab as IconSize, ac as IconSizeConfig, ad as ImageStyleProps, ae as LayoutStyleProps, af as LetterSpacing, ag as LineClampAlias, ah as LineColor, ai as LineHeight, aj as LineHeightConfig, ak as LinePalette, L as LinePaletteAlias, al as Modes, am as Overflow, an as Palette, ao as PaletteConfig, ap as PaletteType, aq as PaletteValue, ar as PlatformMode, as as Position, au as ScaleConfig, av as ScaleModeConfig, ax as SpacingAlias, ay as SpacingConfig, az as SpacingStyleProps, aA as SpectrumColor, aB as SpectrumConfig, aC as StateStyleProps, aD as StyleProps, aE as TextStyleProps, aF as TextTransform, aG as TextTransformConfig, aH as TextVariant, aI as TransitionDelay, aJ as TransitionDuration, aK as TransitionTiming, aL as UniversalAvatarProps, g as UniversalBoxProps, aM as UniversalButtonProps, aN as UniversalIconButtonProps, k as UniversalIconProps, l as UniversalImageProps, h as UniversalPressableProps, j as UniversalStackProps, aO as UniversalTextInputProps, i as UniversalTextProps, m as alwaysPalette } from '../types-BN1X8QcB.cjs';
1
+ import { U as UniversalTokensConfig, f as FontFamilyGlobalConfig, a6 as FontWeightDescriptive, e as FontWeightNumeric, K as ColorModeForApp, aw as ScaleModeForApp, C as ColorMode, S as ScaleMode, a9 as HighContrastMode, at as RegionMode } from '../types-Diou6f1Q.cjs';
2
+ export { A as AlwaysPalette, n as AlwaysPaletteAlias, o as Animation, p as AriaAttribute, q as AvatarShape, r as AvatarSize, s as AvatarSizeConfig, t as BackgroundColor, u as BackgroundPalette, B as BackgroundPaletteAlias, v as BackgroundStyleProps, w as BorderRadius, x as BorderRadiusConfig, y as BorderStyleProps, z as BorderWidth, D as BorderWidthConfig, E as BoxShadowConfig, G as ButtonSize, I as ButtonVariant, J as ColorModeConfig, a as ColorsConfig, M as ConfigurableTextProperty, N as CorePalette, c as CorePaletteAlias, O as CustomSizingStyleProps, P as DataAttribute, Q as Display, R as Flex, T as FlexAlignContent, V as FlexAlignItems, W as FlexAlignSelf, X as FlexBasis, Y as FlexDirection, Z as FlexGrow, _ as FlexJustifyContent, $ as FlexShrink, a0 as FlexStyleProps, a1 as FlexWrap, a2 as FontFamilyConfig, a3 as FontFamilyGlobalAlias, a4 as FontSize, a5 as FontSizeConfig, d as FontWeightConfig, a7 as ForegroundColor, a8 as ForegroundPalette, F as ForegroundPaletteAlias, H as Hue, b as HueStep, aa as IconName, ab as IconSize, ac as IconSizeConfig, ad as ImageStyleProps, ae as LayoutStyleProps, af as LetterSpacing, ag as LineClampAlias, ah as LineColor, ai as LineHeight, aj as LineHeightConfig, ak as LinePalette, L as LinePaletteAlias, al as Modes, am as Overflow, an as Palette, ao as PaletteConfig, ap as PaletteType, aq as PaletteValue, ar as PlatformMode, as as Position, au as ScaleConfig, av as ScaleModeConfig, ax as SpacingAlias, ay as SpacingConfig, az as SpacingStyleProps, aA as SpectrumColor, aB as SpectrumConfig, aC as StateStyleProps, aD as StyleProps, aE as TextStyleProps, aF as TextTransform, aG as TextTransformConfig, aH as TextVariant, aI as TransitionDelay, aJ as TransitionDuration, aK as TransitionTiming, aL as UniversalAvatarProps, g as UniversalBoxProps, aM as UniversalButtonProps, aN as UniversalIconButtonProps, k as UniversalIconProps, l as UniversalImageProps, h as UniversalPressableProps, j as UniversalStackProps, aO as UniversalTextInputProps, i as UniversalTextProps, m as alwaysPalette } from '../types-Diou6f1Q.cjs';
3
3
  import 'react';
4
4
 
5
5
  declare const defaultTokensConfig: UniversalTokensConfig;
@@ -14,7 +14,6 @@ declare const ICON_SIZE_PREFIX = "uds-icon-size";
14
14
  declare const AVATAR_SIZE_PREFIX = "uds-avatar-size";
15
15
  declare const BORDER_RADIUS_PREFIX = "uds-border-radius";
16
16
  declare const BORDER_WIDTH_PREFIX = "uds-border-width";
17
- declare const SPACING_PREFIX = "uds-spacing";
18
17
  declare const FONT_SIZE_PREFIX = "uds-font-size";
19
18
  declare const LINE_HEIGHT_PREFIX = "uds-line-height";
20
19
  declare const FONT_WEIGHT_PREFIX = "uds-font-weight";
@@ -51,4 +50,4 @@ declare function fromEntries<T extends string, K>(item: [T, K][]): Record<T, K>;
51
50
  type AnyObject = Record<string, unknown>;
52
51
  declare function mapValues<T extends AnyObject, K extends (value: T[keyof T], key: keyof T, i: number) => unknown>(obj: T, callbackFn: K): { [key in keyof T]: ReturnType<K>; };
53
52
 
54
- export { AVATAR_SIZE_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, ColorMode, ColorModeForApp, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_SCALE_MODE_FOR_APP, FONT_FAMILY_PREFIX, FONT_ICONS_CSS_VAR, FONT_SANS_BETA_CSS_VAR, FONT_SANS_CONDENSED_CSS_VAR, FONT_SANS_CSS_VAR, FONT_SERIF_DISPLAY_CSS_VAR, FONT_SERIF_TEXT_CSS_VAR, FONT_SIZE_PREFIX, FONT_WEIGHT_PREFIX, FontFamilyGlobalConfig, FontWeightDescriptive, FontWeightNumeric, HighContrastMode, ICON_SIZE_PREFIX, LARGE_SCALE_MODE_CLASSNAME, LIGHT_COLOR_MODE_CLASSNAME, LINE_HEIGHT_PREFIX, MEDIUM_SCALE_MODE_CLASSNAME, RegionMode, SMALL_SCALE_MODE_CLASSNAME, SPACING_PREFIX, SPECTRUM_COLOR_PREFIX, ScaleMode, ScaleModeForApp, TEXT_TRANSFORM_PREFIX, UDS_PREFIX, UniversalTokensConfig, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, defaultTokensConfig, entries, fontFamilyGlobal, fontWeightMap, fromEntries, mapValues };
53
+ export { AVATAR_SIZE_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, ColorMode, ColorModeForApp, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_SCALE_MODE_FOR_APP, FONT_FAMILY_PREFIX, FONT_ICONS_CSS_VAR, FONT_SANS_BETA_CSS_VAR, FONT_SANS_CONDENSED_CSS_VAR, FONT_SANS_CSS_VAR, FONT_SERIF_DISPLAY_CSS_VAR, FONT_SERIF_TEXT_CSS_VAR, FONT_SIZE_PREFIX, FONT_WEIGHT_PREFIX, FontFamilyGlobalConfig, FontWeightDescriptive, FontWeightNumeric, HighContrastMode, ICON_SIZE_PREFIX, LARGE_SCALE_MODE_CLASSNAME, LIGHT_COLOR_MODE_CLASSNAME, LINE_HEIGHT_PREFIX, MEDIUM_SCALE_MODE_CLASSNAME, RegionMode, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, ScaleMode, ScaleModeForApp, TEXT_TRANSFORM_PREFIX, UDS_PREFIX, UniversalTokensConfig, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, defaultTokensConfig, entries, fontFamilyGlobal, fontWeightMap, fromEntries, mapValues };
@@ -1,5 +1,5 @@
1
- import { U as UniversalTokensConfig, f as FontFamilyGlobalConfig, a6 as FontWeightDescriptive, e as FontWeightNumeric, K as ColorModeForApp, aw as ScaleModeForApp, C as ColorMode, S as ScaleMode, a9 as HighContrastMode, at as RegionMode } from '../types-BN1X8QcB.js';
2
- export { A as AlwaysPalette, n as AlwaysPaletteAlias, o as Animation, p as AriaAttribute, q as AvatarShape, r as AvatarSize, s as AvatarSizeConfig, t as BackgroundColor, u as BackgroundPalette, B as BackgroundPaletteAlias, v as BackgroundStyleProps, w as BorderRadius, x as BorderRadiusConfig, y as BorderStyleProps, z as BorderWidth, D as BorderWidthConfig, E as BoxShadowConfig, G as ButtonSize, I as ButtonVariant, J as ColorModeConfig, a as ColorsConfig, M as ConfigurableTextProperty, N as CorePalette, c as CorePaletteAlias, O as CustomSizingStyleProps, P as DataAttribute, Q as Display, R as Flex, T as FlexAlignContent, V as FlexAlignItems, W as FlexAlignSelf, X as FlexBasis, Y as FlexDirection, Z as FlexGrow, _ as FlexJustifyContent, $ as FlexShrink, a0 as FlexStyleProps, a1 as FlexWrap, a2 as FontFamilyConfig, a3 as FontFamilyGlobalAlias, a4 as FontSize, a5 as FontSizeConfig, d as FontWeightConfig, a7 as ForegroundColor, a8 as ForegroundPalette, F as ForegroundPaletteAlias, H as Hue, b as HueStep, aa as IconName, ab as IconSize, ac as IconSizeConfig, ad as ImageStyleProps, ae as LayoutStyleProps, af as LetterSpacing, ag as LineClampAlias, ah as LineColor, ai as LineHeight, aj as LineHeightConfig, ak as LinePalette, L as LinePaletteAlias, al as Modes, am as Overflow, an as Palette, ao as PaletteConfig, ap as PaletteType, aq as PaletteValue, ar as PlatformMode, as as Position, au as ScaleConfig, av as ScaleModeConfig, ax as SpacingAlias, ay as SpacingConfig, az as SpacingStyleProps, aA as SpectrumColor, aB as SpectrumConfig, aC as StateStyleProps, aD as StyleProps, aE as TextStyleProps, aF as TextTransform, aG as TextTransformConfig, aH as TextVariant, aI as TransitionDelay, aJ as TransitionDuration, aK as TransitionTiming, aL as UniversalAvatarProps, g as UniversalBoxProps, aM as UniversalButtonProps, aN as UniversalIconButtonProps, k as UniversalIconProps, l as UniversalImageProps, h as UniversalPressableProps, j as UniversalStackProps, aO as UniversalTextInputProps, i as UniversalTextProps, m as alwaysPalette } from '../types-BN1X8QcB.js';
1
+ import { U as UniversalTokensConfig, f as FontFamilyGlobalConfig, a6 as FontWeightDescriptive, e as FontWeightNumeric, K as ColorModeForApp, aw as ScaleModeForApp, C as ColorMode, S as ScaleMode, a9 as HighContrastMode, at as RegionMode } from '../types-Diou6f1Q.js';
2
+ export { A as AlwaysPalette, n as AlwaysPaletteAlias, o as Animation, p as AriaAttribute, q as AvatarShape, r as AvatarSize, s as AvatarSizeConfig, t as BackgroundColor, u as BackgroundPalette, B as BackgroundPaletteAlias, v as BackgroundStyleProps, w as BorderRadius, x as BorderRadiusConfig, y as BorderStyleProps, z as BorderWidth, D as BorderWidthConfig, E as BoxShadowConfig, G as ButtonSize, I as ButtonVariant, J as ColorModeConfig, a as ColorsConfig, M as ConfigurableTextProperty, N as CorePalette, c as CorePaletteAlias, O as CustomSizingStyleProps, P as DataAttribute, Q as Display, R as Flex, T as FlexAlignContent, V as FlexAlignItems, W as FlexAlignSelf, X as FlexBasis, Y as FlexDirection, Z as FlexGrow, _ as FlexJustifyContent, $ as FlexShrink, a0 as FlexStyleProps, a1 as FlexWrap, a2 as FontFamilyConfig, a3 as FontFamilyGlobalAlias, a4 as FontSize, a5 as FontSizeConfig, d as FontWeightConfig, a7 as ForegroundColor, a8 as ForegroundPalette, F as ForegroundPaletteAlias, H as Hue, b as HueStep, aa as IconName, ab as IconSize, ac as IconSizeConfig, ad as ImageStyleProps, ae as LayoutStyleProps, af as LetterSpacing, ag as LineClampAlias, ah as LineColor, ai as LineHeight, aj as LineHeightConfig, ak as LinePalette, L as LinePaletteAlias, al as Modes, am as Overflow, an as Palette, ao as PaletteConfig, ap as PaletteType, aq as PaletteValue, ar as PlatformMode, as as Position, au as ScaleConfig, av as ScaleModeConfig, ax as SpacingAlias, ay as SpacingConfig, az as SpacingStyleProps, aA as SpectrumColor, aB as SpectrumConfig, aC as StateStyleProps, aD as StyleProps, aE as TextStyleProps, aF as TextTransform, aG as TextTransformConfig, aH as TextVariant, aI as TransitionDelay, aJ as TransitionDuration, aK as TransitionTiming, aL as UniversalAvatarProps, g as UniversalBoxProps, aM as UniversalButtonProps, aN as UniversalIconButtonProps, k as UniversalIconProps, l as UniversalImageProps, h as UniversalPressableProps, j as UniversalStackProps, aO as UniversalTextInputProps, i as UniversalTextProps, m as alwaysPalette } from '../types-Diou6f1Q.js';
3
3
  import 'react';
4
4
 
5
5
  declare const defaultTokensConfig: UniversalTokensConfig;
@@ -14,7 +14,6 @@ declare const ICON_SIZE_PREFIX = "uds-icon-size";
14
14
  declare const AVATAR_SIZE_PREFIX = "uds-avatar-size";
15
15
  declare const BORDER_RADIUS_PREFIX = "uds-border-radius";
16
16
  declare const BORDER_WIDTH_PREFIX = "uds-border-width";
17
- declare const SPACING_PREFIX = "uds-spacing";
18
17
  declare const FONT_SIZE_PREFIX = "uds-font-size";
19
18
  declare const LINE_HEIGHT_PREFIX = "uds-line-height";
20
19
  declare const FONT_WEIGHT_PREFIX = "uds-font-weight";
@@ -51,4 +50,4 @@ declare function fromEntries<T extends string, K>(item: [T, K][]): Record<T, K>;
51
50
  type AnyObject = Record<string, unknown>;
52
51
  declare function mapValues<T extends AnyObject, K extends (value: T[keyof T], key: keyof T, i: number) => unknown>(obj: T, callbackFn: K): { [key in keyof T]: ReturnType<K>; };
53
52
 
54
- export { AVATAR_SIZE_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, ColorMode, ColorModeForApp, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_SCALE_MODE_FOR_APP, FONT_FAMILY_PREFIX, FONT_ICONS_CSS_VAR, FONT_SANS_BETA_CSS_VAR, FONT_SANS_CONDENSED_CSS_VAR, FONT_SANS_CSS_VAR, FONT_SERIF_DISPLAY_CSS_VAR, FONT_SERIF_TEXT_CSS_VAR, FONT_SIZE_PREFIX, FONT_WEIGHT_PREFIX, FontFamilyGlobalConfig, FontWeightDescriptive, FontWeightNumeric, HighContrastMode, ICON_SIZE_PREFIX, LARGE_SCALE_MODE_CLASSNAME, LIGHT_COLOR_MODE_CLASSNAME, LINE_HEIGHT_PREFIX, MEDIUM_SCALE_MODE_CLASSNAME, RegionMode, SMALL_SCALE_MODE_CLASSNAME, SPACING_PREFIX, SPECTRUM_COLOR_PREFIX, ScaleMode, ScaleModeForApp, TEXT_TRANSFORM_PREFIX, UDS_PREFIX, UniversalTokensConfig, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, defaultTokensConfig, entries, fontFamilyGlobal, fontWeightMap, fromEntries, mapValues };
53
+ export { AVATAR_SIZE_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, ColorMode, ColorModeForApp, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_SCALE_MODE_FOR_APP, FONT_FAMILY_PREFIX, FONT_ICONS_CSS_VAR, FONT_SANS_BETA_CSS_VAR, FONT_SANS_CONDENSED_CSS_VAR, FONT_SANS_CSS_VAR, FONT_SERIF_DISPLAY_CSS_VAR, FONT_SERIF_TEXT_CSS_VAR, FONT_SIZE_PREFIX, FONT_WEIGHT_PREFIX, FontFamilyGlobalConfig, FontWeightDescriptive, FontWeightNumeric, HighContrastMode, ICON_SIZE_PREFIX, LARGE_SCALE_MODE_CLASSNAME, LIGHT_COLOR_MODE_CLASSNAME, LINE_HEIGHT_PREFIX, MEDIUM_SCALE_MODE_CLASSNAME, RegionMode, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, ScaleMode, ScaleModeForApp, TEXT_TRANSFORM_PREFIX, UDS_PREFIX, UniversalTokensConfig, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, defaultTokensConfig, entries, fontFamilyGlobal, fontWeightMap, fromEntries, mapValues };