@pareto-engineering/design-system 2.0.0-alpha.48 → 2.0.0-alpha.50

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.
Files changed (30) hide show
  1. package/dist/cjs/f/FormInput/FormInput.js +7 -0
  2. package/dist/cjs/f/fields/QueryCombobox/QueryCombobox.js +14 -8
  3. package/dist/cjs/f/fields/QuerySelect/QuerySelect.js +201 -0
  4. package/dist/cjs/f/fields/QuerySelect/index.js +15 -0
  5. package/dist/cjs/f/fields/QuerySelect/styles.scss +21 -0
  6. package/dist/cjs/f/fields/SelectInput/SelectInput.js +15 -3
  7. package/dist/cjs/f/fields/SelectInput/styles.scss +27 -14
  8. package/dist/cjs/f/fields/index.js +9 -1
  9. package/dist/es/f/FormInput/FormInput.js +8 -1
  10. package/dist/es/f/fields/QueryCombobox/QueryCombobox.js +14 -8
  11. package/dist/es/f/fields/QuerySelect/QuerySelect.js +179 -0
  12. package/dist/es/f/fields/QuerySelect/index.js +2 -0
  13. package/dist/es/f/fields/QuerySelect/styles.scss +21 -0
  14. package/dist/es/f/fields/SelectInput/SelectInput.js +14 -3
  15. package/dist/es/f/fields/SelectInput/styles.scss +27 -14
  16. package/dist/es/f/fields/index.js +2 -1
  17. package/package.json +1 -1
  18. package/src/__snapshots__/Storyshots.test.js.snap +582 -246
  19. package/src/stories/f/FormInput.stories.jsx +124 -6
  20. package/src/stories/f/QueryCombobox.stories.jsx +6 -4
  21. package/src/stories/f/QuerySelect.stories.jsx +134 -0
  22. package/src/stories/f/__generated__/FormInputAllTaskStatusesQuery.graphql.js +122 -0
  23. package/src/stories/f/__generated__/QuerySelectAllTaskStatusesQuery.graphql.js +122 -0
  24. package/src/ui/f/FormInput/FormInput.jsx +10 -0
  25. package/src/ui/f/fields/QueryCombobox/QueryCombobox.jsx +17 -13
  26. package/src/ui/f/fields/QuerySelect/QuerySelect.jsx +200 -0
  27. package/src/ui/f/fields/QuerySelect/index.js +2 -0
  28. package/src/ui/f/fields/SelectInput/SelectInput.jsx +16 -3
  29. package/src/ui/f/fields/SelectInput/styles.scss +27 -14
  30. package/src/ui/f/fields/index.js +1 -0
@@ -2663,7 +2663,7 @@ exports[`Storyshots a/Timestamp Distance Format 1`] = `
2663
2663
  className="base timestamp"
2664
2664
  onClick={[Function]}
2665
2665
  >
2666
- in 4 months
2666
+ in 3 months
2667
2667
  </p>
2668
2668
  `;
2669
2669
 
@@ -10366,34 +10366,38 @@ exports[`Storyshots f/FormInput Base 1`] = `
10366
10366
  >
10367
10367
  What do you want for dinner ?
10368
10368
  </label>
10369
- <select
10370
- className="input"
10371
- disabled={false}
10372
- id="food"
10373
- name="food"
10374
- onBlur={[Function]}
10375
- onChange={[Function]}
10376
- value=""
10369
+ <div
10370
+ className="select-wrapper"
10377
10371
  >
10378
- <option
10379
- disabled={false}
10380
- value="italian"
10381
- >
10382
- A nice pizza
10383
- </option>
10384
- <option
10385
- disabled={false}
10386
- value="turkish"
10387
- >
10388
- A delicious kebab
10389
- </option>
10390
- <option
10372
+ <select
10373
+ className="input"
10391
10374
  disabled={false}
10392
- value="french"
10375
+ id="food"
10376
+ name="food"
10377
+ onBlur={[Function]}
10378
+ onChange={[Function]}
10379
+ value=""
10393
10380
  >
10394
- A three course delicate french meal
10395
- </option>
10396
- </select>
10381
+ <option
10382
+ disabled={false}
10383
+ value="italian"
10384
+ >
10385
+ A nice pizza
10386
+ </option>
10387
+ <option
10388
+ disabled={false}
10389
+ value="turkish"
10390
+ >
10391
+ A delicious kebab
10392
+ </option>
10393
+ <option
10394
+ disabled={false}
10395
+ value="french"
10396
+ >
10397
+ A three course delicate french meal
10398
+ </option>
10399
+ </select>
10400
+ </div>
10397
10401
  </div>
10398
10402
  <div
10399
10403
  className="debugger"
@@ -10555,34 +10559,38 @@ exports[`Storyshots f/FormInput Disabled Form Input 1`] = `
10555
10559
  >
10556
10560
  What do you want for dinner ?
10557
10561
  </label>
10558
- <select
10559
- className="input"
10560
- disabled={true}
10561
- id="food"
10562
- name="food"
10563
- onBlur={[Function]}
10564
- onChange={[Function]}
10565
- value=""
10562
+ <div
10563
+ className="select-wrapper"
10566
10564
  >
10567
- <option
10568
- disabled={false}
10569
- value="italian"
10570
- >
10571
- A nice pizza
10572
- </option>
10573
- <option
10574
- disabled={false}
10575
- value="turkish"
10576
- >
10577
- A delicious kebab
10578
- </option>
10579
- <option
10580
- disabled={false}
10581
- value="french"
10565
+ <select
10566
+ className="input"
10567
+ disabled={true}
10568
+ id="food"
10569
+ name="food"
10570
+ onBlur={[Function]}
10571
+ onChange={[Function]}
10572
+ value=""
10582
10573
  >
10583
- A three course delicate french meal
10584
- </option>
10585
- </select>
10574
+ <option
10575
+ disabled={false}
10576
+ value="italian"
10577
+ >
10578
+ A nice pizza
10579
+ </option>
10580
+ <option
10581
+ disabled={false}
10582
+ value="turkish"
10583
+ >
10584
+ A delicious kebab
10585
+ </option>
10586
+ <option
10587
+ disabled={false}
10588
+ value="french"
10589
+ >
10590
+ A three course delicate french meal
10591
+ </option>
10592
+ </select>
10593
+ </div>
10586
10594
  </div>
10587
10595
  <div
10588
10596
  className="debugger"
@@ -10637,6 +10645,142 @@ exports[`Storyshots f/FormInput Extensible Form Input 1`] = `
10637
10645
  </form>
10638
10646
  `;
10639
10647
 
10648
+ exports[`Storyshots f/FormInput With Prefetched Query Select 1`] = `
10649
+ <form
10650
+ action="#"
10651
+ onReset={[Function]}
10652
+ onSubmit={[Function]}
10653
+ >
10654
+ <div
10655
+ className="base text-input form-input y-background2"
10656
+ >
10657
+ <label
10658
+ className="base label v50 mb-v x-main2"
10659
+ htmlFor="firstName"
10660
+ >
10661
+ What's your first name ?
10662
+ </label>
10663
+ <input
10664
+ className="input"
10665
+ disabled={false}
10666
+ id="firstName"
10667
+ name="firstName"
10668
+ onBlur={[Function]}
10669
+ onChange={[Function]}
10670
+ type="text"
10671
+ value="Test"
10672
+ />
10673
+ </div>
10674
+ <div
10675
+ className="base choices-input form-input x-background2 y-main2"
10676
+ style={
10677
+ Object {
10678
+ "--grid-columns-desktop": 3,
10679
+ "--grid-columns-mobile": 2,
10680
+ }
10681
+ }
10682
+ >
10683
+ <p
10684
+ className="base label x-main2"
10685
+ >
10686
+ What are your favourite colors ?
10687
+ </p>
10688
+ <div
10689
+ className="choices"
10690
+ >
10691
+ <div
10692
+ className="base choice"
10693
+ >
10694
+ <input
10695
+ disabled={false}
10696
+ id="undefined-red"
10697
+ name="colors"
10698
+ onBlur={[Function]}
10699
+ onChange={[Function]}
10700
+ type="radio"
10701
+ value="red"
10702
+ />
10703
+ <label
10704
+ htmlFor="undefined-red"
10705
+ >
10706
+ Color Red
10707
+ </label>
10708
+ </div>
10709
+ <div
10710
+ className="base choice"
10711
+ >
10712
+ <input
10713
+ disabled={false}
10714
+ id="undefined-blue"
10715
+ name="colors"
10716
+ onBlur={[Function]}
10717
+ onChange={[Function]}
10718
+ type="radio"
10719
+ value="blue"
10720
+ />
10721
+ <label
10722
+ htmlFor="undefined-blue"
10723
+ >
10724
+ Color Blue
10725
+ </label>
10726
+ </div>
10727
+ <div
10728
+ className="base choice"
10729
+ >
10730
+ <input
10731
+ disabled={false}
10732
+ id="undefined-green"
10733
+ name="colors"
10734
+ onBlur={[Function]}
10735
+ onChange={[Function]}
10736
+ type="radio"
10737
+ value="green"
10738
+ />
10739
+ <label
10740
+ htmlFor="undefined-green"
10741
+ >
10742
+ Color Green
10743
+ </label>
10744
+ </div>
10745
+ </div>
10746
+ </div>
10747
+ <div
10748
+ className="base select-input form-input y-background2"
10749
+ >
10750
+ <label
10751
+ className="base label x-main2"
10752
+ htmlFor="status"
10753
+ >
10754
+ Select Task Status
10755
+ </label>
10756
+ <div
10757
+ className="select-wrapper"
10758
+ >
10759
+ <select
10760
+ className="input"
10761
+ disabled={false}
10762
+ id="status"
10763
+ name="status"
10764
+ onBlur={[Function]}
10765
+ onChange={[Function]}
10766
+ value=""
10767
+ />
10768
+ </div>
10769
+ </div>
10770
+ <div
10771
+ className="debugger"
10772
+ >
10773
+ <button
10774
+ className="base button x-main2"
10775
+ onClick={[Function]}
10776
+ type="button"
10777
+ >
10778
+ Open FormDebugger
10779
+ </button>
10780
+ </div>
10781
+ </form>
10782
+ `;
10783
+
10640
10784
  exports[`Storyshots f/FormInput With Query Combobox 1`] = `
10641
10785
  <form
10642
10786
  action="#"
@@ -10778,6 +10922,49 @@ exports[`Storyshots f/FormInput With Query Combobox 1`] = `
10778
10922
  />
10779
10923
  </div>
10780
10924
  </div>
10925
+ <div
10926
+ className="base multiple-combobox form-input y-background2"
10927
+ >
10928
+ <label
10929
+ className="base label x-main2"
10930
+ htmlFor="teams"
10931
+ id="downshift-1-label"
10932
+ >
10933
+ Search for teams
10934
+ </label>
10935
+ <div
10936
+ aria-expanded={false}
10937
+ aria-haspopup="listbox"
10938
+ aria-owns="downshift-1-menu"
10939
+ className="input-wrapper"
10940
+ role="combobox"
10941
+ >
10942
+ <input
10943
+ aria-autocomplete="list"
10944
+ aria-controls="downshift-1-menu"
10945
+ aria-labelledby="downshift-1-label"
10946
+ autoComplete="off"
10947
+ className="input"
10948
+ id="downshift-1-input"
10949
+ onBlur={[Function]}
10950
+ onChange={[Function]}
10951
+ onClick={[Function]}
10952
+ onKeyDown={[Function]}
10953
+ value=""
10954
+ />
10955
+ </div>
10956
+ <div
10957
+ className="base popover x-background1 bottom left"
10958
+ >
10959
+ <ul
10960
+ aria-labelledby="downshift-1-label"
10961
+ className="base menu"
10962
+ id="downshift-1-menu"
10963
+ onMouseLeave={[Function]}
10964
+ role="listbox"
10965
+ />
10966
+ </div>
10967
+ </div>
10781
10968
  <div
10782
10969
  className="debugger"
10783
10970
  >
@@ -11365,24 +11552,24 @@ exports[`Storyshots f/fields/QueryCombobox Multiple Select 1`] = `
11365
11552
  <label
11366
11553
  className="base label x-main2"
11367
11554
  htmlFor="teams"
11368
- id="downshift-3-label"
11555
+ id="downshift-4-label"
11369
11556
  >
11370
11557
  Search for a team
11371
11558
  </label>
11372
11559
  <div
11373
11560
  aria-expanded={false}
11374
11561
  aria-haspopup="listbox"
11375
- aria-owns="downshift-3-menu"
11562
+ aria-owns="downshift-4-menu"
11376
11563
  className="input-wrapper"
11377
11564
  role="combobox"
11378
11565
  >
11379
11566
  <input
11380
11567
  aria-autocomplete="list"
11381
- aria-controls="downshift-3-menu"
11382
- aria-labelledby="downshift-3-label"
11568
+ aria-controls="downshift-4-menu"
11569
+ aria-labelledby="downshift-4-label"
11383
11570
  autoComplete="off"
11384
11571
  className="input"
11385
- id="downshift-3-input"
11572
+ id="downshift-4-input"
11386
11573
  onBlur={[Function]}
11387
11574
  onChange={[Function]}
11388
11575
  onClick={[Function]}
@@ -11394,9 +11581,9 @@ exports[`Storyshots f/fields/QueryCombobox Multiple Select 1`] = `
11394
11581
  className="base popover x-background1 bottom left"
11395
11582
  >
11396
11583
  <ul
11397
- aria-labelledby="downshift-3-label"
11584
+ aria-labelledby="downshift-4-label"
11398
11585
  className="base menu"
11399
- id="downshift-3-menu"
11586
+ id="downshift-4-menu"
11400
11587
  onMouseLeave={[Function]}
11401
11588
  role="listbox"
11402
11589
  />
@@ -11445,7 +11632,7 @@ exports[`Storyshots f/fields/QueryCombobox Multiple Select With Default Formik S
11445
11632
  <label
11446
11633
  className="base label x-main2"
11447
11634
  htmlFor="teams"
11448
- id="downshift-4-label"
11635
+ id="downshift-5-label"
11449
11636
  >
11450
11637
  Search for a team
11451
11638
  </label>
@@ -11502,17 +11689,17 @@ exports[`Storyshots f/fields/QueryCombobox Multiple Select With Default Formik S
11502
11689
  <div
11503
11690
  aria-expanded={false}
11504
11691
  aria-haspopup="listbox"
11505
- aria-owns="downshift-4-menu"
11692
+ aria-owns="downshift-5-menu"
11506
11693
  className="input-wrapper"
11507
11694
  role="combobox"
11508
11695
  >
11509
11696
  <input
11510
11697
  aria-autocomplete="list"
11511
- aria-controls="downshift-4-menu"
11512
- aria-labelledby="downshift-4-label"
11698
+ aria-controls="downshift-5-menu"
11699
+ aria-labelledby="downshift-5-label"
11513
11700
  autoComplete="off"
11514
11701
  className="input"
11515
- id="downshift-4-input"
11702
+ id="downshift-5-input"
11516
11703
  onBlur={[Function]}
11517
11704
  onChange={[Function]}
11518
11705
  onClick={[Function]}
@@ -11524,9 +11711,9 @@ exports[`Storyshots f/fields/QueryCombobox Multiple Select With Default Formik S
11524
11711
  className="base popover x-background1 bottom left"
11525
11712
  >
11526
11713
  <ul
11527
- aria-labelledby="downshift-4-label"
11714
+ aria-labelledby="downshift-5-label"
11528
11715
  className="base menu"
11529
- id="downshift-4-menu"
11716
+ id="downshift-5-menu"
11530
11717
  onMouseLeave={[Function]}
11531
11718
  role="listbox"
11532
11719
  />
@@ -11575,24 +11762,24 @@ exports[`Storyshots f/fields/QueryCombobox Single Select 1`] = `
11575
11762
  <label
11576
11763
  className="base label x-main2"
11577
11764
  htmlFor="team"
11578
- id="downshift-1-label"
11765
+ id="downshift-2-label"
11579
11766
  >
11580
11767
  Search for a team
11581
11768
  </label>
11582
11769
  <div
11583
11770
  aria-expanded={false}
11584
11771
  aria-haspopup="listbox"
11585
- aria-owns="downshift-1-menu"
11772
+ aria-owns="downshift-2-menu"
11586
11773
  className="input-wrapper"
11587
11774
  role="combobox"
11588
11775
  >
11589
11776
  <input
11590
11777
  aria-autocomplete="list"
11591
- aria-controls="downshift-1-menu"
11592
- aria-labelledby="downshift-1-label"
11778
+ aria-controls="downshift-2-menu"
11779
+ aria-labelledby="downshift-2-label"
11593
11780
  autoComplete="off"
11594
11781
  className="input"
11595
- id="downshift-1-input"
11782
+ id="downshift-2-input"
11596
11783
  onBlur={[Function]}
11597
11784
  onChange={[Function]}
11598
11785
  onKeyDown={[Function]}
@@ -11603,9 +11790,9 @@ exports[`Storyshots f/fields/QueryCombobox Single Select 1`] = `
11603
11790
  className="base popover x-background1 bottom left"
11604
11791
  >
11605
11792
  <ul
11606
- aria-labelledby="downshift-1-label"
11793
+ aria-labelledby="downshift-2-label"
11607
11794
  className="base menu"
11608
- id="downshift-1-menu"
11795
+ id="downshift-2-menu"
11609
11796
  onMouseLeave={[Function]}
11610
11797
  role="listbox"
11611
11798
  />
@@ -11654,24 +11841,24 @@ exports[`Storyshots f/fields/QueryCombobox Single Select With Default Formik Sta
11654
11841
  <label
11655
11842
  className="base label x-main2"
11656
11843
  htmlFor="team"
11657
- id="downshift-2-label"
11844
+ id="downshift-3-label"
11658
11845
  >
11659
11846
  Search for a team
11660
11847
  </label>
11661
11848
  <div
11662
11849
  aria-expanded={false}
11663
11850
  aria-haspopup="listbox"
11664
- aria-owns="downshift-2-menu"
11851
+ aria-owns="downshift-3-menu"
11665
11852
  className="input-wrapper"
11666
11853
  role="combobox"
11667
11854
  >
11668
11855
  <input
11669
11856
  aria-autocomplete="list"
11670
- aria-controls="downshift-2-menu"
11671
- aria-labelledby="downshift-2-label"
11857
+ aria-controls="downshift-3-menu"
11858
+ aria-labelledby="downshift-3-label"
11672
11859
  autoComplete="off"
11673
11860
  className="input"
11674
- id="downshift-2-input"
11861
+ id="downshift-3-input"
11675
11862
  onBlur={[Function]}
11676
11863
  onChange={[Function]}
11677
11864
  onKeyDown={[Function]}
@@ -11682,9 +11869,9 @@ exports[`Storyshots f/fields/QueryCombobox Single Select With Default Formik Sta
11682
11869
  className="base popover x-background1 bottom left"
11683
11870
  >
11684
11871
  <ul
11685
- aria-labelledby="downshift-2-label"
11872
+ aria-labelledby="downshift-3-label"
11686
11873
  className="base menu"
11687
- id="downshift-2-menu"
11874
+ id="downshift-3-menu"
11688
11875
  onMouseLeave={[Function]}
11689
11876
  role="listbox"
11690
11877
  />
@@ -11721,6 +11908,135 @@ exports[`Storyshots f/fields/QueryCombobox Single Select With Default Formik Sta
11721
11908
  </form>
11722
11909
  `;
11723
11910
 
11911
+ exports[`Storyshots f/fields/QuerySelect Base 1`] = `
11912
+ <form
11913
+ action="#"
11914
+ onReset={[Function]}
11915
+ onSubmit={[Function]}
11916
+ >
11917
+ <div
11918
+ className="base select-input y-background2"
11919
+ >
11920
+ <label
11921
+ className="base label x-main2"
11922
+ htmlFor="status"
11923
+ >
11924
+ Select Task Status
11925
+ </label>
11926
+ <div
11927
+ className="select-wrapper"
11928
+ >
11929
+ <select
11930
+ className="input"
11931
+ disabled={false}
11932
+ id="status"
11933
+ name="status"
11934
+ onBlur={[Function]}
11935
+ onChange={[Function]}
11936
+ value=""
11937
+ />
11938
+ </div>
11939
+ </div>
11940
+ <div
11941
+ className="debugger"
11942
+ >
11943
+ <button
11944
+ className="base button x-main2"
11945
+ onClick={[Function]}
11946
+ type="button"
11947
+ >
11948
+ Open FormDebugger
11949
+ </button>
11950
+ </div>
11951
+ </form>
11952
+ `;
11953
+
11954
+ exports[`Storyshots f/fields/QuerySelect Loading Options 1`] = `
11955
+ <form
11956
+ action="#"
11957
+ onReset={[Function]}
11958
+ onSubmit={[Function]}
11959
+ >
11960
+ <div
11961
+ className="base select-input y-background2"
11962
+ >
11963
+ <label
11964
+ className="base label x-main2"
11965
+ htmlFor="status"
11966
+ >
11967
+ Select Task Status
11968
+ </label>
11969
+ <div
11970
+ className="select-wrapper"
11971
+ >
11972
+ <select
11973
+ className="input"
11974
+ disabled={false}
11975
+ id="status"
11976
+ name="status"
11977
+ onBlur={[Function]}
11978
+ onChange={[Function]}
11979
+ value=""
11980
+ />
11981
+ </div>
11982
+ </div>
11983
+ <div
11984
+ className="debugger"
11985
+ >
11986
+ <button
11987
+ className="base button x-main2"
11988
+ onClick={[Function]}
11989
+ type="button"
11990
+ >
11991
+ Open FormDebugger
11992
+ </button>
11993
+ </div>
11994
+ </form>
11995
+ `;
11996
+
11997
+ exports[`Storyshots f/fields/QuerySelect With Default Value 1`] = `
11998
+ <form
11999
+ action="#"
12000
+ onReset={[Function]}
12001
+ onSubmit={[Function]}
12002
+ >
12003
+ <div
12004
+ className="base select-input y-background2"
12005
+ >
12006
+ <label
12007
+ className="base label x-main2"
12008
+ htmlFor="status"
12009
+ >
12010
+ Select Task Status
12011
+ </label>
12012
+ <div
12013
+ className="select-wrapper"
12014
+ >
12015
+ <select
12016
+ className="input"
12017
+ disabled={false}
12018
+ id="status"
12019
+ name="status"
12020
+ onBlur={[Function]}
12021
+ onChange={[Function]}
12022
+ value="VGFza1N0YXR1c05vZGU6NGRiYjNlMmItMGIxYy00ZjIxLTk0MmUtZTNjZGQwMjdiNjU3"
12023
+ />
12024
+ </div>
12025
+ </div>
12026
+ <div
12027
+ className="debugger"
12028
+ >
12029
+ <button
12030
+ className="base button x-main2"
12031
+ onClick={[Function]}
12032
+ type="button"
12033
+ >
12034
+ Open FormDebugger
12035
+ </button>
12036
+ </div>
12037
+ </form>
12038
+ `;
12039
+
11724
12040
  exports[`Storyshots f/fields/RatingsInput Base 1`] = `
11725
12041
  <form
11726
12042
  action="#"
@@ -12523,40 +12839,44 @@ exports[`Storyshots f/fields/SelectInput Base 1`] = `
12523
12839
  >
12524
12840
  Work Type
12525
12841
  </label>
12526
- <select
12527
- className="input"
12528
- disabled={false}
12529
- id="workType"
12530
- name="workType"
12531
- onBlur={[Function]}
12532
- onChange={[Function]}
12533
- value=""
12842
+ <div
12843
+ className="select-wrapper"
12534
12844
  >
12535
- <option
12536
- disabled={true}
12537
- value=""
12538
- >
12539
- Select an option
12540
- </option>
12541
- <option
12542
- disabled={false}
12543
- value="Work"
12544
- >
12545
- Work
12546
- </option>
12547
- <option
12548
- disabled={false}
12549
- value="Managing"
12550
- >
12551
- Managing
12552
- </option>
12553
- <option
12845
+ <select
12846
+ className="input"
12554
12847
  disabled={false}
12555
- value="Training"
12848
+ id="workType"
12849
+ name="workType"
12850
+ onBlur={[Function]}
12851
+ onChange={[Function]}
12852
+ value=""
12556
12853
  >
12557
- Training
12558
- </option>
12559
- </select>
12854
+ <option
12855
+ disabled={true}
12856
+ value=""
12857
+ >
12858
+ Select an option
12859
+ </option>
12860
+ <option
12861
+ disabled={false}
12862
+ value="Work"
12863
+ >
12864
+ Work
12865
+ </option>
12866
+ <option
12867
+ disabled={false}
12868
+ value="Managing"
12869
+ >
12870
+ Managing
12871
+ </option>
12872
+ <option
12873
+ disabled={false}
12874
+ value="Training"
12875
+ >
12876
+ Training
12877
+ </option>
12878
+ </select>
12879
+ </div>
12560
12880
  </div>
12561
12881
  <div
12562
12882
  className="debugger"
@@ -12587,52 +12907,56 @@ exports[`Storyshots f/fields/SelectInput Disabled Select Input 1`] = `
12587
12907
  >
12588
12908
  Work Type
12589
12909
  </label>
12590
- <select
12591
- className="input"
12592
- disabled={true}
12593
- id="workType"
12594
- name="workType"
12595
- onBlur={[Function]}
12596
- onChange={[Function]}
12597
- value=""
12910
+ <div
12911
+ className="select-wrapper"
12598
12912
  >
12599
- <option
12913
+ <select
12914
+ className="input"
12600
12915
  disabled={true}
12916
+ id="workType"
12917
+ name="workType"
12918
+ onBlur={[Function]}
12919
+ onChange={[Function]}
12601
12920
  value=""
12602
12921
  >
12603
- Select an option
12604
- </option>
12605
- <option
12606
- disabled={false}
12607
- value="Work"
12608
- >
12609
- Work
12610
- </option>
12611
- <option
12612
- disabled={false}
12613
- value="Managing"
12614
- >
12615
- Managing
12616
- </option>
12617
- <option
12618
- disabled={false}
12619
- value="Training"
12620
- >
12621
- Training
12622
- </option>
12623
- <option
12624
- disabled={false}
12625
- value="20th Aug 2020 to 19th Sept, 2020"
12626
- >
12627
- 20th Aug 2020 to 19th Sept, 2020
12628
- </option>
12629
- <option
12630
- disabled={false}
12631
- value="20th Sept 2020 to 19th Oct, 2020"
12632
- >
12633
- 20th Sept 2020 to 19th Oct, 2020
12634
- </option>
12635
- </select>
12922
+ <option
12923
+ disabled={true}
12924
+ value=""
12925
+ >
12926
+ Select an option
12927
+ </option>
12928
+ <option
12929
+ disabled={false}
12930
+ value="Work"
12931
+ >
12932
+ Work
12933
+ </option>
12934
+ <option
12935
+ disabled={false}
12936
+ value="Managing"
12937
+ >
12938
+ Managing
12939
+ </option>
12940
+ <option
12941
+ disabled={false}
12942
+ value="Training"
12943
+ >
12944
+ Training
12945
+ </option>
12946
+ <option
12947
+ disabled={false}
12948
+ value="20th Aug 2020 to 19th Sept, 2020"
12949
+ >
12950
+ 20th Aug 2020 to 19th Sept, 2020
12951
+ </option>
12952
+ <option
12953
+ disabled={false}
12954
+ value="20th Sept 2020 to 19th Oct, 2020"
12955
+ >
12956
+ 20th Sept 2020 to 19th Oct, 2020
12957
+ </option>
12958
+ </select>
12959
+ </div>
12636
12960
  </div>
12637
12961
  <div
12638
12962
  className="debugger"
@@ -12663,34 +12987,38 @@ exports[`Storyshots f/fields/SelectInput Objects 1`] = `
12663
12987
  >
12664
12988
  Work Type
12665
12989
  </label>
12666
- <select
12667
- className="input"
12668
- disabled={false}
12669
- id="workType"
12670
- name="workType"
12671
- onBlur={[Function]}
12672
- onChange={[Function]}
12673
- value=""
12990
+ <div
12991
+ className="select-wrapper"
12674
12992
  >
12675
- <option
12676
- disabled={true}
12677
- value=""
12678
- >
12679
- Select an option
12680
- </option>
12681
- <option
12682
- disabled={false}
12683
- value="20th Aug 2020 to 19th Sept, 2020"
12684
- >
12685
- 20th Aug 2020 to 19th Sept, 2020
12686
- </option>
12687
- <option
12993
+ <select
12994
+ className="input"
12688
12995
  disabled={false}
12689
- value="20th Sept 2020 to 19th Oct, 2020"
12996
+ id="workType"
12997
+ name="workType"
12998
+ onBlur={[Function]}
12999
+ onChange={[Function]}
13000
+ value=""
12690
13001
  >
12691
- 20th Sept 2020 to 19th Oct, 2020
12692
- </option>
12693
- </select>
13002
+ <option
13003
+ disabled={true}
13004
+ value=""
13005
+ >
13006
+ Select an option
13007
+ </option>
13008
+ <option
13009
+ disabled={false}
13010
+ value="20th Aug 2020 to 19th Sept, 2020"
13011
+ >
13012
+ 20th Aug 2020 to 19th Sept, 2020
13013
+ </option>
13014
+ <option
13015
+ disabled={false}
13016
+ value="20th Sept 2020 to 19th Oct, 2020"
13017
+ >
13018
+ 20th Sept 2020 to 19th Oct, 2020
13019
+ </option>
13020
+ </select>
13021
+ </div>
12694
13022
  </div>
12695
13023
  <div
12696
13024
  className="debugger"
@@ -12721,34 +13049,38 @@ exports[`Storyshots f/fields/SelectInput Required Select 1`] = `
12721
13049
  >
12722
13050
  Activity Type
12723
13051
  </label>
12724
- <select
12725
- className="input"
12726
- disabled={false}
12727
- id="activity"
12728
- name="activity"
12729
- onBlur={[Function]}
12730
- onChange={[Function]}
12731
- value=""
13052
+ <div
13053
+ className="select-wrapper"
12732
13054
  >
12733
- <option
12734
- disabled={true}
12735
- value=""
12736
- >
12737
- Select an option
12738
- </option>
12739
- <option
12740
- disabled={false}
12741
- value="review"
12742
- >
12743
- Review
12744
- </option>
12745
- <option
13055
+ <select
13056
+ className="input"
12746
13057
  disabled={false}
12747
- value="Approve"
13058
+ id="activity"
13059
+ name="activity"
13060
+ onBlur={[Function]}
13061
+ onChange={[Function]}
13062
+ value=""
12748
13063
  >
12749
- Approve
12750
- </option>
12751
- </select>
13064
+ <option
13065
+ disabled={true}
13066
+ value=""
13067
+ >
13068
+ Select an option
13069
+ </option>
13070
+ <option
13071
+ disabled={false}
13072
+ value="review"
13073
+ >
13074
+ Review
13075
+ </option>
13076
+ <option
13077
+ disabled={false}
13078
+ value="Approve"
13079
+ >
13080
+ Approve
13081
+ </option>
13082
+ </select>
13083
+ </div>
12752
13084
  </div>
12753
13085
  <div
12754
13086
  className="debugger"
@@ -12779,52 +13111,56 @@ exports[`Storyshots f/fields/SelectInput String And Objects 1`] = `
12779
13111
  >
12780
13112
  Work Type
12781
13113
  </label>
12782
- <select
12783
- className="input"
12784
- disabled={false}
12785
- id="workType"
12786
- name="workType"
12787
- onBlur={[Function]}
12788
- onChange={[Function]}
12789
- value=""
13114
+ <div
13115
+ className="select-wrapper"
12790
13116
  >
12791
- <option
12792
- disabled={true}
12793
- value=""
12794
- >
12795
- Select an option
12796
- </option>
12797
- <option
12798
- disabled={false}
12799
- value="Work"
12800
- >
12801
- Work
12802
- </option>
12803
- <option
12804
- disabled={false}
12805
- value="Managing"
12806
- >
12807
- Managing
12808
- </option>
12809
- <option
12810
- disabled={false}
12811
- value="Training"
12812
- >
12813
- Training
12814
- </option>
12815
- <option
12816
- disabled={false}
12817
- value="20th Aug 2020 to 19th Sept, 2020"
12818
- >
12819
- 20th Aug 2020 to 19th Sept, 2020
12820
- </option>
12821
- <option
13117
+ <select
13118
+ className="input"
12822
13119
  disabled={false}
12823
- value="20th Sept 2020 to 19th Oct, 2020"
13120
+ id="workType"
13121
+ name="workType"
13122
+ onBlur={[Function]}
13123
+ onChange={[Function]}
13124
+ value=""
12824
13125
  >
12825
- 20th Sept 2020 to 19th Oct, 2020
12826
- </option>
12827
- </select>
13126
+ <option
13127
+ disabled={true}
13128
+ value=""
13129
+ >
13130
+ Select an option
13131
+ </option>
13132
+ <option
13133
+ disabled={false}
13134
+ value="Work"
13135
+ >
13136
+ Work
13137
+ </option>
13138
+ <option
13139
+ disabled={false}
13140
+ value="Managing"
13141
+ >
13142
+ Managing
13143
+ </option>
13144
+ <option
13145
+ disabled={false}
13146
+ value="Training"
13147
+ >
13148
+ Training
13149
+ </option>
13150
+ <option
13151
+ disabled={false}
13152
+ value="20th Aug 2020 to 19th Sept, 2020"
13153
+ >
13154
+ 20th Aug 2020 to 19th Sept, 2020
13155
+ </option>
13156
+ <option
13157
+ disabled={false}
13158
+ value="20th Sept 2020 to 19th Oct, 2020"
13159
+ >
13160
+ 20th Sept 2020 to 19th Oct, 2020
13161
+ </option>
13162
+ </select>
13163
+ </div>
12828
13164
  </div>
12829
13165
  <div
12830
13166
  className="debugger"