@workday/canvas-kit-docs 11.0.21 → 11.0.23

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.
@@ -66709,6 +66709,243 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
66709
66709
  ],
66710
66710
  "tags": {}
66711
66711
  },
66712
+ {
66713
+ "kind": "property",
66714
+ "name": "marginTop",
66715
+ "required": false,
66716
+ "type": {
66717
+ "kind": "union",
66718
+ "value": [
66719
+ {
66720
+ "kind": "primitive",
66721
+ "value": "undefined"
66722
+ },
66723
+ {
66724
+ "kind": "primitive",
66725
+ "value": "number"
66726
+ },
66727
+ {
66728
+ "kind": "intersection",
66729
+ "value": [
66730
+ {
66731
+ "kind": "primitive",
66732
+ "value": "string"
66733
+ },
66734
+ {
66735
+ "kind": "object",
66736
+ "properties": []
66737
+ }
66738
+ ]
66739
+ },
66740
+ {
66741
+ "kind": "string",
66742
+ "value": "s"
66743
+ },
66744
+ {
66745
+ "kind": "string",
66746
+ "value": "zero"
66747
+ },
66748
+ {
66749
+ "kind": "string",
66750
+ "value": "m"
66751
+ },
66752
+ {
66753
+ "kind": "string",
66754
+ "value": "l"
66755
+ },
66756
+ {
66757
+ "kind": "string",
66758
+ "value": "xxxs"
66759
+ },
66760
+ {
66761
+ "kind": "string",
66762
+ "value": "xxs"
66763
+ },
66764
+ {
66765
+ "kind": "string",
66766
+ "value": "xs"
66767
+ },
66768
+ {
66769
+ "kind": "string",
66770
+ "value": "xl"
66771
+ },
66772
+ {
66773
+ "kind": "string",
66774
+ "value": "xxl"
66775
+ },
66776
+ {
66777
+ "kind": "string",
66778
+ "value": "xxxl"
66779
+ }
66780
+ ]
66781
+ },
66782
+ "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`.",
66783
+ "declarations": [
66784
+ {
66785
+ "name": "marginTop",
66786
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/collection/lib/ListBox.tsx"
66787
+ }
66788
+ ],
66789
+ "tags": {}
66790
+ },
66791
+ {
66792
+ "kind": "property",
66793
+ "name": "marginBottom",
66794
+ "required": false,
66795
+ "type": {
66796
+ "kind": "union",
66797
+ "value": [
66798
+ {
66799
+ "kind": "primitive",
66800
+ "value": "undefined"
66801
+ },
66802
+ {
66803
+ "kind": "primitive",
66804
+ "value": "number"
66805
+ },
66806
+ {
66807
+ "kind": "intersection",
66808
+ "value": [
66809
+ {
66810
+ "kind": "primitive",
66811
+ "value": "string"
66812
+ },
66813
+ {
66814
+ "kind": "object",
66815
+ "properties": []
66816
+ }
66817
+ ]
66818
+ },
66819
+ {
66820
+ "kind": "string",
66821
+ "value": "s"
66822
+ },
66823
+ {
66824
+ "kind": "string",
66825
+ "value": "zero"
66826
+ },
66827
+ {
66828
+ "kind": "string",
66829
+ "value": "m"
66830
+ },
66831
+ {
66832
+ "kind": "string",
66833
+ "value": "l"
66834
+ },
66835
+ {
66836
+ "kind": "string",
66837
+ "value": "xxxs"
66838
+ },
66839
+ {
66840
+ "kind": "string",
66841
+ "value": "xxs"
66842
+ },
66843
+ {
66844
+ "kind": "string",
66845
+ "value": "xs"
66846
+ },
66847
+ {
66848
+ "kind": "string",
66849
+ "value": "xl"
66850
+ },
66851
+ {
66852
+ "kind": "string",
66853
+ "value": "xxl"
66854
+ },
66855
+ {
66856
+ "kind": "string",
66857
+ "value": "xxxl"
66858
+ }
66859
+ ]
66860
+ },
66861
+ "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`.",
66862
+ "declarations": [
66863
+ {
66864
+ "name": "marginBottom",
66865
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/collection/lib/ListBox.tsx"
66866
+ }
66867
+ ],
66868
+ "tags": {}
66869
+ },
66870
+ {
66871
+ "kind": "property",
66872
+ "name": "marginY",
66873
+ "required": false,
66874
+ "type": {
66875
+ "kind": "union",
66876
+ "value": [
66877
+ {
66878
+ "kind": "primitive",
66879
+ "value": "undefined"
66880
+ },
66881
+ {
66882
+ "kind": "primitive",
66883
+ "value": "number"
66884
+ },
66885
+ {
66886
+ "kind": "intersection",
66887
+ "value": [
66888
+ {
66889
+ "kind": "primitive",
66890
+ "value": "string"
66891
+ },
66892
+ {
66893
+ "kind": "object",
66894
+ "properties": []
66895
+ }
66896
+ ]
66897
+ },
66898
+ {
66899
+ "kind": "string",
66900
+ "value": "s"
66901
+ },
66902
+ {
66903
+ "kind": "string",
66904
+ "value": "zero"
66905
+ },
66906
+ {
66907
+ "kind": "string",
66908
+ "value": "m"
66909
+ },
66910
+ {
66911
+ "kind": "string",
66912
+ "value": "l"
66913
+ },
66914
+ {
66915
+ "kind": "string",
66916
+ "value": "xxxs"
66917
+ },
66918
+ {
66919
+ "kind": "string",
66920
+ "value": "xxs"
66921
+ },
66922
+ {
66923
+ "kind": "string",
66924
+ "value": "xs"
66925
+ },
66926
+ {
66927
+ "kind": "string",
66928
+ "value": "xl"
66929
+ },
66930
+ {
66931
+ "kind": "string",
66932
+ "value": "xxl"
66933
+ },
66934
+ {
66935
+ "kind": "string",
66936
+ "value": "xxxl"
66937
+ }
66938
+ ]
66939
+ },
66940
+ "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.",
66941
+ "declarations": [
66942
+ {
66943
+ "name": "marginY",
66944
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/collection/lib/ListBox.tsx"
66945
+ }
66946
+ ],
66947
+ "tags": {}
66948
+ },
66712
66949
  {
66713
66950
  "kind": "property",
66714
66951
  "name": "cs",
@@ -102558,6 +102795,243 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
102558
102795
  ],
102559
102796
  "tags": {}
102560
102797
  },
102798
+ {
102799
+ "kind": "property",
102800
+ "name": "marginTop",
102801
+ "required": false,
102802
+ "type": {
102803
+ "kind": "union",
102804
+ "value": [
102805
+ {
102806
+ "kind": "primitive",
102807
+ "value": "undefined"
102808
+ },
102809
+ {
102810
+ "kind": "primitive",
102811
+ "value": "number"
102812
+ },
102813
+ {
102814
+ "kind": "intersection",
102815
+ "value": [
102816
+ {
102817
+ "kind": "primitive",
102818
+ "value": "string"
102819
+ },
102820
+ {
102821
+ "kind": "object",
102822
+ "properties": []
102823
+ }
102824
+ ]
102825
+ },
102826
+ {
102827
+ "kind": "string",
102828
+ "value": "s"
102829
+ },
102830
+ {
102831
+ "kind": "string",
102832
+ "value": "zero"
102833
+ },
102834
+ {
102835
+ "kind": "string",
102836
+ "value": "m"
102837
+ },
102838
+ {
102839
+ "kind": "string",
102840
+ "value": "l"
102841
+ },
102842
+ {
102843
+ "kind": "string",
102844
+ "value": "xxxs"
102845
+ },
102846
+ {
102847
+ "kind": "string",
102848
+ "value": "xxs"
102849
+ },
102850
+ {
102851
+ "kind": "string",
102852
+ "value": "xs"
102853
+ },
102854
+ {
102855
+ "kind": "string",
102856
+ "value": "xl"
102857
+ },
102858
+ {
102859
+ "kind": "string",
102860
+ "value": "xxl"
102861
+ },
102862
+ {
102863
+ "kind": "string",
102864
+ "value": "xxxl"
102865
+ }
102866
+ ]
102867
+ },
102868
+ "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`.",
102869
+ "declarations": [
102870
+ {
102871
+ "name": "marginTop",
102872
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/collection/lib/ListBox.tsx"
102873
+ }
102874
+ ],
102875
+ "tags": {}
102876
+ },
102877
+ {
102878
+ "kind": "property",
102879
+ "name": "marginBottom",
102880
+ "required": false,
102881
+ "type": {
102882
+ "kind": "union",
102883
+ "value": [
102884
+ {
102885
+ "kind": "primitive",
102886
+ "value": "undefined"
102887
+ },
102888
+ {
102889
+ "kind": "primitive",
102890
+ "value": "number"
102891
+ },
102892
+ {
102893
+ "kind": "intersection",
102894
+ "value": [
102895
+ {
102896
+ "kind": "primitive",
102897
+ "value": "string"
102898
+ },
102899
+ {
102900
+ "kind": "object",
102901
+ "properties": []
102902
+ }
102903
+ ]
102904
+ },
102905
+ {
102906
+ "kind": "string",
102907
+ "value": "s"
102908
+ },
102909
+ {
102910
+ "kind": "string",
102911
+ "value": "zero"
102912
+ },
102913
+ {
102914
+ "kind": "string",
102915
+ "value": "m"
102916
+ },
102917
+ {
102918
+ "kind": "string",
102919
+ "value": "l"
102920
+ },
102921
+ {
102922
+ "kind": "string",
102923
+ "value": "xxxs"
102924
+ },
102925
+ {
102926
+ "kind": "string",
102927
+ "value": "xxs"
102928
+ },
102929
+ {
102930
+ "kind": "string",
102931
+ "value": "xs"
102932
+ },
102933
+ {
102934
+ "kind": "string",
102935
+ "value": "xl"
102936
+ },
102937
+ {
102938
+ "kind": "string",
102939
+ "value": "xxl"
102940
+ },
102941
+ {
102942
+ "kind": "string",
102943
+ "value": "xxxl"
102944
+ }
102945
+ ]
102946
+ },
102947
+ "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`.",
102948
+ "declarations": [
102949
+ {
102950
+ "name": "marginBottom",
102951
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/collection/lib/ListBox.tsx"
102952
+ }
102953
+ ],
102954
+ "tags": {}
102955
+ },
102956
+ {
102957
+ "kind": "property",
102958
+ "name": "marginY",
102959
+ "required": false,
102960
+ "type": {
102961
+ "kind": "union",
102962
+ "value": [
102963
+ {
102964
+ "kind": "primitive",
102965
+ "value": "undefined"
102966
+ },
102967
+ {
102968
+ "kind": "primitive",
102969
+ "value": "number"
102970
+ },
102971
+ {
102972
+ "kind": "intersection",
102973
+ "value": [
102974
+ {
102975
+ "kind": "primitive",
102976
+ "value": "string"
102977
+ },
102978
+ {
102979
+ "kind": "object",
102980
+ "properties": []
102981
+ }
102982
+ ]
102983
+ },
102984
+ {
102985
+ "kind": "string",
102986
+ "value": "s"
102987
+ },
102988
+ {
102989
+ "kind": "string",
102990
+ "value": "zero"
102991
+ },
102992
+ {
102993
+ "kind": "string",
102994
+ "value": "m"
102995
+ },
102996
+ {
102997
+ "kind": "string",
102998
+ "value": "l"
102999
+ },
103000
+ {
103001
+ "kind": "string",
103002
+ "value": "xxxs"
103003
+ },
103004
+ {
103005
+ "kind": "string",
103006
+ "value": "xxs"
103007
+ },
103008
+ {
103009
+ "kind": "string",
103010
+ "value": "xs"
103011
+ },
103012
+ {
103013
+ "kind": "string",
103014
+ "value": "xl"
103015
+ },
103016
+ {
103017
+ "kind": "string",
103018
+ "value": "xxl"
103019
+ },
103020
+ {
103021
+ "kind": "string",
103022
+ "value": "xxxl"
103023
+ }
103024
+ ]
103025
+ },
103026
+ "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.",
103027
+ "declarations": [
103028
+ {
103029
+ "name": "marginY",
103030
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/collection/lib/ListBox.tsx"
103031
+ }
103032
+ ],
103033
+ "tags": {}
103034
+ },
102561
103035
  {
102562
103036
  "kind": "property",
102563
103037
  "name": "cs",
@@ -158927,6 +159401,243 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
158927
159401
  ],
158928
159402
  "tags": {}
158929
159403
  },
159404
+ {
159405
+ "kind": "property",
159406
+ "name": "marginY",
159407
+ "required": false,
159408
+ "type": {
159409
+ "kind": "union",
159410
+ "value": [
159411
+ {
159412
+ "kind": "primitive",
159413
+ "value": "undefined"
159414
+ },
159415
+ {
159416
+ "kind": "primitive",
159417
+ "value": "number"
159418
+ },
159419
+ {
159420
+ "kind": "intersection",
159421
+ "value": [
159422
+ {
159423
+ "kind": "primitive",
159424
+ "value": "string"
159425
+ },
159426
+ {
159427
+ "kind": "object",
159428
+ "properties": []
159429
+ }
159430
+ ]
159431
+ },
159432
+ {
159433
+ "kind": "string",
159434
+ "value": "s"
159435
+ },
159436
+ {
159437
+ "kind": "string",
159438
+ "value": "zero"
159439
+ },
159440
+ {
159441
+ "kind": "string",
159442
+ "value": "m"
159443
+ },
159444
+ {
159445
+ "kind": "string",
159446
+ "value": "l"
159447
+ },
159448
+ {
159449
+ "kind": "string",
159450
+ "value": "xxxs"
159451
+ },
159452
+ {
159453
+ "kind": "string",
159454
+ "value": "xxs"
159455
+ },
159456
+ {
159457
+ "kind": "string",
159458
+ "value": "xs"
159459
+ },
159460
+ {
159461
+ "kind": "string",
159462
+ "value": "xl"
159463
+ },
159464
+ {
159465
+ "kind": "string",
159466
+ "value": "xxl"
159467
+ },
159468
+ {
159469
+ "kind": "string",
159470
+ "value": "xxxl"
159471
+ }
159472
+ ]
159473
+ },
159474
+ "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.",
159475
+ "declarations": [
159476
+ {
159477
+ "name": "marginY",
159478
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/collection/lib/ListBox.tsx"
159479
+ }
159480
+ ],
159481
+ "tags": {}
159482
+ },
159483
+ {
159484
+ "kind": "property",
159485
+ "name": "marginTop",
159486
+ "required": false,
159487
+ "type": {
159488
+ "kind": "union",
159489
+ "value": [
159490
+ {
159491
+ "kind": "primitive",
159492
+ "value": "undefined"
159493
+ },
159494
+ {
159495
+ "kind": "primitive",
159496
+ "value": "number"
159497
+ },
159498
+ {
159499
+ "kind": "intersection",
159500
+ "value": [
159501
+ {
159502
+ "kind": "primitive",
159503
+ "value": "string"
159504
+ },
159505
+ {
159506
+ "kind": "object",
159507
+ "properties": []
159508
+ }
159509
+ ]
159510
+ },
159511
+ {
159512
+ "kind": "string",
159513
+ "value": "s"
159514
+ },
159515
+ {
159516
+ "kind": "string",
159517
+ "value": "zero"
159518
+ },
159519
+ {
159520
+ "kind": "string",
159521
+ "value": "m"
159522
+ },
159523
+ {
159524
+ "kind": "string",
159525
+ "value": "l"
159526
+ },
159527
+ {
159528
+ "kind": "string",
159529
+ "value": "xxxs"
159530
+ },
159531
+ {
159532
+ "kind": "string",
159533
+ "value": "xxs"
159534
+ },
159535
+ {
159536
+ "kind": "string",
159537
+ "value": "xs"
159538
+ },
159539
+ {
159540
+ "kind": "string",
159541
+ "value": "xl"
159542
+ },
159543
+ {
159544
+ "kind": "string",
159545
+ "value": "xxl"
159546
+ },
159547
+ {
159548
+ "kind": "string",
159549
+ "value": "xxxl"
159550
+ }
159551
+ ]
159552
+ },
159553
+ "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`.",
159554
+ "declarations": [
159555
+ {
159556
+ "name": "marginTop",
159557
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/collection/lib/ListBox.tsx"
159558
+ }
159559
+ ],
159560
+ "tags": {}
159561
+ },
159562
+ {
159563
+ "kind": "property",
159564
+ "name": "marginBottom",
159565
+ "required": false,
159566
+ "type": {
159567
+ "kind": "union",
159568
+ "value": [
159569
+ {
159570
+ "kind": "primitive",
159571
+ "value": "undefined"
159572
+ },
159573
+ {
159574
+ "kind": "primitive",
159575
+ "value": "number"
159576
+ },
159577
+ {
159578
+ "kind": "intersection",
159579
+ "value": [
159580
+ {
159581
+ "kind": "primitive",
159582
+ "value": "string"
159583
+ },
159584
+ {
159585
+ "kind": "object",
159586
+ "properties": []
159587
+ }
159588
+ ]
159589
+ },
159590
+ {
159591
+ "kind": "string",
159592
+ "value": "s"
159593
+ },
159594
+ {
159595
+ "kind": "string",
159596
+ "value": "zero"
159597
+ },
159598
+ {
159599
+ "kind": "string",
159600
+ "value": "m"
159601
+ },
159602
+ {
159603
+ "kind": "string",
159604
+ "value": "l"
159605
+ },
159606
+ {
159607
+ "kind": "string",
159608
+ "value": "xxxs"
159609
+ },
159610
+ {
159611
+ "kind": "string",
159612
+ "value": "xxs"
159613
+ },
159614
+ {
159615
+ "kind": "string",
159616
+ "value": "xs"
159617
+ },
159618
+ {
159619
+ "kind": "string",
159620
+ "value": "xl"
159621
+ },
159622
+ {
159623
+ "kind": "string",
159624
+ "value": "xxl"
159625
+ },
159626
+ {
159627
+ "kind": "string",
159628
+ "value": "xxxl"
159629
+ }
159630
+ ]
159631
+ },
159632
+ "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`.",
159633
+ "declarations": [
159634
+ {
159635
+ "name": "marginBottom",
159636
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/collection/lib/ListBox.tsx"
159637
+ }
159638
+ ],
159639
+ "tags": {}
159640
+ },
158930
159641
  {
158931
159642
  "kind": "property",
158932
159643
  "name": "cs",
@@ -15,7 +15,7 @@ import {
15
15
  userIcon,
16
16
  } from '@workday/canvas-system-icons-web';
17
17
 
18
- export default [
18
+ export const customOptionsMain = [
19
19
  {
20
20
  label: 'Dessert Person by Claire Saffitz',
21
21
  serverId: 1,
@@ -34,7 +34,7 @@ export default [
34
34
  {label: 'Mastering Pasta by Marc Verti', serverId: 4, icon: userIcon},
35
35
  ];
36
36
 
37
- export default () => {
37
+ export const SelectWithFormik = () => {
38
38
  const formik = useFormik({
39
39
  initialValues: {
40
40
  selectedBook: '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-docs",
3
- "version": "11.0.21",
3
+ "version": "11.0.23",
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": "^11.0.21",
48
- "@workday/canvas-kit-preview-react": "^11.0.21",
49
- "@workday/canvas-kit-react": "^11.0.21",
50
- "@workday/canvas-kit-styling": "^11.0.21",
47
+ "@workday/canvas-kit-labs-react": "^11.0.23",
48
+ "@workday/canvas-kit-preview-react": "^11.0.23",
49
+ "@workday/canvas-kit-react": "^11.0.23",
50
+ "@workday/canvas-kit-styling": "^11.0.23",
51
51
  "@workday/canvas-system-icons-web": "^3.0.0",
52
52
  "@workday/canvas-tokens-web": "^2.0.0",
53
53
  "markdown-to-jsx": "^7.2.0",
@@ -59,5 +59,5 @@
59
59
  "mkdirp": "^1.0.3",
60
60
  "typescript": "4.2"
61
61
  },
62
- "gitHead": "2cc68c6dbc2e6d384defc46207f4b975c7cc99d6"
62
+ "gitHead": "2027105351c4ed414b372c25e50cdd969d24187b"
63
63
  }