@workday/canvas-kit-docs 10.3.47 → 10.3.49

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.
@@ -65186,6 +65186,247 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
65186
65186
  ],
65187
65187
  "tags": {}
65188
65188
  },
65189
+ {
65190
+ "kind": "property",
65191
+ "name": "marginTop",
65192
+ "required": false,
65193
+ "type": {
65194
+ "kind": "union",
65195
+ "value": [
65196
+ {
65197
+ "kind": "primitive",
65198
+ "value": "undefined"
65199
+ },
65200
+ {
65201
+ "kind": "primitive",
65202
+ "value": "number"
65203
+ },
65204
+ {
65205
+ "kind": "intersection",
65206
+ "value": [
65207
+ {
65208
+ "kind": "primitive",
65209
+ "value": "string"
65210
+ },
65211
+ {
65212
+ "kind": "object",
65213
+ "properties": []
65214
+ }
65215
+ ]
65216
+ },
65217
+ {
65218
+ "kind": "string",
65219
+ "value": "s"
65220
+ },
65221
+ {
65222
+ "kind": "string",
65223
+ "value": "zero"
65224
+ },
65225
+ {
65226
+ "kind": "string",
65227
+ "value": "m"
65228
+ },
65229
+ {
65230
+ "kind": "string",
65231
+ "value": "l"
65232
+ },
65233
+ {
65234
+ "kind": "string",
65235
+ "value": "xxxs"
65236
+ },
65237
+ {
65238
+ "kind": "string",
65239
+ "value": "xxs"
65240
+ },
65241
+ {
65242
+ "kind": "string",
65243
+ "value": "xs"
65244
+ },
65245
+ {
65246
+ "kind": "string",
65247
+ "value": "xl"
65248
+ },
65249
+ {
65250
+ "kind": "string",
65251
+ "value": "xxl"
65252
+ },
65253
+ {
65254
+ "kind": "string",
65255
+ "value": "xxxl"
65256
+ }
65257
+ ]
65258
+ },
65259
+ "description": "Set the margin top of the list box. You must use this prop and not style any other way. The\n`Menu` uses virtualization and needs margins to be set on the correct element. This ensure\nproper rendering. If a `marginTop` is not provided, the value falls back to `marginY`.",
65260
+ "declarations": [
65261
+ {
65262
+ "name": "marginTop",
65263
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/collection/lib/ListBox.tsx"
65264
+ }
65265
+ ],
65266
+ "tags": {}
65267
+ },
65268
+ {
65269
+ "kind": "property",
65270
+ "name": "marginBottom",
65271
+ "required": false,
65272
+ "type": {
65273
+ "kind": "union",
65274
+ "value": [
65275
+ {
65276
+ "kind": "primitive",
65277
+ "value": "undefined"
65278
+ },
65279
+ {
65280
+ "kind": "primitive",
65281
+ "value": "number"
65282
+ },
65283
+ {
65284
+ "kind": "intersection",
65285
+ "value": [
65286
+ {
65287
+ "kind": "primitive",
65288
+ "value": "string"
65289
+ },
65290
+ {
65291
+ "kind": "object",
65292
+ "properties": []
65293
+ }
65294
+ ]
65295
+ },
65296
+ {
65297
+ "kind": "string",
65298
+ "value": "s"
65299
+ },
65300
+ {
65301
+ "kind": "string",
65302
+ "value": "zero"
65303
+ },
65304
+ {
65305
+ "kind": "string",
65306
+ "value": "m"
65307
+ },
65308
+ {
65309
+ "kind": "string",
65310
+ "value": "l"
65311
+ },
65312
+ {
65313
+ "kind": "string",
65314
+ "value": "xxxs"
65315
+ },
65316
+ {
65317
+ "kind": "string",
65318
+ "value": "xxs"
65319
+ },
65320
+ {
65321
+ "kind": "string",
65322
+ "value": "xs"
65323
+ },
65324
+ {
65325
+ "kind": "string",
65326
+ "value": "xl"
65327
+ },
65328
+ {
65329
+ "kind": "string",
65330
+ "value": "xxl"
65331
+ },
65332
+ {
65333
+ "kind": "string",
65334
+ "value": "xxxl"
65335
+ }
65336
+ ]
65337
+ },
65338
+ "description": "Set the margin bottom of the list box. You must use this prop and not style any other way. The\n`Menu` uses virtualization and needs margins to be set on the correct element. This ensure\nproper rendering. If a `marginBottom` is not provided, the value falls back to `marginY`.",
65339
+ "declarations": [
65340
+ {
65341
+ "name": "marginBottom",
65342
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/collection/lib/ListBox.tsx"
65343
+ }
65344
+ ],
65345
+ "tags": {}
65346
+ },
65347
+ {
65348
+ "kind": "property",
65349
+ "name": "marginY",
65350
+ "required": false,
65351
+ "type": {
65352
+ "kind": "union",
65353
+ "value": [
65354
+ {
65355
+ "kind": "primitive",
65356
+ "value": "undefined"
65357
+ },
65358
+ {
65359
+ "kind": "primitive",
65360
+ "value": "number"
65361
+ },
65362
+ {
65363
+ "kind": "intersection",
65364
+ "value": [
65365
+ {
65366
+ "kind": "primitive",
65367
+ "value": "string"
65368
+ },
65369
+ {
65370
+ "kind": "object",
65371
+ "properties": []
65372
+ }
65373
+ ]
65374
+ },
65375
+ {
65376
+ "kind": "string",
65377
+ "value": "s"
65378
+ },
65379
+ {
65380
+ "kind": "string",
65381
+ "value": "zero"
65382
+ },
65383
+ {
65384
+ "kind": "string",
65385
+ "value": "m"
65386
+ },
65387
+ {
65388
+ "kind": "string",
65389
+ "value": "l"
65390
+ },
65391
+ {
65392
+ "kind": "string",
65393
+ "value": "xxxs"
65394
+ },
65395
+ {
65396
+ "kind": "string",
65397
+ "value": "xxs"
65398
+ },
65399
+ {
65400
+ "kind": "string",
65401
+ "value": "xs"
65402
+ },
65403
+ {
65404
+ "kind": "string",
65405
+ "value": "xl"
65406
+ },
65407
+ {
65408
+ "kind": "string",
65409
+ "value": "xxl"
65410
+ },
65411
+ {
65412
+ "kind": "string",
65413
+ "value": "xxxl"
65414
+ }
65415
+ ]
65416
+ },
65417
+ "description": "Set the margin top and bottom of the list box. You must use this prop and not style any other way. The\n`Menu` uses virtualization and needs margins to be set on the correct element. This ensure\nproper rendering.",
65418
+ "declarations": [
65419
+ {
65420
+ "name": "marginY",
65421
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/collection/lib/ListBox.tsx"
65422
+ }
65423
+ ],
65424
+ "tags": {},
65425
+ "defaultValue": {
65426
+ "kind": "number",
65427
+ "value": 0
65428
+ }
65429
+ },
65189
65430
  {
65190
65431
  "kind": "property",
65191
65432
  "name": "cs",
@@ -100562,6 +100803,247 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
100562
100803
  ],
100563
100804
  "tags": {}
100564
100805
  },
100806
+ {
100807
+ "kind": "property",
100808
+ "name": "marginTop",
100809
+ "required": false,
100810
+ "type": {
100811
+ "kind": "union",
100812
+ "value": [
100813
+ {
100814
+ "kind": "primitive",
100815
+ "value": "undefined"
100816
+ },
100817
+ {
100818
+ "kind": "primitive",
100819
+ "value": "number"
100820
+ },
100821
+ {
100822
+ "kind": "intersection",
100823
+ "value": [
100824
+ {
100825
+ "kind": "primitive",
100826
+ "value": "string"
100827
+ },
100828
+ {
100829
+ "kind": "object",
100830
+ "properties": []
100831
+ }
100832
+ ]
100833
+ },
100834
+ {
100835
+ "kind": "string",
100836
+ "value": "s"
100837
+ },
100838
+ {
100839
+ "kind": "string",
100840
+ "value": "zero"
100841
+ },
100842
+ {
100843
+ "kind": "string",
100844
+ "value": "m"
100845
+ },
100846
+ {
100847
+ "kind": "string",
100848
+ "value": "l"
100849
+ },
100850
+ {
100851
+ "kind": "string",
100852
+ "value": "xxxs"
100853
+ },
100854
+ {
100855
+ "kind": "string",
100856
+ "value": "xxs"
100857
+ },
100858
+ {
100859
+ "kind": "string",
100860
+ "value": "xs"
100861
+ },
100862
+ {
100863
+ "kind": "string",
100864
+ "value": "xl"
100865
+ },
100866
+ {
100867
+ "kind": "string",
100868
+ "value": "xxl"
100869
+ },
100870
+ {
100871
+ "kind": "string",
100872
+ "value": "xxxl"
100873
+ }
100874
+ ]
100875
+ },
100876
+ "description": "Set the margin top of the list box. You must use this prop and not style any other way. The\n`Menu` uses virtualization and needs margins to be set on the correct element. This ensure\nproper rendering. If a `marginTop` is not provided, the value falls back to `marginY`.",
100877
+ "declarations": [
100878
+ {
100879
+ "name": "marginTop",
100880
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/collection/lib/ListBox.tsx"
100881
+ }
100882
+ ],
100883
+ "tags": {}
100884
+ },
100885
+ {
100886
+ "kind": "property",
100887
+ "name": "marginBottom",
100888
+ "required": false,
100889
+ "type": {
100890
+ "kind": "union",
100891
+ "value": [
100892
+ {
100893
+ "kind": "primitive",
100894
+ "value": "undefined"
100895
+ },
100896
+ {
100897
+ "kind": "primitive",
100898
+ "value": "number"
100899
+ },
100900
+ {
100901
+ "kind": "intersection",
100902
+ "value": [
100903
+ {
100904
+ "kind": "primitive",
100905
+ "value": "string"
100906
+ },
100907
+ {
100908
+ "kind": "object",
100909
+ "properties": []
100910
+ }
100911
+ ]
100912
+ },
100913
+ {
100914
+ "kind": "string",
100915
+ "value": "s"
100916
+ },
100917
+ {
100918
+ "kind": "string",
100919
+ "value": "zero"
100920
+ },
100921
+ {
100922
+ "kind": "string",
100923
+ "value": "m"
100924
+ },
100925
+ {
100926
+ "kind": "string",
100927
+ "value": "l"
100928
+ },
100929
+ {
100930
+ "kind": "string",
100931
+ "value": "xxxs"
100932
+ },
100933
+ {
100934
+ "kind": "string",
100935
+ "value": "xxs"
100936
+ },
100937
+ {
100938
+ "kind": "string",
100939
+ "value": "xs"
100940
+ },
100941
+ {
100942
+ "kind": "string",
100943
+ "value": "xl"
100944
+ },
100945
+ {
100946
+ "kind": "string",
100947
+ "value": "xxl"
100948
+ },
100949
+ {
100950
+ "kind": "string",
100951
+ "value": "xxxl"
100952
+ }
100953
+ ]
100954
+ },
100955
+ "description": "Set the margin bottom of the list box. You must use this prop and not style any other way. The\n`Menu` uses virtualization and needs margins to be set on the correct element. This ensure\nproper rendering. If a `marginBottom` is not provided, the value falls back to `marginY`.",
100956
+ "declarations": [
100957
+ {
100958
+ "name": "marginBottom",
100959
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/collection/lib/ListBox.tsx"
100960
+ }
100961
+ ],
100962
+ "tags": {}
100963
+ },
100964
+ {
100965
+ "kind": "property",
100966
+ "name": "marginY",
100967
+ "required": false,
100968
+ "type": {
100969
+ "kind": "union",
100970
+ "value": [
100971
+ {
100972
+ "kind": "primitive",
100973
+ "value": "undefined"
100974
+ },
100975
+ {
100976
+ "kind": "primitive",
100977
+ "value": "number"
100978
+ },
100979
+ {
100980
+ "kind": "intersection",
100981
+ "value": [
100982
+ {
100983
+ "kind": "primitive",
100984
+ "value": "string"
100985
+ },
100986
+ {
100987
+ "kind": "object",
100988
+ "properties": []
100989
+ }
100990
+ ]
100991
+ },
100992
+ {
100993
+ "kind": "string",
100994
+ "value": "s"
100995
+ },
100996
+ {
100997
+ "kind": "string",
100998
+ "value": "zero"
100999
+ },
101000
+ {
101001
+ "kind": "string",
101002
+ "value": "m"
101003
+ },
101004
+ {
101005
+ "kind": "string",
101006
+ "value": "l"
101007
+ },
101008
+ {
101009
+ "kind": "string",
101010
+ "value": "xxxs"
101011
+ },
101012
+ {
101013
+ "kind": "string",
101014
+ "value": "xxs"
101015
+ },
101016
+ {
101017
+ "kind": "string",
101018
+ "value": "xs"
101019
+ },
101020
+ {
101021
+ "kind": "string",
101022
+ "value": "xl"
101023
+ },
101024
+ {
101025
+ "kind": "string",
101026
+ "value": "xxl"
101027
+ },
101028
+ {
101029
+ "kind": "string",
101030
+ "value": "xxxl"
101031
+ }
101032
+ ]
101033
+ },
101034
+ "description": "Set the margin top and bottom of the list box. You must use this prop and not style any other way. The\n`Menu` uses virtualization and needs margins to be set on the correct element. This ensure\nproper rendering.",
101035
+ "declarations": [
101036
+ {
101037
+ "name": "marginY",
101038
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/collection/lib/ListBox.tsx"
101039
+ }
101040
+ ],
101041
+ "tags": {},
101042
+ "defaultValue": {
101043
+ "kind": "string",
101044
+ "value": "xxs"
101045
+ }
101046
+ },
100565
101047
  {
100566
101048
  "kind": "property",
100567
101049
  "name": "cs",
@@ -153008,6 +153490,247 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
153008
153490
  ],
153009
153491
  "tags": {}
153010
153492
  },
153493
+ {
153494
+ "kind": "property",
153495
+ "name": "marginY",
153496
+ "required": false,
153497
+ "type": {
153498
+ "kind": "union",
153499
+ "value": [
153500
+ {
153501
+ "kind": "primitive",
153502
+ "value": "undefined"
153503
+ },
153504
+ {
153505
+ "kind": "primitive",
153506
+ "value": "number"
153507
+ },
153508
+ {
153509
+ "kind": "intersection",
153510
+ "value": [
153511
+ {
153512
+ "kind": "primitive",
153513
+ "value": "string"
153514
+ },
153515
+ {
153516
+ "kind": "object",
153517
+ "properties": []
153518
+ }
153519
+ ]
153520
+ },
153521
+ {
153522
+ "kind": "string",
153523
+ "value": "s"
153524
+ },
153525
+ {
153526
+ "kind": "string",
153527
+ "value": "zero"
153528
+ },
153529
+ {
153530
+ "kind": "string",
153531
+ "value": "m"
153532
+ },
153533
+ {
153534
+ "kind": "string",
153535
+ "value": "l"
153536
+ },
153537
+ {
153538
+ "kind": "string",
153539
+ "value": "xxxs"
153540
+ },
153541
+ {
153542
+ "kind": "string",
153543
+ "value": "xxs"
153544
+ },
153545
+ {
153546
+ "kind": "string",
153547
+ "value": "xs"
153548
+ },
153549
+ {
153550
+ "kind": "string",
153551
+ "value": "xl"
153552
+ },
153553
+ {
153554
+ "kind": "string",
153555
+ "value": "xxl"
153556
+ },
153557
+ {
153558
+ "kind": "string",
153559
+ "value": "xxxl"
153560
+ }
153561
+ ]
153562
+ },
153563
+ "description": "Set the margin top and bottom of the list box. You must use this prop and not style any other way. The\n`Menu` uses virtualization and needs margins to be set on the correct element. This ensure\nproper rendering.",
153564
+ "declarations": [
153565
+ {
153566
+ "name": "marginY",
153567
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/collection/lib/ListBox.tsx"
153568
+ }
153569
+ ],
153570
+ "tags": {},
153571
+ "defaultValue": {
153572
+ "kind": "string",
153573
+ "value": "xxs"
153574
+ }
153575
+ },
153576
+ {
153577
+ "kind": "property",
153578
+ "name": "marginTop",
153579
+ "required": false,
153580
+ "type": {
153581
+ "kind": "union",
153582
+ "value": [
153583
+ {
153584
+ "kind": "primitive",
153585
+ "value": "undefined"
153586
+ },
153587
+ {
153588
+ "kind": "primitive",
153589
+ "value": "number"
153590
+ },
153591
+ {
153592
+ "kind": "intersection",
153593
+ "value": [
153594
+ {
153595
+ "kind": "primitive",
153596
+ "value": "string"
153597
+ },
153598
+ {
153599
+ "kind": "object",
153600
+ "properties": []
153601
+ }
153602
+ ]
153603
+ },
153604
+ {
153605
+ "kind": "string",
153606
+ "value": "s"
153607
+ },
153608
+ {
153609
+ "kind": "string",
153610
+ "value": "zero"
153611
+ },
153612
+ {
153613
+ "kind": "string",
153614
+ "value": "m"
153615
+ },
153616
+ {
153617
+ "kind": "string",
153618
+ "value": "l"
153619
+ },
153620
+ {
153621
+ "kind": "string",
153622
+ "value": "xxxs"
153623
+ },
153624
+ {
153625
+ "kind": "string",
153626
+ "value": "xxs"
153627
+ },
153628
+ {
153629
+ "kind": "string",
153630
+ "value": "xs"
153631
+ },
153632
+ {
153633
+ "kind": "string",
153634
+ "value": "xl"
153635
+ },
153636
+ {
153637
+ "kind": "string",
153638
+ "value": "xxl"
153639
+ },
153640
+ {
153641
+ "kind": "string",
153642
+ "value": "xxxl"
153643
+ }
153644
+ ]
153645
+ },
153646
+ "description": "Set the margin top of the list box. You must use this prop and not style any other way. The\n`Menu` uses virtualization and needs margins to be set on the correct element. This ensure\nproper rendering. If a `marginTop` is not provided, the value falls back to `marginY`.",
153647
+ "declarations": [
153648
+ {
153649
+ "name": "marginTop",
153650
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/collection/lib/ListBox.tsx"
153651
+ }
153652
+ ],
153653
+ "tags": {}
153654
+ },
153655
+ {
153656
+ "kind": "property",
153657
+ "name": "marginBottom",
153658
+ "required": false,
153659
+ "type": {
153660
+ "kind": "union",
153661
+ "value": [
153662
+ {
153663
+ "kind": "primitive",
153664
+ "value": "undefined"
153665
+ },
153666
+ {
153667
+ "kind": "primitive",
153668
+ "value": "number"
153669
+ },
153670
+ {
153671
+ "kind": "intersection",
153672
+ "value": [
153673
+ {
153674
+ "kind": "primitive",
153675
+ "value": "string"
153676
+ },
153677
+ {
153678
+ "kind": "object",
153679
+ "properties": []
153680
+ }
153681
+ ]
153682
+ },
153683
+ {
153684
+ "kind": "string",
153685
+ "value": "s"
153686
+ },
153687
+ {
153688
+ "kind": "string",
153689
+ "value": "zero"
153690
+ },
153691
+ {
153692
+ "kind": "string",
153693
+ "value": "m"
153694
+ },
153695
+ {
153696
+ "kind": "string",
153697
+ "value": "l"
153698
+ },
153699
+ {
153700
+ "kind": "string",
153701
+ "value": "xxxs"
153702
+ },
153703
+ {
153704
+ "kind": "string",
153705
+ "value": "xxs"
153706
+ },
153707
+ {
153708
+ "kind": "string",
153709
+ "value": "xs"
153710
+ },
153711
+ {
153712
+ "kind": "string",
153713
+ "value": "xl"
153714
+ },
153715
+ {
153716
+ "kind": "string",
153717
+ "value": "xxl"
153718
+ },
153719
+ {
153720
+ "kind": "string",
153721
+ "value": "xxxl"
153722
+ }
153723
+ ]
153724
+ },
153725
+ "description": "Set the margin bottom of the list box. You must use this prop and not style any other way. The\n`Menu` uses virtualization and needs margins to be set on the correct element. This ensure\nproper rendering. If a `marginBottom` is not provided, the value falls back to `marginY`.",
153726
+ "declarations": [
153727
+ {
153728
+ "name": "marginBottom",
153729
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/collection/lib/ListBox.tsx"
153730
+ }
153731
+ ],
153732
+ "tags": {}
153733
+ },
153011
153734
  {
153012
153735
  "kind": "property",
153013
153736
  "name": "cs",
@@ -160,7 +160,7 @@ the popup's stack context when entering/exiting fullscreen.
160
160
 
161
161
  <ExampleCodeBlock code={FullScreen} />
162
162
 
163
- ### Opening an external window
163
+ ### Opening an External Window
164
164
 
165
165
  A popup can open an external window. This isn't supported directly. The `Popup.Popper` subcomponent
166
166
  is replaced with a custom subcomponent that connects to the Popup model and controls the lifecycle
@@ -16,7 +16,7 @@ import {
16
16
  import {Tooltip} from '@workday/canvas-kit-react/tooltip';
17
17
  import {Popup, usePopupModel} from '@workday/canvas-kit-react/popup';
18
18
  import {SecondaryButton} from '@workday/canvas-kit-react/button';
19
- import {Flex} from '../../../layout';
19
+ import {Flex} from '@workday/canvas-kit-react/layout';
20
20
 
21
21
  const mainContentStyles = createStyles({
22
22
  padding: system.space.x4,
@@ -106,7 +106,6 @@ const ExternalWindowPortal = ({
106
106
  onWindowClose();
107
107
  };
108
108
 
109
-
110
109
  window.addEventListener('unload', closeWindow);
111
110
  newWindow?.addEventListener('unload', closeWindow);
112
111
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-docs",
3
- "version": "10.3.47",
3
+ "version": "10.3.49",
4
4
  "description": "Documentation components of Canvas Kit components",
5
5
  "author": "Workday, Inc. (https://www.workday.com)",
6
6
  "license": "Apache-2.0",
@@ -44,10 +44,10 @@
44
44
  "dependencies": {
45
45
  "@emotion/styled": "^11.6.0",
46
46
  "@storybook/csf": "0.0.1",
47
- "@workday/canvas-kit-labs-react": "^10.3.47",
48
- "@workday/canvas-kit-preview-react": "^10.3.47",
49
- "@workday/canvas-kit-react": "^10.3.47",
50
- "@workday/canvas-kit-styling": "^10.3.47",
47
+ "@workday/canvas-kit-labs-react": "^10.3.49",
48
+ "@workday/canvas-kit-preview-react": "^10.3.49",
49
+ "@workday/canvas-kit-react": "^10.3.49",
50
+ "@workday/canvas-kit-styling": "^10.3.49",
51
51
  "@workday/canvas-system-icons-web": "^3.0.0",
52
52
  "@workday/canvas-tokens-web": "^1.0.0",
53
53
  "markdown-to-jsx": "^6.10.3",
@@ -59,5 +59,5 @@
59
59
  "mkdirp": "^1.0.3",
60
60
  "typescript": "4.2"
61
61
  },
62
- "gitHead": "7e83bffb6e80cf286b8df5d46424251a62dab5dc"
62
+ "gitHead": "ffada361c9cc009488b6860940c7415dfbacba94"
63
63
  }