@yahoo/uds 0.5.9 → 0.5.10
Sign up to get free protection for your applications and to get access to all the features.
- package/cli/bin/uds-darwin-arm64-baseline +0 -0
- package/cli/bin/uds-linux-x64-baseline +0 -0
- package/cli/cli.ts +24 -4
- package/cli/exec.ts +3 -1
- package/cli/uds-cli +3 -1
- package/dist/{Image.native-DZW5ek69.d.ts → Image.native-BxsXWBqp.d.ts} +1 -1
- package/dist/{Image.native-BhqVvnKU.d.cts → Image.native-DBoB1LOc.d.cts} +1 -1
- package/dist/{VStack-C6VjEoRP.d.cts → VStack-BFIFJUVx.d.cts} +1 -1
- package/dist/{VStack-BohShRVo.d.ts → VStack-zgq0Zq3N.d.ts} +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 +26 -1
- package/dist/fixtures.d.ts +6 -2
- package/dist/fixtures.js +22 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -2
- package/dist/{index.native-uBCD4Hr4.d.ts → index.native-Gbm66c6M.d.ts} +1 -1
- package/dist/{index.native-dtcAO8DN.d.cts → index.native-OW5d35eT.d.cts} +1 -1
- package/dist/index.native.cjs +1 -1
- package/dist/index.native.d.cts +5 -4
- package/dist/index.native.d.ts +5 -4
- package/dist/index.native.js +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/tailwind/plugin.cjs +1 -1
- package/dist/tailwind/plugin.d.cts +1 -1
- package/dist/tailwind/plugin.d.ts +1 -1
- package/dist/tailwind/plugin.js +3 -3
- package/dist/tailwind/purger.cjs +2 -2
- package/dist/tailwind/purger.js +3 -3
- package/dist/tailwind/tsMorph.js +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +3 -2
- package/dist/tokens/index.d.ts +3 -2
- package/dist/tokens/index.js +2 -2
- 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 +2 -2
- package/dist/tokens/parseTokens.d.ts +2 -2
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/{types-BE7_GGFX.d.cts → types-BofdnBTe.d.cts} +41 -30
- package/dist/{types-BE7_GGFX.d.ts → types-BofdnBTe.d.ts} +41 -30
- package/dist/{types-D0b0TPQ4.d.cts → types-CLPge83Y.d.cts} +41 -30
- package/dist/{types-D0b0TPQ4.d.ts → types-CLPge83Y.d.ts} +41 -30
- package/package.json +1 -5
- package/cli/bin/uds-darwin-x64 +0 -0
- package/cli/bin/uds-linux-arm64 +0 -0
- package/cli/bin/uds-windows-x64-baseline.exe +0 -0
@@ -1 +1 @@
|
|
1
|
-
var g={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},b={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var m={none:0,thin:1,medium:2,thick:2},v={none:0,thin:1,medium:2,thick:4};var f={defaults:{category:"accent",variant:"primary",size:"md"},size:{sm:{spacingHorizontal:"4",spacingVertical:"1.5",gap:"2",iconSize:"sm",textVariant:"label1"},md:{spacingHorizontal:"4",spacingVertical:"2",gap:"2",iconSize:"sm",textVariant:"label1"},lg:{spacingHorizontal:"6",spacingVertical:"3.5",gap:"2",iconSize:"md",textVariant:"label1"}},category:{accent:{primary:{kind:"fill",state:{rest:{borderWidth:"none",borderRadius:"full",borderColor:{type:"palette",value:"transparent"},backgroundColor:{type:"spectrum",value:"blue-9"},color:{type:"palette",value:"on-color"}},hover:{backgroundColor:{type:"spectrum",value:"blue-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},pressed:{backgroundColor:{type:"spectrum",value:"blue-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}}}},secondary:{kind:"outline",state:{rest:{borderWidth:"thin",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},color:{type:"spectrum",value:"blue-9"},borderColor:{type:"spectrum",value:"blue-9"}},hover:{color:{type:"spectrum",value:"blue-10"},backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"blue-10"}},pressed:{color:{type:"spectrum",value:"blue-11"},backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"blue-11"}}}},tertiary:{kind:"ghost",state:{rest:{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:"transparent"},color:{type:"spectrum",value:"blue-9"}},hover:{backgroundColor:{type:"spectrum",value:"blue-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"spectrum",value:"blue-9"}},pressed:{backgroundColor:{type:"spectrum",value:"blue-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"spectrum",value:"blue-9"}}}}},brand:{primary:{kind:"fill",state:{rest:{borderWidth:"none",borderRadius:"full",borderColor:{type:"palette",value:"transparent"},backgroundColor:{type:"palette",value:"brand"},color:{type:"palette",value:"on-color"}},hover:{backgroundColor:{type:"spectrum",value:"purple-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},pressed:{backgroundColor:{type:"spectrum",value:"purple-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}}}},secondary:{kind:"outline",state:{rest:{borderWidth:"thin",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"},borderColor:{type:"palette",value:"brand"}},hover:{color:{type:"spectrum",value:"purple-10"},backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-10"}},pressed:{color:{type:"spectrum",value:"purple-11"},backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-11"}}}},tertiary:{kind:"ghost",state:{rest:{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"}},hover:{backgroundColor:{type:"spectrum",value:"purple-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"}},pressed:{backgroundColor:{type:"spectrum",value:"purple-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"}}}}},alert:{primary:{kind:"fill",state:{rest:{borderWidth:"none",borderRadius:"full",borderColor:{type:"palette",value:"transparent"},backgroundColor:{type:"palette",value:"alert"},color:{type:"palette",value:"on-color"}},hover:{backgroundColor:{type:"spectrum",value:"red-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},pressed:{backgroundColor:{type:"spectrum",value:"red-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}}}},secondary:{kind:"outline",state:{rest:{borderWidth:"thin",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"},borderColor:{type:"palette",value:"alert"}},hover:{color:{type:"spectrum",value:"red-10"},backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-10"}},pressed:{color:{type:"spectrum",value:"red-11"},backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-11"}}}},tertiary:{kind:"ghost",state:{rest:{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"}},hover:{backgroundColor:{type:"spectrum",value:"red-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"}},pressed:{backgroundColor:{type:"spectrum",value:"red-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"}}}}},positive:{primary:{kind:"fill",state:{rest:{borderWidth:"none",borderRadius:"full",borderColor:{type:"palette",value:"transparent"},backgroundColor:{type:"palette",value:"positive"},color:{type:"palette",value:"on-color"}},hover:{backgroundColor:{type:"spectrum",value:"green-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},pressed:{backgroundColor:{type:"spectrum",value:"green-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}}}},secondary:{kind:"outline",state:{rest:{borderWidth:"thin",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"},borderColor:{type:"palette",value:"positive"}},hover:{color:{type:"spectrum",value:"green-10"},backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-10"}},pressed:{color:{type:"spectrum",value:"green-11"},backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-11"}}}},tertiary:{kind:"ghost",state:{rest:{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"}},hover:{backgroundColor:{type:"spectrum",value:"green-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"}},pressed:{backgroundColor:{type:"spectrum",value:"green-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"}}}}},warning:{primary:{kind:"fill",state:{rest:{borderWidth:"none",borderRadius:"full",borderColor:{type:"palette",value:"transparent"},backgroundColor:{type:"palette",value:"warning"},color:{type:"palette",value:"on-color"}},hover:{backgroundColor:{type:"spectrum",value:"orange-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},pressed:{backgroundColor:{type:"spectrum",value:"orange-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}}}},secondary:{kind:"outline",state:{rest:{borderWidth:"thin",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"},borderColor:{type:"palette",value:"warning"}},hover:{color:{type:"spectrum",value:"orange-10"},backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-10"}},pressed:{color:{type:"spectrum",value:"orange-11"},backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-11"}}}},tertiary:{kind:"ghost",state:{rest:{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"}},hover:{backgroundColor:{type:"spectrum",value:"orange-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"}},pressed:{backgroundColor:{type:"spectrum",value:"orange-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"}}}}}}};var h={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"}}},C={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"}}},H={white:"#ffffff",black:"#000000",transparent:"transparent",current:"currentColor"};var o={sm:16,md:24,lg:32},k=o,a={sm:16,md:24,lg:32},x=a;var S={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 e=["Helvetica Neue","Helvetica","Arial","sans-serif"],F=["Georgia","Times","Times New Roman","serif"],R={icons:{fallbacks:e,name:"yahoo-icons"},sans:{fallbacks:e,name:"yahoo-sans"},"sans-beta":{fallbacks:e,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:e,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:F,name:"yahoo-serif-text"},"serif-display":{fallbacks:F,name:"yahoo-serif-display"}},l={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"},L={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},n={display1:"black",display2:"extrabold",display3:"extrabold",title1:"bold",title2:"bold",title3:"bold",title4:"bold",headline1:"semibold",body1:"regular",label1:"semibold",label2:"regular",caption1:"semibold",caption2:"regular",legal1:"semibold"},p={display1:"uppercase",display2:"none",display3:"none",title1:"none",title2:"none",title3:"none",title4:"none",headline1:"none",body1:"none",label1:"none",label2:"none",caption1:"none",caption2:"none",legal1:"none"},i={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:{...i.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},t={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}},d={fontSize:{...t.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...t.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:{...d.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},c={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}},W={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:{...c.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var y={fontFamily:l,fontWeight:n,textTransform:p,avatarSizes:o,iconSizes:a,borderRadius:g,borderWidth:m},r={fontFamily:l,fontWeight:n,textTransform:p,avatarSizes:k,iconSizes:x,borderRadius:b,borderWidth:v},V={colorMode:{light:{palette:h,spectrum:S},dark:{palette:C,spectrum:z}},scaleMode:{xSmall:{...y,...i},small:{...y,...s},medium:{...y,...t},large:{...r,...d},xLarge:{...r,...u},xxLarge:{...r,...c},xxxLarge:{...r,...W}},fontFamily:R,button:f};var q="system",J="system",K="light",Q="large",X=!1,Y="\u{1F1FA}\u{1F1F8} US";export{K as DEFAULT_COLOR_MODE,q as DEFAULT_COLOR_MODE_FOR_APP,X as DEFAULT_HIGH_CONTRAST_MODE,Y as DEFAULT_REGION_MODE,Q as DEFAULT_SCALE_MODE,J as DEFAULT_SCALE_MODE_FOR_APP,H as alwaysPalette,V as defaultTokensConfig,L as fontWeightMap};
|
1
|
+
var C={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},h={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var k={none:0,thin:1,medium:2,thick:2},x={none:0,thin:1,medium:2,thick:4};var e=["none","custom","lighten","darken"],t=["none","custom"],o={hover:{backgroundColor:{value:"darken",options:e},borderColor:{value:"none",options:t},color:{value:"none",options:[...t,"darken"]}},pressed:{backgroundColor:{value:"darken",options:e},borderColor:{value:"none",options:t},color:{value:"none",options:[...t,"darken"]}}},r={hover:{backgroundColor:{value:"none",options:t},borderColor:{value:"darken",options:e},color:{value:"darken",options:e}},pressed:{backgroundColor:{value:"none",options:t},borderColor:{value:"darken",options:e},color:{value:"darken",options:e}}},a={hover:{backgroundColor:{value:"lighten",options:["none","custom","lighten"]},borderColor:{value:"none",options:t},color:{value:"none",options:["none","custom","lighten"]}},pressed:{backgroundColor:{value:"lighten",options:e},borderColor:{value:"none",options:t},color:{value:"none",options:e}}},S={defaults:{category:"accent",variant:"primary",size:"md"},size:{sm:{spacingHorizontal:"4",spacingVertical:"1.5",gap:"2",iconSize:"sm",textVariant:"label1"},md:{spacingHorizontal:"4",spacingVertical:"2",gap:"2",iconSize:"sm",textVariant:"label1"},lg:{spacingHorizontal:"6",spacingVertical:"3.5",gap:"2",iconSize:"md",textVariant:"label1"}},category:{accent:{primary:{kind:"fill",effect:o,base:{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"accent"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},state:{hover:{backgroundColor:{type:"spectrum",value:"blue-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},pressed:{backgroundColor:{type:"spectrum",value:"blue-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}}}},secondary:{kind:"outline",effect:r,base:{borderWidth:"thin",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:"accent"},color:{type:"palette",value:"accent"}},state:{hover:{backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"blue-10"},color:{type:"spectrum",value:"blue-10"}},pressed:{backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"blue-11"},color:{type:"spectrum",value:"blue-11"}}}},tertiary:{kind:"ghost",effect:a,base:{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"}},state:{hover:{backgroundColor:{type:"spectrum",value:"blue-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"}},pressed:{backgroundColor:{type:"spectrum",value:"blue-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"accent"}}}}},brand:{primary:{kind:"fill",effect:o,base:{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"brand"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},state:{hover:{backgroundColor:{type:"spectrum",value:"purple-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},pressed:{backgroundColor:{type:"spectrum",value:"purple-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}}}},secondary:{kind:"outline",effect:r,base:{borderWidth:"thin",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"},borderColor:{type:"palette",value:"brand"}},state:{hover:{backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-10"},color:{type:"spectrum",value:"purple-10"}},pressed:{backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"purple-11"},color:{type:"spectrum",value:"purple-11"}}}},tertiary:{kind:"ghost",effect:a,base:{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"}},state:{hover:{backgroundColor:{type:"spectrum",value:"purple-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"}},pressed:{backgroundColor:{type:"spectrum",value:"purple-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"brand"}}}}},alert:{primary:{kind:"fill",effect:o,base:{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"alert"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},state:{hover:{backgroundColor:{type:"spectrum",value:"red-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},pressed:{backgroundColor:{type:"spectrum",value:"red-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}}}},secondary:{kind:"outline",effect:r,base:{borderWidth:"thin",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:"alert"},color:{type:"palette",value:"alert"}},state:{hover:{backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-10"},color:{type:"spectrum",value:"red-10"}},pressed:{backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"red-11"},color:{type:"spectrum",value:"red-11"}}}},tertiary:{kind:"ghost",effect:a,base:{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"}},state:{hover:{backgroundColor:{type:"spectrum",value:"red-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"}},pressed:{backgroundColor:{type:"spectrum",value:"red-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"alert"}}}}},positive:{primary:{kind:"fill",effect:o,base:{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"positive"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},state:{hover:{backgroundColor:{type:"spectrum",value:"green-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},pressed:{backgroundColor:{type:"spectrum",value:"green-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}}}},secondary:{kind:"outline",effect:r,base:{borderWidth:"thin",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"},borderColor:{type:"palette",value:"positive"}},state:{hover:{backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-10"},color:{type:"spectrum",value:"green-10"}},pressed:{backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"green-11"},color:{type:"spectrum",value:"green-11"}}}},tertiary:{kind:"ghost",effect:a,base:{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"}},state:{hover:{backgroundColor:{type:"spectrum",value:"green-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"}},pressed:{backgroundColor:{type:"spectrum",value:"green-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"positive"}}}}},warning:{primary:{kind:"fill",effect:o,base:{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"warning"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},state:{hover:{backgroundColor:{type:"spectrum",value:"orange-10"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}},pressed:{backgroundColor:{type:"spectrum",value:"orange-11"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"on-color"}}}},secondary:{kind:"outline",effect:r,base:{borderWidth:"thin",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"},borderColor:{type:"palette",value:"warning"}},state:{hover:{backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-10"},color:{type:"spectrum",value:"orange-10"}},pressed:{backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"spectrum",value:"orange-11"},color:{type:"spectrum",value:"orange-11"}}}},tertiary:{kind:"ghost",effect:a,base:{borderWidth:"none",borderRadius:"full",backgroundColor:{type:"palette",value:"transparent"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"}},state:{hover:{backgroundColor:{type:"spectrum",value:"orange-2"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"}},pressed:{backgroundColor:{type:"spectrum",value:"orange-4"},borderColor:{type:"palette",value:"transparent"},color:{type:"palette",value:"warning"}}}}}}};var z={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"}}},F={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"}}},M={white:"#ffffff",black:"#000000",transparent:"transparent",current:"currentColor"};var i={sm:16,md:24,lg:32},R=i,s={sm:16,md:24,lg:32},W=s;var H={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"}},E={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"],L=["Georgia","Times","Times New Roman","serif"],A={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:L,name:"yahoo-serif-text"},"serif-display":{fallbacks:L,name:"yahoo-serif-display"}},u={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"},T={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},d={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"},c={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"},y={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:{...y.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},n={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}},b={fontSize:{...n.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...n.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},f={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:{...b.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},v={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:{...f.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},B={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:{...v.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var m={fontFamily:u,fontWeight:d,textTransform:c,avatarSizes:i,iconSizes:s,borderRadius:C,borderWidth:k},p={fontFamily:u,fontWeight:d,textTransform:c,avatarSizes:R,iconSizes:W,borderRadius:h,borderWidth:x},Q={colorMode:{light:{palette:z,spectrum:H},dark:{palette:F,spectrum:E}},scaleMode:{xSmall:{...m,...y},small:{...m,...g},medium:{...m,...n},large:{...p,...b},xLarge:{...p,...f},xxLarge:{...p,...v},xxxLarge:{...p,...B}},fontFamily:A,button:S};var Y="system",Z="system",$="light",ee="large",te=!1,oe="\u{1F1FA}\u{1F1F8} US";export{$ as DEFAULT_COLOR_MODE,Y as DEFAULT_COLOR_MODE_FOR_APP,te as DEFAULT_HIGH_CONTRAST_MODE,oe as DEFAULT_REGION_MODE,ee as DEFAULT_SCALE_MODE,Z as DEFAULT_SCALE_MODE_FOR_APP,M as alwaysPalette,Q as defaultTokensConfig,T as fontWeightMap};
|
@@ -1,2 +1,2 @@
|
|
1
1
|
"use strict";
|
2
|
-
/*! © 2024 Yahoo, Inc. UDS v0.5.
|
2
|
+
/*! © 2024 Yahoo, Inc. UDS v0.5.10 */var t={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},r="uds",o=`${r}-spectrum-color`,e=`${r}-font`,n=`${r}-icon-size`,i=`${r}-avatar-size`,a=`${r}-border-radius`,s=`${r}-border-width`,c=`${r}-font-size`,f=`${r}-line-height`,$=`${r}-font-weight`,l=`${r}-text-transform`;function u(t){return Object.entries(t)}function d(t,r){return Object.keys(t).reduce(((o,e,n)=>(o[e]=r(t[e],e,n),o)),{})}function g(t){const{palette:e,spectrum:n}=t,i={},a={spectrum:{},palette:{}};for(const[t,r]of u(n))for(const[e,n]of u(r)){const r=`--${o}-${`${t}-${e}`}`;a.spectrum[t]||(a.spectrum[t]={}),a.spectrum[t][e]=`rgb(var(${r}))`,i[r]=n}return u(e).forEach((([t,e])=>{for(const[n,{hue:s,step:c,opacity:f}]of Object.entries(e)){t in a.palette||(a.palette[t]={});const e=`--${r}-${t}-color-${n}`;i[e]=`var(--${o}-${s}-${c})`,a.palette[t][n]=f?`rgb(var(${e}) / ${f})`:`rgb(var(${e}))`}})),{_vars:i,_raw:t,tailwindConfig:a}}function v(r){const o={},e={};for(const[n,i="regular"]of u(r)){const r=`--${$}-${n}`,a=t[i];o[r]=a,e[n]=`var(${r})`}return{_vars:o,_raw:r,tailwindConfig:{...t,...e}}}function b(t,r,o){const e={},n={};for(const[i,a]of u(r)){const r=`--${t}-${i}`,s=o?o(a):a;e[r]=s,n[i]=`var(${r})`}return{_vars:e,_raw:r,tailwindConfig:n}}function h(t,r){if(!r)return{_vars:{},_raw:{},tailwindConfig:{}};const o={},e={};for(const[n,i]of u(r)){const r=`--${t}-${n}`,a=`${i}px`;o[r]=a,e[n]=`var(${r})`}return{_vars:o,_raw:r,tailwindConfig:e}}function m(t){return d(t,((t,r)=>{const{fallbacks:o=[]}=t??{};return[`var(--${e}-${r})`,...o]}))}exports.parseTokens=function(t){const{colorMode:r,scaleMode:o,fontFamily:$}=t;return{...t,colorMode:{light:g(r.light),dark:g(r.dark)},scaleMode:d(o,(({borderRadius:t,borderWidth:r,fontSize:o,lineHeight:$,fontFamily:u,fontWeight:d,textTransform:g,avatarSizes:m,iconSizes:p})=>({fontFamily:b(e,u,(t=>`var(--${e}-${t})`)),fontSize:h(c,o),fontWeight:v(d),lineHeight:h(f,$),textTransform:b(l,g),borderRadius:h(a,t),borderWidth:h(s,r),avatarSizes:h(i,m),iconSizes:h(n,p)}))),fontFamily:m($)}};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { U as UniversalTokensConfig, C as ColorMode, S as ScaleMode, a as ColorsConfig, H as Hue, b as HueStep, B as BackgroundPaletteAlias, c as CorePaletteAlias, F as ForegroundPaletteAlias, L as LinePaletteAlias, d as FontWeightConfig, e as FontWeightNumeric, f as FontFamilyGlobalConfig } from '../types-
|
1
|
+
import { U as UniversalTokensConfig, C as ColorMode, S as ScaleMode, a as ColorsConfig, H as Hue, b as HueStep, B as BackgroundPaletteAlias, c as CorePaletteAlias, F as ForegroundPaletteAlias, L as LinePaletteAlias, d as FontWeightConfig, e as FontWeightNumeric, f as FontFamilyGlobalConfig } from '../types-BofdnBTe.cjs';
|
2
2
|
import 'react';
|
3
3
|
|
4
4
|
declare function transformColors(colors: ColorsConfig): {
|
@@ -18,9 +18,9 @@ declare function transformFontWeight(config: FontWeightConfig): {
|
|
18
18
|
_vars: Record<string, string>;
|
19
19
|
_raw: FontWeightConfig;
|
20
20
|
tailwindConfig: {
|
21
|
+
black: FontWeightNumeric;
|
21
22
|
thin: FontWeightNumeric;
|
22
23
|
medium: FontWeightNumeric;
|
23
|
-
black: FontWeightNumeric;
|
24
24
|
light: FontWeightNumeric;
|
25
25
|
extralight: FontWeightNumeric;
|
26
26
|
regular: FontWeightNumeric;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { U as UniversalTokensConfig, C as ColorMode, S as ScaleMode, a as ColorsConfig, H as Hue, b as HueStep, B as BackgroundPaletteAlias, c as CorePaletteAlias, F as ForegroundPaletteAlias, L as LinePaletteAlias, d as FontWeightConfig, e as FontWeightNumeric, f as FontFamilyGlobalConfig } from '../types-
|
1
|
+
import { U as UniversalTokensConfig, C as ColorMode, S as ScaleMode, a as ColorsConfig, H as Hue, b as HueStep, B as BackgroundPaletteAlias, c as CorePaletteAlias, F as ForegroundPaletteAlias, L as LinePaletteAlias, d as FontWeightConfig, e as FontWeightNumeric, f as FontFamilyGlobalConfig } from '../types-BofdnBTe.js';
|
2
2
|
import 'react';
|
3
3
|
|
4
4
|
declare function transformColors(colors: ColorsConfig): {
|
@@ -18,9 +18,9 @@ declare function transformFontWeight(config: FontWeightConfig): {
|
|
18
18
|
_vars: Record<string, string>;
|
19
19
|
_raw: FontWeightConfig;
|
20
20
|
tailwindConfig: {
|
21
|
+
black: FontWeightNumeric;
|
21
22
|
thin: FontWeightNumeric;
|
22
23
|
medium: FontWeightNumeric;
|
23
|
-
black: FontWeightNumeric;
|
24
24
|
light: FontWeightNumeric;
|
25
25
|
extralight: FontWeightNumeric;
|
26
26
|
regular: FontWeightNumeric;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
/*! © 2024 Yahoo, Inc. UDS v0.5.
|
1
|
+
/*! © 2024 Yahoo, Inc. UDS v0.5.10 */
|
2
2
|
var t={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},r="uds",o=`${r}-spectrum-color`,e=`${r}-font`,n=`${r}-icon-size`,i=`${r}-avatar-size`,a=`${r}-border-radius`,s=`${r}-border-width`,c=`${r}-font-size`,f=`${r}-line-height`,$=`${r}-font-weight`,l=`${r}-text-transform`;function u(t){return Object.entries(t)}function d(t,r){return Object.keys(t).reduce(((o,e,n)=>(o[e]=r(t[e],e,n),o)),{})}function g(t){const{palette:e,spectrum:n}=t,i={},a={spectrum:{},palette:{}};for(const[t,r]of u(n))for(const[e,n]of u(r)){const r=`--${o}-${`${t}-${e}`}`;a.spectrum[t]||(a.spectrum[t]={}),a.spectrum[t][e]=`rgb(var(${r}))`,i[r]=n}return u(e).forEach((([t,e])=>{for(const[n,{hue:s,step:c,opacity:f}]of Object.entries(e)){t in a.palette||(a.palette[t]={});const e=`--${r}-${t}-color-${n}`;i[e]=`var(--${o}-${s}-${c})`,a.palette[t][n]=f?`rgb(var(${e}) / ${f})`:`rgb(var(${e}))`}})),{_vars:i,_raw:t,tailwindConfig:a}}function v(r){const o={},e={};for(const[n,i="regular"]of u(r)){const r=`--${$}-${n}`,a=t[i];o[r]=a,e[n]=`var(${r})`}return{_vars:o,_raw:r,tailwindConfig:{...t,...e}}}function b(t,r,o){const e={},n={};for(const[i,a]of u(r)){const r=`--${t}-${i}`,s=o?o(a):a;e[r]=s,n[i]=`var(${r})`}return{_vars:e,_raw:r,tailwindConfig:n}}function h(t,r){if(!r)return{_vars:{},_raw:{},tailwindConfig:{}};const o={},e={};for(const[n,i]of u(r)){const r=`--${t}-${n}`,a=`${i}px`;o[r]=a,e[n]=`var(${r})`}return{_vars:o,_raw:r,tailwindConfig:e}}function m(t){return d(t,((t,r)=>{const{fallbacks:o=[]}=t??{};return[`var(--${e}-${r})`,...o]}))}function p(t){const{colorMode:r,scaleMode:o,fontFamily:$}=t;return{...t,colorMode:{light:g(r.light),dark:g(r.dark)},scaleMode:d(o,(({borderRadius:t,borderWidth:r,fontSize:o,lineHeight:$,fontFamily:u,fontWeight:d,textTransform:g,avatarSizes:m,iconSizes:p})=>({fontFamily:b(e,u,(t=>`var(--${e}-${t})`)),fontSize:h(c,o),fontWeight:v(d),lineHeight:h(f,$),textTransform:b(l,g),borderRadius:h(a,t),borderWidth:h(s,r),avatarSizes:h(i,m),iconSizes:h(n,p)}))),fontFamily:m($)}}export{p as parseTokens};
|
@@ -36,6 +36,11 @@ type AlwaysPaletteAlias = keyof AlwaysPalette;
|
|
36
36
|
type ForegroundColor = CorePaletteAlias | ForegroundPaletteAlias | AlwaysPaletteAlias;
|
37
37
|
type LineColor = CorePaletteAlias | LinePaletteAlias | AlwaysPaletteAlias;
|
38
38
|
type BackgroundColor = CorePaletteAlias | BackgroundPaletteAlias | AlwaysPaletteAlias;
|
39
|
+
type PropertyToPaletteAliasMap = {
|
40
|
+
backgroundColor: BackgroundColor;
|
41
|
+
borderColor: LineColor;
|
42
|
+
color: ForegroundColor;
|
43
|
+
};
|
39
44
|
type TextVariant = 'display1' | 'display2' | 'display3' | 'title1' | 'title2' | 'title3' | 'title4' | 'headline1' | 'body1' | 'label1' | 'label2' | 'caption1' | 'caption2' | 'legal1';
|
40
45
|
type FontFamilyGlobalAlias = 'icons' | 'sans' | 'sans-beta' | 'sans-condensed' | 'serif-text' | 'serif-display';
|
41
46
|
type FontFamilyGlobalConfig = Record<FontFamilyGlobalAlias, {
|
@@ -100,27 +105,43 @@ type ScaleConfig = {
|
|
100
105
|
textTransform: TextTransformConfig;
|
101
106
|
};
|
102
107
|
type ScaleModeConfig = Record<ScaleMode, ScaleConfig>;
|
103
|
-
type ButtonSpectrumColor = {
|
104
|
-
type: 'spectrum';
|
105
|
-
value: SpectrumColor;
|
106
|
-
};
|
107
108
|
type ButtonSize = TShirtSizeCommon;
|
108
109
|
type ButtonCategory = CorePaletteAlias;
|
109
110
|
type ButtonVariant2 = 'primary' | 'secondary' | 'tertiary';
|
110
|
-
type ButtonState = '
|
111
|
+
type ButtonState = 'hover' | 'pressed';
|
111
112
|
type ButtonKind = 'fill' | 'outline' | 'ghost';
|
112
|
-
type
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
113
|
+
type ButtonColorEffect = 'lighten' | 'darken' | 'none' | 'custom';
|
114
|
+
type ButtonColorProperty = 'backgroundColor' | 'borderColor' | 'color';
|
115
|
+
type ButtonColorEffectConfig = {
|
116
|
+
options: ButtonColorEffect[];
|
117
|
+
value: ButtonColorEffect;
|
118
|
+
};
|
119
|
+
type ButtonSpecrtumColor = {
|
120
|
+
type: 'spectrum';
|
121
|
+
value: SpectrumColor;
|
122
|
+
};
|
123
|
+
type ButtonPaletteColor<T> = {
|
121
124
|
type: 'palette';
|
122
|
-
value:
|
123
|
-
}
|
125
|
+
value: T;
|
126
|
+
};
|
127
|
+
type ButtonColorConfig<Property extends ButtonColorProperty> = ButtonPaletteColor<PropertyToPaletteAliasMap[Property]> | ButtonSpecrtumColor;
|
128
|
+
type ButtonColorPropertyConfig = {
|
129
|
+
backgroundColor: ButtonColorConfig<'backgroundColor'>;
|
130
|
+
borderColor: ButtonColorConfig<'borderColor'>;
|
131
|
+
color: ButtonColorConfig<'color'>;
|
132
|
+
};
|
133
|
+
type ButtonBaseConfig = {
|
134
|
+
borderWidth: BorderWidth;
|
135
|
+
borderRadius: BorderRadius;
|
136
|
+
} & ButtonColorPropertyConfig;
|
137
|
+
type ButtonStateConfig = {
|
138
|
+
[state in ButtonState]: ButtonColorPropertyConfig;
|
139
|
+
};
|
140
|
+
type ButtonStateEffectConfig = {
|
141
|
+
[state in ButtonState]: {
|
142
|
+
[property in ButtonColorProperty]: ButtonColorEffectConfig;
|
143
|
+
};
|
144
|
+
};
|
124
145
|
interface ButtonConfig {
|
125
146
|
defaults: {
|
126
147
|
category: ButtonCategory;
|
@@ -140,19 +161,9 @@ interface ButtonConfig {
|
|
140
161
|
[category in ButtonCategory]: {
|
141
162
|
[variant in ButtonVariant2]: {
|
142
163
|
kind: ButtonKind;
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
borderRadius: BorderRadius;
|
147
|
-
backgroundColor: ButtonBackgroundColor;
|
148
|
-
color: ButtonForegroundColor;
|
149
|
-
borderColor: ButtonBorderColor;
|
150
|
-
} : {
|
151
|
-
backgroundColor: ButtonBackgroundColor;
|
152
|
-
color: ButtonForegroundColor;
|
153
|
-
borderColor: ButtonBorderColor;
|
154
|
-
};
|
155
|
-
};
|
164
|
+
base: ButtonBaseConfig;
|
165
|
+
effect: ButtonStateEffectConfig;
|
166
|
+
state: ButtonStateConfig;
|
156
167
|
};
|
157
168
|
};
|
158
169
|
};
|
@@ -422,4 +433,4 @@ interface UniversalTextInputProps {
|
|
422
433
|
spacingHorizontal?: SpacingAlias;
|
423
434
|
}
|
424
435
|
|
425
|
-
export { type DataAttribute as $, type
|
436
|
+
export { type DataAttribute as $, type AlwaysPalette as A, type BackgroundPaletteAlias as B, type ColorMode as C, type ButtonColorConfig as D, type ButtonColorEffect as E, type ForegroundPaletteAlias as F, type ButtonColorEffectConfig as G, type Hue as H, type ButtonColorProperty as I, type ButtonColorPropertyConfig as J, type ButtonConfig as K, type LinePaletteAlias as L, type ButtonKind as M, type ButtonSize as N, type ButtonSpecrtumColor as O, type ButtonState as P, type ButtonStateConfig as Q, type ButtonStateEffectConfig as R, type ScaleMode as S, type ButtonVariant as T, type UniversalTokensConfig as U, type ButtonVariant2 as V, type ColorModeConfig as W, type ColorModeForApp as X, type ConfigurableTextProperty as Y, type CorePalette as Z, type CustomSizingStyleProps as _, type ColorsConfig as a, type UniversalIconProps as a$, type Display as a0, type Flex as a1, type FlexAlignContent as a2, type FlexAlignItems as a3, type FlexAlignSelf as a4, type FlexBasis as a5, type FlexDirection as a6, type FlexGrow as a7, type FlexJustifyContent as a8, type FlexShrink as a9, type PlatformMode as aA, type Position as aB, type PropertyToPaletteAliasMap as aC, type RegionMode as aD, type ScaleConfig as aE, type ScaleModeConfig as aF, type ScaleModeForApp as aG, type SpacingAlias as aH, type SpacingConfig as aI, type SpacingStyleProps as aJ, type SpectrumColor as aK, type SpectrumConfig as aL, type StateStyleProps as aM, type StyleProps as aN, type TextStyleProps as aO, type TextTransform as aP, type TextTransformConfig as aQ, type TextVariant as aR, type TransitionDelay as aS, type TransitionDuration as aT, type TransitionTiming as aU, type TShirtSize as aV, type TShirtSizeCommon as aW, type UniversalAvatarProps as aX, type UniversalBoxProps as aY, type UniversalButtonProps as aZ, type UniversalIconButtonProps as a_, type FlexStyleProps as aa, type FlexWrap as ab, type FontFamilyConfig as ac, type FontFamilyGlobalAlias as ad, type FontSize as ae, type FontSizeConfig as af, type FontWeightDescriptive as ag, type ForegroundColor as ah, type ForegroundPalette as ai, type HighContrastMode as aj, type IconSize as ak, type IconSizeConfig as al, type ImageStyleProps as am, type LayoutStyleProps as an, type LetterSpacing as ao, type LineClampAlias as ap, type LineColor as aq, type LineHeight as ar, type LineHeightConfig as as, type LinePalette as at, type Modes as au, type Overflow as av, type Palette as aw, type PaletteConfig as ax, type PaletteType as ay, type PaletteValue as az, type HueStep as b, type UniversalPressableProps as b0, type UniversalTextInputProps as b1, type UniversalTextProps as b2, type CorePaletteAlias as c, type FontWeightConfig as d, type FontWeightNumeric as e, type FontFamilyGlobalConfig as f, type UniversalStackProps as g, type UniversalImageProps as h, alwaysPalette as i, type AlwaysPaletteAlias as j, type Animation as k, type AriaAttribute as l, type AvatarShape as m, type AvatarSize as n, type AvatarSizeConfig as o, type BackgroundColor as p, type BackgroundPalette as q, type BackgroundStyleProps as r, type BorderRadius as s, type BorderRadiusConfig as t, type BorderStyleProps as u, type BorderWidth as v, type BorderWidthConfig as w, type BoxShadowConfig as x, type ButtonBaseConfig as y, type ButtonCategory as z };
|
@@ -36,6 +36,11 @@ type AlwaysPaletteAlias = keyof AlwaysPalette;
|
|
36
36
|
type ForegroundColor = CorePaletteAlias | ForegroundPaletteAlias | AlwaysPaletteAlias;
|
37
37
|
type LineColor = CorePaletteAlias | LinePaletteAlias | AlwaysPaletteAlias;
|
38
38
|
type BackgroundColor = CorePaletteAlias | BackgroundPaletteAlias | AlwaysPaletteAlias;
|
39
|
+
type PropertyToPaletteAliasMap = {
|
40
|
+
backgroundColor: BackgroundColor;
|
41
|
+
borderColor: LineColor;
|
42
|
+
color: ForegroundColor;
|
43
|
+
};
|
39
44
|
type TextVariant = 'display1' | 'display2' | 'display3' | 'title1' | 'title2' | 'title3' | 'title4' | 'headline1' | 'body1' | 'label1' | 'label2' | 'caption1' | 'caption2' | 'legal1';
|
40
45
|
type FontFamilyGlobalAlias = 'icons' | 'sans' | 'sans-beta' | 'sans-condensed' | 'serif-text' | 'serif-display';
|
41
46
|
type FontFamilyGlobalConfig = Record<FontFamilyGlobalAlias, {
|
@@ -100,27 +105,43 @@ type ScaleConfig = {
|
|
100
105
|
textTransform: TextTransformConfig;
|
101
106
|
};
|
102
107
|
type ScaleModeConfig = Record<ScaleMode, ScaleConfig>;
|
103
|
-
type ButtonSpectrumColor = {
|
104
|
-
type: 'spectrum';
|
105
|
-
value: SpectrumColor;
|
106
|
-
};
|
107
108
|
type ButtonSize = TShirtSizeCommon;
|
108
109
|
type ButtonCategory = CorePaletteAlias;
|
109
110
|
type ButtonVariant2 = 'primary' | 'secondary' | 'tertiary';
|
110
|
-
type ButtonState = '
|
111
|
+
type ButtonState = 'hover' | 'pressed';
|
111
112
|
type ButtonKind = 'fill' | 'outline' | 'ghost';
|
112
|
-
type
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
113
|
+
type ButtonColorEffect = 'lighten' | 'darken' | 'none' | 'custom';
|
114
|
+
type ButtonColorProperty = 'backgroundColor' | 'borderColor' | 'color';
|
115
|
+
type ButtonColorEffectConfig = {
|
116
|
+
options: ButtonColorEffect[];
|
117
|
+
value: ButtonColorEffect;
|
118
|
+
};
|
119
|
+
type ButtonSpecrtumColor = {
|
120
|
+
type: 'spectrum';
|
121
|
+
value: SpectrumColor;
|
122
|
+
};
|
123
|
+
type ButtonPaletteColor<T> = {
|
121
124
|
type: 'palette';
|
122
|
-
value:
|
123
|
-
}
|
125
|
+
value: T;
|
126
|
+
};
|
127
|
+
type ButtonColorConfig<Property extends ButtonColorProperty> = ButtonPaletteColor<PropertyToPaletteAliasMap[Property]> | ButtonSpecrtumColor;
|
128
|
+
type ButtonColorPropertyConfig = {
|
129
|
+
backgroundColor: ButtonColorConfig<'backgroundColor'>;
|
130
|
+
borderColor: ButtonColorConfig<'borderColor'>;
|
131
|
+
color: ButtonColorConfig<'color'>;
|
132
|
+
};
|
133
|
+
type ButtonBaseConfig = {
|
134
|
+
borderWidth: BorderWidth;
|
135
|
+
borderRadius: BorderRadius;
|
136
|
+
} & ButtonColorPropertyConfig;
|
137
|
+
type ButtonStateConfig = {
|
138
|
+
[state in ButtonState]: ButtonColorPropertyConfig;
|
139
|
+
};
|
140
|
+
type ButtonStateEffectConfig = {
|
141
|
+
[state in ButtonState]: {
|
142
|
+
[property in ButtonColorProperty]: ButtonColorEffectConfig;
|
143
|
+
};
|
144
|
+
};
|
124
145
|
interface ButtonConfig {
|
125
146
|
defaults: {
|
126
147
|
category: ButtonCategory;
|
@@ -140,19 +161,9 @@ interface ButtonConfig {
|
|
140
161
|
[category in ButtonCategory]: {
|
141
162
|
[variant in ButtonVariant2]: {
|
142
163
|
kind: ButtonKind;
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
borderRadius: BorderRadius;
|
147
|
-
backgroundColor: ButtonBackgroundColor;
|
148
|
-
color: ButtonForegroundColor;
|
149
|
-
borderColor: ButtonBorderColor;
|
150
|
-
} : {
|
151
|
-
backgroundColor: ButtonBackgroundColor;
|
152
|
-
color: ButtonForegroundColor;
|
153
|
-
borderColor: ButtonBorderColor;
|
154
|
-
};
|
155
|
-
};
|
164
|
+
base: ButtonBaseConfig;
|
165
|
+
effect: ButtonStateEffectConfig;
|
166
|
+
state: ButtonStateConfig;
|
156
167
|
};
|
157
168
|
};
|
158
169
|
};
|
@@ -422,4 +433,4 @@ interface UniversalTextInputProps {
|
|
422
433
|
spacingHorizontal?: SpacingAlias;
|
423
434
|
}
|
424
435
|
|
425
|
-
export { type DataAttribute as $, type
|
436
|
+
export { type DataAttribute as $, type AlwaysPalette as A, type BackgroundPaletteAlias as B, type ColorMode as C, type ButtonColorConfig as D, type ButtonColorEffect as E, type ForegroundPaletteAlias as F, type ButtonColorEffectConfig as G, type Hue as H, type ButtonColorProperty as I, type ButtonColorPropertyConfig as J, type ButtonConfig as K, type LinePaletteAlias as L, type ButtonKind as M, type ButtonSize as N, type ButtonSpecrtumColor as O, type ButtonState as P, type ButtonStateConfig as Q, type ButtonStateEffectConfig as R, type ScaleMode as S, type ButtonVariant as T, type UniversalTokensConfig as U, type ButtonVariant2 as V, type ColorModeConfig as W, type ColorModeForApp as X, type ConfigurableTextProperty as Y, type CorePalette as Z, type CustomSizingStyleProps as _, type ColorsConfig as a, type UniversalIconProps as a$, type Display as a0, type Flex as a1, type FlexAlignContent as a2, type FlexAlignItems as a3, type FlexAlignSelf as a4, type FlexBasis as a5, type FlexDirection as a6, type FlexGrow as a7, type FlexJustifyContent as a8, type FlexShrink as a9, type PlatformMode as aA, type Position as aB, type PropertyToPaletteAliasMap as aC, type RegionMode as aD, type ScaleConfig as aE, type ScaleModeConfig as aF, type ScaleModeForApp as aG, type SpacingAlias as aH, type SpacingConfig as aI, type SpacingStyleProps as aJ, type SpectrumColor as aK, type SpectrumConfig as aL, type StateStyleProps as aM, type StyleProps as aN, type TextStyleProps as aO, type TextTransform as aP, type TextTransformConfig as aQ, type TextVariant as aR, type TransitionDelay as aS, type TransitionDuration as aT, type TransitionTiming as aU, type TShirtSize as aV, type TShirtSizeCommon as aW, type UniversalAvatarProps as aX, type UniversalBoxProps as aY, type UniversalButtonProps as aZ, type UniversalIconButtonProps as a_, type FlexStyleProps as aa, type FlexWrap as ab, type FontFamilyConfig as ac, type FontFamilyGlobalAlias as ad, type FontSize as ae, type FontSizeConfig as af, type FontWeightDescriptive as ag, type ForegroundColor as ah, type ForegroundPalette as ai, type HighContrastMode as aj, type IconSize as ak, type IconSizeConfig as al, type ImageStyleProps as am, type LayoutStyleProps as an, type LetterSpacing as ao, type LineClampAlias as ap, type LineColor as aq, type LineHeight as ar, type LineHeightConfig as as, type LinePalette as at, type Modes as au, type Overflow as av, type Palette as aw, type PaletteConfig as ax, type PaletteType as ay, type PaletteValue as az, type HueStep as b, type UniversalPressableProps as b0, type UniversalTextInputProps as b1, type UniversalTextProps as b2, type CorePaletteAlias as c, type FontWeightConfig as d, type FontWeightNumeric as e, type FontFamilyGlobalConfig as f, type UniversalStackProps as g, type UniversalImageProps as h, alwaysPalette as i, type AlwaysPaletteAlias as j, type Animation as k, type AriaAttribute as l, type AvatarShape as m, type AvatarSize as n, type AvatarSizeConfig as o, type BackgroundColor as p, type BackgroundPalette as q, type BackgroundStyleProps as r, type BorderRadius as s, type BorderRadiusConfig as t, type BorderStyleProps as u, type BorderWidth as v, type BorderWidthConfig as w, type BoxShadowConfig as x, type ButtonBaseConfig as y, type ButtonCategory as z };
|
@@ -36,6 +36,11 @@ type AlwaysPaletteAlias = keyof AlwaysPalette;
|
|
36
36
|
type ForegroundColor = CorePaletteAlias | ForegroundPaletteAlias | AlwaysPaletteAlias;
|
37
37
|
type LineColor = CorePaletteAlias | LinePaletteAlias | AlwaysPaletteAlias;
|
38
38
|
type BackgroundColor = CorePaletteAlias | BackgroundPaletteAlias | AlwaysPaletteAlias;
|
39
|
+
type PropertyToPaletteAliasMap = {
|
40
|
+
backgroundColor: BackgroundColor;
|
41
|
+
borderColor: LineColor;
|
42
|
+
color: ForegroundColor;
|
43
|
+
};
|
39
44
|
type TextVariant = 'display1' | 'display2' | 'display3' | 'title1' | 'title2' | 'title3' | 'title4' | 'headline1' | 'body1' | 'label1' | 'label2' | 'caption1' | 'caption2' | 'legal1';
|
40
45
|
type FontFamilyGlobalAlias = 'icons' | 'sans' | 'sans-beta' | 'sans-condensed' | 'serif-text' | 'serif-display';
|
41
46
|
type FontFamilyGlobalConfig = Record<FontFamilyGlobalAlias, {
|
@@ -100,27 +105,43 @@ type ScaleConfig = {
|
|
100
105
|
textTransform: TextTransformConfig;
|
101
106
|
};
|
102
107
|
type ScaleModeConfig = Record<ScaleMode, ScaleConfig>;
|
103
|
-
type ButtonSpectrumColor = {
|
104
|
-
type: 'spectrum';
|
105
|
-
value: SpectrumColor;
|
106
|
-
};
|
107
108
|
type ButtonSize = TShirtSizeCommon;
|
108
109
|
type ButtonCategory = CorePaletteAlias;
|
109
110
|
type ButtonVariant2 = 'primary' | 'secondary' | 'tertiary';
|
110
|
-
type ButtonState = '
|
111
|
+
type ButtonState = 'hover' | 'pressed';
|
111
112
|
type ButtonKind = 'fill' | 'outline' | 'ghost';
|
112
|
-
type
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
113
|
+
type ButtonColorEffect = 'lighten' | 'darken' | 'none' | 'custom';
|
114
|
+
type ButtonColorProperty = 'backgroundColor' | 'borderColor' | 'color';
|
115
|
+
type ButtonColorEffectConfig = {
|
116
|
+
options: ButtonColorEffect[];
|
117
|
+
value: ButtonColorEffect;
|
118
|
+
};
|
119
|
+
type ButtonSpecrtumColor = {
|
120
|
+
type: 'spectrum';
|
121
|
+
value: SpectrumColor;
|
122
|
+
};
|
123
|
+
type ButtonPaletteColor<T> = {
|
121
124
|
type: 'palette';
|
122
|
-
value:
|
123
|
-
}
|
125
|
+
value: T;
|
126
|
+
};
|
127
|
+
type ButtonColorConfig<Property extends ButtonColorProperty> = ButtonPaletteColor<PropertyToPaletteAliasMap[Property]> | ButtonSpecrtumColor;
|
128
|
+
type ButtonColorPropertyConfig = {
|
129
|
+
backgroundColor: ButtonColorConfig<'backgroundColor'>;
|
130
|
+
borderColor: ButtonColorConfig<'borderColor'>;
|
131
|
+
color: ButtonColorConfig<'color'>;
|
132
|
+
};
|
133
|
+
type ButtonBaseConfig = {
|
134
|
+
borderWidth: BorderWidth;
|
135
|
+
borderRadius: BorderRadius;
|
136
|
+
} & ButtonColorPropertyConfig;
|
137
|
+
type ButtonStateConfig = {
|
138
|
+
[state in ButtonState]: ButtonColorPropertyConfig;
|
139
|
+
};
|
140
|
+
type ButtonStateEffectConfig = {
|
141
|
+
[state in ButtonState]: {
|
142
|
+
[property in ButtonColorProperty]: ButtonColorEffectConfig;
|
143
|
+
};
|
144
|
+
};
|
124
145
|
interface ButtonConfig {
|
125
146
|
defaults: {
|
126
147
|
category: ButtonCategory;
|
@@ -140,19 +161,9 @@ interface ButtonConfig {
|
|
140
161
|
[category in ButtonCategory]: {
|
141
162
|
[variant in ButtonVariant2]: {
|
142
163
|
kind: ButtonKind;
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
borderRadius: BorderRadius;
|
147
|
-
backgroundColor: ButtonBackgroundColor;
|
148
|
-
color: ButtonForegroundColor;
|
149
|
-
borderColor: ButtonBorderColor;
|
150
|
-
} : {
|
151
|
-
backgroundColor: ButtonBackgroundColor;
|
152
|
-
color: ButtonForegroundColor;
|
153
|
-
borderColor: ButtonBorderColor;
|
154
|
-
};
|
155
|
-
};
|
164
|
+
base: ButtonBaseConfig;
|
165
|
+
effect: ButtonStateEffectConfig;
|
166
|
+
state: ButtonStateConfig;
|
156
167
|
};
|
157
168
|
};
|
158
169
|
};
|
@@ -422,4 +433,4 @@ interface UniversalTextInputProps {
|
|
422
433
|
spacingHorizontal?: SpacingAlias;
|
423
434
|
}
|
424
435
|
|
425
|
-
export { type
|
436
|
+
export { type ButtonStateConfig as $, type AvatarSizeConfig as A, type ButtonConfig as B, type ColorModeForApp as C, type BackgroundPaletteAlias as D, type BackgroundStyleProps as E, type FontFamilyConfig as F, type BorderRadius as G, type BorderStyleProps as H, type IconSizeConfig as I, type BorderWidth as J, type BoxShadowConfig as K, type LineHeightConfig as L, type Modes as M, type ButtonBaseConfig as N, type ButtonCategory as O, type ButtonColorConfig as P, type ButtonColorEffect as Q, type ButtonColorEffectConfig as R, type ScaleModeForApp as S, type TextTransformConfig as T, type UniversalAvatarProps as U, type ButtonColorProperty as V, type ButtonColorPropertyConfig as W, type ButtonKind as X, type ButtonSize as Y, type ButtonSpecrtumColor as Z, type ButtonState as _, type UniversalButtonProps as a, type TransitionTiming as a$, type ButtonStateEffectConfig as a0, type ButtonVariant as a1, type ButtonVariant2 as a2, type ColorModeConfig as a3, type ColorsConfig as a4, type ConfigurableTextProperty as a5, type CorePalette as a6, type CorePaletteAlias as a7, type CustomSizingStyleProps as a8, type DataAttribute as a9, type LineClampAlias as aA, type LineColor as aB, type LineHeight as aC, type LinePalette as aD, type LinePaletteAlias as aE, type Overflow as aF, type Palette as aG, type PaletteConfig as aH, type PaletteType as aI, type PaletteValue as aJ, type PlatformMode as aK, type Position as aL, type PropertyToPaletteAliasMap as aM, type RegionMode as aN, type ScaleConfig as aO, type ScaleModeConfig as aP, type SpacingAlias as aQ, type SpacingConfig as aR, type SpacingStyleProps as aS, type SpectrumColor as aT, type SpectrumConfig as aU, type StateStyleProps as aV, type TextStyleProps as aW, type TextTransform as aX, type TextVariant as aY, type TransitionDelay as aZ, type TransitionDuration as a_, type Display as aa, type Flex as ab, type FlexAlignContent as ac, type FlexAlignItems as ad, type FlexAlignSelf as ae, type FlexBasis as af, type FlexDirection as ag, type FlexGrow as ah, type FlexJustifyContent as ai, type FlexShrink as aj, type FlexStyleProps as ak, type FlexWrap as al, type FontFamilyGlobalAlias as am, type FontSize as an, type FontWeightDescriptive as ao, type FontWeightNumeric as ap, type ForegroundColor as aq, type ForegroundPalette as ar, type ForegroundPaletteAlias as as, type HighContrastMode as at, type Hue as au, type HueStep as av, type IconSize as aw, type ImageStyleProps as ax, type LayoutStyleProps as ay, type LetterSpacing as az, type UniversalPressableProps as b, type TShirtSize as b0, type TShirtSizeCommon as b1, type UniversalTextInputProps as b2, type UniversalIconButtonProps as c, type UniversalImageProps as d, type UniversalBoxProps as e, type UniversalStackProps as f, type UniversalTextProps as g, type UniversalIconProps as h, type ColorMode as i, type ScaleMode as j, type UniversalTokensConfig as k, type StyleProps as l, type BorderRadiusConfig as m, type BorderWidthConfig as n, type FontSizeConfig as o, type FontWeightConfig as p, type FontFamilyGlobalConfig as q, alwaysPalette as r, type AlwaysPalette as s, type AlwaysPaletteAlias as t, type Animation as u, type AriaAttribute as v, type AvatarShape as w, type AvatarSize as x, type BackgroundColor as y, type BackgroundPalette as z };
|