@xsolla/xui-core 0.160.2 → 0.161.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.mts +1017 -201
- package/index.d.ts +1017 -201
- package/index.js +211 -90
- package/index.js.map +1 -1
- package/index.mjs +208 -90
- package/index.mjs.map +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1245,6 +1245,129 @@ var radius = {
|
|
|
1245
1245
|
avatarLarge: 8,
|
|
1246
1246
|
avatarCircle: 999
|
|
1247
1247
|
};
|
|
1248
|
+
var radiusScale = {
|
|
1249
|
+
"25": 2,
|
|
1250
|
+
"50": 4,
|
|
1251
|
+
"75": 6,
|
|
1252
|
+
"100": 8,
|
|
1253
|
+
"150": 12,
|
|
1254
|
+
"200": 16,
|
|
1255
|
+
"250": 20,
|
|
1256
|
+
"300": 24,
|
|
1257
|
+
"350": 28,
|
|
1258
|
+
"400": 32,
|
|
1259
|
+
"999": 999
|
|
1260
|
+
};
|
|
1261
|
+
var stroke = {
|
|
1262
|
+
"1": 1,
|
|
1263
|
+
"2": 2,
|
|
1264
|
+
"3": 3
|
|
1265
|
+
};
|
|
1266
|
+
|
|
1267
|
+
// src/tokens/shape.ts
|
|
1268
|
+
var shape = {
|
|
1269
|
+
button: {
|
|
1270
|
+
xl: { borderRadius: radiusScale["100"], borderWidth: stroke["1"] },
|
|
1271
|
+
lg: { borderRadius: radiusScale["100"], borderWidth: stroke["1"] },
|
|
1272
|
+
md: { borderRadius: radiusScale["75"], borderWidth: stroke["1"] },
|
|
1273
|
+
sm: { borderRadius: radiusScale["50"], borderWidth: stroke["1"] },
|
|
1274
|
+
xs: { borderRadius: radiusScale["50"], borderWidth: stroke["1"] }
|
|
1275
|
+
},
|
|
1276
|
+
checkbox: {
|
|
1277
|
+
xl: { borderRadius: radiusScale["50"], borderWidth: stroke["1"] },
|
|
1278
|
+
lg: { borderRadius: radiusScale["50"], borderWidth: stroke["1"] },
|
|
1279
|
+
md: { borderRadius: radiusScale["50"], borderWidth: stroke["1"] },
|
|
1280
|
+
sm: { borderRadius: radiusScale["50"], borderWidth: stroke["1"] }
|
|
1281
|
+
},
|
|
1282
|
+
input: {
|
|
1283
|
+
xl: { borderRadius: radiusScale["100"], borderWidth: stroke["1"] },
|
|
1284
|
+
lg: { borderRadius: radiusScale["100"], borderWidth: stroke["1"] },
|
|
1285
|
+
md: { borderRadius: radiusScale["100"], borderWidth: stroke["1"] },
|
|
1286
|
+
sm: { borderRadius: radiusScale["50"], borderWidth: stroke["1"] },
|
|
1287
|
+
xs: { borderRadius: radiusScale["50"], borderWidth: stroke["1"] }
|
|
1288
|
+
},
|
|
1289
|
+
segmented: {
|
|
1290
|
+
xl: { borderRadius: radiusScale["100"], borderWidth: stroke["1"] },
|
|
1291
|
+
lg: { borderRadius: radiusScale["100"], borderWidth: stroke["1"] },
|
|
1292
|
+
md: { borderRadius: radiusScale["100"], borderWidth: stroke["1"] },
|
|
1293
|
+
sm: { borderRadius: radiusScale["50"], borderWidth: stroke["1"] }
|
|
1294
|
+
},
|
|
1295
|
+
segmentedItem: {
|
|
1296
|
+
xl: { borderRadius: radiusScale["50"], borderWidth: stroke["1"] },
|
|
1297
|
+
lg: { borderRadius: radiusScale["50"], borderWidth: stroke["1"] },
|
|
1298
|
+
md: { borderRadius: radiusScale["50"], borderWidth: stroke["1"] },
|
|
1299
|
+
sm: { borderRadius: radiusScale["25"], borderWidth: stroke["1"] }
|
|
1300
|
+
},
|
|
1301
|
+
switch: {
|
|
1302
|
+
xl: { borderRadius: radiusScale["50"], borderWidth: stroke["1"] },
|
|
1303
|
+
lg: { borderRadius: radiusScale["50"], borderWidth: stroke["1"] },
|
|
1304
|
+
md: { borderRadius: radiusScale["50"], borderWidth: stroke["1"] },
|
|
1305
|
+
sm: { borderRadius: radiusScale["50"], borderWidth: stroke["1"] }
|
|
1306
|
+
},
|
|
1307
|
+
knob: {
|
|
1308
|
+
xl: { borderRadius: radiusScale["25"] },
|
|
1309
|
+
lg: { borderRadius: radiusScale["25"] },
|
|
1310
|
+
md: { borderRadius: radiusScale["25"] },
|
|
1311
|
+
sm: { borderRadius: radiusScale["25"] }
|
|
1312
|
+
},
|
|
1313
|
+
tabItem: {
|
|
1314
|
+
xl: { borderRadius: radiusScale["100"] },
|
|
1315
|
+
lg: { borderRadius: radiusScale["100"] },
|
|
1316
|
+
md: { borderRadius: radiusScale["50"] },
|
|
1317
|
+
sm: { borderRadius: radiusScale["50"] }
|
|
1318
|
+
},
|
|
1319
|
+
tag: {
|
|
1320
|
+
xl: { borderRadius: radiusScale["100"], borderWidth: stroke["1"] },
|
|
1321
|
+
lg: { borderRadius: radiusScale["100"], borderWidth: stroke["1"] },
|
|
1322
|
+
md: { borderRadius: radiusScale["75"], borderWidth: stroke["1"] },
|
|
1323
|
+
sm: { borderRadius: radiusScale["50"], borderWidth: stroke["1"] },
|
|
1324
|
+
xs: { borderRadius: radiusScale["50"], borderWidth: stroke["1"] },
|
|
1325
|
+
label: { borderRadius: 0 }
|
|
1326
|
+
},
|
|
1327
|
+
tooltip: {
|
|
1328
|
+
xl: { borderRadius: radiusScale["100"] },
|
|
1329
|
+
lg: { borderRadius: radiusScale["100"] },
|
|
1330
|
+
md: { borderRadius: radiusScale["100"] },
|
|
1331
|
+
sm: { borderRadius: radiusScale["50"] }
|
|
1332
|
+
},
|
|
1333
|
+
radio: {
|
|
1334
|
+
xl: { borderRadius: radiusScale["999"], borderWidth: stroke["1"] },
|
|
1335
|
+
lg: { borderRadius: radiusScale["999"], borderWidth: stroke["1"] },
|
|
1336
|
+
md: { borderRadius: radiusScale["999"], borderWidth: stroke["1"] },
|
|
1337
|
+
sm: { borderRadius: radiusScale["999"], borderWidth: stroke["1"] }
|
|
1338
|
+
},
|
|
1339
|
+
contextMenu: {
|
|
1340
|
+
xl: { borderRadius: radiusScale["100"] },
|
|
1341
|
+
lg: { borderRadius: radiusScale["100"] },
|
|
1342
|
+
md: { borderRadius: radiusScale["100"] },
|
|
1343
|
+
sm: { borderRadius: radiusScale["50"] },
|
|
1344
|
+
xs: { borderRadius: radiusScale["50"] }
|
|
1345
|
+
},
|
|
1346
|
+
avatar: {
|
|
1347
|
+
xl: { borderRadius: radiusScale["100"], borderWidth: stroke["2"] },
|
|
1348
|
+
lg: { borderRadius: radiusScale["75"], borderWidth: stroke["2"] },
|
|
1349
|
+
md: { borderRadius: radiusScale["75"], borderWidth: stroke["2"] },
|
|
1350
|
+
sm: { borderRadius: radiusScale["50"], borderWidth: stroke["2"] },
|
|
1351
|
+
xs: { borderRadius: radiusScale["50"], borderWidth: stroke["2"] },
|
|
1352
|
+
xxs: { borderRadius: radiusScale["25"], borderWidth: stroke["2"] }
|
|
1353
|
+
},
|
|
1354
|
+
modal: {
|
|
1355
|
+
borderRadius: radiusScale["100"]
|
|
1356
|
+
},
|
|
1357
|
+
toast: {
|
|
1358
|
+
borderRadius: radiusScale["50"]
|
|
1359
|
+
},
|
|
1360
|
+
toggleButtonGroup: {
|
|
1361
|
+
xl: { borderRadius: radiusScale["100"], borderWidth: stroke["1"] },
|
|
1362
|
+
lg: { borderRadius: radiusScale["100"], borderWidth: stroke["1"] },
|
|
1363
|
+
md: { borderRadius: radiusScale["75"], borderWidth: stroke["1"] },
|
|
1364
|
+
sm: { borderRadius: radiusScale["50"], borderWidth: stroke["1"] },
|
|
1365
|
+
xs: { borderRadius: radiusScale["50"], borderWidth: stroke["1"] }
|
|
1366
|
+
},
|
|
1367
|
+
tagLabel: {
|
|
1368
|
+
borderRadius: 0
|
|
1369
|
+
}
|
|
1370
|
+
};
|
|
1248
1371
|
|
|
1249
1372
|
// src/tokens/shadows.ts
|
|
1250
1373
|
var shadow = {
|
|
@@ -2104,7 +2227,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2104
2227
|
return {
|
|
2105
2228
|
colors: colors[mode],
|
|
2106
2229
|
spacing,
|
|
2107
|
-
|
|
2230
|
+
shape,
|
|
2108
2231
|
shadow,
|
|
2109
2232
|
fonts: contextFonts,
|
|
2110
2233
|
typography: {
|
|
@@ -2127,7 +2250,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2127
2250
|
iconContainerSize: 64,
|
|
2128
2251
|
iconPadding: 20,
|
|
2129
2252
|
loadingPadding: 40,
|
|
2130
|
-
borderRadius:
|
|
2253
|
+
borderRadius: shape.button.xl.borderRadius,
|
|
2131
2254
|
labelIconSize: 18,
|
|
2132
2255
|
labelIconGap: 6
|
|
2133
2256
|
},
|
|
@@ -2141,7 +2264,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2141
2264
|
iconContainerSize: 56,
|
|
2142
2265
|
iconPadding: 20,
|
|
2143
2266
|
loadingPadding: 36,
|
|
2144
|
-
borderRadius:
|
|
2267
|
+
borderRadius: shape.button.lg.borderRadius,
|
|
2145
2268
|
labelIconSize: 16,
|
|
2146
2269
|
labelIconGap: 6
|
|
2147
2270
|
},
|
|
@@ -2155,7 +2278,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2155
2278
|
iconContainerSize: 48,
|
|
2156
2279
|
iconPadding: 20,
|
|
2157
2280
|
loadingPadding: 32,
|
|
2158
|
-
borderRadius:
|
|
2281
|
+
borderRadius: shape.button.md.borderRadius,
|
|
2159
2282
|
labelIconSize: 14,
|
|
2160
2283
|
labelIconGap: 4
|
|
2161
2284
|
},
|
|
@@ -2169,7 +2292,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2169
2292
|
iconContainerSize: 40,
|
|
2170
2293
|
iconPadding: 20,
|
|
2171
2294
|
loadingPadding: 28,
|
|
2172
|
-
borderRadius:
|
|
2295
|
+
borderRadius: shape.button.sm.borderRadius,
|
|
2173
2296
|
labelIconSize: 12,
|
|
2174
2297
|
labelIconGap: 4
|
|
2175
2298
|
},
|
|
@@ -2183,7 +2306,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2183
2306
|
iconContainerSize: 32,
|
|
2184
2307
|
iconPadding: 20,
|
|
2185
2308
|
loadingPadding: 28,
|
|
2186
|
-
borderRadius:
|
|
2309
|
+
borderRadius: shape.button.xs.borderRadius,
|
|
2187
2310
|
labelIconSize: 10,
|
|
2188
2311
|
labelIconGap: 4
|
|
2189
2312
|
}
|
|
@@ -2198,7 +2321,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2198
2321
|
fontSize: 16,
|
|
2199
2322
|
spinnerSize: 28,
|
|
2200
2323
|
iconSize: 20,
|
|
2201
|
-
borderRadius:
|
|
2324
|
+
borderRadius: radiusScale["50"]
|
|
2202
2325
|
},
|
|
2203
2326
|
lg: {
|
|
2204
2327
|
height: 32,
|
|
@@ -2206,7 +2329,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2206
2329
|
fontSize: 14,
|
|
2207
2330
|
spinnerSize: 24,
|
|
2208
2331
|
iconSize: 18,
|
|
2209
|
-
borderRadius:
|
|
2332
|
+
borderRadius: radiusScale["50"]
|
|
2210
2333
|
},
|
|
2211
2334
|
md: {
|
|
2212
2335
|
height: 28,
|
|
@@ -2214,7 +2337,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2214
2337
|
fontSize: 14,
|
|
2215
2338
|
spinnerSize: 24,
|
|
2216
2339
|
iconSize: 16,
|
|
2217
|
-
borderRadius:
|
|
2340
|
+
borderRadius: radiusScale["25"]
|
|
2218
2341
|
},
|
|
2219
2342
|
sm: {
|
|
2220
2343
|
height: 22,
|
|
@@ -2222,7 +2345,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2222
2345
|
fontSize: 12,
|
|
2223
2346
|
spinnerSize: 16,
|
|
2224
2347
|
iconSize: 14,
|
|
2225
|
-
borderRadius:
|
|
2348
|
+
borderRadius: radiusScale["25"]
|
|
2226
2349
|
},
|
|
2227
2350
|
xs: {
|
|
2228
2351
|
height: 20,
|
|
@@ -2230,7 +2353,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2230
2353
|
fontSize: 12,
|
|
2231
2354
|
spinnerSize: 16,
|
|
2232
2355
|
iconSize: 12,
|
|
2233
|
-
borderRadius:
|
|
2356
|
+
borderRadius: radiusScale["25"]
|
|
2234
2357
|
}
|
|
2235
2358
|
};
|
|
2236
2359
|
return configs[size];
|
|
@@ -2243,7 +2366,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2243
2366
|
descriptionFontSize: 16,
|
|
2244
2367
|
labelGap: 12,
|
|
2245
2368
|
textGap: 4,
|
|
2246
|
-
borderRadius:
|
|
2369
|
+
borderRadius: shape.checkbox.xl.borderRadius
|
|
2247
2370
|
},
|
|
2248
2371
|
lg: {
|
|
2249
2372
|
size: 20,
|
|
@@ -2251,7 +2374,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2251
2374
|
descriptionFontSize: 14,
|
|
2252
2375
|
labelGap: 10,
|
|
2253
2376
|
textGap: 2,
|
|
2254
|
-
borderRadius:
|
|
2377
|
+
borderRadius: shape.checkbox.lg.borderRadius
|
|
2255
2378
|
},
|
|
2256
2379
|
md: {
|
|
2257
2380
|
size: 18,
|
|
@@ -2259,7 +2382,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2259
2382
|
descriptionFontSize: 14,
|
|
2260
2383
|
labelGap: 8,
|
|
2261
2384
|
textGap: 2,
|
|
2262
|
-
borderRadius:
|
|
2385
|
+
borderRadius: shape.checkbox.md.borderRadius
|
|
2263
2386
|
},
|
|
2264
2387
|
sm: {
|
|
2265
2388
|
size: 16,
|
|
@@ -2267,7 +2390,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2267
2390
|
descriptionFontSize: 12,
|
|
2268
2391
|
labelGap: 8,
|
|
2269
2392
|
textGap: 0,
|
|
2270
|
-
borderRadius:
|
|
2393
|
+
borderRadius: shape.checkbox.sm.borderRadius
|
|
2271
2394
|
}
|
|
2272
2395
|
};
|
|
2273
2396
|
return configs[size];
|
|
@@ -2329,7 +2452,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2329
2452
|
paddingHorizontal: 12,
|
|
2330
2453
|
fontSize: 20,
|
|
2331
2454
|
iconSize: 18,
|
|
2332
|
-
radius:
|
|
2455
|
+
radius: shape.input.xl.borderRadius,
|
|
2333
2456
|
borderWidth: 2,
|
|
2334
2457
|
fieldGap: 8,
|
|
2335
2458
|
lineHeight: 20
|
|
@@ -2340,7 +2463,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2340
2463
|
paddingHorizontal: 12,
|
|
2341
2464
|
fontSize: 18,
|
|
2342
2465
|
iconSize: 18,
|
|
2343
|
-
radius:
|
|
2466
|
+
radius: shape.input.lg.borderRadius,
|
|
2344
2467
|
borderWidth: 2,
|
|
2345
2468
|
fieldGap: 6,
|
|
2346
2469
|
lineHeight: 18
|
|
@@ -2351,7 +2474,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2351
2474
|
paddingHorizontal: 12,
|
|
2352
2475
|
fontSize: 16,
|
|
2353
2476
|
iconSize: 18,
|
|
2354
|
-
radius:
|
|
2477
|
+
radius: shape.input.md.borderRadius,
|
|
2355
2478
|
borderWidth: 1,
|
|
2356
2479
|
fieldGap: 4,
|
|
2357
2480
|
lineHeight: 16
|
|
@@ -2362,7 +2485,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2362
2485
|
paddingHorizontal: 10,
|
|
2363
2486
|
fontSize: 14,
|
|
2364
2487
|
iconSize: 18,
|
|
2365
|
-
radius:
|
|
2488
|
+
radius: shape.input.sm.borderRadius,
|
|
2366
2489
|
borderWidth: 1,
|
|
2367
2490
|
fieldGap: 4,
|
|
2368
2491
|
lineHeight: 14
|
|
@@ -2373,7 +2496,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2373
2496
|
paddingHorizontal: 10,
|
|
2374
2497
|
fontSize: 12,
|
|
2375
2498
|
iconSize: 18,
|
|
2376
|
-
radius:
|
|
2499
|
+
radius: shape.input.xs.borderRadius,
|
|
2377
2500
|
borderWidth: 1,
|
|
2378
2501
|
fieldGap: 4,
|
|
2379
2502
|
lineHeight: 10
|
|
@@ -2395,7 +2518,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2395
2518
|
errorFontSize: 16,
|
|
2396
2519
|
errorLineHeight: 18,
|
|
2397
2520
|
errorGap: 8,
|
|
2398
|
-
radius:
|
|
2521
|
+
radius: shape.input.xl.borderRadius,
|
|
2399
2522
|
borderWidth: 1
|
|
2400
2523
|
},
|
|
2401
2524
|
lg: {
|
|
@@ -2410,7 +2533,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2410
2533
|
errorFontSize: 16,
|
|
2411
2534
|
errorLineHeight: 18,
|
|
2412
2535
|
errorGap: 8,
|
|
2413
|
-
radius:
|
|
2536
|
+
radius: shape.input.lg.borderRadius,
|
|
2414
2537
|
borderWidth: 1
|
|
2415
2538
|
},
|
|
2416
2539
|
md: {
|
|
@@ -2425,7 +2548,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2425
2548
|
errorFontSize: 14,
|
|
2426
2549
|
errorLineHeight: 16,
|
|
2427
2550
|
errorGap: 6,
|
|
2428
|
-
radius:
|
|
2551
|
+
radius: shape.input.md.borderRadius,
|
|
2429
2552
|
borderWidth: 1
|
|
2430
2553
|
},
|
|
2431
2554
|
sm: {
|
|
@@ -2440,7 +2563,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2440
2563
|
errorFontSize: 12,
|
|
2441
2564
|
errorLineHeight: 14,
|
|
2442
2565
|
errorGap: 6,
|
|
2443
|
-
radius:
|
|
2566
|
+
radius: shape.input.sm.borderRadius,
|
|
2444
2567
|
borderWidth: 1
|
|
2445
2568
|
},
|
|
2446
2569
|
xs: {
|
|
@@ -2455,7 +2578,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2455
2578
|
errorFontSize: 11,
|
|
2456
2579
|
errorLineHeight: 13,
|
|
2457
2580
|
errorGap: 4,
|
|
2458
|
-
radius:
|
|
2581
|
+
radius: shape.input.xs.borderRadius,
|
|
2459
2582
|
borderWidth: 1
|
|
2460
2583
|
}
|
|
2461
2584
|
};
|
|
@@ -2550,7 +2673,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2550
2673
|
size: 64,
|
|
2551
2674
|
gap: 10,
|
|
2552
2675
|
fontSize: 20,
|
|
2553
|
-
radius:
|
|
2676
|
+
radius: shape.input.xl.borderRadius,
|
|
2554
2677
|
borderWidth: 1,
|
|
2555
2678
|
fieldGap: 8
|
|
2556
2679
|
},
|
|
@@ -2558,7 +2681,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2558
2681
|
size: 56,
|
|
2559
2682
|
gap: 8,
|
|
2560
2683
|
fontSize: 18,
|
|
2561
|
-
radius:
|
|
2684
|
+
radius: shape.input.lg.borderRadius,
|
|
2562
2685
|
borderWidth: 1,
|
|
2563
2686
|
fieldGap: 6
|
|
2564
2687
|
},
|
|
@@ -2566,7 +2689,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2566
2689
|
size: 48,
|
|
2567
2690
|
gap: 6,
|
|
2568
2691
|
fontSize: 16,
|
|
2569
|
-
radius:
|
|
2692
|
+
radius: shape.input.md.borderRadius,
|
|
2570
2693
|
borderWidth: 1,
|
|
2571
2694
|
fieldGap: 4
|
|
2572
2695
|
},
|
|
@@ -2574,7 +2697,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2574
2697
|
size: 40,
|
|
2575
2698
|
gap: 4,
|
|
2576
2699
|
fontSize: 14,
|
|
2577
|
-
radius:
|
|
2700
|
+
radius: shape.input.sm.borderRadius,
|
|
2578
2701
|
borderWidth: 1,
|
|
2579
2702
|
fieldGap: 4
|
|
2580
2703
|
},
|
|
@@ -2582,7 +2705,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2582
2705
|
size: 32,
|
|
2583
2706
|
gap: 4,
|
|
2584
2707
|
fontSize: 12,
|
|
2585
|
-
radius:
|
|
2708
|
+
radius: shape.input.xs.borderRadius,
|
|
2586
2709
|
borderWidth: 1,
|
|
2587
2710
|
fieldGap: 4
|
|
2588
2711
|
}
|
|
@@ -2596,35 +2719,35 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2596
2719
|
padding: spacing.xl,
|
|
2597
2720
|
fontSize: 20,
|
|
2598
2721
|
iconSize: 32,
|
|
2599
|
-
radius:
|
|
2722
|
+
radius: shape.input.xl.borderRadius
|
|
2600
2723
|
},
|
|
2601
2724
|
lg: {
|
|
2602
2725
|
height: 128,
|
|
2603
2726
|
padding: spacing.l,
|
|
2604
2727
|
fontSize: 18,
|
|
2605
2728
|
iconSize: 28,
|
|
2606
|
-
radius:
|
|
2729
|
+
radius: shape.input.lg.borderRadius
|
|
2607
2730
|
},
|
|
2608
2731
|
md: {
|
|
2609
2732
|
height: 112,
|
|
2610
2733
|
padding: spacing.m,
|
|
2611
2734
|
fontSize: 16,
|
|
2612
2735
|
iconSize: 24,
|
|
2613
|
-
radius:
|
|
2736
|
+
radius: shape.input.md.borderRadius
|
|
2614
2737
|
},
|
|
2615
2738
|
sm: {
|
|
2616
2739
|
height: 96,
|
|
2617
2740
|
padding: spacing.s,
|
|
2618
2741
|
fontSize: 14,
|
|
2619
2742
|
iconSize: 20,
|
|
2620
|
-
radius:
|
|
2743
|
+
radius: shape.input.sm.borderRadius
|
|
2621
2744
|
},
|
|
2622
2745
|
xs: {
|
|
2623
2746
|
height: 80,
|
|
2624
2747
|
padding: spacing.xs,
|
|
2625
2748
|
fontSize: 12,
|
|
2626
2749
|
iconSize: 16,
|
|
2627
|
-
radius:
|
|
2750
|
+
radius: shape.input.xs.borderRadius
|
|
2628
2751
|
}
|
|
2629
2752
|
};
|
|
2630
2753
|
return configs[size];
|
|
@@ -2641,8 +2764,8 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2641
2764
|
descriptionLineHeight: 20,
|
|
2642
2765
|
labelGap: 12,
|
|
2643
2766
|
textGap: 4,
|
|
2644
|
-
frameBorderRadius:
|
|
2645
|
-
knobBorderRadius:
|
|
2767
|
+
frameBorderRadius: shape.switch.xl.borderRadius,
|
|
2768
|
+
knobBorderRadius: shape.knob.xl.borderRadius
|
|
2646
2769
|
},
|
|
2647
2770
|
lg: {
|
|
2648
2771
|
width: 36,
|
|
@@ -2654,8 +2777,8 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2654
2777
|
descriptionLineHeight: 18,
|
|
2655
2778
|
labelGap: 10,
|
|
2656
2779
|
textGap: 2,
|
|
2657
|
-
frameBorderRadius:
|
|
2658
|
-
knobBorderRadius:
|
|
2780
|
+
frameBorderRadius: shape.switch.lg.borderRadius,
|
|
2781
|
+
knobBorderRadius: shape.knob.lg.borderRadius
|
|
2659
2782
|
},
|
|
2660
2783
|
md: {
|
|
2661
2784
|
width: 32,
|
|
@@ -2667,8 +2790,8 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2667
2790
|
descriptionLineHeight: 16,
|
|
2668
2791
|
labelGap: 8,
|
|
2669
2792
|
textGap: 2,
|
|
2670
|
-
frameBorderRadius:
|
|
2671
|
-
knobBorderRadius:
|
|
2793
|
+
frameBorderRadius: shape.switch.md.borderRadius,
|
|
2794
|
+
knobBorderRadius: shape.knob.md.borderRadius
|
|
2672
2795
|
},
|
|
2673
2796
|
sm: {
|
|
2674
2797
|
width: 28,
|
|
@@ -2680,8 +2803,8 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2680
2803
|
descriptionLineHeight: 14,
|
|
2681
2804
|
labelGap: 8,
|
|
2682
2805
|
textGap: 0,
|
|
2683
|
-
frameBorderRadius:
|
|
2684
|
-
knobBorderRadius:
|
|
2806
|
+
frameBorderRadius: shape.switch.sm.borderRadius,
|
|
2807
|
+
knobBorderRadius: shape.knob.sm.borderRadius
|
|
2685
2808
|
}
|
|
2686
2809
|
};
|
|
2687
2810
|
return configs[size];
|
|
@@ -2695,8 +2818,8 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2695
2818
|
badgeSize: 20,
|
|
2696
2819
|
badgeOffsetCircle: { right: -4, top: -4 },
|
|
2697
2820
|
badgeOffsetSquare: { right: -8, top: -8 },
|
|
2698
|
-
borderRadiusSquare:
|
|
2699
|
-
borderRadiusCircle:
|
|
2821
|
+
borderRadiusSquare: shape.avatar.xl.borderRadius,
|
|
2822
|
+
borderRadiusCircle: radiusScale["999"]
|
|
2700
2823
|
},
|
|
2701
2824
|
lg: {
|
|
2702
2825
|
size: 56,
|
|
@@ -2705,8 +2828,8 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2705
2828
|
badgeSize: 20,
|
|
2706
2829
|
badgeOffsetCircle: { right: -4, top: -4 },
|
|
2707
2830
|
badgeOffsetSquare: { right: -8, top: -8 },
|
|
2708
|
-
borderRadiusSquare:
|
|
2709
|
-
borderRadiusCircle:
|
|
2831
|
+
borderRadiusSquare: shape.avatar.lg.borderRadius,
|
|
2832
|
+
borderRadiusCircle: radiusScale["999"]
|
|
2710
2833
|
},
|
|
2711
2834
|
md: {
|
|
2712
2835
|
size: 48,
|
|
@@ -2715,8 +2838,8 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2715
2838
|
badgeSize: 20,
|
|
2716
2839
|
badgeOffsetCircle: { right: -5, top: -5 },
|
|
2717
2840
|
badgeOffsetSquare: { right: -8, top: -8 },
|
|
2718
|
-
borderRadiusSquare:
|
|
2719
|
-
borderRadiusCircle:
|
|
2841
|
+
borderRadiusSquare: shape.avatar.md.borderRadius,
|
|
2842
|
+
borderRadiusCircle: radiusScale["999"]
|
|
2720
2843
|
},
|
|
2721
2844
|
sm: {
|
|
2722
2845
|
size: 40,
|
|
@@ -2725,8 +2848,8 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2725
2848
|
badgeSize: 20,
|
|
2726
2849
|
badgeOffsetCircle: { right: -6, top: -6 },
|
|
2727
2850
|
badgeOffsetSquare: { right: -8, top: -8 },
|
|
2728
|
-
borderRadiusSquare:
|
|
2729
|
-
borderRadiusCircle:
|
|
2851
|
+
borderRadiusSquare: shape.avatar.sm.borderRadius,
|
|
2852
|
+
borderRadiusCircle: radiusScale["999"]
|
|
2730
2853
|
},
|
|
2731
2854
|
xs: {
|
|
2732
2855
|
size: 32,
|
|
@@ -2735,8 +2858,8 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2735
2858
|
badgeSize: 8,
|
|
2736
2859
|
badgeOffsetCircle: { right: -1, top: -1 },
|
|
2737
2860
|
badgeOffsetSquare: { right: -3, top: -3 },
|
|
2738
|
-
borderRadiusSquare:
|
|
2739
|
-
borderRadiusCircle:
|
|
2861
|
+
borderRadiusSquare: shape.avatar.xs.borderRadius,
|
|
2862
|
+
borderRadiusCircle: radiusScale["999"]
|
|
2740
2863
|
},
|
|
2741
2864
|
xxs: {
|
|
2742
2865
|
size: 24,
|
|
@@ -2745,8 +2868,8 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2745
2868
|
badgeSize: 6,
|
|
2746
2869
|
badgeOffsetCircle: { right: -1, top: -1 },
|
|
2747
2870
|
badgeOffsetSquare: { right: -2, top: -2 },
|
|
2748
|
-
borderRadiusSquare:
|
|
2749
|
-
borderRadiusCircle:
|
|
2871
|
+
borderRadiusSquare: shape.avatar.xxs.borderRadius,
|
|
2872
|
+
borderRadiusCircle: radiusScale["999"]
|
|
2750
2873
|
}
|
|
2751
2874
|
};
|
|
2752
2875
|
return configs[size];
|
|
@@ -2760,7 +2883,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2760
2883
|
lineHeight: 22,
|
|
2761
2884
|
gap: 6,
|
|
2762
2885
|
iconSize: 22,
|
|
2763
|
-
radius:
|
|
2886
|
+
radius: shape.tag.xl.borderRadius,
|
|
2764
2887
|
borderWidth: 1
|
|
2765
2888
|
},
|
|
2766
2889
|
lg: {
|
|
@@ -2770,7 +2893,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2770
2893
|
lineHeight: 20,
|
|
2771
2894
|
gap: 6,
|
|
2772
2895
|
iconSize: 20,
|
|
2773
|
-
radius:
|
|
2896
|
+
radius: shape.tag.lg.borderRadius,
|
|
2774
2897
|
borderWidth: 1
|
|
2775
2898
|
},
|
|
2776
2899
|
md: {
|
|
@@ -2780,7 +2903,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2780
2903
|
lineHeight: 18,
|
|
2781
2904
|
gap: 4,
|
|
2782
2905
|
iconSize: 18,
|
|
2783
|
-
radius:
|
|
2906
|
+
radius: shape.tag.md.borderRadius,
|
|
2784
2907
|
borderWidth: 1
|
|
2785
2908
|
},
|
|
2786
2909
|
sm: {
|
|
@@ -2790,7 +2913,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2790
2913
|
lineHeight: 16,
|
|
2791
2914
|
gap: 4,
|
|
2792
2915
|
iconSize: 16,
|
|
2793
|
-
radius:
|
|
2916
|
+
radius: shape.tag.sm.borderRadius,
|
|
2794
2917
|
borderWidth: 1
|
|
2795
2918
|
},
|
|
2796
2919
|
xs: {
|
|
@@ -2800,7 +2923,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2800
2923
|
lineHeight: 14,
|
|
2801
2924
|
gap: 4,
|
|
2802
2925
|
iconSize: 14,
|
|
2803
|
-
radius:
|
|
2926
|
+
radius: shape.tag.xs.borderRadius,
|
|
2804
2927
|
borderWidth: 1
|
|
2805
2928
|
}
|
|
2806
2929
|
};
|
|
@@ -2866,11 +2989,11 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2866
2989
|
xl: {
|
|
2867
2990
|
height: 64,
|
|
2868
2991
|
containerPadding: 4,
|
|
2869
|
-
containerRadius:
|
|
2992
|
+
containerRadius: shape.segmented.xl.borderRadius,
|
|
2870
2993
|
itemHeight: 56,
|
|
2871
2994
|
itemPaddingHorizontal: 20,
|
|
2872
2995
|
itemPaddingVertical: 10,
|
|
2873
|
-
itemRadius:
|
|
2996
|
+
itemRadius: shape.segmentedItem.xl.borderRadius,
|
|
2874
2997
|
fontSize: 20,
|
|
2875
2998
|
lineHeight: 22,
|
|
2876
2999
|
iconSize: 24,
|
|
@@ -2879,11 +3002,11 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2879
3002
|
lg: {
|
|
2880
3003
|
height: 56,
|
|
2881
3004
|
containerPadding: 4,
|
|
2882
|
-
containerRadius:
|
|
3005
|
+
containerRadius: shape.segmented.lg.borderRadius,
|
|
2883
3006
|
itemHeight: 48,
|
|
2884
3007
|
itemPaddingHorizontal: 20,
|
|
2885
3008
|
itemPaddingVertical: 10,
|
|
2886
|
-
itemRadius:
|
|
3009
|
+
itemRadius: shape.segmentedItem.lg.borderRadius,
|
|
2887
3010
|
fontSize: 18,
|
|
2888
3011
|
lineHeight: 20,
|
|
2889
3012
|
iconSize: 24,
|
|
@@ -2892,11 +3015,11 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2892
3015
|
md: {
|
|
2893
3016
|
height: 48,
|
|
2894
3017
|
containerPadding: 4,
|
|
2895
|
-
containerRadius:
|
|
3018
|
+
containerRadius: shape.segmented.md.borderRadius,
|
|
2896
3019
|
itemHeight: 40,
|
|
2897
3020
|
itemPaddingHorizontal: 16,
|
|
2898
3021
|
itemPaddingVertical: 8,
|
|
2899
|
-
itemRadius:
|
|
3022
|
+
itemRadius: shape.segmentedItem.md.borderRadius,
|
|
2900
3023
|
fontSize: 16,
|
|
2901
3024
|
lineHeight: 18,
|
|
2902
3025
|
iconSize: 24,
|
|
@@ -2905,11 +3028,11 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2905
3028
|
sm: {
|
|
2906
3029
|
height: 40,
|
|
2907
3030
|
containerPadding: 4,
|
|
2908
|
-
containerRadius:
|
|
3031
|
+
containerRadius: shape.segmented.sm.borderRadius,
|
|
2909
3032
|
itemHeight: 32,
|
|
2910
3033
|
itemPaddingHorizontal: 12,
|
|
2911
3034
|
itemPaddingVertical: 6,
|
|
2912
|
-
itemRadius:
|
|
3035
|
+
itemRadius: shape.segmentedItem.sm.borderRadius,
|
|
2913
3036
|
fontSize: 14,
|
|
2914
3037
|
lineHeight: 16,
|
|
2915
3038
|
iconSize: 20,
|
|
@@ -2923,10 +3046,8 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2923
3046
|
xl: {
|
|
2924
3047
|
height: 64,
|
|
2925
3048
|
containerPadding: 4,
|
|
2926
|
-
containerRadius: 4,
|
|
2927
3049
|
itemPaddingHorizontal: 16,
|
|
2928
3050
|
itemPaddingVertical: 18,
|
|
2929
|
-
itemRadius: 2,
|
|
2930
3051
|
fontSize: 20,
|
|
2931
3052
|
lineHeight: 22,
|
|
2932
3053
|
iconSize: 24,
|
|
@@ -2935,10 +3056,8 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2935
3056
|
lg: {
|
|
2936
3057
|
height: 56,
|
|
2937
3058
|
containerPadding: 4,
|
|
2938
|
-
containerRadius: 4,
|
|
2939
3059
|
itemPaddingHorizontal: 16,
|
|
2940
3060
|
itemPaddingVertical: 14,
|
|
2941
|
-
itemRadius: 2,
|
|
2942
3061
|
fontSize: 18,
|
|
2943
3062
|
lineHeight: 20,
|
|
2944
3063
|
iconSize: 24,
|
|
@@ -2947,10 +3066,8 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2947
3066
|
md: {
|
|
2948
3067
|
height: 48,
|
|
2949
3068
|
containerPadding: 4,
|
|
2950
|
-
containerRadius: 4,
|
|
2951
3069
|
itemPaddingHorizontal: 12,
|
|
2952
3070
|
itemPaddingVertical: 11,
|
|
2953
|
-
itemRadius: 2,
|
|
2954
3071
|
fontSize: 16,
|
|
2955
3072
|
lineHeight: 18,
|
|
2956
3073
|
iconSize: 24,
|
|
@@ -2959,10 +3076,8 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2959
3076
|
sm: {
|
|
2960
3077
|
height: 40,
|
|
2961
3078
|
containerPadding: 3,
|
|
2962
|
-
containerRadius: 2,
|
|
2963
3079
|
itemPaddingHorizontal: 12,
|
|
2964
3080
|
itemPaddingVertical: 8,
|
|
2965
|
-
itemRadius: 2,
|
|
2966
3081
|
fontSize: 14,
|
|
2967
3082
|
lineHeight: 16,
|
|
2968
3083
|
iconSize: 20,
|
|
@@ -2980,7 +3095,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2980
3095
|
fontSize: 20,
|
|
2981
3096
|
lineHeight: 22,
|
|
2982
3097
|
gap: 8,
|
|
2983
|
-
borderRadius:
|
|
3098
|
+
borderRadius: radiusScale["50"]
|
|
2984
3099
|
},
|
|
2985
3100
|
lg: {
|
|
2986
3101
|
height: 56,
|
|
@@ -2989,7 +3104,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2989
3104
|
fontSize: 18,
|
|
2990
3105
|
lineHeight: 20,
|
|
2991
3106
|
gap: 8,
|
|
2992
|
-
borderRadius:
|
|
3107
|
+
borderRadius: radiusScale["50"]
|
|
2993
3108
|
},
|
|
2994
3109
|
md: {
|
|
2995
3110
|
height: 48,
|
|
@@ -2998,7 +3113,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
2998
3113
|
fontSize: 16,
|
|
2999
3114
|
lineHeight: 18,
|
|
3000
3115
|
gap: 8,
|
|
3001
|
-
borderRadius:
|
|
3116
|
+
borderRadius: radiusScale["25"]
|
|
3002
3117
|
},
|
|
3003
3118
|
sm: {
|
|
3004
3119
|
height: 40,
|
|
@@ -3007,7 +3122,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
3007
3122
|
fontSize: 14,
|
|
3008
3123
|
lineHeight: 16,
|
|
3009
3124
|
gap: 4,
|
|
3010
|
-
borderRadius:
|
|
3125
|
+
borderRadius: radiusScale["25"]
|
|
3011
3126
|
}
|
|
3012
3127
|
};
|
|
3013
3128
|
return configs[size];
|
|
@@ -3051,7 +3166,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
3051
3166
|
messageSize: 14,
|
|
3052
3167
|
iconSize: 20,
|
|
3053
3168
|
iconWrapperSize: 32,
|
|
3054
|
-
radius:
|
|
3169
|
+
radius: shape.toast.borderRadius
|
|
3055
3170
|
},
|
|
3056
3171
|
inline: {
|
|
3057
3172
|
width: "100%",
|
|
@@ -3062,7 +3177,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
3062
3177
|
messageSize: 14,
|
|
3063
3178
|
iconSize: 20,
|
|
3064
3179
|
iconWrapperSize: 32,
|
|
3065
|
-
radius:
|
|
3180
|
+
radius: shape.modal.borderRadius
|
|
3066
3181
|
}
|
|
3067
3182
|
};
|
|
3068
3183
|
return configs[type];
|
|
@@ -3071,7 +3186,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
3071
3186
|
minHeight: 66,
|
|
3072
3187
|
iconFrameWidth: 54,
|
|
3073
3188
|
iconSize: 24,
|
|
3074
|
-
borderRadius:
|
|
3189
|
+
borderRadius: radiusScale["100"],
|
|
3075
3190
|
bodyPaddingHorizontal: 16,
|
|
3076
3191
|
bodyPaddingVertical: 12,
|
|
3077
3192
|
textGap: 2,
|
|
@@ -3242,7 +3357,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
3242
3357
|
},
|
|
3243
3358
|
modal: () => {
|
|
3244
3359
|
return {
|
|
3245
|
-
borderRadius:
|
|
3360
|
+
borderRadius: shape.modal.borderRadius,
|
|
3246
3361
|
headerPadding: "28px 24px 0",
|
|
3247
3362
|
contentPadding: 24,
|
|
3248
3363
|
headerButtonSize: "xs",
|
|
@@ -3379,7 +3494,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
3379
3494
|
minHeight: 64,
|
|
3380
3495
|
paddingHorizontal: 12,
|
|
3381
3496
|
paddingVertical: 8,
|
|
3382
|
-
borderRadius:
|
|
3497
|
+
borderRadius: shape.toast.borderRadius,
|
|
3383
3498
|
gap: 12,
|
|
3384
3499
|
iconSize: 24,
|
|
3385
3500
|
closeButtonSize: 24,
|
|
@@ -3400,7 +3515,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
3400
3515
|
lineHeight: 22,
|
|
3401
3516
|
iconSize: 24,
|
|
3402
3517
|
gap: 6,
|
|
3403
|
-
borderRadius:
|
|
3518
|
+
borderRadius: shape.toggleButtonGroup.xl.borderRadius,
|
|
3404
3519
|
itemGap: 8
|
|
3405
3520
|
},
|
|
3406
3521
|
lg: {
|
|
@@ -3410,7 +3525,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
3410
3525
|
lineHeight: 20,
|
|
3411
3526
|
iconSize: 24,
|
|
3412
3527
|
gap: 4,
|
|
3413
|
-
borderRadius:
|
|
3528
|
+
borderRadius: shape.toggleButtonGroup.lg.borderRadius,
|
|
3414
3529
|
itemGap: 8
|
|
3415
3530
|
},
|
|
3416
3531
|
md: {
|
|
@@ -3420,7 +3535,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
3420
3535
|
lineHeight: 18,
|
|
3421
3536
|
iconSize: 24,
|
|
3422
3537
|
gap: 4,
|
|
3423
|
-
borderRadius:
|
|
3538
|
+
borderRadius: shape.toggleButtonGroup.md.borderRadius,
|
|
3424
3539
|
itemGap: 8
|
|
3425
3540
|
},
|
|
3426
3541
|
sm: {
|
|
@@ -3430,7 +3545,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
3430
3545
|
lineHeight: 16,
|
|
3431
3546
|
iconSize: 24,
|
|
3432
3547
|
gap: 2,
|
|
3433
|
-
borderRadius:
|
|
3548
|
+
borderRadius: shape.toggleButtonGroup.sm.borderRadius,
|
|
3434
3549
|
itemGap: 4
|
|
3435
3550
|
},
|
|
3436
3551
|
xs: {
|
|
@@ -3440,7 +3555,7 @@ var themeConfig = (mode = "dark", productContext = defaultProductContext) => {
|
|
|
3440
3555
|
lineHeight: 16,
|
|
3441
3556
|
iconSize: 24,
|
|
3442
3557
|
gap: 2,
|
|
3443
|
-
borderRadius:
|
|
3558
|
+
borderRadius: shape.toggleButtonGroup.xs.borderRadius,
|
|
3444
3559
|
itemGap: 4
|
|
3445
3560
|
}
|
|
3446
3561
|
};
|
|
@@ -3570,9 +3685,12 @@ export {
|
|
|
3570
3685
|
lineHeightDisplay,
|
|
3571
3686
|
lineHeightText,
|
|
3572
3687
|
radius,
|
|
3688
|
+
radiusScale,
|
|
3573
3689
|
responsiveTypographyScale,
|
|
3574
3690
|
shadow,
|
|
3691
|
+
shape,
|
|
3575
3692
|
spacing,
|
|
3693
|
+
stroke,
|
|
3576
3694
|
themeConfig,
|
|
3577
3695
|
typography,
|
|
3578
3696
|
typographyTokens,
|