@workday/canvas-kit-docs 11.0.0-alpha.796-next.0 → 11.0.0-alpha.797-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 +109 -0
- package/package.json +6 -6
package/dist/es6/lib/docs.js
CHANGED
|
@@ -255320,6 +255320,75 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
255320
255320
|
"value": "NodeTransformer"
|
|
255321
255321
|
}
|
|
255322
255322
|
},
|
|
255323
|
+
{
|
|
255324
|
+
"name": "handleParentModifier",
|
|
255325
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/handleParentModifier.ts",
|
|
255326
|
+
"description": "",
|
|
255327
|
+
"declarations": [
|
|
255328
|
+
{
|
|
255329
|
+
"name": "handleParentModifier",
|
|
255330
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/handleParentModifier.ts"
|
|
255331
|
+
}
|
|
255332
|
+
],
|
|
255333
|
+
"tags": {},
|
|
255334
|
+
"type": {
|
|
255335
|
+
"kind": "function",
|
|
255336
|
+
"parameters": [
|
|
255337
|
+
{
|
|
255338
|
+
"kind": "parameter",
|
|
255339
|
+
"name": "node",
|
|
255340
|
+
"type": {
|
|
255341
|
+
"kind": "symbol",
|
|
255342
|
+
"name": "ts.Node",
|
|
255343
|
+
"value": "Node"
|
|
255344
|
+
},
|
|
255345
|
+
"required": true,
|
|
255346
|
+
"rest": false,
|
|
255347
|
+
"description": "",
|
|
255348
|
+
"declarations": [
|
|
255349
|
+
{
|
|
255350
|
+
"name": "node",
|
|
255351
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
255352
|
+
}
|
|
255353
|
+
],
|
|
255354
|
+
"tags": {}
|
|
255355
|
+
},
|
|
255356
|
+
{
|
|
255357
|
+
"kind": "parameter",
|
|
255358
|
+
"name": "context",
|
|
255359
|
+
"type": {
|
|
255360
|
+
"kind": "symbol",
|
|
255361
|
+
"name": "TransformerContext",
|
|
255362
|
+
"value": "TransformerContext"
|
|
255363
|
+
},
|
|
255364
|
+
"required": true,
|
|
255365
|
+
"rest": false,
|
|
255366
|
+
"description": "",
|
|
255367
|
+
"declarations": [
|
|
255368
|
+
{
|
|
255369
|
+
"name": "context",
|
|
255370
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
255371
|
+
}
|
|
255372
|
+
],
|
|
255373
|
+
"tags": {}
|
|
255374
|
+
}
|
|
255375
|
+
],
|
|
255376
|
+
"members": [],
|
|
255377
|
+
"returnType": {
|
|
255378
|
+
"kind": "union",
|
|
255379
|
+
"value": [
|
|
255380
|
+
{
|
|
255381
|
+
"kind": "primitive",
|
|
255382
|
+
"value": "string"
|
|
255383
|
+
},
|
|
255384
|
+
{
|
|
255385
|
+
"kind": "primitive",
|
|
255386
|
+
"value": "void"
|
|
255387
|
+
}
|
|
255388
|
+
]
|
|
255389
|
+
}
|
|
255390
|
+
}
|
|
255391
|
+
},
|
|
255323
255392
|
{
|
|
255324
255393
|
"name": "handlePx2Rem",
|
|
255325
255394
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/handlePx2Rem.ts",
|
|
@@ -259915,6 +259984,46 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
259915
259984
|
]
|
|
259916
259985
|
}
|
|
259917
259986
|
},
|
|
259987
|
+
{
|
|
259988
|
+
"name": "parentModifier",
|
|
259989
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/cs.ts",
|
|
259990
|
+
"description": "This function is used in conjunction with Stencils to get a selector to match the current element\nand a parent modifier. The selector will match a parent element with a modifier applied and the current\nelement. It should be used on the `base` config of a Stencil.\n\n```ts\nconst childStencil = createStencil({\n base: {\n // base styles\n [parentModifier(parentStencil.modifiers.size.large)]: {\n // maybe adjust padding of this element\n }\n }\n})\n```",
|
|
259991
|
+
"declarations": [
|
|
259992
|
+
{
|
|
259993
|
+
"name": "parentModifier",
|
|
259994
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/cs.ts"
|
|
259995
|
+
}
|
|
259996
|
+
],
|
|
259997
|
+
"tags": {},
|
|
259998
|
+
"type": {
|
|
259999
|
+
"kind": "function",
|
|
260000
|
+
"parameters": [
|
|
260001
|
+
{
|
|
260002
|
+
"kind": "parameter",
|
|
260003
|
+
"name": "value",
|
|
260004
|
+
"type": {
|
|
260005
|
+
"kind": "primitive",
|
|
260006
|
+
"value": "string"
|
|
260007
|
+
},
|
|
260008
|
+
"required": true,
|
|
260009
|
+
"rest": false,
|
|
260010
|
+
"description": "",
|
|
260011
|
+
"declarations": [
|
|
260012
|
+
{
|
|
260013
|
+
"name": "value",
|
|
260014
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/cs.ts"
|
|
260015
|
+
}
|
|
260016
|
+
],
|
|
260017
|
+
"tags": {}
|
|
260018
|
+
}
|
|
260019
|
+
],
|
|
260020
|
+
"members": [],
|
|
260021
|
+
"returnType": {
|
|
260022
|
+
"kind": "primitive",
|
|
260023
|
+
"value": "string"
|
|
260024
|
+
}
|
|
260025
|
+
}
|
|
260026
|
+
},
|
|
259918
260027
|
{
|
|
259919
260028
|
"name": "createStencil",
|
|
259920
260029
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/cs.ts",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-docs",
|
|
3
|
-
"version": "11.0.0-alpha.
|
|
3
|
+
"version": "11.0.0-alpha.797-next.0",
|
|
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": "^11.0.0-alpha.
|
|
48
|
-
"@workday/canvas-kit-preview-react": "^11.0.0-alpha.
|
|
49
|
-
"@workday/canvas-kit-react": "^11.0.0-alpha.
|
|
50
|
-
"@workday/canvas-kit-styling": "^11.0.0-alpha.
|
|
47
|
+
"@workday/canvas-kit-labs-react": "^11.0.0-alpha.797-next.0",
|
|
48
|
+
"@workday/canvas-kit-preview-react": "^11.0.0-alpha.797-next.0",
|
|
49
|
+
"@workday/canvas-kit-react": "^11.0.0-alpha.797-next.0",
|
|
50
|
+
"@workday/canvas-kit-styling": "^11.0.0-alpha.797-next.0",
|
|
51
51
|
"@workday/canvas-system-icons-web": "^3.0.0",
|
|
52
52
|
"@workday/canvas-tokens-web": "^1.3.1",
|
|
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": "78514b9b8a486bc3b361b57a0f5d340a2a86e39d"
|
|
63
63
|
}
|