@workday/canvas-kit-docs 10.3.0-653-next.0 → 10.3.0-660-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
CHANGED
|
@@ -109075,6 +109075,551 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
109075
109075
|
}
|
|
109076
109076
|
}
|
|
109077
109077
|
},
|
|
109078
|
+
{
|
|
109079
|
+
"name": "accessibleHide",
|
|
109080
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/AccessibleHide.tsx",
|
|
109081
|
+
"description": "A utility to visually hide content, while still making accessible to screen readers\nSee https://a11y-101.com/development/skip-link",
|
|
109082
|
+
"declarations": [
|
|
109083
|
+
{
|
|
109084
|
+
"name": "accessibleHide",
|
|
109085
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/AccessibleHide.tsx"
|
|
109086
|
+
}
|
|
109087
|
+
],
|
|
109088
|
+
"tags": {},
|
|
109089
|
+
"type": {
|
|
109090
|
+
"kind": "object",
|
|
109091
|
+
"properties": [
|
|
109092
|
+
{
|
|
109093
|
+
"kind": "property",
|
|
109094
|
+
"name": "clip",
|
|
109095
|
+
"defaultValue": {
|
|
109096
|
+
"kind": "string",
|
|
109097
|
+
"value": "rect(1px, 1px, 1px, 1px)"
|
|
109098
|
+
},
|
|
109099
|
+
"type": {
|
|
109100
|
+
"kind": "string",
|
|
109101
|
+
"value": "rect(1px, 1px, 1px, 1px)"
|
|
109102
|
+
},
|
|
109103
|
+
"required": true,
|
|
109104
|
+
"description": "",
|
|
109105
|
+
"declarations": [
|
|
109106
|
+
{
|
|
109107
|
+
"name": "clip",
|
|
109108
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/AccessibleHide.tsx"
|
|
109109
|
+
}
|
|
109110
|
+
],
|
|
109111
|
+
"tags": {}
|
|
109112
|
+
},
|
|
109113
|
+
{
|
|
109114
|
+
"kind": "property",
|
|
109115
|
+
"name": "clipPath",
|
|
109116
|
+
"defaultValue": {
|
|
109117
|
+
"kind": "string",
|
|
109118
|
+
"value": "polygon(0px 0px, 0px 0px, 0px 0px, 0px 0px)"
|
|
109119
|
+
},
|
|
109120
|
+
"type": {
|
|
109121
|
+
"kind": "string",
|
|
109122
|
+
"value": "polygon(0px 0px, 0px 0px, 0px 0px, 0px 0px)"
|
|
109123
|
+
},
|
|
109124
|
+
"required": true,
|
|
109125
|
+
"description": "",
|
|
109126
|
+
"declarations": [
|
|
109127
|
+
{
|
|
109128
|
+
"name": "clipPath",
|
|
109129
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/AccessibleHide.tsx"
|
|
109130
|
+
}
|
|
109131
|
+
],
|
|
109132
|
+
"tags": {}
|
|
109133
|
+
},
|
|
109134
|
+
{
|
|
109135
|
+
"kind": "property",
|
|
109136
|
+
"name": "position",
|
|
109137
|
+
"defaultValue": {
|
|
109138
|
+
"kind": "string",
|
|
109139
|
+
"value": "absolute"
|
|
109140
|
+
},
|
|
109141
|
+
"type": {
|
|
109142
|
+
"kind": "string",
|
|
109143
|
+
"value": "absolute"
|
|
109144
|
+
},
|
|
109145
|
+
"required": true,
|
|
109146
|
+
"description": "",
|
|
109147
|
+
"declarations": [
|
|
109148
|
+
{
|
|
109149
|
+
"name": "position",
|
|
109150
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/AccessibleHide.tsx"
|
|
109151
|
+
}
|
|
109152
|
+
],
|
|
109153
|
+
"tags": {}
|
|
109154
|
+
},
|
|
109155
|
+
{
|
|
109156
|
+
"kind": "property",
|
|
109157
|
+
"name": "overflow",
|
|
109158
|
+
"defaultValue": {
|
|
109159
|
+
"kind": "string",
|
|
109160
|
+
"value": "hidden"
|
|
109161
|
+
},
|
|
109162
|
+
"type": {
|
|
109163
|
+
"kind": "string",
|
|
109164
|
+
"value": "hidden"
|
|
109165
|
+
},
|
|
109166
|
+
"required": true,
|
|
109167
|
+
"description": "",
|
|
109168
|
+
"declarations": [
|
|
109169
|
+
{
|
|
109170
|
+
"name": "overflow",
|
|
109171
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/AccessibleHide.tsx"
|
|
109172
|
+
}
|
|
109173
|
+
],
|
|
109174
|
+
"tags": {}
|
|
109175
|
+
},
|
|
109176
|
+
{
|
|
109177
|
+
"kind": "property",
|
|
109178
|
+
"name": "whiteSpace",
|
|
109179
|
+
"defaultValue": {
|
|
109180
|
+
"kind": "string",
|
|
109181
|
+
"value": "nowrap"
|
|
109182
|
+
},
|
|
109183
|
+
"type": {
|
|
109184
|
+
"kind": "string",
|
|
109185
|
+
"value": "nowrap"
|
|
109186
|
+
},
|
|
109187
|
+
"required": true,
|
|
109188
|
+
"description": "",
|
|
109189
|
+
"declarations": [
|
|
109190
|
+
{
|
|
109191
|
+
"name": "whiteSpace",
|
|
109192
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/AccessibleHide.tsx"
|
|
109193
|
+
}
|
|
109194
|
+
],
|
|
109195
|
+
"tags": {}
|
|
109196
|
+
},
|
|
109197
|
+
{
|
|
109198
|
+
"kind": "property",
|
|
109199
|
+
"name": "height",
|
|
109200
|
+
"defaultValue": {
|
|
109201
|
+
"kind": "string",
|
|
109202
|
+
"value": "1px"
|
|
109203
|
+
},
|
|
109204
|
+
"type": {
|
|
109205
|
+
"kind": "string",
|
|
109206
|
+
"value": "1px"
|
|
109207
|
+
},
|
|
109208
|
+
"required": true,
|
|
109209
|
+
"description": "",
|
|
109210
|
+
"declarations": [
|
|
109211
|
+
{
|
|
109212
|
+
"name": "height",
|
|
109213
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/AccessibleHide.tsx"
|
|
109214
|
+
}
|
|
109215
|
+
],
|
|
109216
|
+
"tags": {}
|
|
109217
|
+
},
|
|
109218
|
+
{
|
|
109219
|
+
"kind": "property",
|
|
109220
|
+
"name": "width",
|
|
109221
|
+
"defaultValue": {
|
|
109222
|
+
"kind": "string",
|
|
109223
|
+
"value": "1px"
|
|
109224
|
+
},
|
|
109225
|
+
"type": {
|
|
109226
|
+
"kind": "string",
|
|
109227
|
+
"value": "1px"
|
|
109228
|
+
},
|
|
109229
|
+
"required": true,
|
|
109230
|
+
"description": "",
|
|
109231
|
+
"declarations": [
|
|
109232
|
+
{
|
|
109233
|
+
"name": "width",
|
|
109234
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/AccessibleHide.tsx"
|
|
109235
|
+
}
|
|
109236
|
+
],
|
|
109237
|
+
"tags": {}
|
|
109238
|
+
},
|
|
109239
|
+
{
|
|
109240
|
+
"kind": "property",
|
|
109241
|
+
"name": "margin",
|
|
109242
|
+
"defaultValue": {
|
|
109243
|
+
"kind": "string",
|
|
109244
|
+
"value": "-1px"
|
|
109245
|
+
},
|
|
109246
|
+
"type": {
|
|
109247
|
+
"kind": "string",
|
|
109248
|
+
"value": "-1px"
|
|
109249
|
+
},
|
|
109250
|
+
"required": true,
|
|
109251
|
+
"description": "",
|
|
109252
|
+
"declarations": [
|
|
109253
|
+
{
|
|
109254
|
+
"name": "margin",
|
|
109255
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/AccessibleHide.tsx"
|
|
109256
|
+
}
|
|
109257
|
+
],
|
|
109258
|
+
"tags": {}
|
|
109259
|
+
},
|
|
109260
|
+
{
|
|
109261
|
+
"kind": "property",
|
|
109262
|
+
"name": "padding",
|
|
109263
|
+
"defaultValue": {
|
|
109264
|
+
"kind": "number",
|
|
109265
|
+
"value": 0
|
|
109266
|
+
},
|
|
109267
|
+
"type": {
|
|
109268
|
+
"kind": "number",
|
|
109269
|
+
"value": 0
|
|
109270
|
+
},
|
|
109271
|
+
"required": true,
|
|
109272
|
+
"description": "",
|
|
109273
|
+
"declarations": [
|
|
109274
|
+
{
|
|
109275
|
+
"name": "padding",
|
|
109276
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/AccessibleHide.tsx"
|
|
109277
|
+
}
|
|
109278
|
+
],
|
|
109279
|
+
"tags": {}
|
|
109280
|
+
},
|
|
109281
|
+
{
|
|
109282
|
+
"kind": "property",
|
|
109283
|
+
"name": "border",
|
|
109284
|
+
"defaultValue": {
|
|
109285
|
+
"kind": "number",
|
|
109286
|
+
"value": 0
|
|
109287
|
+
},
|
|
109288
|
+
"type": {
|
|
109289
|
+
"kind": "number",
|
|
109290
|
+
"value": 0
|
|
109291
|
+
},
|
|
109292
|
+
"required": true,
|
|
109293
|
+
"description": "",
|
|
109294
|
+
"declarations": [
|
|
109295
|
+
{
|
|
109296
|
+
"name": "border",
|
|
109297
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/AccessibleHide.tsx"
|
|
109298
|
+
}
|
|
109299
|
+
],
|
|
109300
|
+
"tags": {}
|
|
109301
|
+
}
|
|
109302
|
+
]
|
|
109303
|
+
}
|
|
109304
|
+
},
|
|
109305
|
+
{
|
|
109306
|
+
"name": "AccessibleHide",
|
|
109307
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/AccessibleHide.tsx",
|
|
109308
|
+
"description": "A convenient component wrapper to visually hide content, while still making it accessible to screen readers",
|
|
109309
|
+
"declarations": [
|
|
109310
|
+
{
|
|
109311
|
+
"name": "AccessibleHide",
|
|
109312
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/AccessibleHide.tsx"
|
|
109313
|
+
}
|
|
109314
|
+
],
|
|
109315
|
+
"tags": {},
|
|
109316
|
+
"type": {
|
|
109317
|
+
"kind": "enhancedComponent",
|
|
109318
|
+
"componentType": "regular",
|
|
109319
|
+
"displayName": "AccessibleHide",
|
|
109320
|
+
"props": [
|
|
109321
|
+
{
|
|
109322
|
+
"kind": "property",
|
|
109323
|
+
"name": "cs",
|
|
109324
|
+
"required": false,
|
|
109325
|
+
"type": {
|
|
109326
|
+
"kind": "symbol",
|
|
109327
|
+
"name": "CSToPropsInput",
|
|
109328
|
+
"value": "CSToPropsInput"
|
|
109329
|
+
},
|
|
109330
|
+
"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```",
|
|
109331
|
+
"declarations": [
|
|
109332
|
+
{
|
|
109333
|
+
"name": "cs",
|
|
109334
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
109335
|
+
}
|
|
109336
|
+
],
|
|
109337
|
+
"tags": {}
|
|
109338
|
+
},
|
|
109339
|
+
{
|
|
109340
|
+
"kind": "property",
|
|
109341
|
+
"name": "children",
|
|
109342
|
+
"description": "",
|
|
109343
|
+
"tags": {},
|
|
109344
|
+
"declarations": [],
|
|
109345
|
+
"type": {
|
|
109346
|
+
"kind": "external",
|
|
109347
|
+
"name": "React.ReactNode",
|
|
109348
|
+
"url": "https://reactjs.org/docs/rendering-elements.html"
|
|
109349
|
+
}
|
|
109350
|
+
},
|
|
109351
|
+
{
|
|
109352
|
+
"kind": "property",
|
|
109353
|
+
"name": "as",
|
|
109354
|
+
"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.",
|
|
109355
|
+
"tags": {},
|
|
109356
|
+
"declarations": [],
|
|
109357
|
+
"type": {
|
|
109358
|
+
"kind": "external",
|
|
109359
|
+
"name": "React.ElementType",
|
|
109360
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/API/element"
|
|
109361
|
+
},
|
|
109362
|
+
"defaultValue": {
|
|
109363
|
+
"kind": "external",
|
|
109364
|
+
"name": "div",
|
|
109365
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div"
|
|
109366
|
+
}
|
|
109367
|
+
},
|
|
109368
|
+
{
|
|
109369
|
+
"kind": "property",
|
|
109370
|
+
"name": "ref",
|
|
109371
|
+
"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`).",
|
|
109372
|
+
"tags": {},
|
|
109373
|
+
"declarations": [],
|
|
109374
|
+
"type": {
|
|
109375
|
+
"kind": "external",
|
|
109376
|
+
"name": "React.Ref",
|
|
109377
|
+
"url": "https://reactjs.org/docs/refs-and-the-dom.html",
|
|
109378
|
+
"typeParameters": [
|
|
109379
|
+
{
|
|
109380
|
+
"kind": "typeParameter",
|
|
109381
|
+
"name": "R",
|
|
109382
|
+
"required": true,
|
|
109383
|
+
"defaultValue": {
|
|
109384
|
+
"kind": "external",
|
|
109385
|
+
"name": "div",
|
|
109386
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div"
|
|
109387
|
+
}
|
|
109388
|
+
}
|
|
109389
|
+
]
|
|
109390
|
+
}
|
|
109391
|
+
}
|
|
109392
|
+
],
|
|
109393
|
+
"baseElement": {
|
|
109394
|
+
"kind": "external",
|
|
109395
|
+
"name": "div",
|
|
109396
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div"
|
|
109397
|
+
}
|
|
109398
|
+
}
|
|
109399
|
+
},
|
|
109400
|
+
{
|
|
109401
|
+
"name": "AriaLiveRegionProps",
|
|
109402
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/AriaLiveRegion.tsx",
|
|
109403
|
+
"description": "",
|
|
109404
|
+
"declarations": [
|
|
109405
|
+
{
|
|
109406
|
+
"name": "AriaLiveRegionProps",
|
|
109407
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/AriaLiveRegion.tsx"
|
|
109408
|
+
}
|
|
109409
|
+
],
|
|
109410
|
+
"tags": {},
|
|
109411
|
+
"type": {
|
|
109412
|
+
"kind": "alias",
|
|
109413
|
+
"name": "AriaLiveRegion"
|
|
109414
|
+
}
|
|
109415
|
+
},
|
|
109416
|
+
{
|
|
109417
|
+
"name": "AriaLiveRegion",
|
|
109418
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/AriaLiveRegion.tsx",
|
|
109419
|
+
"description": "A convenient wrapper for creating an [aria-live region](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Live_Regions)",
|
|
109420
|
+
"declarations": [
|
|
109421
|
+
{
|
|
109422
|
+
"name": "AriaLiveRegion",
|
|
109423
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/AriaLiveRegion.tsx"
|
|
109424
|
+
}
|
|
109425
|
+
],
|
|
109426
|
+
"tags": {},
|
|
109427
|
+
"type": {
|
|
109428
|
+
"kind": "enhancedComponent",
|
|
109429
|
+
"componentType": "regular",
|
|
109430
|
+
"displayName": "AriaLiveRegion",
|
|
109431
|
+
"props": [
|
|
109432
|
+
{
|
|
109433
|
+
"kind": "property",
|
|
109434
|
+
"name": "aria-atomic",
|
|
109435
|
+
"required": false,
|
|
109436
|
+
"type": {
|
|
109437
|
+
"kind": "union",
|
|
109438
|
+
"value": [
|
|
109439
|
+
{
|
|
109440
|
+
"kind": "boolean",
|
|
109441
|
+
"value": true
|
|
109442
|
+
},
|
|
109443
|
+
{
|
|
109444
|
+
"kind": "boolean",
|
|
109445
|
+
"value": false
|
|
109446
|
+
},
|
|
109447
|
+
{
|
|
109448
|
+
"kind": "string",
|
|
109449
|
+
"value": "true"
|
|
109450
|
+
},
|
|
109451
|
+
{
|
|
109452
|
+
"kind": "string",
|
|
109453
|
+
"value": "false"
|
|
109454
|
+
}
|
|
109455
|
+
]
|
|
109456
|
+
},
|
|
109457
|
+
"description": "set the [aria-atomic](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-atomic) attribute",
|
|
109458
|
+
"declarations": [
|
|
109459
|
+
{
|
|
109460
|
+
"name": "aria-atomic",
|
|
109461
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/AriaLiveRegion.tsx"
|
|
109462
|
+
}
|
|
109463
|
+
],
|
|
109464
|
+
"tags": {
|
|
109465
|
+
"default": "true"
|
|
109466
|
+
},
|
|
109467
|
+
"defaultValue": {
|
|
109468
|
+
"kind": "boolean",
|
|
109469
|
+
"value": true
|
|
109470
|
+
}
|
|
109471
|
+
},
|
|
109472
|
+
{
|
|
109473
|
+
"kind": "property",
|
|
109474
|
+
"name": "aria-live",
|
|
109475
|
+
"required": false,
|
|
109476
|
+
"type": {
|
|
109477
|
+
"kind": "union",
|
|
109478
|
+
"value": [
|
|
109479
|
+
{
|
|
109480
|
+
"kind": "string",
|
|
109481
|
+
"value": "polite"
|
|
109482
|
+
},
|
|
109483
|
+
{
|
|
109484
|
+
"kind": "string",
|
|
109485
|
+
"value": "assertive"
|
|
109486
|
+
},
|
|
109487
|
+
{
|
|
109488
|
+
"kind": "string",
|
|
109489
|
+
"value": "off"
|
|
109490
|
+
}
|
|
109491
|
+
]
|
|
109492
|
+
},
|
|
109493
|
+
"description": "set the [aria-live](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-live) attribute",
|
|
109494
|
+
"declarations": [
|
|
109495
|
+
{
|
|
109496
|
+
"name": "aria-live",
|
|
109497
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/AriaLiveRegion.tsx"
|
|
109498
|
+
}
|
|
109499
|
+
],
|
|
109500
|
+
"tags": {
|
|
109501
|
+
"default": "'polite'"
|
|
109502
|
+
},
|
|
109503
|
+
"defaultValue": {
|
|
109504
|
+
"kind": "string",
|
|
109505
|
+
"value": "polite"
|
|
109506
|
+
}
|
|
109507
|
+
},
|
|
109508
|
+
{
|
|
109509
|
+
"kind": "property",
|
|
109510
|
+
"name": "role",
|
|
109511
|
+
"required": false,
|
|
109512
|
+
"type": {
|
|
109513
|
+
"kind": "union",
|
|
109514
|
+
"value": [
|
|
109515
|
+
{
|
|
109516
|
+
"kind": "string",
|
|
109517
|
+
"value": "status"
|
|
109518
|
+
},
|
|
109519
|
+
{
|
|
109520
|
+
"kind": "string",
|
|
109521
|
+
"value": "alert"
|
|
109522
|
+
},
|
|
109523
|
+
{
|
|
109524
|
+
"kind": "string",
|
|
109525
|
+
"value": "log"
|
|
109526
|
+
}
|
|
109527
|
+
]
|
|
109528
|
+
},
|
|
109529
|
+
"description": "set the live region's [aria role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/status_role)",
|
|
109530
|
+
"declarations": [
|
|
109531
|
+
{
|
|
109532
|
+
"name": "role",
|
|
109533
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/AriaLiveRegion.tsx"
|
|
109534
|
+
}
|
|
109535
|
+
],
|
|
109536
|
+
"tags": {
|
|
109537
|
+
"default": "'status'"
|
|
109538
|
+
},
|
|
109539
|
+
"defaultValue": {
|
|
109540
|
+
"kind": "string",
|
|
109541
|
+
"value": "status"
|
|
109542
|
+
}
|
|
109543
|
+
},
|
|
109544
|
+
{
|
|
109545
|
+
"kind": "property",
|
|
109546
|
+
"name": "cs",
|
|
109547
|
+
"required": false,
|
|
109548
|
+
"type": {
|
|
109549
|
+
"kind": "symbol",
|
|
109550
|
+
"name": "CSToPropsInput",
|
|
109551
|
+
"value": "CSToPropsInput"
|
|
109552
|
+
},
|
|
109553
|
+
"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```",
|
|
109554
|
+
"declarations": [
|
|
109555
|
+
{
|
|
109556
|
+
"name": "cs",
|
|
109557
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
109558
|
+
}
|
|
109559
|
+
],
|
|
109560
|
+
"tags": {}
|
|
109561
|
+
},
|
|
109562
|
+
{
|
|
109563
|
+
"kind": "property",
|
|
109564
|
+
"name": "children",
|
|
109565
|
+
"description": "",
|
|
109566
|
+
"tags": {},
|
|
109567
|
+
"declarations": [],
|
|
109568
|
+
"type": {
|
|
109569
|
+
"kind": "external",
|
|
109570
|
+
"name": "React.ReactNode",
|
|
109571
|
+
"url": "https://reactjs.org/docs/rendering-elements.html"
|
|
109572
|
+
}
|
|
109573
|
+
},
|
|
109574
|
+
{
|
|
109575
|
+
"kind": "property",
|
|
109576
|
+
"name": "as",
|
|
109577
|
+
"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.",
|
|
109578
|
+
"tags": {},
|
|
109579
|
+
"declarations": [],
|
|
109580
|
+
"type": {
|
|
109581
|
+
"kind": "external",
|
|
109582
|
+
"name": "React.ElementType",
|
|
109583
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/API/element"
|
|
109584
|
+
},
|
|
109585
|
+
"defaultValue": {
|
|
109586
|
+
"kind": "external",
|
|
109587
|
+
"name": "div",
|
|
109588
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div"
|
|
109589
|
+
}
|
|
109590
|
+
},
|
|
109591
|
+
{
|
|
109592
|
+
"kind": "property",
|
|
109593
|
+
"name": "ref",
|
|
109594
|
+
"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`).",
|
|
109595
|
+
"tags": {},
|
|
109596
|
+
"declarations": [],
|
|
109597
|
+
"type": {
|
|
109598
|
+
"kind": "external",
|
|
109599
|
+
"name": "React.Ref",
|
|
109600
|
+
"url": "https://reactjs.org/docs/refs-and-the-dom.html",
|
|
109601
|
+
"typeParameters": [
|
|
109602
|
+
{
|
|
109603
|
+
"kind": "typeParameter",
|
|
109604
|
+
"name": "R",
|
|
109605
|
+
"required": true,
|
|
109606
|
+
"defaultValue": {
|
|
109607
|
+
"kind": "external",
|
|
109608
|
+
"name": "div",
|
|
109609
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div"
|
|
109610
|
+
}
|
|
109611
|
+
}
|
|
109612
|
+
]
|
|
109613
|
+
}
|
|
109614
|
+
}
|
|
109615
|
+
],
|
|
109616
|
+
"baseElement": {
|
|
109617
|
+
"kind": "external",
|
|
109618
|
+
"name": "div",
|
|
109619
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div"
|
|
109620
|
+
}
|
|
109621
|
+
}
|
|
109622
|
+
},
|
|
109078
109623
|
{
|
|
109079
109624
|
"name": "CanvasProviderProps",
|
|
109080
109625
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/CanvasProvider.tsx",
|
|
@@ -110243,23 +110788,6 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
110243
110788
|
}
|
|
110244
110789
|
}
|
|
110245
110790
|
},
|
|
110246
|
-
{
|
|
110247
|
-
"name": "accessibleHide",
|
|
110248
|
-
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/styles/accessibleHide.ts",
|
|
110249
|
-
"description": "A utility to visually hide content, while still making accessible to screenreaders\nSee https://a11y-101.com/development/skip-link",
|
|
110250
|
-
"declarations": [
|
|
110251
|
-
{
|
|
110252
|
-
"name": "accessibleHide",
|
|
110253
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/styles/accessibleHide.ts"
|
|
110254
|
-
}
|
|
110255
|
-
],
|
|
110256
|
-
"tags": {},
|
|
110257
|
-
"type": {
|
|
110258
|
-
"kind": "symbol",
|
|
110259
|
-
"name": "CSSProperties",
|
|
110260
|
-
"value": "CSSProperties"
|
|
110261
|
-
}
|
|
110262
|
-
},
|
|
110263
110791
|
{
|
|
110264
110792
|
"name": "getErrorColors",
|
|
110265
110793
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/styles/errorRing.ts",
|
|
@@ -248213,17 +248741,7 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
248213
248741
|
"type": {
|
|
248214
248742
|
"kind": "external",
|
|
248215
248743
|
"name": "Record",
|
|
248216
|
-
"url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"
|
|
248217
|
-
"typeParameters": [
|
|
248218
|
-
{
|
|
248219
|
-
"kind": "primitive",
|
|
248220
|
-
"value": "string"
|
|
248221
|
-
},
|
|
248222
|
-
{
|
|
248223
|
-
"kind": "primitive",
|
|
248224
|
-
"value": "string"
|
|
248225
|
-
}
|
|
248226
|
-
]
|
|
248744
|
+
"url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"
|
|
248227
248745
|
},
|
|
248228
248746
|
"description": "",
|
|
248229
248747
|
"declarations": [
|
|
@@ -248234,6 +248752,24 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
248234
248752
|
],
|
|
248235
248753
|
"tags": {}
|
|
248236
248754
|
},
|
|
248755
|
+
{
|
|
248756
|
+
"kind": "property",
|
|
248757
|
+
"name": "keyframes",
|
|
248758
|
+
"required": true,
|
|
248759
|
+
"type": {
|
|
248760
|
+
"kind": "external",
|
|
248761
|
+
"name": "Record",
|
|
248762
|
+
"url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"
|
|
248763
|
+
},
|
|
248764
|
+
"description": "",
|
|
248765
|
+
"declarations": [
|
|
248766
|
+
{
|
|
248767
|
+
"name": "keyframes",
|
|
248768
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts"
|
|
248769
|
+
}
|
|
248770
|
+
],
|
|
248771
|
+
"tags": {}
|
|
248772
|
+
},
|
|
248237
248773
|
{
|
|
248238
248774
|
"kind": "property",
|
|
248239
248775
|
"name": "fallbackFiles",
|
|
@@ -248334,80 +248870,194 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
248334
248870
|
},
|
|
248335
248871
|
{
|
|
248336
248872
|
"kind": "parameter",
|
|
248337
|
-
"name": "__1",
|
|
248338
|
-
"defaultValue": {
|
|
248339
|
-
"kind": "object",
|
|
248340
|
-
"properties": [
|
|
248341
|
-
{
|
|
248342
|
-
"kind": "property",
|
|
248343
|
-
"name": "prefix",
|
|
248344
|
-
"defaultValue": {
|
|
248345
|
-
"kind": "string",
|
|
248346
|
-
"value": "css"
|
|
248347
|
-
},
|
|
248348
|
-
"type": {
|
|
248349
|
-
"kind": "primitive",
|
|
248350
|
-
"value": "string"
|
|
248351
|
-
},
|
|
248352
|
-
"required": true,
|
|
248353
|
-
"description": "",
|
|
248354
|
-
"declarations": [
|
|
248355
|
-
{
|
|
248356
|
-
"name": "prefix",
|
|
248357
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts"
|
|
248358
|
-
}
|
|
248359
|
-
],
|
|
248360
|
-
"tags": {}
|
|
248361
|
-
},
|
|
248362
|
-
{
|
|
248363
|
-
"kind": "property",
|
|
248364
|
-
"name": "variables",
|
|
248365
|
-
"defaultValue": {
|
|
248366
|
-
"kind": "object",
|
|
248367
|
-
"properties": []
|
|
248368
|
-
},
|
|
248369
|
-
"type": {
|
|
248370
|
-
"kind": "object",
|
|
248371
|
-
"properties": []
|
|
248372
|
-
},
|
|
248373
|
-
"required": true,
|
|
248374
|
-
"description": "",
|
|
248375
|
-
"declarations": [
|
|
248376
|
-
{
|
|
248377
|
-
"name": "variables",
|
|
248378
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts"
|
|
248379
|
-
}
|
|
248380
|
-
],
|
|
248381
|
-
"tags": {}
|
|
248382
|
-
},
|
|
248383
|
-
{
|
|
248384
|
-
"kind": "property",
|
|
248385
|
-
"name": "
|
|
248386
|
-
"defaultValue": {
|
|
248387
|
-
"kind": "
|
|
248388
|
-
"
|
|
248389
|
-
|
|
248390
|
-
|
|
248391
|
-
|
|
248392
|
-
"
|
|
248393
|
-
|
|
248394
|
-
|
|
248395
|
-
|
|
248396
|
-
|
|
248397
|
-
|
|
248398
|
-
|
|
248399
|
-
|
|
248400
|
-
|
|
248401
|
-
|
|
248402
|
-
|
|
248403
|
-
|
|
248404
|
-
|
|
248405
|
-
|
|
248406
|
-
|
|
248407
|
-
"
|
|
248408
|
-
|
|
248409
|
-
|
|
248873
|
+
"name": "__1",
|
|
248874
|
+
"defaultValue": {
|
|
248875
|
+
"kind": "object",
|
|
248876
|
+
"properties": [
|
|
248877
|
+
{
|
|
248878
|
+
"kind": "property",
|
|
248879
|
+
"name": "prefix",
|
|
248880
|
+
"defaultValue": {
|
|
248881
|
+
"kind": "string",
|
|
248882
|
+
"value": "css"
|
|
248883
|
+
},
|
|
248884
|
+
"type": {
|
|
248885
|
+
"kind": "primitive",
|
|
248886
|
+
"value": "string"
|
|
248887
|
+
},
|
|
248888
|
+
"required": true,
|
|
248889
|
+
"description": "",
|
|
248890
|
+
"declarations": [
|
|
248891
|
+
{
|
|
248892
|
+
"name": "prefix",
|
|
248893
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts"
|
|
248894
|
+
}
|
|
248895
|
+
],
|
|
248896
|
+
"tags": {}
|
|
248897
|
+
},
|
|
248898
|
+
{
|
|
248899
|
+
"kind": "property",
|
|
248900
|
+
"name": "variables",
|
|
248901
|
+
"defaultValue": {
|
|
248902
|
+
"kind": "object",
|
|
248903
|
+
"properties": []
|
|
248904
|
+
},
|
|
248905
|
+
"type": {
|
|
248906
|
+
"kind": "object",
|
|
248907
|
+
"properties": []
|
|
248908
|
+
},
|
|
248909
|
+
"required": true,
|
|
248910
|
+
"description": "",
|
|
248911
|
+
"declarations": [
|
|
248912
|
+
{
|
|
248913
|
+
"name": "variables",
|
|
248914
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts"
|
|
248915
|
+
}
|
|
248916
|
+
],
|
|
248917
|
+
"tags": {}
|
|
248918
|
+
},
|
|
248919
|
+
{
|
|
248920
|
+
"kind": "property",
|
|
248921
|
+
"name": "keyframes",
|
|
248922
|
+
"defaultValue": {
|
|
248923
|
+
"kind": "object",
|
|
248924
|
+
"properties": []
|
|
248925
|
+
},
|
|
248926
|
+
"type": {
|
|
248927
|
+
"kind": "object",
|
|
248928
|
+
"properties": []
|
|
248929
|
+
},
|
|
248930
|
+
"required": true,
|
|
248931
|
+
"description": "",
|
|
248932
|
+
"declarations": [
|
|
248933
|
+
{
|
|
248934
|
+
"name": "keyframes",
|
|
248935
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts"
|
|
248936
|
+
}
|
|
248937
|
+
],
|
|
248938
|
+
"tags": {}
|
|
248939
|
+
},
|
|
248940
|
+
{
|
|
248941
|
+
"kind": "property",
|
|
248942
|
+
"name": "transformers",
|
|
248943
|
+
"defaultValue": {
|
|
248944
|
+
"kind": "unknown",
|
|
248945
|
+
"value": "unknown",
|
|
248946
|
+
"text": "defaultTransformers"
|
|
248947
|
+
},
|
|
248948
|
+
"type": {
|
|
248949
|
+
"kind": "array",
|
|
248950
|
+
"value": {
|
|
248951
|
+
"kind": "symbol",
|
|
248952
|
+
"name": "NodeTransformer",
|
|
248953
|
+
"value": "any"
|
|
248954
|
+
}
|
|
248955
|
+
},
|
|
248956
|
+
"required": true,
|
|
248957
|
+
"description": "",
|
|
248958
|
+
"declarations": [
|
|
248959
|
+
{
|
|
248960
|
+
"name": "transformers",
|
|
248961
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts"
|
|
248962
|
+
}
|
|
248963
|
+
],
|
|
248964
|
+
"tags": {}
|
|
248965
|
+
}
|
|
248966
|
+
]
|
|
248967
|
+
},
|
|
248968
|
+
"type": {
|
|
248969
|
+
"kind": "symbol",
|
|
248970
|
+
"name": "Partial",
|
|
248971
|
+
"typeParameters": [
|
|
248972
|
+
{
|
|
248973
|
+
"kind": "symbol",
|
|
248974
|
+
"name": "StyleTransformerOptions",
|
|
248975
|
+
"value": "StyleTransformerOptions"
|
|
248976
|
+
}
|
|
248977
|
+
],
|
|
248978
|
+
"value": "Partial<T>"
|
|
248979
|
+
},
|
|
248980
|
+
"required": false,
|
|
248981
|
+
"rest": false,
|
|
248982
|
+
"description": "",
|
|
248983
|
+
"declarations": [
|
|
248984
|
+
{
|
|
248985
|
+
"name": "__1",
|
|
248986
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts"
|
|
248987
|
+
}
|
|
248988
|
+
],
|
|
248989
|
+
"tags": {}
|
|
248990
|
+
}
|
|
248991
|
+
],
|
|
248992
|
+
"members": [],
|
|
248993
|
+
"returnType": {
|
|
248994
|
+
"kind": "symbol",
|
|
248995
|
+
"name": "ts.TransformerFactory",
|
|
248996
|
+
"typeParameters": [
|
|
248997
|
+
{
|
|
248998
|
+
"kind": "symbol",
|
|
248999
|
+
"name": "ts.SourceFile",
|
|
249000
|
+
"value": "SourceFile"
|
|
249001
|
+
}
|
|
249002
|
+
],
|
|
249003
|
+
"value": "TransformerFactory<T>"
|
|
249004
|
+
}
|
|
249005
|
+
}
|
|
249006
|
+
},
|
|
249007
|
+
{
|
|
249008
|
+
"name": "transform",
|
|
249009
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts",
|
|
249010
|
+
"description": "This function is useful for tests or a custom build. The `styleTransformer` function is used by\nthe https://www.npmjs.com/package/ttypescript package.",
|
|
249011
|
+
"declarations": [
|
|
249012
|
+
{
|
|
249013
|
+
"name": "transform",
|
|
249014
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts"
|
|
249015
|
+
}
|
|
249016
|
+
],
|
|
249017
|
+
"tags": {},
|
|
249018
|
+
"type": {
|
|
249019
|
+
"kind": "function",
|
|
249020
|
+
"parameters": [
|
|
249021
|
+
{
|
|
249022
|
+
"kind": "parameter",
|
|
249023
|
+
"name": "program",
|
|
249024
|
+
"type": {
|
|
249025
|
+
"kind": "symbol",
|
|
249026
|
+
"name": "ts.Program",
|
|
249027
|
+
"value": "Program"
|
|
249028
|
+
},
|
|
249029
|
+
"required": true,
|
|
249030
|
+
"rest": false,
|
|
249031
|
+
"description": "",
|
|
249032
|
+
"declarations": [
|
|
249033
|
+
{
|
|
249034
|
+
"name": "program",
|
|
249035
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts"
|
|
249036
|
+
}
|
|
249037
|
+
],
|
|
249038
|
+
"tags": {}
|
|
249039
|
+
},
|
|
249040
|
+
{
|
|
249041
|
+
"kind": "parameter",
|
|
249042
|
+
"name": "fileName",
|
|
249043
|
+
"type": {
|
|
249044
|
+
"kind": "primitive",
|
|
249045
|
+
"value": "string"
|
|
248410
249046
|
},
|
|
249047
|
+
"required": true,
|
|
249048
|
+
"rest": false,
|
|
249049
|
+
"description": "",
|
|
249050
|
+
"declarations": [
|
|
249051
|
+
{
|
|
249052
|
+
"name": "fileName",
|
|
249053
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts"
|
|
249054
|
+
}
|
|
249055
|
+
],
|
|
249056
|
+
"tags": {}
|
|
249057
|
+
},
|
|
249058
|
+
{
|
|
249059
|
+
"kind": "parameter",
|
|
249060
|
+
"name": "options",
|
|
248411
249061
|
"type": {
|
|
248412
249062
|
"kind": "symbol",
|
|
248413
249063
|
"name": "Partial",
|
|
@@ -248425,7 +249075,7 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
248425
249075
|
"description": "",
|
|
248426
249076
|
"declarations": [
|
|
248427
249077
|
{
|
|
248428
|
-
"name": "
|
|
249078
|
+
"name": "options",
|
|
248429
249079
|
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts"
|
|
248430
249080
|
}
|
|
248431
249081
|
],
|
|
@@ -248434,27 +249084,19 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
248434
249084
|
],
|
|
248435
249085
|
"members": [],
|
|
248436
249086
|
"returnType": {
|
|
248437
|
-
"kind": "
|
|
248438
|
-
"
|
|
248439
|
-
"typeParameters": [
|
|
248440
|
-
{
|
|
248441
|
-
"kind": "symbol",
|
|
248442
|
-
"name": "ts.SourceFile",
|
|
248443
|
-
"value": "SourceFile"
|
|
248444
|
-
}
|
|
248445
|
-
],
|
|
248446
|
-
"value": "TransformerFactory<T>"
|
|
249087
|
+
"kind": "primitive",
|
|
249088
|
+
"value": "string"
|
|
248447
249089
|
}
|
|
248448
249090
|
}
|
|
248449
249091
|
},
|
|
248450
249092
|
{
|
|
248451
|
-
"name": "
|
|
248452
|
-
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/
|
|
248453
|
-
"description": "
|
|
249093
|
+
"name": "createStyleObjectNode",
|
|
249094
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/createStyleObjectNode.ts",
|
|
249095
|
+
"description": "Creates an AST node representation of the passed in `styleObj`, but in the format of `{name:\nstring, styles: serializedStyles}`. The `name` is hard-coded here to work with both server-side\nand client-side style injection. This results in a stable style key for Emotion while also\noptimizing style serialization.\n\nIf `name` is provided, the name will be whatever `name` is, replacing \"{hash}\" with the hash\ncreated via `serializeStyles`. For example: 'animation-{hash}' will be converted into\n'animation-abc123'",
|
|
248454
249096
|
"declarations": [
|
|
248455
249097
|
{
|
|
248456
|
-
"name": "
|
|
248457
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/
|
|
249098
|
+
"name": "createStyleObjectNode",
|
|
249099
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/createStyleObjectNode.ts"
|
|
248458
249100
|
}
|
|
248459
249101
|
],
|
|
248460
249102
|
"tags": {},
|
|
@@ -248463,85 +249105,46 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
248463
249105
|
"parameters": [
|
|
248464
249106
|
{
|
|
248465
249107
|
"kind": "parameter",
|
|
248466
|
-
"name": "
|
|
248467
|
-
"type": {
|
|
248468
|
-
"kind": "symbol",
|
|
248469
|
-
"name": "ts.Program",
|
|
248470
|
-
"value": "Program"
|
|
248471
|
-
},
|
|
248472
|
-
"required": true,
|
|
248473
|
-
"rest": false,
|
|
248474
|
-
"description": "",
|
|
248475
|
-
"declarations": [
|
|
248476
|
-
{
|
|
248477
|
-
"name": "program",
|
|
248478
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts"
|
|
248479
|
-
}
|
|
248480
|
-
],
|
|
248481
|
-
"tags": {}
|
|
248482
|
-
},
|
|
248483
|
-
{
|
|
248484
|
-
"kind": "parameter",
|
|
248485
|
-
"name": "fileName",
|
|
248486
|
-
"type": {
|
|
248487
|
-
"kind": "primitive",
|
|
248488
|
-
"value": "string"
|
|
248489
|
-
},
|
|
248490
|
-
"required": true,
|
|
248491
|
-
"rest": false,
|
|
248492
|
-
"description": "",
|
|
248493
|
-
"declarations": [
|
|
248494
|
-
{
|
|
248495
|
-
"name": "fileName",
|
|
248496
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts"
|
|
248497
|
-
}
|
|
248498
|
-
],
|
|
248499
|
-
"tags": {}
|
|
248500
|
-
},
|
|
248501
|
-
{
|
|
248502
|
-
"kind": "parameter",
|
|
248503
|
-
"name": "options",
|
|
249108
|
+
"name": "styleObj",
|
|
248504
249109
|
"type": {
|
|
248505
|
-
"kind": "
|
|
248506
|
-
"
|
|
248507
|
-
"typeParameters": [
|
|
249110
|
+
"kind": "union",
|
|
249111
|
+
"value": [
|
|
248508
249112
|
{
|
|
248509
249113
|
"kind": "symbol",
|
|
248510
|
-
"name": "
|
|
248511
|
-
"value": "
|
|
249114
|
+
"name": "NestedStyleObject",
|
|
249115
|
+
"value": "NestedStyleObject"
|
|
249116
|
+
},
|
|
249117
|
+
{
|
|
249118
|
+
"kind": "primitive",
|
|
249119
|
+
"value": "string"
|
|
248512
249120
|
}
|
|
248513
|
-
]
|
|
248514
|
-
"value": "Partial<T>"
|
|
249121
|
+
]
|
|
248515
249122
|
},
|
|
248516
|
-
"required":
|
|
249123
|
+
"required": true,
|
|
248517
249124
|
"rest": false,
|
|
248518
249125
|
"description": "",
|
|
248519
249126
|
"declarations": [
|
|
248520
249127
|
{
|
|
248521
|
-
"name": "
|
|
248522
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/
|
|
249128
|
+
"name": "styleObj",
|
|
249129
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/createStyleObjectNode.ts"
|
|
248523
249130
|
}
|
|
248524
249131
|
],
|
|
248525
249132
|
"tags": {}
|
|
248526
249133
|
},
|
|
248527
249134
|
{
|
|
248528
249135
|
"kind": "parameter",
|
|
248529
|
-
"name": "
|
|
249136
|
+
"name": "name",
|
|
248530
249137
|
"type": {
|
|
248531
|
-
"kind": "
|
|
248532
|
-
"value":
|
|
248533
|
-
"kind": "symbol",
|
|
248534
|
-
"name": "NodeTransformer",
|
|
248535
|
-
"value": "NodeTransformer"
|
|
248536
|
-
}
|
|
249138
|
+
"kind": "primitive",
|
|
249139
|
+
"value": "string"
|
|
248537
249140
|
},
|
|
248538
249141
|
"required": false,
|
|
248539
249142
|
"rest": false,
|
|
248540
249143
|
"description": "",
|
|
248541
249144
|
"declarations": [
|
|
248542
249145
|
{
|
|
248543
|
-
"name": "
|
|
248544
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/
|
|
249146
|
+
"name": "name",
|
|
249147
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/createStyleObjectNode.ts"
|
|
248545
249148
|
}
|
|
248546
249149
|
],
|
|
248547
249150
|
"tags": {}
|
|
@@ -248549,18 +249152,19 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
248549
249152
|
],
|
|
248550
249153
|
"members": [],
|
|
248551
249154
|
"returnType": {
|
|
248552
|
-
"kind": "
|
|
248553
|
-
"
|
|
249155
|
+
"kind": "symbol",
|
|
249156
|
+
"name": "ObjectLiteralExpression",
|
|
249157
|
+
"value": "ObjectLiteralExpression"
|
|
248554
249158
|
}
|
|
248555
249159
|
}
|
|
248556
249160
|
},
|
|
248557
249161
|
{
|
|
248558
|
-
"name": "
|
|
249162
|
+
"name": "getStaticCssClassName",
|
|
248559
249163
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/createStyleObjectNode.ts",
|
|
248560
|
-
"description": "
|
|
249164
|
+
"description": "Returns the name created by `createStyleObjectNode`",
|
|
248561
249165
|
"declarations": [
|
|
248562
249166
|
{
|
|
248563
|
-
"name": "
|
|
249167
|
+
"name": "getStaticCssClassName",
|
|
248564
249168
|
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/createStyleObjectNode.ts"
|
|
248565
249169
|
}
|
|
248566
249170
|
],
|
|
@@ -248570,18 +249174,18 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
248570
249174
|
"parameters": [
|
|
248571
249175
|
{
|
|
248572
249176
|
"kind": "parameter",
|
|
248573
|
-
"name": "
|
|
249177
|
+
"name": "node",
|
|
248574
249178
|
"type": {
|
|
248575
249179
|
"kind": "symbol",
|
|
248576
|
-
"name": "
|
|
248577
|
-
"value": "
|
|
249180
|
+
"name": "ts.Node",
|
|
249181
|
+
"value": "Node"
|
|
248578
249182
|
},
|
|
248579
249183
|
"required": true,
|
|
248580
249184
|
"rest": false,
|
|
248581
249185
|
"description": "",
|
|
248582
249186
|
"declarations": [
|
|
248583
249187
|
{
|
|
248584
|
-
"name": "
|
|
249188
|
+
"name": "node",
|
|
248585
249189
|
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/createStyleObjectNode.ts"
|
|
248586
249190
|
}
|
|
248587
249191
|
],
|
|
@@ -248590,9 +249194,8 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
248590
249194
|
],
|
|
248591
249195
|
"members": [],
|
|
248592
249196
|
"returnType": {
|
|
248593
|
-
"kind": "
|
|
248594
|
-
"
|
|
248595
|
-
"value": "ObjectLiteralExpression"
|
|
249197
|
+
"kind": "primitive",
|
|
249198
|
+
"value": "string"
|
|
248596
249199
|
}
|
|
248597
249200
|
}
|
|
248598
249201
|
},
|
|
@@ -249034,6 +249637,23 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
249034
249637
|
"value": "NodeTransformer"
|
|
249035
249638
|
}
|
|
249036
249639
|
},
|
|
249640
|
+
{
|
|
249641
|
+
"name": "handleKeyframes",
|
|
249642
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/handleKeyframes.ts",
|
|
249643
|
+
"description": "",
|
|
249644
|
+
"declarations": [
|
|
249645
|
+
{
|
|
249646
|
+
"name": "handleKeyframes",
|
|
249647
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/handleKeyframes.ts"
|
|
249648
|
+
}
|
|
249649
|
+
],
|
|
249650
|
+
"tags": {},
|
|
249651
|
+
"type": {
|
|
249652
|
+
"kind": "symbol",
|
|
249653
|
+
"name": "NodeTransformer",
|
|
249654
|
+
"value": "NodeTransformer"
|
|
249655
|
+
}
|
|
249656
|
+
},
|
|
249037
249657
|
{
|
|
249038
249658
|
"name": "handlePx2Rem",
|
|
249039
249659
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/handlePx2Rem.ts",
|
|
@@ -249186,73 +249806,18 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
249186
249806
|
},
|
|
249187
249807
|
{
|
|
249188
249808
|
"kind": "parameter",
|
|
249189
|
-
"name": "
|
|
249809
|
+
"name": "context",
|
|
249190
249810
|
"type": {
|
|
249191
249811
|
"kind": "symbol",
|
|
249192
|
-
"name": "
|
|
249193
|
-
"value": "
|
|
249812
|
+
"name": "TransformerContext",
|
|
249813
|
+
"value": "TransformerContext"
|
|
249194
249814
|
},
|
|
249195
249815
|
"required": true,
|
|
249196
249816
|
"rest": false,
|
|
249197
249817
|
"description": "",
|
|
249198
249818
|
"declarations": [
|
|
249199
249819
|
{
|
|
249200
|
-
"name": "
|
|
249201
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/parseNodeToStaticValue.ts"
|
|
249202
|
-
}
|
|
249203
|
-
],
|
|
249204
|
-
"tags": {}
|
|
249205
|
-
},
|
|
249206
|
-
{
|
|
249207
|
-
"kind": "parameter",
|
|
249208
|
-
"name": "prefix",
|
|
249209
|
-
"defaultValue": {
|
|
249210
|
-
"kind": "string",
|
|
249211
|
-
"value": "css"
|
|
249212
|
-
},
|
|
249213
|
-
"type": {
|
|
249214
|
-
"kind": "primitive",
|
|
249215
|
-
"value": "string"
|
|
249216
|
-
},
|
|
249217
|
-
"required": false,
|
|
249218
|
-
"rest": false,
|
|
249219
|
-
"description": "",
|
|
249220
|
-
"declarations": [
|
|
249221
|
-
{
|
|
249222
|
-
"name": "prefix",
|
|
249223
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/parseNodeToStaticValue.ts"
|
|
249224
|
-
}
|
|
249225
|
-
],
|
|
249226
|
-
"tags": {}
|
|
249227
|
-
},
|
|
249228
|
-
{
|
|
249229
|
-
"kind": "parameter",
|
|
249230
|
-
"name": "variables",
|
|
249231
|
-
"defaultValue": {
|
|
249232
|
-
"kind": "object",
|
|
249233
|
-
"properties": []
|
|
249234
|
-
},
|
|
249235
|
-
"type": {
|
|
249236
|
-
"kind": "external",
|
|
249237
|
-
"name": "Record",
|
|
249238
|
-
"url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type",
|
|
249239
|
-
"typeParameters": [
|
|
249240
|
-
{
|
|
249241
|
-
"kind": "primitive",
|
|
249242
|
-
"value": "string"
|
|
249243
|
-
},
|
|
249244
|
-
{
|
|
249245
|
-
"kind": "primitive",
|
|
249246
|
-
"value": "string"
|
|
249247
|
-
}
|
|
249248
|
-
]
|
|
249249
|
-
},
|
|
249250
|
-
"required": false,
|
|
249251
|
-
"rest": false,
|
|
249252
|
-
"description": "",
|
|
249253
|
-
"declarations": [
|
|
249254
|
-
{
|
|
249255
|
-
"name": "variables",
|
|
249820
|
+
"name": "context",
|
|
249256
249821
|
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/parseNodeToStaticValue.ts"
|
|
249257
249822
|
}
|
|
249258
249823
|
],
|
|
@@ -249339,73 +249904,18 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
249339
249904
|
},
|
|
249340
249905
|
{
|
|
249341
249906
|
"kind": "parameter",
|
|
249342
|
-
"name": "
|
|
249907
|
+
"name": "context",
|
|
249343
249908
|
"type": {
|
|
249344
249909
|
"kind": "symbol",
|
|
249345
|
-
"name": "
|
|
249346
|
-
"value": "
|
|
249910
|
+
"name": "TransformerContext",
|
|
249911
|
+
"value": "TransformerContext"
|
|
249347
249912
|
},
|
|
249348
249913
|
"required": true,
|
|
249349
249914
|
"rest": false,
|
|
249350
249915
|
"description": "",
|
|
249351
249916
|
"declarations": [
|
|
249352
249917
|
{
|
|
249353
|
-
"name": "
|
|
249354
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/parseObjectToStaticValue.ts"
|
|
249355
|
-
}
|
|
249356
|
-
],
|
|
249357
|
-
"tags": {}
|
|
249358
|
-
},
|
|
249359
|
-
{
|
|
249360
|
-
"kind": "parameter",
|
|
249361
|
-
"name": "prefix",
|
|
249362
|
-
"defaultValue": {
|
|
249363
|
-
"kind": "string",
|
|
249364
|
-
"value": "css"
|
|
249365
|
-
},
|
|
249366
|
-
"type": {
|
|
249367
|
-
"kind": "primitive",
|
|
249368
|
-
"value": "string"
|
|
249369
|
-
},
|
|
249370
|
-
"required": false,
|
|
249371
|
-
"rest": false,
|
|
249372
|
-
"description": "",
|
|
249373
|
-
"declarations": [
|
|
249374
|
-
{
|
|
249375
|
-
"name": "prefix",
|
|
249376
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/parseObjectToStaticValue.ts"
|
|
249377
|
-
}
|
|
249378
|
-
],
|
|
249379
|
-
"tags": {}
|
|
249380
|
-
},
|
|
249381
|
-
{
|
|
249382
|
-
"kind": "parameter",
|
|
249383
|
-
"name": "variables",
|
|
249384
|
-
"defaultValue": {
|
|
249385
|
-
"kind": "object",
|
|
249386
|
-
"properties": []
|
|
249387
|
-
},
|
|
249388
|
-
"type": {
|
|
249389
|
-
"kind": "external",
|
|
249390
|
-
"name": "Record",
|
|
249391
|
-
"url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type",
|
|
249392
|
-
"typeParameters": [
|
|
249393
|
-
{
|
|
249394
|
-
"kind": "primitive",
|
|
249395
|
-
"value": "string"
|
|
249396
|
-
},
|
|
249397
|
-
{
|
|
249398
|
-
"kind": "primitive",
|
|
249399
|
-
"value": "string"
|
|
249400
|
-
}
|
|
249401
|
-
]
|
|
249402
|
-
},
|
|
249403
|
-
"required": false,
|
|
249404
|
-
"rest": false,
|
|
249405
|
-
"description": "",
|
|
249406
|
-
"declarations": [
|
|
249407
|
-
{
|
|
249408
|
-
"name": "variables",
|
|
249918
|
+
"name": "context",
|
|
249409
249919
|
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/parseObjectToStaticValue.ts"
|
|
249410
249920
|
}
|
|
249411
249921
|
],
|
|
@@ -249455,44 +249965,85 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
249455
249965
|
},
|
|
249456
249966
|
{
|
|
249457
249967
|
"kind": "parameter",
|
|
249968
|
+
"name": "context",
|
|
249969
|
+
"type": {
|
|
249970
|
+
"kind": "symbol",
|
|
249971
|
+
"name": "TransformerContext",
|
|
249972
|
+
"value": "TransformerContext"
|
|
249973
|
+
},
|
|
249974
|
+
"required": true,
|
|
249975
|
+
"rest": false,
|
|
249976
|
+
"description": "",
|
|
249977
|
+
"declarations": [
|
|
249978
|
+
{
|
|
249979
|
+
"name": "context",
|
|
249980
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/parseObjectToStaticValue.ts"
|
|
249981
|
+
}
|
|
249982
|
+
],
|
|
249983
|
+
"tags": {}
|
|
249984
|
+
}
|
|
249985
|
+
],
|
|
249986
|
+
"members": [],
|
|
249987
|
+
"returnType": {
|
|
249988
|
+
"kind": "external",
|
|
249989
|
+
"name": "Record",
|
|
249990
|
+
"url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"
|
|
249991
|
+
}
|
|
249992
|
+
}
|
|
249993
|
+
},
|
|
249994
|
+
{
|
|
249995
|
+
"name": "TransformerContext",
|
|
249996
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts",
|
|
249997
|
+
"description": "",
|
|
249998
|
+
"declarations": [
|
|
249999
|
+
{
|
|
250000
|
+
"name": "TransformerContext",
|
|
250001
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
250002
|
+
}
|
|
250003
|
+
],
|
|
250004
|
+
"tags": {},
|
|
250005
|
+
"type": {
|
|
250006
|
+
"kind": "object",
|
|
250007
|
+
"properties": [
|
|
250008
|
+
{
|
|
250009
|
+
"kind": "property",
|
|
249458
250010
|
"name": "checker",
|
|
250011
|
+
"required": true,
|
|
249459
250012
|
"type": {
|
|
249460
250013
|
"kind": "symbol",
|
|
249461
250014
|
"name": "ts.TypeChecker",
|
|
249462
250015
|
"value": "TypeChecker"
|
|
249463
250016
|
},
|
|
249464
|
-
"required": true,
|
|
249465
|
-
"rest": false,
|
|
249466
250017
|
"description": "",
|
|
249467
250018
|
"declarations": [
|
|
249468
250019
|
{
|
|
249469
250020
|
"name": "checker",
|
|
249470
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/
|
|
250021
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
249471
250022
|
}
|
|
249472
250023
|
],
|
|
249473
250024
|
"tags": {}
|
|
249474
250025
|
},
|
|
249475
250026
|
{
|
|
249476
|
-
"kind": "
|
|
250027
|
+
"kind": "property",
|
|
249477
250028
|
"name": "prefix",
|
|
250029
|
+
"required": true,
|
|
249478
250030
|
"type": {
|
|
249479
250031
|
"kind": "primitive",
|
|
249480
250032
|
"value": "string"
|
|
249481
250033
|
},
|
|
249482
|
-
"required": true,
|
|
249483
|
-
"rest": false,
|
|
249484
250034
|
"description": "",
|
|
249485
250035
|
"declarations": [
|
|
249486
250036
|
{
|
|
249487
250037
|
"name": "prefix",
|
|
249488
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/
|
|
250038
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
249489
250039
|
}
|
|
249490
250040
|
],
|
|
249491
250041
|
"tags": {}
|
|
249492
250042
|
},
|
|
249493
250043
|
{
|
|
249494
|
-
"kind": "
|
|
250044
|
+
"kind": "property",
|
|
249495
250045
|
"name": "variables",
|
|
250046
|
+
"required": true,
|
|
249496
250047
|
"type": {
|
|
249497
250048
|
"kind": "external",
|
|
249498
250049
|
"name": "Record",
|
|
@@ -249508,24 +250059,44 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
249508
250059
|
}
|
|
249509
250060
|
]
|
|
249510
250061
|
},
|
|
249511
|
-
"required": true,
|
|
249512
|
-
"rest": false,
|
|
249513
250062
|
"description": "",
|
|
249514
250063
|
"declarations": [
|
|
249515
250064
|
{
|
|
249516
250065
|
"name": "variables",
|
|
249517
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/
|
|
250066
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
250067
|
+
}
|
|
250068
|
+
],
|
|
250069
|
+
"tags": {}
|
|
250070
|
+
},
|
|
250071
|
+
{
|
|
250072
|
+
"kind": "property",
|
|
250073
|
+
"name": "keyframes",
|
|
250074
|
+
"required": true,
|
|
250075
|
+
"type": {
|
|
250076
|
+
"kind": "external",
|
|
250077
|
+
"name": "Record",
|
|
250078
|
+
"url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type",
|
|
250079
|
+
"typeParameters": [
|
|
250080
|
+
{
|
|
250081
|
+
"kind": "primitive",
|
|
250082
|
+
"value": "string"
|
|
250083
|
+
},
|
|
250084
|
+
{
|
|
250085
|
+
"kind": "primitive",
|
|
250086
|
+
"value": "string"
|
|
250087
|
+
}
|
|
250088
|
+
]
|
|
250089
|
+
},
|
|
250090
|
+
"description": "",
|
|
250091
|
+
"declarations": [
|
|
250092
|
+
{
|
|
250093
|
+
"name": "keyframes",
|
|
250094
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
249518
250095
|
}
|
|
249519
250096
|
],
|
|
249520
250097
|
"tags": {}
|
|
249521
250098
|
}
|
|
249522
|
-
]
|
|
249523
|
-
"members": [],
|
|
249524
|
-
"returnType": {
|
|
249525
|
-
"kind": "external",
|
|
249526
|
-
"name": "Record",
|
|
249527
|
-
"url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"
|
|
249528
|
-
}
|
|
250099
|
+
]
|
|
249529
250100
|
}
|
|
249530
250101
|
},
|
|
249531
250102
|
{
|
|
@@ -249566,65 +250137,18 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
249566
250137
|
},
|
|
249567
250138
|
{
|
|
249568
250139
|
"kind": "parameter",
|
|
249569
|
-
"name": "
|
|
250140
|
+
"name": "context",
|
|
249570
250141
|
"type": {
|
|
249571
250142
|
"kind": "symbol",
|
|
249572
|
-
"name": "
|
|
249573
|
-
"value": "
|
|
250143
|
+
"name": "TransformerContext",
|
|
250144
|
+
"value": "TransformerContext"
|
|
249574
250145
|
},
|
|
249575
250146
|
"required": true,
|
|
249576
250147
|
"rest": false,
|
|
249577
250148
|
"description": "",
|
|
249578
250149
|
"declarations": [
|
|
249579
250150
|
{
|
|
249580
|
-
"name": "
|
|
249581
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
249582
|
-
}
|
|
249583
|
-
],
|
|
249584
|
-
"tags": {}
|
|
249585
|
-
},
|
|
249586
|
-
{
|
|
249587
|
-
"kind": "parameter",
|
|
249588
|
-
"name": "prefix",
|
|
249589
|
-
"type": {
|
|
249590
|
-
"kind": "primitive",
|
|
249591
|
-
"value": "string"
|
|
249592
|
-
},
|
|
249593
|
-
"required": true,
|
|
249594
|
-
"rest": false,
|
|
249595
|
-
"description": "",
|
|
249596
|
-
"declarations": [
|
|
249597
|
-
{
|
|
249598
|
-
"name": "prefix",
|
|
249599
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
249600
|
-
}
|
|
249601
|
-
],
|
|
249602
|
-
"tags": {}
|
|
249603
|
-
},
|
|
249604
|
-
{
|
|
249605
|
-
"kind": "parameter",
|
|
249606
|
-
"name": "variables",
|
|
249607
|
-
"type": {
|
|
249608
|
-
"kind": "external",
|
|
249609
|
-
"name": "Record",
|
|
249610
|
-
"url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type",
|
|
249611
|
-
"typeParameters": [
|
|
249612
|
-
{
|
|
249613
|
-
"kind": "primitive",
|
|
249614
|
-
"value": "string"
|
|
249615
|
-
},
|
|
249616
|
-
{
|
|
249617
|
-
"kind": "primitive",
|
|
249618
|
-
"value": "string"
|
|
249619
|
-
}
|
|
249620
|
-
]
|
|
249621
|
-
},
|
|
249622
|
-
"required": true,
|
|
249623
|
-
"rest": false,
|
|
249624
|
-
"description": "",
|
|
249625
|
-
"declarations": [
|
|
249626
|
-
{
|
|
249627
|
-
"name": "variables",
|
|
250151
|
+
"name": "context",
|
|
249628
250152
|
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
249629
250153
|
}
|
|
249630
250154
|
],
|
|
@@ -252553,6 +253077,113 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
252553
253077
|
}
|
|
252554
253078
|
}
|
|
252555
253079
|
},
|
|
253080
|
+
{
|
|
253081
|
+
"name": "keyframes",
|
|
253082
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/cs.ts",
|
|
253083
|
+
"description": "",
|
|
253084
|
+
"declarations": [
|
|
253085
|
+
{
|
|
253086
|
+
"name": "keyframes",
|
|
253087
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/cs.ts"
|
|
253088
|
+
}
|
|
253089
|
+
],
|
|
253090
|
+
"tags": {},
|
|
253091
|
+
"type": {
|
|
253092
|
+
"kind": "function",
|
|
253093
|
+
"typeParameters": [
|
|
253094
|
+
{
|
|
253095
|
+
"kind": "typeParameter",
|
|
253096
|
+
"name": "ID",
|
|
253097
|
+
"constraint": {
|
|
253098
|
+
"kind": "primitive",
|
|
253099
|
+
"value": "string"
|
|
253100
|
+
},
|
|
253101
|
+
"required": true
|
|
253102
|
+
}
|
|
253103
|
+
],
|
|
253104
|
+
"parameters": [
|
|
253105
|
+
{
|
|
253106
|
+
"kind": "parameter",
|
|
253107
|
+
"name": "args",
|
|
253108
|
+
"type": {
|
|
253109
|
+
"kind": "array",
|
|
253110
|
+
"value": {
|
|
253111
|
+
"kind": "parenthesis",
|
|
253112
|
+
"value": {
|
|
253113
|
+
"kind": "union",
|
|
253114
|
+
"value": [
|
|
253115
|
+
{
|
|
253116
|
+
"kind": "object",
|
|
253117
|
+
"properties": [
|
|
253118
|
+
{
|
|
253119
|
+
"kind": "property",
|
|
253120
|
+
"name": "name",
|
|
253121
|
+
"required": true,
|
|
253122
|
+
"type": {
|
|
253123
|
+
"kind": "generic",
|
|
253124
|
+
"name": "ID"
|
|
253125
|
+
},
|
|
253126
|
+
"description": "",
|
|
253127
|
+
"declarations": [
|
|
253128
|
+
{
|
|
253129
|
+
"name": "name",
|
|
253130
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/cs.ts"
|
|
253131
|
+
}
|
|
253132
|
+
],
|
|
253133
|
+
"tags": {}
|
|
253134
|
+
},
|
|
253135
|
+
{
|
|
253136
|
+
"kind": "property",
|
|
253137
|
+
"name": "styles",
|
|
253138
|
+
"required": true,
|
|
253139
|
+
"type": {
|
|
253140
|
+
"kind": "primitive",
|
|
253141
|
+
"value": "string"
|
|
253142
|
+
},
|
|
253143
|
+
"description": "",
|
|
253144
|
+
"declarations": [
|
|
253145
|
+
{
|
|
253146
|
+
"name": "styles",
|
|
253147
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/cs.ts"
|
|
253148
|
+
}
|
|
253149
|
+
],
|
|
253150
|
+
"tags": {}
|
|
253151
|
+
}
|
|
253152
|
+
]
|
|
253153
|
+
},
|
|
253154
|
+
{
|
|
253155
|
+
"kind": "symbol",
|
|
253156
|
+
"name": "StyleProps",
|
|
253157
|
+
"value": "StyleProps"
|
|
253158
|
+
},
|
|
253159
|
+
{
|
|
253160
|
+
"kind": "symbol",
|
|
253161
|
+
"name": "TemplateStringsArray",
|
|
253162
|
+
"value": "TemplateStringsArray"
|
|
253163
|
+
}
|
|
253164
|
+
]
|
|
253165
|
+
}
|
|
253166
|
+
}
|
|
253167
|
+
},
|
|
253168
|
+
"required": true,
|
|
253169
|
+
"rest": true,
|
|
253170
|
+
"description": "",
|
|
253171
|
+
"declarations": [
|
|
253172
|
+
{
|
|
253173
|
+
"name": "args",
|
|
253174
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/cs.ts"
|
|
253175
|
+
}
|
|
253176
|
+
],
|
|
253177
|
+
"tags": {}
|
|
253178
|
+
}
|
|
253179
|
+
],
|
|
253180
|
+
"members": [],
|
|
253181
|
+
"returnType": {
|
|
253182
|
+
"kind": "generic",
|
|
253183
|
+
"name": "ID"
|
|
253184
|
+
}
|
|
253185
|
+
}
|
|
253186
|
+
},
|
|
252556
253187
|
{
|
|
252557
253188
|
"name": "px2rem",
|
|
252558
253189
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/px2rem.ts",
|