@workday/canvas-kit-docs 10.3.20 → 10.3.21
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 +95 -1
- package/package.json +6 -6
package/dist/es6/lib/docs.js
CHANGED
|
@@ -250242,6 +250242,23 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
250242
250242
|
}
|
|
250243
250243
|
}
|
|
250244
250244
|
},
|
|
250245
|
+
{
|
|
250246
|
+
"name": "handleInjectGlobal",
|
|
250247
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/handleInjectGlobal.ts",
|
|
250248
|
+
"description": "",
|
|
250249
|
+
"declarations": [
|
|
250250
|
+
{
|
|
250251
|
+
"name": "handleInjectGlobal",
|
|
250252
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/handleInjectGlobal.ts"
|
|
250253
|
+
}
|
|
250254
|
+
],
|
|
250255
|
+
"tags": {},
|
|
250256
|
+
"type": {
|
|
250257
|
+
"kind": "symbol",
|
|
250258
|
+
"name": "NodeTransformer",
|
|
250259
|
+
"value": "NodeTransformer"
|
|
250260
|
+
}
|
|
250261
|
+
},
|
|
250245
250262
|
{
|
|
250246
250263
|
"name": "handleKeyframes",
|
|
250247
250264
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/handleKeyframes.ts",
|
|
@@ -254278,10 +254295,70 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
254278
254295
|
}
|
|
254279
254296
|
}
|
|
254280
254297
|
},
|
|
254298
|
+
{
|
|
254299
|
+
"name": "getInstance",
|
|
254300
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/cs.ts",
|
|
254301
|
+
"description": "Gets the current Emotion CSS instance, falling back to the one from `@emotion/css` if one wasn't\nalready created. This allows a custom cache to be created as an opt-in",
|
|
254302
|
+
"declarations": [
|
|
254303
|
+
{
|
|
254304
|
+
"name": "getInstance",
|
|
254305
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/cs.ts"
|
|
254306
|
+
}
|
|
254307
|
+
],
|
|
254308
|
+
"tags": {},
|
|
254309
|
+
"type": {
|
|
254310
|
+
"kind": "function",
|
|
254311
|
+
"parameters": [],
|
|
254312
|
+
"members": [],
|
|
254313
|
+
"returnType": {
|
|
254314
|
+
"kind": "symbol",
|
|
254315
|
+
"name": "_createInstance"
|
|
254316
|
+
}
|
|
254317
|
+
}
|
|
254318
|
+
},
|
|
254319
|
+
{
|
|
254320
|
+
"name": "createInstance",
|
|
254321
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/cs.ts",
|
|
254322
|
+
"description": "Creates a custom instance of Emotion CSS. If this function is never called, the instance will be\nwhat gets imported from `@emotion/css`. This function must be called before any Canvas Kit\ncomponent is imported or before any other `@workday/canvas-kit-styling` function is called. All\nthe style utility functions need an instance and will automatically create one if one isn't\nalready created.\n\nThe style utilities inject styles as soon as they are called which means an instance needs to be\ncreated before any Canvas Kit components are even imported. Your application bootstrap must\nimport a file that imports `@workday/canvas-kit-styling` and calls `createInstance` _before_ any\nother Canvas Kit components are imported.",
|
|
254323
|
+
"declarations": [
|
|
254324
|
+
{
|
|
254325
|
+
"name": "createInstance",
|
|
254326
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/cs.ts"
|
|
254327
|
+
}
|
|
254328
|
+
],
|
|
254329
|
+
"tags": {},
|
|
254330
|
+
"type": {
|
|
254331
|
+
"kind": "symbol",
|
|
254332
|
+
"name": "_createInstance",
|
|
254333
|
+
"value": "(options?: Options | undefined) => Emotion"
|
|
254334
|
+
}
|
|
254335
|
+
},
|
|
254336
|
+
{
|
|
254337
|
+
"name": "getCache",
|
|
254338
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/cs.ts",
|
|
254339
|
+
"description": "Returns the cache used by all style utilities",
|
|
254340
|
+
"declarations": [
|
|
254341
|
+
{
|
|
254342
|
+
"name": "getCache",
|
|
254343
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/cs.ts"
|
|
254344
|
+
}
|
|
254345
|
+
],
|
|
254346
|
+
"tags": {},
|
|
254347
|
+
"type": {
|
|
254348
|
+
"kind": "function",
|
|
254349
|
+
"parameters": [],
|
|
254350
|
+
"members": [],
|
|
254351
|
+
"returnType": {
|
|
254352
|
+
"kind": "symbol",
|
|
254353
|
+
"name": "EmotionCache",
|
|
254354
|
+
"value": "EmotionCache"
|
|
254355
|
+
}
|
|
254356
|
+
}
|
|
254357
|
+
},
|
|
254281
254358
|
{
|
|
254282
254359
|
"name": "keyframes",
|
|
254283
254360
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/cs.ts",
|
|
254284
|
-
"description": "",
|
|
254361
|
+
"description": "Create static keyframes. Use as a drop-in replacement to `keyframes` found in `@emotion/css` or\n`@emotion/react`",
|
|
254285
254362
|
"declarations": [
|
|
254286
254363
|
{
|
|
254287
254364
|
"name": "keyframes",
|
|
@@ -254385,6 +254462,23 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
254385
254462
|
}
|
|
254386
254463
|
}
|
|
254387
254464
|
},
|
|
254465
|
+
{
|
|
254466
|
+
"name": "injectGlobal",
|
|
254467
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/cs.ts",
|
|
254468
|
+
"description": "Allows injecting of global styles.",
|
|
254469
|
+
"declarations": [
|
|
254470
|
+
{
|
|
254471
|
+
"name": "injectGlobal",
|
|
254472
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/cs.ts"
|
|
254473
|
+
}
|
|
254474
|
+
],
|
|
254475
|
+
"tags": {},
|
|
254476
|
+
"type": {
|
|
254477
|
+
"kind": "symbol",
|
|
254478
|
+
"name": "EmotionCSS.injectGlobal",
|
|
254479
|
+
"value": "{ (template: TemplateStringsArray, ...args: CSSInterpolation[]): void; (...args: CSSInterpolation[]): void; }"
|
|
254480
|
+
}
|
|
254481
|
+
},
|
|
254388
254482
|
{
|
|
254389
254483
|
"name": "px2rem",
|
|
254390
254484
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/px2rem.ts",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-docs",
|
|
3
|
-
"version": "10.3.
|
|
3
|
+
"version": "10.3.21",
|
|
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.3.
|
|
48
|
-
"@workday/canvas-kit-preview-react": "^10.3.
|
|
49
|
-
"@workday/canvas-kit-react": "^10.3.
|
|
50
|
-
"@workday/canvas-kit-styling": "^10.3.
|
|
47
|
+
"@workday/canvas-kit-labs-react": "^10.3.21",
|
|
48
|
+
"@workday/canvas-kit-preview-react": "^10.3.21",
|
|
49
|
+
"@workday/canvas-kit-react": "^10.3.21",
|
|
50
|
+
"@workday/canvas-kit-styling": "^10.3.21",
|
|
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": "34c1299ee9d566e02138463314a7d7eaf8ddde85"
|
|
63
63
|
}
|