@workday/canvas-kit-docs 12.0.0-alpha.855-next.0 → 12.0.0-alpha.862-next.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/es6/lib/docs.js +826 -195
- package/dist/es6/lib/specs.js +1 -1
- package/dist/mdx/12.0-UPGRADE-GUIDE.mdx +13 -3
- package/dist/mdx/react/_examples/examples/GlobalHeader.tsx +1 -1
- package/dist/mdx/react/avatar/avatar/Avatar.mdx +93 -0
- package/dist/mdx/react/avatar/avatar/examples/Basic.tsx +18 -0
- package/dist/mdx/react/avatar/avatar/examples/Button.tsx +21 -0
- package/dist/mdx/react/avatar/avatar/examples/CustomStyles.tsx +35 -0
- package/dist/mdx/react/avatar/avatar/examples/Image.tsx +26 -0
- package/dist/mdx/react/avatar/avatar/examples/LazyLoad.tsx +15 -0
- package/dist/mdx/react/avatar/avatar/examples/ObjectFit.tsx +25 -0
- package/dist/mdx/react/avatar/avatar/examples/Size.tsx +28 -0
- package/dist/mdx/react/avatar/avatar/examples/Variant.tsx +11 -0
- package/package.json +6 -6
package/dist/es6/lib/docs.js
CHANGED
|
@@ -1380,11 +1380,19 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
1380
1380
|
"name": "variant",
|
|
1381
1381
|
"required": false,
|
|
1382
1382
|
"type": {
|
|
1383
|
-
"kind": "
|
|
1384
|
-
"
|
|
1385
|
-
|
|
1383
|
+
"kind": "union",
|
|
1384
|
+
"value": [
|
|
1385
|
+
{
|
|
1386
|
+
"kind": "string",
|
|
1387
|
+
"value": "light"
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
"kind": "string",
|
|
1391
|
+
"value": "dark"
|
|
1392
|
+
}
|
|
1393
|
+
]
|
|
1386
1394
|
},
|
|
1387
|
-
"description": "The variant of the
|
|
1395
|
+
"description": "The variant of the avatar. Use `light` on dark backgrounds and `dark` on light backgrounds.",
|
|
1388
1396
|
"declarations": [
|
|
1389
1397
|
{
|
|
1390
1398
|
"name": "variant",
|
|
@@ -1392,39 +1400,13 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
1392
1400
|
}
|
|
1393
1401
|
],
|
|
1394
1402
|
"tags": {
|
|
1395
|
-
"default": "
|
|
1403
|
+
"default": "\"light\""
|
|
1396
1404
|
},
|
|
1397
1405
|
"defaultValue": {
|
|
1398
|
-
"kind": "
|
|
1399
|
-
"
|
|
1400
|
-
"value": "AvatarVariant.Light"
|
|
1406
|
+
"kind": "string",
|
|
1407
|
+
"value": "light"
|
|
1401
1408
|
}
|
|
1402
1409
|
},
|
|
1403
|
-
{
|
|
1404
|
-
"kind": "property",
|
|
1405
|
-
"name": "ref",
|
|
1406
|
-
"required": false,
|
|
1407
|
-
"type": {
|
|
1408
|
-
"kind": "external",
|
|
1409
|
-
"name": "Ref",
|
|
1410
|
-
"url": "https://reactjs.org/docs/refs-and-the-dom.html",
|
|
1411
|
-
"typeParameters": [
|
|
1412
|
-
{
|
|
1413
|
-
"kind": "symbol",
|
|
1414
|
-
"name": "HTMLButtonElement",
|
|
1415
|
-
"value": "HTMLButtonElement"
|
|
1416
|
-
}
|
|
1417
|
-
]
|
|
1418
|
-
},
|
|
1419
|
-
"description": "",
|
|
1420
|
-
"declarations": [
|
|
1421
|
-
{
|
|
1422
|
-
"name": "ref",
|
|
1423
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/avatar/lib/Avatar.tsx"
|
|
1424
|
-
}
|
|
1425
|
-
],
|
|
1426
|
-
"tags": {}
|
|
1427
|
-
},
|
|
1428
1410
|
{
|
|
1429
1411
|
"kind": "property",
|
|
1430
1412
|
"name": "objectFit",
|
|
@@ -1434,14 +1416,20 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
1434
1416
|
"name": "Property.ObjectFit",
|
|
1435
1417
|
"url": "https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit"
|
|
1436
1418
|
},
|
|
1437
|
-
"description": "
|
|
1419
|
+
"description": "An objectFit property that can customize how to resize your image to fit its container.",
|
|
1438
1420
|
"declarations": [
|
|
1439
1421
|
{
|
|
1440
1422
|
"name": "objectFit",
|
|
1441
1423
|
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/avatar/lib/Avatar.tsx"
|
|
1442
1424
|
}
|
|
1443
1425
|
],
|
|
1444
|
-
"tags": {
|
|
1426
|
+
"tags": {
|
|
1427
|
+
"default": "\"contain\""
|
|
1428
|
+
},
|
|
1429
|
+
"defaultValue": {
|
|
1430
|
+
"kind": "string",
|
|
1431
|
+
"value": "contain"
|
|
1432
|
+
}
|
|
1445
1433
|
},
|
|
1446
1434
|
{
|
|
1447
1435
|
"kind": "property",
|
|
@@ -1451,17 +1439,48 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
1451
1439
|
"kind": "union",
|
|
1452
1440
|
"value": [
|
|
1453
1441
|
{
|
|
1454
|
-
"kind": "
|
|
1455
|
-
"
|
|
1456
|
-
"value": "SystemIconCircleSize"
|
|
1442
|
+
"kind": "string",
|
|
1443
|
+
"value": "extraSmall"
|
|
1457
1444
|
},
|
|
1458
1445
|
{
|
|
1459
|
-
"kind": "
|
|
1460
|
-
"value": "
|
|
1446
|
+
"kind": "string",
|
|
1447
|
+
"value": "small"
|
|
1448
|
+
},
|
|
1449
|
+
{
|
|
1450
|
+
"kind": "string",
|
|
1451
|
+
"value": "medium"
|
|
1452
|
+
},
|
|
1453
|
+
{
|
|
1454
|
+
"kind": "string",
|
|
1455
|
+
"value": "large"
|
|
1456
|
+
},
|
|
1457
|
+
{
|
|
1458
|
+
"kind": "string",
|
|
1459
|
+
"value": "extraLarge"
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
"kind": "string",
|
|
1463
|
+
"value": "extraExtraLarge"
|
|
1464
|
+
},
|
|
1465
|
+
{
|
|
1466
|
+
"kind": "parenthesis",
|
|
1467
|
+
"value": {
|
|
1468
|
+
"kind": "intersection",
|
|
1469
|
+
"value": [
|
|
1470
|
+
{
|
|
1471
|
+
"kind": "primitive",
|
|
1472
|
+
"value": "string"
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
"kind": "object",
|
|
1476
|
+
"properties": []
|
|
1477
|
+
}
|
|
1478
|
+
]
|
|
1479
|
+
}
|
|
1461
1480
|
}
|
|
1462
1481
|
]
|
|
1463
1482
|
},
|
|
1464
|
-
"description": "The size of the Avatar.",
|
|
1483
|
+
"description": "The size of the Avatar.\n- `extraExtraLarge`: 7.5rem x 7.5rem (120px x 120px)\n- `extraLarge`: 4.5rem x 4.5rem (64px x 64px)\n- `large`: 2.5rem x 2.5rem (40px x 40px)\n- `medium`: 2rem x 2rem (32px x 32px)\n- `small`: 1.5rem x 1.5rem (24px x 24px)\n- `small`: 1rem x 1rem (16px x 16px)",
|
|
1465
1484
|
"declarations": [
|
|
1466
1485
|
{
|
|
1467
1486
|
"name": "size",
|
|
@@ -1469,12 +1488,11 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
1469
1488
|
}
|
|
1470
1489
|
],
|
|
1471
1490
|
"tags": {
|
|
1472
|
-
"default": "
|
|
1491
|
+
"default": "\"medium\""
|
|
1473
1492
|
},
|
|
1474
1493
|
"defaultValue": {
|
|
1475
|
-
"kind": "
|
|
1476
|
-
"
|
|
1477
|
-
"value": "SystemIconCircleSize.m"
|
|
1494
|
+
"kind": "string",
|
|
1495
|
+
"value": "medium"
|
|
1478
1496
|
}
|
|
1479
1497
|
},
|
|
1480
1498
|
{
|
|
@@ -1485,7 +1503,7 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
1485
1503
|
"kind": "primitive",
|
|
1486
1504
|
"value": "string"
|
|
1487
1505
|
},
|
|
1488
|
-
"description": "The alt text of the Avatar image. This prop is also used for the aria-label",
|
|
1506
|
+
"description": "The alt text of the Avatar image. This prop is also used for the aria-label.",
|
|
1489
1507
|
"declarations": [
|
|
1490
1508
|
{
|
|
1491
1509
|
"name": "altText",
|
|
@@ -1509,7 +1527,7 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
1509
1527
|
"kind": "primitive",
|
|
1510
1528
|
"value": "string"
|
|
1511
1529
|
},
|
|
1512
|
-
"description": "The
|
|
1530
|
+
"description": "The URL of the user's photo. For best fit, use square images.",
|
|
1513
1531
|
"declarations": [
|
|
1514
1532
|
{
|
|
1515
1533
|
"name": "url",
|
|
@@ -11005,11 +11023,19 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
11005
11023
|
"name": "variant",
|
|
11006
11024
|
"required": false,
|
|
11007
11025
|
"type": {
|
|
11008
|
-
"kind": "
|
|
11009
|
-
"
|
|
11010
|
-
|
|
11026
|
+
"kind": "union",
|
|
11027
|
+
"value": [
|
|
11028
|
+
{
|
|
11029
|
+
"kind": "string",
|
|
11030
|
+
"value": "light"
|
|
11031
|
+
},
|
|
11032
|
+
{
|
|
11033
|
+
"kind": "string",
|
|
11034
|
+
"value": "dark"
|
|
11035
|
+
}
|
|
11036
|
+
]
|
|
11011
11037
|
},
|
|
11012
|
-
"description": "The variant of the
|
|
11038
|
+
"description": "The variant of the avatar. Use `light` on dark backgrounds and `dark` on light backgrounds.",
|
|
11013
11039
|
"declarations": [
|
|
11014
11040
|
{
|
|
11015
11041
|
"name": "variant",
|
|
@@ -11017,12 +11043,11 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
11017
11043
|
}
|
|
11018
11044
|
],
|
|
11019
11045
|
"tags": {
|
|
11020
|
-
"default": "
|
|
11046
|
+
"default": "\"light\""
|
|
11021
11047
|
},
|
|
11022
11048
|
"defaultValue": {
|
|
11023
|
-
"kind": "
|
|
11024
|
-
"
|
|
11025
|
-
"value": "AvatarVariant.Light"
|
|
11049
|
+
"kind": "string",
|
|
11050
|
+
"value": "light"
|
|
11026
11051
|
}
|
|
11027
11052
|
},
|
|
11028
11053
|
{
|
|
@@ -11033,17 +11058,48 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
11033
11058
|
"kind": "union",
|
|
11034
11059
|
"value": [
|
|
11035
11060
|
{
|
|
11036
|
-
"kind": "
|
|
11037
|
-
"
|
|
11038
|
-
"value": "SystemIconCircleSize"
|
|
11061
|
+
"kind": "string",
|
|
11062
|
+
"value": "extraSmall"
|
|
11039
11063
|
},
|
|
11040
11064
|
{
|
|
11041
|
-
"kind": "
|
|
11042
|
-
"value": "
|
|
11065
|
+
"kind": "string",
|
|
11066
|
+
"value": "small"
|
|
11067
|
+
},
|
|
11068
|
+
{
|
|
11069
|
+
"kind": "string",
|
|
11070
|
+
"value": "medium"
|
|
11071
|
+
},
|
|
11072
|
+
{
|
|
11073
|
+
"kind": "string",
|
|
11074
|
+
"value": "large"
|
|
11075
|
+
},
|
|
11076
|
+
{
|
|
11077
|
+
"kind": "string",
|
|
11078
|
+
"value": "extraLarge"
|
|
11079
|
+
},
|
|
11080
|
+
{
|
|
11081
|
+
"kind": "string",
|
|
11082
|
+
"value": "extraExtraLarge"
|
|
11083
|
+
},
|
|
11084
|
+
{
|
|
11085
|
+
"kind": "parenthesis",
|
|
11086
|
+
"value": {
|
|
11087
|
+
"kind": "intersection",
|
|
11088
|
+
"value": [
|
|
11089
|
+
{
|
|
11090
|
+
"kind": "primitive",
|
|
11091
|
+
"value": "string"
|
|
11092
|
+
},
|
|
11093
|
+
{
|
|
11094
|
+
"kind": "object",
|
|
11095
|
+
"properties": []
|
|
11096
|
+
}
|
|
11097
|
+
]
|
|
11098
|
+
}
|
|
11043
11099
|
}
|
|
11044
11100
|
]
|
|
11045
11101
|
},
|
|
11046
|
-
"description": "The size of the Avatar.",
|
|
11102
|
+
"description": "The size of the Avatar.\n- `extraExtraLarge`: 7.5rem x 7.5rem (120px x 120px)\n- `extraLarge`: 4.5rem x 4.5rem (64px x 64px)\n- `large`: 2.5rem x 2.5rem (40px x 40px)\n- `medium`: 2rem x 2rem (32px x 32px)\n- `small`: 1.5rem x 1.5rem (24px x 24px)\n- `small`: 1rem x 1rem (16px x 16px)",
|
|
11047
11103
|
"declarations": [
|
|
11048
11104
|
{
|
|
11049
11105
|
"name": "size",
|
|
@@ -11051,12 +11107,11 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
11051
11107
|
}
|
|
11052
11108
|
],
|
|
11053
11109
|
"tags": {
|
|
11054
|
-
"default": "
|
|
11110
|
+
"default": "\"medium\""
|
|
11055
11111
|
},
|
|
11056
11112
|
"defaultValue": {
|
|
11057
|
-
"kind": "
|
|
11058
|
-
"
|
|
11059
|
-
"value": "SystemIconCircleSize.m"
|
|
11113
|
+
"kind": "string",
|
|
11114
|
+
"value": "medium"
|
|
11060
11115
|
}
|
|
11061
11116
|
},
|
|
11062
11117
|
{
|
|
@@ -11067,7 +11122,7 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
11067
11122
|
"kind": "primitive",
|
|
11068
11123
|
"value": "string"
|
|
11069
11124
|
},
|
|
11070
|
-
"description": "The alt text of the Avatar image. This prop is also used for the aria-label",
|
|
11125
|
+
"description": "The alt text of the Avatar image. This prop is also used for the aria-label.",
|
|
11071
11126
|
"declarations": [
|
|
11072
11127
|
{
|
|
11073
11128
|
"name": "altText",
|
|
@@ -11091,7 +11146,7 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
11091
11146
|
"kind": "primitive",
|
|
11092
11147
|
"value": "string"
|
|
11093
11148
|
},
|
|
11094
|
-
"description": "The
|
|
11149
|
+
"description": "The URL of the user's photo. For best fit, use square images.",
|
|
11095
11150
|
"declarations": [
|
|
11096
11151
|
{
|
|
11097
11152
|
"name": "url",
|
|
@@ -11100,27 +11155,6 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
11100
11155
|
],
|
|
11101
11156
|
"tags": {}
|
|
11102
11157
|
},
|
|
11103
|
-
{
|
|
11104
|
-
"kind": "property",
|
|
11105
|
-
"name": "as",
|
|
11106
|
-
"required": false,
|
|
11107
|
-
"type": {
|
|
11108
|
-
"kind": "string",
|
|
11109
|
-
"value": "div"
|
|
11110
|
-
},
|
|
11111
|
-
"description": "The alternative container type for the button. Uses Emotion's special `as` prop.\nWill render an `div` tag instead of a `button` when defined.",
|
|
11112
|
-
"declarations": [
|
|
11113
|
-
{
|
|
11114
|
-
"name": "as",
|
|
11115
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/avatar/lib/Avatar.tsx"
|
|
11116
|
-
}
|
|
11117
|
-
],
|
|
11118
|
-
"tags": {},
|
|
11119
|
-
"defaultValue": {
|
|
11120
|
-
"kind": "string",
|
|
11121
|
-
"value": "div"
|
|
11122
|
-
}
|
|
11123
|
-
},
|
|
11124
11158
|
{
|
|
11125
11159
|
"kind": "property",
|
|
11126
11160
|
"name": "objectFit",
|
|
@@ -11130,14 +11164,20 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
11130
11164
|
"name": "Property.ObjectFit",
|
|
11131
11165
|
"url": "https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit"
|
|
11132
11166
|
},
|
|
11133
|
-
"description": "
|
|
11167
|
+
"description": "An objectFit property that can customize how to resize your image to fit its container.",
|
|
11134
11168
|
"declarations": [
|
|
11135
11169
|
{
|
|
11136
11170
|
"name": "objectFit",
|
|
11137
11171
|
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/avatar/lib/Avatar.tsx"
|
|
11138
11172
|
}
|
|
11139
11173
|
],
|
|
11140
|
-
"tags": {
|
|
11174
|
+
"tags": {
|
|
11175
|
+
"default": "\"contain\""
|
|
11176
|
+
},
|
|
11177
|
+
"defaultValue": {
|
|
11178
|
+
"kind": "string",
|
|
11179
|
+
"value": "contain"
|
|
11180
|
+
}
|
|
11141
11181
|
},
|
|
11142
11182
|
{
|
|
11143
11183
|
"kind": "property",
|
|
@@ -11164,8 +11204,8 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
11164
11204
|
},
|
|
11165
11205
|
"defaultValue": {
|
|
11166
11206
|
"kind": "external",
|
|
11167
|
-
"name": "
|
|
11168
|
-
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/
|
|
11207
|
+
"name": "div",
|
|
11208
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div"
|
|
11169
11209
|
}
|
|
11170
11210
|
},
|
|
11171
11211
|
{
|
|
@@ -11185,8 +11225,8 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
11185
11225
|
"required": true,
|
|
11186
11226
|
"defaultValue": {
|
|
11187
11227
|
"kind": "external",
|
|
11188
|
-
"name": "
|
|
11189
|
-
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/
|
|
11228
|
+
"name": "div",
|
|
11229
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div"
|
|
11190
11230
|
}
|
|
11191
11231
|
}
|
|
11192
11232
|
]
|
|
@@ -11246,8 +11286,8 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
11246
11286
|
],
|
|
11247
11287
|
"baseElement": {
|
|
11248
11288
|
"kind": "external",
|
|
11249
|
-
"name": "
|
|
11250
|
-
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/
|
|
11289
|
+
"name": "div",
|
|
11290
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div"
|
|
11251
11291
|
},
|
|
11252
11292
|
"model": "PillModel"
|
|
11253
11293
|
}
|
|
@@ -37160,64 +37200,618 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
37160
37200
|
}
|
|
37161
37201
|
},
|
|
37162
37202
|
{
|
|
37163
|
-
"name": "
|
|
37203
|
+
"name": "AvatarProps",
|
|
37164
37204
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/avatar/lib/Avatar.tsx",
|
|
37165
37205
|
"description": "",
|
|
37166
37206
|
"declarations": [
|
|
37167
37207
|
{
|
|
37168
|
-
"name": "
|
|
37208
|
+
"name": "AvatarProps",
|
|
37169
37209
|
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/avatar/lib/Avatar.tsx"
|
|
37170
37210
|
}
|
|
37171
37211
|
],
|
|
37172
37212
|
"tags": {},
|
|
37173
37213
|
"type": {
|
|
37174
|
-
"kind": "
|
|
37175
|
-
"
|
|
37176
|
-
|
|
37214
|
+
"kind": "alias",
|
|
37215
|
+
"name": "Avatar"
|
|
37216
|
+
}
|
|
37217
|
+
},
|
|
37218
|
+
{
|
|
37219
|
+
"name": "avatarStencil",
|
|
37220
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/avatar/lib/Avatar.tsx",
|
|
37221
|
+
"description": "",
|
|
37222
|
+
"declarations": [
|
|
37223
|
+
{
|
|
37224
|
+
"name": "avatarStencil",
|
|
37225
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/avatar/lib/Avatar.tsx"
|
|
37226
|
+
}
|
|
37227
|
+
],
|
|
37228
|
+
"tags": {},
|
|
37229
|
+
"type": {
|
|
37230
|
+
"kind": "function",
|
|
37231
|
+
"parameters": [
|
|
37232
|
+
{
|
|
37233
|
+
"kind": "parameter",
|
|
37234
|
+
"name": "options",
|
|
37235
|
+
"type": {
|
|
37236
|
+
"kind": "conditional",
|
|
37237
|
+
"check": {
|
|
37238
|
+
"kind": "tuple",
|
|
37239
|
+
"value": [
|
|
37240
|
+
{
|
|
37241
|
+
"kind": "symbol",
|
|
37242
|
+
"name": "E",
|
|
37243
|
+
"value": "E"
|
|
37244
|
+
}
|
|
37245
|
+
]
|
|
37246
|
+
},
|
|
37247
|
+
"extends": {
|
|
37248
|
+
"kind": "tuple",
|
|
37249
|
+
"value": [
|
|
37250
|
+
{
|
|
37251
|
+
"kind": "primitive",
|
|
37252
|
+
"value": "never"
|
|
37253
|
+
}
|
|
37254
|
+
]
|
|
37255
|
+
},
|
|
37256
|
+
"trueType": {
|
|
37257
|
+
"kind": "intersection",
|
|
37258
|
+
"value": [
|
|
37259
|
+
{
|
|
37260
|
+
"kind": "symbol",
|
|
37261
|
+
"name": "ModifierValuesStencil",
|
|
37262
|
+
"typeParameters": [
|
|
37263
|
+
{
|
|
37264
|
+
"kind": "symbol",
|
|
37265
|
+
"name": "M",
|
|
37266
|
+
"value": "M"
|
|
37267
|
+
},
|
|
37268
|
+
{
|
|
37269
|
+
"kind": "symbol",
|
|
37270
|
+
"name": "V",
|
|
37271
|
+
"value": "V"
|
|
37272
|
+
}
|
|
37273
|
+
],
|
|
37274
|
+
"value": "ModifierValuesStencil<M, V>"
|
|
37275
|
+
},
|
|
37276
|
+
{
|
|
37277
|
+
"kind": "symbol",
|
|
37278
|
+
"name": "VariableValuesStencil",
|
|
37279
|
+
"typeParameters": [
|
|
37280
|
+
{
|
|
37281
|
+
"kind": "symbol",
|
|
37282
|
+
"name": "V",
|
|
37283
|
+
"value": "V"
|
|
37284
|
+
}
|
|
37285
|
+
],
|
|
37286
|
+
"value": "VariableValuesStencil<V>"
|
|
37287
|
+
}
|
|
37288
|
+
]
|
|
37289
|
+
},
|
|
37290
|
+
"falseType": {
|
|
37291
|
+
"kind": "conditional",
|
|
37292
|
+
"check": {
|
|
37293
|
+
"kind": "symbol",
|
|
37294
|
+
"name": "E",
|
|
37295
|
+
"value": "E"
|
|
37296
|
+
},
|
|
37297
|
+
"extends": {
|
|
37298
|
+
"kind": "symbol",
|
|
37299
|
+
"name": "BaseStencil",
|
|
37300
|
+
"typeParameters": [
|
|
37301
|
+
{
|
|
37302
|
+
"kind": "infer",
|
|
37303
|
+
"value": {
|
|
37304
|
+
"kind": "typeParameter",
|
|
37305
|
+
"name": "ME",
|
|
37306
|
+
"required": true
|
|
37307
|
+
}
|
|
37308
|
+
},
|
|
37309
|
+
{
|
|
37310
|
+
"kind": "infer",
|
|
37311
|
+
"value": {
|
|
37312
|
+
"kind": "typeParameter",
|
|
37313
|
+
"name": "VE",
|
|
37314
|
+
"required": true
|
|
37315
|
+
}
|
|
37316
|
+
},
|
|
37317
|
+
{
|
|
37318
|
+
"kind": "primitive",
|
|
37319
|
+
"value": "any"
|
|
37320
|
+
},
|
|
37321
|
+
{
|
|
37322
|
+
"kind": "primitive",
|
|
37323
|
+
"value": "any"
|
|
37324
|
+
}
|
|
37325
|
+
],
|
|
37326
|
+
"value": "BaseStencil<M, V, E, ID>"
|
|
37327
|
+
},
|
|
37328
|
+
"trueType": {
|
|
37329
|
+
"kind": "intersection",
|
|
37330
|
+
"value": [
|
|
37331
|
+
{
|
|
37332
|
+
"kind": "symbol",
|
|
37333
|
+
"name": "ModifierValuesStencil",
|
|
37334
|
+
"typeParameters": [
|
|
37335
|
+
{
|
|
37336
|
+
"kind": "intersection",
|
|
37337
|
+
"value": [
|
|
37338
|
+
{
|
|
37339
|
+
"kind": "symbol",
|
|
37340
|
+
"name": "ME",
|
|
37341
|
+
"value": "ME"
|
|
37342
|
+
},
|
|
37343
|
+
{
|
|
37344
|
+
"kind": "symbol",
|
|
37345
|
+
"name": "M",
|
|
37346
|
+
"value": "M"
|
|
37347
|
+
}
|
|
37348
|
+
]
|
|
37349
|
+
}
|
|
37350
|
+
],
|
|
37351
|
+
"value": "ModifierValuesStencil<M, V>"
|
|
37352
|
+
},
|
|
37353
|
+
{
|
|
37354
|
+
"kind": "symbol",
|
|
37355
|
+
"name": "VariableValuesStencil",
|
|
37356
|
+
"typeParameters": [
|
|
37357
|
+
{
|
|
37358
|
+
"kind": "intersection",
|
|
37359
|
+
"value": [
|
|
37360
|
+
{
|
|
37361
|
+
"kind": "symbol",
|
|
37362
|
+
"name": "VE",
|
|
37363
|
+
"value": "VE"
|
|
37364
|
+
},
|
|
37365
|
+
{
|
|
37366
|
+
"kind": "symbol",
|
|
37367
|
+
"name": "V",
|
|
37368
|
+
"value": "V"
|
|
37369
|
+
}
|
|
37370
|
+
]
|
|
37371
|
+
}
|
|
37372
|
+
],
|
|
37373
|
+
"value": "VariableValuesStencil<V>"
|
|
37374
|
+
}
|
|
37375
|
+
]
|
|
37376
|
+
},
|
|
37377
|
+
"falseType": {
|
|
37378
|
+
"kind": "primitive",
|
|
37379
|
+
"value": "never"
|
|
37380
|
+
}
|
|
37381
|
+
}
|
|
37382
|
+
},
|
|
37383
|
+
"required": false,
|
|
37384
|
+
"rest": false,
|
|
37385
|
+
"description": "",
|
|
37386
|
+
"declarations": [
|
|
37387
|
+
{
|
|
37388
|
+
"name": "options",
|
|
37389
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
37390
|
+
}
|
|
37391
|
+
],
|
|
37392
|
+
"tags": {}
|
|
37393
|
+
}
|
|
37394
|
+
],
|
|
37395
|
+
"members": [
|
|
37177
37396
|
{
|
|
37178
37397
|
"kind": "property",
|
|
37179
|
-
"name": "
|
|
37398
|
+
"name": "vars",
|
|
37399
|
+
"required": true,
|
|
37180
37400
|
"type": {
|
|
37181
|
-
"kind": "
|
|
37182
|
-
"
|
|
37183
|
-
|
|
37401
|
+
"kind": "symbol",
|
|
37402
|
+
"name": "StencilDefaultVars",
|
|
37403
|
+
"typeParameters": [
|
|
37404
|
+
{
|
|
37405
|
+
"kind": "symbol",
|
|
37406
|
+
"name": "V",
|
|
37407
|
+
"value": "V"
|
|
37408
|
+
},
|
|
37409
|
+
{
|
|
37410
|
+
"kind": "symbol",
|
|
37411
|
+
"name": "E",
|
|
37412
|
+
"value": "E"
|
|
37413
|
+
},
|
|
37414
|
+
{
|
|
37415
|
+
"kind": "symbol",
|
|
37416
|
+
"name": "ID",
|
|
37417
|
+
"value": "ID"
|
|
37418
|
+
}
|
|
37419
|
+
],
|
|
37420
|
+
"value": "StencilDefaultVars<V, E, ID>"
|
|
37421
|
+
},
|
|
37422
|
+
"description": "",
|
|
37423
|
+
"declarations": [
|
|
37424
|
+
{
|
|
37425
|
+
"name": "vars",
|
|
37426
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
37427
|
+
}
|
|
37428
|
+
],
|
|
37429
|
+
"tags": {}
|
|
37184
37430
|
},
|
|
37185
37431
|
{
|
|
37186
37432
|
"kind": "property",
|
|
37187
|
-
"name": "
|
|
37433
|
+
"name": "base",
|
|
37434
|
+
"required": true,
|
|
37188
37435
|
"type": {
|
|
37189
|
-
"kind": "
|
|
37190
|
-
"value":
|
|
37191
|
-
}
|
|
37436
|
+
"kind": "primitive",
|
|
37437
|
+
"value": "string"
|
|
37438
|
+
},
|
|
37439
|
+
"description": "",
|
|
37440
|
+
"declarations": [
|
|
37441
|
+
{
|
|
37442
|
+
"name": "base",
|
|
37443
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
37444
|
+
}
|
|
37445
|
+
],
|
|
37446
|
+
"tags": {}
|
|
37447
|
+
},
|
|
37448
|
+
{
|
|
37449
|
+
"kind": "property",
|
|
37450
|
+
"name": "modifiers",
|
|
37451
|
+
"required": true,
|
|
37452
|
+
"type": {
|
|
37453
|
+
"kind": "conditional",
|
|
37454
|
+
"check": {
|
|
37455
|
+
"kind": "tuple",
|
|
37456
|
+
"value": [
|
|
37457
|
+
{
|
|
37458
|
+
"kind": "symbol",
|
|
37459
|
+
"name": "E",
|
|
37460
|
+
"value": "E"
|
|
37461
|
+
}
|
|
37462
|
+
]
|
|
37463
|
+
},
|
|
37464
|
+
"extends": {
|
|
37465
|
+
"kind": "tuple",
|
|
37466
|
+
"value": [
|
|
37467
|
+
{
|
|
37468
|
+
"kind": "symbol",
|
|
37469
|
+
"name": "BaseStencil",
|
|
37470
|
+
"typeParameters": [
|
|
37471
|
+
{
|
|
37472
|
+
"kind": "infer",
|
|
37473
|
+
"value": {
|
|
37474
|
+
"kind": "typeParameter",
|
|
37475
|
+
"name": "ME",
|
|
37476
|
+
"required": true
|
|
37477
|
+
}
|
|
37478
|
+
},
|
|
37479
|
+
{
|
|
37480
|
+
"kind": "infer",
|
|
37481
|
+
"value": {
|
|
37482
|
+
"kind": "typeParameter",
|
|
37483
|
+
"name": "VE",
|
|
37484
|
+
"required": true
|
|
37485
|
+
}
|
|
37486
|
+
},
|
|
37487
|
+
{
|
|
37488
|
+
"kind": "primitive",
|
|
37489
|
+
"value": "any"
|
|
37490
|
+
},
|
|
37491
|
+
{
|
|
37492
|
+
"kind": "primitive",
|
|
37493
|
+
"value": "any"
|
|
37494
|
+
}
|
|
37495
|
+
],
|
|
37496
|
+
"value": "BaseStencil<M, V, E, ID>"
|
|
37497
|
+
}
|
|
37498
|
+
]
|
|
37499
|
+
},
|
|
37500
|
+
"trueType": {
|
|
37501
|
+
"kind": "symbol",
|
|
37502
|
+
"name": "StencilModifierReturn",
|
|
37503
|
+
"typeParameters": [
|
|
37504
|
+
{
|
|
37505
|
+
"kind": "intersection",
|
|
37506
|
+
"value": [
|
|
37507
|
+
{
|
|
37508
|
+
"kind": "symbol",
|
|
37509
|
+
"name": "ME",
|
|
37510
|
+
"value": "ME"
|
|
37511
|
+
},
|
|
37512
|
+
{
|
|
37513
|
+
"kind": "symbol",
|
|
37514
|
+
"name": "M",
|
|
37515
|
+
"value": "M"
|
|
37516
|
+
}
|
|
37517
|
+
]
|
|
37518
|
+
},
|
|
37519
|
+
{
|
|
37520
|
+
"kind": "intersection",
|
|
37521
|
+
"value": [
|
|
37522
|
+
{
|
|
37523
|
+
"kind": "symbol",
|
|
37524
|
+
"name": "VE",
|
|
37525
|
+
"value": "VE"
|
|
37526
|
+
},
|
|
37527
|
+
{
|
|
37528
|
+
"kind": "symbol",
|
|
37529
|
+
"name": "V",
|
|
37530
|
+
"value": "V"
|
|
37531
|
+
}
|
|
37532
|
+
]
|
|
37533
|
+
}
|
|
37534
|
+
],
|
|
37535
|
+
"value": "StencilModifierReturn<M, V>"
|
|
37536
|
+
},
|
|
37537
|
+
"falseType": {
|
|
37538
|
+
"kind": "symbol",
|
|
37539
|
+
"name": "StencilModifierReturn",
|
|
37540
|
+
"typeParameters": [
|
|
37541
|
+
{
|
|
37542
|
+
"kind": "symbol",
|
|
37543
|
+
"name": "M",
|
|
37544
|
+
"value": "M"
|
|
37545
|
+
},
|
|
37546
|
+
{
|
|
37547
|
+
"kind": "symbol",
|
|
37548
|
+
"name": "V",
|
|
37549
|
+
"value": "V"
|
|
37550
|
+
}
|
|
37551
|
+
],
|
|
37552
|
+
"value": "StencilModifierReturn<M, V>"
|
|
37553
|
+
}
|
|
37554
|
+
},
|
|
37555
|
+
"description": "",
|
|
37556
|
+
"declarations": [
|
|
37557
|
+
{
|
|
37558
|
+
"name": "modifiers",
|
|
37559
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
37560
|
+
}
|
|
37561
|
+
],
|
|
37562
|
+
"tags": {}
|
|
37563
|
+
},
|
|
37564
|
+
{
|
|
37565
|
+
"kind": "property",
|
|
37566
|
+
"name": "defaultModifiers",
|
|
37567
|
+
"required": true,
|
|
37568
|
+
"type": {
|
|
37569
|
+
"kind": "conditional",
|
|
37570
|
+
"check": {
|
|
37571
|
+
"kind": "tuple",
|
|
37572
|
+
"value": [
|
|
37573
|
+
{
|
|
37574
|
+
"kind": "symbol",
|
|
37575
|
+
"name": "E",
|
|
37576
|
+
"value": "E"
|
|
37577
|
+
}
|
|
37578
|
+
]
|
|
37579
|
+
},
|
|
37580
|
+
"extends": {
|
|
37581
|
+
"kind": "tuple",
|
|
37582
|
+
"value": [
|
|
37583
|
+
{
|
|
37584
|
+
"kind": "symbol",
|
|
37585
|
+
"name": "BaseStencil",
|
|
37586
|
+
"typeParameters": [
|
|
37587
|
+
{
|
|
37588
|
+
"kind": "infer",
|
|
37589
|
+
"value": {
|
|
37590
|
+
"kind": "typeParameter",
|
|
37591
|
+
"name": "ME",
|
|
37592
|
+
"required": true
|
|
37593
|
+
}
|
|
37594
|
+
},
|
|
37595
|
+
{
|
|
37596
|
+
"kind": "primitive",
|
|
37597
|
+
"value": "any"
|
|
37598
|
+
},
|
|
37599
|
+
{
|
|
37600
|
+
"kind": "primitive",
|
|
37601
|
+
"value": "any"
|
|
37602
|
+
},
|
|
37603
|
+
{
|
|
37604
|
+
"kind": "primitive",
|
|
37605
|
+
"value": "any"
|
|
37606
|
+
}
|
|
37607
|
+
],
|
|
37608
|
+
"value": "BaseStencil<M, V, E, ID>"
|
|
37609
|
+
}
|
|
37610
|
+
]
|
|
37611
|
+
},
|
|
37612
|
+
"trueType": {
|
|
37613
|
+
"kind": "symbol",
|
|
37614
|
+
"name": "StencilDefaultModifierReturn",
|
|
37615
|
+
"typeParameters": [
|
|
37616
|
+
{
|
|
37617
|
+
"kind": "intersection",
|
|
37618
|
+
"value": [
|
|
37619
|
+
{
|
|
37620
|
+
"kind": "symbol",
|
|
37621
|
+
"name": "ME",
|
|
37622
|
+
"value": "ME"
|
|
37623
|
+
},
|
|
37624
|
+
{
|
|
37625
|
+
"kind": "symbol",
|
|
37626
|
+
"name": "M",
|
|
37627
|
+
"value": "M"
|
|
37628
|
+
}
|
|
37629
|
+
]
|
|
37630
|
+
}
|
|
37631
|
+
],
|
|
37632
|
+
"value": "StencilDefaultModifierReturn<M>"
|
|
37633
|
+
},
|
|
37634
|
+
"falseType": {
|
|
37635
|
+
"kind": "symbol",
|
|
37636
|
+
"name": "StencilDefaultModifierReturn",
|
|
37637
|
+
"typeParameters": [
|
|
37638
|
+
{
|
|
37639
|
+
"kind": "symbol",
|
|
37640
|
+
"name": "M",
|
|
37641
|
+
"value": "M"
|
|
37642
|
+
}
|
|
37643
|
+
],
|
|
37644
|
+
"value": "StencilDefaultModifierReturn<M>"
|
|
37645
|
+
}
|
|
37646
|
+
},
|
|
37647
|
+
"description": "",
|
|
37648
|
+
"declarations": [
|
|
37649
|
+
{
|
|
37650
|
+
"name": "defaultModifiers",
|
|
37651
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
37652
|
+
}
|
|
37653
|
+
],
|
|
37654
|
+
"tags": {}
|
|
37655
|
+
},
|
|
37656
|
+
{
|
|
37657
|
+
"kind": "property",
|
|
37658
|
+
"name": "__extends",
|
|
37659
|
+
"required": false,
|
|
37660
|
+
"type": {
|
|
37661
|
+
"kind": "symbol",
|
|
37662
|
+
"name": "E",
|
|
37663
|
+
"value": "E"
|
|
37664
|
+
},
|
|
37665
|
+
"description": "",
|
|
37666
|
+
"declarations": [
|
|
37667
|
+
{
|
|
37668
|
+
"name": "__extends",
|
|
37669
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
37670
|
+
}
|
|
37671
|
+
],
|
|
37672
|
+
"tags": {}
|
|
37673
|
+
},
|
|
37674
|
+
{
|
|
37675
|
+
"kind": "property",
|
|
37676
|
+
"name": "__vars",
|
|
37677
|
+
"required": true,
|
|
37678
|
+
"type": {
|
|
37679
|
+
"kind": "symbol",
|
|
37680
|
+
"name": "V",
|
|
37681
|
+
"value": "V"
|
|
37682
|
+
},
|
|
37683
|
+
"description": "",
|
|
37684
|
+
"declarations": [
|
|
37685
|
+
{
|
|
37686
|
+
"name": "__vars",
|
|
37687
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
37688
|
+
}
|
|
37689
|
+
],
|
|
37690
|
+
"tags": {}
|
|
37691
|
+
},
|
|
37692
|
+
{
|
|
37693
|
+
"kind": "property",
|
|
37694
|
+
"name": "__modifiers",
|
|
37695
|
+
"required": true,
|
|
37696
|
+
"type": {
|
|
37697
|
+
"kind": "symbol",
|
|
37698
|
+
"name": "M",
|
|
37699
|
+
"value": "M"
|
|
37700
|
+
},
|
|
37701
|
+
"description": "",
|
|
37702
|
+
"declarations": [
|
|
37703
|
+
{
|
|
37704
|
+
"name": "__modifiers",
|
|
37705
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
37706
|
+
}
|
|
37707
|
+
],
|
|
37708
|
+
"tags": {}
|
|
37709
|
+
},
|
|
37710
|
+
{
|
|
37711
|
+
"kind": "property",
|
|
37712
|
+
"name": "__id",
|
|
37713
|
+
"required": true,
|
|
37714
|
+
"type": {
|
|
37715
|
+
"kind": "symbol",
|
|
37716
|
+
"name": "ID",
|
|
37717
|
+
"value": "ID"
|
|
37718
|
+
},
|
|
37719
|
+
"description": "",
|
|
37720
|
+
"declarations": [
|
|
37721
|
+
{
|
|
37722
|
+
"name": "__id",
|
|
37723
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
37724
|
+
}
|
|
37725
|
+
],
|
|
37726
|
+
"tags": {}
|
|
37192
37727
|
}
|
|
37193
37728
|
],
|
|
37194
|
-
"
|
|
37729
|
+
"returnType": {
|
|
37730
|
+
"kind": "object",
|
|
37731
|
+
"properties": [
|
|
37732
|
+
{
|
|
37733
|
+
"kind": "property",
|
|
37734
|
+
"name": "className",
|
|
37735
|
+
"required": true,
|
|
37736
|
+
"type": {
|
|
37737
|
+
"kind": "primitive",
|
|
37738
|
+
"value": "string"
|
|
37739
|
+
},
|
|
37740
|
+
"description": "",
|
|
37741
|
+
"declarations": [
|
|
37742
|
+
{
|
|
37743
|
+
"name": "className",
|
|
37744
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
37745
|
+
}
|
|
37746
|
+
],
|
|
37747
|
+
"tags": {}
|
|
37748
|
+
},
|
|
37749
|
+
{
|
|
37750
|
+
"kind": "property",
|
|
37751
|
+
"name": "style",
|
|
37752
|
+
"required": false,
|
|
37753
|
+
"type": {
|
|
37754
|
+
"kind": "external",
|
|
37755
|
+
"name": "Record",
|
|
37756
|
+
"url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type",
|
|
37757
|
+
"typeParameters": [
|
|
37758
|
+
{
|
|
37759
|
+
"kind": "primitive",
|
|
37760
|
+
"value": "string"
|
|
37761
|
+
},
|
|
37762
|
+
{
|
|
37763
|
+
"kind": "primitive",
|
|
37764
|
+
"value": "string"
|
|
37765
|
+
}
|
|
37766
|
+
]
|
|
37767
|
+
},
|
|
37768
|
+
"description": "",
|
|
37769
|
+
"declarations": [
|
|
37770
|
+
{
|
|
37771
|
+
"name": "style",
|
|
37772
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
37773
|
+
}
|
|
37774
|
+
],
|
|
37775
|
+
"tags": {}
|
|
37776
|
+
}
|
|
37777
|
+
]
|
|
37778
|
+
}
|
|
37195
37779
|
}
|
|
37196
37780
|
},
|
|
37197
37781
|
{
|
|
37198
|
-
"name": "
|
|
37782
|
+
"name": "Avatar",
|
|
37199
37783
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/avatar/lib/Avatar.tsx",
|
|
37200
37784
|
"description": "",
|
|
37201
37785
|
"declarations": [
|
|
37202
37786
|
{
|
|
37203
|
-
"name": "
|
|
37787
|
+
"name": "Avatar",
|
|
37204
37788
|
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/avatar/lib/Avatar.tsx"
|
|
37205
37789
|
}
|
|
37206
37790
|
],
|
|
37207
37791
|
"tags": {},
|
|
37208
37792
|
"type": {
|
|
37209
|
-
"kind": "
|
|
37210
|
-
"
|
|
37793
|
+
"kind": "enhancedComponent",
|
|
37794
|
+
"componentType": "regular",
|
|
37795
|
+
"displayName": "Avatar",
|
|
37796
|
+
"props": [
|
|
37211
37797
|
{
|
|
37212
37798
|
"kind": "property",
|
|
37213
37799
|
"name": "variant",
|
|
37214
37800
|
"required": false,
|
|
37215
37801
|
"type": {
|
|
37216
|
-
"kind": "
|
|
37217
|
-
"
|
|
37218
|
-
|
|
37802
|
+
"kind": "union",
|
|
37803
|
+
"value": [
|
|
37804
|
+
{
|
|
37805
|
+
"kind": "string",
|
|
37806
|
+
"value": "light"
|
|
37807
|
+
},
|
|
37808
|
+
{
|
|
37809
|
+
"kind": "string",
|
|
37810
|
+
"value": "dark"
|
|
37811
|
+
}
|
|
37812
|
+
]
|
|
37219
37813
|
},
|
|
37220
|
-
"description": "The variant of the
|
|
37814
|
+
"description": "The variant of the avatar. Use `light` on dark backgrounds and `dark` on light backgrounds.",
|
|
37221
37815
|
"declarations": [
|
|
37222
37816
|
{
|
|
37223
37817
|
"name": "variant",
|
|
@@ -37225,7 +37819,11 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
37225
37819
|
}
|
|
37226
37820
|
],
|
|
37227
37821
|
"tags": {
|
|
37228
|
-
"default": "
|
|
37822
|
+
"default": "\"light\""
|
|
37823
|
+
},
|
|
37824
|
+
"defaultValue": {
|
|
37825
|
+
"kind": "string",
|
|
37826
|
+
"value": "light"
|
|
37229
37827
|
}
|
|
37230
37828
|
},
|
|
37231
37829
|
{
|
|
@@ -37236,17 +37834,48 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
37236
37834
|
"kind": "union",
|
|
37237
37835
|
"value": [
|
|
37238
37836
|
{
|
|
37239
|
-
"kind": "
|
|
37240
|
-
"
|
|
37241
|
-
"value": "SystemIconCircleSize"
|
|
37837
|
+
"kind": "string",
|
|
37838
|
+
"value": "extraSmall"
|
|
37242
37839
|
},
|
|
37243
37840
|
{
|
|
37244
|
-
"kind": "
|
|
37245
|
-
"value": "
|
|
37841
|
+
"kind": "string",
|
|
37842
|
+
"value": "small"
|
|
37843
|
+
},
|
|
37844
|
+
{
|
|
37845
|
+
"kind": "string",
|
|
37846
|
+
"value": "medium"
|
|
37847
|
+
},
|
|
37848
|
+
{
|
|
37849
|
+
"kind": "string",
|
|
37850
|
+
"value": "large"
|
|
37851
|
+
},
|
|
37852
|
+
{
|
|
37853
|
+
"kind": "string",
|
|
37854
|
+
"value": "extraLarge"
|
|
37855
|
+
},
|
|
37856
|
+
{
|
|
37857
|
+
"kind": "string",
|
|
37858
|
+
"value": "extraExtraLarge"
|
|
37859
|
+
},
|
|
37860
|
+
{
|
|
37861
|
+
"kind": "parenthesis",
|
|
37862
|
+
"value": {
|
|
37863
|
+
"kind": "intersection",
|
|
37864
|
+
"value": [
|
|
37865
|
+
{
|
|
37866
|
+
"kind": "primitive",
|
|
37867
|
+
"value": "string"
|
|
37868
|
+
},
|
|
37869
|
+
{
|
|
37870
|
+
"kind": "object",
|
|
37871
|
+
"properties": []
|
|
37872
|
+
}
|
|
37873
|
+
]
|
|
37874
|
+
}
|
|
37246
37875
|
}
|
|
37247
37876
|
]
|
|
37248
37877
|
},
|
|
37249
|
-
"description": "The size of the Avatar.",
|
|
37878
|
+
"description": "The size of the Avatar.\n- `extraExtraLarge`: 7.5rem x 7.5rem (120px x 120px)\n- `extraLarge`: 4.5rem x 4.5rem (64px x 64px)\n- `large`: 2.5rem x 2.5rem (40px x 40px)\n- `medium`: 2rem x 2rem (32px x 32px)\n- `small`: 1.5rem x 1.5rem (24px x 24px)\n- `small`: 1rem x 1rem (16px x 16px)",
|
|
37250
37879
|
"declarations": [
|
|
37251
37880
|
{
|
|
37252
37881
|
"name": "size",
|
|
@@ -37254,7 +37883,11 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
37254
37883
|
}
|
|
37255
37884
|
],
|
|
37256
37885
|
"tags": {
|
|
37257
|
-
"default": "
|
|
37886
|
+
"default": "\"medium\""
|
|
37887
|
+
},
|
|
37888
|
+
"defaultValue": {
|
|
37889
|
+
"kind": "string",
|
|
37890
|
+
"value": "medium"
|
|
37258
37891
|
}
|
|
37259
37892
|
},
|
|
37260
37893
|
{
|
|
@@ -37265,7 +37898,7 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
37265
37898
|
"kind": "primitive",
|
|
37266
37899
|
"value": "string"
|
|
37267
37900
|
},
|
|
37268
|
-
"description": "The alt text of the Avatar image. This prop is also used for the aria-label",
|
|
37901
|
+
"description": "The alt text of the Avatar image. This prop is also used for the aria-label.",
|
|
37269
37902
|
"declarations": [
|
|
37270
37903
|
{
|
|
37271
37904
|
"name": "altText",
|
|
@@ -37274,6 +37907,10 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
37274
37907
|
],
|
|
37275
37908
|
"tags": {
|
|
37276
37909
|
"default": "Avatar"
|
|
37910
|
+
},
|
|
37911
|
+
"defaultValue": {
|
|
37912
|
+
"kind": "string",
|
|
37913
|
+
"value": "Avatar"
|
|
37277
37914
|
}
|
|
37278
37915
|
},
|
|
37279
37916
|
{
|
|
@@ -37284,7 +37921,7 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
37284
37921
|
"kind": "primitive",
|
|
37285
37922
|
"value": "string"
|
|
37286
37923
|
},
|
|
37287
|
-
"description": "The
|
|
37924
|
+
"description": "The URL of the user's photo. For best fit, use square images.",
|
|
37288
37925
|
"declarations": [
|
|
37289
37926
|
{
|
|
37290
37927
|
"name": "url",
|
|
@@ -37293,23 +37930,6 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
37293
37930
|
],
|
|
37294
37931
|
"tags": {}
|
|
37295
37932
|
},
|
|
37296
|
-
{
|
|
37297
|
-
"kind": "property",
|
|
37298
|
-
"name": "as",
|
|
37299
|
-
"required": false,
|
|
37300
|
-
"type": {
|
|
37301
|
-
"kind": "string",
|
|
37302
|
-
"value": "div"
|
|
37303
|
-
},
|
|
37304
|
-
"description": "The alternative container type for the button. Uses Emotion's special `as` prop.\nWill render an `div` tag instead of a `button` when defined.",
|
|
37305
|
-
"declarations": [
|
|
37306
|
-
{
|
|
37307
|
-
"name": "as",
|
|
37308
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/avatar/lib/Avatar.tsx"
|
|
37309
|
-
}
|
|
37310
|
-
],
|
|
37311
|
-
"tags": {}
|
|
37312
|
-
},
|
|
37313
37933
|
{
|
|
37314
37934
|
"kind": "property",
|
|
37315
37935
|
"name": "objectFit",
|
|
@@ -37319,69 +37939,80 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
37319
37939
|
"name": "Property.ObjectFit",
|
|
37320
37940
|
"url": "https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit"
|
|
37321
37941
|
},
|
|
37322
|
-
"description": "
|
|
37942
|
+
"description": "An objectFit property that can customize how to resize your image to fit its container.",
|
|
37323
37943
|
"declarations": [
|
|
37324
37944
|
{
|
|
37325
37945
|
"name": "objectFit",
|
|
37326
37946
|
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/avatar/lib/Avatar.tsx"
|
|
37327
37947
|
}
|
|
37328
37948
|
],
|
|
37329
|
-
"tags": {
|
|
37330
|
-
|
|
37331
|
-
|
|
37332
|
-
|
|
37333
|
-
|
|
37334
|
-
|
|
37335
|
-
|
|
37336
|
-
|
|
37337
|
-
"description": "",
|
|
37338
|
-
"declarations": [
|
|
37339
|
-
{
|
|
37340
|
-
"name": "Avatar",
|
|
37341
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/avatar/lib/Avatar.tsx"
|
|
37342
|
-
}
|
|
37343
|
-
],
|
|
37344
|
-
"tags": {},
|
|
37345
|
-
"type": {
|
|
37346
|
-
"kind": "object",
|
|
37347
|
-
"properties": [
|
|
37949
|
+
"tags": {
|
|
37950
|
+
"default": "\"contain\""
|
|
37951
|
+
},
|
|
37952
|
+
"defaultValue": {
|
|
37953
|
+
"kind": "string",
|
|
37954
|
+
"value": "contain"
|
|
37955
|
+
}
|
|
37956
|
+
},
|
|
37348
37957
|
{
|
|
37349
37958
|
"kind": "property",
|
|
37350
|
-
"name": "
|
|
37351
|
-
"required": true,
|
|
37352
|
-
"type": {
|
|
37353
|
-
"kind": "symbol",
|
|
37354
|
-
"name": "AvatarVariant",
|
|
37355
|
-
"value": "typeof AvatarVariant"
|
|
37356
|
-
},
|
|
37959
|
+
"name": "children",
|
|
37357
37960
|
"description": "",
|
|
37358
|
-
"
|
|
37359
|
-
|
|
37360
|
-
|
|
37361
|
-
|
|
37362
|
-
|
|
37363
|
-
|
|
37364
|
-
|
|
37961
|
+
"tags": {},
|
|
37962
|
+
"declarations": [],
|
|
37963
|
+
"type": {
|
|
37964
|
+
"kind": "external",
|
|
37965
|
+
"name": "React.ReactNode",
|
|
37966
|
+
"url": "https://reactjs.org/docs/rendering-elements.html"
|
|
37967
|
+
}
|
|
37365
37968
|
},
|
|
37366
37969
|
{
|
|
37367
37970
|
"kind": "property",
|
|
37368
|
-
"name": "
|
|
37369
|
-
"
|
|
37971
|
+
"name": "as",
|
|
37972
|
+
"description": "Optional override of the default element used by the component. Any valid tag or Component. If you provided a Component, this component should forward the ref using `React.forwardRef`and spread extra props to a root element.\n\n**Note:** Not all elements make sense and some elements may cause accessibility issues. Change this value with care.",
|
|
37973
|
+
"tags": {},
|
|
37974
|
+
"declarations": [],
|
|
37370
37975
|
"type": {
|
|
37371
|
-
"kind": "
|
|
37372
|
-
"name": "
|
|
37373
|
-
"
|
|
37976
|
+
"kind": "external",
|
|
37977
|
+
"name": "React.ElementType",
|
|
37978
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/API/element"
|
|
37374
37979
|
},
|
|
37375
|
-
"
|
|
37376
|
-
|
|
37377
|
-
|
|
37378
|
-
|
|
37379
|
-
|
|
37380
|
-
|
|
37381
|
-
|
|
37382
|
-
"
|
|
37980
|
+
"defaultValue": {
|
|
37981
|
+
"kind": "external",
|
|
37982
|
+
"name": "button",
|
|
37983
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button"
|
|
37984
|
+
}
|
|
37985
|
+
},
|
|
37986
|
+
{
|
|
37987
|
+
"kind": "property",
|
|
37988
|
+
"name": "ref",
|
|
37989
|
+
"description": "Optional ref. If the component represents an element, this ref will be a reference to the real DOM element of the component. If `as` is set to an element, it will be that element. If `as` is a component, the reference will be to that component (or element if the component uses `React.forwardRef`).",
|
|
37990
|
+
"tags": {},
|
|
37991
|
+
"declarations": [],
|
|
37992
|
+
"type": {
|
|
37993
|
+
"kind": "external",
|
|
37994
|
+
"name": "React.Ref",
|
|
37995
|
+
"url": "https://reactjs.org/docs/refs-and-the-dom.html",
|
|
37996
|
+
"typeParameters": [
|
|
37997
|
+
{
|
|
37998
|
+
"kind": "typeParameter",
|
|
37999
|
+
"name": "R",
|
|
38000
|
+
"required": true,
|
|
38001
|
+
"defaultValue": {
|
|
38002
|
+
"kind": "external",
|
|
38003
|
+
"name": "button",
|
|
38004
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button"
|
|
38005
|
+
}
|
|
38006
|
+
}
|
|
38007
|
+
]
|
|
38008
|
+
}
|
|
37383
38009
|
}
|
|
37384
|
-
]
|
|
38010
|
+
],
|
|
38011
|
+
"baseElement": {
|
|
38012
|
+
"kind": "external",
|
|
38013
|
+
"name": "button",
|
|
38014
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button"
|
|
38015
|
+
}
|
|
37385
38016
|
}
|
|
37386
38017
|
},
|
|
37387
38018
|
{
|
|
@@ -257700,11 +258331,11 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
257700
258331
|
"value": [
|
|
257701
258332
|
{
|
|
257702
258333
|
"kind": "string",
|
|
257703
|
-
"value": "
|
|
258334
|
+
"value": "999px"
|
|
257704
258335
|
},
|
|
257705
258336
|
{
|
|
257706
258337
|
"kind": "string",
|
|
257707
|
-
"value": "
|
|
258338
|
+
"value": "4px"
|
|
257708
258339
|
},
|
|
257709
258340
|
{
|
|
257710
258341
|
"kind": "string",
|