@workday/canvas-kit-docs 11.0.23 → 11.0.25

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.
@@ -285,6 +285,10 @@ module.exports = {specifications: [
285
285
  "type": "it",
286
286
  "name": "should not have activedescendant set"
287
287
  },
288
+ {
289
+ "type": "it",
290
+ "name": "should not have visual focus on any element"
291
+ },
288
292
  {
289
293
  "type": "it",
290
294
  "name": "should not have aria-selected=true on any elements"
@@ -297,6 +301,10 @@ module.exports = {specifications: [
297
301
  "type": "it",
298
302
  "name": "should clear activedescendant"
299
303
  },
304
+ {
305
+ "type": "it",
306
+ "name": "should not have visual focus on the first item"
307
+ },
300
308
  {
301
309
  "type": "it",
302
310
  "name": "should not set aria-selected to the first option"
@@ -305,7 +313,7 @@ module.exports = {specifications: [
305
313
  },
306
314
  {
307
315
  "type": "describe",
308
- "name": "when a value is entered",
316
+ "name": "when \"Red\" is typed",
309
317
  "children": [
310
318
  {
311
319
  "type": "it",
@@ -353,7 +361,7 @@ module.exports = {specifications: [
353
361
  },
354
362
  {
355
363
  "type": "it",
356
- "name": "should set aria-selected to the first option"
364
+ "name": "should set visual focus to the first option"
357
365
  },
358
366
  {
359
367
  "type": "describe",
@@ -369,7 +377,7 @@ module.exports = {specifications: [
369
377
  },
370
378
  {
371
379
  "type": "describe",
372
- "name": "when the use hits the \"2\" key",
380
+ "name": "when the user hits the \"2\" key",
373
381
  "children": [
374
382
  {
375
383
  "type": "it",
@@ -378,6 +386,10 @@ module.exports = {specifications: [
378
386
  {
379
387
  "type": "it",
380
388
  "name": "should change the combobox value to reflect the key entered"
389
+ },
390
+ {
391
+ "type": "it",
392
+ "name": "should set aria-selected to the first option"
381
393
  }
382
394
  ]
383
395
  }
@@ -437,7 +449,11 @@ module.exports = {specifications: [
437
449
  },
438
450
  {
439
451
  "type": "it",
440
- "name": "should set aria-selected to the second option"
452
+ "name": "should set visual focus on the second option"
453
+ },
454
+ {
455
+ "type": "it",
456
+ "name": "should not have aria-selected=true on any elements"
441
457
  }
442
458
  ]
443
459
  },
@@ -455,7 +471,11 @@ module.exports = {specifications: [
455
471
  },
456
472
  {
457
473
  "type": "it",
458
- "name": "should set aria-selected to the first option"
474
+ "name": "should set visual focus on the first option"
475
+ },
476
+ {
477
+ "type": "it",
478
+ "name": "should not have aria-selected=true on any elements"
459
479
  }
460
480
  ]
461
481
  },
@@ -469,7 +489,11 @@ module.exports = {specifications: [
469
489
  },
470
490
  {
471
491
  "type": "it",
472
- "name": "should set aria-selected to the last option"
492
+ "name": "should set visual focus on the last option"
493
+ },
494
+ {
495
+ "type": "it",
496
+ "name": "should not have aria-selected=true on any elements"
473
497
  }
474
498
  ]
475
499
  },
@@ -483,7 +507,11 @@ module.exports = {specifications: [
483
507
  },
484
508
  {
485
509
  "type": "it",
486
- "name": "should set aria-selected to the third option"
510
+ "name": "should set visual focus on the third option"
511
+ },
512
+ {
513
+ "type": "it",
514
+ "name": "should not have aria-selected=true on any elements"
487
515
  }
488
516
  ]
489
517
  },
@@ -497,7 +525,11 @@ module.exports = {specifications: [
497
525
  },
498
526
  {
499
527
  "type": "it",
500
- "name": "should set aria-selected to the first option"
528
+ "name": "should set visual focus on the first option"
529
+ },
530
+ {
531
+ "type": "it",
532
+ "name": "should not have aria-selected=true on any elements"
501
533
  }
502
534
  ]
503
535
  }
@@ -4504,6 +4536,10 @@ module.exports = {specifications: [
4504
4536
  {
4505
4537
  "type": "it",
4506
4538
  "name": "should scroll so that the \"San Francisco (United States)\" option is fully visible"
4539
+ },
4540
+ {
4541
+ "type": "it",
4542
+ "name": "should not have any item selected"
4507
4543
  }
4508
4544
  ]
4509
4545
  }
@@ -4520,6 +4556,10 @@ module.exports = {specifications: [
4520
4556
  {
4521
4557
  "type": "it",
4522
4558
  "name": "should scroll so that the \"San Mateo (United States)\" option is fully visible"
4559
+ },
4560
+ {
4561
+ "type": "it",
4562
+ "name": "should not have any item selected"
4523
4563
  }
4524
4564
  ]
4525
4565
  }
@@ -4536,6 +4576,10 @@ module.exports = {specifications: [
4536
4576
  {
4537
4577
  "type": "it",
4538
4578
  "name": "should scroll so that the \"Dallas (United States)\" option is fully visible"
4579
+ },
4580
+ {
4581
+ "type": "it",
4582
+ "name": "should not have any item selected"
4539
4583
  }
4540
4584
  ]
4541
4585
  }
@@ -4558,6 +4602,10 @@ module.exports = {specifications: [
4558
4602
  {
4559
4603
  "type": "it",
4560
4604
  "name": "should set assistive focus to the \"San Francisco (United States)\" option"
4605
+ },
4606
+ {
4607
+ "type": "it",
4608
+ "name": "should not have any item selected"
4561
4609
  }
4562
4610
  ]
4563
4611
  }
@@ -4574,6 +4622,10 @@ module.exports = {specifications: [
4574
4622
  {
4575
4623
  "type": "it",
4576
4624
  "name": "should set assistive focus to the \"San Francisco (United States)\" option"
4625
+ },
4626
+ {
4627
+ "type": "it",
4628
+ "name": "should not have any item selected"
4577
4629
  }
4578
4630
  ]
4579
4631
  }
@@ -4590,6 +4642,10 @@ module.exports = {specifications: [
4590
4642
  {
4591
4643
  "type": "it",
4592
4644
  "name": "should set assistive focus to the \"San Mateo (United States)\" option"
4645
+ },
4646
+ {
4647
+ "type": "it",
4648
+ "name": "should not have any item selected"
4593
4649
  }
4594
4650
  ]
4595
4651
  }
@@ -4614,6 +4670,10 @@ module.exports = {specifications: [
4614
4670
  {
4615
4671
  "type": "it",
4616
4672
  "name": "should scroll so that the \"Dallas (United States)\" option is centered in view"
4673
+ },
4674
+ {
4675
+ "type": "it",
4676
+ "name": "should set assistive focus to the \"Dallas (United States)\" option"
4617
4677
  }
4618
4678
  ]
4619
4679
  }
@@ -4656,6 +4716,10 @@ module.exports = {specifications: [
4656
4716
  {
4657
4717
  "type": "it",
4658
4718
  "name": "should set assistive focus to the first option (\"E-mail\")"
4719
+ },
4720
+ {
4721
+ "type": "it",
4722
+ "name": "should not have any item selected"
4659
4723
  }
4660
4724
  ]
4661
4725
  },
@@ -4670,6 +4734,10 @@ module.exports = {specifications: [
4670
4734
  {
4671
4735
  "type": "it",
4672
4736
  "name": "should set assistive focus to the second option (\"Phone\")"
4737
+ },
4738
+ {
4739
+ "type": "it",
4740
+ "name": "should not have any item selected"
4673
4741
  }
4674
4742
  ]
4675
4743
  },
@@ -4681,6 +4749,10 @@ module.exports = {specifications: [
4681
4749
  "type": "it",
4682
4750
  "name": "should not have an aria-activedescendant attribute"
4683
4751
  },
4752
+ {
4753
+ "type": "it",
4754
+ "name": "should not have any item selected"
4755
+ },
4684
4756
  {
4685
4757
  "type": "describe",
4686
4758
  "name": "when the menu is re-opened AFTER it has fully closed",
@@ -4692,6 +4764,10 @@ module.exports = {specifications: [
4692
4764
  {
4693
4765
  "type": "it",
4694
4766
  "name": "should set assistive focus to the second option (\"Phone\") that is where the cursor was"
4767
+ },
4768
+ {
4769
+ "type": "it",
4770
+ "name": "should not have any item selected"
4695
4771
  }
4696
4772
  ]
4697
4773
  }
@@ -4734,6 +4810,10 @@ module.exports = {specifications: [
4734
4810
  {
4735
4811
  "type": "it",
4736
4812
  "name": "should set assistive focus to second enabled option (\"Phone\")"
4813
+ },
4814
+ {
4815
+ "type": "it",
4816
+ "name": "should not have any item selected"
4737
4817
  }
4738
4818
  ]
4739
4819
  },
@@ -4748,6 +4828,10 @@ module.exports = {specifications: [
4748
4828
  {
4749
4829
  "type": "it",
4750
4830
  "name": "should set assistive focus to the fourth option down (\"Mail\") since focus will have skipped one disabled option (\"Fax\")"
4831
+ },
4832
+ {
4833
+ "type": "it",
4834
+ "name": "should not have any item selected"
4751
4835
  }
4752
4836
  ]
4753
4837
  }
@@ -4810,6 +4894,10 @@ module.exports = {specifications: [
4810
4894
  {
4811
4895
  "type": "it",
4812
4896
  "name": "should show Boulder (United States)"
4897
+ },
4898
+ {
4899
+ "type": "it",
4900
+ "name": "should not have any item selected"
4813
4901
  }
4814
4902
  ]
4815
4903
  }
@@ -4867,7 +4955,11 @@ module.exports = {specifications: [
4867
4955
  "children": [
4868
4956
  {
4869
4957
  "type": "it",
4870
- "name": "should have an aria-selected attribute set to \"true\""
4958
+ "name": "should set accessible focus on the \"E-Mail\" option"
4959
+ },
4960
+ {
4961
+ "type": "it",
4962
+ "name": "should not have any item selected"
4871
4963
  }
4872
4964
  ]
4873
4965
  },
@@ -4910,6 +5002,10 @@ module.exports = {specifications: [
4910
5002
  {
4911
5003
  "type": "it",
4912
5004
  "name": "should set assistive focus to the \"Phone\" option"
5005
+ },
5006
+ {
5007
+ "type": "it",
5008
+ "name": "should set assistive selection on the \"Phone\" option"
4913
5009
  }
4914
5010
  ]
4915
5011
  }
@@ -4968,6 +5064,10 @@ module.exports = {specifications: [
4968
5064
  {
4969
5065
  "type": "it",
4970
5066
  "name": "should set assistive focus to the \"Mail\" option and skip disabled fax"
5067
+ },
5068
+ {
5069
+ "type": "it",
5070
+ "name": "should not have any item selected"
4971
5071
  }
4972
5072
  ]
4973
5073
  }
@@ -4979,7 +5079,7 @@ module.exports = {specifications: [
4979
5079
  },
4980
5080
  {
4981
5081
  "type": "describe",
4982
- "name": "when the enter key is pressed",
5082
+ "name": "when the down arrow key is pressed",
4983
5083
  "children": [
4984
5084
  {
4985
5085
  "type": "describe",
@@ -4991,7 +5091,7 @@ module.exports = {specifications: [
4991
5091
  },
4992
5092
  {
4993
5093
  "type": "it",
4994
- "name": "should have E-Mail selected"
5094
+ "name": "should set accessible focus on the \"E-Mail\" option"
4995
5095
  }
4996
5096
  ]
4997
5097
  },
@@ -15,7 +15,7 @@ import {
15
15
  userIcon,
16
16
  } from '@workday/canvas-system-icons-web';
17
17
 
18
- export const customOptionsMain = [
18
+ export default [
19
19
  {
20
20
  label: 'Dessert Person by Claire Saffitz',
21
21
  serverId: 1,
@@ -34,7 +34,7 @@ export const customOptionsMain = [
34
34
  {label: 'Mastering Pasta by Marc Verti', serverId: 4, icon: userIcon},
35
35
  ];
36
36
 
37
- export const SelectWithFormik = () => {
37
+ export default () => {
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.23",
3
+ "version": "11.0.25",
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.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",
47
+ "@workday/canvas-kit-labs-react": "^11.0.25",
48
+ "@workday/canvas-kit-preview-react": "^11.0.25",
49
+ "@workday/canvas-kit-react": "^11.0.25",
50
+ "@workday/canvas-kit-styling": "^11.0.25",
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": "2027105351c4ed414b372c25e50cdd969d24187b"
62
+ "gitHead": "0da8599052bbf06aaa1f2c881f38589d022eb515"
63
63
  }