@workday/canvas-kit-docs 12.0.0-alpha.852-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 +2522 -926
- package/dist/es6/lib/specs.js +1 -1
- package/dist/mdx/12.0-UPGRADE-GUIDE.mdx +41 -15
- 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/dist/mdx/react/popup/Popup.mdx +1 -1
- package/dist/mdx/react/popup/examples/ExternalWindow.tsx +1 -2
- 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",
|
|
@@ -11102,39 +11157,187 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
11102
11157
|
},
|
|
11103
11158
|
{
|
|
11104
11159
|
"kind": "property",
|
|
11105
|
-
"name": "
|
|
11160
|
+
"name": "objectFit",
|
|
11106
11161
|
"required": false,
|
|
11107
11162
|
"type": {
|
|
11108
|
-
"kind": "
|
|
11109
|
-
"
|
|
11163
|
+
"kind": "external",
|
|
11164
|
+
"name": "Property.ObjectFit",
|
|
11165
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit"
|
|
11110
11166
|
},
|
|
11111
|
-
"description": "
|
|
11167
|
+
"description": "An objectFit property that can customize how to resize your image to fit its container.",
|
|
11112
11168
|
"declarations": [
|
|
11113
11169
|
{
|
|
11114
|
-
"name": "
|
|
11170
|
+
"name": "objectFit",
|
|
11115
11171
|
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/avatar/lib/Avatar.tsx"
|
|
11116
11172
|
}
|
|
11117
11173
|
],
|
|
11118
|
-
"tags": {
|
|
11174
|
+
"tags": {
|
|
11175
|
+
"default": "\"contain\""
|
|
11176
|
+
},
|
|
11119
11177
|
"defaultValue": {
|
|
11120
11178
|
"kind": "string",
|
|
11121
|
-
"value": "
|
|
11179
|
+
"value": "contain"
|
|
11122
11180
|
}
|
|
11123
11181
|
},
|
|
11124
11182
|
{
|
|
11125
11183
|
"kind": "property",
|
|
11126
|
-
"name": "
|
|
11127
|
-
"
|
|
11184
|
+
"name": "children",
|
|
11185
|
+
"description": "",
|
|
11186
|
+
"tags": {},
|
|
11187
|
+
"declarations": [],
|
|
11128
11188
|
"type": {
|
|
11129
11189
|
"kind": "external",
|
|
11130
|
-
"name": "
|
|
11131
|
-
"url": "https://
|
|
11190
|
+
"name": "React.ReactNode",
|
|
11191
|
+
"url": "https://reactjs.org/docs/rendering-elements.html"
|
|
11192
|
+
}
|
|
11193
|
+
},
|
|
11194
|
+
{
|
|
11195
|
+
"kind": "property",
|
|
11196
|
+
"name": "as",
|
|
11197
|
+
"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.",
|
|
11198
|
+
"tags": {},
|
|
11199
|
+
"declarations": [],
|
|
11200
|
+
"type": {
|
|
11201
|
+
"kind": "external",
|
|
11202
|
+
"name": "React.ElementType",
|
|
11203
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/API/element"
|
|
11204
|
+
},
|
|
11205
|
+
"defaultValue": {
|
|
11206
|
+
"kind": "external",
|
|
11207
|
+
"name": "div",
|
|
11208
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div"
|
|
11209
|
+
}
|
|
11210
|
+
},
|
|
11211
|
+
{
|
|
11212
|
+
"kind": "property",
|
|
11213
|
+
"name": "ref",
|
|
11214
|
+
"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`).",
|
|
11215
|
+
"tags": {},
|
|
11216
|
+
"declarations": [],
|
|
11217
|
+
"type": {
|
|
11218
|
+
"kind": "external",
|
|
11219
|
+
"name": "React.Ref",
|
|
11220
|
+
"url": "https://reactjs.org/docs/refs-and-the-dom.html",
|
|
11221
|
+
"typeParameters": [
|
|
11222
|
+
{
|
|
11223
|
+
"kind": "typeParameter",
|
|
11224
|
+
"name": "R",
|
|
11225
|
+
"required": true,
|
|
11226
|
+
"defaultValue": {
|
|
11227
|
+
"kind": "external",
|
|
11228
|
+
"name": "div",
|
|
11229
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div"
|
|
11230
|
+
}
|
|
11231
|
+
}
|
|
11232
|
+
]
|
|
11233
|
+
}
|
|
11234
|
+
},
|
|
11235
|
+
{
|
|
11236
|
+
"kind": "property",
|
|
11237
|
+
"name": "model",
|
|
11238
|
+
"description": "Optional model to pass to the component. This will override the default model created for the component. This can be useful if you want to access to the state and events of the model, or if you have nested components of the same type and you need to override the model provided by React Context.",
|
|
11239
|
+
"tags": {},
|
|
11240
|
+
"declarations": [],
|
|
11241
|
+
"type": {
|
|
11242
|
+
"kind": "symbol",
|
|
11243
|
+
"name": "PillModel"
|
|
11244
|
+
}
|
|
11245
|
+
},
|
|
11246
|
+
{
|
|
11247
|
+
"kind": "property",
|
|
11248
|
+
"name": "elemPropsHook",
|
|
11249
|
+
"description": "Optional hook that receives the model and all props to be applied to the element. If you use this, it is your responsibility to return props, merging as appropriate. For example, returning an empty object will disable all elemProps hooks associated with this component. This allows finer control over a component without creating a new one.",
|
|
11250
|
+
"tags": {},
|
|
11251
|
+
"declarations": [],
|
|
11252
|
+
"type": {
|
|
11253
|
+
"kind": "function",
|
|
11254
|
+
"parameters": [
|
|
11255
|
+
{
|
|
11256
|
+
"kind": "parameter",
|
|
11257
|
+
"description": "",
|
|
11258
|
+
"tags": {},
|
|
11259
|
+
"declarations": [],
|
|
11260
|
+
"name": "model",
|
|
11261
|
+
"type": {
|
|
11262
|
+
"kind": "symbol",
|
|
11263
|
+
"name": "PillModel"
|
|
11264
|
+
},
|
|
11265
|
+
"required": true
|
|
11266
|
+
},
|
|
11267
|
+
{
|
|
11268
|
+
"kind": "parameter",
|
|
11269
|
+
"description": "",
|
|
11270
|
+
"tags": {},
|
|
11271
|
+
"declarations": [],
|
|
11272
|
+
"name": "elemProps",
|
|
11273
|
+
"type": {
|
|
11274
|
+
"kind": "generic",
|
|
11275
|
+
"name": "TProps"
|
|
11276
|
+
}
|
|
11277
|
+
}
|
|
11278
|
+
],
|
|
11279
|
+
"returnType": {
|
|
11280
|
+
"kind": "external",
|
|
11281
|
+
"name": "HTML Attributes",
|
|
11282
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes"
|
|
11283
|
+
}
|
|
11284
|
+
}
|
|
11285
|
+
}
|
|
11286
|
+
],
|
|
11287
|
+
"baseElement": {
|
|
11288
|
+
"kind": "external",
|
|
11289
|
+
"name": "div",
|
|
11290
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div"
|
|
11291
|
+
},
|
|
11292
|
+
"model": "PillModel"
|
|
11293
|
+
}
|
|
11294
|
+
},
|
|
11295
|
+
{
|
|
11296
|
+
"name": "PillCountProps",
|
|
11297
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/pill/lib/PillCount.tsx",
|
|
11298
|
+
"description": "",
|
|
11299
|
+
"declarations": [
|
|
11300
|
+
{
|
|
11301
|
+
"name": "PillCountProps",
|
|
11302
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/pill/lib/PillCount.tsx"
|
|
11303
|
+
}
|
|
11304
|
+
],
|
|
11305
|
+
"tags": {},
|
|
11306
|
+
"type": {
|
|
11307
|
+
"kind": "alias",
|
|
11308
|
+
"name": "PillCount"
|
|
11309
|
+
}
|
|
11310
|
+
},
|
|
11311
|
+
{
|
|
11312
|
+
"name": "PillCount",
|
|
11313
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/pill/lib/PillCount.tsx",
|
|
11314
|
+
"description": "",
|
|
11315
|
+
"declarations": [
|
|
11316
|
+
{
|
|
11317
|
+
"name": "PillCount",
|
|
11318
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/pill/lib/PillCount.tsx"
|
|
11319
|
+
}
|
|
11320
|
+
],
|
|
11321
|
+
"tags": {},
|
|
11322
|
+
"type": {
|
|
11323
|
+
"kind": "enhancedComponent",
|
|
11324
|
+
"componentType": "regular",
|
|
11325
|
+
"displayName": "Pill.Avatar",
|
|
11326
|
+
"props": [
|
|
11327
|
+
{
|
|
11328
|
+
"kind": "property",
|
|
11329
|
+
"name": "cs",
|
|
11330
|
+
"required": false,
|
|
11331
|
+
"type": {
|
|
11332
|
+
"kind": "symbol",
|
|
11333
|
+
"name": "CSToPropsInput",
|
|
11334
|
+
"value": "CSToPropsInput"
|
|
11132
11335
|
},
|
|
11133
|
-
"description": "The
|
|
11336
|
+
"description": "The `cs` prop takes in a single value or an array of values. You can pass the CSS class name\nreturned by {@link createStyles}, or the result of {@link createVars} and\n{@link createModifiers}. If you're extending a component already using `cs`, you can merge that\nprop in as well. Any style that is passed to the `cs` prop will override style props. If you\nwish to have styles that are overridden by the `css` prop, or styles added via the `styled`\nAPI, use {@link handleCsProp} wherever `elemProps` is used. If your component needs to also\nhandle style props, use {@link mergeStyles} instead.\n\n\n```tsx\nimport {handleCsProp} from '@workday/canvas-kit-styling';\nimport {mergeStyles} from '@workday/canvas-kit-react/layout';\n\n// ...\n\n// `handleCsProp` handles compat mode with Emotion's runtime APIs. `mergeStyles` has the same\n// function signature, but adds support for style props.\n\nreturn (\n <Element\n {...handleCsProp(elemProps, [\n myStyles,\n myModifiers({ size: 'medium' }),\n myVars({ backgroundColor: 'red' })\n ])}\n >\n {children}\n </Element>\n)\n```",
|
|
11134
11337
|
"declarations": [
|
|
11135
11338
|
{
|
|
11136
|
-
"name": "
|
|
11137
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/
|
|
11339
|
+
"name": "cs",
|
|
11340
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
11138
11341
|
}
|
|
11139
11342
|
],
|
|
11140
11343
|
"tags": {}
|
|
@@ -11142,13 +11345,389 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
11142
11345
|
{
|
|
11143
11346
|
"kind": "property",
|
|
11144
11347
|
"name": "children",
|
|
11348
|
+
"required": false,
|
|
11349
|
+
"type": {
|
|
11350
|
+
"kind": "external",
|
|
11351
|
+
"name": "ReactNode",
|
|
11352
|
+
"url": "https://reactjs.org/docs/rendering-elements.html"
|
|
11353
|
+
},
|
|
11145
11354
|
"description": "",
|
|
11355
|
+
"declarations": [
|
|
11356
|
+
{
|
|
11357
|
+
"name": "children",
|
|
11358
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/layout/lib/Box.tsx"
|
|
11359
|
+
}
|
|
11360
|
+
],
|
|
11361
|
+
"tags": {}
|
|
11362
|
+
},
|
|
11363
|
+
{
|
|
11364
|
+
"kind": "property",
|
|
11365
|
+
"name": "as",
|
|
11366
|
+
"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.",
|
|
11146
11367
|
"tags": {},
|
|
11147
11368
|
"declarations": [],
|
|
11148
11369
|
"type": {
|
|
11149
11370
|
"kind": "external",
|
|
11150
|
-
"name": "React.
|
|
11371
|
+
"name": "React.ElementType",
|
|
11372
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/API/element"
|
|
11373
|
+
},
|
|
11374
|
+
"defaultValue": {
|
|
11375
|
+
"kind": "external",
|
|
11376
|
+
"name": "span",
|
|
11377
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span"
|
|
11378
|
+
}
|
|
11379
|
+
},
|
|
11380
|
+
{
|
|
11381
|
+
"kind": "property",
|
|
11382
|
+
"name": "ref",
|
|
11383
|
+
"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`).",
|
|
11384
|
+
"tags": {},
|
|
11385
|
+
"declarations": [],
|
|
11386
|
+
"type": {
|
|
11387
|
+
"kind": "external",
|
|
11388
|
+
"name": "React.Ref",
|
|
11389
|
+
"url": "https://reactjs.org/docs/refs-and-the-dom.html",
|
|
11390
|
+
"typeParameters": [
|
|
11391
|
+
{
|
|
11392
|
+
"kind": "typeParameter",
|
|
11393
|
+
"name": "R",
|
|
11394
|
+
"required": true,
|
|
11395
|
+
"defaultValue": {
|
|
11396
|
+
"kind": "external",
|
|
11397
|
+
"name": "span",
|
|
11398
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span"
|
|
11399
|
+
}
|
|
11400
|
+
}
|
|
11401
|
+
]
|
|
11402
|
+
}
|
|
11403
|
+
}
|
|
11404
|
+
],
|
|
11405
|
+
"baseElement": {
|
|
11406
|
+
"kind": "external",
|
|
11407
|
+
"name": "span",
|
|
11408
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span"
|
|
11409
|
+
},
|
|
11410
|
+
"styleComponent": {
|
|
11411
|
+
"kind": "symbol",
|
|
11412
|
+
"name": "Flex"
|
|
11413
|
+
}
|
|
11414
|
+
}
|
|
11415
|
+
},
|
|
11416
|
+
{
|
|
11417
|
+
"name": "PillIconProps",
|
|
11418
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/pill/lib/PillIcon.tsx",
|
|
11419
|
+
"description": "",
|
|
11420
|
+
"declarations": [
|
|
11421
|
+
{
|
|
11422
|
+
"name": "PillIconProps",
|
|
11423
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/pill/lib/PillIcon.tsx"
|
|
11424
|
+
}
|
|
11425
|
+
],
|
|
11426
|
+
"tags": {},
|
|
11427
|
+
"type": {
|
|
11428
|
+
"kind": "alias",
|
|
11429
|
+
"name": "PillIcon"
|
|
11430
|
+
}
|
|
11431
|
+
},
|
|
11432
|
+
{
|
|
11433
|
+
"name": "PillIcon",
|
|
11434
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/pill/lib/PillIcon.tsx",
|
|
11435
|
+
"description": "",
|
|
11436
|
+
"declarations": [
|
|
11437
|
+
{
|
|
11438
|
+
"name": "PillIcon",
|
|
11439
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/pill/lib/PillIcon.tsx"
|
|
11440
|
+
}
|
|
11441
|
+
],
|
|
11442
|
+
"tags": {},
|
|
11443
|
+
"type": {
|
|
11444
|
+
"kind": "enhancedComponent",
|
|
11445
|
+
"componentType": "subcomponent",
|
|
11446
|
+
"props": [
|
|
11447
|
+
{
|
|
11448
|
+
"kind": "property",
|
|
11449
|
+
"name": "icon",
|
|
11450
|
+
"required": false,
|
|
11451
|
+
"type": {
|
|
11452
|
+
"kind": "symbol",
|
|
11453
|
+
"name": "CanvasSystemIcon",
|
|
11454
|
+
"value": "CanvasSystemIcon"
|
|
11455
|
+
},
|
|
11456
|
+
"description": "The system icon rendered by the component",
|
|
11457
|
+
"declarations": [
|
|
11458
|
+
{
|
|
11459
|
+
"name": "icon",
|
|
11460
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/pill/lib/PillIcon.tsx"
|
|
11461
|
+
}
|
|
11462
|
+
],
|
|
11463
|
+
"tags": {
|
|
11464
|
+
"default": "`plusIcon`"
|
|
11465
|
+
},
|
|
11466
|
+
"defaultValue": {
|
|
11467
|
+
"kind": "symbol",
|
|
11468
|
+
"name": "`plusIcon`",
|
|
11469
|
+
"value": "`plusIcon`"
|
|
11470
|
+
}
|
|
11471
|
+
},
|
|
11472
|
+
{
|
|
11473
|
+
"kind": "property",
|
|
11474
|
+
"name": "fill",
|
|
11475
|
+
"required": false,
|
|
11476
|
+
"type": {
|
|
11477
|
+
"kind": "primitive",
|
|
11478
|
+
"value": "string"
|
|
11479
|
+
},
|
|
11480
|
+
"description": "The fill color of the SystemIcon. This overrides `color`.",
|
|
11481
|
+
"declarations": [
|
|
11482
|
+
{
|
|
11483
|
+
"name": "fill",
|
|
11484
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
11485
|
+
}
|
|
11486
|
+
],
|
|
11487
|
+
"tags": {
|
|
11488
|
+
"deprecated": "`fill` is deprecated and will be removed in a future version. Please use `color` and specify `accent` color if you want `accent` to be different from `color`."
|
|
11489
|
+
}
|
|
11490
|
+
},
|
|
11491
|
+
{
|
|
11492
|
+
"kind": "property",
|
|
11493
|
+
"name": "background",
|
|
11494
|
+
"required": false,
|
|
11495
|
+
"type": {
|
|
11496
|
+
"kind": "primitive",
|
|
11497
|
+
"value": "string"
|
|
11498
|
+
},
|
|
11499
|
+
"description": "The background color of the SystemIcon.",
|
|
11500
|
+
"declarations": [
|
|
11501
|
+
{
|
|
11502
|
+
"name": "background",
|
|
11503
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
11504
|
+
}
|
|
11505
|
+
],
|
|
11506
|
+
"tags": {
|
|
11507
|
+
"default": "transparent"
|
|
11508
|
+
},
|
|
11509
|
+
"defaultValue": {
|
|
11510
|
+
"kind": "symbol",
|
|
11511
|
+
"name": "transparent",
|
|
11512
|
+
"value": "transparent"
|
|
11513
|
+
}
|
|
11514
|
+
},
|
|
11515
|
+
{
|
|
11516
|
+
"kind": "property",
|
|
11517
|
+
"name": "color",
|
|
11518
|
+
"required": false,
|
|
11519
|
+
"type": {
|
|
11520
|
+
"kind": "primitive",
|
|
11521
|
+
"value": "string"
|
|
11522
|
+
},
|
|
11523
|
+
"description": "The color of the SystemIcon. This defines `accent` and `fill`. `color` may be overwritten by `accent` and `fill`.",
|
|
11524
|
+
"declarations": [
|
|
11525
|
+
{
|
|
11526
|
+
"name": "color",
|
|
11527
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
11528
|
+
}
|
|
11529
|
+
],
|
|
11530
|
+
"tags": {
|
|
11531
|
+
"default": "base.licorice200"
|
|
11532
|
+
},
|
|
11533
|
+
"defaultValue": {
|
|
11534
|
+
"kind": "symbol",
|
|
11535
|
+
"name": "base.licorice200",
|
|
11536
|
+
"value": "base.licorice200"
|
|
11537
|
+
}
|
|
11538
|
+
},
|
|
11539
|
+
{
|
|
11540
|
+
"kind": "property",
|
|
11541
|
+
"name": "shouldMirror",
|
|
11542
|
+
"required": false,
|
|
11543
|
+
"type": {
|
|
11544
|
+
"kind": "primitive",
|
|
11545
|
+
"value": "boolean"
|
|
11546
|
+
},
|
|
11547
|
+
"description": "If set to `true`, transform the SVG's x-axis to mirror the graphic",
|
|
11548
|
+
"declarations": [
|
|
11549
|
+
{
|
|
11550
|
+
"name": "shouldMirror",
|
|
11551
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/Svg.tsx"
|
|
11552
|
+
}
|
|
11553
|
+
],
|
|
11554
|
+
"tags": {
|
|
11555
|
+
"default": "false"
|
|
11556
|
+
},
|
|
11557
|
+
"defaultValue": {
|
|
11558
|
+
"kind": "boolean",
|
|
11559
|
+
"value": false
|
|
11560
|
+
}
|
|
11561
|
+
},
|
|
11562
|
+
{
|
|
11563
|
+
"kind": "property",
|
|
11564
|
+
"name": "cs",
|
|
11565
|
+
"required": false,
|
|
11566
|
+
"type": {
|
|
11567
|
+
"kind": "symbol",
|
|
11568
|
+
"name": "CSToPropsInput",
|
|
11569
|
+
"value": "CSToPropsInput"
|
|
11570
|
+
},
|
|
11571
|
+
"description": "The `cs` prop takes in a single value or an array of values. You can pass the CSS class name\nreturned by {@link createStyles}, or the result of {@link createVars} and\n{@link createModifiers}. If you're extending a component already using `cs`, you can merge that\nprop in as well. Any style that is passed to the `cs` prop will override style props. If you\nwish to have styles that are overridden by the `css` prop, or styles added via the `styled`\nAPI, use {@link handleCsProp} wherever `elemProps` is used. If your component needs to also\nhandle style props, use {@link mergeStyles} instead.\n\n\n```tsx\nimport {handleCsProp} from '@workday/canvas-kit-styling';\nimport {mergeStyles} from '@workday/canvas-kit-react/layout';\n\n// ...\n\n// `handleCsProp` handles compat mode with Emotion's runtime APIs. `mergeStyles` has the same\n// function signature, but adds support for style props.\n\nreturn (\n <Element\n {...handleCsProp(elemProps, [\n myStyles,\n myModifiers({ size: 'medium' }),\n myVars({ backgroundColor: 'red' })\n ])}\n >\n {children}\n </Element>\n)\n```",
|
|
11572
|
+
"declarations": [
|
|
11573
|
+
{
|
|
11574
|
+
"name": "cs",
|
|
11575
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
11576
|
+
}
|
|
11577
|
+
],
|
|
11578
|
+
"tags": {}
|
|
11579
|
+
},
|
|
11580
|
+
{
|
|
11581
|
+
"kind": "property",
|
|
11582
|
+
"name": "children",
|
|
11583
|
+
"required": false,
|
|
11584
|
+
"type": {
|
|
11585
|
+
"kind": "external",
|
|
11586
|
+
"name": "ReactNode",
|
|
11151
11587
|
"url": "https://reactjs.org/docs/rendering-elements.html"
|
|
11588
|
+
},
|
|
11589
|
+
"description": "",
|
|
11590
|
+
"declarations": [
|
|
11591
|
+
{
|
|
11592
|
+
"name": "children",
|
|
11593
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/layout/lib/Box.tsx"
|
|
11594
|
+
}
|
|
11595
|
+
],
|
|
11596
|
+
"tags": {}
|
|
11597
|
+
},
|
|
11598
|
+
{
|
|
11599
|
+
"kind": "property",
|
|
11600
|
+
"name": "size",
|
|
11601
|
+
"required": false,
|
|
11602
|
+
"type": {
|
|
11603
|
+
"kind": "union",
|
|
11604
|
+
"value": [
|
|
11605
|
+
{
|
|
11606
|
+
"kind": "primitive",
|
|
11607
|
+
"value": "number"
|
|
11608
|
+
},
|
|
11609
|
+
{
|
|
11610
|
+
"kind": "primitive",
|
|
11611
|
+
"value": "string"
|
|
11612
|
+
}
|
|
11613
|
+
]
|
|
11614
|
+
},
|
|
11615
|
+
"description": "The size of the SystemIcon in `px`.",
|
|
11616
|
+
"declarations": [
|
|
11617
|
+
{
|
|
11618
|
+
"name": "size",
|
|
11619
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
11620
|
+
}
|
|
11621
|
+
],
|
|
11622
|
+
"tags": {},
|
|
11623
|
+
"defaultValue": {
|
|
11624
|
+
"kind": "number",
|
|
11625
|
+
"value": 20
|
|
11626
|
+
}
|
|
11627
|
+
},
|
|
11628
|
+
{
|
|
11629
|
+
"kind": "property",
|
|
11630
|
+
"name": "accent",
|
|
11631
|
+
"required": false,
|
|
11632
|
+
"type": {
|
|
11633
|
+
"kind": "primitive",
|
|
11634
|
+
"value": "string"
|
|
11635
|
+
},
|
|
11636
|
+
"description": "The accent color of the SystemIcon. This overrides `color`.",
|
|
11637
|
+
"declarations": [
|
|
11638
|
+
{
|
|
11639
|
+
"name": "accent",
|
|
11640
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
11641
|
+
}
|
|
11642
|
+
],
|
|
11643
|
+
"tags": {}
|
|
11644
|
+
},
|
|
11645
|
+
{
|
|
11646
|
+
"kind": "property",
|
|
11647
|
+
"name": "accentHover",
|
|
11648
|
+
"required": false,
|
|
11649
|
+
"type": {
|
|
11650
|
+
"kind": "primitive",
|
|
11651
|
+
"value": "string"
|
|
11652
|
+
},
|
|
11653
|
+
"description": "The accent color of the SystemIcon on hover. This overrides `colorHover`.",
|
|
11654
|
+
"declarations": [
|
|
11655
|
+
{
|
|
11656
|
+
"name": "accentHover",
|
|
11657
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
11658
|
+
}
|
|
11659
|
+
],
|
|
11660
|
+
"tags": {
|
|
11661
|
+
"deprecated": "`accentHover` is deprecated and will be removed in a future version. Please use the following instead in your style overrides:\n```tsx\n'&:hover': {\n[systemIconStencil.vars.accent]: desiredAccentHoverColor\n}\n```"
|
|
11662
|
+
}
|
|
11663
|
+
},
|
|
11664
|
+
{
|
|
11665
|
+
"kind": "property",
|
|
11666
|
+
"name": "backgroundHover",
|
|
11667
|
+
"required": false,
|
|
11668
|
+
"type": {
|
|
11669
|
+
"kind": "primitive",
|
|
11670
|
+
"value": "string"
|
|
11671
|
+
},
|
|
11672
|
+
"description": "The background color of the SystemIcon on hover.",
|
|
11673
|
+
"declarations": [
|
|
11674
|
+
{
|
|
11675
|
+
"name": "backgroundHover",
|
|
11676
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
11677
|
+
}
|
|
11678
|
+
],
|
|
11679
|
+
"tags": {
|
|
11680
|
+
"default": "transparent",
|
|
11681
|
+
"deprecated": "`backgroundHover` is deprecated and will be removed in a future version. Please use the following instead in your style overrides:\n```tsx\n'&:hover': {\n[systemIconStencil.vars.background]: desiredBackgroundHoverColor\n}\n```"
|
|
11682
|
+
},
|
|
11683
|
+
"defaultValue": {
|
|
11684
|
+
"kind": "symbol",
|
|
11685
|
+
"name": "transparent",
|
|
11686
|
+
"value": "transparent"
|
|
11687
|
+
}
|
|
11688
|
+
},
|
|
11689
|
+
{
|
|
11690
|
+
"kind": "property",
|
|
11691
|
+
"name": "colorHover",
|
|
11692
|
+
"required": false,
|
|
11693
|
+
"type": {
|
|
11694
|
+
"kind": "primitive",
|
|
11695
|
+
"value": "string"
|
|
11696
|
+
},
|
|
11697
|
+
"description": "The hover color of the SystemIcon. This defines `accentHover` and `fillHover`. `colorHover` may be overwritten by `accentHover` and `fillHover`.",
|
|
11698
|
+
"declarations": [
|
|
11699
|
+
{
|
|
11700
|
+
"name": "colorHover",
|
|
11701
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
11702
|
+
}
|
|
11703
|
+
],
|
|
11704
|
+
"tags": {
|
|
11705
|
+
"default": "base.licorice200",
|
|
11706
|
+
"deprecated": "`colorHover` is deprecated and will be removed in a future version. We have removed the default hover styles on SystemIcon. Please\nuse the following instead in your style overrides:\n```tsx\n'&:hover': {\n[systemIconStencil.vars.color]: desiredColorHoverColor\n}\n```"
|
|
11707
|
+
},
|
|
11708
|
+
"defaultValue": {
|
|
11709
|
+
"kind": "symbol",
|
|
11710
|
+
"name": "base.licorice200",
|
|
11711
|
+
"value": "base.licorice200"
|
|
11712
|
+
}
|
|
11713
|
+
},
|
|
11714
|
+
{
|
|
11715
|
+
"kind": "property",
|
|
11716
|
+
"name": "fillHover",
|
|
11717
|
+
"required": false,
|
|
11718
|
+
"type": {
|
|
11719
|
+
"kind": "primitive",
|
|
11720
|
+
"value": "string"
|
|
11721
|
+
},
|
|
11722
|
+
"description": "The fill color of the SystemIcon on hover. This overrides `colorHover`.",
|
|
11723
|
+
"declarations": [
|
|
11724
|
+
{
|
|
11725
|
+
"name": "fillHover",
|
|
11726
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
11727
|
+
}
|
|
11728
|
+
],
|
|
11729
|
+
"tags": {
|
|
11730
|
+
"deprecated": "`fillHover` is deprecated and will be removed in a future version. Please use the following instead in your style overrides:\n```tsx\n'&:hover': {\n[systemIconStencil.vars.fill]: desiredFillHoverColor\n}\n```"
|
|
11152
11731
|
}
|
|
11153
11732
|
},
|
|
11154
11733
|
{
|
|
@@ -11164,8 +11743,8 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
11164
11743
|
},
|
|
11165
11744
|
"defaultValue": {
|
|
11166
11745
|
"kind": "external",
|
|
11167
|
-
"name": "
|
|
11168
|
-
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/
|
|
11746
|
+
"name": "span",
|
|
11747
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span"
|
|
11169
11748
|
}
|
|
11170
11749
|
},
|
|
11171
11750
|
{
|
|
@@ -11185,547 +11764,8 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
11185
11764
|
"required": true,
|
|
11186
11765
|
"defaultValue": {
|
|
11187
11766
|
"kind": "external",
|
|
11188
|
-
"name": "
|
|
11189
|
-
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/
|
|
11190
|
-
}
|
|
11191
|
-
}
|
|
11192
|
-
]
|
|
11193
|
-
}
|
|
11194
|
-
},
|
|
11195
|
-
{
|
|
11196
|
-
"kind": "property",
|
|
11197
|
-
"name": "model",
|
|
11198
|
-
"description": "Optional model to pass to the component. This will override the default model created for the component. This can be useful if you want to access to the state and events of the model, or if you have nested components of the same type and you need to override the model provided by React Context.",
|
|
11199
|
-
"tags": {},
|
|
11200
|
-
"declarations": [],
|
|
11201
|
-
"type": {
|
|
11202
|
-
"kind": "symbol",
|
|
11203
|
-
"name": "PillModel"
|
|
11204
|
-
}
|
|
11205
|
-
},
|
|
11206
|
-
{
|
|
11207
|
-
"kind": "property",
|
|
11208
|
-
"name": "elemPropsHook",
|
|
11209
|
-
"description": "Optional hook that receives the model and all props to be applied to the element. If you use this, it is your responsibility to return props, merging as appropriate. For example, returning an empty object will disable all elemProps hooks associated with this component. This allows finer control over a component without creating a new one.",
|
|
11210
|
-
"tags": {},
|
|
11211
|
-
"declarations": [],
|
|
11212
|
-
"type": {
|
|
11213
|
-
"kind": "function",
|
|
11214
|
-
"parameters": [
|
|
11215
|
-
{
|
|
11216
|
-
"kind": "parameter",
|
|
11217
|
-
"description": "",
|
|
11218
|
-
"tags": {},
|
|
11219
|
-
"declarations": [],
|
|
11220
|
-
"name": "model",
|
|
11221
|
-
"type": {
|
|
11222
|
-
"kind": "symbol",
|
|
11223
|
-
"name": "PillModel"
|
|
11224
|
-
},
|
|
11225
|
-
"required": true
|
|
11226
|
-
},
|
|
11227
|
-
{
|
|
11228
|
-
"kind": "parameter",
|
|
11229
|
-
"description": "",
|
|
11230
|
-
"tags": {},
|
|
11231
|
-
"declarations": [],
|
|
11232
|
-
"name": "elemProps",
|
|
11233
|
-
"type": {
|
|
11234
|
-
"kind": "generic",
|
|
11235
|
-
"name": "TProps"
|
|
11236
|
-
}
|
|
11237
|
-
}
|
|
11238
|
-
],
|
|
11239
|
-
"returnType": {
|
|
11240
|
-
"kind": "external",
|
|
11241
|
-
"name": "HTML Attributes",
|
|
11242
|
-
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes"
|
|
11243
|
-
}
|
|
11244
|
-
}
|
|
11245
|
-
}
|
|
11246
|
-
],
|
|
11247
|
-
"baseElement": {
|
|
11248
|
-
"kind": "external",
|
|
11249
|
-
"name": "button",
|
|
11250
|
-
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button"
|
|
11251
|
-
},
|
|
11252
|
-
"model": "PillModel"
|
|
11253
|
-
}
|
|
11254
|
-
},
|
|
11255
|
-
{
|
|
11256
|
-
"name": "PillCountProps",
|
|
11257
|
-
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/pill/lib/PillCount.tsx",
|
|
11258
|
-
"description": "",
|
|
11259
|
-
"declarations": [
|
|
11260
|
-
{
|
|
11261
|
-
"name": "PillCountProps",
|
|
11262
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/pill/lib/PillCount.tsx"
|
|
11263
|
-
}
|
|
11264
|
-
],
|
|
11265
|
-
"tags": {},
|
|
11266
|
-
"type": {
|
|
11267
|
-
"kind": "alias",
|
|
11268
|
-
"name": "PillCount"
|
|
11269
|
-
}
|
|
11270
|
-
},
|
|
11271
|
-
{
|
|
11272
|
-
"name": "PillCount",
|
|
11273
|
-
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/pill/lib/PillCount.tsx",
|
|
11274
|
-
"description": "",
|
|
11275
|
-
"declarations": [
|
|
11276
|
-
{
|
|
11277
|
-
"name": "PillCount",
|
|
11278
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/pill/lib/PillCount.tsx"
|
|
11279
|
-
}
|
|
11280
|
-
],
|
|
11281
|
-
"tags": {},
|
|
11282
|
-
"type": {
|
|
11283
|
-
"kind": "enhancedComponent",
|
|
11284
|
-
"componentType": "regular",
|
|
11285
|
-
"displayName": "Pill.Avatar",
|
|
11286
|
-
"props": [
|
|
11287
|
-
{
|
|
11288
|
-
"kind": "property",
|
|
11289
|
-
"name": "cs",
|
|
11290
|
-
"required": false,
|
|
11291
|
-
"type": {
|
|
11292
|
-
"kind": "symbol",
|
|
11293
|
-
"name": "CSToPropsInput",
|
|
11294
|
-
"value": "CSToPropsInput"
|
|
11295
|
-
},
|
|
11296
|
-
"description": "The `cs` prop takes in a single value or an array of values. You can pass the CSS class name\nreturned by {@link createStyles}, or the result of {@link createVars} and\n{@link createModifiers}. If you're extending a component already using `cs`, you can merge that\nprop in as well. Any style that is passed to the `cs` prop will override style props. If you\nwish to have styles that are overridden by the `css` prop, or styles added via the `styled`\nAPI, use {@link handleCsProp} wherever `elemProps` is used. If your component needs to also\nhandle style props, use {@link mergeStyles} instead.\n\n\n```tsx\nimport {handleCsProp} from '@workday/canvas-kit-styling';\nimport {mergeStyles} from '@workday/canvas-kit-react/layout';\n\n// ...\n\n// `handleCsProp` handles compat mode with Emotion's runtime APIs. `mergeStyles` has the same\n// function signature, but adds support for style props.\n\nreturn (\n <Element\n {...handleCsProp(elemProps, [\n myStyles,\n myModifiers({ size: 'medium' }),\n myVars({ backgroundColor: 'red' })\n ])}\n >\n {children}\n </Element>\n)\n```",
|
|
11297
|
-
"declarations": [
|
|
11298
|
-
{
|
|
11299
|
-
"name": "cs",
|
|
11300
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
11301
|
-
}
|
|
11302
|
-
],
|
|
11303
|
-
"tags": {}
|
|
11304
|
-
},
|
|
11305
|
-
{
|
|
11306
|
-
"kind": "property",
|
|
11307
|
-
"name": "children",
|
|
11308
|
-
"required": false,
|
|
11309
|
-
"type": {
|
|
11310
|
-
"kind": "external",
|
|
11311
|
-
"name": "ReactNode",
|
|
11312
|
-
"url": "https://reactjs.org/docs/rendering-elements.html"
|
|
11313
|
-
},
|
|
11314
|
-
"description": "",
|
|
11315
|
-
"declarations": [
|
|
11316
|
-
{
|
|
11317
|
-
"name": "children",
|
|
11318
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/layout/lib/Box.tsx"
|
|
11319
|
-
}
|
|
11320
|
-
],
|
|
11321
|
-
"tags": {}
|
|
11322
|
-
},
|
|
11323
|
-
{
|
|
11324
|
-
"kind": "property",
|
|
11325
|
-
"name": "as",
|
|
11326
|
-
"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.",
|
|
11327
|
-
"tags": {},
|
|
11328
|
-
"declarations": [],
|
|
11329
|
-
"type": {
|
|
11330
|
-
"kind": "external",
|
|
11331
|
-
"name": "React.ElementType",
|
|
11332
|
-
"url": "https://developer.mozilla.org/en-US/docs/Web/API/element"
|
|
11333
|
-
},
|
|
11334
|
-
"defaultValue": {
|
|
11335
|
-
"kind": "external",
|
|
11336
|
-
"name": "span",
|
|
11337
|
-
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span"
|
|
11338
|
-
}
|
|
11339
|
-
},
|
|
11340
|
-
{
|
|
11341
|
-
"kind": "property",
|
|
11342
|
-
"name": "ref",
|
|
11343
|
-
"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`).",
|
|
11344
|
-
"tags": {},
|
|
11345
|
-
"declarations": [],
|
|
11346
|
-
"type": {
|
|
11347
|
-
"kind": "external",
|
|
11348
|
-
"name": "React.Ref",
|
|
11349
|
-
"url": "https://reactjs.org/docs/refs-and-the-dom.html",
|
|
11350
|
-
"typeParameters": [
|
|
11351
|
-
{
|
|
11352
|
-
"kind": "typeParameter",
|
|
11353
|
-
"name": "R",
|
|
11354
|
-
"required": true,
|
|
11355
|
-
"defaultValue": {
|
|
11356
|
-
"kind": "external",
|
|
11357
|
-
"name": "span",
|
|
11358
|
-
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span"
|
|
11359
|
-
}
|
|
11360
|
-
}
|
|
11361
|
-
]
|
|
11362
|
-
}
|
|
11363
|
-
}
|
|
11364
|
-
],
|
|
11365
|
-
"baseElement": {
|
|
11366
|
-
"kind": "external",
|
|
11367
|
-
"name": "span",
|
|
11368
|
-
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span"
|
|
11369
|
-
},
|
|
11370
|
-
"styleComponent": {
|
|
11371
|
-
"kind": "symbol",
|
|
11372
|
-
"name": "Flex"
|
|
11373
|
-
}
|
|
11374
|
-
}
|
|
11375
|
-
},
|
|
11376
|
-
{
|
|
11377
|
-
"name": "PillIconProps",
|
|
11378
|
-
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/pill/lib/PillIcon.tsx",
|
|
11379
|
-
"description": "",
|
|
11380
|
-
"declarations": [
|
|
11381
|
-
{
|
|
11382
|
-
"name": "PillIconProps",
|
|
11383
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/pill/lib/PillIcon.tsx"
|
|
11384
|
-
}
|
|
11385
|
-
],
|
|
11386
|
-
"tags": {},
|
|
11387
|
-
"type": {
|
|
11388
|
-
"kind": "alias",
|
|
11389
|
-
"name": "PillIcon"
|
|
11390
|
-
}
|
|
11391
|
-
},
|
|
11392
|
-
{
|
|
11393
|
-
"name": "PillIcon",
|
|
11394
|
-
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/pill/lib/PillIcon.tsx",
|
|
11395
|
-
"description": "",
|
|
11396
|
-
"declarations": [
|
|
11397
|
-
{
|
|
11398
|
-
"name": "PillIcon",
|
|
11399
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/pill/lib/PillIcon.tsx"
|
|
11400
|
-
}
|
|
11401
|
-
],
|
|
11402
|
-
"tags": {},
|
|
11403
|
-
"type": {
|
|
11404
|
-
"kind": "enhancedComponent",
|
|
11405
|
-
"componentType": "subcomponent",
|
|
11406
|
-
"props": [
|
|
11407
|
-
{
|
|
11408
|
-
"kind": "property",
|
|
11409
|
-
"name": "icon",
|
|
11410
|
-
"required": false,
|
|
11411
|
-
"type": {
|
|
11412
|
-
"kind": "symbol",
|
|
11413
|
-
"name": "CanvasSystemIcon",
|
|
11414
|
-
"value": "CanvasSystemIcon"
|
|
11415
|
-
},
|
|
11416
|
-
"description": "The system icon rendered by the component",
|
|
11417
|
-
"declarations": [
|
|
11418
|
-
{
|
|
11419
|
-
"name": "icon",
|
|
11420
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/pill/lib/PillIcon.tsx"
|
|
11421
|
-
}
|
|
11422
|
-
],
|
|
11423
|
-
"tags": {
|
|
11424
|
-
"default": "`plusIcon`"
|
|
11425
|
-
},
|
|
11426
|
-
"defaultValue": {
|
|
11427
|
-
"kind": "symbol",
|
|
11428
|
-
"name": "`plusIcon`",
|
|
11429
|
-
"value": "`plusIcon`"
|
|
11430
|
-
}
|
|
11431
|
-
},
|
|
11432
|
-
{
|
|
11433
|
-
"kind": "property",
|
|
11434
|
-
"name": "fill",
|
|
11435
|
-
"required": false,
|
|
11436
|
-
"type": {
|
|
11437
|
-
"kind": "primitive",
|
|
11438
|
-
"value": "string"
|
|
11439
|
-
},
|
|
11440
|
-
"description": "The fill color of the SystemIcon. This overrides `color`.",
|
|
11441
|
-
"declarations": [
|
|
11442
|
-
{
|
|
11443
|
-
"name": "fill",
|
|
11444
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
11445
|
-
}
|
|
11446
|
-
],
|
|
11447
|
-
"tags": {
|
|
11448
|
-
"deprecated": "`fill` is deprecated and will be removed in a future version. Please use `color` and specify `accent` color if you want `accent` to be different from `color`."
|
|
11449
|
-
}
|
|
11450
|
-
},
|
|
11451
|
-
{
|
|
11452
|
-
"kind": "property",
|
|
11453
|
-
"name": "background",
|
|
11454
|
-
"required": false,
|
|
11455
|
-
"type": {
|
|
11456
|
-
"kind": "primitive",
|
|
11457
|
-
"value": "string"
|
|
11458
|
-
},
|
|
11459
|
-
"description": "The background color of the SystemIcon.",
|
|
11460
|
-
"declarations": [
|
|
11461
|
-
{
|
|
11462
|
-
"name": "background",
|
|
11463
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
11464
|
-
}
|
|
11465
|
-
],
|
|
11466
|
-
"tags": {
|
|
11467
|
-
"default": "transparent"
|
|
11468
|
-
},
|
|
11469
|
-
"defaultValue": {
|
|
11470
|
-
"kind": "symbol",
|
|
11471
|
-
"name": "transparent",
|
|
11472
|
-
"value": "transparent"
|
|
11473
|
-
}
|
|
11474
|
-
},
|
|
11475
|
-
{
|
|
11476
|
-
"kind": "property",
|
|
11477
|
-
"name": "color",
|
|
11478
|
-
"required": false,
|
|
11479
|
-
"type": {
|
|
11480
|
-
"kind": "primitive",
|
|
11481
|
-
"value": "string"
|
|
11482
|
-
},
|
|
11483
|
-
"description": "The color of the SystemIcon. This defines `accent` and `fill`. `color` may be overwritten by `accent` and `fill`.",
|
|
11484
|
-
"declarations": [
|
|
11485
|
-
{
|
|
11486
|
-
"name": "color",
|
|
11487
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
11488
|
-
}
|
|
11489
|
-
],
|
|
11490
|
-
"tags": {
|
|
11491
|
-
"default": "base.licorice200"
|
|
11492
|
-
},
|
|
11493
|
-
"defaultValue": {
|
|
11494
|
-
"kind": "symbol",
|
|
11495
|
-
"name": "base.licorice200",
|
|
11496
|
-
"value": "base.licorice200"
|
|
11497
|
-
}
|
|
11498
|
-
},
|
|
11499
|
-
{
|
|
11500
|
-
"kind": "property",
|
|
11501
|
-
"name": "shouldMirror",
|
|
11502
|
-
"required": false,
|
|
11503
|
-
"type": {
|
|
11504
|
-
"kind": "primitive",
|
|
11505
|
-
"value": "boolean"
|
|
11506
|
-
},
|
|
11507
|
-
"description": "If set to `true`, transform the SVG's x-axis to mirror the graphic",
|
|
11508
|
-
"declarations": [
|
|
11509
|
-
{
|
|
11510
|
-
"name": "shouldMirror",
|
|
11511
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/Svg.tsx"
|
|
11512
|
-
}
|
|
11513
|
-
],
|
|
11514
|
-
"tags": {
|
|
11515
|
-
"default": "false"
|
|
11516
|
-
},
|
|
11517
|
-
"defaultValue": {
|
|
11518
|
-
"kind": "boolean",
|
|
11519
|
-
"value": false
|
|
11520
|
-
}
|
|
11521
|
-
},
|
|
11522
|
-
{
|
|
11523
|
-
"kind": "property",
|
|
11524
|
-
"name": "cs",
|
|
11525
|
-
"required": false,
|
|
11526
|
-
"type": {
|
|
11527
|
-
"kind": "symbol",
|
|
11528
|
-
"name": "CSToPropsInput",
|
|
11529
|
-
"value": "CSToPropsInput"
|
|
11530
|
-
},
|
|
11531
|
-
"description": "The `cs` prop takes in a single value or an array of values. You can pass the CSS class name\nreturned by {@link createStyles}, or the result of {@link createVars} and\n{@link createModifiers}. If you're extending a component already using `cs`, you can merge that\nprop in as well. Any style that is passed to the `cs` prop will override style props. If you\nwish to have styles that are overridden by the `css` prop, or styles added via the `styled`\nAPI, use {@link handleCsProp} wherever `elemProps` is used. If your component needs to also\nhandle style props, use {@link mergeStyles} instead.\n\n\n```tsx\nimport {handleCsProp} from '@workday/canvas-kit-styling';\nimport {mergeStyles} from '@workday/canvas-kit-react/layout';\n\n// ...\n\n// `handleCsProp` handles compat mode with Emotion's runtime APIs. `mergeStyles` has the same\n// function signature, but adds support for style props.\n\nreturn (\n <Element\n {...handleCsProp(elemProps, [\n myStyles,\n myModifiers({ size: 'medium' }),\n myVars({ backgroundColor: 'red' })\n ])}\n >\n {children}\n </Element>\n)\n```",
|
|
11532
|
-
"declarations": [
|
|
11533
|
-
{
|
|
11534
|
-
"name": "cs",
|
|
11535
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
11536
|
-
}
|
|
11537
|
-
],
|
|
11538
|
-
"tags": {}
|
|
11539
|
-
},
|
|
11540
|
-
{
|
|
11541
|
-
"kind": "property",
|
|
11542
|
-
"name": "children",
|
|
11543
|
-
"required": false,
|
|
11544
|
-
"type": {
|
|
11545
|
-
"kind": "external",
|
|
11546
|
-
"name": "ReactNode",
|
|
11547
|
-
"url": "https://reactjs.org/docs/rendering-elements.html"
|
|
11548
|
-
},
|
|
11549
|
-
"description": "",
|
|
11550
|
-
"declarations": [
|
|
11551
|
-
{
|
|
11552
|
-
"name": "children",
|
|
11553
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/layout/lib/Box.tsx"
|
|
11554
|
-
}
|
|
11555
|
-
],
|
|
11556
|
-
"tags": {}
|
|
11557
|
-
},
|
|
11558
|
-
{
|
|
11559
|
-
"kind": "property",
|
|
11560
|
-
"name": "size",
|
|
11561
|
-
"required": false,
|
|
11562
|
-
"type": {
|
|
11563
|
-
"kind": "union",
|
|
11564
|
-
"value": [
|
|
11565
|
-
{
|
|
11566
|
-
"kind": "primitive",
|
|
11567
|
-
"value": "number"
|
|
11568
|
-
},
|
|
11569
|
-
{
|
|
11570
|
-
"kind": "primitive",
|
|
11571
|
-
"value": "string"
|
|
11572
|
-
}
|
|
11573
|
-
]
|
|
11574
|
-
},
|
|
11575
|
-
"description": "The size of the SystemIcon in `px`.",
|
|
11576
|
-
"declarations": [
|
|
11577
|
-
{
|
|
11578
|
-
"name": "size",
|
|
11579
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
11580
|
-
}
|
|
11581
|
-
],
|
|
11582
|
-
"tags": {},
|
|
11583
|
-
"defaultValue": {
|
|
11584
|
-
"kind": "number",
|
|
11585
|
-
"value": 20
|
|
11586
|
-
}
|
|
11587
|
-
},
|
|
11588
|
-
{
|
|
11589
|
-
"kind": "property",
|
|
11590
|
-
"name": "accent",
|
|
11591
|
-
"required": false,
|
|
11592
|
-
"type": {
|
|
11593
|
-
"kind": "primitive",
|
|
11594
|
-
"value": "string"
|
|
11595
|
-
},
|
|
11596
|
-
"description": "The accent color of the SystemIcon. This overrides `color`.",
|
|
11597
|
-
"declarations": [
|
|
11598
|
-
{
|
|
11599
|
-
"name": "accent",
|
|
11600
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
11601
|
-
}
|
|
11602
|
-
],
|
|
11603
|
-
"tags": {}
|
|
11604
|
-
},
|
|
11605
|
-
{
|
|
11606
|
-
"kind": "property",
|
|
11607
|
-
"name": "accentHover",
|
|
11608
|
-
"required": false,
|
|
11609
|
-
"type": {
|
|
11610
|
-
"kind": "primitive",
|
|
11611
|
-
"value": "string"
|
|
11612
|
-
},
|
|
11613
|
-
"description": "The accent color of the SystemIcon on hover. This overrides `colorHover`.",
|
|
11614
|
-
"declarations": [
|
|
11615
|
-
{
|
|
11616
|
-
"name": "accentHover",
|
|
11617
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
11618
|
-
}
|
|
11619
|
-
],
|
|
11620
|
-
"tags": {
|
|
11621
|
-
"deprecated": "`accentHover` is deprecated and will be removed in a future version. Please use the following instead in your style overrides:\n```tsx\n'&:hover': {\n[systemIconStencil.vars.accent]: desiredAccentHoverColor\n}\n```"
|
|
11622
|
-
}
|
|
11623
|
-
},
|
|
11624
|
-
{
|
|
11625
|
-
"kind": "property",
|
|
11626
|
-
"name": "backgroundHover",
|
|
11627
|
-
"required": false,
|
|
11628
|
-
"type": {
|
|
11629
|
-
"kind": "primitive",
|
|
11630
|
-
"value": "string"
|
|
11631
|
-
},
|
|
11632
|
-
"description": "The background color of the SystemIcon on hover.",
|
|
11633
|
-
"declarations": [
|
|
11634
|
-
{
|
|
11635
|
-
"name": "backgroundHover",
|
|
11636
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
11637
|
-
}
|
|
11638
|
-
],
|
|
11639
|
-
"tags": {
|
|
11640
|
-
"default": "transparent",
|
|
11641
|
-
"deprecated": "`backgroundHover` is deprecated and will be removed in a future version. Please use the following instead in your style overrides:\n```tsx\n'&:hover': {\n[systemIconStencil.vars.background]: desiredBackgroundHoverColor\n}\n```"
|
|
11642
|
-
},
|
|
11643
|
-
"defaultValue": {
|
|
11644
|
-
"kind": "symbol",
|
|
11645
|
-
"name": "transparent",
|
|
11646
|
-
"value": "transparent"
|
|
11647
|
-
}
|
|
11648
|
-
},
|
|
11649
|
-
{
|
|
11650
|
-
"kind": "property",
|
|
11651
|
-
"name": "colorHover",
|
|
11652
|
-
"required": false,
|
|
11653
|
-
"type": {
|
|
11654
|
-
"kind": "primitive",
|
|
11655
|
-
"value": "string"
|
|
11656
|
-
},
|
|
11657
|
-
"description": "The hover color of the SystemIcon. This defines `accentHover` and `fillHover`. `colorHover` may be overwritten by `accentHover` and `fillHover`.",
|
|
11658
|
-
"declarations": [
|
|
11659
|
-
{
|
|
11660
|
-
"name": "colorHover",
|
|
11661
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
11662
|
-
}
|
|
11663
|
-
],
|
|
11664
|
-
"tags": {
|
|
11665
|
-
"default": "base.licorice200",
|
|
11666
|
-
"deprecated": "`colorHover` is deprecated and will be removed in a future version. We have removed the default hover styles on SystemIcon. Please\nuse the following instead in your style overrides:\n```tsx\n'&:hover': {\n[systemIconStencil.vars.color]: desiredColorHoverColor\n}\n```"
|
|
11667
|
-
},
|
|
11668
|
-
"defaultValue": {
|
|
11669
|
-
"kind": "symbol",
|
|
11670
|
-
"name": "base.licorice200",
|
|
11671
|
-
"value": "base.licorice200"
|
|
11672
|
-
}
|
|
11673
|
-
},
|
|
11674
|
-
{
|
|
11675
|
-
"kind": "property",
|
|
11676
|
-
"name": "fillHover",
|
|
11677
|
-
"required": false,
|
|
11678
|
-
"type": {
|
|
11679
|
-
"kind": "primitive",
|
|
11680
|
-
"value": "string"
|
|
11681
|
-
},
|
|
11682
|
-
"description": "The fill color of the SystemIcon on hover. This overrides `colorHover`.",
|
|
11683
|
-
"declarations": [
|
|
11684
|
-
{
|
|
11685
|
-
"name": "fillHover",
|
|
11686
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
11687
|
-
}
|
|
11688
|
-
],
|
|
11689
|
-
"tags": {
|
|
11690
|
-
"deprecated": "`fillHover` is deprecated and will be removed in a future version. Please use the following instead in your style overrides:\n```tsx\n'&:hover': {\n[systemIconStencil.vars.fill]: desiredFillHoverColor\n}\n```"
|
|
11691
|
-
}
|
|
11692
|
-
},
|
|
11693
|
-
{
|
|
11694
|
-
"kind": "property",
|
|
11695
|
-
"name": "as",
|
|
11696
|
-
"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.",
|
|
11697
|
-
"tags": {},
|
|
11698
|
-
"declarations": [],
|
|
11699
|
-
"type": {
|
|
11700
|
-
"kind": "external",
|
|
11701
|
-
"name": "React.ElementType",
|
|
11702
|
-
"url": "https://developer.mozilla.org/en-US/docs/Web/API/element"
|
|
11703
|
-
},
|
|
11704
|
-
"defaultValue": {
|
|
11705
|
-
"kind": "external",
|
|
11706
|
-
"name": "span",
|
|
11707
|
-
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span"
|
|
11708
|
-
}
|
|
11709
|
-
},
|
|
11710
|
-
{
|
|
11711
|
-
"kind": "property",
|
|
11712
|
-
"name": "ref",
|
|
11713
|
-
"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`).",
|
|
11714
|
-
"tags": {},
|
|
11715
|
-
"declarations": [],
|
|
11716
|
-
"type": {
|
|
11717
|
-
"kind": "external",
|
|
11718
|
-
"name": "React.Ref",
|
|
11719
|
-
"url": "https://reactjs.org/docs/refs-and-the-dom.html",
|
|
11720
|
-
"typeParameters": [
|
|
11721
|
-
{
|
|
11722
|
-
"kind": "typeParameter",
|
|
11723
|
-
"name": "R",
|
|
11724
|
-
"required": true,
|
|
11725
|
-
"defaultValue": {
|
|
11726
|
-
"kind": "external",
|
|
11727
|
-
"name": "span",
|
|
11728
|
-
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span"
|
|
11767
|
+
"name": "span",
|
|
11768
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span"
|
|
11729
11769
|
}
|
|
11730
11770
|
}
|
|
11731
11771
|
]
|
|
@@ -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
|
{
|
|
@@ -98521,24 +99152,6 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
98521
99152
|
],
|
|
98522
99153
|
"tags": {}
|
|
98523
99154
|
},
|
|
98524
|
-
{
|
|
98525
|
-
"kind": "property",
|
|
98526
|
-
"name": "theme",
|
|
98527
|
-
"required": false,
|
|
98528
|
-
"type": {
|
|
98529
|
-
"kind": "symbol",
|
|
98530
|
-
"name": "EmotionCanvasTheme",
|
|
98531
|
-
"value": "EmotionCanvasTheme"
|
|
98532
|
-
},
|
|
98533
|
-
"description": "",
|
|
98534
|
-
"declarations": [
|
|
98535
|
-
{
|
|
98536
|
-
"name": "theme",
|
|
98537
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/theming/types.ts"
|
|
98538
|
-
}
|
|
98539
|
-
],
|
|
98540
|
-
"tags": {}
|
|
98541
|
-
},
|
|
98542
99155
|
{
|
|
98543
99156
|
"kind": "property",
|
|
98544
99157
|
"name": "grow",
|
|
@@ -99135,24 +99748,6 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
99135
99748
|
],
|
|
99136
99749
|
"tags": {}
|
|
99137
99750
|
},
|
|
99138
|
-
{
|
|
99139
|
-
"kind": "property",
|
|
99140
|
-
"name": "theme",
|
|
99141
|
-
"required": false,
|
|
99142
|
-
"type": {
|
|
99143
|
-
"kind": "symbol",
|
|
99144
|
-
"name": "EmotionCanvasTheme",
|
|
99145
|
-
"value": "EmotionCanvasTheme"
|
|
99146
|
-
},
|
|
99147
|
-
"description": "",
|
|
99148
|
-
"declarations": [
|
|
99149
|
-
{
|
|
99150
|
-
"name": "theme",
|
|
99151
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/theming/types.ts"
|
|
99152
|
-
}
|
|
99153
|
-
],
|
|
99154
|
-
"tags": {}
|
|
99155
|
-
},
|
|
99156
99751
|
{
|
|
99157
99752
|
"kind": "property",
|
|
99158
99753
|
"name": "grow",
|
|
@@ -179692,24 +180287,6 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
179692
180287
|
"value": 55
|
|
179693
180288
|
}
|
|
179694
180289
|
},
|
|
179695
|
-
{
|
|
179696
|
-
"kind": "property",
|
|
179697
|
-
"name": "theme",
|
|
179698
|
-
"required": false,
|
|
179699
|
-
"type": {
|
|
179700
|
-
"kind": "symbol",
|
|
179701
|
-
"name": "EmotionCanvasTheme",
|
|
179702
|
-
"value": "EmotionCanvasTheme"
|
|
179703
|
-
},
|
|
179704
|
-
"description": "",
|
|
179705
|
-
"declarations": [
|
|
179706
|
-
{
|
|
179707
|
-
"name": "theme",
|
|
179708
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/theming/types.ts"
|
|
179709
|
-
}
|
|
179710
|
-
],
|
|
179711
|
-
"tags": {}
|
|
179712
|
-
},
|
|
179713
180290
|
{
|
|
179714
180291
|
"kind": "property",
|
|
179715
180292
|
"name": "grow",
|
|
@@ -207762,24 +208339,6 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
207762
208339
|
],
|
|
207763
208340
|
"tags": {}
|
|
207764
208341
|
},
|
|
207765
|
-
{
|
|
207766
|
-
"kind": "property",
|
|
207767
|
-
"name": "theme",
|
|
207768
|
-
"required": false,
|
|
207769
|
-
"type": {
|
|
207770
|
-
"kind": "symbol",
|
|
207771
|
-
"name": "EmotionCanvasTheme",
|
|
207772
|
-
"value": "EmotionCanvasTheme"
|
|
207773
|
-
},
|
|
207774
|
-
"description": "",
|
|
207775
|
-
"declarations": [
|
|
207776
|
-
{
|
|
207777
|
-
"name": "theme",
|
|
207778
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/theming/types.ts"
|
|
207779
|
-
}
|
|
207780
|
-
],
|
|
207781
|
-
"tags": {}
|
|
207782
|
-
},
|
|
207783
208342
|
{
|
|
207784
208343
|
"kind": "property",
|
|
207785
208344
|
"name": "grow",
|
|
@@ -231508,6 +232067,33 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
231508
232067
|
]
|
|
231509
232068
|
}
|
|
231510
232069
|
},
|
|
232070
|
+
{
|
|
232071
|
+
"name": "ValueOf",
|
|
232072
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/text-area/lib/TextArea.tsx",
|
|
232073
|
+
"description": "",
|
|
232074
|
+
"declarations": [
|
|
232075
|
+
{
|
|
232076
|
+
"name": "ValueOf",
|
|
232077
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/text-area/lib/TextArea.tsx"
|
|
232078
|
+
}
|
|
232079
|
+
],
|
|
232080
|
+
"tags": {},
|
|
232081
|
+
"type": {
|
|
232082
|
+
"kind": "type",
|
|
232083
|
+
"typeParameters": [
|
|
232084
|
+
{
|
|
232085
|
+
"kind": "typeParameter",
|
|
232086
|
+
"name": "T",
|
|
232087
|
+
"required": true
|
|
232088
|
+
}
|
|
232089
|
+
],
|
|
232090
|
+
"value": {
|
|
232091
|
+
"kind": "symbol",
|
|
232092
|
+
"name": "ValueOf",
|
|
232093
|
+
"value": "ValueOf<T>"
|
|
232094
|
+
}
|
|
232095
|
+
}
|
|
232096
|
+
},
|
|
231511
232097
|
{
|
|
231512
232098
|
"name": "TextAreaProps",
|
|
231513
232099
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/text-area/lib/TextArea.tsx",
|
|
@@ -231537,227 +232123,686 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
231537
232123
|
"tags": {},
|
|
231538
232124
|
"type": {
|
|
231539
232125
|
"kind": "object",
|
|
231540
|
-
"typeParameters": [],
|
|
231541
232126
|
"properties": [
|
|
231542
232127
|
{
|
|
231543
232128
|
"kind": "property",
|
|
231544
232129
|
"name": "None",
|
|
232130
|
+
"defaultValue": {
|
|
232131
|
+
"kind": "string",
|
|
232132
|
+
"value": "none"
|
|
232133
|
+
},
|
|
231545
232134
|
"type": {
|
|
231546
232135
|
"kind": "string",
|
|
231547
232136
|
"value": "none"
|
|
231548
|
-
}
|
|
232137
|
+
},
|
|
232138
|
+
"required": true,
|
|
232139
|
+
"description": "",
|
|
232140
|
+
"declarations": [
|
|
232141
|
+
{
|
|
232142
|
+
"name": "None",
|
|
232143
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/text-area/lib/TextArea.tsx"
|
|
232144
|
+
}
|
|
232145
|
+
],
|
|
232146
|
+
"tags": {}
|
|
231549
232147
|
},
|
|
231550
232148
|
{
|
|
231551
232149
|
"kind": "property",
|
|
231552
232150
|
"name": "Both",
|
|
232151
|
+
"defaultValue": {
|
|
232152
|
+
"kind": "string",
|
|
232153
|
+
"value": "both"
|
|
232154
|
+
},
|
|
231553
232155
|
"type": {
|
|
231554
232156
|
"kind": "string",
|
|
231555
232157
|
"value": "both"
|
|
231556
|
-
}
|
|
232158
|
+
},
|
|
232159
|
+
"required": true,
|
|
232160
|
+
"description": "",
|
|
232161
|
+
"declarations": [
|
|
232162
|
+
{
|
|
232163
|
+
"name": "Both",
|
|
232164
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/text-area/lib/TextArea.tsx"
|
|
232165
|
+
}
|
|
232166
|
+
],
|
|
232167
|
+
"tags": {}
|
|
231557
232168
|
},
|
|
231558
232169
|
{
|
|
231559
232170
|
"kind": "property",
|
|
231560
232171
|
"name": "Horizontal",
|
|
232172
|
+
"defaultValue": {
|
|
232173
|
+
"kind": "string",
|
|
232174
|
+
"value": "horizontal"
|
|
232175
|
+
},
|
|
231561
232176
|
"type": {
|
|
231562
232177
|
"kind": "string",
|
|
231563
232178
|
"value": "horizontal"
|
|
231564
|
-
}
|
|
232179
|
+
},
|
|
232180
|
+
"required": true,
|
|
232181
|
+
"description": "",
|
|
232182
|
+
"declarations": [
|
|
232183
|
+
{
|
|
232184
|
+
"name": "Horizontal",
|
|
232185
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/text-area/lib/TextArea.tsx"
|
|
232186
|
+
}
|
|
232187
|
+
],
|
|
232188
|
+
"tags": {}
|
|
231565
232189
|
},
|
|
231566
232190
|
{
|
|
231567
232191
|
"kind": "property",
|
|
231568
232192
|
"name": "Vertical",
|
|
232193
|
+
"defaultValue": {
|
|
232194
|
+
"kind": "string",
|
|
232195
|
+
"value": "vertical"
|
|
232196
|
+
},
|
|
231569
232197
|
"type": {
|
|
231570
232198
|
"kind": "string",
|
|
231571
232199
|
"value": "vertical"
|
|
231572
|
-
}
|
|
232200
|
+
},
|
|
232201
|
+
"required": true,
|
|
232202
|
+
"description": "",
|
|
232203
|
+
"declarations": [
|
|
232204
|
+
{
|
|
232205
|
+
"name": "Vertical",
|
|
232206
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/text-area/lib/TextArea.tsx"
|
|
232207
|
+
}
|
|
232208
|
+
],
|
|
232209
|
+
"tags": {}
|
|
231573
232210
|
}
|
|
231574
|
-
]
|
|
231575
|
-
"callSignatures": []
|
|
232211
|
+
]
|
|
231576
232212
|
}
|
|
231577
232213
|
},
|
|
231578
232214
|
{
|
|
231579
|
-
"name": "
|
|
232215
|
+
"name": "textAreaStencil",
|
|
231580
232216
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/text-area/lib/TextArea.tsx",
|
|
231581
232217
|
"description": "",
|
|
231582
232218
|
"declarations": [
|
|
231583
232219
|
{
|
|
231584
|
-
"name": "
|
|
232220
|
+
"name": "textAreaStencil",
|
|
231585
232221
|
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/text-area/lib/TextArea.tsx"
|
|
231586
232222
|
}
|
|
231587
232223
|
],
|
|
231588
232224
|
"tags": {},
|
|
231589
232225
|
"type": {
|
|
231590
|
-
"kind": "
|
|
231591
|
-
"
|
|
231592
|
-
"displayName": "TextArea",
|
|
231593
|
-
"props": [
|
|
232226
|
+
"kind": "function",
|
|
232227
|
+
"parameters": [
|
|
231594
232228
|
{
|
|
231595
|
-
"kind": "
|
|
231596
|
-
"name": "
|
|
231597
|
-
"required": false,
|
|
232229
|
+
"kind": "parameter",
|
|
232230
|
+
"name": "options",
|
|
231598
232231
|
"type": {
|
|
231599
|
-
"kind": "
|
|
231600
|
-
"
|
|
232232
|
+
"kind": "conditional",
|
|
232233
|
+
"check": {
|
|
232234
|
+
"kind": "tuple",
|
|
232235
|
+
"value": [
|
|
232236
|
+
{
|
|
232237
|
+
"kind": "symbol",
|
|
232238
|
+
"name": "E",
|
|
232239
|
+
"value": "E"
|
|
232240
|
+
}
|
|
232241
|
+
]
|
|
232242
|
+
},
|
|
232243
|
+
"extends": {
|
|
232244
|
+
"kind": "tuple",
|
|
232245
|
+
"value": [
|
|
232246
|
+
{
|
|
232247
|
+
"kind": "primitive",
|
|
232248
|
+
"value": "never"
|
|
232249
|
+
}
|
|
232250
|
+
]
|
|
232251
|
+
},
|
|
232252
|
+
"trueType": {
|
|
232253
|
+
"kind": "intersection",
|
|
232254
|
+
"value": [
|
|
232255
|
+
{
|
|
232256
|
+
"kind": "symbol",
|
|
232257
|
+
"name": "ModifierValuesStencil",
|
|
232258
|
+
"typeParameters": [
|
|
232259
|
+
{
|
|
232260
|
+
"kind": "symbol",
|
|
232261
|
+
"name": "M",
|
|
232262
|
+
"value": "M"
|
|
232263
|
+
},
|
|
232264
|
+
{
|
|
232265
|
+
"kind": "symbol",
|
|
232266
|
+
"name": "V",
|
|
232267
|
+
"value": "V"
|
|
232268
|
+
}
|
|
232269
|
+
],
|
|
232270
|
+
"value": "ModifierValuesStencil<M, V>"
|
|
232271
|
+
},
|
|
232272
|
+
{
|
|
232273
|
+
"kind": "symbol",
|
|
232274
|
+
"name": "VariableValuesStencil",
|
|
232275
|
+
"typeParameters": [
|
|
232276
|
+
{
|
|
232277
|
+
"kind": "symbol",
|
|
232278
|
+
"name": "V",
|
|
232279
|
+
"value": "V"
|
|
232280
|
+
}
|
|
232281
|
+
],
|
|
232282
|
+
"value": "VariableValuesStencil<V>"
|
|
232283
|
+
}
|
|
232284
|
+
]
|
|
232285
|
+
},
|
|
232286
|
+
"falseType": {
|
|
232287
|
+
"kind": "conditional",
|
|
232288
|
+
"check": {
|
|
232289
|
+
"kind": "symbol",
|
|
232290
|
+
"name": "E",
|
|
232291
|
+
"value": "E"
|
|
232292
|
+
},
|
|
232293
|
+
"extends": {
|
|
232294
|
+
"kind": "symbol",
|
|
232295
|
+
"name": "BaseStencil",
|
|
232296
|
+
"typeParameters": [
|
|
232297
|
+
{
|
|
232298
|
+
"kind": "infer",
|
|
232299
|
+
"value": {
|
|
232300
|
+
"kind": "typeParameter",
|
|
232301
|
+
"name": "ME",
|
|
232302
|
+
"required": true
|
|
232303
|
+
}
|
|
232304
|
+
},
|
|
232305
|
+
{
|
|
232306
|
+
"kind": "infer",
|
|
232307
|
+
"value": {
|
|
232308
|
+
"kind": "typeParameter",
|
|
232309
|
+
"name": "VE",
|
|
232310
|
+
"required": true
|
|
232311
|
+
}
|
|
232312
|
+
},
|
|
232313
|
+
{
|
|
232314
|
+
"kind": "primitive",
|
|
232315
|
+
"value": "any"
|
|
232316
|
+
},
|
|
232317
|
+
{
|
|
232318
|
+
"kind": "primitive",
|
|
232319
|
+
"value": "any"
|
|
232320
|
+
}
|
|
232321
|
+
],
|
|
232322
|
+
"value": "BaseStencil<M, V, E, ID>"
|
|
232323
|
+
},
|
|
232324
|
+
"trueType": {
|
|
232325
|
+
"kind": "intersection",
|
|
232326
|
+
"value": [
|
|
232327
|
+
{
|
|
232328
|
+
"kind": "symbol",
|
|
232329
|
+
"name": "ModifierValuesStencil",
|
|
232330
|
+
"typeParameters": [
|
|
232331
|
+
{
|
|
232332
|
+
"kind": "intersection",
|
|
232333
|
+
"value": [
|
|
232334
|
+
{
|
|
232335
|
+
"kind": "symbol",
|
|
232336
|
+
"name": "ME",
|
|
232337
|
+
"value": "ME"
|
|
232338
|
+
},
|
|
232339
|
+
{
|
|
232340
|
+
"kind": "symbol",
|
|
232341
|
+
"name": "M",
|
|
232342
|
+
"value": "M"
|
|
232343
|
+
}
|
|
232344
|
+
]
|
|
232345
|
+
}
|
|
232346
|
+
],
|
|
232347
|
+
"value": "ModifierValuesStencil<M, V>"
|
|
232348
|
+
},
|
|
232349
|
+
{
|
|
232350
|
+
"kind": "symbol",
|
|
232351
|
+
"name": "VariableValuesStencil",
|
|
232352
|
+
"typeParameters": [
|
|
232353
|
+
{
|
|
232354
|
+
"kind": "intersection",
|
|
232355
|
+
"value": [
|
|
232356
|
+
{
|
|
232357
|
+
"kind": "symbol",
|
|
232358
|
+
"name": "VE",
|
|
232359
|
+
"value": "VE"
|
|
232360
|
+
},
|
|
232361
|
+
{
|
|
232362
|
+
"kind": "symbol",
|
|
232363
|
+
"name": "V",
|
|
232364
|
+
"value": "V"
|
|
232365
|
+
}
|
|
232366
|
+
]
|
|
232367
|
+
}
|
|
232368
|
+
],
|
|
232369
|
+
"value": "VariableValuesStencil<V>"
|
|
232370
|
+
}
|
|
232371
|
+
]
|
|
232372
|
+
},
|
|
232373
|
+
"falseType": {
|
|
232374
|
+
"kind": "primitive",
|
|
232375
|
+
"value": "never"
|
|
232376
|
+
}
|
|
232377
|
+
}
|
|
231601
232378
|
},
|
|
231602
|
-
"
|
|
232379
|
+
"required": false,
|
|
232380
|
+
"rest": false,
|
|
232381
|
+
"description": "",
|
|
231603
232382
|
"declarations": [
|
|
231604
232383
|
{
|
|
231605
|
-
"name": "
|
|
231606
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/
|
|
232384
|
+
"name": "options",
|
|
232385
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
231607
232386
|
}
|
|
231608
232387
|
],
|
|
231609
|
-
"tags": {
|
|
231610
|
-
|
|
232388
|
+
"tags": {}
|
|
232389
|
+
}
|
|
232390
|
+
],
|
|
232391
|
+
"members": [
|
|
232392
|
+
{
|
|
232393
|
+
"kind": "property",
|
|
232394
|
+
"name": "vars",
|
|
232395
|
+
"required": true,
|
|
232396
|
+
"type": {
|
|
232397
|
+
"kind": "symbol",
|
|
232398
|
+
"name": "StencilDefaultVars",
|
|
232399
|
+
"typeParameters": [
|
|
232400
|
+
{
|
|
232401
|
+
"kind": "symbol",
|
|
232402
|
+
"name": "V",
|
|
232403
|
+
"value": "V"
|
|
232404
|
+
},
|
|
232405
|
+
{
|
|
232406
|
+
"kind": "symbol",
|
|
232407
|
+
"name": "E",
|
|
232408
|
+
"value": "E"
|
|
232409
|
+
},
|
|
232410
|
+
{
|
|
232411
|
+
"kind": "symbol",
|
|
232412
|
+
"name": "ID",
|
|
232413
|
+
"value": "ID"
|
|
232414
|
+
}
|
|
232415
|
+
],
|
|
232416
|
+
"value": "StencilDefaultVars<V, E, ID>"
|
|
231611
232417
|
},
|
|
231612
|
-
"
|
|
231613
|
-
|
|
231614
|
-
|
|
231615
|
-
|
|
232418
|
+
"description": "",
|
|
232419
|
+
"declarations": [
|
|
232420
|
+
{
|
|
232421
|
+
"name": "vars",
|
|
232422
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
232423
|
+
}
|
|
232424
|
+
],
|
|
232425
|
+
"tags": {}
|
|
231616
232426
|
},
|
|
231617
232427
|
{
|
|
231618
232428
|
"kind": "property",
|
|
231619
|
-
"name": "
|
|
231620
|
-
"required":
|
|
232429
|
+
"name": "base",
|
|
232430
|
+
"required": true,
|
|
231621
232431
|
"type": {
|
|
231622
|
-
"kind": "
|
|
231623
|
-
"
|
|
231624
|
-
"value": "ErrorType"
|
|
232432
|
+
"kind": "primitive",
|
|
232433
|
+
"value": "string"
|
|
231625
232434
|
},
|
|
231626
|
-
"description": "
|
|
232435
|
+
"description": "",
|
|
231627
232436
|
"declarations": [
|
|
231628
232437
|
{
|
|
231629
|
-
"name": "
|
|
231630
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/
|
|
232438
|
+
"name": "base",
|
|
232439
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
231631
232440
|
}
|
|
231632
232441
|
],
|
|
231633
232442
|
"tags": {}
|
|
231634
232443
|
},
|
|
231635
232444
|
{
|
|
231636
232445
|
"kind": "property",
|
|
231637
|
-
"name": "
|
|
231638
|
-
"required":
|
|
232446
|
+
"name": "modifiers",
|
|
232447
|
+
"required": true,
|
|
231639
232448
|
"type": {
|
|
231640
|
-
"kind": "
|
|
231641
|
-
"
|
|
231642
|
-
|
|
231643
|
-
|
|
231644
|
-
|
|
231645
|
-
"type": {
|
|
232449
|
+
"kind": "conditional",
|
|
232450
|
+
"check": {
|
|
232451
|
+
"kind": "tuple",
|
|
232452
|
+
"value": [
|
|
232453
|
+
{
|
|
231646
232454
|
"kind": "symbol",
|
|
231647
|
-
"name": "
|
|
232455
|
+
"name": "E",
|
|
232456
|
+
"value": "E"
|
|
232457
|
+
}
|
|
232458
|
+
]
|
|
232459
|
+
},
|
|
232460
|
+
"extends": {
|
|
232461
|
+
"kind": "tuple",
|
|
232462
|
+
"value": [
|
|
232463
|
+
{
|
|
232464
|
+
"kind": "symbol",
|
|
232465
|
+
"name": "BaseStencil",
|
|
231648
232466
|
"typeParameters": [
|
|
231649
232467
|
{
|
|
231650
|
-
"kind": "
|
|
231651
|
-
"
|
|
231652
|
-
|
|
232468
|
+
"kind": "infer",
|
|
232469
|
+
"value": {
|
|
232470
|
+
"kind": "typeParameter",
|
|
232471
|
+
"name": "ME",
|
|
232472
|
+
"required": true
|
|
232473
|
+
}
|
|
232474
|
+
},
|
|
232475
|
+
{
|
|
232476
|
+
"kind": "infer",
|
|
232477
|
+
"value": {
|
|
232478
|
+
"kind": "typeParameter",
|
|
232479
|
+
"name": "VE",
|
|
232480
|
+
"required": true
|
|
232481
|
+
}
|
|
232482
|
+
},
|
|
232483
|
+
{
|
|
232484
|
+
"kind": "primitive",
|
|
232485
|
+
"value": "any"
|
|
232486
|
+
},
|
|
232487
|
+
{
|
|
232488
|
+
"kind": "primitive",
|
|
232489
|
+
"value": "any"
|
|
231653
232490
|
}
|
|
231654
232491
|
],
|
|
231655
|
-
"value": "
|
|
232492
|
+
"value": "BaseStencil<M, V, E, ID>"
|
|
232493
|
+
}
|
|
232494
|
+
]
|
|
232495
|
+
},
|
|
232496
|
+
"trueType": {
|
|
232497
|
+
"kind": "symbol",
|
|
232498
|
+
"name": "StencilModifierReturn",
|
|
232499
|
+
"typeParameters": [
|
|
232500
|
+
{
|
|
232501
|
+
"kind": "intersection",
|
|
232502
|
+
"value": [
|
|
232503
|
+
{
|
|
232504
|
+
"kind": "symbol",
|
|
232505
|
+
"name": "ME",
|
|
232506
|
+
"value": "ME"
|
|
232507
|
+
},
|
|
232508
|
+
{
|
|
232509
|
+
"kind": "symbol",
|
|
232510
|
+
"name": "M",
|
|
232511
|
+
"value": "M"
|
|
232512
|
+
}
|
|
232513
|
+
]
|
|
231656
232514
|
},
|
|
231657
|
-
|
|
231658
|
-
|
|
231659
|
-
|
|
231660
|
-
|
|
231661
|
-
|
|
231662
|
-
|
|
231663
|
-
|
|
231664
|
-
|
|
231665
|
-
|
|
231666
|
-
|
|
231667
|
-
|
|
231668
|
-
|
|
231669
|
-
|
|
231670
|
-
|
|
231671
|
-
|
|
231672
|
-
|
|
232515
|
+
{
|
|
232516
|
+
"kind": "intersection",
|
|
232517
|
+
"value": [
|
|
232518
|
+
{
|
|
232519
|
+
"kind": "symbol",
|
|
232520
|
+
"name": "VE",
|
|
232521
|
+
"value": "VE"
|
|
232522
|
+
},
|
|
232523
|
+
{
|
|
232524
|
+
"kind": "symbol",
|
|
232525
|
+
"name": "V",
|
|
232526
|
+
"value": "V"
|
|
232527
|
+
}
|
|
232528
|
+
]
|
|
232529
|
+
}
|
|
232530
|
+
],
|
|
232531
|
+
"value": "StencilModifierReturn<M, V>"
|
|
232532
|
+
},
|
|
232533
|
+
"falseType": {
|
|
232534
|
+
"kind": "symbol",
|
|
232535
|
+
"name": "StencilModifierReturn",
|
|
232536
|
+
"typeParameters": [
|
|
232537
|
+
{
|
|
232538
|
+
"kind": "symbol",
|
|
232539
|
+
"name": "M",
|
|
232540
|
+
"value": "M"
|
|
232541
|
+
},
|
|
232542
|
+
{
|
|
232543
|
+
"kind": "symbol",
|
|
232544
|
+
"name": "V",
|
|
232545
|
+
"value": "V"
|
|
232546
|
+
}
|
|
232547
|
+
],
|
|
232548
|
+
"value": "StencilModifierReturn<M, V>"
|
|
231673
232549
|
}
|
|
231674
232550
|
},
|
|
231675
|
-
"description": "
|
|
232551
|
+
"description": "",
|
|
231676
232552
|
"declarations": [
|
|
231677
232553
|
{
|
|
231678
|
-
"name": "
|
|
231679
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/
|
|
232554
|
+
"name": "modifiers",
|
|
232555
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
231680
232556
|
}
|
|
231681
232557
|
],
|
|
231682
232558
|
"tags": {}
|
|
231683
232559
|
},
|
|
231684
232560
|
{
|
|
231685
232561
|
"kind": "property",
|
|
231686
|
-
"name": "
|
|
231687
|
-
"required":
|
|
232562
|
+
"name": "defaultModifiers",
|
|
232563
|
+
"required": true,
|
|
231688
232564
|
"type": {
|
|
231689
|
-
"kind": "
|
|
231690
|
-
"
|
|
232565
|
+
"kind": "conditional",
|
|
232566
|
+
"check": {
|
|
232567
|
+
"kind": "tuple",
|
|
232568
|
+
"value": [
|
|
232569
|
+
{
|
|
232570
|
+
"kind": "symbol",
|
|
232571
|
+
"name": "E",
|
|
232572
|
+
"value": "E"
|
|
232573
|
+
}
|
|
232574
|
+
]
|
|
232575
|
+
},
|
|
232576
|
+
"extends": {
|
|
232577
|
+
"kind": "tuple",
|
|
232578
|
+
"value": [
|
|
232579
|
+
{
|
|
232580
|
+
"kind": "symbol",
|
|
232581
|
+
"name": "BaseStencil",
|
|
232582
|
+
"typeParameters": [
|
|
232583
|
+
{
|
|
232584
|
+
"kind": "infer",
|
|
232585
|
+
"value": {
|
|
232586
|
+
"kind": "typeParameter",
|
|
232587
|
+
"name": "ME",
|
|
232588
|
+
"required": true
|
|
232589
|
+
}
|
|
232590
|
+
},
|
|
232591
|
+
{
|
|
232592
|
+
"kind": "primitive",
|
|
232593
|
+
"value": "any"
|
|
232594
|
+
},
|
|
232595
|
+
{
|
|
232596
|
+
"kind": "primitive",
|
|
232597
|
+
"value": "any"
|
|
232598
|
+
},
|
|
232599
|
+
{
|
|
232600
|
+
"kind": "primitive",
|
|
232601
|
+
"value": "any"
|
|
232602
|
+
}
|
|
232603
|
+
],
|
|
232604
|
+
"value": "BaseStencil<M, V, E, ID>"
|
|
232605
|
+
}
|
|
232606
|
+
]
|
|
232607
|
+
},
|
|
232608
|
+
"trueType": {
|
|
232609
|
+
"kind": "symbol",
|
|
232610
|
+
"name": "StencilDefaultModifierReturn",
|
|
232611
|
+
"typeParameters": [
|
|
232612
|
+
{
|
|
232613
|
+
"kind": "intersection",
|
|
232614
|
+
"value": [
|
|
232615
|
+
{
|
|
232616
|
+
"kind": "symbol",
|
|
232617
|
+
"name": "ME",
|
|
232618
|
+
"value": "ME"
|
|
232619
|
+
},
|
|
232620
|
+
{
|
|
232621
|
+
"kind": "symbol",
|
|
232622
|
+
"name": "M",
|
|
232623
|
+
"value": "M"
|
|
232624
|
+
}
|
|
232625
|
+
]
|
|
232626
|
+
}
|
|
232627
|
+
],
|
|
232628
|
+
"value": "StencilDefaultModifierReturn<M>"
|
|
232629
|
+
},
|
|
232630
|
+
"falseType": {
|
|
232631
|
+
"kind": "symbol",
|
|
232632
|
+
"name": "StencilDefaultModifierReturn",
|
|
232633
|
+
"typeParameters": [
|
|
232634
|
+
{
|
|
232635
|
+
"kind": "symbol",
|
|
232636
|
+
"name": "M",
|
|
232637
|
+
"value": "M"
|
|
232638
|
+
}
|
|
232639
|
+
],
|
|
232640
|
+
"value": "StencilDefaultModifierReturn<M>"
|
|
232641
|
+
}
|
|
231691
232642
|
},
|
|
231692
|
-
"description": "
|
|
232643
|
+
"description": "",
|
|
231693
232644
|
"declarations": [
|
|
231694
232645
|
{
|
|
231695
|
-
"name": "
|
|
231696
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/
|
|
232646
|
+
"name": "defaultModifiers",
|
|
232647
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
231697
232648
|
}
|
|
231698
232649
|
],
|
|
231699
232650
|
"tags": {}
|
|
231700
232651
|
},
|
|
231701
232652
|
{
|
|
231702
232653
|
"kind": "property",
|
|
231703
|
-
"name": "
|
|
232654
|
+
"name": "__extends",
|
|
231704
232655
|
"required": false,
|
|
231705
232656
|
"type": {
|
|
231706
|
-
"kind": "
|
|
231707
|
-
"
|
|
232657
|
+
"kind": "symbol",
|
|
232658
|
+
"name": "E",
|
|
232659
|
+
"value": "E"
|
|
231708
232660
|
},
|
|
231709
|
-
"description": "
|
|
232661
|
+
"description": "",
|
|
231710
232662
|
"declarations": [
|
|
231711
232663
|
{
|
|
231712
|
-
"name": "
|
|
231713
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/
|
|
232664
|
+
"name": "__extends",
|
|
232665
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
231714
232666
|
}
|
|
231715
232667
|
],
|
|
231716
|
-
"tags": {
|
|
231717
|
-
"default": "false"
|
|
231718
|
-
},
|
|
231719
|
-
"defaultValue": {
|
|
231720
|
-
"kind": "boolean",
|
|
231721
|
-
"value": false
|
|
231722
|
-
}
|
|
232668
|
+
"tags": {}
|
|
231723
232669
|
},
|
|
231724
232670
|
{
|
|
231725
232671
|
"kind": "property",
|
|
231726
|
-
"name": "
|
|
231727
|
-
"required":
|
|
232672
|
+
"name": "__vars",
|
|
232673
|
+
"required": true,
|
|
231728
232674
|
"type": {
|
|
231729
232675
|
"kind": "symbol",
|
|
231730
|
-
"name": "
|
|
231731
|
-
"value": "
|
|
232676
|
+
"name": "V",
|
|
232677
|
+
"value": "V"
|
|
231732
232678
|
},
|
|
231733
|
-
"description": "
|
|
232679
|
+
"description": "",
|
|
231734
232680
|
"declarations": [
|
|
231735
232681
|
{
|
|
231736
|
-
"name": "
|
|
231737
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/
|
|
232682
|
+
"name": "__vars",
|
|
232683
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
231738
232684
|
}
|
|
231739
232685
|
],
|
|
231740
|
-
"tags": {
|
|
231741
|
-
|
|
232686
|
+
"tags": {}
|
|
232687
|
+
},
|
|
232688
|
+
{
|
|
232689
|
+
"kind": "property",
|
|
232690
|
+
"name": "__modifiers",
|
|
232691
|
+
"required": true,
|
|
232692
|
+
"type": {
|
|
232693
|
+
"kind": "symbol",
|
|
232694
|
+
"name": "M",
|
|
232695
|
+
"value": "M"
|
|
231742
232696
|
},
|
|
231743
|
-
"
|
|
232697
|
+
"description": "",
|
|
232698
|
+
"declarations": [
|
|
232699
|
+
{
|
|
232700
|
+
"name": "__modifiers",
|
|
232701
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
232702
|
+
}
|
|
232703
|
+
],
|
|
232704
|
+
"tags": {}
|
|
232705
|
+
},
|
|
232706
|
+
{
|
|
232707
|
+
"kind": "property",
|
|
232708
|
+
"name": "__id",
|
|
232709
|
+
"required": true,
|
|
232710
|
+
"type": {
|
|
231744
232711
|
"kind": "symbol",
|
|
231745
|
-
"name": "
|
|
231746
|
-
"value": "
|
|
232712
|
+
"name": "ID",
|
|
232713
|
+
"value": "ID"
|
|
232714
|
+
},
|
|
232715
|
+
"description": "",
|
|
232716
|
+
"declarations": [
|
|
232717
|
+
{
|
|
232718
|
+
"name": "__id",
|
|
232719
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
232720
|
+
}
|
|
232721
|
+
],
|
|
232722
|
+
"tags": {}
|
|
232723
|
+
}
|
|
232724
|
+
],
|
|
232725
|
+
"returnType": {
|
|
232726
|
+
"kind": "object",
|
|
232727
|
+
"properties": [
|
|
232728
|
+
{
|
|
232729
|
+
"kind": "property",
|
|
232730
|
+
"name": "className",
|
|
232731
|
+
"required": true,
|
|
232732
|
+
"type": {
|
|
232733
|
+
"kind": "primitive",
|
|
232734
|
+
"value": "string"
|
|
232735
|
+
},
|
|
232736
|
+
"description": "",
|
|
232737
|
+
"declarations": [
|
|
232738
|
+
{
|
|
232739
|
+
"name": "className",
|
|
232740
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
232741
|
+
}
|
|
232742
|
+
],
|
|
232743
|
+
"tags": {}
|
|
232744
|
+
},
|
|
232745
|
+
{
|
|
232746
|
+
"kind": "property",
|
|
232747
|
+
"name": "style",
|
|
232748
|
+
"required": false,
|
|
232749
|
+
"type": {
|
|
232750
|
+
"kind": "external",
|
|
232751
|
+
"name": "Record",
|
|
232752
|
+
"url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type",
|
|
232753
|
+
"typeParameters": [
|
|
232754
|
+
{
|
|
232755
|
+
"kind": "primitive",
|
|
232756
|
+
"value": "string"
|
|
232757
|
+
},
|
|
232758
|
+
{
|
|
232759
|
+
"kind": "primitive",
|
|
232760
|
+
"value": "string"
|
|
232761
|
+
}
|
|
232762
|
+
]
|
|
232763
|
+
},
|
|
232764
|
+
"description": "",
|
|
232765
|
+
"declarations": [
|
|
232766
|
+
{
|
|
232767
|
+
"name": "style",
|
|
232768
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
232769
|
+
}
|
|
232770
|
+
],
|
|
232771
|
+
"tags": {}
|
|
231747
232772
|
}
|
|
231748
|
-
|
|
232773
|
+
]
|
|
232774
|
+
}
|
|
232775
|
+
}
|
|
232776
|
+
},
|
|
232777
|
+
{
|
|
232778
|
+
"name": "TextArea",
|
|
232779
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/text-area/lib/TextArea.tsx",
|
|
232780
|
+
"description": "",
|
|
232781
|
+
"declarations": [
|
|
232782
|
+
{
|
|
232783
|
+
"name": "TextArea",
|
|
232784
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/text-area/lib/TextArea.tsx"
|
|
232785
|
+
}
|
|
232786
|
+
],
|
|
232787
|
+
"tags": {},
|
|
232788
|
+
"type": {
|
|
232789
|
+
"kind": "enhancedComponent",
|
|
232790
|
+
"componentType": "regular",
|
|
232791
|
+
"displayName": "TextArea",
|
|
232792
|
+
"props": [
|
|
231749
232793
|
{
|
|
231750
232794
|
"kind": "property",
|
|
231751
|
-
"name": "
|
|
232795
|
+
"name": "error",
|
|
231752
232796
|
"required": false,
|
|
231753
232797
|
"type": {
|
|
231754
|
-
"kind": "
|
|
231755
|
-
"
|
|
232798
|
+
"kind": "symbol",
|
|
232799
|
+
"name": "ErrorType",
|
|
232800
|
+
"value": "ErrorType"
|
|
231756
232801
|
},
|
|
231757
|
-
"description": "The
|
|
232802
|
+
"description": "The type of error associated with the TextArea (if applicable).",
|
|
231758
232803
|
"declarations": [
|
|
231759
232804
|
{
|
|
231760
|
-
"name": "
|
|
232805
|
+
"name": "error",
|
|
231761
232806
|
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/text-area/lib/TextArea.tsx"
|
|
231762
232807
|
}
|
|
231763
232808
|
],
|
|
@@ -231765,21 +232810,27 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
231765
232810
|
},
|
|
231766
232811
|
{
|
|
231767
232812
|
"kind": "property",
|
|
231768
|
-
"name": "
|
|
232813
|
+
"name": "resize",
|
|
231769
232814
|
"required": false,
|
|
231770
232815
|
"type": {
|
|
231771
232816
|
"kind": "symbol",
|
|
231772
|
-
"name": "
|
|
231773
|
-
"value": "EmotionCanvasTheme"
|
|
232817
|
+
"name": "TextAreaResizeDirection"
|
|
231774
232818
|
},
|
|
231775
|
-
"description": "",
|
|
232819
|
+
"description": "The resize constraints of the TextArea.",
|
|
231776
232820
|
"declarations": [
|
|
231777
232821
|
{
|
|
231778
|
-
"name": "
|
|
231779
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/
|
|
232822
|
+
"name": "resize",
|
|
232823
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/text-area/lib/TextArea.tsx"
|
|
231780
232824
|
}
|
|
231781
232825
|
],
|
|
231782
|
-
"tags": {
|
|
232826
|
+
"tags": {
|
|
232827
|
+
"default": "TextArea.ResizeDirection.Both"
|
|
232828
|
+
},
|
|
232829
|
+
"defaultValue": {
|
|
232830
|
+
"kind": "symbol",
|
|
232831
|
+
"name": "TextArea.ResizeDirection.Both",
|
|
232832
|
+
"value": "TextArea.ResizeDirection.Both"
|
|
232833
|
+
}
|
|
231783
232834
|
},
|
|
231784
232835
|
{
|
|
231785
232836
|
"kind": "property",
|
|
@@ -233453,6 +234504,569 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
233453
234504
|
"name": "TextInput"
|
|
233454
234505
|
}
|
|
233455
234506
|
},
|
|
234507
|
+
{
|
|
234508
|
+
"name": "textInputStencil",
|
|
234509
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/text-input/lib/TextInput.tsx",
|
|
234510
|
+
"description": "",
|
|
234511
|
+
"declarations": [
|
|
234512
|
+
{
|
|
234513
|
+
"name": "textInputStencil",
|
|
234514
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/text-input/lib/TextInput.tsx"
|
|
234515
|
+
}
|
|
234516
|
+
],
|
|
234517
|
+
"tags": {},
|
|
234518
|
+
"type": {
|
|
234519
|
+
"kind": "function",
|
|
234520
|
+
"parameters": [
|
|
234521
|
+
{
|
|
234522
|
+
"kind": "parameter",
|
|
234523
|
+
"name": "options",
|
|
234524
|
+
"type": {
|
|
234525
|
+
"kind": "conditional",
|
|
234526
|
+
"check": {
|
|
234527
|
+
"kind": "tuple",
|
|
234528
|
+
"value": [
|
|
234529
|
+
{
|
|
234530
|
+
"kind": "symbol",
|
|
234531
|
+
"name": "E",
|
|
234532
|
+
"value": "E"
|
|
234533
|
+
}
|
|
234534
|
+
]
|
|
234535
|
+
},
|
|
234536
|
+
"extends": {
|
|
234537
|
+
"kind": "tuple",
|
|
234538
|
+
"value": [
|
|
234539
|
+
{
|
|
234540
|
+
"kind": "primitive",
|
|
234541
|
+
"value": "never"
|
|
234542
|
+
}
|
|
234543
|
+
]
|
|
234544
|
+
},
|
|
234545
|
+
"trueType": {
|
|
234546
|
+
"kind": "intersection",
|
|
234547
|
+
"value": [
|
|
234548
|
+
{
|
|
234549
|
+
"kind": "symbol",
|
|
234550
|
+
"name": "ModifierValuesStencil",
|
|
234551
|
+
"typeParameters": [
|
|
234552
|
+
{
|
|
234553
|
+
"kind": "symbol",
|
|
234554
|
+
"name": "M",
|
|
234555
|
+
"value": "M"
|
|
234556
|
+
},
|
|
234557
|
+
{
|
|
234558
|
+
"kind": "symbol",
|
|
234559
|
+
"name": "V",
|
|
234560
|
+
"value": "V"
|
|
234561
|
+
}
|
|
234562
|
+
],
|
|
234563
|
+
"value": "ModifierValuesStencil<M, V>"
|
|
234564
|
+
},
|
|
234565
|
+
{
|
|
234566
|
+
"kind": "symbol",
|
|
234567
|
+
"name": "VariableValuesStencil",
|
|
234568
|
+
"typeParameters": [
|
|
234569
|
+
{
|
|
234570
|
+
"kind": "symbol",
|
|
234571
|
+
"name": "V",
|
|
234572
|
+
"value": "V"
|
|
234573
|
+
}
|
|
234574
|
+
],
|
|
234575
|
+
"value": "VariableValuesStencil<V>"
|
|
234576
|
+
}
|
|
234577
|
+
]
|
|
234578
|
+
},
|
|
234579
|
+
"falseType": {
|
|
234580
|
+
"kind": "conditional",
|
|
234581
|
+
"check": {
|
|
234582
|
+
"kind": "symbol",
|
|
234583
|
+
"name": "E",
|
|
234584
|
+
"value": "E"
|
|
234585
|
+
},
|
|
234586
|
+
"extends": {
|
|
234587
|
+
"kind": "symbol",
|
|
234588
|
+
"name": "BaseStencil",
|
|
234589
|
+
"typeParameters": [
|
|
234590
|
+
{
|
|
234591
|
+
"kind": "infer",
|
|
234592
|
+
"value": {
|
|
234593
|
+
"kind": "typeParameter",
|
|
234594
|
+
"name": "ME",
|
|
234595
|
+
"required": true
|
|
234596
|
+
}
|
|
234597
|
+
},
|
|
234598
|
+
{
|
|
234599
|
+
"kind": "infer",
|
|
234600
|
+
"value": {
|
|
234601
|
+
"kind": "typeParameter",
|
|
234602
|
+
"name": "VE",
|
|
234603
|
+
"required": true
|
|
234604
|
+
}
|
|
234605
|
+
},
|
|
234606
|
+
{
|
|
234607
|
+
"kind": "primitive",
|
|
234608
|
+
"value": "any"
|
|
234609
|
+
},
|
|
234610
|
+
{
|
|
234611
|
+
"kind": "primitive",
|
|
234612
|
+
"value": "any"
|
|
234613
|
+
}
|
|
234614
|
+
],
|
|
234615
|
+
"value": "BaseStencil<M, V, E, ID>"
|
|
234616
|
+
},
|
|
234617
|
+
"trueType": {
|
|
234618
|
+
"kind": "intersection",
|
|
234619
|
+
"value": [
|
|
234620
|
+
{
|
|
234621
|
+
"kind": "symbol",
|
|
234622
|
+
"name": "ModifierValuesStencil",
|
|
234623
|
+
"typeParameters": [
|
|
234624
|
+
{
|
|
234625
|
+
"kind": "intersection",
|
|
234626
|
+
"value": [
|
|
234627
|
+
{
|
|
234628
|
+
"kind": "symbol",
|
|
234629
|
+
"name": "ME",
|
|
234630
|
+
"value": "ME"
|
|
234631
|
+
},
|
|
234632
|
+
{
|
|
234633
|
+
"kind": "symbol",
|
|
234634
|
+
"name": "M",
|
|
234635
|
+
"value": "M"
|
|
234636
|
+
}
|
|
234637
|
+
]
|
|
234638
|
+
}
|
|
234639
|
+
],
|
|
234640
|
+
"value": "ModifierValuesStencil<M, V>"
|
|
234641
|
+
},
|
|
234642
|
+
{
|
|
234643
|
+
"kind": "symbol",
|
|
234644
|
+
"name": "VariableValuesStencil",
|
|
234645
|
+
"typeParameters": [
|
|
234646
|
+
{
|
|
234647
|
+
"kind": "intersection",
|
|
234648
|
+
"value": [
|
|
234649
|
+
{
|
|
234650
|
+
"kind": "symbol",
|
|
234651
|
+
"name": "VE",
|
|
234652
|
+
"value": "VE"
|
|
234653
|
+
},
|
|
234654
|
+
{
|
|
234655
|
+
"kind": "symbol",
|
|
234656
|
+
"name": "V",
|
|
234657
|
+
"value": "V"
|
|
234658
|
+
}
|
|
234659
|
+
]
|
|
234660
|
+
}
|
|
234661
|
+
],
|
|
234662
|
+
"value": "VariableValuesStencil<V>"
|
|
234663
|
+
}
|
|
234664
|
+
]
|
|
234665
|
+
},
|
|
234666
|
+
"falseType": {
|
|
234667
|
+
"kind": "primitive",
|
|
234668
|
+
"value": "never"
|
|
234669
|
+
}
|
|
234670
|
+
}
|
|
234671
|
+
},
|
|
234672
|
+
"required": false,
|
|
234673
|
+
"rest": false,
|
|
234674
|
+
"description": "",
|
|
234675
|
+
"declarations": [
|
|
234676
|
+
{
|
|
234677
|
+
"name": "options",
|
|
234678
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
234679
|
+
}
|
|
234680
|
+
],
|
|
234681
|
+
"tags": {}
|
|
234682
|
+
}
|
|
234683
|
+
],
|
|
234684
|
+
"members": [
|
|
234685
|
+
{
|
|
234686
|
+
"kind": "property",
|
|
234687
|
+
"name": "vars",
|
|
234688
|
+
"required": true,
|
|
234689
|
+
"type": {
|
|
234690
|
+
"kind": "symbol",
|
|
234691
|
+
"name": "StencilDefaultVars",
|
|
234692
|
+
"typeParameters": [
|
|
234693
|
+
{
|
|
234694
|
+
"kind": "symbol",
|
|
234695
|
+
"name": "V",
|
|
234696
|
+
"value": "V"
|
|
234697
|
+
},
|
|
234698
|
+
{
|
|
234699
|
+
"kind": "symbol",
|
|
234700
|
+
"name": "E",
|
|
234701
|
+
"value": "E"
|
|
234702
|
+
},
|
|
234703
|
+
{
|
|
234704
|
+
"kind": "symbol",
|
|
234705
|
+
"name": "ID",
|
|
234706
|
+
"value": "ID"
|
|
234707
|
+
}
|
|
234708
|
+
],
|
|
234709
|
+
"value": "StencilDefaultVars<V, E, ID>"
|
|
234710
|
+
},
|
|
234711
|
+
"description": "",
|
|
234712
|
+
"declarations": [
|
|
234713
|
+
{
|
|
234714
|
+
"name": "vars",
|
|
234715
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
234716
|
+
}
|
|
234717
|
+
],
|
|
234718
|
+
"tags": {}
|
|
234719
|
+
},
|
|
234720
|
+
{
|
|
234721
|
+
"kind": "property",
|
|
234722
|
+
"name": "base",
|
|
234723
|
+
"required": true,
|
|
234724
|
+
"type": {
|
|
234725
|
+
"kind": "primitive",
|
|
234726
|
+
"value": "string"
|
|
234727
|
+
},
|
|
234728
|
+
"description": "",
|
|
234729
|
+
"declarations": [
|
|
234730
|
+
{
|
|
234731
|
+
"name": "base",
|
|
234732
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
234733
|
+
}
|
|
234734
|
+
],
|
|
234735
|
+
"tags": {}
|
|
234736
|
+
},
|
|
234737
|
+
{
|
|
234738
|
+
"kind": "property",
|
|
234739
|
+
"name": "modifiers",
|
|
234740
|
+
"required": true,
|
|
234741
|
+
"type": {
|
|
234742
|
+
"kind": "conditional",
|
|
234743
|
+
"check": {
|
|
234744
|
+
"kind": "tuple",
|
|
234745
|
+
"value": [
|
|
234746
|
+
{
|
|
234747
|
+
"kind": "symbol",
|
|
234748
|
+
"name": "E",
|
|
234749
|
+
"value": "E"
|
|
234750
|
+
}
|
|
234751
|
+
]
|
|
234752
|
+
},
|
|
234753
|
+
"extends": {
|
|
234754
|
+
"kind": "tuple",
|
|
234755
|
+
"value": [
|
|
234756
|
+
{
|
|
234757
|
+
"kind": "symbol",
|
|
234758
|
+
"name": "BaseStencil",
|
|
234759
|
+
"typeParameters": [
|
|
234760
|
+
{
|
|
234761
|
+
"kind": "infer",
|
|
234762
|
+
"value": {
|
|
234763
|
+
"kind": "typeParameter",
|
|
234764
|
+
"name": "ME",
|
|
234765
|
+
"required": true
|
|
234766
|
+
}
|
|
234767
|
+
},
|
|
234768
|
+
{
|
|
234769
|
+
"kind": "infer",
|
|
234770
|
+
"value": {
|
|
234771
|
+
"kind": "typeParameter",
|
|
234772
|
+
"name": "VE",
|
|
234773
|
+
"required": true
|
|
234774
|
+
}
|
|
234775
|
+
},
|
|
234776
|
+
{
|
|
234777
|
+
"kind": "primitive",
|
|
234778
|
+
"value": "any"
|
|
234779
|
+
},
|
|
234780
|
+
{
|
|
234781
|
+
"kind": "primitive",
|
|
234782
|
+
"value": "any"
|
|
234783
|
+
}
|
|
234784
|
+
],
|
|
234785
|
+
"value": "BaseStencil<M, V, E, ID>"
|
|
234786
|
+
}
|
|
234787
|
+
]
|
|
234788
|
+
},
|
|
234789
|
+
"trueType": {
|
|
234790
|
+
"kind": "symbol",
|
|
234791
|
+
"name": "StencilModifierReturn",
|
|
234792
|
+
"typeParameters": [
|
|
234793
|
+
{
|
|
234794
|
+
"kind": "intersection",
|
|
234795
|
+
"value": [
|
|
234796
|
+
{
|
|
234797
|
+
"kind": "symbol",
|
|
234798
|
+
"name": "ME",
|
|
234799
|
+
"value": "ME"
|
|
234800
|
+
},
|
|
234801
|
+
{
|
|
234802
|
+
"kind": "symbol",
|
|
234803
|
+
"name": "M",
|
|
234804
|
+
"value": "M"
|
|
234805
|
+
}
|
|
234806
|
+
]
|
|
234807
|
+
},
|
|
234808
|
+
{
|
|
234809
|
+
"kind": "intersection",
|
|
234810
|
+
"value": [
|
|
234811
|
+
{
|
|
234812
|
+
"kind": "symbol",
|
|
234813
|
+
"name": "VE",
|
|
234814
|
+
"value": "VE"
|
|
234815
|
+
},
|
|
234816
|
+
{
|
|
234817
|
+
"kind": "symbol",
|
|
234818
|
+
"name": "V",
|
|
234819
|
+
"value": "V"
|
|
234820
|
+
}
|
|
234821
|
+
]
|
|
234822
|
+
}
|
|
234823
|
+
],
|
|
234824
|
+
"value": "StencilModifierReturn<M, V>"
|
|
234825
|
+
},
|
|
234826
|
+
"falseType": {
|
|
234827
|
+
"kind": "symbol",
|
|
234828
|
+
"name": "StencilModifierReturn",
|
|
234829
|
+
"typeParameters": [
|
|
234830
|
+
{
|
|
234831
|
+
"kind": "symbol",
|
|
234832
|
+
"name": "M",
|
|
234833
|
+
"value": "M"
|
|
234834
|
+
},
|
|
234835
|
+
{
|
|
234836
|
+
"kind": "symbol",
|
|
234837
|
+
"name": "V",
|
|
234838
|
+
"value": "V"
|
|
234839
|
+
}
|
|
234840
|
+
],
|
|
234841
|
+
"value": "StencilModifierReturn<M, V>"
|
|
234842
|
+
}
|
|
234843
|
+
},
|
|
234844
|
+
"description": "",
|
|
234845
|
+
"declarations": [
|
|
234846
|
+
{
|
|
234847
|
+
"name": "modifiers",
|
|
234848
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
234849
|
+
}
|
|
234850
|
+
],
|
|
234851
|
+
"tags": {}
|
|
234852
|
+
},
|
|
234853
|
+
{
|
|
234854
|
+
"kind": "property",
|
|
234855
|
+
"name": "defaultModifiers",
|
|
234856
|
+
"required": true,
|
|
234857
|
+
"type": {
|
|
234858
|
+
"kind": "conditional",
|
|
234859
|
+
"check": {
|
|
234860
|
+
"kind": "tuple",
|
|
234861
|
+
"value": [
|
|
234862
|
+
{
|
|
234863
|
+
"kind": "symbol",
|
|
234864
|
+
"name": "E",
|
|
234865
|
+
"value": "E"
|
|
234866
|
+
}
|
|
234867
|
+
]
|
|
234868
|
+
},
|
|
234869
|
+
"extends": {
|
|
234870
|
+
"kind": "tuple",
|
|
234871
|
+
"value": [
|
|
234872
|
+
{
|
|
234873
|
+
"kind": "symbol",
|
|
234874
|
+
"name": "BaseStencil",
|
|
234875
|
+
"typeParameters": [
|
|
234876
|
+
{
|
|
234877
|
+
"kind": "infer",
|
|
234878
|
+
"value": {
|
|
234879
|
+
"kind": "typeParameter",
|
|
234880
|
+
"name": "ME",
|
|
234881
|
+
"required": true
|
|
234882
|
+
}
|
|
234883
|
+
},
|
|
234884
|
+
{
|
|
234885
|
+
"kind": "primitive",
|
|
234886
|
+
"value": "any"
|
|
234887
|
+
},
|
|
234888
|
+
{
|
|
234889
|
+
"kind": "primitive",
|
|
234890
|
+
"value": "any"
|
|
234891
|
+
},
|
|
234892
|
+
{
|
|
234893
|
+
"kind": "primitive",
|
|
234894
|
+
"value": "any"
|
|
234895
|
+
}
|
|
234896
|
+
],
|
|
234897
|
+
"value": "BaseStencil<M, V, E, ID>"
|
|
234898
|
+
}
|
|
234899
|
+
]
|
|
234900
|
+
},
|
|
234901
|
+
"trueType": {
|
|
234902
|
+
"kind": "symbol",
|
|
234903
|
+
"name": "StencilDefaultModifierReturn",
|
|
234904
|
+
"typeParameters": [
|
|
234905
|
+
{
|
|
234906
|
+
"kind": "intersection",
|
|
234907
|
+
"value": [
|
|
234908
|
+
{
|
|
234909
|
+
"kind": "symbol",
|
|
234910
|
+
"name": "ME",
|
|
234911
|
+
"value": "ME"
|
|
234912
|
+
},
|
|
234913
|
+
{
|
|
234914
|
+
"kind": "symbol",
|
|
234915
|
+
"name": "M",
|
|
234916
|
+
"value": "M"
|
|
234917
|
+
}
|
|
234918
|
+
]
|
|
234919
|
+
}
|
|
234920
|
+
],
|
|
234921
|
+
"value": "StencilDefaultModifierReturn<M>"
|
|
234922
|
+
},
|
|
234923
|
+
"falseType": {
|
|
234924
|
+
"kind": "symbol",
|
|
234925
|
+
"name": "StencilDefaultModifierReturn",
|
|
234926
|
+
"typeParameters": [
|
|
234927
|
+
{
|
|
234928
|
+
"kind": "symbol",
|
|
234929
|
+
"name": "M",
|
|
234930
|
+
"value": "M"
|
|
234931
|
+
}
|
|
234932
|
+
],
|
|
234933
|
+
"value": "StencilDefaultModifierReturn<M>"
|
|
234934
|
+
}
|
|
234935
|
+
},
|
|
234936
|
+
"description": "",
|
|
234937
|
+
"declarations": [
|
|
234938
|
+
{
|
|
234939
|
+
"name": "defaultModifiers",
|
|
234940
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
234941
|
+
}
|
|
234942
|
+
],
|
|
234943
|
+
"tags": {}
|
|
234944
|
+
},
|
|
234945
|
+
{
|
|
234946
|
+
"kind": "property",
|
|
234947
|
+
"name": "__extends",
|
|
234948
|
+
"required": false,
|
|
234949
|
+
"type": {
|
|
234950
|
+
"kind": "symbol",
|
|
234951
|
+
"name": "E",
|
|
234952
|
+
"value": "E"
|
|
234953
|
+
},
|
|
234954
|
+
"description": "",
|
|
234955
|
+
"declarations": [
|
|
234956
|
+
{
|
|
234957
|
+
"name": "__extends",
|
|
234958
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
234959
|
+
}
|
|
234960
|
+
],
|
|
234961
|
+
"tags": {}
|
|
234962
|
+
},
|
|
234963
|
+
{
|
|
234964
|
+
"kind": "property",
|
|
234965
|
+
"name": "__vars",
|
|
234966
|
+
"required": true,
|
|
234967
|
+
"type": {
|
|
234968
|
+
"kind": "symbol",
|
|
234969
|
+
"name": "V",
|
|
234970
|
+
"value": "V"
|
|
234971
|
+
},
|
|
234972
|
+
"description": "",
|
|
234973
|
+
"declarations": [
|
|
234974
|
+
{
|
|
234975
|
+
"name": "__vars",
|
|
234976
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
234977
|
+
}
|
|
234978
|
+
],
|
|
234979
|
+
"tags": {}
|
|
234980
|
+
},
|
|
234981
|
+
{
|
|
234982
|
+
"kind": "property",
|
|
234983
|
+
"name": "__modifiers",
|
|
234984
|
+
"required": true,
|
|
234985
|
+
"type": {
|
|
234986
|
+
"kind": "symbol",
|
|
234987
|
+
"name": "M",
|
|
234988
|
+
"value": "M"
|
|
234989
|
+
},
|
|
234990
|
+
"description": "",
|
|
234991
|
+
"declarations": [
|
|
234992
|
+
{
|
|
234993
|
+
"name": "__modifiers",
|
|
234994
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
234995
|
+
}
|
|
234996
|
+
],
|
|
234997
|
+
"tags": {}
|
|
234998
|
+
},
|
|
234999
|
+
{
|
|
235000
|
+
"kind": "property",
|
|
235001
|
+
"name": "__id",
|
|
235002
|
+
"required": true,
|
|
235003
|
+
"type": {
|
|
235004
|
+
"kind": "symbol",
|
|
235005
|
+
"name": "ID",
|
|
235006
|
+
"value": "ID"
|
|
235007
|
+
},
|
|
235008
|
+
"description": "",
|
|
235009
|
+
"declarations": [
|
|
235010
|
+
{
|
|
235011
|
+
"name": "__id",
|
|
235012
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
235013
|
+
}
|
|
235014
|
+
],
|
|
235015
|
+
"tags": {}
|
|
235016
|
+
}
|
|
235017
|
+
],
|
|
235018
|
+
"returnType": {
|
|
235019
|
+
"kind": "object",
|
|
235020
|
+
"properties": [
|
|
235021
|
+
{
|
|
235022
|
+
"kind": "property",
|
|
235023
|
+
"name": "className",
|
|
235024
|
+
"required": true,
|
|
235025
|
+
"type": {
|
|
235026
|
+
"kind": "primitive",
|
|
235027
|
+
"value": "string"
|
|
235028
|
+
},
|
|
235029
|
+
"description": "",
|
|
235030
|
+
"declarations": [
|
|
235031
|
+
{
|
|
235032
|
+
"name": "className",
|
|
235033
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
235034
|
+
}
|
|
235035
|
+
],
|
|
235036
|
+
"tags": {}
|
|
235037
|
+
},
|
|
235038
|
+
{
|
|
235039
|
+
"kind": "property",
|
|
235040
|
+
"name": "style",
|
|
235041
|
+
"required": false,
|
|
235042
|
+
"type": {
|
|
235043
|
+
"kind": "external",
|
|
235044
|
+
"name": "Record",
|
|
235045
|
+
"url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type",
|
|
235046
|
+
"typeParameters": [
|
|
235047
|
+
{
|
|
235048
|
+
"kind": "primitive",
|
|
235049
|
+
"value": "string"
|
|
235050
|
+
},
|
|
235051
|
+
{
|
|
235052
|
+
"kind": "primitive",
|
|
235053
|
+
"value": "string"
|
|
235054
|
+
}
|
|
235055
|
+
]
|
|
235056
|
+
},
|
|
235057
|
+
"description": "",
|
|
235058
|
+
"declarations": [
|
|
235059
|
+
{
|
|
235060
|
+
"name": "style",
|
|
235061
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
235062
|
+
}
|
|
235063
|
+
],
|
|
235064
|
+
"tags": {}
|
|
235065
|
+
}
|
|
235066
|
+
]
|
|
235067
|
+
}
|
|
235068
|
+
}
|
|
235069
|
+
},
|
|
233456
235070
|
{
|
|
233457
235071
|
"name": "TextInput",
|
|
233458
235072
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/text-input/lib/TextInput.tsx",
|
|
@@ -233513,24 +235127,6 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
233513
235127
|
],
|
|
233514
235128
|
"tags": {}
|
|
233515
235129
|
},
|
|
233516
|
-
{
|
|
233517
|
-
"kind": "property",
|
|
233518
|
-
"name": "theme",
|
|
233519
|
-
"required": false,
|
|
233520
|
-
"type": {
|
|
233521
|
-
"kind": "symbol",
|
|
233522
|
-
"name": "EmotionCanvasTheme",
|
|
233523
|
-
"value": "EmotionCanvasTheme"
|
|
233524
|
-
},
|
|
233525
|
-
"description": "",
|
|
233526
|
-
"declarations": [
|
|
233527
|
-
{
|
|
233528
|
-
"name": "theme",
|
|
233529
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/theming/types.ts"
|
|
233530
|
-
}
|
|
233531
|
-
],
|
|
233532
|
-
"tags": {}
|
|
233533
|
-
},
|
|
233534
235130
|
{
|
|
233535
235131
|
"kind": "property",
|
|
233536
235132
|
"name": "grow",
|
|
@@ -256735,11 +258331,11 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
256735
258331
|
"value": [
|
|
256736
258332
|
{
|
|
256737
258333
|
"kind": "string",
|
|
256738
|
-
"value": "
|
|
258334
|
+
"value": "999px"
|
|
256739
258335
|
},
|
|
256740
258336
|
{
|
|
256741
258337
|
"kind": "string",
|
|
256742
|
-
"value": "
|
|
258338
|
+
"value": "4px"
|
|
256743
258339
|
},
|
|
256744
258340
|
{
|
|
256745
258341
|
"kind": "string",
|