@workday/canvas-kit-docs 14.0.0-alpha.1126-next.0 → 14.0.0-alpha.1127-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.
@@ -117978,6 +117978,695 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
117978
117978
  "name": "ToolbarDropdownButton"
117979
117979
  }
117980
117980
  },
117981
+ {
117982
+ "name": "toolbarDropdownButtonStencil",
117983
+ "fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/ToolbarDropdownButton.tsx",
117984
+ "description": "",
117985
+ "declarations": [
117986
+ {
117987
+ "name": "toolbarDropdownButtonStencil",
117988
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/ToolbarDropdownButton.tsx"
117989
+ }
117990
+ ],
117991
+ "tags": {},
117992
+ "type": {
117993
+ "kind": "function",
117994
+ "parameters": [
117995
+ {
117996
+ "kind": "parameter",
117997
+ "name": "options",
117998
+ "type": {
117999
+ "kind": "conditional",
118000
+ "check": {
118001
+ "kind": "tuple",
118002
+ "value": [
118003
+ {
118004
+ "kind": "symbol",
118005
+ "name": "E",
118006
+ "value": "E"
118007
+ }
118008
+ ]
118009
+ },
118010
+ "extends": {
118011
+ "kind": "tuple",
118012
+ "value": [
118013
+ {
118014
+ "kind": "primitive",
118015
+ "value": "never"
118016
+ }
118017
+ ]
118018
+ },
118019
+ "trueType": {
118020
+ "kind": "intersection",
118021
+ "value": [
118022
+ {
118023
+ "kind": "symbol",
118024
+ "name": "ModifierValuesStencil",
118025
+ "typeParameters": [
118026
+ {
118027
+ "kind": "symbol",
118028
+ "name": "M",
118029
+ "value": "M"
118030
+ },
118031
+ {
118032
+ "kind": "symbol",
118033
+ "name": "V",
118034
+ "value": "V"
118035
+ }
118036
+ ],
118037
+ "value": "ModifierValuesStencil<M, V>"
118038
+ },
118039
+ {
118040
+ "kind": "symbol",
118041
+ "name": "VariableValuesStencil",
118042
+ "typeParameters": [
118043
+ {
118044
+ "kind": "symbol",
118045
+ "name": "V",
118046
+ "value": "V"
118047
+ }
118048
+ ],
118049
+ "value": "VariableValuesStencil<V>"
118050
+ }
118051
+ ]
118052
+ },
118053
+ "falseType": {
118054
+ "kind": "conditional",
118055
+ "check": {
118056
+ "kind": "symbol",
118057
+ "name": "E",
118058
+ "value": "E"
118059
+ },
118060
+ "extends": {
118061
+ "kind": "symbol",
118062
+ "name": "BaseStencil",
118063
+ "typeParameters": [
118064
+ {
118065
+ "kind": "infer",
118066
+ "value": {
118067
+ "kind": "typeParameter",
118068
+ "name": "ME",
118069
+ "required": true
118070
+ }
118071
+ },
118072
+ {
118073
+ "kind": "primitive",
118074
+ "value": "any"
118075
+ },
118076
+ {
118077
+ "kind": "infer",
118078
+ "value": {
118079
+ "kind": "typeParameter",
118080
+ "name": "VE",
118081
+ "required": true
118082
+ }
118083
+ },
118084
+ {
118085
+ "kind": "primitive",
118086
+ "value": "any"
118087
+ },
118088
+ {
118089
+ "kind": "primitive",
118090
+ "value": "any"
118091
+ }
118092
+ ],
118093
+ "value": "BaseStencil<M, P, V, E, ID>"
118094
+ },
118095
+ "trueType": {
118096
+ "kind": "intersection",
118097
+ "value": [
118098
+ {
118099
+ "kind": "symbol",
118100
+ "name": "ModifierValuesStencil",
118101
+ "typeParameters": [
118102
+ {
118103
+ "kind": "intersection",
118104
+ "value": [
118105
+ {
118106
+ "kind": "symbol",
118107
+ "name": "ME",
118108
+ "value": "ME"
118109
+ },
118110
+ {
118111
+ "kind": "symbol",
118112
+ "name": "M",
118113
+ "value": "M"
118114
+ }
118115
+ ]
118116
+ }
118117
+ ],
118118
+ "value": "ModifierValuesStencil<M, V>"
118119
+ },
118120
+ {
118121
+ "kind": "symbol",
118122
+ "name": "VariableValuesStencil",
118123
+ "typeParameters": [
118124
+ {
118125
+ "kind": "intersection",
118126
+ "value": [
118127
+ {
118128
+ "kind": "symbol",
118129
+ "name": "VE",
118130
+ "value": "VE"
118131
+ },
118132
+ {
118133
+ "kind": "symbol",
118134
+ "name": "V",
118135
+ "value": "V"
118136
+ }
118137
+ ]
118138
+ }
118139
+ ],
118140
+ "value": "VariableValuesStencil<V>"
118141
+ }
118142
+ ]
118143
+ },
118144
+ "falseType": {
118145
+ "kind": "primitive",
118146
+ "value": "never"
118147
+ }
118148
+ }
118149
+ },
118150
+ "required": false,
118151
+ "rest": false,
118152
+ "description": "",
118153
+ "declarations": [
118154
+ {
118155
+ "name": "options",
118156
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
118157
+ }
118158
+ ],
118159
+ "tags": {}
118160
+ }
118161
+ ],
118162
+ "members": [
118163
+ {
118164
+ "kind": "property",
118165
+ "name": "parts",
118166
+ "required": true,
118167
+ "type": {
118168
+ "kind": "conditional",
118169
+ "check": {
118170
+ "kind": "tuple",
118171
+ "value": [
118172
+ {
118173
+ "kind": "symbol",
118174
+ "name": "E",
118175
+ "value": "E"
118176
+ }
118177
+ ]
118178
+ },
118179
+ "extends": {
118180
+ "kind": "tuple",
118181
+ "value": [
118182
+ {
118183
+ "kind": "symbol",
118184
+ "name": "BaseStencil",
118185
+ "typeParameters": [
118186
+ {
118187
+ "kind": "primitive",
118188
+ "value": "any"
118189
+ },
118190
+ {
118191
+ "kind": "infer",
118192
+ "value": {
118193
+ "kind": "typeParameter",
118194
+ "name": "PE",
118195
+ "required": true
118196
+ }
118197
+ },
118198
+ {
118199
+ "kind": "primitive",
118200
+ "value": "any"
118201
+ },
118202
+ {
118203
+ "kind": "primitive",
118204
+ "value": "any"
118205
+ },
118206
+ {
118207
+ "kind": "primitive",
118208
+ "value": "any"
118209
+ }
118210
+ ],
118211
+ "value": "BaseStencil<M, P, V, E, ID>"
118212
+ }
118213
+ ]
118214
+ },
118215
+ "trueType": {
118216
+ "kind": "symbol",
118217
+ "name": "StencilPartProps",
118218
+ "typeParameters": [
118219
+ {
118220
+ "kind": "intersection",
118221
+ "value": [
118222
+ {
118223
+ "kind": "symbol",
118224
+ "name": "PE",
118225
+ "value": "PE"
118226
+ },
118227
+ {
118228
+ "kind": "symbol",
118229
+ "name": "P",
118230
+ "value": "P"
118231
+ }
118232
+ ]
118233
+ }
118234
+ ],
118235
+ "value": "StencilPartProps<T>"
118236
+ },
118237
+ "falseType": {
118238
+ "kind": "symbol",
118239
+ "name": "StencilPartProps",
118240
+ "typeParameters": [
118241
+ {
118242
+ "kind": "symbol",
118243
+ "name": "P",
118244
+ "value": "P"
118245
+ }
118246
+ ],
118247
+ "value": "StencilPartProps<T>"
118248
+ }
118249
+ },
118250
+ "description": "",
118251
+ "declarations": [
118252
+ {
118253
+ "name": "parts",
118254
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
118255
+ }
118256
+ ],
118257
+ "tags": {}
118258
+ },
118259
+ {
118260
+ "kind": "property",
118261
+ "name": "vars",
118262
+ "required": true,
118263
+ "type": {
118264
+ "kind": "symbol",
118265
+ "name": "StencilDefaultVars",
118266
+ "typeParameters": [
118267
+ {
118268
+ "kind": "symbol",
118269
+ "name": "V",
118270
+ "value": "V"
118271
+ },
118272
+ {
118273
+ "kind": "symbol",
118274
+ "name": "E",
118275
+ "value": "E"
118276
+ },
118277
+ {
118278
+ "kind": "symbol",
118279
+ "name": "ID",
118280
+ "value": "ID"
118281
+ }
118282
+ ],
118283
+ "value": "StencilDefaultVars<V, E, ID>"
118284
+ },
118285
+ "description": "",
118286
+ "declarations": [
118287
+ {
118288
+ "name": "vars",
118289
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
118290
+ }
118291
+ ],
118292
+ "tags": {}
118293
+ },
118294
+ {
118295
+ "kind": "property",
118296
+ "name": "base",
118297
+ "required": true,
118298
+ "type": {
118299
+ "kind": "primitive",
118300
+ "value": "string"
118301
+ },
118302
+ "description": "",
118303
+ "declarations": [
118304
+ {
118305
+ "name": "base",
118306
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
118307
+ }
118308
+ ],
118309
+ "tags": {}
118310
+ },
118311
+ {
118312
+ "kind": "property",
118313
+ "name": "modifiers",
118314
+ "required": true,
118315
+ "type": {
118316
+ "kind": "conditional",
118317
+ "check": {
118318
+ "kind": "tuple",
118319
+ "value": [
118320
+ {
118321
+ "kind": "symbol",
118322
+ "name": "E",
118323
+ "value": "E"
118324
+ }
118325
+ ]
118326
+ },
118327
+ "extends": {
118328
+ "kind": "tuple",
118329
+ "value": [
118330
+ {
118331
+ "kind": "symbol",
118332
+ "name": "BaseStencil",
118333
+ "typeParameters": [
118334
+ {
118335
+ "kind": "infer",
118336
+ "value": {
118337
+ "kind": "typeParameter",
118338
+ "name": "ME",
118339
+ "required": true
118340
+ }
118341
+ },
118342
+ {
118343
+ "kind": "primitive",
118344
+ "value": "any"
118345
+ },
118346
+ {
118347
+ "kind": "infer",
118348
+ "value": {
118349
+ "kind": "typeParameter",
118350
+ "name": "VE",
118351
+ "required": true
118352
+ }
118353
+ },
118354
+ {
118355
+ "kind": "primitive",
118356
+ "value": "any"
118357
+ },
118358
+ {
118359
+ "kind": "primitive",
118360
+ "value": "any"
118361
+ }
118362
+ ],
118363
+ "value": "BaseStencil<M, P, V, E, ID>"
118364
+ }
118365
+ ]
118366
+ },
118367
+ "trueType": {
118368
+ "kind": "symbol",
118369
+ "name": "StencilModifierReturn",
118370
+ "typeParameters": [
118371
+ {
118372
+ "kind": "intersection",
118373
+ "value": [
118374
+ {
118375
+ "kind": "symbol",
118376
+ "name": "ME",
118377
+ "value": "ME"
118378
+ },
118379
+ {
118380
+ "kind": "symbol",
118381
+ "name": "M",
118382
+ "value": "M"
118383
+ }
118384
+ ]
118385
+ },
118386
+ {
118387
+ "kind": "intersection",
118388
+ "value": [
118389
+ {
118390
+ "kind": "symbol",
118391
+ "name": "VE",
118392
+ "value": "VE"
118393
+ },
118394
+ {
118395
+ "kind": "symbol",
118396
+ "name": "V",
118397
+ "value": "V"
118398
+ }
118399
+ ]
118400
+ }
118401
+ ],
118402
+ "value": "StencilModifierReturn<M, V>"
118403
+ },
118404
+ "falseType": {
118405
+ "kind": "symbol",
118406
+ "name": "StencilModifierReturn",
118407
+ "typeParameters": [
118408
+ {
118409
+ "kind": "symbol",
118410
+ "name": "M",
118411
+ "value": "M"
118412
+ },
118413
+ {
118414
+ "kind": "symbol",
118415
+ "name": "V",
118416
+ "value": "V"
118417
+ }
118418
+ ],
118419
+ "value": "StencilModifierReturn<M, V>"
118420
+ }
118421
+ },
118422
+ "description": "",
118423
+ "declarations": [
118424
+ {
118425
+ "name": "modifiers",
118426
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
118427
+ }
118428
+ ],
118429
+ "tags": {}
118430
+ },
118431
+ {
118432
+ "kind": "property",
118433
+ "name": "defaultModifiers",
118434
+ "required": true,
118435
+ "type": {
118436
+ "kind": "conditional",
118437
+ "check": {
118438
+ "kind": "tuple",
118439
+ "value": [
118440
+ {
118441
+ "kind": "symbol",
118442
+ "name": "E",
118443
+ "value": "E"
118444
+ }
118445
+ ]
118446
+ },
118447
+ "extends": {
118448
+ "kind": "tuple",
118449
+ "value": [
118450
+ {
118451
+ "kind": "symbol",
118452
+ "name": "BaseStencil",
118453
+ "typeParameters": [
118454
+ {
118455
+ "kind": "infer",
118456
+ "value": {
118457
+ "kind": "typeParameter",
118458
+ "name": "ME",
118459
+ "required": true
118460
+ }
118461
+ },
118462
+ {
118463
+ "kind": "primitive",
118464
+ "value": "any"
118465
+ },
118466
+ {
118467
+ "kind": "primitive",
118468
+ "value": "any"
118469
+ },
118470
+ {
118471
+ "kind": "primitive",
118472
+ "value": "any"
118473
+ },
118474
+ {
118475
+ "kind": "primitive",
118476
+ "value": "any"
118477
+ }
118478
+ ],
118479
+ "value": "BaseStencil<M, P, V, E, ID>"
118480
+ }
118481
+ ]
118482
+ },
118483
+ "trueType": {
118484
+ "kind": "symbol",
118485
+ "name": "StencilDefaultModifierReturn",
118486
+ "typeParameters": [
118487
+ {
118488
+ "kind": "intersection",
118489
+ "value": [
118490
+ {
118491
+ "kind": "symbol",
118492
+ "name": "ME",
118493
+ "value": "ME"
118494
+ },
118495
+ {
118496
+ "kind": "symbol",
118497
+ "name": "M",
118498
+ "value": "M"
118499
+ }
118500
+ ]
118501
+ }
118502
+ ],
118503
+ "value": "StencilDefaultModifierReturn<M>"
118504
+ },
118505
+ "falseType": {
118506
+ "kind": "symbol",
118507
+ "name": "StencilDefaultModifierReturn",
118508
+ "typeParameters": [
118509
+ {
118510
+ "kind": "symbol",
118511
+ "name": "M",
118512
+ "value": "M"
118513
+ }
118514
+ ],
118515
+ "value": "StencilDefaultModifierReturn<M>"
118516
+ }
118517
+ },
118518
+ "description": "",
118519
+ "declarations": [
118520
+ {
118521
+ "name": "defaultModifiers",
118522
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
118523
+ }
118524
+ ],
118525
+ "tags": {}
118526
+ },
118527
+ {
118528
+ "kind": "property",
118529
+ "name": "__extends",
118530
+ "required": false,
118531
+ "type": {
118532
+ "kind": "symbol",
118533
+ "name": "E",
118534
+ "value": "E"
118535
+ },
118536
+ "description": "",
118537
+ "declarations": [
118538
+ {
118539
+ "name": "__extends",
118540
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
118541
+ }
118542
+ ],
118543
+ "tags": {}
118544
+ },
118545
+ {
118546
+ "kind": "property",
118547
+ "name": "__vars",
118548
+ "required": true,
118549
+ "type": {
118550
+ "kind": "symbol",
118551
+ "name": "V",
118552
+ "value": "V"
118553
+ },
118554
+ "description": "",
118555
+ "declarations": [
118556
+ {
118557
+ "name": "__vars",
118558
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
118559
+ }
118560
+ ],
118561
+ "tags": {}
118562
+ },
118563
+ {
118564
+ "kind": "property",
118565
+ "name": "__modifiers",
118566
+ "required": true,
118567
+ "type": {
118568
+ "kind": "symbol",
118569
+ "name": "M",
118570
+ "value": "M"
118571
+ },
118572
+ "description": "",
118573
+ "declarations": [
118574
+ {
118575
+ "name": "__modifiers",
118576
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
118577
+ }
118578
+ ],
118579
+ "tags": {}
118580
+ },
118581
+ {
118582
+ "kind": "property",
118583
+ "name": "__id",
118584
+ "required": true,
118585
+ "type": {
118586
+ "kind": "symbol",
118587
+ "name": "ID",
118588
+ "value": "ID"
118589
+ },
118590
+ "description": "",
118591
+ "declarations": [
118592
+ {
118593
+ "name": "__id",
118594
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
118595
+ }
118596
+ ],
118597
+ "tags": {}
118598
+ },
118599
+ {
118600
+ "kind": "property",
118601
+ "name": "__parts",
118602
+ "required": false,
118603
+ "type": {
118604
+ "kind": "symbol",
118605
+ "name": "P",
118606
+ "value": "P"
118607
+ },
118608
+ "description": "",
118609
+ "declarations": [
118610
+ {
118611
+ "name": "__parts",
118612
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
118613
+ }
118614
+ ],
118615
+ "tags": {}
118616
+ }
118617
+ ],
118618
+ "returnType": {
118619
+ "kind": "object",
118620
+ "properties": [
118621
+ {
118622
+ "kind": "property",
118623
+ "name": "className",
118624
+ "required": true,
118625
+ "type": {
118626
+ "kind": "primitive",
118627
+ "value": "string"
118628
+ },
118629
+ "description": "",
118630
+ "declarations": [
118631
+ {
118632
+ "name": "className",
118633
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
118634
+ }
118635
+ ],
118636
+ "tags": {}
118637
+ },
118638
+ {
118639
+ "kind": "property",
118640
+ "name": "style",
118641
+ "required": false,
118642
+ "type": {
118643
+ "kind": "external",
118644
+ "name": "Record",
118645
+ "url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type",
118646
+ "typeParameters": [
118647
+ {
118648
+ "kind": "primitive",
118649
+ "value": "string"
118650
+ },
118651
+ {
118652
+ "kind": "primitive",
118653
+ "value": "string"
118654
+ }
118655
+ ]
118656
+ },
118657
+ "description": "",
118658
+ "declarations": [
118659
+ {
118660
+ "name": "style",
118661
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
118662
+ }
118663
+ ],
118664
+ "tags": {}
118665
+ }
118666
+ ]
118667
+ }
118668
+ }
118669
+ },
117981
118670
  {
117982
118671
  "name": "ToolbarDropdownButton",
117983
118672
  "fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/ToolbarDropdownButton.tsx",
@@ -117996,460 +118685,1131 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
117996
118685
  "props": [
117997
118686
  {
117998
118687
  "kind": "property",
117999
- "name": "fill",
118688
+ "name": "fill",
118689
+ "required": false,
118690
+ "type": {
118691
+ "kind": "primitive",
118692
+ "value": "string"
118693
+ },
118694
+ "description": "The fill color of the SystemIcon. This overrides `color`.",
118695
+ "declarations": [
118696
+ {
118697
+ "name": "fill",
118698
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
118699
+ }
118700
+ ],
118701
+ "tags": {
118702
+ "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`."
118703
+ }
118704
+ },
118705
+ {
118706
+ "kind": "property",
118707
+ "name": "background",
118708
+ "required": false,
118709
+ "type": {
118710
+ "kind": "primitive",
118711
+ "value": "string"
118712
+ },
118713
+ "description": "The background color of the SystemIcon.",
118714
+ "declarations": [
118715
+ {
118716
+ "name": "background",
118717
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
118718
+ }
118719
+ ],
118720
+ "tags": {
118721
+ "default": "transparent"
118722
+ },
118723
+ "defaultValue": {
118724
+ "kind": "symbol",
118725
+ "name": "transparent",
118726
+ "value": "transparent"
118727
+ }
118728
+ },
118729
+ {
118730
+ "kind": "property",
118731
+ "name": "color",
118732
+ "required": false,
118733
+ "type": {
118734
+ "kind": "primitive",
118735
+ "value": "string"
118736
+ },
118737
+ "description": "The color of the SystemIcon. This defines `accent` and `fill`. `color` may be overwritten by `accent` and `fill`.",
118738
+ "declarations": [
118739
+ {
118740
+ "name": "color",
118741
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
118742
+ }
118743
+ ],
118744
+ "tags": {
118745
+ "default": "base.licorice200"
118746
+ },
118747
+ "defaultValue": {
118748
+ "kind": "symbol",
118749
+ "name": "base.licorice200",
118750
+ "value": "base.licorice200"
118751
+ }
118752
+ },
118753
+ {
118754
+ "kind": "property",
118755
+ "name": "shouldMirror",
118756
+ "required": false,
118757
+ "type": {
118758
+ "kind": "primitive",
118759
+ "value": "boolean"
118760
+ },
118761
+ "description": "If set to `true`, transform the SVG's x-axis to mirror the graphic",
118762
+ "declarations": [
118763
+ {
118764
+ "name": "shouldMirror",
118765
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/Svg.tsx"
118766
+ }
118767
+ ],
118768
+ "tags": {
118769
+ "default": "false"
118770
+ },
118771
+ "defaultValue": {
118772
+ "kind": "boolean",
118773
+ "value": false
118774
+ }
118775
+ },
118776
+ {
118777
+ "kind": "property",
118778
+ "name": "cs",
118779
+ "required": false,
118780
+ "type": {
118781
+ "kind": "symbol",
118782
+ "name": "CSToPropsInput",
118783
+ "value": "CSToPropsInput"
118784
+ },
118785
+ "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```",
118786
+ "declarations": [
118787
+ {
118788
+ "name": "cs",
118789
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
118790
+ }
118791
+ ],
118792
+ "tags": {}
118793
+ },
118794
+ {
118795
+ "kind": "property",
118796
+ "name": "children",
118797
+ "required": false,
118798
+ "type": {
118799
+ "kind": "external",
118800
+ "name": "ReactNode",
118801
+ "url": "https://reactjs.org/docs/rendering-elements.html"
118802
+ },
118803
+ "description": "",
118804
+ "declarations": [
118805
+ {
118806
+ "name": "children",
118807
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/BaseButton.tsx"
118808
+ }
118809
+ ],
118810
+ "tags": {}
118811
+ },
118812
+ {
118813
+ "kind": "property",
118814
+ "name": "icon",
118815
+ "required": false,
118816
+ "type": {
118817
+ "kind": "symbol",
118818
+ "name": "CanvasSystemIcon",
118819
+ "value": "CanvasSystemIcon"
118820
+ },
118821
+ "description": "The icon of the Button.\nNote: Not displayed at `small` size",
118822
+ "declarations": [
118823
+ {
118824
+ "name": "icon",
118825
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/BaseButton.tsx"
118826
+ }
118827
+ ],
118828
+ "tags": {}
118829
+ },
118830
+ {
118831
+ "kind": "property",
118832
+ "name": "accent",
118833
+ "required": false,
118834
+ "type": {
118835
+ "kind": "primitive",
118836
+ "value": "string"
118837
+ },
118838
+ "description": "The accent color of the SystemIcon. This overrides `color`.",
118839
+ "declarations": [
118840
+ {
118841
+ "name": "accent",
118842
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
118843
+ }
118844
+ ],
118845
+ "tags": {}
118846
+ },
118847
+ {
118848
+ "kind": "property",
118849
+ "name": "accentHover",
118850
+ "required": false,
118851
+ "type": {
118852
+ "kind": "primitive",
118853
+ "value": "string"
118854
+ },
118855
+ "description": "The accent color of the SystemIcon on hover. This overrides `colorHover`.",
118856
+ "declarations": [
118857
+ {
118858
+ "name": "accentHover",
118859
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
118860
+ }
118861
+ ],
118862
+ "tags": {
118863
+ "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```"
118864
+ }
118865
+ },
118866
+ {
118867
+ "kind": "property",
118868
+ "name": "backgroundHover",
118869
+ "required": false,
118870
+ "type": {
118871
+ "kind": "primitive",
118872
+ "value": "string"
118873
+ },
118874
+ "description": "The background color of the SystemIcon on hover.",
118875
+ "declarations": [
118876
+ {
118877
+ "name": "backgroundHover",
118878
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
118879
+ }
118880
+ ],
118881
+ "tags": {
118882
+ "default": "transparent",
118883
+ "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```"
118884
+ },
118885
+ "defaultValue": {
118886
+ "kind": "symbol",
118887
+ "name": "transparent",
118888
+ "value": "transparent"
118889
+ }
118890
+ },
118891
+ {
118892
+ "kind": "property",
118893
+ "name": "colorHover",
118894
+ "required": false,
118895
+ "type": {
118896
+ "kind": "primitive",
118897
+ "value": "string"
118898
+ },
118899
+ "description": "The hover color of the SystemIcon. This defines `accentHover` and `fillHover`. `colorHover` may be overwritten by `accentHover` and `fillHover`.",
118900
+ "declarations": [
118901
+ {
118902
+ "name": "colorHover",
118903
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
118904
+ }
118905
+ ],
118906
+ "tags": {
118907
+ "default": "base.licorice200",
118908
+ "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```"
118909
+ },
118910
+ "defaultValue": {
118911
+ "kind": "symbol",
118912
+ "name": "base.licorice200",
118913
+ "value": "base.licorice200"
118914
+ }
118915
+ },
118916
+ {
118917
+ "kind": "property",
118918
+ "name": "fillHover",
118000
118919
  "required": false,
118001
118920
  "type": {
118002
118921
  "kind": "primitive",
118003
118922
  "value": "string"
118004
118923
  },
118005
- "description": "The fill color of the SystemIcon. This overrides `color`.",
118924
+ "description": "The fill color of the SystemIcon on hover. This overrides `colorHover`.",
118006
118925
  "declarations": [
118007
118926
  {
118008
- "name": "fill",
118927
+ "name": "fillHover",
118009
118928
  "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
118010
118929
  }
118011
118930
  ],
118012
118931
  "tags": {
118013
- "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`."
118932
+ "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```"
118014
118933
  }
118015
118934
  },
118016
118935
  {
118017
118936
  "kind": "property",
118018
- "name": "background",
118937
+ "name": "colors",
118938
+ "required": false,
118939
+ "type": {
118940
+ "kind": "symbol",
118941
+ "name": "ButtonColors",
118942
+ "value": "ButtonColors"
118943
+ },
118944
+ "description": "Override default colors of a button. The default will depend on the button type",
118945
+ "declarations": [
118946
+ {
118947
+ "name": "colors",
118948
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/BaseButton.tsx"
118949
+ }
118950
+ ],
118951
+ "tags": {}
118952
+ },
118953
+ {
118954
+ "kind": "property",
118955
+ "name": "fillIcon",
118019
118956
  "required": false,
118020
118957
  "type": {
118021
118958
  "kind": "primitive",
118022
- "value": "string"
118959
+ "value": "boolean"
118023
118960
  },
118024
- "description": "The background color of the SystemIcon.",
118961
+ "description": "Whether the icon should received filled (colored background layer) or regular styles.\nCorresponds to `toggled` in ToolbarIconButton",
118025
118962
  "declarations": [
118026
118963
  {
118027
- "name": "background",
118028
- "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
118964
+ "name": "fillIcon",
118965
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/BaseButton.tsx"
118966
+ }
118967
+ ],
118968
+ "tags": {}
118969
+ },
118970
+ {
118971
+ "kind": "property",
118972
+ "name": "iconPosition",
118973
+ "required": false,
118974
+ "type": {
118975
+ "kind": "union",
118976
+ "value": [
118977
+ {
118978
+ "kind": "string",
118979
+ "value": "start"
118980
+ },
118981
+ {
118982
+ "kind": "string",
118983
+ "value": "end"
118984
+ }
118985
+ ]
118986
+ },
118987
+ "description": "Button icon positions can either be `start` or `end`.\nIf no value is provided, it defaults to `start`.",
118988
+ "declarations": [
118989
+ {
118990
+ "name": "iconPosition",
118991
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/Button.tsx"
118029
118992
  }
118030
118993
  ],
118031
118994
  "tags": {
118032
- "default": "transparent"
118995
+ "default": "'start'"
118033
118996
  },
118034
118997
  "defaultValue": {
118035
- "kind": "symbol",
118036
- "name": "transparent",
118037
- "value": "transparent"
118998
+ "kind": "string",
118999
+ "value": "start"
118038
119000
  }
118039
119001
  },
118040
119002
  {
118041
119003
  "kind": "property",
118042
- "name": "color",
119004
+ "name": "shouldMirrorIcon",
118043
119005
  "required": false,
118044
119006
  "type": {
118045
119007
  "kind": "primitive",
118046
- "value": "string"
119008
+ "value": "boolean"
118047
119009
  },
118048
- "description": "The color of the SystemIcon. This defines `accent` and `fill`. `color` may be overwritten by `accent` and `fill`.",
119010
+ "description": "If set to `true`, transform the icon's x-axis to mirror the graphic",
118049
119011
  "declarations": [
118050
119012
  {
118051
- "name": "color",
118052
- "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
119013
+ "name": "shouldMirrorIcon",
119014
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/ToolbarIconButton.tsx"
118053
119015
  }
118054
119016
  ],
118055
- "tags": {
118056
- "default": "base.licorice200"
118057
- },
119017
+ "tags": {},
118058
119018
  "defaultValue": {
118059
- "kind": "symbol",
118060
- "name": "base.licorice200",
118061
- "value": "base.licorice200"
119019
+ "kind": "boolean",
119020
+ "value": false
118062
119021
  }
118063
119022
  },
118064
119023
  {
118065
119024
  "kind": "property",
118066
- "name": "shouldMirror",
119025
+ "name": "grow",
118067
119026
  "required": false,
118068
119027
  "type": {
118069
119028
  "kind": "primitive",
118070
119029
  "value": "boolean"
118071
119030
  },
118072
- "description": "If set to `true`, transform the SVG's x-axis to mirror the graphic",
119031
+ "description": "True if the component should grow to its container's width. False otherwise.",
118073
119032
  "declarations": [
118074
119033
  {
118075
- "name": "shouldMirror",
118076
- "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/Svg.tsx"
119034
+ "name": "grow",
119035
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/types.ts"
119036
+ }
119037
+ ],
119038
+ "tags": {}
119039
+ },
119040
+ {
119041
+ "kind": "property",
119042
+ "name": "isThemeable",
119043
+ "required": false,
119044
+ "type": {
119045
+ "kind": "primitive",
119046
+ "value": "boolean"
119047
+ },
119048
+ "description": "",
119049
+ "declarations": [
119050
+ {
119051
+ "name": "isThemeable",
119052
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/TertiaryButton.tsx"
119053
+ }
119054
+ ],
119055
+ "tags": {}
119056
+ },
119057
+ {
119058
+ "kind": "property",
119059
+ "name": "as",
119060
+ "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.",
119061
+ "tags": {},
119062
+ "declarations": [],
119063
+ "type": {
119064
+ "kind": "external",
119065
+ "name": "React.ElementType",
119066
+ "url": "https://developer.mozilla.org/en-US/docs/Web/API/element"
119067
+ },
119068
+ "defaultValue": {
119069
+ "kind": "external",
119070
+ "name": "button",
119071
+ "url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button"
119072
+ }
119073
+ },
119074
+ {
119075
+ "kind": "property",
119076
+ "name": "ref",
119077
+ "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`).",
119078
+ "tags": {},
119079
+ "declarations": [],
119080
+ "type": {
119081
+ "kind": "external",
119082
+ "name": "React.Ref",
119083
+ "url": "https://reactjs.org/docs/refs-and-the-dom.html",
119084
+ "typeParameters": [
119085
+ {
119086
+ "kind": "typeParameter",
119087
+ "name": "R",
119088
+ "required": true,
119089
+ "defaultValue": {
119090
+ "kind": "external",
119091
+ "name": "button",
119092
+ "url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button"
119093
+ }
119094
+ }
119095
+ ]
119096
+ }
119097
+ }
119098
+ ],
119099
+ "baseElement": {
119100
+ "kind": "external",
119101
+ "name": "button",
119102
+ "url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button"
119103
+ },
119104
+ "styleComponent": {
119105
+ "kind": "symbol",
119106
+ "name": "Box"
119107
+ }
119108
+ }
119109
+ },
119110
+ {
119111
+ "name": "ToolbarIconButtonProps",
119112
+ "fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/ToolbarIconButton.tsx",
119113
+ "description": "",
119114
+ "declarations": [
119115
+ {
119116
+ "name": "ToolbarIconButtonProps",
119117
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/ToolbarIconButton.tsx"
119118
+ }
119119
+ ],
119120
+ "tags": {},
119121
+ "type": {
119122
+ "kind": "alias",
119123
+ "name": "ToolbarIconButton"
119124
+ }
119125
+ },
119126
+ {
119127
+ "name": "toolbarIconButtonStencil",
119128
+ "fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/ToolbarIconButton.tsx",
119129
+ "description": "",
119130
+ "declarations": [
119131
+ {
119132
+ "name": "toolbarIconButtonStencil",
119133
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/ToolbarIconButton.tsx"
119134
+ }
119135
+ ],
119136
+ "tags": {},
119137
+ "type": {
119138
+ "kind": "function",
119139
+ "parameters": [
119140
+ {
119141
+ "kind": "parameter",
119142
+ "name": "options",
119143
+ "type": {
119144
+ "kind": "conditional",
119145
+ "check": {
119146
+ "kind": "tuple",
119147
+ "value": [
119148
+ {
119149
+ "kind": "symbol",
119150
+ "name": "E",
119151
+ "value": "E"
119152
+ }
119153
+ ]
119154
+ },
119155
+ "extends": {
119156
+ "kind": "tuple",
119157
+ "value": [
119158
+ {
119159
+ "kind": "primitive",
119160
+ "value": "never"
119161
+ }
119162
+ ]
119163
+ },
119164
+ "trueType": {
119165
+ "kind": "intersection",
119166
+ "value": [
119167
+ {
119168
+ "kind": "symbol",
119169
+ "name": "ModifierValuesStencil",
119170
+ "typeParameters": [
119171
+ {
119172
+ "kind": "symbol",
119173
+ "name": "M",
119174
+ "value": "M"
119175
+ },
119176
+ {
119177
+ "kind": "symbol",
119178
+ "name": "V",
119179
+ "value": "V"
119180
+ }
119181
+ ],
119182
+ "value": "ModifierValuesStencil<M, V>"
119183
+ },
119184
+ {
119185
+ "kind": "symbol",
119186
+ "name": "VariableValuesStencil",
119187
+ "typeParameters": [
119188
+ {
119189
+ "kind": "symbol",
119190
+ "name": "V",
119191
+ "value": "V"
119192
+ }
119193
+ ],
119194
+ "value": "VariableValuesStencil<V>"
119195
+ }
119196
+ ]
119197
+ },
119198
+ "falseType": {
119199
+ "kind": "conditional",
119200
+ "check": {
119201
+ "kind": "symbol",
119202
+ "name": "E",
119203
+ "value": "E"
119204
+ },
119205
+ "extends": {
119206
+ "kind": "symbol",
119207
+ "name": "BaseStencil",
119208
+ "typeParameters": [
119209
+ {
119210
+ "kind": "infer",
119211
+ "value": {
119212
+ "kind": "typeParameter",
119213
+ "name": "ME",
119214
+ "required": true
119215
+ }
119216
+ },
119217
+ {
119218
+ "kind": "primitive",
119219
+ "value": "any"
119220
+ },
119221
+ {
119222
+ "kind": "infer",
119223
+ "value": {
119224
+ "kind": "typeParameter",
119225
+ "name": "VE",
119226
+ "required": true
119227
+ }
119228
+ },
119229
+ {
119230
+ "kind": "primitive",
119231
+ "value": "any"
119232
+ },
119233
+ {
119234
+ "kind": "primitive",
119235
+ "value": "any"
119236
+ }
119237
+ ],
119238
+ "value": "BaseStencil<M, P, V, E, ID>"
119239
+ },
119240
+ "trueType": {
119241
+ "kind": "intersection",
119242
+ "value": [
119243
+ {
119244
+ "kind": "symbol",
119245
+ "name": "ModifierValuesStencil",
119246
+ "typeParameters": [
119247
+ {
119248
+ "kind": "intersection",
119249
+ "value": [
119250
+ {
119251
+ "kind": "symbol",
119252
+ "name": "ME",
119253
+ "value": "ME"
119254
+ },
119255
+ {
119256
+ "kind": "symbol",
119257
+ "name": "M",
119258
+ "value": "M"
119259
+ }
119260
+ ]
119261
+ }
119262
+ ],
119263
+ "value": "ModifierValuesStencil<M, V>"
119264
+ },
119265
+ {
119266
+ "kind": "symbol",
119267
+ "name": "VariableValuesStencil",
119268
+ "typeParameters": [
119269
+ {
119270
+ "kind": "intersection",
119271
+ "value": [
119272
+ {
119273
+ "kind": "symbol",
119274
+ "name": "VE",
119275
+ "value": "VE"
119276
+ },
119277
+ {
119278
+ "kind": "symbol",
119279
+ "name": "V",
119280
+ "value": "V"
119281
+ }
119282
+ ]
119283
+ }
119284
+ ],
119285
+ "value": "VariableValuesStencil<V>"
119286
+ }
119287
+ ]
119288
+ },
119289
+ "falseType": {
119290
+ "kind": "primitive",
119291
+ "value": "never"
119292
+ }
118077
119293
  }
118078
- ],
118079
- "tags": {
118080
- "default": "false"
118081
119294
  },
118082
- "defaultValue": {
118083
- "kind": "boolean",
118084
- "value": false
118085
- }
118086
- },
118087
- {
118088
- "kind": "property",
118089
- "name": "cs",
118090
119295
  "required": false,
118091
- "type": {
118092
- "kind": "symbol",
118093
- "name": "CSToPropsInput",
118094
- "value": "CSToPropsInput"
118095
- },
118096
- "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```",
119296
+ "rest": false,
119297
+ "description": "",
118097
119298
  "declarations": [
118098
119299
  {
118099
- "name": "cs",
119300
+ "name": "options",
118100
119301
  "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
118101
119302
  }
118102
119303
  ],
118103
119304
  "tags": {}
118104
- },
119305
+ }
119306
+ ],
119307
+ "members": [
118105
119308
  {
118106
119309
  "kind": "property",
118107
- "name": "children",
118108
- "required": false,
119310
+ "name": "parts",
119311
+ "required": true,
118109
119312
  "type": {
118110
- "kind": "external",
118111
- "name": "ReactNode",
118112
- "url": "https://reactjs.org/docs/rendering-elements.html"
119313
+ "kind": "conditional",
119314
+ "check": {
119315
+ "kind": "tuple",
119316
+ "value": [
119317
+ {
119318
+ "kind": "symbol",
119319
+ "name": "E",
119320
+ "value": "E"
119321
+ }
119322
+ ]
119323
+ },
119324
+ "extends": {
119325
+ "kind": "tuple",
119326
+ "value": [
119327
+ {
119328
+ "kind": "symbol",
119329
+ "name": "BaseStencil",
119330
+ "typeParameters": [
119331
+ {
119332
+ "kind": "primitive",
119333
+ "value": "any"
119334
+ },
119335
+ {
119336
+ "kind": "infer",
119337
+ "value": {
119338
+ "kind": "typeParameter",
119339
+ "name": "PE",
119340
+ "required": true
119341
+ }
119342
+ },
119343
+ {
119344
+ "kind": "primitive",
119345
+ "value": "any"
119346
+ },
119347
+ {
119348
+ "kind": "primitive",
119349
+ "value": "any"
119350
+ },
119351
+ {
119352
+ "kind": "primitive",
119353
+ "value": "any"
119354
+ }
119355
+ ],
119356
+ "value": "BaseStencil<M, P, V, E, ID>"
119357
+ }
119358
+ ]
119359
+ },
119360
+ "trueType": {
119361
+ "kind": "symbol",
119362
+ "name": "StencilPartProps",
119363
+ "typeParameters": [
119364
+ {
119365
+ "kind": "intersection",
119366
+ "value": [
119367
+ {
119368
+ "kind": "symbol",
119369
+ "name": "PE",
119370
+ "value": "PE"
119371
+ },
119372
+ {
119373
+ "kind": "symbol",
119374
+ "name": "P",
119375
+ "value": "P"
119376
+ }
119377
+ ]
119378
+ }
119379
+ ],
119380
+ "value": "StencilPartProps<T>"
119381
+ },
119382
+ "falseType": {
119383
+ "kind": "symbol",
119384
+ "name": "StencilPartProps",
119385
+ "typeParameters": [
119386
+ {
119387
+ "kind": "symbol",
119388
+ "name": "P",
119389
+ "value": "P"
119390
+ }
119391
+ ],
119392
+ "value": "StencilPartProps<T>"
119393
+ }
118113
119394
  },
118114
119395
  "description": "",
118115
119396
  "declarations": [
118116
119397
  {
118117
- "name": "children",
118118
- "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/BaseButton.tsx"
119398
+ "name": "parts",
119399
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
118119
119400
  }
118120
119401
  ],
118121
119402
  "tags": {}
118122
119403
  },
118123
119404
  {
118124
119405
  "kind": "property",
118125
- "name": "icon",
118126
- "required": false,
119406
+ "name": "vars",
119407
+ "required": true,
118127
119408
  "type": {
118128
119409
  "kind": "symbol",
118129
- "name": "CanvasSystemIcon",
118130
- "value": "CanvasSystemIcon"
118131
- },
118132
- "description": "The icon of the Button.\nNote: Not displayed at `small` size",
118133
- "declarations": [
118134
- {
118135
- "name": "icon",
118136
- "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/BaseButton.tsx"
118137
- }
118138
- ],
118139
- "tags": {}
118140
- },
118141
- {
118142
- "kind": "property",
118143
- "name": "accent",
118144
- "required": false,
118145
- "type": {
118146
- "kind": "primitive",
118147
- "value": "string"
119410
+ "name": "StencilDefaultVars",
119411
+ "typeParameters": [
119412
+ {
119413
+ "kind": "symbol",
119414
+ "name": "V",
119415
+ "value": "V"
119416
+ },
119417
+ {
119418
+ "kind": "symbol",
119419
+ "name": "E",
119420
+ "value": "E"
119421
+ },
119422
+ {
119423
+ "kind": "symbol",
119424
+ "name": "ID",
119425
+ "value": "ID"
119426
+ }
119427
+ ],
119428
+ "value": "StencilDefaultVars<V, E, ID>"
118148
119429
  },
118149
- "description": "The accent color of the SystemIcon. This overrides `color`.",
119430
+ "description": "",
118150
119431
  "declarations": [
118151
119432
  {
118152
- "name": "accent",
118153
- "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
119433
+ "name": "vars",
119434
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
118154
119435
  }
118155
119436
  ],
118156
119437
  "tags": {}
118157
119438
  },
118158
119439
  {
118159
119440
  "kind": "property",
118160
- "name": "accentHover",
118161
- "required": false,
119441
+ "name": "base",
119442
+ "required": true,
118162
119443
  "type": {
118163
119444
  "kind": "primitive",
118164
119445
  "value": "string"
118165
119446
  },
118166
- "description": "The accent color of the SystemIcon on hover. This overrides `colorHover`.",
119447
+ "description": "",
118167
119448
  "declarations": [
118168
119449
  {
118169
- "name": "accentHover",
118170
- "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
119450
+ "name": "base",
119451
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
118171
119452
  }
118172
119453
  ],
118173
- "tags": {
118174
- "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```"
118175
- }
119454
+ "tags": {}
118176
119455
  },
118177
119456
  {
118178
119457
  "kind": "property",
118179
- "name": "backgroundHover",
118180
- "required": false,
119458
+ "name": "modifiers",
119459
+ "required": true,
118181
119460
  "type": {
118182
- "kind": "primitive",
118183
- "value": "string"
118184
- },
118185
- "description": "The background color of the SystemIcon on hover.",
118186
- "declarations": [
118187
- {
118188
- "name": "backgroundHover",
118189
- "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
119461
+ "kind": "conditional",
119462
+ "check": {
119463
+ "kind": "tuple",
119464
+ "value": [
119465
+ {
119466
+ "kind": "symbol",
119467
+ "name": "E",
119468
+ "value": "E"
119469
+ }
119470
+ ]
119471
+ },
119472
+ "extends": {
119473
+ "kind": "tuple",
119474
+ "value": [
119475
+ {
119476
+ "kind": "symbol",
119477
+ "name": "BaseStencil",
119478
+ "typeParameters": [
119479
+ {
119480
+ "kind": "infer",
119481
+ "value": {
119482
+ "kind": "typeParameter",
119483
+ "name": "ME",
119484
+ "required": true
119485
+ }
119486
+ },
119487
+ {
119488
+ "kind": "primitive",
119489
+ "value": "any"
119490
+ },
119491
+ {
119492
+ "kind": "infer",
119493
+ "value": {
119494
+ "kind": "typeParameter",
119495
+ "name": "VE",
119496
+ "required": true
119497
+ }
119498
+ },
119499
+ {
119500
+ "kind": "primitive",
119501
+ "value": "any"
119502
+ },
119503
+ {
119504
+ "kind": "primitive",
119505
+ "value": "any"
119506
+ }
119507
+ ],
119508
+ "value": "BaseStencil<M, P, V, E, ID>"
119509
+ }
119510
+ ]
119511
+ },
119512
+ "trueType": {
119513
+ "kind": "symbol",
119514
+ "name": "StencilModifierReturn",
119515
+ "typeParameters": [
119516
+ {
119517
+ "kind": "intersection",
119518
+ "value": [
119519
+ {
119520
+ "kind": "symbol",
119521
+ "name": "ME",
119522
+ "value": "ME"
119523
+ },
119524
+ {
119525
+ "kind": "symbol",
119526
+ "name": "M",
119527
+ "value": "M"
119528
+ }
119529
+ ]
119530
+ },
119531
+ {
119532
+ "kind": "intersection",
119533
+ "value": [
119534
+ {
119535
+ "kind": "symbol",
119536
+ "name": "VE",
119537
+ "value": "VE"
119538
+ },
119539
+ {
119540
+ "kind": "symbol",
119541
+ "name": "V",
119542
+ "value": "V"
119543
+ }
119544
+ ]
119545
+ }
119546
+ ],
119547
+ "value": "StencilModifierReturn<M, V>"
119548
+ },
119549
+ "falseType": {
119550
+ "kind": "symbol",
119551
+ "name": "StencilModifierReturn",
119552
+ "typeParameters": [
119553
+ {
119554
+ "kind": "symbol",
119555
+ "name": "M",
119556
+ "value": "M"
119557
+ },
119558
+ {
119559
+ "kind": "symbol",
119560
+ "name": "V",
119561
+ "value": "V"
119562
+ }
119563
+ ],
119564
+ "value": "StencilModifierReturn<M, V>"
118190
119565
  }
118191
- ],
118192
- "tags": {
118193
- "default": "transparent",
118194
- "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```"
118195
- },
118196
- "defaultValue": {
118197
- "kind": "symbol",
118198
- "name": "transparent",
118199
- "value": "transparent"
118200
- }
118201
- },
118202
- {
118203
- "kind": "property",
118204
- "name": "colorHover",
118205
- "required": false,
118206
- "type": {
118207
- "kind": "primitive",
118208
- "value": "string"
118209
119566
  },
118210
- "description": "The hover color of the SystemIcon. This defines `accentHover` and `fillHover`. `colorHover` may be overwritten by `accentHover` and `fillHover`.",
119567
+ "description": "",
118211
119568
  "declarations": [
118212
119569
  {
118213
- "name": "colorHover",
118214
- "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
119570
+ "name": "modifiers",
119571
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
118215
119572
  }
118216
119573
  ],
118217
- "tags": {
118218
- "default": "base.licorice200",
118219
- "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```"
118220
- },
118221
- "defaultValue": {
118222
- "kind": "symbol",
118223
- "name": "base.licorice200",
118224
- "value": "base.licorice200"
118225
- }
119574
+ "tags": {}
118226
119575
  },
118227
119576
  {
118228
119577
  "kind": "property",
118229
- "name": "fillHover",
118230
- "required": false,
119578
+ "name": "defaultModifiers",
119579
+ "required": true,
118231
119580
  "type": {
118232
- "kind": "primitive",
118233
- "value": "string"
118234
- },
118235
- "description": "The fill color of the SystemIcon on hover. This overrides `colorHover`.",
118236
- "declarations": [
118237
- {
118238
- "name": "fillHover",
118239
- "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/icon/lib/SystemIcon.tsx"
119581
+ "kind": "conditional",
119582
+ "check": {
119583
+ "kind": "tuple",
119584
+ "value": [
119585
+ {
119586
+ "kind": "symbol",
119587
+ "name": "E",
119588
+ "value": "E"
119589
+ }
119590
+ ]
119591
+ },
119592
+ "extends": {
119593
+ "kind": "tuple",
119594
+ "value": [
119595
+ {
119596
+ "kind": "symbol",
119597
+ "name": "BaseStencil",
119598
+ "typeParameters": [
119599
+ {
119600
+ "kind": "infer",
119601
+ "value": {
119602
+ "kind": "typeParameter",
119603
+ "name": "ME",
119604
+ "required": true
119605
+ }
119606
+ },
119607
+ {
119608
+ "kind": "primitive",
119609
+ "value": "any"
119610
+ },
119611
+ {
119612
+ "kind": "primitive",
119613
+ "value": "any"
119614
+ },
119615
+ {
119616
+ "kind": "primitive",
119617
+ "value": "any"
119618
+ },
119619
+ {
119620
+ "kind": "primitive",
119621
+ "value": "any"
119622
+ }
119623
+ ],
119624
+ "value": "BaseStencil<M, P, V, E, ID>"
119625
+ }
119626
+ ]
119627
+ },
119628
+ "trueType": {
119629
+ "kind": "symbol",
119630
+ "name": "StencilDefaultModifierReturn",
119631
+ "typeParameters": [
119632
+ {
119633
+ "kind": "intersection",
119634
+ "value": [
119635
+ {
119636
+ "kind": "symbol",
119637
+ "name": "ME",
119638
+ "value": "ME"
119639
+ },
119640
+ {
119641
+ "kind": "symbol",
119642
+ "name": "M",
119643
+ "value": "M"
119644
+ }
119645
+ ]
119646
+ }
119647
+ ],
119648
+ "value": "StencilDefaultModifierReturn<M>"
119649
+ },
119650
+ "falseType": {
119651
+ "kind": "symbol",
119652
+ "name": "StencilDefaultModifierReturn",
119653
+ "typeParameters": [
119654
+ {
119655
+ "kind": "symbol",
119656
+ "name": "M",
119657
+ "value": "M"
119658
+ }
119659
+ ],
119660
+ "value": "StencilDefaultModifierReturn<M>"
118240
119661
  }
118241
- ],
118242
- "tags": {
118243
- "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```"
118244
- }
118245
- },
118246
- {
118247
- "kind": "property",
118248
- "name": "colors",
118249
- "required": false,
118250
- "type": {
118251
- "kind": "symbol",
118252
- "name": "ButtonColors",
118253
- "value": "ButtonColors"
118254
119662
  },
118255
- "description": "Override default colors of a button. The default will depend on the button type",
119663
+ "description": "",
118256
119664
  "declarations": [
118257
119665
  {
118258
- "name": "colors",
118259
- "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/BaseButton.tsx"
119666
+ "name": "defaultModifiers",
119667
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
118260
119668
  }
118261
119669
  ],
118262
119670
  "tags": {}
118263
119671
  },
118264
119672
  {
118265
119673
  "kind": "property",
118266
- "name": "fillIcon",
119674
+ "name": "__extends",
118267
119675
  "required": false,
118268
119676
  "type": {
118269
- "kind": "primitive",
118270
- "value": "boolean"
119677
+ "kind": "symbol",
119678
+ "name": "E",
119679
+ "value": "E"
118271
119680
  },
118272
- "description": "Whether the icon should received filled (colored background layer) or regular styles.\nCorresponds to `toggled` in ToolbarIconButton",
119681
+ "description": "",
118273
119682
  "declarations": [
118274
119683
  {
118275
- "name": "fillIcon",
118276
- "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/BaseButton.tsx"
119684
+ "name": "__extends",
119685
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
118277
119686
  }
118278
119687
  ],
118279
119688
  "tags": {}
118280
119689
  },
118281
119690
  {
118282
119691
  "kind": "property",
118283
- "name": "iconPosition",
118284
- "required": false,
118285
- "type": {
118286
- "kind": "union",
118287
- "value": [
118288
- {
118289
- "kind": "string",
118290
- "value": "start"
118291
- },
118292
- {
118293
- "kind": "string",
118294
- "value": "end"
118295
- }
118296
- ]
118297
- },
118298
- "description": "Button icon positions can either be `start` or `end`.\nIf no value is provided, it defaults to `start`.",
118299
- "declarations": [
118300
- {
118301
- "name": "iconPosition",
118302
- "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/Button.tsx"
118303
- }
118304
- ],
118305
- "tags": {
118306
- "default": "'start'"
118307
- },
118308
- "defaultValue": {
118309
- "kind": "string",
118310
- "value": "start"
118311
- }
118312
- },
118313
- {
118314
- "kind": "property",
118315
- "name": "shouldMirrorIcon",
118316
- "required": false,
119692
+ "name": "__vars",
119693
+ "required": true,
118317
119694
  "type": {
118318
- "kind": "primitive",
118319
- "value": "boolean"
119695
+ "kind": "symbol",
119696
+ "name": "V",
119697
+ "value": "V"
118320
119698
  },
118321
- "description": "If set to `true`, transform the icon's x-axis to mirror the graphic",
119699
+ "description": "",
118322
119700
  "declarations": [
118323
119701
  {
118324
- "name": "shouldMirrorIcon",
118325
- "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/ToolbarIconButton.tsx"
119702
+ "name": "__vars",
119703
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
118326
119704
  }
118327
119705
  ],
118328
- "tags": {},
118329
- "defaultValue": {
118330
- "kind": "boolean",
118331
- "value": false
118332
- }
119706
+ "tags": {}
118333
119707
  },
118334
119708
  {
118335
119709
  "kind": "property",
118336
- "name": "grow",
118337
- "required": false,
119710
+ "name": "__modifiers",
119711
+ "required": true,
118338
119712
  "type": {
118339
- "kind": "primitive",
118340
- "value": "boolean"
119713
+ "kind": "symbol",
119714
+ "name": "M",
119715
+ "value": "M"
118341
119716
  },
118342
- "description": "True if the component should grow to its container's width. False otherwise.",
119717
+ "description": "",
118343
119718
  "declarations": [
118344
119719
  {
118345
- "name": "grow",
118346
- "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/types.ts"
119720
+ "name": "__modifiers",
119721
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
118347
119722
  }
118348
119723
  ],
118349
119724
  "tags": {}
118350
119725
  },
118351
119726
  {
118352
119727
  "kind": "property",
118353
- "name": "isThemeable",
118354
- "required": false,
119728
+ "name": "__id",
119729
+ "required": true,
118355
119730
  "type": {
118356
- "kind": "primitive",
118357
- "value": "boolean"
119731
+ "kind": "symbol",
119732
+ "name": "ID",
119733
+ "value": "ID"
118358
119734
  },
118359
119735
  "description": "",
118360
119736
  "declarations": [
118361
119737
  {
118362
- "name": "isThemeable",
118363
- "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/TertiaryButton.tsx"
119738
+ "name": "__id",
119739
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
118364
119740
  }
118365
119741
  ],
118366
119742
  "tags": {}
118367
119743
  },
118368
119744
  {
118369
119745
  "kind": "property",
118370
- "name": "theme",
119746
+ "name": "__parts",
118371
119747
  "required": false,
118372
119748
  "type": {
118373
119749
  "kind": "symbol",
118374
- "name": "EmotionCanvasTheme",
118375
- "value": "EmotionCanvasTheme"
119750
+ "name": "P",
119751
+ "value": "P"
118376
119752
  },
118377
119753
  "description": "",
118378
119754
  "declarations": [
118379
119755
  {
118380
- "name": "theme",
118381
- "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/theming/types.ts"
119756
+ "name": "__parts",
119757
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
118382
119758
  }
118383
119759
  ],
118384
119760
  "tags": {}
118385
- },
118386
- {
118387
- "kind": "property",
118388
- "name": "as",
118389
- "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.",
118390
- "tags": {},
118391
- "declarations": [],
118392
- "type": {
118393
- "kind": "external",
118394
- "name": "React.ElementType",
118395
- "url": "https://developer.mozilla.org/en-US/docs/Web/API/element"
118396
- },
118397
- "defaultValue": {
118398
- "kind": "external",
118399
- "name": "button",
118400
- "url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button"
118401
- }
118402
- },
118403
- {
118404
- "kind": "property",
118405
- "name": "ref",
118406
- "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`).",
118407
- "tags": {},
118408
- "declarations": [],
118409
- "type": {
118410
- "kind": "external",
118411
- "name": "React.Ref",
118412
- "url": "https://reactjs.org/docs/refs-and-the-dom.html",
118413
- "typeParameters": [
119761
+ }
119762
+ ],
119763
+ "returnType": {
119764
+ "kind": "object",
119765
+ "properties": [
119766
+ {
119767
+ "kind": "property",
119768
+ "name": "className",
119769
+ "required": true,
119770
+ "type": {
119771
+ "kind": "primitive",
119772
+ "value": "string"
119773
+ },
119774
+ "description": "",
119775
+ "declarations": [
118414
119776
  {
118415
- "kind": "typeParameter",
118416
- "name": "R",
118417
- "required": true,
118418
- "defaultValue": {
118419
- "kind": "external",
118420
- "name": "button",
118421
- "url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button"
119777
+ "name": "className",
119778
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
119779
+ }
119780
+ ],
119781
+ "tags": {}
119782
+ },
119783
+ {
119784
+ "kind": "property",
119785
+ "name": "style",
119786
+ "required": false,
119787
+ "type": {
119788
+ "kind": "external",
119789
+ "name": "Record",
119790
+ "url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type",
119791
+ "typeParameters": [
119792
+ {
119793
+ "kind": "primitive",
119794
+ "value": "string"
119795
+ },
119796
+ {
119797
+ "kind": "primitive",
119798
+ "value": "string"
118422
119799
  }
119800
+ ]
119801
+ },
119802
+ "description": "",
119803
+ "declarations": [
119804
+ {
119805
+ "name": "style",
119806
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/styling/dist/es6/lib/cs.d.ts"
118423
119807
  }
118424
- ]
119808
+ ],
119809
+ "tags": {}
118425
119810
  }
118426
- }
118427
- ],
118428
- "baseElement": {
118429
- "kind": "external",
118430
- "name": "button",
118431
- "url": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button"
118432
- },
118433
- "styleComponent": {
118434
- "kind": "symbol",
118435
- "name": "Box"
118436
- }
118437
- }
118438
- },
118439
- {
118440
- "name": "ToolbarIconButtonProps",
118441
- "fileName": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/ToolbarIconButton.tsx",
118442
- "description": "",
118443
- "declarations": [
118444
- {
118445
- "name": "ToolbarIconButtonProps",
118446
- "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/button/lib/ToolbarIconButton.tsx"
119811
+ ]
118447
119812
  }
118448
- ],
118449
- "tags": {},
118450
- "type": {
118451
- "kind": "alias",
118452
- "name": "ToolbarIconButton"
118453
119813
  }
118454
119814
  },
118455
119815
  {
@@ -118906,24 +120266,6 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
118906
120266
  ],
118907
120267
  "tags": {}
118908
120268
  },
118909
- {
118910
- "kind": "property",
118911
- "name": "theme",
118912
- "required": false,
118913
- "type": {
118914
- "kind": "symbol",
118915
- "name": "EmotionCanvasTheme",
118916
- "value": "EmotionCanvasTheme"
118917
- },
118918
- "description": "",
118919
- "declarations": [
118920
- {
118921
- "name": "theme",
118922
- "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/common/lib/theming/types.ts"
118923
- }
118924
- ],
118925
- "tags": {}
118926
- },
118927
120269
  {
118928
120270
  "kind": "property",
118929
120271
  "name": "as",