@workday/canvas-kit-docs 14.0.0-alpha.1125-next.0 → 14.0.0-alpha.1126-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 +1775 -482
- package/dist/mdx/14.0-UPGRADE-GUIDE.mdx +7 -5
- package/package.json +6 -6
package/dist/es6/lib/docs.js
CHANGED
|
@@ -59341,470 +59341,1861 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
59341
59341
|
}
|
|
59342
59342
|
},
|
|
59343
59343
|
{
|
|
59344
|
-
"name": "
|
|
59344
|
+
"name": "segmentedControlItemStencil",
|
|
59345
59345
|
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/segmented-control/lib/SegmentedControlItem.tsx",
|
|
59346
59346
|
"description": "",
|
|
59347
59347
|
"declarations": [
|
|
59348
59348
|
{
|
|
59349
|
-
"name": "
|
|
59349
|
+
"name": "segmentedControlItemStencil",
|
|
59350
59350
|
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/segmented-control/lib/SegmentedControlItem.tsx"
|
|
59351
59351
|
}
|
|
59352
59352
|
],
|
|
59353
59353
|
"tags": {},
|
|
59354
59354
|
"type": {
|
|
59355
|
-
"kind": "
|
|
59356
|
-
"
|
|
59357
|
-
"elemPropsHook": "useSegmentedControlItem",
|
|
59358
|
-
"displayName": "SegmentedControl.Item",
|
|
59359
|
-
"props": [
|
|
59360
|
-
{
|
|
59361
|
-
"kind": "property",
|
|
59362
|
-
"name": "index",
|
|
59363
|
-
"required": false,
|
|
59364
|
-
"type": {
|
|
59365
|
-
"kind": "primitive",
|
|
59366
|
-
"value": "number"
|
|
59367
|
-
},
|
|
59368
|
-
"description": "Optionally pass index to the item. This should be done if `SegmentedControl.Item` components were created\nvia a `[Array::map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map)` function. This index will ensure keyboard navigation works even if items are\ninserted out of order.",
|
|
59369
|
-
"declarations": [
|
|
59370
|
-
{
|
|
59371
|
-
"name": "index",
|
|
59372
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/segmented-control/lib/SegmentedControlItem.tsx"
|
|
59373
|
-
}
|
|
59374
|
-
],
|
|
59375
|
-
"tags": {}
|
|
59376
|
-
},
|
|
59377
|
-
{
|
|
59378
|
-
"kind": "property",
|
|
59379
|
-
"name": "children",
|
|
59380
|
-
"required": false,
|
|
59381
|
-
"type": {
|
|
59382
|
-
"kind": "external",
|
|
59383
|
-
"name": "ReactNode",
|
|
59384
|
-
"url": "https://reactjs.org/docs/rendering-elements.html"
|
|
59385
|
-
},
|
|
59386
|
-
"description": "The contents of the item. This is text used as the accessible name of the button for screen readers.",
|
|
59387
|
-
"declarations": [
|
|
59388
|
-
{
|
|
59389
|
-
"name": "children",
|
|
59390
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/segmented-control/lib/SegmentedControlItem.tsx"
|
|
59391
|
-
}
|
|
59392
|
-
],
|
|
59393
|
-
"tags": {}
|
|
59394
|
-
},
|
|
59355
|
+
"kind": "function",
|
|
59356
|
+
"parameters": [
|
|
59395
59357
|
{
|
|
59396
|
-
"kind": "
|
|
59397
|
-
"name": "
|
|
59398
|
-
"required": false,
|
|
59358
|
+
"kind": "parameter",
|
|
59359
|
+
"name": "options",
|
|
59399
59360
|
"type": {
|
|
59400
|
-
"kind": "
|
|
59401
|
-
"
|
|
59402
|
-
|
|
59403
|
-
|
|
59404
|
-
|
|
59405
|
-
|
|
59406
|
-
|
|
59407
|
-
|
|
59361
|
+
"kind": "conditional",
|
|
59362
|
+
"check": {
|
|
59363
|
+
"kind": "tuple",
|
|
59364
|
+
"value": [
|
|
59365
|
+
{
|
|
59366
|
+
"kind": "symbol",
|
|
59367
|
+
"name": "E",
|
|
59368
|
+
"value": "E"
|
|
59369
|
+
}
|
|
59370
|
+
]
|
|
59371
|
+
},
|
|
59372
|
+
"extends": {
|
|
59373
|
+
"kind": "tuple",
|
|
59374
|
+
"value": [
|
|
59375
|
+
{
|
|
59376
|
+
"kind": "primitive",
|
|
59377
|
+
"value": "never"
|
|
59378
|
+
}
|
|
59379
|
+
]
|
|
59380
|
+
},
|
|
59381
|
+
"trueType": {
|
|
59382
|
+
"kind": "intersection",
|
|
59383
|
+
"value": [
|
|
59384
|
+
{
|
|
59385
|
+
"kind": "symbol",
|
|
59386
|
+
"name": "ModifierValuesStencil",
|
|
59387
|
+
"typeParameters": [
|
|
59388
|
+
{
|
|
59389
|
+
"kind": "symbol",
|
|
59390
|
+
"name": "M",
|
|
59391
|
+
"value": "M"
|
|
59392
|
+
},
|
|
59393
|
+
{
|
|
59394
|
+
"kind": "symbol",
|
|
59395
|
+
"name": "V",
|
|
59396
|
+
"value": "V"
|
|
59397
|
+
}
|
|
59398
|
+
],
|
|
59399
|
+
"value": "ModifierValuesStencil<M, V>"
|
|
59400
|
+
},
|
|
59401
|
+
{
|
|
59402
|
+
"kind": "symbol",
|
|
59403
|
+
"name": "VariableValuesStencil",
|
|
59404
|
+
"typeParameters": [
|
|
59405
|
+
{
|
|
59406
|
+
"kind": "symbol",
|
|
59407
|
+
"name": "V",
|
|
59408
|
+
"value": "V"
|
|
59409
|
+
}
|
|
59410
|
+
],
|
|
59411
|
+
"value": "VariableValuesStencil<V>"
|
|
59412
|
+
}
|
|
59413
|
+
]
|
|
59414
|
+
},
|
|
59415
|
+
"falseType": {
|
|
59416
|
+
"kind": "conditional",
|
|
59417
|
+
"check": {
|
|
59418
|
+
"kind": "symbol",
|
|
59419
|
+
"name": "E",
|
|
59420
|
+
"value": "E"
|
|
59421
|
+
},
|
|
59422
|
+
"extends": {
|
|
59423
|
+
"kind": "symbol",
|
|
59424
|
+
"name": "BaseStencil",
|
|
59425
|
+
"typeParameters": [
|
|
59426
|
+
{
|
|
59427
|
+
"kind": "infer",
|
|
59428
|
+
"value": {
|
|
59429
|
+
"kind": "typeParameter",
|
|
59430
|
+
"name": "ME",
|
|
59431
|
+
"required": true
|
|
59432
|
+
}
|
|
59433
|
+
},
|
|
59434
|
+
{
|
|
59435
|
+
"kind": "primitive",
|
|
59436
|
+
"value": "any"
|
|
59437
|
+
},
|
|
59438
|
+
{
|
|
59439
|
+
"kind": "infer",
|
|
59440
|
+
"value": {
|
|
59441
|
+
"kind": "typeParameter",
|
|
59442
|
+
"name": "VE",
|
|
59443
|
+
"required": true
|
|
59444
|
+
}
|
|
59445
|
+
},
|
|
59446
|
+
{
|
|
59447
|
+
"kind": "primitive",
|
|
59448
|
+
"value": "any"
|
|
59449
|
+
},
|
|
59450
|
+
{
|
|
59451
|
+
"kind": "primitive",
|
|
59452
|
+
"value": "any"
|
|
59453
|
+
}
|
|
59454
|
+
],
|
|
59455
|
+
"value": "BaseStencil<M, P, V, E, ID>"
|
|
59456
|
+
},
|
|
59457
|
+
"trueType": {
|
|
59458
|
+
"kind": "intersection",
|
|
59459
|
+
"value": [
|
|
59460
|
+
{
|
|
59461
|
+
"kind": "symbol",
|
|
59462
|
+
"name": "ModifierValuesStencil",
|
|
59463
|
+
"typeParameters": [
|
|
59464
|
+
{
|
|
59465
|
+
"kind": "intersection",
|
|
59466
|
+
"value": [
|
|
59467
|
+
{
|
|
59468
|
+
"kind": "symbol",
|
|
59469
|
+
"name": "ME",
|
|
59470
|
+
"value": "ME"
|
|
59471
|
+
},
|
|
59472
|
+
{
|
|
59473
|
+
"kind": "symbol",
|
|
59474
|
+
"name": "M",
|
|
59475
|
+
"value": "M"
|
|
59476
|
+
}
|
|
59477
|
+
]
|
|
59478
|
+
}
|
|
59479
|
+
],
|
|
59480
|
+
"value": "ModifierValuesStencil<M, V>"
|
|
59481
|
+
},
|
|
59482
|
+
{
|
|
59483
|
+
"kind": "symbol",
|
|
59484
|
+
"name": "VariableValuesStencil",
|
|
59485
|
+
"typeParameters": [
|
|
59486
|
+
{
|
|
59487
|
+
"kind": "intersection",
|
|
59488
|
+
"value": [
|
|
59489
|
+
{
|
|
59490
|
+
"kind": "symbol",
|
|
59491
|
+
"name": "VE",
|
|
59492
|
+
"value": "VE"
|
|
59493
|
+
},
|
|
59494
|
+
{
|
|
59495
|
+
"kind": "symbol",
|
|
59496
|
+
"name": "V",
|
|
59497
|
+
"value": "V"
|
|
59498
|
+
}
|
|
59499
|
+
]
|
|
59500
|
+
}
|
|
59501
|
+
],
|
|
59502
|
+
"value": "VariableValuesStencil<V>"
|
|
59503
|
+
}
|
|
59504
|
+
]
|
|
59505
|
+
},
|
|
59506
|
+
"falseType": {
|
|
59507
|
+
"kind": "primitive",
|
|
59508
|
+
"value": "never"
|
|
59509
|
+
}
|
|
59408
59510
|
}
|
|
59409
|
-
],
|
|
59410
|
-
"tags": {}
|
|
59411
|
-
},
|
|
59412
|
-
{
|
|
59413
|
-
"kind": "property",
|
|
59414
|
-
"name": "id",
|
|
59415
|
-
"required": false,
|
|
59416
|
-
"type": {
|
|
59417
|
-
"kind": "primitive",
|
|
59418
|
-
"value": "string"
|
|
59419
59511
|
},
|
|
59420
|
-
"description": "Optional id. If not set, it will inherit the ID passed to the `SegmentedControl` component and append the\nindex at the end. Only set this for advanced cases.",
|
|
59421
|
-
"declarations": [
|
|
59422
|
-
{
|
|
59423
|
-
"name": "id",
|
|
59424
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/segmented-control/lib/SegmentedControlItem.tsx"
|
|
59425
|
-
}
|
|
59426
|
-
],
|
|
59427
|
-
"tags": {}
|
|
59428
|
-
},
|
|
59429
|
-
{
|
|
59430
|
-
"kind": "property",
|
|
59431
|
-
"name": "aria-pressed",
|
|
59432
59512
|
"required": false,
|
|
59433
|
-
"
|
|
59434
|
-
|
|
59435
|
-
"value": "boolean"
|
|
59436
|
-
},
|
|
59437
|
-
"description": "Part of the ARIA specification for buttons. Lets screen readers know which button is active. This\nshould either be `true` or `false`. This is automatically set by the\ncomponent and should only be used in advanced cases.",
|
|
59513
|
+
"rest": false,
|
|
59514
|
+
"description": "",
|
|
59438
59515
|
"declarations": [
|
|
59439
59516
|
{
|
|
59440
|
-
"name": "
|
|
59441
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/
|
|
59517
|
+
"name": "options",
|
|
59518
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
59442
59519
|
}
|
|
59443
59520
|
],
|
|
59444
59521
|
"tags": {}
|
|
59445
|
-
}
|
|
59522
|
+
}
|
|
59523
|
+
],
|
|
59524
|
+
"members": [
|
|
59446
59525
|
{
|
|
59447
59526
|
"kind": "property",
|
|
59448
|
-
"name": "
|
|
59449
|
-
"required":
|
|
59527
|
+
"name": "parts",
|
|
59528
|
+
"required": true,
|
|
59450
59529
|
"type": {
|
|
59451
|
-
"kind": "
|
|
59452
|
-
"
|
|
59453
|
-
|
|
59454
|
-
|
|
59455
|
-
|
|
59456
|
-
|
|
59457
|
-
|
|
59458
|
-
|
|
59459
|
-
|
|
59530
|
+
"kind": "conditional",
|
|
59531
|
+
"check": {
|
|
59532
|
+
"kind": "tuple",
|
|
59533
|
+
"value": [
|
|
59534
|
+
{
|
|
59535
|
+
"kind": "symbol",
|
|
59536
|
+
"name": "E",
|
|
59537
|
+
"value": "E"
|
|
59538
|
+
}
|
|
59539
|
+
]
|
|
59540
|
+
},
|
|
59541
|
+
"extends": {
|
|
59542
|
+
"kind": "tuple",
|
|
59543
|
+
"value": [
|
|
59544
|
+
{
|
|
59545
|
+
"kind": "symbol",
|
|
59546
|
+
"name": "BaseStencil",
|
|
59547
|
+
"typeParameters": [
|
|
59548
|
+
{
|
|
59549
|
+
"kind": "primitive",
|
|
59550
|
+
"value": "any"
|
|
59551
|
+
},
|
|
59552
|
+
{
|
|
59553
|
+
"kind": "infer",
|
|
59554
|
+
"value": {
|
|
59555
|
+
"kind": "typeParameter",
|
|
59556
|
+
"name": "PE",
|
|
59557
|
+
"required": true
|
|
59558
|
+
}
|
|
59559
|
+
},
|
|
59560
|
+
{
|
|
59561
|
+
"kind": "primitive",
|
|
59562
|
+
"value": "any"
|
|
59563
|
+
},
|
|
59564
|
+
{
|
|
59565
|
+
"kind": "primitive",
|
|
59566
|
+
"value": "any"
|
|
59567
|
+
},
|
|
59568
|
+
{
|
|
59569
|
+
"kind": "primitive",
|
|
59570
|
+
"value": "any"
|
|
59571
|
+
}
|
|
59572
|
+
],
|
|
59573
|
+
"value": "BaseStencil<M, P, V, E, ID>"
|
|
59574
|
+
}
|
|
59575
|
+
]
|
|
59576
|
+
},
|
|
59577
|
+
"trueType": {
|
|
59578
|
+
"kind": "symbol",
|
|
59579
|
+
"name": "StencilPartProps",
|
|
59580
|
+
"typeParameters": [
|
|
59581
|
+
{
|
|
59582
|
+
"kind": "intersection",
|
|
59583
|
+
"value": [
|
|
59584
|
+
{
|
|
59585
|
+
"kind": "symbol",
|
|
59586
|
+
"name": "PE",
|
|
59587
|
+
"value": "PE"
|
|
59588
|
+
},
|
|
59589
|
+
{
|
|
59590
|
+
"kind": "symbol",
|
|
59591
|
+
"name": "P",
|
|
59592
|
+
"value": "P"
|
|
59593
|
+
}
|
|
59594
|
+
]
|
|
59595
|
+
}
|
|
59596
|
+
],
|
|
59597
|
+
"value": "StencilPartProps<T>"
|
|
59598
|
+
},
|
|
59599
|
+
"falseType": {
|
|
59600
|
+
"kind": "symbol",
|
|
59601
|
+
"name": "StencilPartProps",
|
|
59602
|
+
"typeParameters": [
|
|
59603
|
+
{
|
|
59604
|
+
"kind": "symbol",
|
|
59605
|
+
"name": "P",
|
|
59606
|
+
"value": "P"
|
|
59607
|
+
}
|
|
59608
|
+
],
|
|
59609
|
+
"value": "StencilPartProps<T>"
|
|
59610
|
+
}
|
|
59611
|
+
},
|
|
59612
|
+
"description": "",
|
|
59613
|
+
"declarations": [
|
|
59614
|
+
{
|
|
59615
|
+
"name": "parts",
|
|
59616
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
59460
59617
|
}
|
|
59461
59618
|
],
|
|
59462
59619
|
"tags": {}
|
|
59463
59620
|
},
|
|
59464
59621
|
{
|
|
59465
59622
|
"kind": "property",
|
|
59466
|
-
"name": "
|
|
59467
|
-
"required":
|
|
59623
|
+
"name": "vars",
|
|
59624
|
+
"required": true,
|
|
59468
59625
|
"type": {
|
|
59469
59626
|
"kind": "symbol",
|
|
59470
|
-
"name": "
|
|
59627
|
+
"name": "StencilDefaultVars",
|
|
59471
59628
|
"typeParameters": [
|
|
59472
59629
|
{
|
|
59473
59630
|
"kind": "symbol",
|
|
59474
|
-
"name": "
|
|
59475
|
-
"value": "
|
|
59631
|
+
"name": "V",
|
|
59632
|
+
"value": "V"
|
|
59476
59633
|
},
|
|
59477
59634
|
{
|
|
59478
|
-
"kind": "
|
|
59479
|
-
"
|
|
59635
|
+
"kind": "symbol",
|
|
59636
|
+
"name": "E",
|
|
59637
|
+
"value": "E"
|
|
59638
|
+
},
|
|
59639
|
+
{
|
|
59640
|
+
"kind": "symbol",
|
|
59641
|
+
"name": "ID",
|
|
59642
|
+
"value": "ID"
|
|
59480
59643
|
}
|
|
59481
59644
|
],
|
|
59482
|
-
"value": "
|
|
59645
|
+
"value": "StencilDefaultVars<V, E, ID>"
|
|
59483
59646
|
},
|
|
59484
|
-
"description": "
|
|
59647
|
+
"description": "",
|
|
59485
59648
|
"declarations": [
|
|
59486
59649
|
{
|
|
59487
|
-
"name": "
|
|
59488
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/
|
|
59650
|
+
"name": "vars",
|
|
59651
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
59489
59652
|
}
|
|
59490
59653
|
],
|
|
59491
59654
|
"tags": {}
|
|
59492
59655
|
},
|
|
59493
59656
|
{
|
|
59494
59657
|
"kind": "property",
|
|
59495
|
-
"name": "
|
|
59496
|
-
"required":
|
|
59658
|
+
"name": "base",
|
|
59659
|
+
"required": true,
|
|
59497
59660
|
"type": {
|
|
59498
|
-
"kind": "
|
|
59499
|
-
"
|
|
59500
|
-
"value": "ButtonColors"
|
|
59661
|
+
"kind": "primitive",
|
|
59662
|
+
"value": "string"
|
|
59501
59663
|
},
|
|
59502
|
-
"description": "
|
|
59664
|
+
"description": "",
|
|
59503
59665
|
"declarations": [
|
|
59504
59666
|
{
|
|
59505
|
-
"name": "
|
|
59506
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/
|
|
59667
|
+
"name": "base",
|
|
59668
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
59507
59669
|
}
|
|
59508
59670
|
],
|
|
59509
59671
|
"tags": {}
|
|
59510
59672
|
},
|
|
59511
59673
|
{
|
|
59512
59674
|
"kind": "property",
|
|
59513
|
-
"name": "
|
|
59514
|
-
"required":
|
|
59675
|
+
"name": "modifiers",
|
|
59676
|
+
"required": true,
|
|
59515
59677
|
"type": {
|
|
59516
|
-
"kind": "
|
|
59517
|
-
"
|
|
59518
|
-
|
|
59678
|
+
"kind": "conditional",
|
|
59679
|
+
"check": {
|
|
59680
|
+
"kind": "tuple",
|
|
59681
|
+
"value": [
|
|
59682
|
+
{
|
|
59683
|
+
"kind": "symbol",
|
|
59684
|
+
"name": "E",
|
|
59685
|
+
"value": "E"
|
|
59686
|
+
}
|
|
59687
|
+
]
|
|
59688
|
+
},
|
|
59689
|
+
"extends": {
|
|
59690
|
+
"kind": "tuple",
|
|
59691
|
+
"value": [
|
|
59692
|
+
{
|
|
59693
|
+
"kind": "symbol",
|
|
59694
|
+
"name": "BaseStencil",
|
|
59695
|
+
"typeParameters": [
|
|
59696
|
+
{
|
|
59697
|
+
"kind": "infer",
|
|
59698
|
+
"value": {
|
|
59699
|
+
"kind": "typeParameter",
|
|
59700
|
+
"name": "ME",
|
|
59701
|
+
"required": true
|
|
59702
|
+
}
|
|
59703
|
+
},
|
|
59704
|
+
{
|
|
59705
|
+
"kind": "primitive",
|
|
59706
|
+
"value": "any"
|
|
59707
|
+
},
|
|
59708
|
+
{
|
|
59709
|
+
"kind": "infer",
|
|
59710
|
+
"value": {
|
|
59711
|
+
"kind": "typeParameter",
|
|
59712
|
+
"name": "VE",
|
|
59713
|
+
"required": true
|
|
59714
|
+
}
|
|
59715
|
+
},
|
|
59716
|
+
{
|
|
59717
|
+
"kind": "primitive",
|
|
59718
|
+
"value": "any"
|
|
59719
|
+
},
|
|
59720
|
+
{
|
|
59721
|
+
"kind": "primitive",
|
|
59722
|
+
"value": "any"
|
|
59723
|
+
}
|
|
59724
|
+
],
|
|
59725
|
+
"value": "BaseStencil<M, P, V, E, ID>"
|
|
59726
|
+
}
|
|
59727
|
+
]
|
|
59728
|
+
},
|
|
59729
|
+
"trueType": {
|
|
59730
|
+
"kind": "symbol",
|
|
59731
|
+
"name": "StencilModifierReturn",
|
|
59732
|
+
"typeParameters": [
|
|
59733
|
+
{
|
|
59734
|
+
"kind": "intersection",
|
|
59735
|
+
"value": [
|
|
59736
|
+
{
|
|
59737
|
+
"kind": "symbol",
|
|
59738
|
+
"name": "ME",
|
|
59739
|
+
"value": "ME"
|
|
59740
|
+
},
|
|
59741
|
+
{
|
|
59742
|
+
"kind": "symbol",
|
|
59743
|
+
"name": "M",
|
|
59744
|
+
"value": "M"
|
|
59745
|
+
}
|
|
59746
|
+
]
|
|
59747
|
+
},
|
|
59748
|
+
{
|
|
59749
|
+
"kind": "intersection",
|
|
59750
|
+
"value": [
|
|
59751
|
+
{
|
|
59752
|
+
"kind": "symbol",
|
|
59753
|
+
"name": "VE",
|
|
59754
|
+
"value": "VE"
|
|
59755
|
+
},
|
|
59756
|
+
{
|
|
59757
|
+
"kind": "symbol",
|
|
59758
|
+
"name": "V",
|
|
59759
|
+
"value": "V"
|
|
59760
|
+
}
|
|
59761
|
+
]
|
|
59762
|
+
}
|
|
59763
|
+
],
|
|
59764
|
+
"value": "StencilModifierReturn<M, V>"
|
|
59765
|
+
},
|
|
59766
|
+
"falseType": {
|
|
59767
|
+
"kind": "symbol",
|
|
59768
|
+
"name": "StencilModifierReturn",
|
|
59769
|
+
"typeParameters": [
|
|
59770
|
+
{
|
|
59771
|
+
"kind": "symbol",
|
|
59772
|
+
"name": "M",
|
|
59773
|
+
"value": "M"
|
|
59774
|
+
},
|
|
59775
|
+
{
|
|
59776
|
+
"kind": "symbol",
|
|
59777
|
+
"name": "V",
|
|
59778
|
+
"value": "V"
|
|
59779
|
+
}
|
|
59780
|
+
],
|
|
59781
|
+
"value": "StencilModifierReturn<M, V>"
|
|
59782
|
+
}
|
|
59519
59783
|
},
|
|
59520
|
-
"description": "
|
|
59784
|
+
"description": "",
|
|
59521
59785
|
"declarations": [
|
|
59522
59786
|
{
|
|
59523
|
-
"name": "
|
|
59524
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/
|
|
59787
|
+
"name": "modifiers",
|
|
59788
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
59525
59789
|
}
|
|
59526
59790
|
],
|
|
59527
|
-
"tags": {
|
|
59528
|
-
"default": "'medium"
|
|
59529
|
-
},
|
|
59530
|
-
"defaultValue": {
|
|
59531
|
-
"kind": "symbol",
|
|
59532
|
-
"name": "'medium",
|
|
59533
|
-
"value": "'medium"
|
|
59534
|
-
}
|
|
59791
|
+
"tags": {}
|
|
59535
59792
|
},
|
|
59536
59793
|
{
|
|
59537
59794
|
"kind": "property",
|
|
59538
|
-
"name": "
|
|
59539
|
-
"required":
|
|
59795
|
+
"name": "defaultModifiers",
|
|
59796
|
+
"required": true,
|
|
59540
59797
|
"type": {
|
|
59541
|
-
"kind": "
|
|
59542
|
-
"
|
|
59798
|
+
"kind": "conditional",
|
|
59799
|
+
"check": {
|
|
59800
|
+
"kind": "tuple",
|
|
59801
|
+
"value": [
|
|
59802
|
+
{
|
|
59803
|
+
"kind": "symbol",
|
|
59804
|
+
"name": "E",
|
|
59805
|
+
"value": "E"
|
|
59806
|
+
}
|
|
59807
|
+
]
|
|
59808
|
+
},
|
|
59809
|
+
"extends": {
|
|
59810
|
+
"kind": "tuple",
|
|
59811
|
+
"value": [
|
|
59812
|
+
{
|
|
59813
|
+
"kind": "symbol",
|
|
59814
|
+
"name": "BaseStencil",
|
|
59815
|
+
"typeParameters": [
|
|
59816
|
+
{
|
|
59817
|
+
"kind": "infer",
|
|
59818
|
+
"value": {
|
|
59819
|
+
"kind": "typeParameter",
|
|
59820
|
+
"name": "ME",
|
|
59821
|
+
"required": true
|
|
59822
|
+
}
|
|
59823
|
+
},
|
|
59824
|
+
{
|
|
59825
|
+
"kind": "primitive",
|
|
59826
|
+
"value": "any"
|
|
59827
|
+
},
|
|
59828
|
+
{
|
|
59829
|
+
"kind": "primitive",
|
|
59830
|
+
"value": "any"
|
|
59831
|
+
},
|
|
59832
|
+
{
|
|
59833
|
+
"kind": "primitive",
|
|
59834
|
+
"value": "any"
|
|
59835
|
+
},
|
|
59836
|
+
{
|
|
59837
|
+
"kind": "primitive",
|
|
59838
|
+
"value": "any"
|
|
59839
|
+
}
|
|
59840
|
+
],
|
|
59841
|
+
"value": "BaseStencil<M, P, V, E, ID>"
|
|
59842
|
+
}
|
|
59843
|
+
]
|
|
59844
|
+
},
|
|
59845
|
+
"trueType": {
|
|
59846
|
+
"kind": "symbol",
|
|
59847
|
+
"name": "StencilDefaultModifierReturn",
|
|
59848
|
+
"typeParameters": [
|
|
59849
|
+
{
|
|
59850
|
+
"kind": "intersection",
|
|
59851
|
+
"value": [
|
|
59852
|
+
{
|
|
59853
|
+
"kind": "symbol",
|
|
59854
|
+
"name": "ME",
|
|
59855
|
+
"value": "ME"
|
|
59856
|
+
},
|
|
59857
|
+
{
|
|
59858
|
+
"kind": "symbol",
|
|
59859
|
+
"name": "M",
|
|
59860
|
+
"value": "M"
|
|
59861
|
+
}
|
|
59862
|
+
]
|
|
59863
|
+
}
|
|
59864
|
+
],
|
|
59865
|
+
"value": "StencilDefaultModifierReturn<M>"
|
|
59866
|
+
},
|
|
59867
|
+
"falseType": {
|
|
59868
|
+
"kind": "symbol",
|
|
59869
|
+
"name": "StencilDefaultModifierReturn",
|
|
59870
|
+
"typeParameters": [
|
|
59871
|
+
{
|
|
59872
|
+
"kind": "symbol",
|
|
59873
|
+
"name": "M",
|
|
59874
|
+
"value": "M"
|
|
59875
|
+
}
|
|
59876
|
+
],
|
|
59877
|
+
"value": "StencilDefaultModifierReturn<M>"
|
|
59878
|
+
}
|
|
59543
59879
|
},
|
|
59544
|
-
"description": "
|
|
59880
|
+
"description": "",
|
|
59545
59881
|
"declarations": [
|
|
59546
59882
|
{
|
|
59547
|
-
"name": "
|
|
59548
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/
|
|
59883
|
+
"name": "defaultModifiers",
|
|
59884
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
59549
59885
|
}
|
|
59550
59886
|
],
|
|
59551
59887
|
"tags": {}
|
|
59552
59888
|
},
|
|
59553
59889
|
{
|
|
59554
59890
|
"kind": "property",
|
|
59555
|
-
"name": "
|
|
59891
|
+
"name": "__extends",
|
|
59556
59892
|
"required": false,
|
|
59557
59893
|
"type": {
|
|
59558
59894
|
"kind": "symbol",
|
|
59559
|
-
"name": "
|
|
59560
|
-
"value": "
|
|
59895
|
+
"name": "E",
|
|
59896
|
+
"value": "E"
|
|
59561
59897
|
},
|
|
59562
|
-
"description": "
|
|
59898
|
+
"description": "",
|
|
59563
59899
|
"declarations": [
|
|
59564
59900
|
{
|
|
59565
|
-
"name": "
|
|
59566
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/
|
|
59901
|
+
"name": "__extends",
|
|
59902
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
59567
59903
|
}
|
|
59568
59904
|
],
|
|
59569
|
-
"tags": {
|
|
59570
|
-
|
|
59905
|
+
"tags": {}
|
|
59906
|
+
},
|
|
59907
|
+
{
|
|
59908
|
+
"kind": "property",
|
|
59909
|
+
"name": "__vars",
|
|
59910
|
+
"required": true,
|
|
59911
|
+
"type": {
|
|
59912
|
+
"kind": "symbol",
|
|
59913
|
+
"name": "V",
|
|
59914
|
+
"value": "V"
|
|
59571
59915
|
},
|
|
59572
|
-
"
|
|
59573
|
-
|
|
59574
|
-
|
|
59575
|
-
|
|
59916
|
+
"description": "",
|
|
59917
|
+
"declarations": [
|
|
59918
|
+
{
|
|
59919
|
+
"name": "__vars",
|
|
59920
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
59921
|
+
}
|
|
59922
|
+
],
|
|
59923
|
+
"tags": {}
|
|
59576
59924
|
},
|
|
59577
59925
|
{
|
|
59578
59926
|
"kind": "property",
|
|
59579
|
-
"name": "
|
|
59927
|
+
"name": "__modifiers",
|
|
59928
|
+
"required": true,
|
|
59929
|
+
"type": {
|
|
59930
|
+
"kind": "symbol",
|
|
59931
|
+
"name": "M",
|
|
59932
|
+
"value": "M"
|
|
59933
|
+
},
|
|
59934
|
+
"description": "",
|
|
59935
|
+
"declarations": [
|
|
59936
|
+
{
|
|
59937
|
+
"name": "__modifiers",
|
|
59938
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
59939
|
+
}
|
|
59940
|
+
],
|
|
59941
|
+
"tags": {}
|
|
59942
|
+
},
|
|
59943
|
+
{
|
|
59944
|
+
"kind": "property",
|
|
59945
|
+
"name": "__id",
|
|
59946
|
+
"required": true,
|
|
59947
|
+
"type": {
|
|
59948
|
+
"kind": "symbol",
|
|
59949
|
+
"name": "ID",
|
|
59950
|
+
"value": "ID"
|
|
59951
|
+
},
|
|
59952
|
+
"description": "",
|
|
59953
|
+
"declarations": [
|
|
59954
|
+
{
|
|
59955
|
+
"name": "__id",
|
|
59956
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
59957
|
+
}
|
|
59958
|
+
],
|
|
59959
|
+
"tags": {}
|
|
59960
|
+
},
|
|
59961
|
+
{
|
|
59962
|
+
"kind": "property",
|
|
59963
|
+
"name": "__parts",
|
|
59580
59964
|
"required": false,
|
|
59581
59965
|
"type": {
|
|
59582
|
-
"kind": "
|
|
59583
|
-
"
|
|
59966
|
+
"kind": "symbol",
|
|
59967
|
+
"name": "P",
|
|
59968
|
+
"value": "P"
|
|
59584
59969
|
},
|
|
59585
|
-
"description": "
|
|
59970
|
+
"description": "",
|
|
59586
59971
|
"declarations": [
|
|
59587
59972
|
{
|
|
59588
|
-
"name": "
|
|
59589
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/
|
|
59973
|
+
"name": "__parts",
|
|
59974
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
59975
|
+
}
|
|
59976
|
+
],
|
|
59977
|
+
"tags": {}
|
|
59978
|
+
}
|
|
59979
|
+
],
|
|
59980
|
+
"returnType": {
|
|
59981
|
+
"kind": "object",
|
|
59982
|
+
"properties": [
|
|
59983
|
+
{
|
|
59984
|
+
"kind": "property",
|
|
59985
|
+
"name": "className",
|
|
59986
|
+
"required": true,
|
|
59987
|
+
"type": {
|
|
59988
|
+
"kind": "primitive",
|
|
59989
|
+
"value": "string"
|
|
59990
|
+
},
|
|
59991
|
+
"description": "",
|
|
59992
|
+
"declarations": [
|
|
59993
|
+
{
|
|
59994
|
+
"name": "className",
|
|
59995
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
59996
|
+
}
|
|
59997
|
+
],
|
|
59998
|
+
"tags": {}
|
|
59999
|
+
},
|
|
60000
|
+
{
|
|
60001
|
+
"kind": "property",
|
|
60002
|
+
"name": "style",
|
|
60003
|
+
"required": false,
|
|
60004
|
+
"type": {
|
|
60005
|
+
"kind": "external",
|
|
60006
|
+
"name": "Record",
|
|
60007
|
+
"url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type",
|
|
60008
|
+
"typeParameters": [
|
|
60009
|
+
{
|
|
60010
|
+
"kind": "primitive",
|
|
60011
|
+
"value": "string"
|
|
60012
|
+
},
|
|
60013
|
+
{
|
|
60014
|
+
"kind": "primitive",
|
|
60015
|
+
"value": "string"
|
|
60016
|
+
}
|
|
60017
|
+
]
|
|
60018
|
+
},
|
|
60019
|
+
"description": "",
|
|
60020
|
+
"declarations": [
|
|
60021
|
+
{
|
|
60022
|
+
"name": "style",
|
|
60023
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
60024
|
+
}
|
|
60025
|
+
],
|
|
60026
|
+
"tags": {}
|
|
60027
|
+
}
|
|
60028
|
+
]
|
|
60029
|
+
}
|
|
60030
|
+
}
|
|
60031
|
+
},
|
|
60032
|
+
{
|
|
60033
|
+
"name": "SegmentedControlItem",
|
|
60034
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/segmented-control/lib/SegmentedControlItem.tsx",
|
|
60035
|
+
"description": "",
|
|
60036
|
+
"declarations": [
|
|
60037
|
+
{
|
|
60038
|
+
"name": "SegmentedControlItem",
|
|
60039
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/segmented-control/lib/SegmentedControlItem.tsx"
|
|
60040
|
+
}
|
|
60041
|
+
],
|
|
60042
|
+
"tags": {},
|
|
60043
|
+
"type": {
|
|
60044
|
+
"kind": "enhancedComponent",
|
|
60045
|
+
"componentType": "subcomponent",
|
|
60046
|
+
"elemPropsHook": "useSegmentedControlItem",
|
|
60047
|
+
"displayName": "SegmentedControl.Item",
|
|
60048
|
+
"props": [
|
|
60049
|
+
{
|
|
60050
|
+
"kind": "property",
|
|
60051
|
+
"name": "index",
|
|
60052
|
+
"required": false,
|
|
60053
|
+
"type": {
|
|
60054
|
+
"kind": "primitive",
|
|
60055
|
+
"value": "number"
|
|
60056
|
+
},
|
|
60057
|
+
"description": "Optionally pass index to the item. This should be done if `SegmentedControl.Item` components were created\nvia a `[Array::map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map)` function. This index will ensure keyboard navigation works even if items are\ninserted out of order.",
|
|
60058
|
+
"declarations": [
|
|
60059
|
+
{
|
|
60060
|
+
"name": "index",
|
|
60061
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/segmented-control/lib/SegmentedControlItem.tsx"
|
|
60062
|
+
}
|
|
60063
|
+
],
|
|
60064
|
+
"tags": {}
|
|
60065
|
+
},
|
|
60066
|
+
{
|
|
60067
|
+
"kind": "property",
|
|
60068
|
+
"name": "children",
|
|
60069
|
+
"required": false,
|
|
60070
|
+
"type": {
|
|
60071
|
+
"kind": "external",
|
|
60072
|
+
"name": "ReactNode",
|
|
60073
|
+
"url": "https://reactjs.org/docs/rendering-elements.html"
|
|
60074
|
+
},
|
|
60075
|
+
"description": "The contents of the item. This is text used as the accessible name of the button for screen readers.",
|
|
60076
|
+
"declarations": [
|
|
60077
|
+
{
|
|
60078
|
+
"name": "children",
|
|
60079
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/segmented-control/lib/SegmentedControlItem.tsx"
|
|
60080
|
+
}
|
|
60081
|
+
],
|
|
60082
|
+
"tags": {}
|
|
60083
|
+
},
|
|
60084
|
+
{
|
|
60085
|
+
"kind": "property",
|
|
60086
|
+
"name": "data-id",
|
|
60087
|
+
"required": false,
|
|
60088
|
+
"type": {
|
|
60089
|
+
"kind": "primitive",
|
|
60090
|
+
"value": "string"
|
|
60091
|
+
},
|
|
60092
|
+
"description": "The identifier of the item. This identifier will be used in change events and for `initialTab`.\nIf this property is not provided, it will default to a string representation\nof the the zero-based index of the item when it was initialized.",
|
|
60093
|
+
"declarations": [
|
|
60094
|
+
{
|
|
60095
|
+
"name": "data-id",
|
|
60096
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/segmented-control/lib/SegmentedControlItem.tsx"
|
|
60097
|
+
}
|
|
60098
|
+
],
|
|
60099
|
+
"tags": {}
|
|
60100
|
+
},
|
|
60101
|
+
{
|
|
60102
|
+
"kind": "property",
|
|
60103
|
+
"name": "id",
|
|
60104
|
+
"required": false,
|
|
60105
|
+
"type": {
|
|
60106
|
+
"kind": "primitive",
|
|
60107
|
+
"value": "string"
|
|
60108
|
+
},
|
|
60109
|
+
"description": "Optional id. If not set, it will inherit the ID passed to the `SegmentedControl` component and append the\nindex at the end. Only set this for advanced cases.",
|
|
60110
|
+
"declarations": [
|
|
60111
|
+
{
|
|
60112
|
+
"name": "id",
|
|
60113
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/segmented-control/lib/SegmentedControlItem.tsx"
|
|
60114
|
+
}
|
|
60115
|
+
],
|
|
60116
|
+
"tags": {}
|
|
60117
|
+
},
|
|
60118
|
+
{
|
|
60119
|
+
"kind": "property",
|
|
60120
|
+
"name": "aria-pressed",
|
|
60121
|
+
"required": false,
|
|
60122
|
+
"type": {
|
|
60123
|
+
"kind": "primitive",
|
|
60124
|
+
"value": "boolean"
|
|
60125
|
+
},
|
|
60126
|
+
"description": "Part of the ARIA specification for buttons. Lets screen readers know which button is active. This\nshould either be `true` or `false`. This is automatically set by the\ncomponent and should only be used in advanced cases.",
|
|
60127
|
+
"declarations": [
|
|
60128
|
+
{
|
|
60129
|
+
"name": "aria-pressed",
|
|
60130
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/segmented-control/lib/SegmentedControlItem.tsx"
|
|
60131
|
+
}
|
|
60132
|
+
],
|
|
60133
|
+
"tags": {}
|
|
60134
|
+
},
|
|
60135
|
+
{
|
|
60136
|
+
"kind": "property",
|
|
60137
|
+
"name": "icon",
|
|
60138
|
+
"required": false,
|
|
60139
|
+
"type": {
|
|
60140
|
+
"kind": "symbol",
|
|
60141
|
+
"name": "CanvasSystemIcon",
|
|
60142
|
+
"value": "CanvasSystemIcon"
|
|
60143
|
+
},
|
|
60144
|
+
"description": "The icon of the button.",
|
|
60145
|
+
"declarations": [
|
|
60146
|
+
{
|
|
60147
|
+
"name": "icon",
|
|
60148
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/segmented-control/lib/SegmentedControlItem.tsx"
|
|
60149
|
+
}
|
|
60150
|
+
],
|
|
60151
|
+
"tags": {}
|
|
60152
|
+
},
|
|
60153
|
+
{
|
|
60154
|
+
"kind": "property",
|
|
60155
|
+
"name": "tooltipProps",
|
|
60156
|
+
"required": false,
|
|
60157
|
+
"type": {
|
|
60158
|
+
"kind": "symbol",
|
|
60159
|
+
"name": "Omit",
|
|
60160
|
+
"typeParameters": [
|
|
60161
|
+
{
|
|
60162
|
+
"kind": "symbol",
|
|
60163
|
+
"name": "TooltipProps",
|
|
60164
|
+
"value": "TooltipProps"
|
|
60165
|
+
},
|
|
60166
|
+
{
|
|
60167
|
+
"kind": "string",
|
|
60168
|
+
"value": "children"
|
|
60169
|
+
}
|
|
60170
|
+
],
|
|
60171
|
+
"value": "Omit<T, K>"
|
|
60172
|
+
},
|
|
60173
|
+
"description": "Tooltip Props",
|
|
60174
|
+
"declarations": [
|
|
60175
|
+
{
|
|
60176
|
+
"name": "tooltipProps",
|
|
60177
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/segmented-control/lib/SegmentedControlItem.tsx"
|
|
60178
|
+
}
|
|
60179
|
+
],
|
|
60180
|
+
"tags": {}
|
|
60181
|
+
},
|
|
60182
|
+
{
|
|
60183
|
+
"kind": "property",
|
|
60184
|
+
"name": "colors",
|
|
60185
|
+
"required": false,
|
|
60186
|
+
"type": {
|
|
60187
|
+
"kind": "symbol",
|
|
60188
|
+
"name": "ButtonColors",
|
|
60189
|
+
"value": "ButtonColors"
|
|
60190
|
+
},
|
|
60191
|
+
"description": "Override default colors of a button. The default will depend on the button type",
|
|
60192
|
+
"declarations": [
|
|
60193
|
+
{
|
|
60194
|
+
"name": "colors",
|
|
60195
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/BaseButton.tsx"
|
|
60196
|
+
}
|
|
60197
|
+
],
|
|
60198
|
+
"tags": {}
|
|
60199
|
+
},
|
|
60200
|
+
{
|
|
60201
|
+
"kind": "property",
|
|
60202
|
+
"name": "size",
|
|
60203
|
+
"required": false,
|
|
60204
|
+
"type": {
|
|
60205
|
+
"kind": "symbol",
|
|
60206
|
+
"name": "ButtonSizes",
|
|
60207
|
+
"value": "ButtonSizes"
|
|
60208
|
+
},
|
|
60209
|
+
"description": "There are four button sizes: `extraSmall`, `small`, `medium`, and `large`.\nIf no size is provided, it will default to `medium`.",
|
|
60210
|
+
"declarations": [
|
|
60211
|
+
{
|
|
60212
|
+
"name": "size",
|
|
60213
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/BaseButton.tsx"
|
|
60214
|
+
}
|
|
60215
|
+
],
|
|
60216
|
+
"tags": {
|
|
60217
|
+
"default": "'medium"
|
|
60218
|
+
},
|
|
60219
|
+
"defaultValue": {
|
|
60220
|
+
"kind": "symbol",
|
|
60221
|
+
"name": "'medium",
|
|
60222
|
+
"value": "'medium"
|
|
60223
|
+
}
|
|
60224
|
+
},
|
|
60225
|
+
{
|
|
60226
|
+
"kind": "property",
|
|
60227
|
+
"name": "fillIcon",
|
|
60228
|
+
"required": false,
|
|
60229
|
+
"type": {
|
|
60230
|
+
"kind": "primitive",
|
|
60231
|
+
"value": "boolean"
|
|
60232
|
+
},
|
|
60233
|
+
"description": "Whether the icon should received filled (colored background layer) or regular styles.\nCorresponds to `toggled` in ToolbarIconButton",
|
|
60234
|
+
"declarations": [
|
|
60235
|
+
{
|
|
60236
|
+
"name": "fillIcon",
|
|
60237
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/BaseButton.tsx"
|
|
60238
|
+
}
|
|
60239
|
+
],
|
|
60240
|
+
"tags": {}
|
|
60241
|
+
},
|
|
60242
|
+
{
|
|
60243
|
+
"kind": "property",
|
|
60244
|
+
"name": "iconPosition",
|
|
60245
|
+
"required": false,
|
|
60246
|
+
"type": {
|
|
60247
|
+
"kind": "symbol",
|
|
60248
|
+
"name": "IconPositions",
|
|
60249
|
+
"value": "IconPositions"
|
|
60250
|
+
},
|
|
60251
|
+
"description": "Button icon positions can either be `start` or `end`.\nIf no value is provided, it defaults to `start`.",
|
|
60252
|
+
"declarations": [
|
|
60253
|
+
{
|
|
60254
|
+
"name": "iconPosition",
|
|
60255
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/BaseButton.tsx"
|
|
60256
|
+
}
|
|
60257
|
+
],
|
|
60258
|
+
"tags": {
|
|
60259
|
+
"default": "'start'"
|
|
60260
|
+
},
|
|
60261
|
+
"defaultValue": {
|
|
60262
|
+
"kind": "string",
|
|
60263
|
+
"value": "start"
|
|
60264
|
+
}
|
|
60265
|
+
},
|
|
60266
|
+
{
|
|
60267
|
+
"kind": "property",
|
|
60268
|
+
"name": "shouldMirrorIcon",
|
|
60269
|
+
"required": false,
|
|
60270
|
+
"type": {
|
|
60271
|
+
"kind": "primitive",
|
|
60272
|
+
"value": "boolean"
|
|
60273
|
+
},
|
|
60274
|
+
"description": "If set to `true`, transform the icon's x-axis to mirror the graphic",
|
|
60275
|
+
"declarations": [
|
|
60276
|
+
{
|
|
60277
|
+
"name": "shouldMirrorIcon",
|
|
60278
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/BaseButton.tsx"
|
|
60279
|
+
}
|
|
60280
|
+
],
|
|
60281
|
+
"tags": {
|
|
60282
|
+
"default": "false"
|
|
60283
|
+
},
|
|
60284
|
+
"defaultValue": {
|
|
60285
|
+
"kind": "boolean",
|
|
60286
|
+
"value": false
|
|
60287
|
+
}
|
|
60288
|
+
},
|
|
60289
|
+
{
|
|
60290
|
+
"kind": "property",
|
|
60291
|
+
"name": "accent",
|
|
60292
|
+
"required": false,
|
|
60293
|
+
"type": {
|
|
60294
|
+
"kind": "primitive",
|
|
60295
|
+
"value": "string"
|
|
60296
|
+
},
|
|
60297
|
+
"description": "The accent color of the SystemIcon. This overrides `color`.",
|
|
60298
|
+
"declarations": [
|
|
60299
|
+
{
|
|
60300
|
+
"name": "accent",
|
|
60301
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
60302
|
+
}
|
|
60303
|
+
],
|
|
60304
|
+
"tags": {}
|
|
60305
|
+
},
|
|
60306
|
+
{
|
|
60307
|
+
"kind": "property",
|
|
60308
|
+
"name": "accentHover",
|
|
60309
|
+
"required": false,
|
|
60310
|
+
"type": {
|
|
60311
|
+
"kind": "primitive",
|
|
60312
|
+
"value": "string"
|
|
60313
|
+
},
|
|
60314
|
+
"description": "The accent color of the SystemIcon on hover. This overrides `colorHover`.",
|
|
60315
|
+
"declarations": [
|
|
60316
|
+
{
|
|
60317
|
+
"name": "accentHover",
|
|
60318
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
60319
|
+
}
|
|
60320
|
+
],
|
|
60321
|
+
"tags": {
|
|
60322
|
+
"deprecated": "`accentHover` is deprecated and will be removed in a future version. Please use the following instead in your style overrides:\n```tsx\n'&:hover': {\n[systemIconStencil.vars.accent]: desiredAccentHoverColor\n}\n```"
|
|
60323
|
+
}
|
|
60324
|
+
},
|
|
60325
|
+
{
|
|
60326
|
+
"kind": "property",
|
|
60327
|
+
"name": "background",
|
|
60328
|
+
"required": false,
|
|
60329
|
+
"type": {
|
|
60330
|
+
"kind": "primitive",
|
|
60331
|
+
"value": "string"
|
|
60332
|
+
},
|
|
60333
|
+
"description": "The background color of the SystemIcon.",
|
|
60334
|
+
"declarations": [
|
|
60335
|
+
{
|
|
60336
|
+
"name": "background",
|
|
60337
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
60338
|
+
}
|
|
60339
|
+
],
|
|
60340
|
+
"tags": {
|
|
60341
|
+
"default": "transparent"
|
|
60342
|
+
},
|
|
60343
|
+
"defaultValue": {
|
|
60344
|
+
"kind": "symbol",
|
|
60345
|
+
"name": "transparent",
|
|
60346
|
+
"value": "transparent"
|
|
60347
|
+
}
|
|
60348
|
+
},
|
|
60349
|
+
{
|
|
60350
|
+
"kind": "property",
|
|
60351
|
+
"name": "backgroundHover",
|
|
60352
|
+
"required": false,
|
|
60353
|
+
"type": {
|
|
60354
|
+
"kind": "primitive",
|
|
60355
|
+
"value": "string"
|
|
60356
|
+
},
|
|
60357
|
+
"description": "The background color of the SystemIcon on hover.",
|
|
60358
|
+
"declarations": [
|
|
60359
|
+
{
|
|
60360
|
+
"name": "backgroundHover",
|
|
60361
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
60362
|
+
}
|
|
60363
|
+
],
|
|
60364
|
+
"tags": {
|
|
60365
|
+
"default": "transparent",
|
|
60366
|
+
"deprecated": "`backgroundHover` is deprecated and will be removed in a future version. Please use the following instead in your style overrides:\n```tsx\n'&:hover': {\n[systemIconStencil.vars.background]: desiredBackgroundHoverColor\n}\n```"
|
|
60367
|
+
},
|
|
60368
|
+
"defaultValue": {
|
|
60369
|
+
"kind": "symbol",
|
|
60370
|
+
"name": "transparent",
|
|
60371
|
+
"value": "transparent"
|
|
60372
|
+
}
|
|
60373
|
+
},
|
|
60374
|
+
{
|
|
60375
|
+
"kind": "property",
|
|
60376
|
+
"name": "color",
|
|
60377
|
+
"required": false,
|
|
60378
|
+
"type": {
|
|
60379
|
+
"kind": "primitive",
|
|
60380
|
+
"value": "string"
|
|
60381
|
+
},
|
|
60382
|
+
"description": "The color of the SystemIcon. This defines `accent` and `fill`. `color` may be overwritten by `accent` and `fill`.",
|
|
60383
|
+
"declarations": [
|
|
60384
|
+
{
|
|
60385
|
+
"name": "color",
|
|
60386
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
60387
|
+
}
|
|
60388
|
+
],
|
|
60389
|
+
"tags": {
|
|
60390
|
+
"default": "base.licorice200"
|
|
60391
|
+
},
|
|
60392
|
+
"defaultValue": {
|
|
60393
|
+
"kind": "symbol",
|
|
60394
|
+
"name": "base.licorice200",
|
|
60395
|
+
"value": "base.licorice200"
|
|
60396
|
+
}
|
|
60397
|
+
},
|
|
60398
|
+
{
|
|
60399
|
+
"kind": "property",
|
|
60400
|
+
"name": "colorHover",
|
|
60401
|
+
"required": false,
|
|
60402
|
+
"type": {
|
|
60403
|
+
"kind": "primitive",
|
|
60404
|
+
"value": "string"
|
|
60405
|
+
},
|
|
60406
|
+
"description": "The hover color of the SystemIcon. This defines `accentHover` and `fillHover`. `colorHover` may be overwritten by `accentHover` and `fillHover`.",
|
|
60407
|
+
"declarations": [
|
|
60408
|
+
{
|
|
60409
|
+
"name": "colorHover",
|
|
60410
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
60411
|
+
}
|
|
60412
|
+
],
|
|
60413
|
+
"tags": {
|
|
60414
|
+
"default": "base.licorice200",
|
|
60415
|
+
"deprecated": "`colorHover` is deprecated and will be removed in a future version. We have removed the default hover styles on SystemIcon. Please\nuse the following instead in your style overrides:\n```tsx\n'&:hover': {\n[systemIconStencil.vars.color]: desiredColorHoverColor\n}\n```"
|
|
60416
|
+
},
|
|
60417
|
+
"defaultValue": {
|
|
60418
|
+
"kind": "symbol",
|
|
60419
|
+
"name": "base.licorice200",
|
|
60420
|
+
"value": "base.licorice200"
|
|
60421
|
+
}
|
|
60422
|
+
},
|
|
60423
|
+
{
|
|
60424
|
+
"kind": "property",
|
|
60425
|
+
"name": "fill",
|
|
60426
|
+
"required": false,
|
|
60427
|
+
"type": {
|
|
60428
|
+
"kind": "primitive",
|
|
60429
|
+
"value": "string"
|
|
60430
|
+
},
|
|
60431
|
+
"description": "The fill color of the SystemIcon. This overrides `color`.",
|
|
60432
|
+
"declarations": [
|
|
60433
|
+
{
|
|
60434
|
+
"name": "fill",
|
|
60435
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
60436
|
+
}
|
|
60437
|
+
],
|
|
60438
|
+
"tags": {
|
|
60439
|
+
"deprecated": "`fill` is deprecated and will be removed in a future version. Please use `color` and specify `accent` color if you want `accent` to be different from `color`."
|
|
60440
|
+
}
|
|
60441
|
+
},
|
|
60442
|
+
{
|
|
60443
|
+
"kind": "property",
|
|
60444
|
+
"name": "fillHover",
|
|
60445
|
+
"required": false,
|
|
60446
|
+
"type": {
|
|
60447
|
+
"kind": "primitive",
|
|
60448
|
+
"value": "string"
|
|
60449
|
+
},
|
|
60450
|
+
"description": "The fill color of the SystemIcon on hover. This overrides `colorHover`.",
|
|
60451
|
+
"declarations": [
|
|
60452
|
+
{
|
|
60453
|
+
"name": "fillHover",
|
|
60454
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
60455
|
+
}
|
|
60456
|
+
],
|
|
60457
|
+
"tags": {
|
|
60458
|
+
"deprecated": "`fillHover` is deprecated and will be removed in a future version. Please use the following instead in your style overrides:\n```tsx\n'&:hover': {\n[systemIconStencil.vars.fill]: desiredFillHoverColor\n}\n```"
|
|
60459
|
+
}
|
|
60460
|
+
},
|
|
60461
|
+
{
|
|
60462
|
+
"kind": "property",
|
|
60463
|
+
"name": "shouldMirror",
|
|
60464
|
+
"required": false,
|
|
60465
|
+
"type": {
|
|
60466
|
+
"kind": "primitive",
|
|
60467
|
+
"value": "boolean"
|
|
60468
|
+
},
|
|
60469
|
+
"description": "If set to `true`, transform the SVG's x-axis to mirror the graphic",
|
|
60470
|
+
"declarations": [
|
|
60471
|
+
{
|
|
60472
|
+
"name": "shouldMirror",
|
|
60473
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/Svg.tsx"
|
|
60474
|
+
}
|
|
60475
|
+
],
|
|
60476
|
+
"tags": {
|
|
60477
|
+
"default": "false"
|
|
60478
|
+
},
|
|
60479
|
+
"defaultValue": {
|
|
60480
|
+
"kind": "boolean",
|
|
60481
|
+
"value": false
|
|
60482
|
+
}
|
|
60483
|
+
},
|
|
60484
|
+
{
|
|
60485
|
+
"kind": "property",
|
|
60486
|
+
"name": "cs",
|
|
60487
|
+
"required": false,
|
|
60488
|
+
"type": {
|
|
60489
|
+
"kind": "symbol",
|
|
60490
|
+
"name": "CSToPropsInput",
|
|
60491
|
+
"value": "CSToPropsInput"
|
|
60492
|
+
},
|
|
60493
|
+
"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```",
|
|
60494
|
+
"declarations": [
|
|
60495
|
+
{
|
|
60496
|
+
"name": "cs",
|
|
60497
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
60498
|
+
}
|
|
60499
|
+
],
|
|
60500
|
+
"tags": {}
|
|
60501
|
+
},
|
|
60502
|
+
{
|
|
60503
|
+
"kind": "property",
|
|
60504
|
+
"name": "grow",
|
|
60505
|
+
"required": false,
|
|
60506
|
+
"type": {
|
|
60507
|
+
"kind": "primitive",
|
|
60508
|
+
"value": "boolean"
|
|
60509
|
+
},
|
|
60510
|
+
"description": "True if the component should grow to its container's width. False otherwise.",
|
|
60511
|
+
"declarations": [
|
|
60512
|
+
{
|
|
60513
|
+
"name": "grow",
|
|
60514
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/types.ts"
|
|
60515
|
+
}
|
|
60516
|
+
],
|
|
60517
|
+
"tags": {}
|
|
60518
|
+
},
|
|
60519
|
+
{
|
|
60520
|
+
"kind": "property",
|
|
60521
|
+
"name": "as",
|
|
60522
|
+
"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.",
|
|
60523
|
+
"tags": {},
|
|
60524
|
+
"declarations": [],
|
|
60525
|
+
"type": {
|
|
60526
|
+
"kind": "external",
|
|
60527
|
+
"name": "React.ElementType",
|
|
60528
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/API/element"
|
|
60529
|
+
},
|
|
60530
|
+
"defaultValue": {
|
|
60531
|
+
"kind": "external",
|
|
60532
|
+
"name": "button",
|
|
60533
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button"
|
|
60534
|
+
}
|
|
60535
|
+
},
|
|
60536
|
+
{
|
|
60537
|
+
"kind": "property",
|
|
60538
|
+
"name": "ref",
|
|
60539
|
+
"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`).",
|
|
60540
|
+
"tags": {},
|
|
60541
|
+
"declarations": [],
|
|
60542
|
+
"type": {
|
|
60543
|
+
"kind": "external",
|
|
60544
|
+
"name": "React.Ref",
|
|
60545
|
+
"url": "https://reactjs.org/docs/refs-and-the-dom.html",
|
|
60546
|
+
"typeParameters": [
|
|
60547
|
+
{
|
|
60548
|
+
"kind": "typeParameter",
|
|
60549
|
+
"name": "R",
|
|
60550
|
+
"required": true,
|
|
60551
|
+
"defaultValue": {
|
|
60552
|
+
"kind": "external",
|
|
60553
|
+
"name": "button",
|
|
60554
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button"
|
|
60555
|
+
}
|
|
60556
|
+
}
|
|
60557
|
+
]
|
|
60558
|
+
}
|
|
60559
|
+
},
|
|
60560
|
+
{
|
|
60561
|
+
"kind": "property",
|
|
60562
|
+
"name": "model",
|
|
60563
|
+
"description": "Optional model to pass to the component. This will override the default model created for the component. This can be useful if you want to access to the state and events of the model, or if you have nested components of the same type and you need to override the model provided by React Context.",
|
|
60564
|
+
"tags": {},
|
|
60565
|
+
"declarations": [],
|
|
60566
|
+
"type": {
|
|
60567
|
+
"kind": "symbol",
|
|
60568
|
+
"name": "SegmentedControlModel"
|
|
60569
|
+
}
|
|
60570
|
+
},
|
|
60571
|
+
{
|
|
60572
|
+
"kind": "property",
|
|
60573
|
+
"name": "elemPropsHook",
|
|
60574
|
+
"description": "Optional hook that receives the model and all props to be applied to the element. If you use this, it is your responsibility to return props, merging as appropriate. For example, returning an empty object will disable all elemProps hooks associated with this component. This allows finer control over a component without creating a new one.",
|
|
60575
|
+
"tags": {},
|
|
60576
|
+
"declarations": [],
|
|
60577
|
+
"type": {
|
|
60578
|
+
"kind": "function",
|
|
60579
|
+
"parameters": [
|
|
60580
|
+
{
|
|
60581
|
+
"kind": "parameter",
|
|
60582
|
+
"description": "",
|
|
60583
|
+
"tags": {},
|
|
60584
|
+
"declarations": [],
|
|
60585
|
+
"name": "model",
|
|
60586
|
+
"type": {
|
|
60587
|
+
"kind": "symbol",
|
|
60588
|
+
"name": "SegmentedControlModel"
|
|
60589
|
+
},
|
|
60590
|
+
"required": true
|
|
60591
|
+
},
|
|
60592
|
+
{
|
|
60593
|
+
"kind": "parameter",
|
|
60594
|
+
"description": "",
|
|
60595
|
+
"tags": {},
|
|
60596
|
+
"declarations": [],
|
|
60597
|
+
"name": "elemProps",
|
|
60598
|
+
"type": {
|
|
60599
|
+
"kind": "generic",
|
|
60600
|
+
"name": "TProps"
|
|
60601
|
+
}
|
|
60602
|
+
}
|
|
60603
|
+
],
|
|
60604
|
+
"returnType": {
|
|
60605
|
+
"kind": "external",
|
|
60606
|
+
"name": "HTML Attributes",
|
|
60607
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes"
|
|
60608
|
+
}
|
|
60609
|
+
}
|
|
60610
|
+
}
|
|
60611
|
+
],
|
|
60612
|
+
"baseElement": {
|
|
60613
|
+
"kind": "external",
|
|
60614
|
+
"name": "button",
|
|
60615
|
+
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button"
|
|
60616
|
+
},
|
|
60617
|
+
"styleComponent": {
|
|
60618
|
+
"kind": "symbol",
|
|
60619
|
+
"name": "Box"
|
|
60620
|
+
},
|
|
60621
|
+
"model": "SegmentedControlModel"
|
|
60622
|
+
}
|
|
60623
|
+
},
|
|
60624
|
+
{
|
|
60625
|
+
"name": "SegmentedControlListProps",
|
|
60626
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/segmented-control/lib/SegmentedControlList.tsx",
|
|
60627
|
+
"description": "",
|
|
60628
|
+
"declarations": [
|
|
60629
|
+
{
|
|
60630
|
+
"name": "SegmentedControlListProps",
|
|
60631
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/segmented-control/lib/SegmentedControlList.tsx"
|
|
60632
|
+
}
|
|
60633
|
+
],
|
|
60634
|
+
"tags": {},
|
|
60635
|
+
"type": {
|
|
60636
|
+
"kind": "alias",
|
|
60637
|
+
"name": "SegmentedControlList"
|
|
60638
|
+
}
|
|
60639
|
+
},
|
|
60640
|
+
{
|
|
60641
|
+
"name": "segmentedControlListStencil",
|
|
60642
|
+
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/segmented-control/lib/SegmentedControlList.tsx",
|
|
60643
|
+
"description": "",
|
|
60644
|
+
"declarations": [
|
|
60645
|
+
{
|
|
60646
|
+
"name": "segmentedControlListStencil",
|
|
60647
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/segmented-control/lib/SegmentedControlList.tsx"
|
|
60648
|
+
}
|
|
60649
|
+
],
|
|
60650
|
+
"tags": {},
|
|
60651
|
+
"type": {
|
|
60652
|
+
"kind": "function",
|
|
60653
|
+
"parameters": [
|
|
60654
|
+
{
|
|
60655
|
+
"kind": "parameter",
|
|
60656
|
+
"name": "options",
|
|
60657
|
+
"type": {
|
|
60658
|
+
"kind": "conditional",
|
|
60659
|
+
"check": {
|
|
60660
|
+
"kind": "tuple",
|
|
60661
|
+
"value": [
|
|
60662
|
+
{
|
|
60663
|
+
"kind": "symbol",
|
|
60664
|
+
"name": "E",
|
|
60665
|
+
"value": "E"
|
|
60666
|
+
}
|
|
60667
|
+
]
|
|
60668
|
+
},
|
|
60669
|
+
"extends": {
|
|
60670
|
+
"kind": "tuple",
|
|
60671
|
+
"value": [
|
|
60672
|
+
{
|
|
60673
|
+
"kind": "primitive",
|
|
60674
|
+
"value": "never"
|
|
60675
|
+
}
|
|
60676
|
+
]
|
|
60677
|
+
},
|
|
60678
|
+
"trueType": {
|
|
60679
|
+
"kind": "intersection",
|
|
60680
|
+
"value": [
|
|
60681
|
+
{
|
|
60682
|
+
"kind": "symbol",
|
|
60683
|
+
"name": "ModifierValuesStencil",
|
|
60684
|
+
"typeParameters": [
|
|
60685
|
+
{
|
|
60686
|
+
"kind": "symbol",
|
|
60687
|
+
"name": "M",
|
|
60688
|
+
"value": "M"
|
|
60689
|
+
},
|
|
60690
|
+
{
|
|
60691
|
+
"kind": "symbol",
|
|
60692
|
+
"name": "V",
|
|
60693
|
+
"value": "V"
|
|
60694
|
+
}
|
|
60695
|
+
],
|
|
60696
|
+
"value": "ModifierValuesStencil<M, V>"
|
|
60697
|
+
},
|
|
60698
|
+
{
|
|
60699
|
+
"kind": "symbol",
|
|
60700
|
+
"name": "VariableValuesStencil",
|
|
60701
|
+
"typeParameters": [
|
|
60702
|
+
{
|
|
60703
|
+
"kind": "symbol",
|
|
60704
|
+
"name": "V",
|
|
60705
|
+
"value": "V"
|
|
60706
|
+
}
|
|
60707
|
+
],
|
|
60708
|
+
"value": "VariableValuesStencil<V>"
|
|
60709
|
+
}
|
|
60710
|
+
]
|
|
60711
|
+
},
|
|
60712
|
+
"falseType": {
|
|
60713
|
+
"kind": "conditional",
|
|
60714
|
+
"check": {
|
|
60715
|
+
"kind": "symbol",
|
|
60716
|
+
"name": "E",
|
|
60717
|
+
"value": "E"
|
|
60718
|
+
},
|
|
60719
|
+
"extends": {
|
|
60720
|
+
"kind": "symbol",
|
|
60721
|
+
"name": "BaseStencil",
|
|
60722
|
+
"typeParameters": [
|
|
60723
|
+
{
|
|
60724
|
+
"kind": "infer",
|
|
60725
|
+
"value": {
|
|
60726
|
+
"kind": "typeParameter",
|
|
60727
|
+
"name": "ME",
|
|
60728
|
+
"required": true
|
|
60729
|
+
}
|
|
60730
|
+
},
|
|
60731
|
+
{
|
|
60732
|
+
"kind": "primitive",
|
|
60733
|
+
"value": "any"
|
|
60734
|
+
},
|
|
60735
|
+
{
|
|
60736
|
+
"kind": "infer",
|
|
60737
|
+
"value": {
|
|
60738
|
+
"kind": "typeParameter",
|
|
60739
|
+
"name": "VE",
|
|
60740
|
+
"required": true
|
|
60741
|
+
}
|
|
60742
|
+
},
|
|
60743
|
+
{
|
|
60744
|
+
"kind": "primitive",
|
|
60745
|
+
"value": "any"
|
|
60746
|
+
},
|
|
60747
|
+
{
|
|
60748
|
+
"kind": "primitive",
|
|
60749
|
+
"value": "any"
|
|
60750
|
+
}
|
|
60751
|
+
],
|
|
60752
|
+
"value": "BaseStencil<M, P, V, E, ID>"
|
|
60753
|
+
},
|
|
60754
|
+
"trueType": {
|
|
60755
|
+
"kind": "intersection",
|
|
60756
|
+
"value": [
|
|
60757
|
+
{
|
|
60758
|
+
"kind": "symbol",
|
|
60759
|
+
"name": "ModifierValuesStencil",
|
|
60760
|
+
"typeParameters": [
|
|
60761
|
+
{
|
|
60762
|
+
"kind": "intersection",
|
|
60763
|
+
"value": [
|
|
60764
|
+
{
|
|
60765
|
+
"kind": "symbol",
|
|
60766
|
+
"name": "ME",
|
|
60767
|
+
"value": "ME"
|
|
60768
|
+
},
|
|
60769
|
+
{
|
|
60770
|
+
"kind": "symbol",
|
|
60771
|
+
"name": "M",
|
|
60772
|
+
"value": "M"
|
|
60773
|
+
}
|
|
60774
|
+
]
|
|
60775
|
+
}
|
|
60776
|
+
],
|
|
60777
|
+
"value": "ModifierValuesStencil<M, V>"
|
|
60778
|
+
},
|
|
60779
|
+
{
|
|
60780
|
+
"kind": "symbol",
|
|
60781
|
+
"name": "VariableValuesStencil",
|
|
60782
|
+
"typeParameters": [
|
|
60783
|
+
{
|
|
60784
|
+
"kind": "intersection",
|
|
60785
|
+
"value": [
|
|
60786
|
+
{
|
|
60787
|
+
"kind": "symbol",
|
|
60788
|
+
"name": "VE",
|
|
60789
|
+
"value": "VE"
|
|
60790
|
+
},
|
|
60791
|
+
{
|
|
60792
|
+
"kind": "symbol",
|
|
60793
|
+
"name": "V",
|
|
60794
|
+
"value": "V"
|
|
60795
|
+
}
|
|
60796
|
+
]
|
|
60797
|
+
}
|
|
60798
|
+
],
|
|
60799
|
+
"value": "VariableValuesStencil<V>"
|
|
60800
|
+
}
|
|
60801
|
+
]
|
|
60802
|
+
},
|
|
60803
|
+
"falseType": {
|
|
60804
|
+
"kind": "primitive",
|
|
60805
|
+
"value": "never"
|
|
60806
|
+
}
|
|
59590
60807
|
}
|
|
59591
|
-
],
|
|
59592
|
-
"tags": {
|
|
59593
|
-
"default": "false"
|
|
59594
60808
|
},
|
|
59595
|
-
"defaultValue": {
|
|
59596
|
-
"kind": "boolean",
|
|
59597
|
-
"value": false
|
|
59598
|
-
}
|
|
59599
|
-
},
|
|
59600
|
-
{
|
|
59601
|
-
"kind": "property",
|
|
59602
|
-
"name": "accent",
|
|
59603
60809
|
"required": false,
|
|
59604
|
-
"
|
|
59605
|
-
|
|
59606
|
-
"value": "string"
|
|
59607
|
-
},
|
|
59608
|
-
"description": "The accent color of the SystemIcon. This overrides `color`.",
|
|
60810
|
+
"rest": false,
|
|
60811
|
+
"description": "",
|
|
59609
60812
|
"declarations": [
|
|
59610
60813
|
{
|
|
59611
|
-
"name": "
|
|
59612
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/
|
|
60814
|
+
"name": "options",
|
|
60815
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
59613
60816
|
}
|
|
59614
60817
|
],
|
|
59615
60818
|
"tags": {}
|
|
59616
|
-
}
|
|
59617
|
-
|
|
59618
|
-
|
|
59619
|
-
"name": "accentHover",
|
|
59620
|
-
"required": false,
|
|
59621
|
-
"type": {
|
|
59622
|
-
"kind": "primitive",
|
|
59623
|
-
"value": "string"
|
|
59624
|
-
},
|
|
59625
|
-
"description": "The accent color of the SystemIcon on hover. This overrides `colorHover`.",
|
|
59626
|
-
"declarations": [
|
|
59627
|
-
{
|
|
59628
|
-
"name": "accentHover",
|
|
59629
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
59630
|
-
}
|
|
59631
|
-
],
|
|
59632
|
-
"tags": {
|
|
59633
|
-
"deprecated": "`accentHover` is deprecated and will be removed in a future version. Please use the following instead in your style overrides:\n```tsx\n'&:hover': {\n[systemIconStencil.vars.accent]: desiredAccentHoverColor\n}\n```"
|
|
59634
|
-
}
|
|
59635
|
-
},
|
|
60819
|
+
}
|
|
60820
|
+
],
|
|
60821
|
+
"members": [
|
|
59636
60822
|
{
|
|
59637
60823
|
"kind": "property",
|
|
59638
|
-
"name": "
|
|
59639
|
-
"required":
|
|
60824
|
+
"name": "parts",
|
|
60825
|
+
"required": true,
|
|
59640
60826
|
"type": {
|
|
59641
|
-
"kind": "
|
|
59642
|
-
"
|
|
59643
|
-
|
|
59644
|
-
|
|
59645
|
-
|
|
59646
|
-
|
|
59647
|
-
|
|
59648
|
-
|
|
60827
|
+
"kind": "conditional",
|
|
60828
|
+
"check": {
|
|
60829
|
+
"kind": "tuple",
|
|
60830
|
+
"value": [
|
|
60831
|
+
{
|
|
60832
|
+
"kind": "symbol",
|
|
60833
|
+
"name": "E",
|
|
60834
|
+
"value": "E"
|
|
60835
|
+
}
|
|
60836
|
+
]
|
|
60837
|
+
},
|
|
60838
|
+
"extends": {
|
|
60839
|
+
"kind": "tuple",
|
|
60840
|
+
"value": [
|
|
60841
|
+
{
|
|
60842
|
+
"kind": "symbol",
|
|
60843
|
+
"name": "BaseStencil",
|
|
60844
|
+
"typeParameters": [
|
|
60845
|
+
{
|
|
60846
|
+
"kind": "primitive",
|
|
60847
|
+
"value": "any"
|
|
60848
|
+
},
|
|
60849
|
+
{
|
|
60850
|
+
"kind": "infer",
|
|
60851
|
+
"value": {
|
|
60852
|
+
"kind": "typeParameter",
|
|
60853
|
+
"name": "PE",
|
|
60854
|
+
"required": true
|
|
60855
|
+
}
|
|
60856
|
+
},
|
|
60857
|
+
{
|
|
60858
|
+
"kind": "primitive",
|
|
60859
|
+
"value": "any"
|
|
60860
|
+
},
|
|
60861
|
+
{
|
|
60862
|
+
"kind": "primitive",
|
|
60863
|
+
"value": "any"
|
|
60864
|
+
},
|
|
60865
|
+
{
|
|
60866
|
+
"kind": "primitive",
|
|
60867
|
+
"value": "any"
|
|
60868
|
+
}
|
|
60869
|
+
],
|
|
60870
|
+
"value": "BaseStencil<M, P, V, E, ID>"
|
|
60871
|
+
}
|
|
60872
|
+
]
|
|
60873
|
+
},
|
|
60874
|
+
"trueType": {
|
|
60875
|
+
"kind": "symbol",
|
|
60876
|
+
"name": "StencilPartProps",
|
|
60877
|
+
"typeParameters": [
|
|
60878
|
+
{
|
|
60879
|
+
"kind": "intersection",
|
|
60880
|
+
"value": [
|
|
60881
|
+
{
|
|
60882
|
+
"kind": "symbol",
|
|
60883
|
+
"name": "PE",
|
|
60884
|
+
"value": "PE"
|
|
60885
|
+
},
|
|
60886
|
+
{
|
|
60887
|
+
"kind": "symbol",
|
|
60888
|
+
"name": "P",
|
|
60889
|
+
"value": "P"
|
|
60890
|
+
}
|
|
60891
|
+
]
|
|
60892
|
+
}
|
|
60893
|
+
],
|
|
60894
|
+
"value": "StencilPartProps<T>"
|
|
60895
|
+
},
|
|
60896
|
+
"falseType": {
|
|
60897
|
+
"kind": "symbol",
|
|
60898
|
+
"name": "StencilPartProps",
|
|
60899
|
+
"typeParameters": [
|
|
60900
|
+
{
|
|
60901
|
+
"kind": "symbol",
|
|
60902
|
+
"name": "P",
|
|
60903
|
+
"value": "P"
|
|
60904
|
+
}
|
|
60905
|
+
],
|
|
60906
|
+
"value": "StencilPartProps<T>"
|
|
59649
60907
|
}
|
|
59650
|
-
],
|
|
59651
|
-
"tags": {
|
|
59652
|
-
"default": "transparent"
|
|
59653
|
-
},
|
|
59654
|
-
"defaultValue": {
|
|
59655
|
-
"kind": "symbol",
|
|
59656
|
-
"name": "transparent",
|
|
59657
|
-
"value": "transparent"
|
|
59658
|
-
}
|
|
59659
|
-
},
|
|
59660
|
-
{
|
|
59661
|
-
"kind": "property",
|
|
59662
|
-
"name": "backgroundHover",
|
|
59663
|
-
"required": false,
|
|
59664
|
-
"type": {
|
|
59665
|
-
"kind": "primitive",
|
|
59666
|
-
"value": "string"
|
|
59667
60908
|
},
|
|
59668
|
-
"description": "
|
|
60909
|
+
"description": "",
|
|
59669
60910
|
"declarations": [
|
|
59670
60911
|
{
|
|
59671
|
-
"name": "
|
|
59672
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/
|
|
60912
|
+
"name": "parts",
|
|
60913
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
59673
60914
|
}
|
|
59674
60915
|
],
|
|
59675
|
-
"tags": {
|
|
59676
|
-
"default": "transparent",
|
|
59677
|
-
"deprecated": "`backgroundHover` is deprecated and will be removed in a future version. Please use the following instead in your style overrides:\n```tsx\n'&:hover': {\n[systemIconStencil.vars.background]: desiredBackgroundHoverColor\n}\n```"
|
|
59678
|
-
},
|
|
59679
|
-
"defaultValue": {
|
|
59680
|
-
"kind": "symbol",
|
|
59681
|
-
"name": "transparent",
|
|
59682
|
-
"value": "transparent"
|
|
59683
|
-
}
|
|
60916
|
+
"tags": {}
|
|
59684
60917
|
},
|
|
59685
60918
|
{
|
|
59686
60919
|
"kind": "property",
|
|
59687
|
-
"name": "
|
|
59688
|
-
"required":
|
|
60920
|
+
"name": "vars",
|
|
60921
|
+
"required": true,
|
|
59689
60922
|
"type": {
|
|
59690
|
-
"kind": "primitive",
|
|
59691
|
-
"value": "string"
|
|
59692
|
-
},
|
|
59693
|
-
"description": "The color of the SystemIcon. This defines `accent` and `fill`. `color` may be overwritten by `accent` and `fill`.",
|
|
59694
|
-
"declarations": [
|
|
59695
|
-
{
|
|
59696
|
-
"name": "color",
|
|
59697
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
|
|
59698
|
-
}
|
|
59699
|
-
],
|
|
59700
|
-
"tags": {
|
|
59701
|
-
"default": "base.licorice200"
|
|
59702
|
-
},
|
|
59703
|
-
"defaultValue": {
|
|
59704
60923
|
"kind": "symbol",
|
|
59705
|
-
"name": "
|
|
59706
|
-
"
|
|
59707
|
-
|
|
59708
|
-
|
|
59709
|
-
|
|
59710
|
-
|
|
59711
|
-
|
|
59712
|
-
|
|
59713
|
-
|
|
59714
|
-
|
|
59715
|
-
|
|
60924
|
+
"name": "StencilDefaultVars",
|
|
60925
|
+
"typeParameters": [
|
|
60926
|
+
{
|
|
60927
|
+
"kind": "symbol",
|
|
60928
|
+
"name": "V",
|
|
60929
|
+
"value": "V"
|
|
60930
|
+
},
|
|
60931
|
+
{
|
|
60932
|
+
"kind": "symbol",
|
|
60933
|
+
"name": "E",
|
|
60934
|
+
"value": "E"
|
|
60935
|
+
},
|
|
60936
|
+
{
|
|
60937
|
+
"kind": "symbol",
|
|
60938
|
+
"name": "ID",
|
|
60939
|
+
"value": "ID"
|
|
60940
|
+
}
|
|
60941
|
+
],
|
|
60942
|
+
"value": "StencilDefaultVars<V, E, ID>"
|
|
59716
60943
|
},
|
|
59717
|
-
"description": "
|
|
60944
|
+
"description": "",
|
|
59718
60945
|
"declarations": [
|
|
59719
60946
|
{
|
|
59720
|
-
"name": "
|
|
59721
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/
|
|
60947
|
+
"name": "vars",
|
|
60948
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
59722
60949
|
}
|
|
59723
60950
|
],
|
|
59724
|
-
"tags": {
|
|
59725
|
-
"default": "base.licorice200",
|
|
59726
|
-
"deprecated": "`colorHover` is deprecated and will be removed in a future version. We have removed the default hover styles on SystemIcon. Please\nuse the following instead in your style overrides:\n```tsx\n'&:hover': {\n[systemIconStencil.vars.color]: desiredColorHoverColor\n}\n```"
|
|
59727
|
-
},
|
|
59728
|
-
"defaultValue": {
|
|
59729
|
-
"kind": "symbol",
|
|
59730
|
-
"name": "base.licorice200",
|
|
59731
|
-
"value": "base.licorice200"
|
|
59732
|
-
}
|
|
60951
|
+
"tags": {}
|
|
59733
60952
|
},
|
|
59734
60953
|
{
|
|
59735
60954
|
"kind": "property",
|
|
59736
|
-
"name": "
|
|
59737
|
-
"required":
|
|
60955
|
+
"name": "base",
|
|
60956
|
+
"required": true,
|
|
59738
60957
|
"type": {
|
|
59739
60958
|
"kind": "primitive",
|
|
59740
60959
|
"value": "string"
|
|
59741
60960
|
},
|
|
59742
|
-
"description": "
|
|
60961
|
+
"description": "",
|
|
59743
60962
|
"declarations": [
|
|
59744
60963
|
{
|
|
59745
|
-
"name": "
|
|
59746
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/
|
|
60964
|
+
"name": "base",
|
|
60965
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
59747
60966
|
}
|
|
59748
60967
|
],
|
|
59749
|
-
"tags": {
|
|
59750
|
-
"deprecated": "`fill` is deprecated and will be removed in a future version. Please use `color` and specify `accent` color if you want `accent` to be different from `color`."
|
|
59751
|
-
}
|
|
60968
|
+
"tags": {}
|
|
59752
60969
|
},
|
|
59753
60970
|
{
|
|
59754
60971
|
"kind": "property",
|
|
59755
|
-
"name": "
|
|
59756
|
-
"required":
|
|
60972
|
+
"name": "modifiers",
|
|
60973
|
+
"required": true,
|
|
59757
60974
|
"type": {
|
|
59758
|
-
"kind": "
|
|
59759
|
-
"
|
|
60975
|
+
"kind": "conditional",
|
|
60976
|
+
"check": {
|
|
60977
|
+
"kind": "tuple",
|
|
60978
|
+
"value": [
|
|
60979
|
+
{
|
|
60980
|
+
"kind": "symbol",
|
|
60981
|
+
"name": "E",
|
|
60982
|
+
"value": "E"
|
|
60983
|
+
}
|
|
60984
|
+
]
|
|
60985
|
+
},
|
|
60986
|
+
"extends": {
|
|
60987
|
+
"kind": "tuple",
|
|
60988
|
+
"value": [
|
|
60989
|
+
{
|
|
60990
|
+
"kind": "symbol",
|
|
60991
|
+
"name": "BaseStencil",
|
|
60992
|
+
"typeParameters": [
|
|
60993
|
+
{
|
|
60994
|
+
"kind": "infer",
|
|
60995
|
+
"value": {
|
|
60996
|
+
"kind": "typeParameter",
|
|
60997
|
+
"name": "ME",
|
|
60998
|
+
"required": true
|
|
60999
|
+
}
|
|
61000
|
+
},
|
|
61001
|
+
{
|
|
61002
|
+
"kind": "primitive",
|
|
61003
|
+
"value": "any"
|
|
61004
|
+
},
|
|
61005
|
+
{
|
|
61006
|
+
"kind": "infer",
|
|
61007
|
+
"value": {
|
|
61008
|
+
"kind": "typeParameter",
|
|
61009
|
+
"name": "VE",
|
|
61010
|
+
"required": true
|
|
61011
|
+
}
|
|
61012
|
+
},
|
|
61013
|
+
{
|
|
61014
|
+
"kind": "primitive",
|
|
61015
|
+
"value": "any"
|
|
61016
|
+
},
|
|
61017
|
+
{
|
|
61018
|
+
"kind": "primitive",
|
|
61019
|
+
"value": "any"
|
|
61020
|
+
}
|
|
61021
|
+
],
|
|
61022
|
+
"value": "BaseStencil<M, P, V, E, ID>"
|
|
61023
|
+
}
|
|
61024
|
+
]
|
|
61025
|
+
},
|
|
61026
|
+
"trueType": {
|
|
61027
|
+
"kind": "symbol",
|
|
61028
|
+
"name": "StencilModifierReturn",
|
|
61029
|
+
"typeParameters": [
|
|
61030
|
+
{
|
|
61031
|
+
"kind": "intersection",
|
|
61032
|
+
"value": [
|
|
61033
|
+
{
|
|
61034
|
+
"kind": "symbol",
|
|
61035
|
+
"name": "ME",
|
|
61036
|
+
"value": "ME"
|
|
61037
|
+
},
|
|
61038
|
+
{
|
|
61039
|
+
"kind": "symbol",
|
|
61040
|
+
"name": "M",
|
|
61041
|
+
"value": "M"
|
|
61042
|
+
}
|
|
61043
|
+
]
|
|
61044
|
+
},
|
|
61045
|
+
{
|
|
61046
|
+
"kind": "intersection",
|
|
61047
|
+
"value": [
|
|
61048
|
+
{
|
|
61049
|
+
"kind": "symbol",
|
|
61050
|
+
"name": "VE",
|
|
61051
|
+
"value": "VE"
|
|
61052
|
+
},
|
|
61053
|
+
{
|
|
61054
|
+
"kind": "symbol",
|
|
61055
|
+
"name": "V",
|
|
61056
|
+
"value": "V"
|
|
61057
|
+
}
|
|
61058
|
+
]
|
|
61059
|
+
}
|
|
61060
|
+
],
|
|
61061
|
+
"value": "StencilModifierReturn<M, V>"
|
|
61062
|
+
},
|
|
61063
|
+
"falseType": {
|
|
61064
|
+
"kind": "symbol",
|
|
61065
|
+
"name": "StencilModifierReturn",
|
|
61066
|
+
"typeParameters": [
|
|
61067
|
+
{
|
|
61068
|
+
"kind": "symbol",
|
|
61069
|
+
"name": "M",
|
|
61070
|
+
"value": "M"
|
|
61071
|
+
},
|
|
61072
|
+
{
|
|
61073
|
+
"kind": "symbol",
|
|
61074
|
+
"name": "V",
|
|
61075
|
+
"value": "V"
|
|
61076
|
+
}
|
|
61077
|
+
],
|
|
61078
|
+
"value": "StencilModifierReturn<M, V>"
|
|
61079
|
+
}
|
|
59760
61080
|
},
|
|
59761
|
-
"description": "
|
|
61081
|
+
"description": "",
|
|
59762
61082
|
"declarations": [
|
|
59763
61083
|
{
|
|
59764
|
-
"name": "
|
|
59765
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/
|
|
61084
|
+
"name": "modifiers",
|
|
61085
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
59766
61086
|
}
|
|
59767
61087
|
],
|
|
59768
|
-
"tags": {
|
|
59769
|
-
"deprecated": "`fillHover` is deprecated and will be removed in a future version. Please use the following instead in your style overrides:\n```tsx\n'&:hover': {\n[systemIconStencil.vars.fill]: desiredFillHoverColor\n}\n```"
|
|
59770
|
-
}
|
|
61088
|
+
"tags": {}
|
|
59771
61089
|
},
|
|
59772
61090
|
{
|
|
59773
61091
|
"kind": "property",
|
|
59774
|
-
"name": "
|
|
59775
|
-
"required":
|
|
61092
|
+
"name": "defaultModifiers",
|
|
61093
|
+
"required": true,
|
|
59776
61094
|
"type": {
|
|
59777
|
-
"kind": "
|
|
59778
|
-
"
|
|
61095
|
+
"kind": "conditional",
|
|
61096
|
+
"check": {
|
|
61097
|
+
"kind": "tuple",
|
|
61098
|
+
"value": [
|
|
61099
|
+
{
|
|
61100
|
+
"kind": "symbol",
|
|
61101
|
+
"name": "E",
|
|
61102
|
+
"value": "E"
|
|
61103
|
+
}
|
|
61104
|
+
]
|
|
61105
|
+
},
|
|
61106
|
+
"extends": {
|
|
61107
|
+
"kind": "tuple",
|
|
61108
|
+
"value": [
|
|
61109
|
+
{
|
|
61110
|
+
"kind": "symbol",
|
|
61111
|
+
"name": "BaseStencil",
|
|
61112
|
+
"typeParameters": [
|
|
61113
|
+
{
|
|
61114
|
+
"kind": "infer",
|
|
61115
|
+
"value": {
|
|
61116
|
+
"kind": "typeParameter",
|
|
61117
|
+
"name": "ME",
|
|
61118
|
+
"required": true
|
|
61119
|
+
}
|
|
61120
|
+
},
|
|
61121
|
+
{
|
|
61122
|
+
"kind": "primitive",
|
|
61123
|
+
"value": "any"
|
|
61124
|
+
},
|
|
61125
|
+
{
|
|
61126
|
+
"kind": "primitive",
|
|
61127
|
+
"value": "any"
|
|
61128
|
+
},
|
|
61129
|
+
{
|
|
61130
|
+
"kind": "primitive",
|
|
61131
|
+
"value": "any"
|
|
61132
|
+
},
|
|
61133
|
+
{
|
|
61134
|
+
"kind": "primitive",
|
|
61135
|
+
"value": "any"
|
|
61136
|
+
}
|
|
61137
|
+
],
|
|
61138
|
+
"value": "BaseStencil<M, P, V, E, ID>"
|
|
61139
|
+
}
|
|
61140
|
+
]
|
|
61141
|
+
},
|
|
61142
|
+
"trueType": {
|
|
61143
|
+
"kind": "symbol",
|
|
61144
|
+
"name": "StencilDefaultModifierReturn",
|
|
61145
|
+
"typeParameters": [
|
|
61146
|
+
{
|
|
61147
|
+
"kind": "intersection",
|
|
61148
|
+
"value": [
|
|
61149
|
+
{
|
|
61150
|
+
"kind": "symbol",
|
|
61151
|
+
"name": "ME",
|
|
61152
|
+
"value": "ME"
|
|
61153
|
+
},
|
|
61154
|
+
{
|
|
61155
|
+
"kind": "symbol",
|
|
61156
|
+
"name": "M",
|
|
61157
|
+
"value": "M"
|
|
61158
|
+
}
|
|
61159
|
+
]
|
|
61160
|
+
}
|
|
61161
|
+
],
|
|
61162
|
+
"value": "StencilDefaultModifierReturn<M>"
|
|
61163
|
+
},
|
|
61164
|
+
"falseType": {
|
|
61165
|
+
"kind": "symbol",
|
|
61166
|
+
"name": "StencilDefaultModifierReturn",
|
|
61167
|
+
"typeParameters": [
|
|
61168
|
+
{
|
|
61169
|
+
"kind": "symbol",
|
|
61170
|
+
"name": "M",
|
|
61171
|
+
"value": "M"
|
|
61172
|
+
}
|
|
61173
|
+
],
|
|
61174
|
+
"value": "StencilDefaultModifierReturn<M>"
|
|
61175
|
+
}
|
|
59779
61176
|
},
|
|
59780
|
-
"description": "
|
|
61177
|
+
"description": "",
|
|
59781
61178
|
"declarations": [
|
|
59782
61179
|
{
|
|
59783
|
-
"name": "
|
|
59784
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/
|
|
61180
|
+
"name": "defaultModifiers",
|
|
61181
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
59785
61182
|
}
|
|
59786
61183
|
],
|
|
59787
|
-
"tags": {
|
|
59788
|
-
"default": "false"
|
|
59789
|
-
},
|
|
59790
|
-
"defaultValue": {
|
|
59791
|
-
"kind": "boolean",
|
|
59792
|
-
"value": false
|
|
59793
|
-
}
|
|
61184
|
+
"tags": {}
|
|
59794
61185
|
},
|
|
59795
61186
|
{
|
|
59796
61187
|
"kind": "property",
|
|
59797
|
-
"name": "
|
|
61188
|
+
"name": "__extends",
|
|
59798
61189
|
"required": false,
|
|
59799
61190
|
"type": {
|
|
59800
61191
|
"kind": "symbol",
|
|
59801
|
-
"name": "
|
|
59802
|
-
"value": "
|
|
61192
|
+
"name": "E",
|
|
61193
|
+
"value": "E"
|
|
59803
61194
|
},
|
|
59804
|
-
"description": "
|
|
61195
|
+
"description": "",
|
|
59805
61196
|
"declarations": [
|
|
59806
61197
|
{
|
|
59807
|
-
"name": "
|
|
61198
|
+
"name": "__extends",
|
|
59808
61199
|
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
59809
61200
|
}
|
|
59810
61201
|
],
|
|
@@ -59812,196 +61203,75 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
59812
61203
|
},
|
|
59813
61204
|
{
|
|
59814
61205
|
"kind": "property",
|
|
59815
|
-
"name": "
|
|
59816
|
-
"required":
|
|
61206
|
+
"name": "__vars",
|
|
61207
|
+
"required": true,
|
|
59817
61208
|
"type": {
|
|
59818
|
-
"kind": "
|
|
59819
|
-
"
|
|
61209
|
+
"kind": "symbol",
|
|
61210
|
+
"name": "V",
|
|
61211
|
+
"value": "V"
|
|
59820
61212
|
},
|
|
59821
|
-
"description": "
|
|
61213
|
+
"description": "",
|
|
59822
61214
|
"declarations": [
|
|
59823
61215
|
{
|
|
59824
|
-
"name": "
|
|
59825
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/
|
|
61216
|
+
"name": "__vars",
|
|
61217
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
59826
61218
|
}
|
|
59827
61219
|
],
|
|
59828
61220
|
"tags": {}
|
|
59829
61221
|
},
|
|
59830
61222
|
{
|
|
59831
61223
|
"kind": "property",
|
|
59832
|
-
"name": "
|
|
59833
|
-
"
|
|
59834
|
-
"tags": {},
|
|
59835
|
-
"declarations": [],
|
|
61224
|
+
"name": "__modifiers",
|
|
61225
|
+
"required": true,
|
|
59836
61226
|
"type": {
|
|
59837
|
-
"kind": "
|
|
59838
|
-
"name": "
|
|
59839
|
-
"
|
|
61227
|
+
"kind": "symbol",
|
|
61228
|
+
"name": "M",
|
|
61229
|
+
"value": "M"
|
|
59840
61230
|
},
|
|
59841
|
-
"
|
|
59842
|
-
|
|
59843
|
-
|
|
59844
|
-
|
|
59845
|
-
|
|
59846
|
-
|
|
59847
|
-
|
|
59848
|
-
"
|
|
59849
|
-
"name": "ref",
|
|
59850
|
-
"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`).",
|
|
59851
|
-
"tags": {},
|
|
59852
|
-
"declarations": [],
|
|
59853
|
-
"type": {
|
|
59854
|
-
"kind": "external",
|
|
59855
|
-
"name": "React.Ref",
|
|
59856
|
-
"url": "https://reactjs.org/docs/refs-and-the-dom.html",
|
|
59857
|
-
"typeParameters": [
|
|
59858
|
-
{
|
|
59859
|
-
"kind": "typeParameter",
|
|
59860
|
-
"name": "R",
|
|
59861
|
-
"required": true,
|
|
59862
|
-
"defaultValue": {
|
|
59863
|
-
"kind": "external",
|
|
59864
|
-
"name": "button",
|
|
59865
|
-
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button"
|
|
59866
|
-
}
|
|
59867
|
-
}
|
|
59868
|
-
]
|
|
59869
|
-
}
|
|
61231
|
+
"description": "",
|
|
61232
|
+
"declarations": [
|
|
61233
|
+
{
|
|
61234
|
+
"name": "__modifiers",
|
|
61235
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
61236
|
+
}
|
|
61237
|
+
],
|
|
61238
|
+
"tags": {}
|
|
59870
61239
|
},
|
|
59871
61240
|
{
|
|
59872
61241
|
"kind": "property",
|
|
59873
|
-
"name": "
|
|
59874
|
-
"
|
|
59875
|
-
"tags": {},
|
|
59876
|
-
"declarations": [],
|
|
61242
|
+
"name": "__id",
|
|
61243
|
+
"required": true,
|
|
59877
61244
|
"type": {
|
|
59878
61245
|
"kind": "symbol",
|
|
59879
|
-
"name": "
|
|
59880
|
-
|
|
61246
|
+
"name": "ID",
|
|
61247
|
+
"value": "ID"
|
|
61248
|
+
},
|
|
61249
|
+
"description": "",
|
|
61250
|
+
"declarations": [
|
|
61251
|
+
{
|
|
61252
|
+
"name": "__id",
|
|
61253
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
61254
|
+
}
|
|
61255
|
+
],
|
|
61256
|
+
"tags": {}
|
|
59881
61257
|
},
|
|
59882
61258
|
{
|
|
59883
61259
|
"kind": "property",
|
|
59884
|
-
"name": "
|
|
59885
|
-
"
|
|
59886
|
-
"tags": {},
|
|
59887
|
-
"declarations": [],
|
|
59888
|
-
"type": {
|
|
59889
|
-
"kind": "function",
|
|
59890
|
-
"parameters": [
|
|
59891
|
-
{
|
|
59892
|
-
"kind": "parameter",
|
|
59893
|
-
"description": "",
|
|
59894
|
-
"tags": {},
|
|
59895
|
-
"declarations": [],
|
|
59896
|
-
"name": "model",
|
|
59897
|
-
"type": {
|
|
59898
|
-
"kind": "symbol",
|
|
59899
|
-
"name": "SegmentedControlModel"
|
|
59900
|
-
},
|
|
59901
|
-
"required": true
|
|
59902
|
-
},
|
|
59903
|
-
{
|
|
59904
|
-
"kind": "parameter",
|
|
59905
|
-
"description": "",
|
|
59906
|
-
"tags": {},
|
|
59907
|
-
"declarations": [],
|
|
59908
|
-
"name": "elemProps",
|
|
59909
|
-
"type": {
|
|
59910
|
-
"kind": "generic",
|
|
59911
|
-
"name": "TProps"
|
|
59912
|
-
}
|
|
59913
|
-
}
|
|
59914
|
-
],
|
|
59915
|
-
"returnType": {
|
|
59916
|
-
"kind": "external",
|
|
59917
|
-
"name": "HTML Attributes",
|
|
59918
|
-
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes"
|
|
59919
|
-
}
|
|
59920
|
-
}
|
|
59921
|
-
}
|
|
59922
|
-
],
|
|
59923
|
-
"baseElement": {
|
|
59924
|
-
"kind": "external",
|
|
59925
|
-
"name": "button",
|
|
59926
|
-
"url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button"
|
|
59927
|
-
},
|
|
59928
|
-
"styleComponent": {
|
|
59929
|
-
"kind": "symbol",
|
|
59930
|
-
"name": "Box"
|
|
59931
|
-
},
|
|
59932
|
-
"model": "SegmentedControlModel"
|
|
59933
|
-
}
|
|
59934
|
-
},
|
|
59935
|
-
{
|
|
59936
|
-
"name": "SegmentedControlListProps",
|
|
59937
|
-
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/segmented-control/lib/SegmentedControlList.tsx",
|
|
59938
|
-
"description": "",
|
|
59939
|
-
"declarations": [
|
|
59940
|
-
{
|
|
59941
|
-
"name": "SegmentedControlListProps",
|
|
59942
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/segmented-control/lib/SegmentedControlList.tsx"
|
|
59943
|
-
}
|
|
59944
|
-
],
|
|
59945
|
-
"tags": {},
|
|
59946
|
-
"type": {
|
|
59947
|
-
"kind": "alias",
|
|
59948
|
-
"name": "SegmentedControlList"
|
|
59949
|
-
}
|
|
59950
|
-
},
|
|
59951
|
-
{
|
|
59952
|
-
"name": "useSegmentedControlList",
|
|
59953
|
-
"fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/segmented-control/lib/SegmentedControlList.tsx",
|
|
59954
|
-
"description": "",
|
|
59955
|
-
"declarations": [
|
|
59956
|
-
{
|
|
59957
|
-
"name": "useSegmentedControlList",
|
|
59958
|
-
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/segmented-control/lib/SegmentedControlList.tsx"
|
|
59959
|
-
}
|
|
59960
|
-
],
|
|
59961
|
-
"tags": {},
|
|
59962
|
-
"type": {
|
|
59963
|
-
"kind": "function",
|
|
59964
|
-
"name": {
|
|
59965
|
-
"kind": "symbol",
|
|
59966
|
-
"name": "createElemPropsHook"
|
|
59967
|
-
},
|
|
59968
|
-
"parameters": [
|
|
59969
|
-
{
|
|
59970
|
-
"kind": "parameter",
|
|
59971
|
-
"name": "model",
|
|
59972
|
-
"description": "",
|
|
59973
|
-
"tags": {},
|
|
59974
|
-
"declarations": [],
|
|
61260
|
+
"name": "__parts",
|
|
61261
|
+
"required": false,
|
|
59975
61262
|
"type": {
|
|
59976
61263
|
"kind": "symbol",
|
|
59977
|
-
"name": "
|
|
59978
|
-
|
|
59979
|
-
"required": true
|
|
59980
|
-
},
|
|
59981
|
-
{
|
|
59982
|
-
"kind": "parameter",
|
|
59983
|
-
"name": "elemProps",
|
|
59984
|
-
"description": "",
|
|
59985
|
-
"tags": {},
|
|
59986
|
-
"declarations": [],
|
|
59987
|
-
"type": {
|
|
59988
|
-
"kind": "object",
|
|
59989
|
-
"properties": []
|
|
61264
|
+
"name": "P",
|
|
61265
|
+
"value": "P"
|
|
59990
61266
|
},
|
|
59991
|
-
"required": false
|
|
59992
|
-
},
|
|
59993
|
-
{
|
|
59994
|
-
"kind": "parameter",
|
|
59995
|
-
"name": "ref",
|
|
59996
61267
|
"description": "",
|
|
59997
|
-
"
|
|
59998
|
-
|
|
59999
|
-
|
|
60000
|
-
|
|
60001
|
-
|
|
60002
|
-
|
|
60003
|
-
}
|
|
60004
|
-
"required": false
|
|
61268
|
+
"declarations": [
|
|
61269
|
+
{
|
|
61270
|
+
"name": "__parts",
|
|
61271
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
61272
|
+
}
|
|
61273
|
+
],
|
|
61274
|
+
"tags": {}
|
|
60005
61275
|
}
|
|
60006
61276
|
],
|
|
60007
61277
|
"returnType": {
|
|
@@ -60009,24 +61279,48 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
60009
61279
|
"properties": [
|
|
60010
61280
|
{
|
|
60011
61281
|
"kind": "property",
|
|
60012
|
-
"name": "
|
|
61282
|
+
"name": "className",
|
|
60013
61283
|
"required": true,
|
|
60014
61284
|
"type": {
|
|
60015
|
-
"kind": "
|
|
60016
|
-
"value":
|
|
61285
|
+
"kind": "primitive",
|
|
61286
|
+
"value": "string"
|
|
61287
|
+
},
|
|
61288
|
+
"description": "",
|
|
61289
|
+
"declarations": [
|
|
61290
|
+
{
|
|
61291
|
+
"name": "className",
|
|
61292
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
61293
|
+
}
|
|
61294
|
+
],
|
|
61295
|
+
"tags": {}
|
|
61296
|
+
},
|
|
61297
|
+
{
|
|
61298
|
+
"kind": "property",
|
|
61299
|
+
"name": "style",
|
|
61300
|
+
"required": false,
|
|
61301
|
+
"type": {
|
|
61302
|
+
"kind": "external",
|
|
61303
|
+
"name": "Record",
|
|
61304
|
+
"url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type",
|
|
61305
|
+
"typeParameters": [
|
|
60017
61306
|
{
|
|
60018
|
-
"kind": "
|
|
60019
|
-
"value":
|
|
61307
|
+
"kind": "primitive",
|
|
61308
|
+
"value": "string"
|
|
60020
61309
|
},
|
|
60021
61310
|
{
|
|
60022
61311
|
"kind": "primitive",
|
|
60023
|
-
"value": "
|
|
61312
|
+
"value": "string"
|
|
60024
61313
|
}
|
|
60025
61314
|
]
|
|
60026
61315
|
},
|
|
60027
61316
|
"description": "",
|
|
60028
|
-
"
|
|
60029
|
-
|
|
61317
|
+
"declarations": [
|
|
61318
|
+
{
|
|
61319
|
+
"name": "style",
|
|
61320
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
|
|
61321
|
+
}
|
|
61322
|
+
],
|
|
61323
|
+
"tags": {}
|
|
60030
61324
|
}
|
|
60031
61325
|
]
|
|
60032
61326
|
}
|
|
@@ -60046,7 +61340,6 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
60046
61340
|
"type": {
|
|
60047
61341
|
"kind": "enhancedComponent",
|
|
60048
61342
|
"componentType": "subcomponent",
|
|
60049
|
-
"elemPropsHook": "useSegmentedControlList",
|
|
60050
61343
|
"displayName": "SegmentedControl.List",
|
|
60051
61344
|
"props": [
|
|
60052
61345
|
{
|