@workday/canvas-kit-docs 10.0.19 → 10.0.20
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 +130 -10
- package/package.json +6 -6
package/dist/es6/lib/docs.js
CHANGED
|
@@ -6303,6 +6303,129 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
6303
6303
|
],
|
|
6304
6304
|
"tags": {}
|
|
6305
6305
|
},
|
|
6306
|
+
{
|
|
6307
|
+
"kind": "property",
|
|
6308
|
+
"name": "cursor",
|
|
6309
|
+
"required": false,
|
|
6310
|
+
"type": {
|
|
6311
|
+
"kind": "external",
|
|
6312
|
+
"name": "Property.Cursor",
|
|
6313
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/CSS/cursor"
|
|
6314
|
+
},
|
|
6315
|
+
"description": "sets [CSS cursor property](https://developer.mozilla.org/en-US/docs/Web/CSS/cursor)",
|
|
6316
|
+
"declarations": [
|
|
6317
|
+
{
|
|
6318
|
+
"name": "cursor",
|
|
6319
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/text/lib/LabelText.tsx"
|
|
6320
|
+
}
|
|
6321
|
+
],
|
|
6322
|
+
"tags": {}
|
|
6323
|
+
},
|
|
6324
|
+
{
|
|
6325
|
+
"kind": "property",
|
|
6326
|
+
"name": "disabled",
|
|
6327
|
+
"required": false,
|
|
6328
|
+
"type": {
|
|
6329
|
+
"kind": "primitive",
|
|
6330
|
+
"value": "boolean"
|
|
6331
|
+
},
|
|
6332
|
+
"description": "",
|
|
6333
|
+
"declarations": [
|
|
6334
|
+
{
|
|
6335
|
+
"name": "disabled",
|
|
6336
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/text/lib/LabelText.tsx"
|
|
6337
|
+
}
|
|
6338
|
+
],
|
|
6339
|
+
"tags": {}
|
|
6340
|
+
},
|
|
6341
|
+
{
|
|
6342
|
+
"kind": "property",
|
|
6343
|
+
"name": "typeLevel",
|
|
6344
|
+
"required": false,
|
|
6345
|
+
"type": {
|
|
6346
|
+
"kind": "union",
|
|
6347
|
+
"value": [
|
|
6348
|
+
{
|
|
6349
|
+
"kind": "string",
|
|
6350
|
+
"value": "body.medium"
|
|
6351
|
+
},
|
|
6352
|
+
{
|
|
6353
|
+
"kind": "string",
|
|
6354
|
+
"value": "body.large"
|
|
6355
|
+
},
|
|
6356
|
+
{
|
|
6357
|
+
"kind": "string",
|
|
6358
|
+
"value": "body.small"
|
|
6359
|
+
},
|
|
6360
|
+
{
|
|
6361
|
+
"kind": "string",
|
|
6362
|
+
"value": "title.medium"
|
|
6363
|
+
},
|
|
6364
|
+
{
|
|
6365
|
+
"kind": "string",
|
|
6366
|
+
"value": "title.large"
|
|
6367
|
+
},
|
|
6368
|
+
{
|
|
6369
|
+
"kind": "string",
|
|
6370
|
+
"value": "title.small"
|
|
6371
|
+
},
|
|
6372
|
+
{
|
|
6373
|
+
"kind": "string",
|
|
6374
|
+
"value": "heading.medium"
|
|
6375
|
+
},
|
|
6376
|
+
{
|
|
6377
|
+
"kind": "string",
|
|
6378
|
+
"value": "heading.large"
|
|
6379
|
+
},
|
|
6380
|
+
{
|
|
6381
|
+
"kind": "string",
|
|
6382
|
+
"value": "heading.small"
|
|
6383
|
+
},
|
|
6384
|
+
{
|
|
6385
|
+
"kind": "string",
|
|
6386
|
+
"value": "subtext.medium"
|
|
6387
|
+
},
|
|
6388
|
+
{
|
|
6389
|
+
"kind": "string",
|
|
6390
|
+
"value": "subtext.large"
|
|
6391
|
+
},
|
|
6392
|
+
{
|
|
6393
|
+
"kind": "string",
|
|
6394
|
+
"value": "subtext.small"
|
|
6395
|
+
}
|
|
6396
|
+
]
|
|
6397
|
+
},
|
|
6398
|
+
"description": "Type token as string with level and size separated by dot.\nThese values map to our [Canvas type levels](https://canvas.workday.com/tokens/type#type-styles).\n\n```tsx\n<Text typeLevel=\"body.small\">Small body text</Text>\n```",
|
|
6399
|
+
"declarations": [
|
|
6400
|
+
{
|
|
6401
|
+
"name": "typeLevel",
|
|
6402
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/text/lib/Text.tsx"
|
|
6403
|
+
}
|
|
6404
|
+
],
|
|
6405
|
+
"tags": {}
|
|
6406
|
+
},
|
|
6407
|
+
{
|
|
6408
|
+
"kind": "property",
|
|
6409
|
+
"name": "variant",
|
|
6410
|
+
"required": false,
|
|
6411
|
+
"type": {
|
|
6412
|
+
"kind": "keyof",
|
|
6413
|
+
"name": {
|
|
6414
|
+
"kind": "symbol",
|
|
6415
|
+
"name": "CanvasTypeVariants",
|
|
6416
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/text/lib/Text.tsx",
|
|
6417
|
+
"value": "keyof CanvasTypeVariants"
|
|
6418
|
+
}
|
|
6419
|
+
},
|
|
6420
|
+
"description": "Type variant token names: `error`, `hint` or `inverse`.\n\n```tsx\n<Text variant=\"error\" typeLevel=\"subtext.large\">Error text</Text>\n```",
|
|
6421
|
+
"declarations": [
|
|
6422
|
+
{
|
|
6423
|
+
"name": "variant",
|
|
6424
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/text/lib/Text.tsx"
|
|
6425
|
+
}
|
|
6426
|
+
],
|
|
6427
|
+
"tags": {}
|
|
6428
|
+
},
|
|
6306
6429
|
{
|
|
6307
6430
|
"kind": "property",
|
|
6308
6431
|
"name": "cs",
|
|
@@ -6333,9 +6456,8 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
6333
6456
|
"url": "https://developer.mozilla.org/en-US/docs/Web/API/element"
|
|
6334
6457
|
},
|
|
6335
6458
|
"defaultValue": {
|
|
6336
|
-
"kind": "
|
|
6337
|
-
"name": "
|
|
6338
|
-
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label"
|
|
6459
|
+
"kind": "symbol",
|
|
6460
|
+
"name": "LabelText"
|
|
6339
6461
|
}
|
|
6340
6462
|
},
|
|
6341
6463
|
{
|
|
@@ -6354,9 +6476,8 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
6354
6476
|
"name": "R",
|
|
6355
6477
|
"required": true,
|
|
6356
6478
|
"defaultValue": {
|
|
6357
|
-
"kind": "
|
|
6358
|
-
"name": "
|
|
6359
|
-
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label"
|
|
6479
|
+
"kind": "symbol",
|
|
6480
|
+
"name": "LabelText"
|
|
6360
6481
|
}
|
|
6361
6482
|
}
|
|
6362
6483
|
]
|
|
@@ -6415,13 +6536,12 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
6415
6536
|
}
|
|
6416
6537
|
],
|
|
6417
6538
|
"baseElement": {
|
|
6418
|
-
"kind": "
|
|
6419
|
-
"name": "
|
|
6420
|
-
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label"
|
|
6539
|
+
"kind": "symbol",
|
|
6540
|
+
"name": "LabelText"
|
|
6421
6541
|
},
|
|
6422
6542
|
"styleComponent": {
|
|
6423
6543
|
"kind": "symbol",
|
|
6424
|
-
"name": "
|
|
6544
|
+
"name": "Box"
|
|
6425
6545
|
},
|
|
6426
6546
|
"model": "FormFieldModel"
|
|
6427
6547
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-docs",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.20",
|
|
4
4
|
"description": "Documentation components of Canvas Kit components",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@emotion/styled": "^11.6.0",
|
|
46
46
|
"@storybook/csf": "0.0.1",
|
|
47
|
-
"@workday/canvas-kit-labs-react": "^10.0.
|
|
48
|
-
"@workday/canvas-kit-preview-react": "^10.0.
|
|
49
|
-
"@workday/canvas-kit-react": "^10.0.
|
|
50
|
-
"@workday/canvas-kit-styling": "^10.0.
|
|
47
|
+
"@workday/canvas-kit-labs-react": "^10.0.20",
|
|
48
|
+
"@workday/canvas-kit-preview-react": "^10.0.20",
|
|
49
|
+
"@workday/canvas-kit-react": "^10.0.20",
|
|
50
|
+
"@workday/canvas-kit-styling": "^10.0.20",
|
|
51
51
|
"@workday/canvas-system-icons-web": "^3.0.0",
|
|
52
52
|
"@workday/canvas-tokens-web": "^1.0.0",
|
|
53
53
|
"markdown-to-jsx": "^6.10.3",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"mkdirp": "^1.0.3",
|
|
60
60
|
"typescript": "4.2"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "ce342cf5c9bacf184e99e6cd5b4e8cc240ba9367"
|
|
63
63
|
}
|