@yahoo/uds 0.4.2 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- package/cli/preload.ts +1 -1
- package/cli/utils/purgeCSS.ts +2 -5
- package/dist/{Image.native-CddvOupj.d.cts → Image.native-CfDCpWe_.d.cts} +1 -1
- package/dist/{Image.native-BJfkUDnq.d.ts → Image.native-nwk5tr_f.d.ts} +1 -1
- package/dist/{VStack-CjOrFgxd.d.ts → VStack-Bj6PfbK5.d.ts} +1 -1
- package/dist/{VStack-CMGd5AX1.d.cts → VStack-D-py89Ge.d.cts} +1 -1
- package/dist/experimental/index.cjs +1 -1
- package/dist/experimental/index.d.cts +2 -2
- package/dist/experimental/index.d.ts +2 -2
- package/dist/experimental/index.js +1 -1
- package/dist/experimental/index.native.cjs +1 -1
- package/dist/experimental/index.native.d.cts +3 -3
- package/dist/experimental/index.native.d.ts +3 -3
- package/dist/experimental/index.native.js +1 -1
- package/dist/fixtures.cjs +60 -124
- package/dist/fixtures.d.ts +3 -10
- package/dist/fixtures.js +59 -123
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +58 -25
- package/dist/index.d.ts +58 -25
- package/dist/index.js +1 -1
- package/dist/{index.native-DG8RsS88.d.cts → index.native-A2gCijBH.d.cts} +1 -1
- package/dist/{index.native-LymI5azd.d.ts → index.native-BLJdXZHY.d.ts} +1 -1
- package/dist/index.native.cjs +1 -1
- package/dist/index.native.d.cts +72 -10
- package/dist/index.native.d.ts +72 -10
- package/dist/index.native.js +1 -1
- package/dist/styles/globals.css +1 -0
- package/dist/tailwind/plugin.cjs +1 -0
- package/dist/{tailwindPlugin.d.ts → tailwind/plugin.d.cts} +1 -1
- package/dist/{tailwindPlugin.d.cts → tailwind/plugin.d.ts} +1 -1
- package/dist/tailwind/plugin.js +1 -0
- package/dist/tailwind/purger.cjs +4 -0
- package/dist/tailwind/purger.js +4 -0
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +15 -4
- package/dist/tokens/index.d.ts +15 -4
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/index.native.cjs +1 -1
- package/dist/tokens/index.native.d.cts +2 -2
- package/dist/tokens/index.native.d.ts +2 -2
- package/dist/tokens/index.native.js +1 -1
- package/dist/tokens/parseTokens.cjs +1 -1
- package/dist/tokens/parseTokens.d.cts +1 -2
- package/dist/tokens/parseTokens.d.ts +1 -2
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/{types-D-ttCAsE.d.cts → types-Diou6f1Q.d.cts} +2 -3
- package/dist/{types-D-ttCAsE.d.ts → types-Diou6f1Q.d.ts} +2 -3
- package/dist/types-Dk8fLx7L.d.cts +374 -0
- package/dist/types-Dk8fLx7L.d.ts +374 -0
- package/package.json +19 -39
- package/dist/styles/fonts.css +0 -1
- package/dist/styles/fonts.d.cts +0 -2
- package/dist/styles/fonts.d.ts +0 -2
- package/dist/styles/globals.d.cts +0 -2
- package/dist/styles/globals.d.ts +0 -2
- package/dist/styles/toast.d.cts +0 -2
- package/dist/styles/toast.d.ts +0 -2
- package/dist/tailwindPlugin.cjs +0 -1
- package/dist/tailwindPlugin.js +0 -1
- package/dist/tailwindPurge.cjs +0 -4
- package/dist/tailwindPurge.js +0 -4
- package/dist/tokens/parseTokens.native.cjs +0 -1
- package/dist/tokens/parseTokens.native.d.cts +0 -399
- package/dist/tokens/parseTokens.native.d.ts +0 -399
- package/dist/tokens/parseTokens.native.js +0 -1
- package/dist/types-FO65RM-W.d.cts +0 -38
- package/dist/types-FO65RM-W.d.ts +0 -38
- /package/dist/{tailwindPurge.d.cts → tailwind/purger.d.cts} +0 -0
- /package/dist/{tailwindPurge.d.ts → tailwind/purger.d.ts} +0 -0
- /package/dist/{tailwindPurge/utils.cjs → tailwind/tsMorph.cjs} +0 -0
- /package/dist/{tailwindPurge/utils.d.cts → tailwind/tsMorph.d.cts} +0 -0
- /package/dist/{tailwindPurge/utils.d.ts → tailwind/tsMorph.d.ts} +0 -0
- /package/dist/{tailwindPurge/utils.js → tailwind/tsMorph.js} +0 -0
package/dist/tailwindPlugin.js
DELETED
@@ -1 +0,0 @@
|
|
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};
|
package/dist/tailwindPurge.cjs
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
"use strict";var a=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var l=(o,e)=>{for(var t in e)a(o,t,{get:e[t],enumerable:!0})},p=(o,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of d(e))!s.call(o,r)&&r!==t&&a(o,r,{get:()=>e[r],enumerable:!(n=i(e,r))||n.enumerable});return o};var c=o=>p(a({},"__esModule",{value:!0}),o);var v={};l(v,{componentToTwClasses:()=>f,componentToVariants:()=>x,componentsDependencies:()=>g,variantToTailwindClass:()=>b,variantsList:()=>m});module.exports=c(v);var b={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-1 p-2 p-3 p-4 p-5 p-6 p-7 p-8 p-9 p-10 p-11 p-12 p-13 p-14 p-[0px]",spacingHorizontal:"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-13 px-14 px-none",spacingVertical:"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-13 py-14 py-none",spacingBottom:"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-13 pb-14 pb-none",spacingEnd:"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-13 pe-14 pe-none",spacingStart:"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-13 ps-14 ps-none",spacingTop:"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-13 pt-14 pt-none",offset:"-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-13 -m-14 -m-none",offsetVertical:"-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-13 -my-14 -my-none",offsetHorizontal:"-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-13 -mx-14 -mx-none",offsetBottom:"-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-13 -mb-14 -mb-none",offsetEnd:"-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-13 -me-14 -me-none",offsetStart:"-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-13 -ms-14 -ms-none",offsetTop:"-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-13 -mt-14 -mt-none",columnGap:"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-13 gap-x-14 gap-x-none",rowGap:"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-13 gap-y-14 gap-y-none",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:[]},f={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 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\\]\\: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\\]\\: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\\]\\: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"},g={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
|
package/dist/tailwindPurge.js
DELETED
@@ -1,4 +0,0 @@
|
|
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-1 p-2 p-3 p-4 p-5 p-6 p-7 p-8 p-9 p-10 p-11 p-12 p-13 p-14 p-[0px]",spacingHorizontal:"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-13 px-14 px-none",spacingVertical:"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-13 py-14 py-none",spacingBottom:"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-13 pb-14 pb-none",spacingEnd:"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-13 pe-14 pe-none",spacingStart:"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-13 ps-14 ps-none",spacingTop:"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-13 pt-14 pt-none",offset:"-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-13 -m-14 -m-none",offsetVertical:"-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-13 -my-14 -my-none",offsetHorizontal:"-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-13 -mx-14 -mx-none",offsetBottom:"-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-13 -mb-14 -mb-none",offsetEnd:"-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-13 -me-14 -me-none",offsetStart:"-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-13 -ms-14 -ms-none",offsetTop:"-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-13 -mt-14 -mt-none",columnGap:"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-13 gap-x-14 gap-x-none",rowGap:"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-13 gap-y-14 gap-y-none",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 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\\]\\: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\\]\\: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\\]\\: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
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";var i=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var T=Object.prototype.hasOwnProperty;var d=(e,o)=>{for(var r in o)i(e,r,{get:o[r],enumerable:!0})},b=(e,o,r,t)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of C(o))!T.call(e,n)&&n!==r&&i(e,n,{get:()=>o[n],enumerable:!(t=g(o,n))||t.enumerable});return e};var m=e=>b(i({},"__esModule",{value:!0}),e);var A={};d(A,{parseTokens:()=>M});module.exports=m(A);function l(e,o){return Object.keys(e).reduce((r,t,n)=>(r[t]=o(e[t],t,n),r),{})}function p({spectrum:e,palette:o}){let r=l(e,n=>l(n,s=>`rgb(${s.replaceAll(" ",",")})`)),t=l(o,n=>Object.entries(n).reduce((s,[y,{hue:k,step:u,opacity:a}])=>{let f=e[k][u],c=a?`rgb(${f.replaceAll(" ",",")} / ${a})`:`rgb(${f.replaceAll(" ",",")})`;return{...s,[y]:c}},{}));return{spectrum:r,palette:t}}function M({colorMode:e,...o}){return{...o,colorMode:{light:p(e.light),dark:p(e.dark)}}}0&&(module.exports={parseTokens});
|
@@ -1,399 +0,0 @@
|
|
1
|
-
import { U as UniversalTokensConfig, C as ColorMode, a as ColorsConfig } from '../types-D-ttCAsE.cjs';
|
2
|
-
import 'react';
|
3
|
-
|
4
|
-
declare function transformColors({ spectrum, palette }: ColorsConfig): {
|
5
|
-
spectrum: {
|
6
|
-
purple: {
|
7
|
-
9: string;
|
8
|
-
0: string;
|
9
|
-
1: string;
|
10
|
-
2: string;
|
11
|
-
3: string;
|
12
|
-
4: string;
|
13
|
-
5: string;
|
14
|
-
6: string;
|
15
|
-
7: string;
|
16
|
-
8: string;
|
17
|
-
10: string;
|
18
|
-
11: string;
|
19
|
-
12: string;
|
20
|
-
13: string;
|
21
|
-
14: string;
|
22
|
-
15: string;
|
23
|
-
};
|
24
|
-
gray: {
|
25
|
-
9: string;
|
26
|
-
0: string;
|
27
|
-
1: string;
|
28
|
-
2: string;
|
29
|
-
3: string;
|
30
|
-
4: string;
|
31
|
-
5: string;
|
32
|
-
6: string;
|
33
|
-
7: string;
|
34
|
-
8: string;
|
35
|
-
10: string;
|
36
|
-
11: string;
|
37
|
-
12: string;
|
38
|
-
13: string;
|
39
|
-
14: string;
|
40
|
-
15: string;
|
41
|
-
};
|
42
|
-
indigo: {
|
43
|
-
9: string;
|
44
|
-
0: string;
|
45
|
-
1: string;
|
46
|
-
2: string;
|
47
|
-
3: string;
|
48
|
-
4: string;
|
49
|
-
5: string;
|
50
|
-
6: string;
|
51
|
-
7: string;
|
52
|
-
8: string;
|
53
|
-
10: string;
|
54
|
-
11: string;
|
55
|
-
12: string;
|
56
|
-
13: string;
|
57
|
-
14: string;
|
58
|
-
15: string;
|
59
|
-
};
|
60
|
-
blue: {
|
61
|
-
9: string;
|
62
|
-
0: string;
|
63
|
-
1: string;
|
64
|
-
2: string;
|
65
|
-
3: string;
|
66
|
-
4: string;
|
67
|
-
5: string;
|
68
|
-
6: string;
|
69
|
-
7: string;
|
70
|
-
8: string;
|
71
|
-
10: string;
|
72
|
-
11: string;
|
73
|
-
12: string;
|
74
|
-
13: string;
|
75
|
-
14: string;
|
76
|
-
15: string;
|
77
|
-
};
|
78
|
-
cyan: {
|
79
|
-
9: string;
|
80
|
-
0: string;
|
81
|
-
1: string;
|
82
|
-
2: string;
|
83
|
-
3: string;
|
84
|
-
4: string;
|
85
|
-
5: string;
|
86
|
-
6: string;
|
87
|
-
7: string;
|
88
|
-
8: string;
|
89
|
-
10: string;
|
90
|
-
11: string;
|
91
|
-
12: string;
|
92
|
-
13: string;
|
93
|
-
14: string;
|
94
|
-
15: string;
|
95
|
-
};
|
96
|
-
teal: {
|
97
|
-
9: string;
|
98
|
-
0: string;
|
99
|
-
1: string;
|
100
|
-
2: string;
|
101
|
-
3: string;
|
102
|
-
4: string;
|
103
|
-
5: string;
|
104
|
-
6: string;
|
105
|
-
7: string;
|
106
|
-
8: string;
|
107
|
-
10: string;
|
108
|
-
11: string;
|
109
|
-
12: string;
|
110
|
-
13: string;
|
111
|
-
14: string;
|
112
|
-
15: string;
|
113
|
-
};
|
114
|
-
mint: {
|
115
|
-
9: string;
|
116
|
-
0: string;
|
117
|
-
1: string;
|
118
|
-
2: string;
|
119
|
-
3: string;
|
120
|
-
4: string;
|
121
|
-
5: string;
|
122
|
-
6: string;
|
123
|
-
7: string;
|
124
|
-
8: string;
|
125
|
-
10: string;
|
126
|
-
11: string;
|
127
|
-
12: string;
|
128
|
-
13: string;
|
129
|
-
14: string;
|
130
|
-
15: string;
|
131
|
-
};
|
132
|
-
green: {
|
133
|
-
9: string;
|
134
|
-
0: string;
|
135
|
-
1: string;
|
136
|
-
2: string;
|
137
|
-
3: string;
|
138
|
-
4: string;
|
139
|
-
5: string;
|
140
|
-
6: string;
|
141
|
-
7: string;
|
142
|
-
8: string;
|
143
|
-
10: string;
|
144
|
-
11: string;
|
145
|
-
12: string;
|
146
|
-
13: string;
|
147
|
-
14: string;
|
148
|
-
15: string;
|
149
|
-
};
|
150
|
-
lime: {
|
151
|
-
9: string;
|
152
|
-
0: string;
|
153
|
-
1: string;
|
154
|
-
2: string;
|
155
|
-
3: string;
|
156
|
-
4: string;
|
157
|
-
5: string;
|
158
|
-
6: string;
|
159
|
-
7: string;
|
160
|
-
8: string;
|
161
|
-
10: string;
|
162
|
-
11: string;
|
163
|
-
12: string;
|
164
|
-
13: string;
|
165
|
-
14: string;
|
166
|
-
15: string;
|
167
|
-
};
|
168
|
-
citron: {
|
169
|
-
9: string;
|
170
|
-
0: string;
|
171
|
-
1: string;
|
172
|
-
2: string;
|
173
|
-
3: string;
|
174
|
-
4: string;
|
175
|
-
5: string;
|
176
|
-
6: string;
|
177
|
-
7: string;
|
178
|
-
8: string;
|
179
|
-
10: string;
|
180
|
-
11: string;
|
181
|
-
12: string;
|
182
|
-
13: string;
|
183
|
-
14: string;
|
184
|
-
15: string;
|
185
|
-
};
|
186
|
-
yellow: {
|
187
|
-
9: string;
|
188
|
-
0: string;
|
189
|
-
1: string;
|
190
|
-
2: string;
|
191
|
-
3: string;
|
192
|
-
4: string;
|
193
|
-
5: string;
|
194
|
-
6: string;
|
195
|
-
7: string;
|
196
|
-
8: string;
|
197
|
-
10: string;
|
198
|
-
11: string;
|
199
|
-
12: string;
|
200
|
-
13: string;
|
201
|
-
14: string;
|
202
|
-
15: string;
|
203
|
-
};
|
204
|
-
brown: {
|
205
|
-
9: string;
|
206
|
-
0: string;
|
207
|
-
1: string;
|
208
|
-
2: string;
|
209
|
-
3: string;
|
210
|
-
4: string;
|
211
|
-
5: string;
|
212
|
-
6: string;
|
213
|
-
7: string;
|
214
|
-
8: string;
|
215
|
-
10: string;
|
216
|
-
11: string;
|
217
|
-
12: string;
|
218
|
-
13: string;
|
219
|
-
14: string;
|
220
|
-
15: string;
|
221
|
-
};
|
222
|
-
nude: {
|
223
|
-
9: string;
|
224
|
-
0: string;
|
225
|
-
1: string;
|
226
|
-
2: string;
|
227
|
-
3: string;
|
228
|
-
4: string;
|
229
|
-
5: string;
|
230
|
-
6: string;
|
231
|
-
7: string;
|
232
|
-
8: string;
|
233
|
-
10: string;
|
234
|
-
11: string;
|
235
|
-
12: string;
|
236
|
-
13: string;
|
237
|
-
14: string;
|
238
|
-
15: string;
|
239
|
-
};
|
240
|
-
orange: {
|
241
|
-
9: string;
|
242
|
-
0: string;
|
243
|
-
1: string;
|
244
|
-
2: string;
|
245
|
-
3: string;
|
246
|
-
4: string;
|
247
|
-
5: string;
|
248
|
-
6: string;
|
249
|
-
7: string;
|
250
|
-
8: string;
|
251
|
-
10: string;
|
252
|
-
11: string;
|
253
|
-
12: string;
|
254
|
-
13: string;
|
255
|
-
14: string;
|
256
|
-
15: string;
|
257
|
-
};
|
258
|
-
sunset: {
|
259
|
-
9: string;
|
260
|
-
0: string;
|
261
|
-
1: string;
|
262
|
-
2: string;
|
263
|
-
3: string;
|
264
|
-
4: string;
|
265
|
-
5: string;
|
266
|
-
6: string;
|
267
|
-
7: string;
|
268
|
-
8: string;
|
269
|
-
10: string;
|
270
|
-
11: string;
|
271
|
-
12: string;
|
272
|
-
13: string;
|
273
|
-
14: string;
|
274
|
-
15: string;
|
275
|
-
};
|
276
|
-
red: {
|
277
|
-
9: string;
|
278
|
-
0: string;
|
279
|
-
1: string;
|
280
|
-
2: string;
|
281
|
-
3: string;
|
282
|
-
4: string;
|
283
|
-
5: string;
|
284
|
-
6: string;
|
285
|
-
7: string;
|
286
|
-
8: string;
|
287
|
-
10: string;
|
288
|
-
11: string;
|
289
|
-
12: string;
|
290
|
-
13: string;
|
291
|
-
14: string;
|
292
|
-
15: string;
|
293
|
-
};
|
294
|
-
rose: {
|
295
|
-
9: string;
|
296
|
-
0: string;
|
297
|
-
1: string;
|
298
|
-
2: string;
|
299
|
-
3: string;
|
300
|
-
4: string;
|
301
|
-
5: string;
|
302
|
-
6: string;
|
303
|
-
7: string;
|
304
|
-
8: string;
|
305
|
-
10: string;
|
306
|
-
11: string;
|
307
|
-
12: string;
|
308
|
-
13: string;
|
309
|
-
14: string;
|
310
|
-
15: string;
|
311
|
-
};
|
312
|
-
pink: {
|
313
|
-
9: string;
|
314
|
-
0: string;
|
315
|
-
1: string;
|
316
|
-
2: string;
|
317
|
-
3: string;
|
318
|
-
4: string;
|
319
|
-
5: string;
|
320
|
-
6: string;
|
321
|
-
7: string;
|
322
|
-
8: string;
|
323
|
-
10: string;
|
324
|
-
11: string;
|
325
|
-
12: string;
|
326
|
-
13: string;
|
327
|
-
14: string;
|
328
|
-
15: string;
|
329
|
-
};
|
330
|
-
magenta: {
|
331
|
-
9: string;
|
332
|
-
0: string;
|
333
|
-
1: string;
|
334
|
-
2: string;
|
335
|
-
3: string;
|
336
|
-
4: string;
|
337
|
-
5: string;
|
338
|
-
6: string;
|
339
|
-
7: string;
|
340
|
-
8: string;
|
341
|
-
10: string;
|
342
|
-
11: string;
|
343
|
-
12: string;
|
344
|
-
13: string;
|
345
|
-
14: string;
|
346
|
-
15: string;
|
347
|
-
};
|
348
|
-
carbon: {
|
349
|
-
9: string;
|
350
|
-
0: string;
|
351
|
-
1: string;
|
352
|
-
2: string;
|
353
|
-
3: string;
|
354
|
-
4: string;
|
355
|
-
5: string;
|
356
|
-
6: string;
|
357
|
-
7: string;
|
358
|
-
8: string;
|
359
|
-
10: string;
|
360
|
-
11: string;
|
361
|
-
12: string;
|
362
|
-
13: string;
|
363
|
-
14: string;
|
364
|
-
15: string;
|
365
|
-
};
|
366
|
-
};
|
367
|
-
palette: {
|
368
|
-
core: {
|
369
|
-
accent: string;
|
370
|
-
alert: string;
|
371
|
-
brand: string;
|
372
|
-
positive: string;
|
373
|
-
warning: string;
|
374
|
-
};
|
375
|
-
background: {
|
376
|
-
primary: string;
|
377
|
-
secondary: string;
|
378
|
-
};
|
379
|
-
foreground: {
|
380
|
-
primary: string;
|
381
|
-
secondary: string;
|
382
|
-
tertiary: string;
|
383
|
-
muted: string;
|
384
|
-
"on-color": string;
|
385
|
-
};
|
386
|
-
line: {
|
387
|
-
primary: string;
|
388
|
-
secondary: string;
|
389
|
-
tertiary: string;
|
390
|
-
muted: string;
|
391
|
-
};
|
392
|
-
};
|
393
|
-
};
|
394
|
-
type MobileTokens = Omit<UniversalTokensConfig, 'colorMode'> & {
|
395
|
-
colorMode: Record<ColorMode, ReturnType<typeof transformColors>>;
|
396
|
-
};
|
397
|
-
declare function parseTokens({ colorMode, ...config }: UniversalTokensConfig): MobileTokens;
|
398
|
-
|
399
|
-
export { parseTokens };
|