@yahoo/uds-mobile 1.6.4 → 1.7.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/dist/bin/fixtures/dist/index.mjs +3 -0
- package/dist/bin/generateTheme.mjs +198 -11
- package/dist/components/Box.cjs +18 -4
- package/dist/components/Box.d.cts +4 -2
- package/dist/components/Box.d.cts.map +1 -1
- package/dist/components/Box.d.mts +4 -2
- package/dist/components/Box.d.mts.map +1 -1
- package/dist/components/Box.mjs +18 -4
- package/dist/components/Box.mjs.map +1 -1
- package/dist/components/Icon.cjs +1 -1
- package/dist/components/Icon.mjs +1 -1
- package/dist/components/Screen.cjs +1 -1
- package/dist/components/Screen.mjs +1 -1
- package/dist/components/Switch.cjs +1 -1
- package/dist/components/Switch.mjs +1 -1
- package/dist/types/dist/index.d.cts +5 -2
- package/dist/types/dist/index.d.cts.map +1 -1
- package/dist/types/dist/index.d.mts +5 -2
- package/dist/types/dist/index.d.mts.map +1 -1
- package/fonts/index.cjs +6 -6
- package/fonts/index.mjs +6 -6
- package/fonts/yas-black.otf +0 -0
- package/fonts/yas-bold.otf +0 -0
- package/fonts/yas-light.otf +0 -0
- package/fonts/yas-medium.otf +0 -0
- package/fonts/yas-regular.otf +0 -0
- package/fonts/yas-semibold.otf +0 -0
- package/generated/styles.cjs +133 -0
- package/generated/styles.d.ts +85 -3
- package/generated/styles.mjs +133 -0
- package/generated/unistyles.d.ts +174 -14
- package/package.json +1 -1
package/generated/styles.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ export declare const styles: {
|
|
|
30
30
|
borderTopStartRadius?: number;
|
|
31
31
|
borderTopWidth?: number;
|
|
32
32
|
borderWidth?: number;
|
|
33
|
+
boxShadow?: string;
|
|
33
34
|
color?: string;
|
|
34
35
|
columnGap?: number;
|
|
35
36
|
display?: 'flex' | 'none' | 'contents';
|
|
@@ -1201,6 +1202,36 @@ export declare const styles: {
|
|
|
1201
1202
|
| undefined;
|
|
1202
1203
|
textAlign?: 'center' | 'justify' | undefined;
|
|
1203
1204
|
textTransform?: 'none' | 'capitalize' | 'uppercase' | 'lowercase' | undefined;
|
|
1205
|
+
dropShadow?:
|
|
1206
|
+
| 'none'
|
|
1207
|
+
| 'elevation-0'
|
|
1208
|
+
| 'elevation-1'
|
|
1209
|
+
| 'elevation-2'
|
|
1210
|
+
| 'elevation-3'
|
|
1211
|
+
| 'elevation-4'
|
|
1212
|
+
| 'elevation-5'
|
|
1213
|
+
| 'xs'
|
|
1214
|
+
| 'sm'
|
|
1215
|
+
| 'md'
|
|
1216
|
+
| 'lg'
|
|
1217
|
+
| 'xl'
|
|
1218
|
+
| '2xl'
|
|
1219
|
+
| undefined;
|
|
1220
|
+
insetShadow?:
|
|
1221
|
+
| 'none'
|
|
1222
|
+
| 'xs'
|
|
1223
|
+
| 'sm'
|
|
1224
|
+
| 'md'
|
|
1225
|
+
| 'lg'
|
|
1226
|
+
| 'xl'
|
|
1227
|
+
| '2xl'
|
|
1228
|
+
| 'xs-invert'
|
|
1229
|
+
| 'sm-invert'
|
|
1230
|
+
| 'md-invert'
|
|
1231
|
+
| 'lg-invert'
|
|
1232
|
+
| 'xl-invert'
|
|
1233
|
+
| '2xl-invert'
|
|
1234
|
+
| undefined;
|
|
1204
1235
|
iconSize?: 'xs' | 'sm' | 'md' | 'lg' | undefined;
|
|
1205
1236
|
avatarSize?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | undefined;
|
|
1206
1237
|
}) => void;
|
|
@@ -1223,10 +1254,10 @@ export declare const avatarStyles: {
|
|
|
1223
1254
|
lineHeight: number;
|
|
1224
1255
|
};
|
|
1225
1256
|
icon: {
|
|
1257
|
+
color: string;
|
|
1226
1258
|
backgroundColor: string;
|
|
1227
1259
|
borderColor: string;
|
|
1228
1260
|
borderRadius: number;
|
|
1229
|
-
color: string;
|
|
1230
1261
|
fontSize: number;
|
|
1231
1262
|
iconSizeToken: 'lg' | 'md' | 'sm';
|
|
1232
1263
|
lineHeight: number;
|
|
@@ -1245,7 +1276,10 @@ export declare const avatarStyles: {
|
|
|
1245
1276
|
icon?: 'primary' | 'secondary' | undefined;
|
|
1246
1277
|
text?: 'primary' | 'secondary' | undefined;
|
|
1247
1278
|
}
|
|
1248
|
-
| {
|
|
1279
|
+
| {
|
|
1280
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | undefined;
|
|
1281
|
+
icon?: 'primary' | 'secondary' | undefined;
|
|
1282
|
+
},
|
|
1249
1283
|
) => void;
|
|
1250
1284
|
};
|
|
1251
1285
|
|
|
@@ -1365,6 +1399,9 @@ export declare const buttonStyles: {
|
|
|
1365
1399
|
| 'tertiary'
|
|
1366
1400
|
| 'alert-tertiary'
|
|
1367
1401
|
| 'brand-tertiary'
|
|
1402
|
+
| 'contrast-high'
|
|
1403
|
+
| 'contrast-low'
|
|
1404
|
+
| 'contrast-medium'
|
|
1368
1405
|
| 'info-tertiary'
|
|
1369
1406
|
| 'positive-tertiary'
|
|
1370
1407
|
| 'warning-tertiary'
|
|
@@ -1390,6 +1427,9 @@ export declare const buttonStyles: {
|
|
|
1390
1427
|
| 'tertiary'
|
|
1391
1428
|
| 'alert-tertiary'
|
|
1392
1429
|
| 'brand-tertiary'
|
|
1430
|
+
| 'contrast-high'
|
|
1431
|
+
| 'contrast-low'
|
|
1432
|
+
| 'contrast-medium'
|
|
1393
1433
|
| 'info-tertiary'
|
|
1394
1434
|
| 'positive-tertiary'
|
|
1395
1435
|
| 'warning-tertiary'
|
|
@@ -1415,6 +1455,9 @@ export declare const buttonStyles: {
|
|
|
1415
1455
|
| 'tertiary'
|
|
1416
1456
|
| 'alert-tertiary'
|
|
1417
1457
|
| 'brand-tertiary'
|
|
1458
|
+
| 'contrast-high'
|
|
1459
|
+
| 'contrast-low'
|
|
1460
|
+
| 'contrast-medium'
|
|
1418
1461
|
| 'info-tertiary'
|
|
1419
1462
|
| 'positive-tertiary'
|
|
1420
1463
|
| 'warning-tertiary'
|
|
@@ -1851,7 +1894,16 @@ export declare const switchStyles: {
|
|
|
1851
1894
|
};
|
|
1852
1895
|
|
|
1853
1896
|
export declare const toastStyles: {
|
|
1854
|
-
root: {
|
|
1897
|
+
root: {
|
|
1898
|
+
borderRadius: number;
|
|
1899
|
+
borderWidth: number;
|
|
1900
|
+
boxShadow: string;
|
|
1901
|
+
gap: number;
|
|
1902
|
+
paddingHorizontal: number;
|
|
1903
|
+
paddingVertical: number;
|
|
1904
|
+
backgroundColor: string;
|
|
1905
|
+
borderColor: string;
|
|
1906
|
+
};
|
|
1855
1907
|
text: { color: string };
|
|
1856
1908
|
icon: { fontSize: number; iconSizeToken: 'md'; lineHeight: number; color: string };
|
|
1857
1909
|
closeIcon: { fontSize: number; iconSizeToken: 'sm'; lineHeight: number; color: string };
|
|
@@ -3024,6 +3076,36 @@ export type StyleProps = {
|
|
|
3024
3076
|
| undefined;
|
|
3025
3077
|
textAlign?: 'center' | 'justify' | undefined;
|
|
3026
3078
|
textTransform?: 'none' | 'capitalize' | 'uppercase' | 'lowercase' | undefined;
|
|
3079
|
+
dropShadow?:
|
|
3080
|
+
| 'none'
|
|
3081
|
+
| 'elevation-0'
|
|
3082
|
+
| 'elevation-1'
|
|
3083
|
+
| 'elevation-2'
|
|
3084
|
+
| 'elevation-3'
|
|
3085
|
+
| 'elevation-4'
|
|
3086
|
+
| 'elevation-5'
|
|
3087
|
+
| 'xs'
|
|
3088
|
+
| 'sm'
|
|
3089
|
+
| 'md'
|
|
3090
|
+
| 'lg'
|
|
3091
|
+
| 'xl'
|
|
3092
|
+
| '2xl'
|
|
3093
|
+
| undefined;
|
|
3094
|
+
insetShadow?:
|
|
3095
|
+
| 'none'
|
|
3096
|
+
| 'xs'
|
|
3097
|
+
| 'sm'
|
|
3098
|
+
| 'md'
|
|
3099
|
+
| 'lg'
|
|
3100
|
+
| 'xl'
|
|
3101
|
+
| '2xl'
|
|
3102
|
+
| 'xs-invert'
|
|
3103
|
+
| 'sm-invert'
|
|
3104
|
+
| 'md-invert'
|
|
3105
|
+
| 'lg-invert'
|
|
3106
|
+
| 'xl-invert'
|
|
3107
|
+
| '2xl-invert'
|
|
3108
|
+
| undefined;
|
|
3027
3109
|
iconSize?: 'xs' | 'sm' | 'md' | 'lg' | undefined;
|
|
3028
3110
|
avatarSize?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | undefined;
|
|
3029
3111
|
};
|
package/generated/styles.mjs
CHANGED
|
@@ -1287,6 +1287,36 @@ const styles = StyleSheet.create((theme) => ({
|
|
|
1287
1287
|
uppercase: { textTransform: 'uppercase' },
|
|
1288
1288
|
lowercase: { textTransform: 'lowercase' },
|
|
1289
1289
|
},
|
|
1290
|
+
dropShadow: {
|
|
1291
|
+
none: { boxShadow: theme.boxShadow.drop['none'] },
|
|
1292
|
+
'elevation-0': { boxShadow: theme.boxShadow.drop['elevation-0'] },
|
|
1293
|
+
'elevation-1': { boxShadow: theme.boxShadow.drop['elevation-1'] },
|
|
1294
|
+
'elevation-2': { boxShadow: theme.boxShadow.drop['elevation-2'] },
|
|
1295
|
+
'elevation-3': { boxShadow: theme.boxShadow.drop['elevation-3'] },
|
|
1296
|
+
'elevation-4': { boxShadow: theme.boxShadow.drop['elevation-4'] },
|
|
1297
|
+
'elevation-5': { boxShadow: theme.boxShadow.drop['elevation-5'] },
|
|
1298
|
+
xs: { boxShadow: theme.boxShadow.drop['xs'] },
|
|
1299
|
+
sm: { boxShadow: theme.boxShadow.drop['sm'] },
|
|
1300
|
+
md: { boxShadow: theme.boxShadow.drop['md'] },
|
|
1301
|
+
lg: { boxShadow: theme.boxShadow.drop['lg'] },
|
|
1302
|
+
xl: { boxShadow: theme.boxShadow.drop['xl'] },
|
|
1303
|
+
'2xl': { boxShadow: theme.boxShadow.drop['2xl'] },
|
|
1304
|
+
},
|
|
1305
|
+
insetShadow: {
|
|
1306
|
+
none: { boxShadow: theme.boxShadow.inset['none'] },
|
|
1307
|
+
xs: { boxShadow: theme.boxShadow.inset['xs'] },
|
|
1308
|
+
sm: { boxShadow: theme.boxShadow.inset['sm'] },
|
|
1309
|
+
md: { boxShadow: theme.boxShadow.inset['md'] },
|
|
1310
|
+
lg: { boxShadow: theme.boxShadow.inset['lg'] },
|
|
1311
|
+
xl: { boxShadow: theme.boxShadow.inset['xl'] },
|
|
1312
|
+
'2xl': { boxShadow: theme.boxShadow.inset['2xl'] },
|
|
1313
|
+
'xs-invert': { boxShadow: theme.boxShadow.inset['xs-invert'] },
|
|
1314
|
+
'sm-invert': { boxShadow: theme.boxShadow.inset['sm-invert'] },
|
|
1315
|
+
'md-invert': { boxShadow: theme.boxShadow.inset['md-invert'] },
|
|
1316
|
+
'lg-invert': { boxShadow: theme.boxShadow.inset['lg-invert'] },
|
|
1317
|
+
'xl-invert': { boxShadow: theme.boxShadow.inset['xl-invert'] },
|
|
1318
|
+
'2xl-invert': { boxShadow: theme.boxShadow.inset['2xl-invert'] },
|
|
1319
|
+
},
|
|
1290
1320
|
iconSize: {
|
|
1291
1321
|
xs: { width: theme.iconSize['xs'], height: theme.iconSize['xs'] },
|
|
1292
1322
|
sm: { width: theme.iconSize['sm'], height: theme.iconSize['sm'] },
|
|
@@ -1372,6 +1402,10 @@ const avatarStyles = StyleSheet.create((theme) => ({
|
|
|
1372
1402
|
xl: theme.components['avatar/size/xl/icon/rest'],
|
|
1373
1403
|
xs: theme.components['avatar/size/xs/icon/rest'],
|
|
1374
1404
|
},
|
|
1405
|
+
icon: {
|
|
1406
|
+
primary: theme.components['avatar/icon/variant/primary/icon/rest'],
|
|
1407
|
+
secondary: theme.components['avatar/icon/variant/secondary/icon/rest'],
|
|
1408
|
+
},
|
|
1375
1409
|
},
|
|
1376
1410
|
},
|
|
1377
1411
|
}));
|
|
@@ -1497,6 +1531,9 @@ const buttonStyles = StyleSheet.create((theme) => ({
|
|
|
1497
1531
|
brand: theme.components['button/variant/brand/root/rest'],
|
|
1498
1532
|
'brand-secondary': theme.components['button/variant/brand-secondary/root/rest'],
|
|
1499
1533
|
'brand-tertiary': theme.components['button/variant/brand-tertiary/root/rest'],
|
|
1534
|
+
'contrast-high': theme.components['button/variant/contrast-high/root/rest'],
|
|
1535
|
+
'contrast-low': theme.components['button/variant/contrast-low/root/rest'],
|
|
1536
|
+
'contrast-medium': theme.components['button/variant/contrast-medium/root/rest'],
|
|
1500
1537
|
info: theme.components['button/variant/info/root/rest'],
|
|
1501
1538
|
'info-secondary': theme.components['button/variant/info-secondary/root/rest'],
|
|
1502
1539
|
'info-tertiary': theme.components['button/variant/info-tertiary/root/rest'],
|
|
@@ -1574,6 +1611,36 @@ const buttonStyles = StyleSheet.create((theme) => ({
|
|
|
1574
1611
|
pressed: true,
|
|
1575
1612
|
styles: theme.components['button/variant/brand/root/pressed'],
|
|
1576
1613
|
},
|
|
1614
|
+
{
|
|
1615
|
+
variant: 'contrast-high',
|
|
1616
|
+
disabled: true,
|
|
1617
|
+
styles: theme.components['button/variant/contrast-high/root/disabled'],
|
|
1618
|
+
},
|
|
1619
|
+
{
|
|
1620
|
+
variant: 'contrast-high',
|
|
1621
|
+
pressed: true,
|
|
1622
|
+
styles: theme.components['button/variant/contrast-high/root/pressed'],
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
variant: 'contrast-low',
|
|
1626
|
+
disabled: true,
|
|
1627
|
+
styles: theme.components['button/variant/contrast-low/root/disabled'],
|
|
1628
|
+
},
|
|
1629
|
+
{
|
|
1630
|
+
variant: 'contrast-low',
|
|
1631
|
+
pressed: true,
|
|
1632
|
+
styles: theme.components['button/variant/contrast-low/root/pressed'],
|
|
1633
|
+
},
|
|
1634
|
+
{
|
|
1635
|
+
variant: 'contrast-medium',
|
|
1636
|
+
disabled: true,
|
|
1637
|
+
styles: theme.components['button/variant/contrast-medium/root/disabled'],
|
|
1638
|
+
},
|
|
1639
|
+
{
|
|
1640
|
+
variant: 'contrast-medium',
|
|
1641
|
+
pressed: true,
|
|
1642
|
+
styles: theme.components['button/variant/contrast-medium/root/pressed'],
|
|
1643
|
+
},
|
|
1577
1644
|
{
|
|
1578
1645
|
variant: 'info-secondary',
|
|
1579
1646
|
disabled: true,
|
|
@@ -1711,6 +1778,9 @@ const buttonStyles = StyleSheet.create((theme) => ({
|
|
|
1711
1778
|
brand: theme.components['button/variant/brand/rootText/rest'],
|
|
1712
1779
|
'brand-secondary': theme.components['button/variant/brand-secondary/rootText/rest'],
|
|
1713
1780
|
'brand-tertiary': theme.components['button/variant/brand-tertiary/rootText/rest'],
|
|
1781
|
+
'contrast-high': theme.components['button/variant/contrast-high/rootText/rest'],
|
|
1782
|
+
'contrast-low': theme.components['button/variant/contrast-low/rootText/rest'],
|
|
1783
|
+
'contrast-medium': theme.components['button/variant/contrast-medium/rootText/rest'],
|
|
1714
1784
|
info: theme.components['button/variant/info/rootText/rest'],
|
|
1715
1785
|
'info-secondary': theme.components['button/variant/info-secondary/rootText/rest'],
|
|
1716
1786
|
'info-tertiary': theme.components['button/variant/info-tertiary/rootText/rest'],
|
|
@@ -1788,6 +1858,36 @@ const buttonStyles = StyleSheet.create((theme) => ({
|
|
|
1788
1858
|
pressed: true,
|
|
1789
1859
|
styles: theme.components['button/variant/brand/rootText/pressed'],
|
|
1790
1860
|
},
|
|
1861
|
+
{
|
|
1862
|
+
variant: 'contrast-high',
|
|
1863
|
+
disabled: true,
|
|
1864
|
+
styles: theme.components['button/variant/contrast-high/rootText/disabled'],
|
|
1865
|
+
},
|
|
1866
|
+
{
|
|
1867
|
+
variant: 'contrast-high',
|
|
1868
|
+
pressed: true,
|
|
1869
|
+
styles: theme.components['button/variant/contrast-high/rootText/pressed'],
|
|
1870
|
+
},
|
|
1871
|
+
{
|
|
1872
|
+
variant: 'contrast-low',
|
|
1873
|
+
disabled: true,
|
|
1874
|
+
styles: theme.components['button/variant/contrast-low/rootText/disabled'],
|
|
1875
|
+
},
|
|
1876
|
+
{
|
|
1877
|
+
variant: 'contrast-low',
|
|
1878
|
+
pressed: true,
|
|
1879
|
+
styles: theme.components['button/variant/contrast-low/rootText/pressed'],
|
|
1880
|
+
},
|
|
1881
|
+
{
|
|
1882
|
+
variant: 'contrast-medium',
|
|
1883
|
+
disabled: true,
|
|
1884
|
+
styles: theme.components['button/variant/contrast-medium/rootText/disabled'],
|
|
1885
|
+
},
|
|
1886
|
+
{
|
|
1887
|
+
variant: 'contrast-medium',
|
|
1888
|
+
pressed: true,
|
|
1889
|
+
styles: theme.components['button/variant/contrast-medium/rootText/pressed'],
|
|
1890
|
+
},
|
|
1791
1891
|
{
|
|
1792
1892
|
variant: 'info-secondary',
|
|
1793
1893
|
disabled: true,
|
|
@@ -1925,6 +2025,9 @@ const buttonStyles = StyleSheet.create((theme) => ({
|
|
|
1925
2025
|
brand: theme.components['button/variant/brand/icon/rest'],
|
|
1926
2026
|
'brand-secondary': theme.components['button/variant/brand-secondary/icon/rest'],
|
|
1927
2027
|
'brand-tertiary': theme.components['button/variant/brand-tertiary/icon/rest'],
|
|
2028
|
+
'contrast-high': theme.components['button/variant/contrast-high/icon/rest'],
|
|
2029
|
+
'contrast-low': theme.components['button/variant/contrast-low/icon/rest'],
|
|
2030
|
+
'contrast-medium': theme.components['button/variant/contrast-medium/icon/rest'],
|
|
1928
2031
|
info: theme.components['button/variant/info/icon/rest'],
|
|
1929
2032
|
'info-secondary': theme.components['button/variant/info-secondary/icon/rest'],
|
|
1930
2033
|
'info-tertiary': theme.components['button/variant/info-tertiary/icon/rest'],
|
|
@@ -2002,6 +2105,36 @@ const buttonStyles = StyleSheet.create((theme) => ({
|
|
|
2002
2105
|
pressed: true,
|
|
2003
2106
|
styles: theme.components['button/variant/brand/icon/pressed'],
|
|
2004
2107
|
},
|
|
2108
|
+
{
|
|
2109
|
+
variant: 'contrast-high',
|
|
2110
|
+
disabled: true,
|
|
2111
|
+
styles: theme.components['button/variant/contrast-high/icon/disabled'],
|
|
2112
|
+
},
|
|
2113
|
+
{
|
|
2114
|
+
variant: 'contrast-high',
|
|
2115
|
+
pressed: true,
|
|
2116
|
+
styles: theme.components['button/variant/contrast-high/icon/pressed'],
|
|
2117
|
+
},
|
|
2118
|
+
{
|
|
2119
|
+
variant: 'contrast-low',
|
|
2120
|
+
disabled: true,
|
|
2121
|
+
styles: theme.components['button/variant/contrast-low/icon/disabled'],
|
|
2122
|
+
},
|
|
2123
|
+
{
|
|
2124
|
+
variant: 'contrast-low',
|
|
2125
|
+
pressed: true,
|
|
2126
|
+
styles: theme.components['button/variant/contrast-low/icon/pressed'],
|
|
2127
|
+
},
|
|
2128
|
+
{
|
|
2129
|
+
variant: 'contrast-medium',
|
|
2130
|
+
disabled: true,
|
|
2131
|
+
styles: theme.components['button/variant/contrast-medium/icon/disabled'],
|
|
2132
|
+
},
|
|
2133
|
+
{
|
|
2134
|
+
variant: 'contrast-medium',
|
|
2135
|
+
pressed: true,
|
|
2136
|
+
styles: theme.components['button/variant/contrast-medium/icon/pressed'],
|
|
2137
|
+
},
|
|
2005
2138
|
{
|
|
2006
2139
|
variant: 'info-secondary',
|
|
2007
2140
|
disabled: true,
|
package/generated/unistyles.d.ts
CHANGED
|
@@ -10,6 +10,9 @@ interface TypographyVariant {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
interface ComponentTheme {
|
|
13
|
+
'avatar/icon/variant/primary/icon/rest': {
|
|
14
|
+
color: string;
|
|
15
|
+
};
|
|
13
16
|
'avatar/icon/variant/primary/root/rest': {
|
|
14
17
|
backgroundColor: string;
|
|
15
18
|
borderColor: string;
|
|
@@ -18,6 +21,9 @@ interface ComponentTheme {
|
|
|
18
21
|
'avatar/icon/variant/primary/rootText/rest': {
|
|
19
22
|
color: string;
|
|
20
23
|
};
|
|
24
|
+
'avatar/icon/variant/secondary/icon/rest': {
|
|
25
|
+
color: string;
|
|
26
|
+
};
|
|
21
27
|
'avatar/icon/variant/secondary/root/rest': {
|
|
22
28
|
backgroundColor: string;
|
|
23
29
|
borderColor: string;
|
|
@@ -630,6 +636,120 @@ interface ComponentTheme {
|
|
|
630
636
|
'button/variant/brand/rootText/rest': {
|
|
631
637
|
color: string;
|
|
632
638
|
};
|
|
639
|
+
'button/variant/contrast-high/icon/disabled': {
|
|
640
|
+
color: string;
|
|
641
|
+
};
|
|
642
|
+
'button/variant/contrast-high/icon/pressed': {
|
|
643
|
+
color: string;
|
|
644
|
+
};
|
|
645
|
+
'button/variant/contrast-high/icon/rest': {
|
|
646
|
+
color: string;
|
|
647
|
+
};
|
|
648
|
+
'button/variant/contrast-high/root/disabled': {
|
|
649
|
+
backgroundColor: string;
|
|
650
|
+
borderColor: string;
|
|
651
|
+
borderRadius: number;
|
|
652
|
+
borderWidth: number;
|
|
653
|
+
opacity: number;
|
|
654
|
+
};
|
|
655
|
+
'button/variant/contrast-high/root/pressed': {
|
|
656
|
+
backgroundColor: string;
|
|
657
|
+
borderColor: string;
|
|
658
|
+
borderRadius: number;
|
|
659
|
+
borderWidth: number;
|
|
660
|
+
boxShadow: string;
|
|
661
|
+
};
|
|
662
|
+
'button/variant/contrast-high/root/rest': {
|
|
663
|
+
backgroundColor: string;
|
|
664
|
+
borderColor: string;
|
|
665
|
+
borderRadius: number;
|
|
666
|
+
borderWidth: number;
|
|
667
|
+
};
|
|
668
|
+
'button/variant/contrast-high/rootText/disabled': {
|
|
669
|
+
color: string;
|
|
670
|
+
};
|
|
671
|
+
'button/variant/contrast-high/rootText/pressed': {
|
|
672
|
+
color: string;
|
|
673
|
+
};
|
|
674
|
+
'button/variant/contrast-high/rootText/rest': {
|
|
675
|
+
color: string;
|
|
676
|
+
};
|
|
677
|
+
'button/variant/contrast-low/icon/disabled': {
|
|
678
|
+
color: string;
|
|
679
|
+
};
|
|
680
|
+
'button/variant/contrast-low/icon/pressed': {
|
|
681
|
+
color: string;
|
|
682
|
+
};
|
|
683
|
+
'button/variant/contrast-low/icon/rest': {
|
|
684
|
+
color: string;
|
|
685
|
+
};
|
|
686
|
+
'button/variant/contrast-low/root/disabled': {
|
|
687
|
+
backgroundColor: string;
|
|
688
|
+
borderColor: string;
|
|
689
|
+
borderRadius: number;
|
|
690
|
+
borderWidth: number;
|
|
691
|
+
opacity: number;
|
|
692
|
+
};
|
|
693
|
+
'button/variant/contrast-low/root/pressed': {
|
|
694
|
+
backgroundColor: string;
|
|
695
|
+
borderColor: string;
|
|
696
|
+
borderRadius: number;
|
|
697
|
+
borderWidth: number;
|
|
698
|
+
boxShadow: string;
|
|
699
|
+
};
|
|
700
|
+
'button/variant/contrast-low/root/rest': {
|
|
701
|
+
backgroundColor: string;
|
|
702
|
+
borderColor: string;
|
|
703
|
+
borderRadius: number;
|
|
704
|
+
borderWidth: number;
|
|
705
|
+
};
|
|
706
|
+
'button/variant/contrast-low/rootText/disabled': {
|
|
707
|
+
color: string;
|
|
708
|
+
};
|
|
709
|
+
'button/variant/contrast-low/rootText/pressed': {
|
|
710
|
+
color: string;
|
|
711
|
+
};
|
|
712
|
+
'button/variant/contrast-low/rootText/rest': {
|
|
713
|
+
color: string;
|
|
714
|
+
};
|
|
715
|
+
'button/variant/contrast-medium/icon/disabled': {
|
|
716
|
+
color: string;
|
|
717
|
+
};
|
|
718
|
+
'button/variant/contrast-medium/icon/pressed': {
|
|
719
|
+
color: string;
|
|
720
|
+
};
|
|
721
|
+
'button/variant/contrast-medium/icon/rest': {
|
|
722
|
+
color: string;
|
|
723
|
+
};
|
|
724
|
+
'button/variant/contrast-medium/root/disabled': {
|
|
725
|
+
backgroundColor: string;
|
|
726
|
+
borderColor: string;
|
|
727
|
+
borderRadius: number;
|
|
728
|
+
borderWidth: number;
|
|
729
|
+
opacity: number;
|
|
730
|
+
};
|
|
731
|
+
'button/variant/contrast-medium/root/pressed': {
|
|
732
|
+
backgroundColor: string;
|
|
733
|
+
borderColor: string;
|
|
734
|
+
borderRadius: number;
|
|
735
|
+
borderWidth: number;
|
|
736
|
+
boxShadow: string;
|
|
737
|
+
};
|
|
738
|
+
'button/variant/contrast-medium/root/rest': {
|
|
739
|
+
backgroundColor: string;
|
|
740
|
+
borderColor: string;
|
|
741
|
+
borderRadius: number;
|
|
742
|
+
borderWidth: number;
|
|
743
|
+
};
|
|
744
|
+
'button/variant/contrast-medium/rootText/disabled': {
|
|
745
|
+
color: string;
|
|
746
|
+
};
|
|
747
|
+
'button/variant/contrast-medium/rootText/pressed': {
|
|
748
|
+
color: string;
|
|
749
|
+
};
|
|
750
|
+
'button/variant/contrast-medium/rootText/rest': {
|
|
751
|
+
color: string;
|
|
752
|
+
};
|
|
633
753
|
'button/variant/info-secondary/icon/disabled': {
|
|
634
754
|
color: string;
|
|
635
755
|
};
|
|
@@ -3848,6 +3968,8 @@ interface ComponentTheme {
|
|
|
3848
3968
|
};
|
|
3849
3969
|
'toast/size/default/root/rest': {
|
|
3850
3970
|
borderRadius: number;
|
|
3971
|
+
borderWidth: number;
|
|
3972
|
+
boxShadow: string;
|
|
3851
3973
|
gap: number;
|
|
3852
3974
|
paddingHorizontal: number;
|
|
3853
3975
|
paddingVertical: number;
|
|
@@ -3858,6 +3980,10 @@ interface ComponentTheme {
|
|
|
3858
3980
|
'toast/variant/error/icon/rest': {
|
|
3859
3981
|
color: string;
|
|
3860
3982
|
};
|
|
3983
|
+
'toast/variant/error/root/rest': {
|
|
3984
|
+
backgroundColor: string;
|
|
3985
|
+
borderColor: string;
|
|
3986
|
+
};
|
|
3861
3987
|
'toast/variant/error/rootText/rest': {
|
|
3862
3988
|
color: string;
|
|
3863
3989
|
};
|
|
@@ -3867,6 +3993,10 @@ interface ComponentTheme {
|
|
|
3867
3993
|
'toast/variant/info/icon/rest': {
|
|
3868
3994
|
color: string;
|
|
3869
3995
|
};
|
|
3996
|
+
'toast/variant/info/root/rest': {
|
|
3997
|
+
backgroundColor: string;
|
|
3998
|
+
borderColor: string;
|
|
3999
|
+
};
|
|
3870
4000
|
'toast/variant/info/rootText/rest': {
|
|
3871
4001
|
color: string;
|
|
3872
4002
|
};
|
|
@@ -3876,6 +4006,10 @@ interface ComponentTheme {
|
|
|
3876
4006
|
'toast/variant/loading/icon/rest': {
|
|
3877
4007
|
color: string;
|
|
3878
4008
|
};
|
|
4009
|
+
'toast/variant/loading/root/rest': {
|
|
4010
|
+
backgroundColor: string;
|
|
4011
|
+
borderColor: string;
|
|
4012
|
+
};
|
|
3879
4013
|
'toast/variant/loading/rootText/rest': {
|
|
3880
4014
|
color: string;
|
|
3881
4015
|
};
|
|
@@ -3885,6 +4019,10 @@ interface ComponentTheme {
|
|
|
3885
4019
|
'toast/variant/success/icon/rest': {
|
|
3886
4020
|
color: string;
|
|
3887
4021
|
};
|
|
4022
|
+
'toast/variant/success/root/rest': {
|
|
4023
|
+
backgroundColor: string;
|
|
4024
|
+
borderColor: string;
|
|
4025
|
+
};
|
|
3888
4026
|
'toast/variant/success/rootText/rest': {
|
|
3889
4027
|
color: string;
|
|
3890
4028
|
};
|
|
@@ -3894,6 +4032,10 @@ interface ComponentTheme {
|
|
|
3894
4032
|
'toast/variant/warning/icon/rest': {
|
|
3895
4033
|
color: string;
|
|
3896
4034
|
};
|
|
4035
|
+
'toast/variant/warning/root/rest': {
|
|
4036
|
+
backgroundColor: string;
|
|
4037
|
+
borderColor: string;
|
|
4038
|
+
};
|
|
3897
4039
|
'toast/variant/warning/rootText/rest': {
|
|
3898
4040
|
color: string;
|
|
3899
4041
|
};
|
|
@@ -4468,20 +4610,38 @@ export interface AppTheme {
|
|
|
4468
4610
|
'ui5/emphasized': TypographyVariant;
|
|
4469
4611
|
'ui6/emphasized': TypographyVariant;
|
|
4470
4612
|
};
|
|
4471
|
-
shadow:
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4613
|
+
shadow: Record<string, number>;
|
|
4614
|
+
boxShadow: {
|
|
4615
|
+
drop: {
|
|
4616
|
+
'elevation-0': string;
|
|
4617
|
+
'elevation-1': string;
|
|
4618
|
+
'elevation-2': string;
|
|
4619
|
+
'elevation-3': string;
|
|
4620
|
+
'elevation-4': string;
|
|
4621
|
+
'elevation-5': string;
|
|
4622
|
+
none: string;
|
|
4623
|
+
xs: string;
|
|
4624
|
+
sm: string;
|
|
4625
|
+
md: string;
|
|
4626
|
+
lg: string;
|
|
4627
|
+
xl: string;
|
|
4628
|
+
'2xl': string;
|
|
4629
|
+
};
|
|
4630
|
+
inset: {
|
|
4631
|
+
none: string;
|
|
4632
|
+
xs: string;
|
|
4633
|
+
sm: string;
|
|
4634
|
+
md: string;
|
|
4635
|
+
lg: string;
|
|
4636
|
+
xl: string;
|
|
4637
|
+
'2xl': string;
|
|
4638
|
+
'xs-invert': string;
|
|
4639
|
+
'sm-invert': string;
|
|
4640
|
+
'md-invert': string;
|
|
4641
|
+
'lg-invert': string;
|
|
4642
|
+
'xl-invert': string;
|
|
4643
|
+
'2xl-invert': string;
|
|
4644
|
+
};
|
|
4485
4645
|
};
|
|
4486
4646
|
components: ComponentTheme;
|
|
4487
4647
|
}
|