@workday/canvas-kit-docs 11.0.0-alpha.671-next.0 → 11.0.0-alpha.693-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 +2498 -294
- package/dist/es6/lib/specs.js +24 -0
- package/dist/es6/mdx/versionsTable.d.ts +2 -0
- package/dist/es6/mdx/versionsTable.d.ts.map +1 -0
- package/dist/es6/mdx/versionsTable.js +76 -0
- package/dist/mdx/11.0-UPGRADE-GUIDE.mdx +14 -2
- package/dist/mdx/Versions.mdx +8 -0
- package/dist/mdx/preview-react/_examples/TablesAdvanced.mdx +84 -0
- package/dist/mdx/preview-react/_examples/examples/Table/WithExpandableRows.tsx +219 -0
- package/dist/mdx/preview-react/_examples/examples/Table/WithSelectableRows.tsx +156 -0
- package/dist/mdx/preview-react/_examples/examples/Table/WithSortableColumnHeaders.tsx +213 -0
- package/dist/mdx/preview-react/side-panel/examples/Basic.tsx +17 -15
- package/dist/mdx/preview-react/side-panel/examples/RightOrigin.tsx +14 -12
- package/dist/mdx/preview-react/side-panel/examples/Variant.tsx +14 -12
- package/dist/mdx/preview-react/table/Table.mdx +16 -1
- package/dist/mdx/preview-react/table/examples/RightToLeft.tsx +38 -0
- package/dist/mdx/react/select/Select.mdx +82 -7
- package/dist/mdx/react/select/examples/Basic.tsx +1 -1
- package/dist/mdx/react/select/examples/Complex.tsx +11 -16
- package/dist/mdx/react/select/examples/FetchingDynamicItems.tsx +103 -0
- package/dist/mdx/react/select/examples/Grow.tsx +1 -5
- package/dist/mdx/react/select/examples/HoistedModel.tsx +8 -15
- package/dist/mdx/react/select/examples/InitialSelectedItem.tsx +60 -0
- package/dist/mdx/react/select/examples/LabelPosition.tsx +1 -3
- package/dist/mdx/react/select/examples/Placeholder.tsx +41 -0
- package/dist/mdx/react/select/examples/RefForwarding.tsx +1 -0
- package/package.json +6 -6
package/dist/es6/lib/docs.js
CHANGED
|
@@ -64004,19 +64004,121 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
64004
64004
|
}
|
|
64005
64005
|
},
|
|
64006
64006
|
{
|
|
64007
|
-
"name": "
|
|
64008
|
-
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/
|
|
64007
|
+
"name": "backgroundVars",
|
|
64008
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckBackground.tsx",
|
|
64009
64009
|
"description": "",
|
|
64010
64010
|
"declarations": [
|
|
64011
64011
|
{
|
|
64012
|
-
"name": "
|
|
64013
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/
|
|
64012
|
+
"name": "backgroundVars",
|
|
64013
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckBackground.tsx"
|
|
64014
64014
|
}
|
|
64015
64015
|
],
|
|
64016
64016
|
"tags": {},
|
|
64017
64017
|
"type": {
|
|
64018
|
-
"kind": "
|
|
64019
|
-
"name": "
|
|
64018
|
+
"kind": "symbol",
|
|
64019
|
+
"name": "CsVars",
|
|
64020
|
+
"value": "CsVars<\"inner\" | \"outer\", never>"
|
|
64021
|
+
}
|
|
64022
|
+
},
|
|
64023
|
+
{
|
|
64024
|
+
"name": "CheckBackground",
|
|
64025
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckBackground.tsx",
|
|
64026
|
+
"description": "",
|
|
64027
|
+
"declarations": [
|
|
64028
|
+
{
|
|
64029
|
+
"name": "CheckBackground",
|
|
64030
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckBackground.tsx"
|
|
64031
|
+
}
|
|
64032
|
+
],
|
|
64033
|
+
"tags": {},
|
|
64034
|
+
"type": {
|
|
64035
|
+
"kind": "enhancedComponent",
|
|
64036
|
+
"componentType": "regular",
|
|
64037
|
+
"displayName": "CheckBackground",
|
|
64038
|
+
"props": [
|
|
64039
|
+
{
|
|
64040
|
+
"kind": "property",
|
|
64041
|
+
"name": "children",
|
|
64042
|
+
"required": true,
|
|
64043
|
+
"type": {
|
|
64044
|
+
"kind": "external",
|
|
64045
|
+
"name": "ReactNode",
|
|
64046
|
+
"url": "https://reactjs.org/docs/rendering-elements.html"
|
|
64047
|
+
},
|
|
64048
|
+
"description": "",
|
|
64049
|
+
"declarations": [
|
|
64050
|
+
{
|
|
64051
|
+
"name": "children",
|
|
64052
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckBackground.tsx"
|
|
64053
|
+
}
|
|
64054
|
+
],
|
|
64055
|
+
"tags": {}
|
|
64056
|
+
},
|
|
64057
|
+
{
|
|
64058
|
+
"kind": "property",
|
|
64059
|
+
"name": "error",
|
|
64060
|
+
"required": false,
|
|
64061
|
+
"type": {
|
|
64062
|
+
"kind": "symbol",
|
|
64063
|
+
"name": "ErrorType",
|
|
64064
|
+
"value": "ErrorType"
|
|
64065
|
+
},
|
|
64066
|
+
"description": "",
|
|
64067
|
+
"declarations": [
|
|
64068
|
+
{
|
|
64069
|
+
"name": "error",
|
|
64070
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckBackground.tsx"
|
|
64071
|
+
}
|
|
64072
|
+
],
|
|
64073
|
+
"tags": {}
|
|
64074
|
+
},
|
|
64075
|
+
{
|
|
64076
|
+
"kind": "property",
|
|
64077
|
+
"name": "as",
|
|
64078
|
+
"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.",
|
|
64079
|
+
"tags": {},
|
|
64080
|
+
"declarations": [],
|
|
64081
|
+
"type": {
|
|
64082
|
+
"kind": "external",
|
|
64083
|
+
"name": "React.ElementType",
|
|
64084
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/API/element"
|
|
64085
|
+
},
|
|
64086
|
+
"defaultValue": {
|
|
64087
|
+
"kind": "external",
|
|
64088
|
+
"name": "div",
|
|
64089
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div"
|
|
64090
|
+
}
|
|
64091
|
+
},
|
|
64092
|
+
{
|
|
64093
|
+
"kind": "property",
|
|
64094
|
+
"name": "ref",
|
|
64095
|
+
"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`).",
|
|
64096
|
+
"tags": {},
|
|
64097
|
+
"declarations": [],
|
|
64098
|
+
"type": {
|
|
64099
|
+
"kind": "external",
|
|
64100
|
+
"name": "React.Ref",
|
|
64101
|
+
"url": "https://reactjs.org/docs/refs-and-the-dom.html",
|
|
64102
|
+
"typeParameters": [
|
|
64103
|
+
{
|
|
64104
|
+
"kind": "typeParameter",
|
|
64105
|
+
"name": "R",
|
|
64106
|
+
"required": true,
|
|
64107
|
+
"defaultValue": {
|
|
64108
|
+
"kind": "external",
|
|
64109
|
+
"name": "div",
|
|
64110
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div"
|
|
64111
|
+
}
|
|
64112
|
+
}
|
|
64113
|
+
]
|
|
64114
|
+
}
|
|
64115
|
+
}
|
|
64116
|
+
],
|
|
64117
|
+
"baseElement": {
|
|
64118
|
+
"kind": "external",
|
|
64119
|
+
"name": "div",
|
|
64120
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div"
|
|
64121
|
+
}
|
|
64020
64122
|
}
|
|
64021
64123
|
},
|
|
64022
64124
|
{
|
|
@@ -64047,9 +64149,916 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
64047
64149
|
"declarations": [
|
|
64048
64150
|
{
|
|
64049
64151
|
"name": "checked",
|
|
64152
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64153
|
+
}
|
|
64154
|
+
],
|
|
64155
|
+
"tags": {
|
|
64156
|
+
"default": "false"
|
|
64157
|
+
},
|
|
64158
|
+
"defaultValue": {
|
|
64159
|
+
"kind": "boolean",
|
|
64160
|
+
"value": false
|
|
64161
|
+
}
|
|
64162
|
+
},
|
|
64163
|
+
{
|
|
64164
|
+
"kind": "property",
|
|
64165
|
+
"name": "disabled",
|
|
64166
|
+
"required": false,
|
|
64167
|
+
"type": {
|
|
64168
|
+
"kind": "primitive",
|
|
64169
|
+
"value": "boolean"
|
|
64170
|
+
},
|
|
64171
|
+
"description": "If true, set the Checkbox to the disabled state.",
|
|
64172
|
+
"declarations": [
|
|
64173
|
+
{
|
|
64174
|
+
"name": "disabled",
|
|
64175
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64176
|
+
}
|
|
64177
|
+
],
|
|
64178
|
+
"tags": {
|
|
64179
|
+
"default": "false"
|
|
64180
|
+
},
|
|
64181
|
+
"defaultValue": {
|
|
64182
|
+
"kind": "boolean",
|
|
64183
|
+
"value": false
|
|
64184
|
+
}
|
|
64185
|
+
},
|
|
64186
|
+
{
|
|
64187
|
+
"kind": "property",
|
|
64188
|
+
"name": "error",
|
|
64189
|
+
"required": false,
|
|
64190
|
+
"type": {
|
|
64191
|
+
"kind": "symbol",
|
|
64192
|
+
"name": "ErrorType",
|
|
64193
|
+
"value": "ErrorType"
|
|
64194
|
+
},
|
|
64195
|
+
"description": "The type of error associated with the Checkbox (if applicable).",
|
|
64196
|
+
"declarations": [
|
|
64197
|
+
{
|
|
64198
|
+
"name": "error",
|
|
64199
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64200
|
+
}
|
|
64201
|
+
],
|
|
64202
|
+
"tags": {}
|
|
64203
|
+
},
|
|
64204
|
+
{
|
|
64205
|
+
"kind": "property",
|
|
64206
|
+
"name": "id",
|
|
64207
|
+
"required": false,
|
|
64208
|
+
"type": {
|
|
64209
|
+
"kind": "primitive",
|
|
64210
|
+
"value": "string"
|
|
64211
|
+
},
|
|
64212
|
+
"description": "The HTML `id` of the underlying checkbox input element. This is required if `label` is defined as a non-empty string.",
|
|
64213
|
+
"declarations": [
|
|
64214
|
+
{
|
|
64215
|
+
"name": "id",
|
|
64216
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64217
|
+
}
|
|
64218
|
+
],
|
|
64219
|
+
"tags": {
|
|
64220
|
+
"default": "{useUniqueId}"
|
|
64221
|
+
},
|
|
64222
|
+
"defaultValue": {
|
|
64223
|
+
"kind": "symbol",
|
|
64224
|
+
"name": "useUniqueId",
|
|
64225
|
+
"value": "useUniqueId"
|
|
64226
|
+
}
|
|
64227
|
+
},
|
|
64228
|
+
{
|
|
64229
|
+
"kind": "property",
|
|
64230
|
+
"name": "indeterminate",
|
|
64231
|
+
"required": false,
|
|
64232
|
+
"type": {
|
|
64233
|
+
"kind": "primitive",
|
|
64234
|
+
"value": "boolean"
|
|
64235
|
+
},
|
|
64236
|
+
"description": "If true, set the Checkbox to an indeterminate state. Use this on a Checkbox with nested child Checkboxes to denote that some (but not all) child Checkboxes are checked.",
|
|
64237
|
+
"declarations": [
|
|
64238
|
+
{
|
|
64239
|
+
"name": "indeterminate",
|
|
64240
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64241
|
+
}
|
|
64242
|
+
],
|
|
64243
|
+
"tags": {
|
|
64244
|
+
"default": "false"
|
|
64245
|
+
},
|
|
64246
|
+
"defaultValue": {
|
|
64247
|
+
"kind": "boolean",
|
|
64248
|
+
"value": false
|
|
64249
|
+
}
|
|
64250
|
+
},
|
|
64251
|
+
{
|
|
64252
|
+
"kind": "property",
|
|
64253
|
+
"name": "label",
|
|
64254
|
+
"required": false,
|
|
64255
|
+
"type": {
|
|
64256
|
+
"kind": "primitive",
|
|
64257
|
+
"value": "string"
|
|
64258
|
+
},
|
|
64259
|
+
"description": "The text of the Checkbox label.",
|
|
64260
|
+
"declarations": [
|
|
64261
|
+
{
|
|
64262
|
+
"name": "label",
|
|
64263
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64264
|
+
}
|
|
64265
|
+
],
|
|
64266
|
+
"tags": {
|
|
64267
|
+
"default": "''"
|
|
64268
|
+
},
|
|
64269
|
+
"defaultValue": {
|
|
64270
|
+
"kind": "string",
|
|
64271
|
+
"value": ""
|
|
64272
|
+
}
|
|
64273
|
+
},
|
|
64274
|
+
{
|
|
64275
|
+
"kind": "property",
|
|
64276
|
+
"name": "onChange",
|
|
64277
|
+
"required": false,
|
|
64278
|
+
"type": {
|
|
64279
|
+
"kind": "function",
|
|
64280
|
+
"parameters": [
|
|
64281
|
+
{
|
|
64282
|
+
"kind": "parameter",
|
|
64283
|
+
"name": "e",
|
|
64284
|
+
"type": {
|
|
64285
|
+
"kind": "symbol",
|
|
64286
|
+
"name": "React.ChangeEvent",
|
|
64287
|
+
"typeParameters": [
|
|
64288
|
+
{
|
|
64289
|
+
"kind": "symbol",
|
|
64290
|
+
"name": "HTMLInputElement",
|
|
64291
|
+
"value": "HTMLInputElement"
|
|
64292
|
+
}
|
|
64293
|
+
],
|
|
64294
|
+
"value": "ChangeEvent<T>"
|
|
64295
|
+
},
|
|
64296
|
+
"required": true,
|
|
64297
|
+
"rest": false,
|
|
64298
|
+
"description": "",
|
|
64299
|
+
"declarations": [
|
|
64300
|
+
{
|
|
64301
|
+
"name": "e",
|
|
64302
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64303
|
+
}
|
|
64304
|
+
],
|
|
64305
|
+
"tags": {}
|
|
64306
|
+
}
|
|
64307
|
+
],
|
|
64308
|
+
"members": [],
|
|
64309
|
+
"returnType": {
|
|
64310
|
+
"kind": "primitive",
|
|
64311
|
+
"value": "void"
|
|
64312
|
+
}
|
|
64313
|
+
},
|
|
64314
|
+
"description": "The function called when the Checkbox state changes.",
|
|
64315
|
+
"declarations": [
|
|
64316
|
+
{
|
|
64317
|
+
"name": "onChange",
|
|
64318
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64319
|
+
}
|
|
64320
|
+
],
|
|
64321
|
+
"tags": {}
|
|
64322
|
+
},
|
|
64323
|
+
{
|
|
64324
|
+
"kind": "property",
|
|
64325
|
+
"name": "value",
|
|
64326
|
+
"required": false,
|
|
64327
|
+
"type": {
|
|
64328
|
+
"kind": "primitive",
|
|
64329
|
+
"value": "string"
|
|
64330
|
+
},
|
|
64331
|
+
"description": "The value of the Checkbox.",
|
|
64332
|
+
"declarations": [
|
|
64333
|
+
{
|
|
64334
|
+
"name": "value",
|
|
64335
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64336
|
+
}
|
|
64337
|
+
],
|
|
64338
|
+
"tags": {}
|
|
64339
|
+
},
|
|
64340
|
+
{
|
|
64341
|
+
"kind": "property",
|
|
64342
|
+
"name": "variant",
|
|
64343
|
+
"required": false,
|
|
64344
|
+
"type": {
|
|
64345
|
+
"kind": "union",
|
|
64346
|
+
"value": [
|
|
64347
|
+
{
|
|
64348
|
+
"kind": "string",
|
|
64349
|
+
"value": "inverse"
|
|
64350
|
+
},
|
|
64351
|
+
{
|
|
64352
|
+
"kind": "primitive",
|
|
64353
|
+
"value": "undefined"
|
|
64354
|
+
}
|
|
64355
|
+
]
|
|
64356
|
+
},
|
|
64357
|
+
"description": "The variant for the checkbox",
|
|
64358
|
+
"declarations": [
|
|
64359
|
+
{
|
|
64360
|
+
"name": "variant",
|
|
64361
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64362
|
+
}
|
|
64363
|
+
],
|
|
64364
|
+
"tags": {}
|
|
64365
|
+
},
|
|
64366
|
+
{
|
|
64367
|
+
"kind": "property",
|
|
64368
|
+
"name": "cs",
|
|
64369
|
+
"required": false,
|
|
64370
|
+
"type": {
|
|
64371
|
+
"kind": "symbol",
|
|
64372
|
+
"name": "CSToPropsInput",
|
|
64373
|
+
"value": "CSToPropsInput"
|
|
64374
|
+
},
|
|
64375
|
+
"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```",
|
|
64376
|
+
"declarations": [
|
|
64377
|
+
{
|
|
64378
|
+
"name": "cs",
|
|
64379
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
64380
|
+
}
|
|
64381
|
+
],
|
|
64382
|
+
"tags": {}
|
|
64383
|
+
},
|
|
64384
|
+
{
|
|
64385
|
+
"kind": "property",
|
|
64386
|
+
"name": "children",
|
|
64387
|
+
"description": "",
|
|
64388
|
+
"tags": {},
|
|
64389
|
+
"declarations": [],
|
|
64390
|
+
"type": {
|
|
64391
|
+
"kind": "external",
|
|
64392
|
+
"name": "React.ReactNode",
|
|
64393
|
+
"url": "https://reactjs.org/docs/rendering-elements.html"
|
|
64394
|
+
}
|
|
64395
|
+
},
|
|
64396
|
+
{
|
|
64397
|
+
"kind": "property",
|
|
64398
|
+
"name": "as",
|
|
64399
|
+
"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.",
|
|
64400
|
+
"tags": {},
|
|
64401
|
+
"declarations": [],
|
|
64402
|
+
"type": {
|
|
64403
|
+
"kind": "external",
|
|
64404
|
+
"name": "React.ElementType",
|
|
64405
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/API/element"
|
|
64406
|
+
},
|
|
64407
|
+
"defaultValue": {
|
|
64408
|
+
"kind": "external",
|
|
64409
|
+
"name": "input",
|
|
64410
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input"
|
|
64411
|
+
}
|
|
64412
|
+
},
|
|
64413
|
+
{
|
|
64414
|
+
"kind": "property",
|
|
64415
|
+
"name": "ref",
|
|
64416
|
+
"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`).",
|
|
64417
|
+
"tags": {},
|
|
64418
|
+
"declarations": [],
|
|
64419
|
+
"type": {
|
|
64420
|
+
"kind": "external",
|
|
64421
|
+
"name": "React.Ref",
|
|
64422
|
+
"url": "https://reactjs.org/docs/refs-and-the-dom.html",
|
|
64423
|
+
"typeParameters": [
|
|
64424
|
+
{
|
|
64425
|
+
"kind": "typeParameter",
|
|
64426
|
+
"name": "R",
|
|
64427
|
+
"required": true,
|
|
64428
|
+
"defaultValue": {
|
|
64429
|
+
"kind": "external",
|
|
64430
|
+
"name": "input",
|
|
64431
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input"
|
|
64432
|
+
}
|
|
64433
|
+
}
|
|
64434
|
+
]
|
|
64435
|
+
}
|
|
64436
|
+
}
|
|
64437
|
+
],
|
|
64438
|
+
"baseElement": {
|
|
64439
|
+
"kind": "external",
|
|
64440
|
+
"name": "input",
|
|
64441
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input"
|
|
64442
|
+
},
|
|
64443
|
+
"subComponents": [
|
|
64444
|
+
{
|
|
64445
|
+
"name": "ErrorType",
|
|
64446
|
+
"symbol": "ErrorType",
|
|
64447
|
+
"description": "",
|
|
64448
|
+
"declarations": [
|
|
64449
|
+
{
|
|
64450
|
+
"name": "ErrorType",
|
|
64050
64451
|
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/Checkbox.tsx"
|
|
64051
64452
|
}
|
|
64052
64453
|
],
|
|
64454
|
+
"tags": {}
|
|
64455
|
+
}
|
|
64456
|
+
]
|
|
64457
|
+
}
|
|
64458
|
+
},
|
|
64459
|
+
{
|
|
64460
|
+
"name": "CheckboxCheck",
|
|
64461
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxCheck.tsx",
|
|
64462
|
+
"description": "",
|
|
64463
|
+
"declarations": [
|
|
64464
|
+
{
|
|
64465
|
+
"name": "CheckboxCheck",
|
|
64466
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxCheck.tsx"
|
|
64467
|
+
}
|
|
64468
|
+
],
|
|
64469
|
+
"tags": {},
|
|
64470
|
+
"type": {
|
|
64471
|
+
"kind": "enhancedComponent",
|
|
64472
|
+
"componentType": "regular",
|
|
64473
|
+
"displayName": "CheckboxCheck",
|
|
64474
|
+
"props": [
|
|
64475
|
+
{
|
|
64476
|
+
"kind": "property",
|
|
64477
|
+
"name": "checked",
|
|
64478
|
+
"required": true,
|
|
64479
|
+
"type": {
|
|
64480
|
+
"kind": "primitive",
|
|
64481
|
+
"value": "boolean"
|
|
64482
|
+
},
|
|
64483
|
+
"description": "",
|
|
64484
|
+
"declarations": [
|
|
64485
|
+
{
|
|
64486
|
+
"name": "checked",
|
|
64487
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxCheck.tsx"
|
|
64488
|
+
}
|
|
64489
|
+
],
|
|
64490
|
+
"tags": {}
|
|
64491
|
+
},
|
|
64492
|
+
{
|
|
64493
|
+
"kind": "property",
|
|
64494
|
+
"name": "error",
|
|
64495
|
+
"required": false,
|
|
64496
|
+
"type": {
|
|
64497
|
+
"kind": "symbol",
|
|
64498
|
+
"name": "ErrorType",
|
|
64499
|
+
"value": "ErrorType"
|
|
64500
|
+
},
|
|
64501
|
+
"description": "",
|
|
64502
|
+
"declarations": [
|
|
64503
|
+
{
|
|
64504
|
+
"name": "error",
|
|
64505
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxCheck.tsx"
|
|
64506
|
+
}
|
|
64507
|
+
],
|
|
64508
|
+
"tags": {}
|
|
64509
|
+
},
|
|
64510
|
+
{
|
|
64511
|
+
"kind": "property",
|
|
64512
|
+
"name": "indeterminate",
|
|
64513
|
+
"required": false,
|
|
64514
|
+
"type": {
|
|
64515
|
+
"kind": "primitive",
|
|
64516
|
+
"value": "boolean"
|
|
64517
|
+
},
|
|
64518
|
+
"description": "",
|
|
64519
|
+
"declarations": [
|
|
64520
|
+
{
|
|
64521
|
+
"name": "indeterminate",
|
|
64522
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxCheck.tsx"
|
|
64523
|
+
}
|
|
64524
|
+
],
|
|
64525
|
+
"tags": {}
|
|
64526
|
+
},
|
|
64527
|
+
{
|
|
64528
|
+
"kind": "property",
|
|
64529
|
+
"name": "variant",
|
|
64530
|
+
"required": false,
|
|
64531
|
+
"type": {
|
|
64532
|
+
"kind": "string",
|
|
64533
|
+
"value": "inverse"
|
|
64534
|
+
},
|
|
64535
|
+
"description": "",
|
|
64536
|
+
"declarations": [
|
|
64537
|
+
{
|
|
64538
|
+
"name": "variant",
|
|
64539
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxCheck.tsx"
|
|
64540
|
+
}
|
|
64541
|
+
],
|
|
64542
|
+
"tags": {}
|
|
64543
|
+
},
|
|
64544
|
+
{
|
|
64545
|
+
"kind": "property",
|
|
64546
|
+
"name": "children",
|
|
64547
|
+
"description": "",
|
|
64548
|
+
"tags": {},
|
|
64549
|
+
"declarations": [],
|
|
64550
|
+
"type": {
|
|
64551
|
+
"kind": "external",
|
|
64552
|
+
"name": "React.ReactNode",
|
|
64553
|
+
"url": "https://reactjs.org/docs/rendering-elements.html"
|
|
64554
|
+
}
|
|
64555
|
+
},
|
|
64556
|
+
{
|
|
64557
|
+
"kind": "property",
|
|
64558
|
+
"name": "as",
|
|
64559
|
+
"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.",
|
|
64560
|
+
"tags": {},
|
|
64561
|
+
"declarations": [],
|
|
64562
|
+
"type": {
|
|
64563
|
+
"kind": "external",
|
|
64564
|
+
"name": "React.ElementType",
|
|
64565
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/API/element"
|
|
64566
|
+
},
|
|
64567
|
+
"defaultValue": {
|
|
64568
|
+
"kind": "external",
|
|
64569
|
+
"name": "div",
|
|
64570
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div"
|
|
64571
|
+
}
|
|
64572
|
+
},
|
|
64573
|
+
{
|
|
64574
|
+
"kind": "property",
|
|
64575
|
+
"name": "ref",
|
|
64576
|
+
"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`).",
|
|
64577
|
+
"tags": {},
|
|
64578
|
+
"declarations": [],
|
|
64579
|
+
"type": {
|
|
64580
|
+
"kind": "external",
|
|
64581
|
+
"name": "React.Ref",
|
|
64582
|
+
"url": "https://reactjs.org/docs/refs-and-the-dom.html",
|
|
64583
|
+
"typeParameters": [
|
|
64584
|
+
{
|
|
64585
|
+
"kind": "typeParameter",
|
|
64586
|
+
"name": "R",
|
|
64587
|
+
"required": true,
|
|
64588
|
+
"defaultValue": {
|
|
64589
|
+
"kind": "external",
|
|
64590
|
+
"name": "div",
|
|
64591
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div"
|
|
64592
|
+
}
|
|
64593
|
+
}
|
|
64594
|
+
]
|
|
64595
|
+
}
|
|
64596
|
+
}
|
|
64597
|
+
],
|
|
64598
|
+
"baseElement": {
|
|
64599
|
+
"kind": "external",
|
|
64600
|
+
"name": "div",
|
|
64601
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div"
|
|
64602
|
+
}
|
|
64603
|
+
}
|
|
64604
|
+
},
|
|
64605
|
+
{
|
|
64606
|
+
"name": "inputVars",
|
|
64607
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxContainer.tsx",
|
|
64608
|
+
"description": "",
|
|
64609
|
+
"declarations": [
|
|
64610
|
+
{
|
|
64611
|
+
"name": "inputVars",
|
|
64612
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxContainer.tsx"
|
|
64613
|
+
}
|
|
64614
|
+
],
|
|
64615
|
+
"tags": {},
|
|
64616
|
+
"type": {
|
|
64617
|
+
"kind": "symbol",
|
|
64618
|
+
"name": "CsVars",
|
|
64619
|
+
"value": "CsVars<\"errorInner\" | \"errorOuter\" | \"alertInner\" | \"alertOuter\", never>"
|
|
64620
|
+
}
|
|
64621
|
+
},
|
|
64622
|
+
{
|
|
64623
|
+
"name": "CheckboxContainer",
|
|
64624
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxContainer.tsx",
|
|
64625
|
+
"description": "",
|
|
64626
|
+
"declarations": [
|
|
64627
|
+
{
|
|
64628
|
+
"name": "CheckboxContainer",
|
|
64629
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxContainer.tsx"
|
|
64630
|
+
}
|
|
64631
|
+
],
|
|
64632
|
+
"tags": {},
|
|
64633
|
+
"type": {
|
|
64634
|
+
"kind": "enhancedComponent",
|
|
64635
|
+
"componentType": "regular",
|
|
64636
|
+
"displayName": "CheckboxContainer",
|
|
64637
|
+
"props": [
|
|
64638
|
+
{
|
|
64639
|
+
"kind": "property",
|
|
64640
|
+
"name": "children",
|
|
64641
|
+
"required": true,
|
|
64642
|
+
"type": {
|
|
64643
|
+
"kind": "external",
|
|
64644
|
+
"name": "ReactNode",
|
|
64645
|
+
"url": "https://reactjs.org/docs/rendering-elements.html"
|
|
64646
|
+
},
|
|
64647
|
+
"description": "",
|
|
64648
|
+
"declarations": [
|
|
64649
|
+
{
|
|
64650
|
+
"name": "children",
|
|
64651
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxContainer.tsx"
|
|
64652
|
+
}
|
|
64653
|
+
],
|
|
64654
|
+
"tags": {}
|
|
64655
|
+
},
|
|
64656
|
+
{
|
|
64657
|
+
"kind": "property",
|
|
64658
|
+
"name": "disabled",
|
|
64659
|
+
"required": false,
|
|
64660
|
+
"type": {
|
|
64661
|
+
"kind": "primitive",
|
|
64662
|
+
"value": "boolean"
|
|
64663
|
+
},
|
|
64664
|
+
"description": "",
|
|
64665
|
+
"declarations": [
|
|
64666
|
+
{
|
|
64667
|
+
"name": "disabled",
|
|
64668
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxContainer.tsx"
|
|
64669
|
+
}
|
|
64670
|
+
],
|
|
64671
|
+
"tags": {}
|
|
64672
|
+
},
|
|
64673
|
+
{
|
|
64674
|
+
"kind": "property",
|
|
64675
|
+
"name": "id",
|
|
64676
|
+
"required": true,
|
|
64677
|
+
"type": {
|
|
64678
|
+
"kind": "primitive",
|
|
64679
|
+
"value": "string"
|
|
64680
|
+
},
|
|
64681
|
+
"description": "",
|
|
64682
|
+
"declarations": [
|
|
64683
|
+
{
|
|
64684
|
+
"name": "id",
|
|
64685
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxContainer.tsx"
|
|
64686
|
+
}
|
|
64687
|
+
],
|
|
64688
|
+
"tags": {}
|
|
64689
|
+
},
|
|
64690
|
+
{
|
|
64691
|
+
"kind": "property",
|
|
64692
|
+
"name": "label",
|
|
64693
|
+
"required": true,
|
|
64694
|
+
"type": {
|
|
64695
|
+
"kind": "primitive",
|
|
64696
|
+
"value": "string"
|
|
64697
|
+
},
|
|
64698
|
+
"description": "",
|
|
64699
|
+
"declarations": [
|
|
64700
|
+
{
|
|
64701
|
+
"name": "label",
|
|
64702
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxContainer.tsx"
|
|
64703
|
+
}
|
|
64704
|
+
],
|
|
64705
|
+
"tags": {}
|
|
64706
|
+
},
|
|
64707
|
+
{
|
|
64708
|
+
"kind": "property",
|
|
64709
|
+
"name": "variant",
|
|
64710
|
+
"required": false,
|
|
64711
|
+
"type": {
|
|
64712
|
+
"kind": "string",
|
|
64713
|
+
"value": "inverse"
|
|
64714
|
+
},
|
|
64715
|
+
"description": "",
|
|
64716
|
+
"declarations": [
|
|
64717
|
+
{
|
|
64718
|
+
"name": "variant",
|
|
64719
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxContainer.tsx"
|
|
64720
|
+
}
|
|
64721
|
+
],
|
|
64722
|
+
"tags": {}
|
|
64723
|
+
},
|
|
64724
|
+
{
|
|
64725
|
+
"kind": "property",
|
|
64726
|
+
"name": "cs",
|
|
64727
|
+
"required": false,
|
|
64728
|
+
"type": {
|
|
64729
|
+
"kind": "symbol",
|
|
64730
|
+
"name": "CSToPropsInput",
|
|
64731
|
+
"value": "CSToPropsInput"
|
|
64732
|
+
},
|
|
64733
|
+
"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```",
|
|
64734
|
+
"declarations": [
|
|
64735
|
+
{
|
|
64736
|
+
"name": "cs",
|
|
64737
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
64738
|
+
}
|
|
64739
|
+
],
|
|
64740
|
+
"tags": {}
|
|
64741
|
+
},
|
|
64742
|
+
{
|
|
64743
|
+
"kind": "property",
|
|
64744
|
+
"name": "as",
|
|
64745
|
+
"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.",
|
|
64746
|
+
"tags": {},
|
|
64747
|
+
"declarations": [],
|
|
64748
|
+
"type": {
|
|
64749
|
+
"kind": "external",
|
|
64750
|
+
"name": "React.ElementType",
|
|
64751
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/API/element"
|
|
64752
|
+
},
|
|
64753
|
+
"defaultValue": {
|
|
64754
|
+
"kind": "external",
|
|
64755
|
+
"name": "div",
|
|
64756
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div"
|
|
64757
|
+
}
|
|
64758
|
+
},
|
|
64759
|
+
{
|
|
64760
|
+
"kind": "property",
|
|
64761
|
+
"name": "ref",
|
|
64762
|
+
"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`).",
|
|
64763
|
+
"tags": {},
|
|
64764
|
+
"declarations": [],
|
|
64765
|
+
"type": {
|
|
64766
|
+
"kind": "external",
|
|
64767
|
+
"name": "React.Ref",
|
|
64768
|
+
"url": "https://reactjs.org/docs/refs-and-the-dom.html",
|
|
64769
|
+
"typeParameters": [
|
|
64770
|
+
{
|
|
64771
|
+
"kind": "typeParameter",
|
|
64772
|
+
"name": "R",
|
|
64773
|
+
"required": true,
|
|
64774
|
+
"defaultValue": {
|
|
64775
|
+
"kind": "external",
|
|
64776
|
+
"name": "div",
|
|
64777
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div"
|
|
64778
|
+
}
|
|
64779
|
+
}
|
|
64780
|
+
]
|
|
64781
|
+
}
|
|
64782
|
+
}
|
|
64783
|
+
],
|
|
64784
|
+
"baseElement": {
|
|
64785
|
+
"kind": "external",
|
|
64786
|
+
"name": "div",
|
|
64787
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div"
|
|
64788
|
+
}
|
|
64789
|
+
}
|
|
64790
|
+
},
|
|
64791
|
+
{
|
|
64792
|
+
"name": "CheckboxProps",
|
|
64793
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx",
|
|
64794
|
+
"description": "",
|
|
64795
|
+
"declarations": [
|
|
64796
|
+
{
|
|
64797
|
+
"name": "CheckboxProps",
|
|
64798
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64799
|
+
}
|
|
64800
|
+
],
|
|
64801
|
+
"tags": {},
|
|
64802
|
+
"type": {
|
|
64803
|
+
"kind": "object",
|
|
64804
|
+
"properties": [
|
|
64805
|
+
{
|
|
64806
|
+
"kind": "property",
|
|
64807
|
+
"name": "checked",
|
|
64808
|
+
"required": false,
|
|
64809
|
+
"type": {
|
|
64810
|
+
"kind": "primitive",
|
|
64811
|
+
"value": "boolean"
|
|
64812
|
+
},
|
|
64813
|
+
"description": "If true, set the Checkbox to the checked state.",
|
|
64814
|
+
"declarations": [
|
|
64815
|
+
{
|
|
64816
|
+
"name": "checked",
|
|
64817
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64818
|
+
}
|
|
64819
|
+
],
|
|
64820
|
+
"tags": {
|
|
64821
|
+
"default": "false"
|
|
64822
|
+
}
|
|
64823
|
+
},
|
|
64824
|
+
{
|
|
64825
|
+
"kind": "property",
|
|
64826
|
+
"name": "disabled",
|
|
64827
|
+
"required": false,
|
|
64828
|
+
"type": {
|
|
64829
|
+
"kind": "primitive",
|
|
64830
|
+
"value": "boolean"
|
|
64831
|
+
},
|
|
64832
|
+
"description": "If true, set the Checkbox to the disabled state.",
|
|
64833
|
+
"declarations": [
|
|
64834
|
+
{
|
|
64835
|
+
"name": "disabled",
|
|
64836
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64837
|
+
}
|
|
64838
|
+
],
|
|
64839
|
+
"tags": {
|
|
64840
|
+
"default": "false"
|
|
64841
|
+
}
|
|
64842
|
+
},
|
|
64843
|
+
{
|
|
64844
|
+
"kind": "property",
|
|
64845
|
+
"name": "error",
|
|
64846
|
+
"required": false,
|
|
64847
|
+
"type": {
|
|
64848
|
+
"kind": "symbol",
|
|
64849
|
+
"name": "ErrorType",
|
|
64850
|
+
"value": "ErrorType"
|
|
64851
|
+
},
|
|
64852
|
+
"description": "The type of error associated with the Checkbox (if applicable).",
|
|
64853
|
+
"declarations": [
|
|
64854
|
+
{
|
|
64855
|
+
"name": "error",
|
|
64856
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64857
|
+
}
|
|
64858
|
+
],
|
|
64859
|
+
"tags": {}
|
|
64860
|
+
},
|
|
64861
|
+
{
|
|
64862
|
+
"kind": "property",
|
|
64863
|
+
"name": "id",
|
|
64864
|
+
"required": false,
|
|
64865
|
+
"type": {
|
|
64866
|
+
"kind": "primitive",
|
|
64867
|
+
"value": "string"
|
|
64868
|
+
},
|
|
64869
|
+
"description": "The HTML `id` of the underlying checkbox input element. This is required if `label` is defined as a non-empty string.",
|
|
64870
|
+
"declarations": [
|
|
64871
|
+
{
|
|
64872
|
+
"name": "id",
|
|
64873
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64874
|
+
}
|
|
64875
|
+
],
|
|
64876
|
+
"tags": {
|
|
64877
|
+
"default": "{useUniqueId}"
|
|
64878
|
+
}
|
|
64879
|
+
},
|
|
64880
|
+
{
|
|
64881
|
+
"kind": "property",
|
|
64882
|
+
"name": "indeterminate",
|
|
64883
|
+
"required": false,
|
|
64884
|
+
"type": {
|
|
64885
|
+
"kind": "primitive",
|
|
64886
|
+
"value": "boolean"
|
|
64887
|
+
},
|
|
64888
|
+
"description": "If true, set the Checkbox to an indeterminate state. Use this on a Checkbox with nested child Checkboxes to denote that some (but not all) child Checkboxes are checked.",
|
|
64889
|
+
"declarations": [
|
|
64890
|
+
{
|
|
64891
|
+
"name": "indeterminate",
|
|
64892
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64893
|
+
}
|
|
64894
|
+
],
|
|
64895
|
+
"tags": {
|
|
64896
|
+
"default": "false"
|
|
64897
|
+
}
|
|
64898
|
+
},
|
|
64899
|
+
{
|
|
64900
|
+
"kind": "property",
|
|
64901
|
+
"name": "label",
|
|
64902
|
+
"required": false,
|
|
64903
|
+
"type": {
|
|
64904
|
+
"kind": "primitive",
|
|
64905
|
+
"value": "string"
|
|
64906
|
+
},
|
|
64907
|
+
"description": "The text of the Checkbox label.",
|
|
64908
|
+
"declarations": [
|
|
64909
|
+
{
|
|
64910
|
+
"name": "label",
|
|
64911
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64912
|
+
}
|
|
64913
|
+
],
|
|
64914
|
+
"tags": {
|
|
64915
|
+
"default": "''"
|
|
64916
|
+
}
|
|
64917
|
+
},
|
|
64918
|
+
{
|
|
64919
|
+
"kind": "property",
|
|
64920
|
+
"name": "onChange",
|
|
64921
|
+
"required": false,
|
|
64922
|
+
"type": {
|
|
64923
|
+
"kind": "function",
|
|
64924
|
+
"parameters": [
|
|
64925
|
+
{
|
|
64926
|
+
"kind": "parameter",
|
|
64927
|
+
"name": "e",
|
|
64928
|
+
"type": {
|
|
64929
|
+
"kind": "symbol",
|
|
64930
|
+
"name": "React.ChangeEvent",
|
|
64931
|
+
"typeParameters": [
|
|
64932
|
+
{
|
|
64933
|
+
"kind": "symbol",
|
|
64934
|
+
"name": "HTMLInputElement",
|
|
64935
|
+
"value": "HTMLInputElement"
|
|
64936
|
+
}
|
|
64937
|
+
],
|
|
64938
|
+
"value": "ChangeEvent<T>"
|
|
64939
|
+
},
|
|
64940
|
+
"required": true,
|
|
64941
|
+
"rest": false,
|
|
64942
|
+
"description": "",
|
|
64943
|
+
"declarations": [
|
|
64944
|
+
{
|
|
64945
|
+
"name": "e",
|
|
64946
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64947
|
+
}
|
|
64948
|
+
],
|
|
64949
|
+
"tags": {}
|
|
64950
|
+
}
|
|
64951
|
+
],
|
|
64952
|
+
"members": [],
|
|
64953
|
+
"returnType": {
|
|
64954
|
+
"kind": "primitive",
|
|
64955
|
+
"value": "void"
|
|
64956
|
+
}
|
|
64957
|
+
},
|
|
64958
|
+
"description": "The function called when the Checkbox state changes.",
|
|
64959
|
+
"declarations": [
|
|
64960
|
+
{
|
|
64961
|
+
"name": "onChange",
|
|
64962
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64963
|
+
}
|
|
64964
|
+
],
|
|
64965
|
+
"tags": {}
|
|
64966
|
+
},
|
|
64967
|
+
{
|
|
64968
|
+
"kind": "property",
|
|
64969
|
+
"name": "value",
|
|
64970
|
+
"required": false,
|
|
64971
|
+
"type": {
|
|
64972
|
+
"kind": "primitive",
|
|
64973
|
+
"value": "string"
|
|
64974
|
+
},
|
|
64975
|
+
"description": "The value of the Checkbox.",
|
|
64976
|
+
"declarations": [
|
|
64977
|
+
{
|
|
64978
|
+
"name": "value",
|
|
64979
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64980
|
+
}
|
|
64981
|
+
],
|
|
64982
|
+
"tags": {}
|
|
64983
|
+
},
|
|
64984
|
+
{
|
|
64985
|
+
"kind": "property",
|
|
64986
|
+
"name": "variant",
|
|
64987
|
+
"required": false,
|
|
64988
|
+
"type": {
|
|
64989
|
+
"kind": "union",
|
|
64990
|
+
"value": [
|
|
64991
|
+
{
|
|
64992
|
+
"kind": "string",
|
|
64993
|
+
"value": "inverse"
|
|
64994
|
+
},
|
|
64995
|
+
{
|
|
64996
|
+
"kind": "primitive",
|
|
64997
|
+
"value": "undefined"
|
|
64998
|
+
}
|
|
64999
|
+
]
|
|
65000
|
+
},
|
|
65001
|
+
"description": "The variant for the checkbox",
|
|
65002
|
+
"declarations": [
|
|
65003
|
+
{
|
|
65004
|
+
"name": "variant",
|
|
65005
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
65006
|
+
}
|
|
65007
|
+
],
|
|
65008
|
+
"tags": {}
|
|
65009
|
+
},
|
|
65010
|
+
{
|
|
65011
|
+
"kind": "property",
|
|
65012
|
+
"name": "cs",
|
|
65013
|
+
"required": false,
|
|
65014
|
+
"type": {
|
|
65015
|
+
"kind": "symbol",
|
|
65016
|
+
"name": "CSToPropsInput",
|
|
65017
|
+
"value": "CSToPropsInput"
|
|
65018
|
+
},
|
|
65019
|
+
"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```",
|
|
65020
|
+
"declarations": [
|
|
65021
|
+
{
|
|
65022
|
+
"name": "cs",
|
|
65023
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
65024
|
+
}
|
|
65025
|
+
],
|
|
65026
|
+
"tags": {}
|
|
65027
|
+
}
|
|
65028
|
+
]
|
|
65029
|
+
}
|
|
65030
|
+
},
|
|
65031
|
+
{
|
|
65032
|
+
"name": "CheckboxInput",
|
|
65033
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx",
|
|
65034
|
+
"description": "",
|
|
65035
|
+
"declarations": [
|
|
65036
|
+
{
|
|
65037
|
+
"name": "CheckboxInput",
|
|
65038
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
65039
|
+
}
|
|
65040
|
+
],
|
|
65041
|
+
"tags": {},
|
|
65042
|
+
"type": {
|
|
65043
|
+
"kind": "enhancedComponent",
|
|
65044
|
+
"componentType": "regular",
|
|
65045
|
+
"displayName": "CheckboxInput",
|
|
65046
|
+
"props": [
|
|
65047
|
+
{
|
|
65048
|
+
"kind": "property",
|
|
65049
|
+
"name": "checked",
|
|
65050
|
+
"required": false,
|
|
65051
|
+
"type": {
|
|
65052
|
+
"kind": "primitive",
|
|
65053
|
+
"value": "boolean"
|
|
65054
|
+
},
|
|
65055
|
+
"description": "If true, set the Checkbox to the checked state.",
|
|
65056
|
+
"declarations": [
|
|
65057
|
+
{
|
|
65058
|
+
"name": "checked",
|
|
65059
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
65060
|
+
}
|
|
65061
|
+
],
|
|
64053
65062
|
"tags": {
|
|
64054
65063
|
"default": "false"
|
|
64055
65064
|
},
|
|
@@ -64070,7 +65079,7 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
64070
65079
|
"declarations": [
|
|
64071
65080
|
{
|
|
64072
65081
|
"name": "disabled",
|
|
64073
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/
|
|
65082
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64074
65083
|
}
|
|
64075
65084
|
],
|
|
64076
65085
|
"tags": {
|
|
@@ -64081,6 +65090,24 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
64081
65090
|
"value": false
|
|
64082
65091
|
}
|
|
64083
65092
|
},
|
|
65093
|
+
{
|
|
65094
|
+
"kind": "property",
|
|
65095
|
+
"name": "error",
|
|
65096
|
+
"required": false,
|
|
65097
|
+
"type": {
|
|
65098
|
+
"kind": "symbol",
|
|
65099
|
+
"name": "ErrorType",
|
|
65100
|
+
"value": "ErrorType"
|
|
65101
|
+
},
|
|
65102
|
+
"description": "The type of error associated with the Checkbox (if applicable).",
|
|
65103
|
+
"declarations": [
|
|
65104
|
+
{
|
|
65105
|
+
"name": "error",
|
|
65106
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
65107
|
+
}
|
|
65108
|
+
],
|
|
65109
|
+
"tags": {}
|
|
65110
|
+
},
|
|
64084
65111
|
{
|
|
64085
65112
|
"kind": "property",
|
|
64086
65113
|
"name": "id",
|
|
@@ -64093,7 +65120,7 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
64093
65120
|
"declarations": [
|
|
64094
65121
|
{
|
|
64095
65122
|
"name": "id",
|
|
64096
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/
|
|
65123
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64097
65124
|
}
|
|
64098
65125
|
],
|
|
64099
65126
|
"tags": {
|
|
@@ -64105,6 +65132,29 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
64105
65132
|
"value": "useUniqueId"
|
|
64106
65133
|
}
|
|
64107
65134
|
},
|
|
65135
|
+
{
|
|
65136
|
+
"kind": "property",
|
|
65137
|
+
"name": "indeterminate",
|
|
65138
|
+
"required": false,
|
|
65139
|
+
"type": {
|
|
65140
|
+
"kind": "primitive",
|
|
65141
|
+
"value": "boolean"
|
|
65142
|
+
},
|
|
65143
|
+
"description": "If true, set the Checkbox to an indeterminate state. Use this on a Checkbox with nested child Checkboxes to denote that some (but not all) child Checkboxes are checked.",
|
|
65144
|
+
"declarations": [
|
|
65145
|
+
{
|
|
65146
|
+
"name": "indeterminate",
|
|
65147
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
65148
|
+
}
|
|
65149
|
+
],
|
|
65150
|
+
"tags": {
|
|
65151
|
+
"default": "false"
|
|
65152
|
+
},
|
|
65153
|
+
"defaultValue": {
|
|
65154
|
+
"kind": "boolean",
|
|
65155
|
+
"value": false
|
|
65156
|
+
}
|
|
65157
|
+
},
|
|
64108
65158
|
{
|
|
64109
65159
|
"kind": "property",
|
|
64110
65160
|
"name": "label",
|
|
@@ -64117,15 +65167,16 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
64117
65167
|
"declarations": [
|
|
64118
65168
|
{
|
|
64119
65169
|
"name": "label",
|
|
64120
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/
|
|
65170
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64121
65171
|
}
|
|
64122
65172
|
],
|
|
64123
65173
|
"tags": {
|
|
64124
65174
|
"default": "''"
|
|
64125
65175
|
},
|
|
64126
65176
|
"defaultValue": {
|
|
64127
|
-
"kind": "
|
|
64128
|
-
"
|
|
65177
|
+
"kind": "symbol",
|
|
65178
|
+
"name": "''",
|
|
65179
|
+
"value": "''"
|
|
64129
65180
|
}
|
|
64130
65181
|
},
|
|
64131
65182
|
{
|
|
@@ -64156,7 +65207,7 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
64156
65207
|
"declarations": [
|
|
64157
65208
|
{
|
|
64158
65209
|
"name": "e",
|
|
64159
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/
|
|
65210
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64160
65211
|
}
|
|
64161
65212
|
],
|
|
64162
65213
|
"tags": {}
|
|
@@ -64172,7 +65223,7 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
64172
65223
|
"declarations": [
|
|
64173
65224
|
{
|
|
64174
65225
|
"name": "onChange",
|
|
64175
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/
|
|
65226
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64176
65227
|
}
|
|
64177
65228
|
],
|
|
64178
65229
|
"tags": {}
|
|
@@ -64189,52 +65240,11 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
64189
65240
|
"declarations": [
|
|
64190
65241
|
{
|
|
64191
65242
|
"name": "value",
|
|
64192
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/
|
|
65243
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64193
65244
|
}
|
|
64194
65245
|
],
|
|
64195
65246
|
"tags": {}
|
|
64196
65247
|
},
|
|
64197
|
-
{
|
|
64198
|
-
"kind": "property",
|
|
64199
|
-
"name": "error",
|
|
64200
|
-
"required": false,
|
|
64201
|
-
"type": {
|
|
64202
|
-
"kind": "symbol",
|
|
64203
|
-
"name": "ErrorType",
|
|
64204
|
-
"value": "ErrorType"
|
|
64205
|
-
},
|
|
64206
|
-
"description": "The type of error associated with the Checkbox (if applicable).",
|
|
64207
|
-
"declarations": [
|
|
64208
|
-
{
|
|
64209
|
-
"name": "error",
|
|
64210
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/Checkbox.tsx"
|
|
64211
|
-
}
|
|
64212
|
-
],
|
|
64213
|
-
"tags": {}
|
|
64214
|
-
},
|
|
64215
|
-
{
|
|
64216
|
-
"kind": "property",
|
|
64217
|
-
"name": "indeterminate",
|
|
64218
|
-
"required": false,
|
|
64219
|
-
"type": {
|
|
64220
|
-
"kind": "primitive",
|
|
64221
|
-
"value": "boolean"
|
|
64222
|
-
},
|
|
64223
|
-
"description": "If true, set the Checkbox to an indeterminate state. Use this on a Checkbox with nested child Checkboxes to denote that some (but not all) child Checkboxes are checked.",
|
|
64224
|
-
"declarations": [
|
|
64225
|
-
{
|
|
64226
|
-
"name": "indeterminate",
|
|
64227
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/Checkbox.tsx"
|
|
64228
|
-
}
|
|
64229
|
-
],
|
|
64230
|
-
"tags": {
|
|
64231
|
-
"default": "false"
|
|
64232
|
-
},
|
|
64233
|
-
"defaultValue": {
|
|
64234
|
-
"kind": "boolean",
|
|
64235
|
-
"value": false
|
|
64236
|
-
}
|
|
64237
|
-
},
|
|
64238
65248
|
{
|
|
64239
65249
|
"kind": "property",
|
|
64240
65250
|
"name": "variant",
|
|
@@ -64256,25 +65266,25 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
64256
65266
|
"declarations": [
|
|
64257
65267
|
{
|
|
64258
65268
|
"name": "variant",
|
|
64259
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/
|
|
65269
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxInput.tsx"
|
|
64260
65270
|
}
|
|
64261
65271
|
],
|
|
64262
65272
|
"tags": {}
|
|
64263
65273
|
},
|
|
64264
65274
|
{
|
|
64265
65275
|
"kind": "property",
|
|
64266
|
-
"name": "
|
|
65276
|
+
"name": "cs",
|
|
64267
65277
|
"required": false,
|
|
64268
65278
|
"type": {
|
|
64269
65279
|
"kind": "symbol",
|
|
64270
|
-
"name": "
|
|
64271
|
-
"value": "
|
|
65280
|
+
"name": "CSToPropsInput",
|
|
65281
|
+
"value": "CSToPropsInput"
|
|
64272
65282
|
},
|
|
64273
|
-
"description": "",
|
|
65283
|
+
"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```",
|
|
64274
65284
|
"declarations": [
|
|
64275
65285
|
{
|
|
64276
|
-
"name": "
|
|
64277
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/
|
|
65286
|
+
"name": "cs",
|
|
65287
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
64278
65288
|
}
|
|
64279
65289
|
],
|
|
64280
65290
|
"tags": {}
|
|
@@ -64337,21 +65347,84 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
64337
65347
|
"kind": "external",
|
|
64338
65348
|
"name": "input",
|
|
64339
65349
|
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input"
|
|
64340
|
-
}
|
|
64341
|
-
|
|
65350
|
+
}
|
|
65351
|
+
}
|
|
65352
|
+
},
|
|
65353
|
+
{
|
|
65354
|
+
"name": "CheckboxRipple",
|
|
65355
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxRipple.tsx",
|
|
65356
|
+
"description": "",
|
|
65357
|
+
"declarations": [
|
|
65358
|
+
{
|
|
65359
|
+
"name": "CheckboxRipple",
|
|
65360
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/checkbox/lib/CheckboxRipple.tsx"
|
|
65361
|
+
}
|
|
65362
|
+
],
|
|
65363
|
+
"tags": {},
|
|
65364
|
+
"type": {
|
|
65365
|
+
"kind": "enhancedComponent",
|
|
65366
|
+
"componentType": "regular",
|
|
65367
|
+
"displayName": "CheckboxRipple",
|
|
65368
|
+
"props": [
|
|
64342
65369
|
{
|
|
64343
|
-
"
|
|
64344
|
-
"
|
|
65370
|
+
"kind": "property",
|
|
65371
|
+
"name": "children",
|
|
64345
65372
|
"description": "",
|
|
64346
|
-
"
|
|
64347
|
-
|
|
64348
|
-
|
|
64349
|
-
|
|
64350
|
-
|
|
64351
|
-
|
|
64352
|
-
|
|
65373
|
+
"tags": {},
|
|
65374
|
+
"declarations": [],
|
|
65375
|
+
"type": {
|
|
65376
|
+
"kind": "external",
|
|
65377
|
+
"name": "React.ReactNode",
|
|
65378
|
+
"url": "https://reactjs.org/docs/rendering-elements.html"
|
|
65379
|
+
}
|
|
65380
|
+
},
|
|
65381
|
+
{
|
|
65382
|
+
"kind": "property",
|
|
65383
|
+
"name": "as",
|
|
65384
|
+
"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.",
|
|
65385
|
+
"tags": {},
|
|
65386
|
+
"declarations": [],
|
|
65387
|
+
"type": {
|
|
65388
|
+
"kind": "external",
|
|
65389
|
+
"name": "React.ElementType",
|
|
65390
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/API/element"
|
|
65391
|
+
},
|
|
65392
|
+
"defaultValue": {
|
|
65393
|
+
"kind": "external",
|
|
65394
|
+
"name": "span",
|
|
65395
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span"
|
|
65396
|
+
}
|
|
65397
|
+
},
|
|
65398
|
+
{
|
|
65399
|
+
"kind": "property",
|
|
65400
|
+
"name": "ref",
|
|
65401
|
+
"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`).",
|
|
65402
|
+
"tags": {},
|
|
65403
|
+
"declarations": [],
|
|
65404
|
+
"type": {
|
|
65405
|
+
"kind": "external",
|
|
65406
|
+
"name": "React.Ref",
|
|
65407
|
+
"url": "https://reactjs.org/docs/refs-and-the-dom.html",
|
|
65408
|
+
"typeParameters": [
|
|
65409
|
+
{
|
|
65410
|
+
"kind": "typeParameter",
|
|
65411
|
+
"name": "R",
|
|
65412
|
+
"required": true,
|
|
65413
|
+
"defaultValue": {
|
|
65414
|
+
"kind": "external",
|
|
65415
|
+
"name": "span",
|
|
65416
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span"
|
|
65417
|
+
}
|
|
65418
|
+
}
|
|
65419
|
+
]
|
|
65420
|
+
}
|
|
64353
65421
|
}
|
|
64354
|
-
]
|
|
65422
|
+
],
|
|
65423
|
+
"baseElement": {
|
|
65424
|
+
"kind": "external",
|
|
65425
|
+
"name": "span",
|
|
65426
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span"
|
|
65427
|
+
}
|
|
64355
65428
|
}
|
|
64356
65429
|
},
|
|
64357
65430
|
{
|
|
@@ -79118,6 +80191,30 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
79118
80191
|
}
|
|
79119
80192
|
],
|
|
79120
80193
|
"tags": {}
|
|
80194
|
+
},
|
|
80195
|
+
{
|
|
80196
|
+
"kind": "property",
|
|
80197
|
+
"name": "item",
|
|
80198
|
+
"required": false,
|
|
80199
|
+
"type": {
|
|
80200
|
+
"kind": "symbol",
|
|
80201
|
+
"name": "Item",
|
|
80202
|
+
"typeParameters": [
|
|
80203
|
+
{
|
|
80204
|
+
"kind": "primitive",
|
|
80205
|
+
"value": "any"
|
|
80206
|
+
}
|
|
80207
|
+
],
|
|
80208
|
+
"value": "Item<T>"
|
|
80209
|
+
},
|
|
80210
|
+
"description": "",
|
|
80211
|
+
"declarations": [
|
|
80212
|
+
{
|
|
80213
|
+
"name": "item",
|
|
80214
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/collection/lib/useListItemAllowChildStrings.ts"
|
|
80215
|
+
}
|
|
80216
|
+
],
|
|
80217
|
+
"tags": {}
|
|
79121
80218
|
}
|
|
79122
80219
|
]
|
|
79123
80220
|
},
|
|
@@ -101770,6 +102867,27 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
101770
102867
|
"tags": {},
|
|
101771
102868
|
"declarations": []
|
|
101772
102869
|
},
|
|
102870
|
+
{
|
|
102871
|
+
"kind": "property",
|
|
102872
|
+
"name": "aria-activedescendant",
|
|
102873
|
+
"required": true,
|
|
102874
|
+
"type": {
|
|
102875
|
+
"kind": "union",
|
|
102876
|
+
"value": [
|
|
102877
|
+
{
|
|
102878
|
+
"kind": "primitive",
|
|
102879
|
+
"value": "null"
|
|
102880
|
+
},
|
|
102881
|
+
{
|
|
102882
|
+
"kind": "primitive",
|
|
102883
|
+
"value": "undefined"
|
|
102884
|
+
}
|
|
102885
|
+
]
|
|
102886
|
+
},
|
|
102887
|
+
"description": "",
|
|
102888
|
+
"tags": {},
|
|
102889
|
+
"declarations": []
|
|
102890
|
+
},
|
|
101773
102891
|
{
|
|
101774
102892
|
"kind": "property",
|
|
101775
102893
|
"name": "id",
|
|
@@ -192065,6 +193183,23 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
192065
193183
|
}
|
|
192066
193184
|
],
|
|
192067
193185
|
"tags": {}
|
|
193186
|
+
},
|
|
193187
|
+
{
|
|
193188
|
+
"kind": "property",
|
|
193189
|
+
"name": "placeholder",
|
|
193190
|
+
"required": false,
|
|
193191
|
+
"type": {
|
|
193192
|
+
"kind": "primitive",
|
|
193193
|
+
"value": "string"
|
|
193194
|
+
},
|
|
193195
|
+
"description": "",
|
|
193196
|
+
"declarations": [
|
|
193197
|
+
{
|
|
193198
|
+
"name": "placeholder",
|
|
193199
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/select/lib/hooks/useSelectInput.ts"
|
|
193200
|
+
}
|
|
193201
|
+
],
|
|
193202
|
+
"tags": {}
|
|
192068
193203
|
}
|
|
192069
193204
|
]
|
|
192070
193205
|
},
|
|
@@ -192126,35 +193261,33 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
192126
193261
|
},
|
|
192127
193262
|
{
|
|
192128
193263
|
"kind": "property",
|
|
192129
|
-
"name": "
|
|
193264
|
+
"name": "onChange",
|
|
192130
193265
|
"required": true,
|
|
192131
193266
|
"type": {
|
|
192132
193267
|
"kind": "function",
|
|
192133
193268
|
"parameters": [
|
|
192134
193269
|
{
|
|
192135
193270
|
"kind": "parameter",
|
|
192136
|
-
"name": "
|
|
193271
|
+
"name": "event",
|
|
192137
193272
|
"type": {
|
|
192138
|
-
"kind": "
|
|
192139
|
-
"
|
|
193273
|
+
"kind": "symbol",
|
|
193274
|
+
"name": "React.ChangeEvent",
|
|
193275
|
+
"typeParameters": [
|
|
192140
193276
|
{
|
|
192141
193277
|
"kind": "symbol",
|
|
192142
|
-
"name": "
|
|
192143
|
-
"value": "
|
|
192144
|
-
},
|
|
192145
|
-
{
|
|
192146
|
-
"kind": "primitive",
|
|
192147
|
-
"value": "null"
|
|
193278
|
+
"name": "HTMLInputElement",
|
|
193279
|
+
"value": "HTMLInputElement"
|
|
192148
193280
|
}
|
|
192149
|
-
]
|
|
193281
|
+
],
|
|
193282
|
+
"value": "ChangeEvent<T>"
|
|
192150
193283
|
},
|
|
192151
193284
|
"required": true,
|
|
192152
193285
|
"rest": false,
|
|
192153
193286
|
"description": "",
|
|
192154
193287
|
"declarations": [
|
|
192155
193288
|
{
|
|
192156
|
-
"name": "
|
|
192157
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/
|
|
193289
|
+
"name": "event",
|
|
193290
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/select/lib/hooks/useSelectInput.ts"
|
|
192158
193291
|
}
|
|
192159
193292
|
],
|
|
192160
193293
|
"tags": {}
|
|
@@ -192182,6 +193315,102 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
192182
193315
|
"tags": {},
|
|
192183
193316
|
"declarations": []
|
|
192184
193317
|
},
|
|
193318
|
+
{
|
|
193319
|
+
"kind": "property",
|
|
193320
|
+
"name": "onFocus",
|
|
193321
|
+
"required": true,
|
|
193322
|
+
"type": {
|
|
193323
|
+
"kind": "function",
|
|
193324
|
+
"parameters": [],
|
|
193325
|
+
"members": [],
|
|
193326
|
+
"returnType": {
|
|
193327
|
+
"kind": "primitive",
|
|
193328
|
+
"value": "void"
|
|
193329
|
+
}
|
|
193330
|
+
},
|
|
193331
|
+
"description": "",
|
|
193332
|
+
"tags": {},
|
|
193333
|
+
"declarations": []
|
|
193334
|
+
},
|
|
193335
|
+
{
|
|
193336
|
+
"kind": "property",
|
|
193337
|
+
"name": "textInputProps",
|
|
193338
|
+
"required": true,
|
|
193339
|
+
"type": {
|
|
193340
|
+
"kind": "object",
|
|
193341
|
+
"properties": [
|
|
193342
|
+
{
|
|
193343
|
+
"kind": "property",
|
|
193344
|
+
"name": "ref",
|
|
193345
|
+
"required": true,
|
|
193346
|
+
"type": {
|
|
193347
|
+
"kind": "symbol",
|
|
193348
|
+
"name": "RefObject",
|
|
193349
|
+
"typeParameters": [
|
|
193350
|
+
{
|
|
193351
|
+
"kind": "symbol",
|
|
193352
|
+
"name": "HTMLInputElement",
|
|
193353
|
+
"value": "any"
|
|
193354
|
+
}
|
|
193355
|
+
],
|
|
193356
|
+
"value": "any"
|
|
193357
|
+
},
|
|
193358
|
+
"description": "",
|
|
193359
|
+
"tags": {},
|
|
193360
|
+
"declarations": []
|
|
193361
|
+
}
|
|
193362
|
+
]
|
|
193363
|
+
},
|
|
193364
|
+
"description": "",
|
|
193365
|
+
"tags": {},
|
|
193366
|
+
"declarations": []
|
|
193367
|
+
},
|
|
193368
|
+
{
|
|
193369
|
+
"kind": "property",
|
|
193370
|
+
"name": "ref",
|
|
193371
|
+
"required": true,
|
|
193372
|
+
"type": {
|
|
193373
|
+
"kind": "function",
|
|
193374
|
+
"parameters": [
|
|
193375
|
+
{
|
|
193376
|
+
"kind": "parameter",
|
|
193377
|
+
"name": "instance",
|
|
193378
|
+
"type": {
|
|
193379
|
+
"kind": "union",
|
|
193380
|
+
"value": [
|
|
193381
|
+
{
|
|
193382
|
+
"kind": "symbol",
|
|
193383
|
+
"name": "T",
|
|
193384
|
+
"value": "T"
|
|
193385
|
+
},
|
|
193386
|
+
{
|
|
193387
|
+
"kind": "primitive",
|
|
193388
|
+
"value": "null"
|
|
193389
|
+
}
|
|
193390
|
+
]
|
|
193391
|
+
},
|
|
193392
|
+
"required": true,
|
|
193393
|
+
"rest": false,
|
|
193394
|
+
"description": "",
|
|
193395
|
+
"declarations": [
|
|
193396
|
+
{
|
|
193397
|
+
"name": "instance",
|
|
193398
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/node_modules/@types/react/index.d.ts"
|
|
193399
|
+
}
|
|
193400
|
+
],
|
|
193401
|
+
"tags": {}
|
|
193402
|
+
}
|
|
193403
|
+
],
|
|
193404
|
+
"members": [],
|
|
193405
|
+
"returnType": {
|
|
193406
|
+
"kind": "primitive",
|
|
193407
|
+
"value": "void"
|
|
193408
|
+
}
|
|
193409
|
+
},
|
|
193410
|
+
"description": "",
|
|
193411
|
+
"tags": {},
|
|
193412
|
+
"declarations": []
|
|
193413
|
+
},
|
|
192185
193414
|
{
|
|
192186
193415
|
"kind": "property",
|
|
192187
193416
|
"name": "defaultValue",
|
|
@@ -199021,6 +200250,24 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
199021
200250
|
],
|
|
199022
200251
|
"tags": {}
|
|
199023
200252
|
},
|
|
200253
|
+
{
|
|
200254
|
+
"kind": "property",
|
|
200255
|
+
"name": "cs",
|
|
200256
|
+
"required": false,
|
|
200257
|
+
"type": {
|
|
200258
|
+
"kind": "symbol",
|
|
200259
|
+
"name": "CSToPropsInput",
|
|
200260
|
+
"value": "CSToPropsInput"
|
|
200261
|
+
},
|
|
200262
|
+
"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```",
|
|
200263
|
+
"declarations": [
|
|
200264
|
+
{
|
|
200265
|
+
"name": "cs",
|
|
200266
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
200267
|
+
}
|
|
200268
|
+
],
|
|
200269
|
+
"tags": {}
|
|
200270
|
+
},
|
|
199024
200271
|
{
|
|
199025
200272
|
"kind": "property",
|
|
199026
200273
|
"name": "children",
|
|
@@ -249141,6 +250388,90 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
249141
250388
|
}
|
|
249142
250389
|
}
|
|
249143
250390
|
},
|
|
250391
|
+
{
|
|
250392
|
+
"name": "createObjectTransform",
|
|
250393
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/createObjectTransform.ts",
|
|
250394
|
+
"description": "Object transforms take an AST node that represents a style object and turn it into a\n`NestedStyleObject` or return `void`. If an object transform returns an object, transformation\nparsing stops on that node. If `void` is returned, processing continues using\n`parseObjectToStaticValue`. These transforms are useful if you have custom utility functions\nthat are not statically parsable by the static styling transformer.",
|
|
250395
|
+
"declarations": [
|
|
250396
|
+
{
|
|
250397
|
+
"name": "createObjectTransform",
|
|
250398
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/createObjectTransform.ts"
|
|
250399
|
+
}
|
|
250400
|
+
],
|
|
250401
|
+
"tags": {},
|
|
250402
|
+
"type": {
|
|
250403
|
+
"kind": "function",
|
|
250404
|
+
"parameters": [
|
|
250405
|
+
{
|
|
250406
|
+
"kind": "parameter",
|
|
250407
|
+
"name": "transformFn",
|
|
250408
|
+
"type": {
|
|
250409
|
+
"kind": "symbol",
|
|
250410
|
+
"name": "ObjectTransform",
|
|
250411
|
+
"value": "ObjectTransform"
|
|
250412
|
+
},
|
|
250413
|
+
"required": true,
|
|
250414
|
+
"rest": false,
|
|
250415
|
+
"description": "",
|
|
250416
|
+
"declarations": [
|
|
250417
|
+
{
|
|
250418
|
+
"name": "transformFn",
|
|
250419
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/createObjectTransform.ts"
|
|
250420
|
+
}
|
|
250421
|
+
],
|
|
250422
|
+
"tags": {}
|
|
250423
|
+
}
|
|
250424
|
+
],
|
|
250425
|
+
"members": [],
|
|
250426
|
+
"returnType": {
|
|
250427
|
+
"kind": "symbol",
|
|
250428
|
+
"name": "ObjectTransform",
|
|
250429
|
+
"value": "ObjectTransform"
|
|
250430
|
+
}
|
|
250431
|
+
}
|
|
250432
|
+
},
|
|
250433
|
+
{
|
|
250434
|
+
"name": "createPropertyTransform",
|
|
250435
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/createPropertyTransform.ts",
|
|
250436
|
+
"description": "A property transform takes a style property node and will return a string. You can use\n`parseNodeToStaticValue` to help you process properties that might be inputs to a function.",
|
|
250437
|
+
"declarations": [
|
|
250438
|
+
{
|
|
250439
|
+
"name": "createPropertyTransform",
|
|
250440
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/createPropertyTransform.ts"
|
|
250441
|
+
}
|
|
250442
|
+
],
|
|
250443
|
+
"tags": {},
|
|
250444
|
+
"type": {
|
|
250445
|
+
"kind": "function",
|
|
250446
|
+
"parameters": [
|
|
250447
|
+
{
|
|
250448
|
+
"kind": "parameter",
|
|
250449
|
+
"name": "transformFn",
|
|
250450
|
+
"type": {
|
|
250451
|
+
"kind": "symbol",
|
|
250452
|
+
"name": "PropertyTransform",
|
|
250453
|
+
"value": "PropertyTransform"
|
|
250454
|
+
},
|
|
250455
|
+
"required": true,
|
|
250456
|
+
"rest": false,
|
|
250457
|
+
"description": "",
|
|
250458
|
+
"declarations": [
|
|
250459
|
+
{
|
|
250460
|
+
"name": "transformFn",
|
|
250461
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/createPropertyTransform.ts"
|
|
250462
|
+
}
|
|
250463
|
+
],
|
|
250464
|
+
"tags": {}
|
|
250465
|
+
}
|
|
250466
|
+
],
|
|
250467
|
+
"members": [],
|
|
250468
|
+
"returnType": {
|
|
250469
|
+
"kind": "symbol",
|
|
250470
|
+
"name": "PropertyTransform",
|
|
250471
|
+
"value": "PropertyTransform"
|
|
250472
|
+
}
|
|
250473
|
+
}
|
|
250474
|
+
},
|
|
249144
250475
|
{
|
|
249145
250476
|
"name": "NestedStyleObject",
|
|
249146
250477
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts",
|
|
@@ -249193,6 +250524,65 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
249193
250524
|
"type": {
|
|
249194
250525
|
"kind": "object",
|
|
249195
250526
|
"properties": [
|
|
250527
|
+
{
|
|
250528
|
+
"kind": "property",
|
|
250529
|
+
"name": "fallbackFiles",
|
|
250530
|
+
"required": false,
|
|
250531
|
+
"type": {
|
|
250532
|
+
"kind": "array",
|
|
250533
|
+
"value": {
|
|
250534
|
+
"kind": "primitive",
|
|
250535
|
+
"value": "string"
|
|
250536
|
+
}
|
|
250537
|
+
},
|
|
250538
|
+
"description": "",
|
|
250539
|
+
"declarations": [
|
|
250540
|
+
{
|
|
250541
|
+
"name": "fallbackFiles",
|
|
250542
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts"
|
|
250543
|
+
}
|
|
250544
|
+
],
|
|
250545
|
+
"tags": {}
|
|
250546
|
+
},
|
|
250547
|
+
{
|
|
250548
|
+
"kind": "property",
|
|
250549
|
+
"name": "transformers",
|
|
250550
|
+
"required": false,
|
|
250551
|
+
"type": {
|
|
250552
|
+
"kind": "array",
|
|
250553
|
+
"value": {
|
|
250554
|
+
"kind": "symbol",
|
|
250555
|
+
"name": "NodeTransformer",
|
|
250556
|
+
"value": "NodeTransformer"
|
|
250557
|
+
}
|
|
250558
|
+
},
|
|
250559
|
+
"description": "",
|
|
250560
|
+
"declarations": [
|
|
250561
|
+
{
|
|
250562
|
+
"name": "transformers",
|
|
250563
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts"
|
|
250564
|
+
}
|
|
250565
|
+
],
|
|
250566
|
+
"tags": {}
|
|
250567
|
+
},
|
|
250568
|
+
{
|
|
250569
|
+
"kind": "property",
|
|
250570
|
+
"name": "checker",
|
|
250571
|
+
"required": true,
|
|
250572
|
+
"type": {
|
|
250573
|
+
"kind": "symbol",
|
|
250574
|
+
"name": "ts.TypeChecker",
|
|
250575
|
+
"value": "TypeChecker"
|
|
250576
|
+
},
|
|
250577
|
+
"description": "",
|
|
250578
|
+
"declarations": [
|
|
250579
|
+
{
|
|
250580
|
+
"name": "checker",
|
|
250581
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
250582
|
+
}
|
|
250583
|
+
],
|
|
250584
|
+
"tags": {}
|
|
250585
|
+
},
|
|
249196
250586
|
{
|
|
249197
250587
|
"kind": "property",
|
|
249198
250588
|
"name": "prefix",
|
|
@@ -249205,7 +250595,7 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
249205
250595
|
"declarations": [
|
|
249206
250596
|
{
|
|
249207
250597
|
"name": "prefix",
|
|
249208
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/
|
|
250598
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
249209
250599
|
}
|
|
249210
250600
|
],
|
|
249211
250601
|
"tags": {}
|
|
@@ -249217,13 +250607,23 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
249217
250607
|
"type": {
|
|
249218
250608
|
"kind": "external",
|
|
249219
250609
|
"name": "Record",
|
|
249220
|
-
"url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"
|
|
250610
|
+
"url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type",
|
|
250611
|
+
"typeParameters": [
|
|
250612
|
+
{
|
|
250613
|
+
"kind": "primitive",
|
|
250614
|
+
"value": "string"
|
|
250615
|
+
},
|
|
250616
|
+
{
|
|
250617
|
+
"kind": "primitive",
|
|
250618
|
+
"value": "string"
|
|
250619
|
+
}
|
|
250620
|
+
]
|
|
249221
250621
|
},
|
|
249222
250622
|
"description": "",
|
|
249223
250623
|
"declarations": [
|
|
249224
250624
|
{
|
|
249225
250625
|
"name": "variables",
|
|
249226
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/
|
|
250626
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
249227
250627
|
}
|
|
249228
250628
|
],
|
|
249229
250629
|
"tags": {}
|
|
@@ -249235,54 +250635,141 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
249235
250635
|
"type": {
|
|
249236
250636
|
"kind": "external",
|
|
249237
250637
|
"name": "Record",
|
|
249238
|
-
"url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"
|
|
250638
|
+
"url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type",
|
|
250639
|
+
"typeParameters": [
|
|
250640
|
+
{
|
|
250641
|
+
"kind": "primitive",
|
|
250642
|
+
"value": "string"
|
|
250643
|
+
},
|
|
250644
|
+
{
|
|
250645
|
+
"kind": "primitive",
|
|
250646
|
+
"value": "string"
|
|
250647
|
+
}
|
|
250648
|
+
]
|
|
250649
|
+
},
|
|
250650
|
+
"description": "",
|
|
250651
|
+
"declarations": [
|
|
250652
|
+
{
|
|
250653
|
+
"name": "keyframes",
|
|
250654
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
250655
|
+
}
|
|
250656
|
+
],
|
|
250657
|
+
"tags": {}
|
|
250658
|
+
},
|
|
250659
|
+
{
|
|
250660
|
+
"kind": "property",
|
|
250661
|
+
"name": "styles",
|
|
250662
|
+
"required": true,
|
|
250663
|
+
"type": {
|
|
250664
|
+
"kind": "symbol",
|
|
250665
|
+
"name": "StylesOutput",
|
|
250666
|
+
"value": "StylesOutput"
|
|
250667
|
+
},
|
|
250668
|
+
"description": "",
|
|
250669
|
+
"declarations": [
|
|
250670
|
+
{
|
|
250671
|
+
"name": "styles",
|
|
250672
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
250673
|
+
}
|
|
250674
|
+
],
|
|
250675
|
+
"tags": {}
|
|
250676
|
+
},
|
|
250677
|
+
{
|
|
250678
|
+
"kind": "property",
|
|
250679
|
+
"name": "getFileName",
|
|
250680
|
+
"required": true,
|
|
250681
|
+
"type": {
|
|
250682
|
+
"kind": "function",
|
|
250683
|
+
"parameters": [
|
|
250684
|
+
{
|
|
250685
|
+
"kind": "parameter",
|
|
250686
|
+
"name": "path",
|
|
250687
|
+
"type": {
|
|
250688
|
+
"kind": "primitive",
|
|
250689
|
+
"value": "string"
|
|
250690
|
+
},
|
|
250691
|
+
"required": true,
|
|
250692
|
+
"rest": false,
|
|
250693
|
+
"description": "",
|
|
250694
|
+
"declarations": [
|
|
250695
|
+
{
|
|
250696
|
+
"name": "path",
|
|
250697
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
250698
|
+
}
|
|
250699
|
+
],
|
|
250700
|
+
"tags": {}
|
|
250701
|
+
}
|
|
250702
|
+
],
|
|
250703
|
+
"members": [],
|
|
250704
|
+
"returnType": {
|
|
250705
|
+
"kind": "primitive",
|
|
250706
|
+
"value": "string"
|
|
250707
|
+
}
|
|
250708
|
+
},
|
|
250709
|
+
"description": "",
|
|
250710
|
+
"declarations": [
|
|
250711
|
+
{
|
|
250712
|
+
"name": "getFileName",
|
|
250713
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
250714
|
+
}
|
|
250715
|
+
],
|
|
250716
|
+
"tags": {}
|
|
250717
|
+
},
|
|
250718
|
+
{
|
|
250719
|
+
"kind": "property",
|
|
250720
|
+
"name": "objectTransforms",
|
|
250721
|
+
"required": true,
|
|
250722
|
+
"type": {
|
|
250723
|
+
"kind": "array",
|
|
250724
|
+
"value": {
|
|
250725
|
+
"kind": "symbol",
|
|
250726
|
+
"name": "ObjectTransform",
|
|
250727
|
+
"value": "ObjectTransform"
|
|
250728
|
+
}
|
|
249239
250729
|
},
|
|
249240
250730
|
"description": "",
|
|
249241
250731
|
"declarations": [
|
|
249242
250732
|
{
|
|
249243
|
-
"name": "
|
|
249244
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/
|
|
250733
|
+
"name": "objectTransforms",
|
|
250734
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
249245
250735
|
}
|
|
249246
250736
|
],
|
|
249247
250737
|
"tags": {}
|
|
249248
250738
|
},
|
|
249249
250739
|
{
|
|
249250
250740
|
"kind": "property",
|
|
249251
|
-
"name": "
|
|
249252
|
-
"required":
|
|
250741
|
+
"name": "propertyTransforms",
|
|
250742
|
+
"required": true,
|
|
249253
250743
|
"type": {
|
|
249254
250744
|
"kind": "array",
|
|
249255
250745
|
"value": {
|
|
249256
|
-
"kind": "
|
|
249257
|
-
"
|
|
250746
|
+
"kind": "symbol",
|
|
250747
|
+
"name": "PropertyTransform",
|
|
250748
|
+
"value": "PropertyTransform"
|
|
249258
250749
|
}
|
|
249259
250750
|
},
|
|
249260
250751
|
"description": "",
|
|
249261
250752
|
"declarations": [
|
|
249262
250753
|
{
|
|
249263
|
-
"name": "
|
|
249264
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/
|
|
250754
|
+
"name": "propertyTransforms",
|
|
250755
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
249265
250756
|
}
|
|
249266
250757
|
],
|
|
249267
250758
|
"tags": {}
|
|
249268
250759
|
},
|
|
249269
250760
|
{
|
|
249270
250761
|
"kind": "property",
|
|
249271
|
-
"name": "
|
|
249272
|
-
"required":
|
|
250762
|
+
"name": "fileName",
|
|
250763
|
+
"required": true,
|
|
249273
250764
|
"type": {
|
|
249274
|
-
"kind": "
|
|
249275
|
-
"value":
|
|
249276
|
-
"kind": "symbol",
|
|
249277
|
-
"name": "NodeTransformer",
|
|
249278
|
-
"value": "NodeTransformer"
|
|
249279
|
-
}
|
|
250765
|
+
"kind": "primitive",
|
|
250766
|
+
"value": "string"
|
|
249280
250767
|
},
|
|
249281
250768
|
"description": "",
|
|
249282
250769
|
"declarations": [
|
|
249283
250770
|
{
|
|
249284
|
-
"name": "
|
|
249285
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/
|
|
250771
|
+
"name": "fileName",
|
|
250772
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
249286
250773
|
}
|
|
249287
250774
|
],
|
|
249288
250775
|
"tags": {}
|
|
@@ -249346,101 +250833,7 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
249346
250833
|
},
|
|
249347
250834
|
{
|
|
249348
250835
|
"kind": "parameter",
|
|
249349
|
-
"name": "
|
|
249350
|
-
"defaultValue": {
|
|
249351
|
-
"kind": "object",
|
|
249352
|
-
"properties": [
|
|
249353
|
-
{
|
|
249354
|
-
"kind": "property",
|
|
249355
|
-
"name": "prefix",
|
|
249356
|
-
"defaultValue": {
|
|
249357
|
-
"kind": "string",
|
|
249358
|
-
"value": "css"
|
|
249359
|
-
},
|
|
249360
|
-
"type": {
|
|
249361
|
-
"kind": "primitive",
|
|
249362
|
-
"value": "string"
|
|
249363
|
-
},
|
|
249364
|
-
"required": true,
|
|
249365
|
-
"description": "",
|
|
249366
|
-
"declarations": [
|
|
249367
|
-
{
|
|
249368
|
-
"name": "prefix",
|
|
249369
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts"
|
|
249370
|
-
}
|
|
249371
|
-
],
|
|
249372
|
-
"tags": {}
|
|
249373
|
-
},
|
|
249374
|
-
{
|
|
249375
|
-
"kind": "property",
|
|
249376
|
-
"name": "variables",
|
|
249377
|
-
"defaultValue": {
|
|
249378
|
-
"kind": "object",
|
|
249379
|
-
"properties": []
|
|
249380
|
-
},
|
|
249381
|
-
"type": {
|
|
249382
|
-
"kind": "object",
|
|
249383
|
-
"properties": []
|
|
249384
|
-
},
|
|
249385
|
-
"required": true,
|
|
249386
|
-
"description": "",
|
|
249387
|
-
"declarations": [
|
|
249388
|
-
{
|
|
249389
|
-
"name": "variables",
|
|
249390
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts"
|
|
249391
|
-
}
|
|
249392
|
-
],
|
|
249393
|
-
"tags": {}
|
|
249394
|
-
},
|
|
249395
|
-
{
|
|
249396
|
-
"kind": "property",
|
|
249397
|
-
"name": "keyframes",
|
|
249398
|
-
"defaultValue": {
|
|
249399
|
-
"kind": "object",
|
|
249400
|
-
"properties": []
|
|
249401
|
-
},
|
|
249402
|
-
"type": {
|
|
249403
|
-
"kind": "object",
|
|
249404
|
-
"properties": []
|
|
249405
|
-
},
|
|
249406
|
-
"required": true,
|
|
249407
|
-
"description": "",
|
|
249408
|
-
"declarations": [
|
|
249409
|
-
{
|
|
249410
|
-
"name": "keyframes",
|
|
249411
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts"
|
|
249412
|
-
}
|
|
249413
|
-
],
|
|
249414
|
-
"tags": {}
|
|
249415
|
-
},
|
|
249416
|
-
{
|
|
249417
|
-
"kind": "property",
|
|
249418
|
-
"name": "transformers",
|
|
249419
|
-
"defaultValue": {
|
|
249420
|
-
"kind": "unknown",
|
|
249421
|
-
"value": "unknown",
|
|
249422
|
-
"text": "defaultTransformers"
|
|
249423
|
-
},
|
|
249424
|
-
"type": {
|
|
249425
|
-
"kind": "array",
|
|
249426
|
-
"value": {
|
|
249427
|
-
"kind": "symbol",
|
|
249428
|
-
"name": "NodeTransformer",
|
|
249429
|
-
"value": "any"
|
|
249430
|
-
}
|
|
249431
|
-
},
|
|
249432
|
-
"required": true,
|
|
249433
|
-
"description": "",
|
|
249434
|
-
"declarations": [
|
|
249435
|
-
{
|
|
249436
|
-
"name": "transformers",
|
|
249437
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts"
|
|
249438
|
-
}
|
|
249439
|
-
],
|
|
249440
|
-
"tags": {}
|
|
249441
|
-
}
|
|
249442
|
-
]
|
|
249443
|
-
},
|
|
250836
|
+
"name": "options",
|
|
249444
250837
|
"type": {
|
|
249445
250838
|
"kind": "symbol",
|
|
249446
250839
|
"name": "Partial",
|
|
@@ -249458,7 +250851,7 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
249458
250851
|
"description": "",
|
|
249459
250852
|
"declarations": [
|
|
249460
250853
|
{
|
|
249461
|
-
"name": "
|
|
250854
|
+
"name": "options",
|
|
249462
250855
|
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts"
|
|
249463
250856
|
}
|
|
249464
250857
|
],
|
|
@@ -249480,6 +250873,88 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
249480
250873
|
}
|
|
249481
250874
|
}
|
|
249482
250875
|
},
|
|
250876
|
+
{
|
|
250877
|
+
"name": "withDefaultContext",
|
|
250878
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts",
|
|
250879
|
+
"description": "",
|
|
250880
|
+
"declarations": [
|
|
250881
|
+
{
|
|
250882
|
+
"name": "withDefaultContext",
|
|
250883
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts"
|
|
250884
|
+
}
|
|
250885
|
+
],
|
|
250886
|
+
"tags": {},
|
|
250887
|
+
"type": {
|
|
250888
|
+
"kind": "function",
|
|
250889
|
+
"typeParameters": [
|
|
250890
|
+
{
|
|
250891
|
+
"kind": "typeParameter",
|
|
250892
|
+
"name": "T",
|
|
250893
|
+
"constraint": {
|
|
250894
|
+
"kind": "symbol",
|
|
250895
|
+
"name": "TransformerContext",
|
|
250896
|
+
"value": "TransformerContext"
|
|
250897
|
+
},
|
|
250898
|
+
"required": true
|
|
250899
|
+
}
|
|
250900
|
+
],
|
|
250901
|
+
"parameters": [
|
|
250902
|
+
{
|
|
250903
|
+
"kind": "parameter",
|
|
250904
|
+
"name": "checker",
|
|
250905
|
+
"type": {
|
|
250906
|
+
"kind": "symbol",
|
|
250907
|
+
"name": "ts.TypeChecker",
|
|
250908
|
+
"value": "TypeChecker"
|
|
250909
|
+
},
|
|
250910
|
+
"required": true,
|
|
250911
|
+
"rest": false,
|
|
250912
|
+
"description": "",
|
|
250913
|
+
"declarations": [
|
|
250914
|
+
{
|
|
250915
|
+
"name": "checker",
|
|
250916
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts"
|
|
250917
|
+
}
|
|
250918
|
+
],
|
|
250919
|
+
"tags": {}
|
|
250920
|
+
},
|
|
250921
|
+
{
|
|
250922
|
+
"kind": "parameter",
|
|
250923
|
+
"name": "input",
|
|
250924
|
+
"defaultValue": {
|
|
250925
|
+
"kind": "object",
|
|
250926
|
+
"properties": []
|
|
250927
|
+
},
|
|
250928
|
+
"type": {
|
|
250929
|
+
"kind": "symbol",
|
|
250930
|
+
"name": "Partial",
|
|
250931
|
+
"typeParameters": [
|
|
250932
|
+
{
|
|
250933
|
+
"kind": "generic",
|
|
250934
|
+
"name": "T"
|
|
250935
|
+
}
|
|
250936
|
+
],
|
|
250937
|
+
"value": "Partial<T>"
|
|
250938
|
+
},
|
|
250939
|
+
"required": false,
|
|
250940
|
+
"rest": false,
|
|
250941
|
+
"description": "",
|
|
250942
|
+
"declarations": [
|
|
250943
|
+
{
|
|
250944
|
+
"name": "input",
|
|
250945
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts"
|
|
250946
|
+
}
|
|
250947
|
+
],
|
|
250948
|
+
"tags": {}
|
|
250949
|
+
}
|
|
250950
|
+
],
|
|
250951
|
+
"members": [],
|
|
250952
|
+
"returnType": {
|
|
250953
|
+
"kind": "generic",
|
|
250954
|
+
"name": "T"
|
|
250955
|
+
}
|
|
250956
|
+
}
|
|
250957
|
+
},
|
|
249483
250958
|
{
|
|
249484
250959
|
"name": "transform",
|
|
249485
250960
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts",
|
|
@@ -249516,11 +250991,15 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
249516
250991
|
{
|
|
249517
250992
|
"kind": "parameter",
|
|
249518
250993
|
"name": "fileName",
|
|
250994
|
+
"defaultValue": {
|
|
250995
|
+
"kind": "string",
|
|
250996
|
+
"value": "test.ts"
|
|
250997
|
+
},
|
|
249519
250998
|
"type": {
|
|
249520
250999
|
"kind": "primitive",
|
|
249521
251000
|
"value": "string"
|
|
249522
251001
|
},
|
|
249523
|
-
"required":
|
|
251002
|
+
"required": false,
|
|
249524
251003
|
"rest": false,
|
|
249525
251004
|
"description": "",
|
|
249526
251005
|
"declarations": [
|
|
@@ -249565,6 +251044,59 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
249565
251044
|
}
|
|
249566
251045
|
}
|
|
249567
251046
|
},
|
|
251047
|
+
{
|
|
251048
|
+
"name": "getConfig",
|
|
251049
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts",
|
|
251050
|
+
"description": "",
|
|
251051
|
+
"declarations": [
|
|
251052
|
+
{
|
|
251053
|
+
"name": "getConfig",
|
|
251054
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts"
|
|
251055
|
+
}
|
|
251056
|
+
],
|
|
251057
|
+
"tags": {},
|
|
251058
|
+
"type": {
|
|
251059
|
+
"kind": "function",
|
|
251060
|
+
"parameters": [
|
|
251061
|
+
{
|
|
251062
|
+
"kind": "parameter",
|
|
251063
|
+
"name": "basePath",
|
|
251064
|
+
"defaultValue": {
|
|
251065
|
+
"kind": "string",
|
|
251066
|
+
"value": "."
|
|
251067
|
+
},
|
|
251068
|
+
"type": {
|
|
251069
|
+
"kind": "primitive",
|
|
251070
|
+
"value": "string"
|
|
251071
|
+
},
|
|
251072
|
+
"required": false,
|
|
251073
|
+
"rest": false,
|
|
251074
|
+
"description": "",
|
|
251075
|
+
"declarations": [
|
|
251076
|
+
{
|
|
251077
|
+
"name": "basePath",
|
|
251078
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/styleTransform.ts"
|
|
251079
|
+
}
|
|
251080
|
+
],
|
|
251081
|
+
"tags": {}
|
|
251082
|
+
}
|
|
251083
|
+
],
|
|
251084
|
+
"members": [],
|
|
251085
|
+
"returnType": {
|
|
251086
|
+
"kind": "union",
|
|
251087
|
+
"value": [
|
|
251088
|
+
{
|
|
251089
|
+
"kind": "primitive",
|
|
251090
|
+
"value": "string"
|
|
251091
|
+
},
|
|
251092
|
+
{
|
|
251093
|
+
"kind": "primitive",
|
|
251094
|
+
"value": "undefined"
|
|
251095
|
+
}
|
|
251096
|
+
]
|
|
251097
|
+
}
|
|
251098
|
+
}
|
|
251099
|
+
},
|
|
249568
251100
|
{
|
|
249569
251101
|
"name": "createStyleObjectNode",
|
|
249570
251102
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/createStyleObjectNode.ts",
|
|
@@ -249581,27 +251113,17 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
249581
251113
|
"parameters": [
|
|
249582
251114
|
{
|
|
249583
251115
|
"kind": "parameter",
|
|
249584
|
-
"name": "
|
|
251116
|
+
"name": "styles",
|
|
249585
251117
|
"type": {
|
|
249586
|
-
"kind": "
|
|
249587
|
-
"value":
|
|
249588
|
-
{
|
|
249589
|
-
"kind": "symbol",
|
|
249590
|
-
"name": "NestedStyleObject",
|
|
249591
|
-
"value": "NestedStyleObject"
|
|
249592
|
-
},
|
|
249593
|
-
{
|
|
249594
|
-
"kind": "primitive",
|
|
249595
|
-
"value": "string"
|
|
249596
|
-
}
|
|
249597
|
-
]
|
|
251118
|
+
"kind": "primitive",
|
|
251119
|
+
"value": "string"
|
|
249598
251120
|
},
|
|
249599
251121
|
"required": true,
|
|
249600
251122
|
"rest": false,
|
|
249601
251123
|
"description": "",
|
|
249602
251124
|
"declarations": [
|
|
249603
251125
|
{
|
|
249604
|
-
"name": "
|
|
251126
|
+
"name": "styles",
|
|
249605
251127
|
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/createStyleObjectNode.ts"
|
|
249606
251128
|
}
|
|
249607
251129
|
],
|
|
@@ -249635,12 +251157,12 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
249635
251157
|
}
|
|
249636
251158
|
},
|
|
249637
251159
|
{
|
|
249638
|
-
"name": "
|
|
251160
|
+
"name": "compileCSS",
|
|
249639
251161
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/createStyleObjectNode.ts",
|
|
249640
|
-
"description": "
|
|
251162
|
+
"description": "Compiles CSS using stylis. Emotion's `serializeStyles` creates an unwrapped string for cache\nstorage and it often needs to be wrapped by a CSS selector or `@keyframes`. This function does\nthis the same way Emotion does it internally.",
|
|
249641
251163
|
"declarations": [
|
|
249642
251164
|
{
|
|
249643
|
-
"name": "
|
|
251165
|
+
"name": "compileCSS",
|
|
249644
251166
|
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/createStyleObjectNode.ts"
|
|
249645
251167
|
}
|
|
249646
251168
|
],
|
|
@@ -249650,18 +251172,17 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
249650
251172
|
"parameters": [
|
|
249651
251173
|
{
|
|
249652
251174
|
"kind": "parameter",
|
|
249653
|
-
"name": "
|
|
251175
|
+
"name": "input",
|
|
249654
251176
|
"type": {
|
|
249655
|
-
"kind": "
|
|
249656
|
-
"
|
|
249657
|
-
"value": "Node"
|
|
251177
|
+
"kind": "primitive",
|
|
251178
|
+
"value": "string"
|
|
249658
251179
|
},
|
|
249659
251180
|
"required": true,
|
|
249660
251181
|
"rest": false,
|
|
249661
251182
|
"description": "",
|
|
249662
251183
|
"declarations": [
|
|
249663
251184
|
{
|
|
249664
|
-
"name": "
|
|
251185
|
+
"name": "input",
|
|
249665
251186
|
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/createStyleObjectNode.ts"
|
|
249666
251187
|
}
|
|
249667
251188
|
],
|
|
@@ -249675,6 +251196,57 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
249675
251196
|
}
|
|
249676
251197
|
}
|
|
249677
251198
|
},
|
|
251199
|
+
{
|
|
251200
|
+
"name": "serializeStyles",
|
|
251201
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/createStyleObjectNode.ts",
|
|
251202
|
+
"description": "",
|
|
251203
|
+
"declarations": [
|
|
251204
|
+
{
|
|
251205
|
+
"name": "serializeStyles",
|
|
251206
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/createStyleObjectNode.ts"
|
|
251207
|
+
}
|
|
251208
|
+
],
|
|
251209
|
+
"tags": {},
|
|
251210
|
+
"type": {
|
|
251211
|
+
"kind": "function",
|
|
251212
|
+
"parameters": [
|
|
251213
|
+
{
|
|
251214
|
+
"kind": "parameter",
|
|
251215
|
+
"name": "input",
|
|
251216
|
+
"type": {
|
|
251217
|
+
"kind": "union",
|
|
251218
|
+
"value": [
|
|
251219
|
+
{
|
|
251220
|
+
"kind": "symbol",
|
|
251221
|
+
"name": "NestedStyleObject",
|
|
251222
|
+
"value": "NestedStyleObject"
|
|
251223
|
+
},
|
|
251224
|
+
{
|
|
251225
|
+
"kind": "primitive",
|
|
251226
|
+
"value": "string"
|
|
251227
|
+
}
|
|
251228
|
+
]
|
|
251229
|
+
},
|
|
251230
|
+
"required": true,
|
|
251231
|
+
"rest": false,
|
|
251232
|
+
"description": "",
|
|
251233
|
+
"declarations": [
|
|
251234
|
+
{
|
|
251235
|
+
"name": "input",
|
|
251236
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/createStyleObjectNode.ts"
|
|
251237
|
+
}
|
|
251238
|
+
],
|
|
251239
|
+
"tags": {}
|
|
251240
|
+
}
|
|
251241
|
+
],
|
|
251242
|
+
"members": [],
|
|
251243
|
+
"returnType": {
|
|
251244
|
+
"kind": "symbol",
|
|
251245
|
+
"name": "SerializedStyles",
|
|
251246
|
+
"value": "SerializedStyles"
|
|
251247
|
+
}
|
|
251248
|
+
}
|
|
251249
|
+
},
|
|
249678
251250
|
{
|
|
249679
251251
|
"name": "getVariablesFromFiles",
|
|
249680
251252
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/getCssVariables.ts",
|
|
@@ -249858,6 +251430,25 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
249858
251430
|
}
|
|
249859
251431
|
],
|
|
249860
251432
|
"tags": {}
|
|
251433
|
+
},
|
|
251434
|
+
{
|
|
251435
|
+
"kind": "parameter",
|
|
251436
|
+
"name": "context",
|
|
251437
|
+
"type": {
|
|
251438
|
+
"kind": "symbol",
|
|
251439
|
+
"name": "TransformerContext",
|
|
251440
|
+
"value": "TransformerContext"
|
|
251441
|
+
},
|
|
251442
|
+
"required": true,
|
|
251443
|
+
"rest": false,
|
|
251444
|
+
"description": "",
|
|
251445
|
+
"declarations": [
|
|
251446
|
+
{
|
|
251447
|
+
"name": "context",
|
|
251448
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/getErrorMessage.ts"
|
|
251449
|
+
}
|
|
251450
|
+
],
|
|
251451
|
+
"tags": {}
|
|
249861
251452
|
}
|
|
249862
251453
|
],
|
|
249863
251454
|
"members": [],
|
|
@@ -250014,7 +251605,7 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
250014
251605
|
{
|
|
250015
251606
|
"name": "handleCalc",
|
|
250016
251607
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/handleCalc.ts",
|
|
250017
|
-
"description": "
|
|
251608
|
+
"description": "",
|
|
250018
251609
|
"declarations": [
|
|
250019
251610
|
{
|
|
250020
251611
|
"name": "handleCalc",
|
|
@@ -250023,9 +251614,61 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
250023
251614
|
],
|
|
250024
251615
|
"tags": {},
|
|
250025
251616
|
"type": {
|
|
250026
|
-
"kind": "
|
|
250027
|
-
"
|
|
250028
|
-
|
|
251617
|
+
"kind": "function",
|
|
251618
|
+
"parameters": [
|
|
251619
|
+
{
|
|
251620
|
+
"kind": "parameter",
|
|
251621
|
+
"name": "node",
|
|
251622
|
+
"type": {
|
|
251623
|
+
"kind": "symbol",
|
|
251624
|
+
"name": "ts.Node",
|
|
251625
|
+
"value": "Node"
|
|
251626
|
+
},
|
|
251627
|
+
"required": true,
|
|
251628
|
+
"rest": false,
|
|
251629
|
+
"description": "",
|
|
251630
|
+
"declarations": [
|
|
251631
|
+
{
|
|
251632
|
+
"name": "node",
|
|
251633
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
251634
|
+
}
|
|
251635
|
+
],
|
|
251636
|
+
"tags": {}
|
|
251637
|
+
},
|
|
251638
|
+
{
|
|
251639
|
+
"kind": "parameter",
|
|
251640
|
+
"name": "context",
|
|
251641
|
+
"type": {
|
|
251642
|
+
"kind": "symbol",
|
|
251643
|
+
"name": "TransformerContext",
|
|
251644
|
+
"value": "TransformerContext"
|
|
251645
|
+
},
|
|
251646
|
+
"required": true,
|
|
251647
|
+
"rest": false,
|
|
251648
|
+
"description": "",
|
|
251649
|
+
"declarations": [
|
|
251650
|
+
{
|
|
251651
|
+
"name": "context",
|
|
251652
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
251653
|
+
}
|
|
251654
|
+
],
|
|
251655
|
+
"tags": {}
|
|
251656
|
+
}
|
|
251657
|
+
],
|
|
251658
|
+
"members": [],
|
|
251659
|
+
"returnType": {
|
|
251660
|
+
"kind": "union",
|
|
251661
|
+
"value": [
|
|
251662
|
+
{
|
|
251663
|
+
"kind": "primitive",
|
|
251664
|
+
"value": "string"
|
|
251665
|
+
},
|
|
251666
|
+
{
|
|
251667
|
+
"kind": "primitive",
|
|
251668
|
+
"value": "void"
|
|
251669
|
+
}
|
|
251670
|
+
]
|
|
251671
|
+
}
|
|
250029
251672
|
}
|
|
250030
251673
|
},
|
|
250031
251674
|
{
|
|
@@ -250082,7 +251725,7 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
250082
251725
|
{
|
|
250083
251726
|
"name": "handleCssVar",
|
|
250084
251727
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/handleCssVar.ts",
|
|
250085
|
-
"description": "
|
|
251728
|
+
"description": "",
|
|
250086
251729
|
"declarations": [
|
|
250087
251730
|
{
|
|
250088
251731
|
"name": "handleCssVar",
|
|
@@ -250091,26 +251734,61 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
250091
251734
|
],
|
|
250092
251735
|
"tags": {},
|
|
250093
251736
|
"type": {
|
|
250094
|
-
"kind": "
|
|
250095
|
-
"
|
|
250096
|
-
|
|
250097
|
-
|
|
250098
|
-
|
|
250099
|
-
|
|
250100
|
-
|
|
250101
|
-
|
|
250102
|
-
|
|
250103
|
-
|
|
250104
|
-
|
|
250105
|
-
|
|
250106
|
-
|
|
251737
|
+
"kind": "function",
|
|
251738
|
+
"parameters": [
|
|
251739
|
+
{
|
|
251740
|
+
"kind": "parameter",
|
|
251741
|
+
"name": "node",
|
|
251742
|
+
"type": {
|
|
251743
|
+
"kind": "symbol",
|
|
251744
|
+
"name": "ts.Node",
|
|
251745
|
+
"value": "Node"
|
|
251746
|
+
},
|
|
251747
|
+
"required": true,
|
|
251748
|
+
"rest": false,
|
|
251749
|
+
"description": "",
|
|
251750
|
+
"declarations": [
|
|
251751
|
+
{
|
|
251752
|
+
"name": "node",
|
|
251753
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
251754
|
+
}
|
|
251755
|
+
],
|
|
251756
|
+
"tags": {}
|
|
251757
|
+
},
|
|
251758
|
+
{
|
|
251759
|
+
"kind": "parameter",
|
|
251760
|
+
"name": "context",
|
|
251761
|
+
"type": {
|
|
251762
|
+
"kind": "symbol",
|
|
251763
|
+
"name": "TransformerContext",
|
|
251764
|
+
"value": "TransformerContext"
|
|
251765
|
+
},
|
|
251766
|
+
"required": true,
|
|
251767
|
+
"rest": false,
|
|
251768
|
+
"description": "",
|
|
251769
|
+
"declarations": [
|
|
251770
|
+
{
|
|
251771
|
+
"name": "context",
|
|
251772
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
251773
|
+
}
|
|
251774
|
+
],
|
|
251775
|
+
"tags": {}
|
|
251776
|
+
}
|
|
251777
|
+
],
|
|
251778
|
+
"members": [],
|
|
251779
|
+
"returnType": {
|
|
251780
|
+
"kind": "union",
|
|
251781
|
+
"value": [
|
|
251782
|
+
{
|
|
251783
|
+
"kind": "primitive",
|
|
251784
|
+
"value": "string"
|
|
251785
|
+
},
|
|
251786
|
+
{
|
|
251787
|
+
"kind": "primitive",
|
|
251788
|
+
"value": "void"
|
|
251789
|
+
}
|
|
251790
|
+
]
|
|
250107
251791
|
}
|
|
250108
|
-
],
|
|
250109
|
-
"tags": {},
|
|
250110
|
-
"type": {
|
|
250111
|
-
"kind": "symbol",
|
|
250112
|
-
"name": "NodeTransformer",
|
|
250113
|
-
"value": "NodeTransformer"
|
|
250114
251792
|
}
|
|
250115
251793
|
},
|
|
250116
251794
|
{
|
|
@@ -250133,7 +251811,7 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
250133
251811
|
{
|
|
250134
251812
|
"name": "handlePx2Rem",
|
|
250135
251813
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/handlePx2Rem.ts",
|
|
250136
|
-
"description": "
|
|
251814
|
+
"description": "",
|
|
250137
251815
|
"declarations": [
|
|
250138
251816
|
{
|
|
250139
251817
|
"name": "handlePx2Rem",
|
|
@@ -250142,9 +251820,61 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
250142
251820
|
],
|
|
250143
251821
|
"tags": {},
|
|
250144
251822
|
"type": {
|
|
250145
|
-
"kind": "
|
|
250146
|
-
"
|
|
250147
|
-
|
|
251823
|
+
"kind": "function",
|
|
251824
|
+
"parameters": [
|
|
251825
|
+
{
|
|
251826
|
+
"kind": "parameter",
|
|
251827
|
+
"name": "node",
|
|
251828
|
+
"type": {
|
|
251829
|
+
"kind": "symbol",
|
|
251830
|
+
"name": "ts.Node",
|
|
251831
|
+
"value": "Node"
|
|
251832
|
+
},
|
|
251833
|
+
"required": true,
|
|
251834
|
+
"rest": false,
|
|
251835
|
+
"description": "",
|
|
251836
|
+
"declarations": [
|
|
251837
|
+
{
|
|
251838
|
+
"name": "node",
|
|
251839
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
251840
|
+
}
|
|
251841
|
+
],
|
|
251842
|
+
"tags": {}
|
|
251843
|
+
},
|
|
251844
|
+
{
|
|
251845
|
+
"kind": "parameter",
|
|
251846
|
+
"name": "context",
|
|
251847
|
+
"type": {
|
|
251848
|
+
"kind": "symbol",
|
|
251849
|
+
"name": "TransformerContext",
|
|
251850
|
+
"value": "TransformerContext"
|
|
251851
|
+
},
|
|
251852
|
+
"required": true,
|
|
251853
|
+
"rest": false,
|
|
251854
|
+
"description": "",
|
|
251855
|
+
"declarations": [
|
|
251856
|
+
{
|
|
251857
|
+
"name": "context",
|
|
251858
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
251859
|
+
}
|
|
251860
|
+
],
|
|
251861
|
+
"tags": {}
|
|
251862
|
+
}
|
|
251863
|
+
],
|
|
251864
|
+
"members": [],
|
|
251865
|
+
"returnType": {
|
|
251866
|
+
"kind": "union",
|
|
251867
|
+
"value": [
|
|
251868
|
+
{
|
|
251869
|
+
"kind": "primitive",
|
|
251870
|
+
"value": "string"
|
|
251871
|
+
},
|
|
251872
|
+
{
|
|
251873
|
+
"kind": "primitive",
|
|
251874
|
+
"value": "void"
|
|
251875
|
+
}
|
|
251876
|
+
]
|
|
251877
|
+
}
|
|
250148
251878
|
}
|
|
250149
251879
|
},
|
|
250150
251880
|
{
|
|
@@ -250307,44 +252037,6 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
250307
252037
|
}
|
|
250308
252038
|
}
|
|
250309
252039
|
},
|
|
250310
|
-
{
|
|
250311
|
-
"name": "NestedStyleObject",
|
|
250312
|
-
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/parseObjectToStaticValue.ts",
|
|
250313
|
-
"description": "",
|
|
250314
|
-
"declarations": [
|
|
250315
|
-
{
|
|
250316
|
-
"name": "NestedStyleObject",
|
|
250317
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/parseObjectToStaticValue.ts"
|
|
250318
|
-
}
|
|
250319
|
-
],
|
|
250320
|
-
"tags": {},
|
|
250321
|
-
"type": {
|
|
250322
|
-
"kind": "object",
|
|
250323
|
-
"properties": [],
|
|
250324
|
-
"indexSignature": {
|
|
250325
|
-
"kind": "indexSignature",
|
|
250326
|
-
"name": "key",
|
|
250327
|
-
"type": {
|
|
250328
|
-
"kind": "primitive",
|
|
250329
|
-
"value": "string"
|
|
250330
|
-
},
|
|
250331
|
-
"value": {
|
|
250332
|
-
"kind": "union",
|
|
250333
|
-
"value": [
|
|
250334
|
-
{
|
|
250335
|
-
"kind": "primitive",
|
|
250336
|
-
"value": "string"
|
|
250337
|
-
},
|
|
250338
|
-
{
|
|
250339
|
-
"kind": "symbol",
|
|
250340
|
-
"name": "NestedStyleObject",
|
|
250341
|
-
"value": "NestedStyleObject"
|
|
250342
|
-
}
|
|
250343
|
-
]
|
|
250344
|
-
}
|
|
250345
|
-
}
|
|
250346
|
-
}
|
|
250347
|
-
},
|
|
250348
252040
|
{
|
|
250349
252041
|
"name": "parseObjectToStaticValue",
|
|
250350
252042
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/parseObjectToStaticValue.ts",
|
|
@@ -250467,6 +252159,23 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
250467
252159
|
}
|
|
250468
252160
|
}
|
|
250469
252161
|
},
|
|
252162
|
+
{
|
|
252163
|
+
"name": "prettyStringify",
|
|
252164
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/stylisFns.ts",
|
|
252165
|
+
"description": "",
|
|
252166
|
+
"declarations": [
|
|
252167
|
+
{
|
|
252168
|
+
"name": "prettyStringify",
|
|
252169
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/stylisFns.ts"
|
|
252170
|
+
}
|
|
252171
|
+
],
|
|
252172
|
+
"tags": {},
|
|
252173
|
+
"type": {
|
|
252174
|
+
"kind": "symbol",
|
|
252175
|
+
"name": "Middleware",
|
|
252176
|
+
"value": "Middleware"
|
|
252177
|
+
}
|
|
252178
|
+
},
|
|
250470
252179
|
{
|
|
250471
252180
|
"name": "TransformerContext",
|
|
250472
252181
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts",
|
|
@@ -250571,10 +252280,166 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
250571
252280
|
}
|
|
250572
252281
|
],
|
|
250573
252282
|
"tags": {}
|
|
252283
|
+
},
|
|
252284
|
+
{
|
|
252285
|
+
"kind": "property",
|
|
252286
|
+
"name": "styles",
|
|
252287
|
+
"required": true,
|
|
252288
|
+
"type": {
|
|
252289
|
+
"kind": "symbol",
|
|
252290
|
+
"name": "StylesOutput",
|
|
252291
|
+
"value": "StylesOutput"
|
|
252292
|
+
},
|
|
252293
|
+
"description": "",
|
|
252294
|
+
"declarations": [
|
|
252295
|
+
{
|
|
252296
|
+
"name": "styles",
|
|
252297
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
252298
|
+
}
|
|
252299
|
+
],
|
|
252300
|
+
"tags": {}
|
|
252301
|
+
},
|
|
252302
|
+
{
|
|
252303
|
+
"kind": "property",
|
|
252304
|
+
"name": "getFileName",
|
|
252305
|
+
"required": true,
|
|
252306
|
+
"type": {
|
|
252307
|
+
"kind": "function",
|
|
252308
|
+
"parameters": [
|
|
252309
|
+
{
|
|
252310
|
+
"kind": "parameter",
|
|
252311
|
+
"name": "path",
|
|
252312
|
+
"type": {
|
|
252313
|
+
"kind": "primitive",
|
|
252314
|
+
"value": "string"
|
|
252315
|
+
},
|
|
252316
|
+
"required": true,
|
|
252317
|
+
"rest": false,
|
|
252318
|
+
"description": "",
|
|
252319
|
+
"declarations": [
|
|
252320
|
+
{
|
|
252321
|
+
"name": "path",
|
|
252322
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
252323
|
+
}
|
|
252324
|
+
],
|
|
252325
|
+
"tags": {}
|
|
252326
|
+
}
|
|
252327
|
+
],
|
|
252328
|
+
"members": [],
|
|
252329
|
+
"returnType": {
|
|
252330
|
+
"kind": "primitive",
|
|
252331
|
+
"value": "string"
|
|
252332
|
+
}
|
|
252333
|
+
},
|
|
252334
|
+
"description": "",
|
|
252335
|
+
"declarations": [
|
|
252336
|
+
{
|
|
252337
|
+
"name": "getFileName",
|
|
252338
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
252339
|
+
}
|
|
252340
|
+
],
|
|
252341
|
+
"tags": {}
|
|
252342
|
+
},
|
|
252343
|
+
{
|
|
252344
|
+
"kind": "property",
|
|
252345
|
+
"name": "objectTransforms",
|
|
252346
|
+
"required": true,
|
|
252347
|
+
"type": {
|
|
252348
|
+
"kind": "array",
|
|
252349
|
+
"value": {
|
|
252350
|
+
"kind": "symbol",
|
|
252351
|
+
"name": "ObjectTransform",
|
|
252352
|
+
"value": "ObjectTransform"
|
|
252353
|
+
}
|
|
252354
|
+
},
|
|
252355
|
+
"description": "",
|
|
252356
|
+
"declarations": [
|
|
252357
|
+
{
|
|
252358
|
+
"name": "objectTransforms",
|
|
252359
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
252360
|
+
}
|
|
252361
|
+
],
|
|
252362
|
+
"tags": {}
|
|
252363
|
+
},
|
|
252364
|
+
{
|
|
252365
|
+
"kind": "property",
|
|
252366
|
+
"name": "propertyTransforms",
|
|
252367
|
+
"required": true,
|
|
252368
|
+
"type": {
|
|
252369
|
+
"kind": "array",
|
|
252370
|
+
"value": {
|
|
252371
|
+
"kind": "symbol",
|
|
252372
|
+
"name": "PropertyTransform",
|
|
252373
|
+
"value": "PropertyTransform"
|
|
252374
|
+
}
|
|
252375
|
+
},
|
|
252376
|
+
"description": "",
|
|
252377
|
+
"declarations": [
|
|
252378
|
+
{
|
|
252379
|
+
"name": "propertyTransforms",
|
|
252380
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
252381
|
+
}
|
|
252382
|
+
],
|
|
252383
|
+
"tags": {}
|
|
252384
|
+
},
|
|
252385
|
+
{
|
|
252386
|
+
"kind": "property",
|
|
252387
|
+
"name": "fileName",
|
|
252388
|
+
"required": true,
|
|
252389
|
+
"type": {
|
|
252390
|
+
"kind": "primitive",
|
|
252391
|
+
"value": "string"
|
|
252392
|
+
},
|
|
252393
|
+
"description": "",
|
|
252394
|
+
"declarations": [
|
|
252395
|
+
{
|
|
252396
|
+
"name": "fileName",
|
|
252397
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
252398
|
+
}
|
|
252399
|
+
],
|
|
252400
|
+
"tags": {}
|
|
250574
252401
|
}
|
|
250575
252402
|
]
|
|
250576
252403
|
}
|
|
250577
252404
|
},
|
|
252405
|
+
{
|
|
252406
|
+
"name": "NestedStyleObject",
|
|
252407
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts",
|
|
252408
|
+
"description": "",
|
|
252409
|
+
"declarations": [
|
|
252410
|
+
{
|
|
252411
|
+
"name": "NestedStyleObject",
|
|
252412
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
252413
|
+
}
|
|
252414
|
+
],
|
|
252415
|
+
"tags": {},
|
|
252416
|
+
"type": {
|
|
252417
|
+
"kind": "object",
|
|
252418
|
+
"properties": [],
|
|
252419
|
+
"indexSignature": {
|
|
252420
|
+
"kind": "indexSignature",
|
|
252421
|
+
"name": "key",
|
|
252422
|
+
"type": {
|
|
252423
|
+
"kind": "primitive",
|
|
252424
|
+
"value": "string"
|
|
252425
|
+
},
|
|
252426
|
+
"value": {
|
|
252427
|
+
"kind": "union",
|
|
252428
|
+
"value": [
|
|
252429
|
+
{
|
|
252430
|
+
"kind": "primitive",
|
|
252431
|
+
"value": "string"
|
|
252432
|
+
},
|
|
252433
|
+
{
|
|
252434
|
+
"kind": "symbol",
|
|
252435
|
+
"name": "NestedStyleObject",
|
|
252436
|
+
"value": "NestedStyleObject"
|
|
252437
|
+
}
|
|
252438
|
+
]
|
|
252439
|
+
}
|
|
252440
|
+
}
|
|
252441
|
+
}
|
|
252442
|
+
},
|
|
250578
252443
|
{
|
|
250579
252444
|
"name": "NodeTransformer",
|
|
250580
252445
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts",
|
|
@@ -250649,6 +252514,345 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
250649
252514
|
}
|
|
250650
252515
|
}
|
|
250651
252516
|
},
|
|
252517
|
+
{
|
|
252518
|
+
"name": "StylesOutput",
|
|
252519
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts",
|
|
252520
|
+
"description": "Used to collect styles. The format will be:\n\n```js\n{\n '/absolute/file/name': [\n '.styles-1 { ... }'\n ]\n}\n```",
|
|
252521
|
+
"declarations": [
|
|
252522
|
+
{
|
|
252523
|
+
"name": "StylesOutput",
|
|
252524
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
252525
|
+
}
|
|
252526
|
+
],
|
|
252527
|
+
"tags": {},
|
|
252528
|
+
"type": {
|
|
252529
|
+
"kind": "type",
|
|
252530
|
+
"typeParameters": [],
|
|
252531
|
+
"value": {
|
|
252532
|
+
"kind": "external",
|
|
252533
|
+
"name": "Record",
|
|
252534
|
+
"url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type",
|
|
252535
|
+
"typeParameters": [
|
|
252536
|
+
{
|
|
252537
|
+
"kind": "primitive",
|
|
252538
|
+
"value": "string"
|
|
252539
|
+
},
|
|
252540
|
+
{
|
|
252541
|
+
"kind": "array",
|
|
252542
|
+
"value": {
|
|
252543
|
+
"kind": "primitive",
|
|
252544
|
+
"value": "string"
|
|
252545
|
+
}
|
|
252546
|
+
}
|
|
252547
|
+
]
|
|
252548
|
+
}
|
|
252549
|
+
}
|
|
252550
|
+
},
|
|
252551
|
+
{
|
|
252552
|
+
"name": "Config",
|
|
252553
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts",
|
|
252554
|
+
"description": "",
|
|
252555
|
+
"declarations": [
|
|
252556
|
+
{
|
|
252557
|
+
"name": "Config",
|
|
252558
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
252559
|
+
}
|
|
252560
|
+
],
|
|
252561
|
+
"tags": {},
|
|
252562
|
+
"type": {
|
|
252563
|
+
"kind": "object",
|
|
252564
|
+
"properties": [
|
|
252565
|
+
{
|
|
252566
|
+
"kind": "property",
|
|
252567
|
+
"name": "prefix",
|
|
252568
|
+
"required": false,
|
|
252569
|
+
"type": {
|
|
252570
|
+
"kind": "primitive",
|
|
252571
|
+
"value": "string"
|
|
252572
|
+
},
|
|
252573
|
+
"description": "The prefix for all CSS class names and variables. This should be something short and\ndistinguish your CSS class names from others on the page.",
|
|
252574
|
+
"declarations": [
|
|
252575
|
+
{
|
|
252576
|
+
"name": "prefix",
|
|
252577
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
252578
|
+
}
|
|
252579
|
+
],
|
|
252580
|
+
"tags": {}
|
|
252581
|
+
},
|
|
252582
|
+
{
|
|
252583
|
+
"kind": "property",
|
|
252584
|
+
"name": "fallbackFiles",
|
|
252585
|
+
"required": false,
|
|
252586
|
+
"type": {
|
|
252587
|
+
"kind": "array",
|
|
252588
|
+
"value": {
|
|
252589
|
+
"kind": "primitive",
|
|
252590
|
+
"value": "string"
|
|
252591
|
+
}
|
|
252592
|
+
},
|
|
252593
|
+
"description": "If you wish to automatically include CSS variable fallbacks, you can provide paths to CSS files\nthat contain CSS variables. Fallbacks are useful if you expect your CSS to be loaded in an\nenvironment that might not include these CSS files. An example might be Storybook or other dev\nenvironments where you want your CSS to look good even in these environments. Fallbacks make\nbigger files because fallbacks are embedded.\n\nFor example:\n```ts\nconst myComponent = createStyles({\n color: '--primary-color-100'\n})\n```\n\nIf you provide a fallback file that defines `--primary-color-100`, the fallback will be\ninlined:\n```css\n// without\n.my-component{color:var(--primary-color-100);}\n\n// with fallback\n.my-component{color:var(--primary-color-100,#0000ff);}\n```\n\nThe benefit is your CSS will work even without the files that define all your global CSS\nvariables.",
|
|
252594
|
+
"declarations": [
|
|
252595
|
+
{
|
|
252596
|
+
"name": "fallbackFiles",
|
|
252597
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
252598
|
+
}
|
|
252599
|
+
],
|
|
252600
|
+
"tags": {}
|
|
252601
|
+
},
|
|
252602
|
+
{
|
|
252603
|
+
"kind": "property",
|
|
252604
|
+
"name": "additionalTransforms",
|
|
252605
|
+
"required": false,
|
|
252606
|
+
"type": {
|
|
252607
|
+
"kind": "array",
|
|
252608
|
+
"value": {
|
|
252609
|
+
"kind": "symbol",
|
|
252610
|
+
"name": "NodeTransformer",
|
|
252611
|
+
"value": "NodeTransformer"
|
|
252612
|
+
}
|
|
252613
|
+
},
|
|
252614
|
+
"description": "Optional additional transforms. A transform takes an AST node and optionally returns a new AST\nnode. This is useful if your source files use custom utility functions. The style\ntransformation process must receive static strings while reading your source files. The base\ntransformers handle all style utilities provided by `@workday/canvas-kit-styling`, but you may\nuse more. The transformer makes use of TypeScript's type checker to extract a static types out\nof variables, but will throw errors if it finds a generic type like `string` or `number`. If\nyou get these errors and the error points to a function, maybe you need an additional\ntransformer to understand the code. Some simple examples from `@workday/canvas-kit-styling` are\n`px2rem` and `calc.*`. Those have special handlers that are allowed to return new AST nodes\nthat can be further processed. You can return `NumericLiteral`, `StringLiteral`, or\n`TemplateExpression` AST nodes. You can see `handlePx2Rem` and `handleCalc` transformers as\nexamples as well as associated tests.\n\nTransforms are called using the visitor pattern. The order is innermost to outermost of the\nAST. This means if you have a special utility function used to return a style property, it will\nbe called before the `createStyles` or `createStencils` is called.\n\nhttps://ts-ast-viewer.com/#code/MYewdgzgLgBAtgTwMIjgB3AUzLAvDYAJ0wEMpMBlKBAG0wgAoBvAKBhjRIBMuBLMAOYAuGAMxQACtz6CGAcgAeNOQEoWAXxVA\n```ts\nconst myComponent = createStyles({\n padding: getPadding('xl')\n})\n```\n\nIn this example, your transform will be called with `'xl'`, `getPadding`, the `padding`\nPropertyAssignment, `createStyles`, then variable declarations for `myComponent`. You must\ncreate your own filters for each AST node so you only transform the correct nodes. You can\nvisit ts-ast-viewer.com to see the AST and types. You can also use the factory creator to\nreturn new AST.",
|
|
252615
|
+
"declarations": [
|
|
252616
|
+
{
|
|
252617
|
+
"name": "additionalTransforms",
|
|
252618
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
252619
|
+
}
|
|
252620
|
+
],
|
|
252621
|
+
"tags": {}
|
|
252622
|
+
},
|
|
252623
|
+
{
|
|
252624
|
+
"kind": "property",
|
|
252625
|
+
"name": "getFileName",
|
|
252626
|
+
"required": false,
|
|
252627
|
+
"type": {
|
|
252628
|
+
"kind": "function",
|
|
252629
|
+
"parameters": [
|
|
252630
|
+
{
|
|
252631
|
+
"kind": "parameter",
|
|
252632
|
+
"name": "path",
|
|
252633
|
+
"type": {
|
|
252634
|
+
"kind": "primitive",
|
|
252635
|
+
"value": "string"
|
|
252636
|
+
},
|
|
252637
|
+
"required": true,
|
|
252638
|
+
"rest": false,
|
|
252639
|
+
"description": "",
|
|
252640
|
+
"declarations": [
|
|
252641
|
+
{
|
|
252642
|
+
"name": "path",
|
|
252643
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
252644
|
+
}
|
|
252645
|
+
],
|
|
252646
|
+
"tags": {}
|
|
252647
|
+
}
|
|
252648
|
+
],
|
|
252649
|
+
"members": [],
|
|
252650
|
+
"returnType": {
|
|
252651
|
+
"kind": "primitive",
|
|
252652
|
+
"value": "string"
|
|
252653
|
+
}
|
|
252654
|
+
},
|
|
252655
|
+
"description": "This will be called every time a style or keyframe needs to be injected into extracted style\nfiles. By default, the file name will be the current file with the `.tsx` replaced with a\n`.css`. If you wish to move or combine styles into a file, provide a custom `getFileName`. You\ncan return the same file path for multiple sources. If the same file is used (maybe always\nreturning `index.css`), new styles will be appended to the end of the file.",
|
|
252656
|
+
"declarations": [
|
|
252657
|
+
{
|
|
252658
|
+
"name": "getFileName",
|
|
252659
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
252660
|
+
}
|
|
252661
|
+
],
|
|
252662
|
+
"tags": {}
|
|
252663
|
+
},
|
|
252664
|
+
{
|
|
252665
|
+
"kind": "property",
|
|
252666
|
+
"name": "objectTransforms",
|
|
252667
|
+
"required": false,
|
|
252668
|
+
"type": {
|
|
252669
|
+
"kind": "array",
|
|
252670
|
+
"value": {
|
|
252671
|
+
"kind": "symbol",
|
|
252672
|
+
"name": "ObjectTransform",
|
|
252673
|
+
"value": "ObjectTransform"
|
|
252674
|
+
}
|
|
252675
|
+
},
|
|
252676
|
+
"description": "Object transforms take an AST node that represents a style object and turn it into a\n`NestedStyleObject` or return `void`. If an object transform returns an object, transformation\nparsing stops on that node. If `void` is returned, processing continues using\n`parseObjectToStaticValue`. These transforms are useful if you have custom utility functions\nthat are not statically parsable by the static styling transformer.",
|
|
252677
|
+
"declarations": [
|
|
252678
|
+
{
|
|
252679
|
+
"name": "objectTransforms",
|
|
252680
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
252681
|
+
}
|
|
252682
|
+
],
|
|
252683
|
+
"tags": {}
|
|
252684
|
+
},
|
|
252685
|
+
{
|
|
252686
|
+
"kind": "property",
|
|
252687
|
+
"name": "propertyTransforms",
|
|
252688
|
+
"required": false,
|
|
252689
|
+
"type": {
|
|
252690
|
+
"kind": "array",
|
|
252691
|
+
"value": {
|
|
252692
|
+
"kind": "symbol",
|
|
252693
|
+
"name": "PropertyTransform",
|
|
252694
|
+
"value": "PropertyTransform"
|
|
252695
|
+
}
|
|
252696
|
+
},
|
|
252697
|
+
"description": "",
|
|
252698
|
+
"declarations": [
|
|
252699
|
+
{
|
|
252700
|
+
"name": "propertyTransforms",
|
|
252701
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
252702
|
+
}
|
|
252703
|
+
],
|
|
252704
|
+
"tags": {}
|
|
252705
|
+
}
|
|
252706
|
+
]
|
|
252707
|
+
}
|
|
252708
|
+
},
|
|
252709
|
+
{
|
|
252710
|
+
"name": "ObjectTransform",
|
|
252711
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts",
|
|
252712
|
+
"description": "",
|
|
252713
|
+
"declarations": [
|
|
252714
|
+
{
|
|
252715
|
+
"name": "ObjectTransform",
|
|
252716
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
252717
|
+
}
|
|
252718
|
+
],
|
|
252719
|
+
"tags": {},
|
|
252720
|
+
"type": {
|
|
252721
|
+
"kind": "type",
|
|
252722
|
+
"typeParameters": [],
|
|
252723
|
+
"value": {
|
|
252724
|
+
"kind": "function",
|
|
252725
|
+
"parameters": [
|
|
252726
|
+
{
|
|
252727
|
+
"kind": "parameter",
|
|
252728
|
+
"name": "node",
|
|
252729
|
+
"type": {
|
|
252730
|
+
"kind": "symbol",
|
|
252731
|
+
"name": "ts.Node",
|
|
252732
|
+
"value": "Node"
|
|
252733
|
+
},
|
|
252734
|
+
"required": true,
|
|
252735
|
+
"rest": false,
|
|
252736
|
+
"description": "",
|
|
252737
|
+
"declarations": [
|
|
252738
|
+
{
|
|
252739
|
+
"name": "node",
|
|
252740
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
252741
|
+
}
|
|
252742
|
+
],
|
|
252743
|
+
"tags": {}
|
|
252744
|
+
},
|
|
252745
|
+
{
|
|
252746
|
+
"kind": "parameter",
|
|
252747
|
+
"name": "context",
|
|
252748
|
+
"type": {
|
|
252749
|
+
"kind": "symbol",
|
|
252750
|
+
"name": "TransformerContext",
|
|
252751
|
+
"value": "TransformerContext"
|
|
252752
|
+
},
|
|
252753
|
+
"required": true,
|
|
252754
|
+
"rest": false,
|
|
252755
|
+
"description": "",
|
|
252756
|
+
"declarations": [
|
|
252757
|
+
{
|
|
252758
|
+
"name": "context",
|
|
252759
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
252760
|
+
}
|
|
252761
|
+
],
|
|
252762
|
+
"tags": {}
|
|
252763
|
+
}
|
|
252764
|
+
],
|
|
252765
|
+
"members": [],
|
|
252766
|
+
"returnType": {
|
|
252767
|
+
"kind": "union",
|
|
252768
|
+
"value": [
|
|
252769
|
+
{
|
|
252770
|
+
"kind": "symbol",
|
|
252771
|
+
"name": "NestedStyleObject",
|
|
252772
|
+
"value": "NestedStyleObject"
|
|
252773
|
+
},
|
|
252774
|
+
{
|
|
252775
|
+
"kind": "primitive",
|
|
252776
|
+
"value": "void"
|
|
252777
|
+
}
|
|
252778
|
+
]
|
|
252779
|
+
}
|
|
252780
|
+
}
|
|
252781
|
+
}
|
|
252782
|
+
},
|
|
252783
|
+
{
|
|
252784
|
+
"name": "PropertyTransform",
|
|
252785
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts",
|
|
252786
|
+
"description": "",
|
|
252787
|
+
"declarations": [
|
|
252788
|
+
{
|
|
252789
|
+
"name": "PropertyTransform",
|
|
252790
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
252791
|
+
}
|
|
252792
|
+
],
|
|
252793
|
+
"tags": {},
|
|
252794
|
+
"type": {
|
|
252795
|
+
"kind": "type",
|
|
252796
|
+
"typeParameters": [],
|
|
252797
|
+
"value": {
|
|
252798
|
+
"kind": "function",
|
|
252799
|
+
"parameters": [
|
|
252800
|
+
{
|
|
252801
|
+
"kind": "parameter",
|
|
252802
|
+
"name": "node",
|
|
252803
|
+
"type": {
|
|
252804
|
+
"kind": "symbol",
|
|
252805
|
+
"name": "ts.Node",
|
|
252806
|
+
"value": "Node"
|
|
252807
|
+
},
|
|
252808
|
+
"required": true,
|
|
252809
|
+
"rest": false,
|
|
252810
|
+
"description": "",
|
|
252811
|
+
"declarations": [
|
|
252812
|
+
{
|
|
252813
|
+
"name": "node",
|
|
252814
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
252815
|
+
}
|
|
252816
|
+
],
|
|
252817
|
+
"tags": {}
|
|
252818
|
+
},
|
|
252819
|
+
{
|
|
252820
|
+
"kind": "parameter",
|
|
252821
|
+
"name": "context",
|
|
252822
|
+
"type": {
|
|
252823
|
+
"kind": "symbol",
|
|
252824
|
+
"name": "TransformerContext",
|
|
252825
|
+
"value": "TransformerContext"
|
|
252826
|
+
},
|
|
252827
|
+
"required": true,
|
|
252828
|
+
"rest": false,
|
|
252829
|
+
"description": "",
|
|
252830
|
+
"declarations": [
|
|
252831
|
+
{
|
|
252832
|
+
"name": "context",
|
|
252833
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling-transform/lib/utils/types.ts"
|
|
252834
|
+
}
|
|
252835
|
+
],
|
|
252836
|
+
"tags": {}
|
|
252837
|
+
}
|
|
252838
|
+
],
|
|
252839
|
+
"members": [],
|
|
252840
|
+
"returnType": {
|
|
252841
|
+
"kind": "union",
|
|
252842
|
+
"value": [
|
|
252843
|
+
{
|
|
252844
|
+
"kind": "primitive",
|
|
252845
|
+
"value": "string"
|
|
252846
|
+
},
|
|
252847
|
+
{
|
|
252848
|
+
"kind": "primitive",
|
|
252849
|
+
"value": "void"
|
|
252850
|
+
}
|
|
252851
|
+
]
|
|
252852
|
+
}
|
|
252853
|
+
}
|
|
252854
|
+
}
|
|
252855
|
+
},
|
|
250652
252856
|
{
|
|
250653
252857
|
"name": "calc",
|
|
250654
252858
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/lib/calc.ts",
|