@pareto-engineering/design-system 2.0.0-alpha.64 → 2.0.0-alpha.65
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.
- package/dist/cjs/f/common/Label/Label.js +10 -4
- package/dist/cjs/f/fields/ChoicesInput/ChoicesInput.js +9 -2
- package/dist/cjs/f/fields/QueryCombobox/QueryCombobox.js +8 -1
- package/dist/cjs/f/fields/QueryCombobox/common/Combobox/Combobox.js +10 -3
- package/dist/cjs/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +9 -2
- package/dist/cjs/f/fields/QuerySelect/QuerySelect.js +8 -1
- package/dist/cjs/f/fields/SelectInput/SelectInput.js +9 -2
- package/dist/cjs/f/fields/TextareaInput/TextareaInput.js +9 -2
- package/dist/es/f/common/Label/Label.js +10 -4
- package/dist/es/f/fields/ChoicesInput/ChoicesInput.js +9 -2
- package/dist/es/f/fields/QueryCombobox/QueryCombobox.js +8 -1
- package/dist/es/f/fields/QueryCombobox/common/Combobox/Combobox.js +10 -3
- package/dist/es/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +9 -2
- package/dist/es/f/fields/QuerySelect/QuerySelect.js +8 -1
- package/dist/es/f/fields/SelectInput/SelectInput.js +9 -2
- package/dist/es/f/fields/TextareaInput/TextareaInput.js +9 -2
- package/package.json +1 -1
- package/src/__snapshots__/Storyshots.test.js.snap +670 -27
- package/src/stories/f/Checkbox.stories.jsx +1 -1
- package/src/stories/f/ChoicesInput.stories.jsx +8 -0
- package/src/stories/f/Label.stories.jsx +8 -3
- package/src/stories/f/QueryCombobox.stories.jsx +6 -0
- package/src/stories/f/QuerySelect.stories.jsx +8 -1
- package/src/stories/f/RatingsInput.stories.jsx +7 -0
- package/src/stories/f/SelectInput.stories.jsx +7 -0
- package/src/stories/f/TextInput.stories.jsx +7 -0
- package/src/stories/f/TextareaInput.stories.jsx +7 -0
- package/src/ui/f/common/Label/Label.jsx +9 -3
- package/src/ui/f/fields/ChoicesInput/ChoicesInput.jsx +7 -1
- package/src/ui/f/fields/QueryCombobox/QueryCombobox.jsx +7 -0
- package/src/ui/f/fields/QueryCombobox/common/Combobox/Combobox.jsx +11 -1
- package/src/ui/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.jsx +11 -1
- package/src/ui/f/fields/QuerySelect/QuerySelect.jsx +7 -0
- package/src/ui/f/fields/SelectInput/SelectInput.jsx +7 -1
- package/src/ui/f/fields/TextareaInput/TextareaInput.jsx +7 -0
|
@@ -12297,6 +12297,15 @@ exports[`Storyshots f/common/Label Base 1`] = `
|
|
|
12297
12297
|
</label>
|
|
12298
12298
|
`;
|
|
12299
12299
|
|
|
12300
|
+
exports[`Storyshots f/common/Label Optional 1`] = `
|
|
12301
|
+
<label
|
|
12302
|
+
className="base form-label x-main2"
|
|
12303
|
+
>
|
|
12304
|
+
Sample Label
|
|
12305
|
+
(Optional)
|
|
12306
|
+
</label>
|
|
12307
|
+
`;
|
|
12308
|
+
|
|
12300
12309
|
exports[`Storyshots f/fields/Checkbox Base 1`] = `
|
|
12301
12310
|
<form
|
|
12302
12311
|
action="#"
|
|
@@ -12374,6 +12383,13 @@ exports[`Storyshots f/fields/Checkbox Optional 1`] = `
|
|
|
12374
12383
|
<div
|
|
12375
12384
|
className="base checkbox"
|
|
12376
12385
|
>
|
|
12386
|
+
<label
|
|
12387
|
+
className="base form-label x-main2"
|
|
12388
|
+
htmlFor="urgent"
|
|
12389
|
+
>
|
|
12390
|
+
Urgent
|
|
12391
|
+
(Optional)
|
|
12392
|
+
</label>
|
|
12377
12393
|
<input
|
|
12378
12394
|
checked={false}
|
|
12379
12395
|
className="input"
|
|
@@ -13644,6 +13660,199 @@ exports[`Storyshots f/fields/ChoicesInput Multiple With Grid 1`] = `
|
|
|
13644
13660
|
</form>
|
|
13645
13661
|
`;
|
|
13646
13662
|
|
|
13663
|
+
exports[`Storyshots f/fields/ChoicesInput Optional 1`] = `
|
|
13664
|
+
<form
|
|
13665
|
+
action="#"
|
|
13666
|
+
onReset={[Function]}
|
|
13667
|
+
onSubmit={[Function]}
|
|
13668
|
+
>
|
|
13669
|
+
<div
|
|
13670
|
+
className="base choices-input x-background2 y-main2"
|
|
13671
|
+
id="colors"
|
|
13672
|
+
style={
|
|
13673
|
+
Object {
|
|
13674
|
+
"--grid-columns-desktop": 3,
|
|
13675
|
+
"--grid-columns-mobile": 2,
|
|
13676
|
+
}
|
|
13677
|
+
}
|
|
13678
|
+
>
|
|
13679
|
+
<p
|
|
13680
|
+
className="base form-label x-main2"
|
|
13681
|
+
>
|
|
13682
|
+
Select color
|
|
13683
|
+
(Optional)
|
|
13684
|
+
</p>
|
|
13685
|
+
<div
|
|
13686
|
+
className="choices"
|
|
13687
|
+
>
|
|
13688
|
+
<div
|
|
13689
|
+
className="base choice"
|
|
13690
|
+
>
|
|
13691
|
+
<input
|
|
13692
|
+
checked={false}
|
|
13693
|
+
disabled={false}
|
|
13694
|
+
id="color-red"
|
|
13695
|
+
name="color"
|
|
13696
|
+
onBlur={[Function]}
|
|
13697
|
+
onChange={[Function]}
|
|
13698
|
+
type="radio"
|
|
13699
|
+
value="red"
|
|
13700
|
+
/>
|
|
13701
|
+
<label
|
|
13702
|
+
htmlFor="color-red"
|
|
13703
|
+
>
|
|
13704
|
+
Color Red
|
|
13705
|
+
</label>
|
|
13706
|
+
</div>
|
|
13707
|
+
<div
|
|
13708
|
+
className="base choice"
|
|
13709
|
+
>
|
|
13710
|
+
<input
|
|
13711
|
+
checked={false}
|
|
13712
|
+
disabled={false}
|
|
13713
|
+
id="color-blue"
|
|
13714
|
+
name="color"
|
|
13715
|
+
onBlur={[Function]}
|
|
13716
|
+
onChange={[Function]}
|
|
13717
|
+
type="radio"
|
|
13718
|
+
value="blue"
|
|
13719
|
+
/>
|
|
13720
|
+
<label
|
|
13721
|
+
htmlFor="color-blue"
|
|
13722
|
+
>
|
|
13723
|
+
Color Blue
|
|
13724
|
+
</label>
|
|
13725
|
+
</div>
|
|
13726
|
+
<div
|
|
13727
|
+
className="base choice"
|
|
13728
|
+
>
|
|
13729
|
+
<input
|
|
13730
|
+
checked={false}
|
|
13731
|
+
disabled={false}
|
|
13732
|
+
id="color-green"
|
|
13733
|
+
name="color"
|
|
13734
|
+
onBlur={[Function]}
|
|
13735
|
+
onChange={[Function]}
|
|
13736
|
+
type="radio"
|
|
13737
|
+
value="green"
|
|
13738
|
+
/>
|
|
13739
|
+
<label
|
|
13740
|
+
htmlFor="color-green"
|
|
13741
|
+
>
|
|
13742
|
+
Color Green
|
|
13743
|
+
</label>
|
|
13744
|
+
</div>
|
|
13745
|
+
<div
|
|
13746
|
+
className="base choice"
|
|
13747
|
+
>
|
|
13748
|
+
<input
|
|
13749
|
+
checked={false}
|
|
13750
|
+
disabled={false}
|
|
13751
|
+
id="color-yellow"
|
|
13752
|
+
name="color"
|
|
13753
|
+
onBlur={[Function]}
|
|
13754
|
+
onChange={[Function]}
|
|
13755
|
+
type="radio"
|
|
13756
|
+
value="yellow"
|
|
13757
|
+
/>
|
|
13758
|
+
<label
|
|
13759
|
+
htmlFor="color-yellow"
|
|
13760
|
+
>
|
|
13761
|
+
Color Yellow
|
|
13762
|
+
</label>
|
|
13763
|
+
</div>
|
|
13764
|
+
<div
|
|
13765
|
+
className="base choice"
|
|
13766
|
+
>
|
|
13767
|
+
<input
|
|
13768
|
+
checked={false}
|
|
13769
|
+
disabled={false}
|
|
13770
|
+
id="color-oarnge"
|
|
13771
|
+
name="color"
|
|
13772
|
+
onBlur={[Function]}
|
|
13773
|
+
onChange={[Function]}
|
|
13774
|
+
type="radio"
|
|
13775
|
+
value="oarnge"
|
|
13776
|
+
/>
|
|
13777
|
+
<label
|
|
13778
|
+
htmlFor="color-oarnge"
|
|
13779
|
+
>
|
|
13780
|
+
Color Orange
|
|
13781
|
+
</label>
|
|
13782
|
+
</div>
|
|
13783
|
+
<div
|
|
13784
|
+
className="base choice"
|
|
13785
|
+
>
|
|
13786
|
+
<input
|
|
13787
|
+
checked={false}
|
|
13788
|
+
disabled={false}
|
|
13789
|
+
id="color-violet"
|
|
13790
|
+
name="color"
|
|
13791
|
+
onBlur={[Function]}
|
|
13792
|
+
onChange={[Function]}
|
|
13793
|
+
type="radio"
|
|
13794
|
+
value="violet"
|
|
13795
|
+
/>
|
|
13796
|
+
<label
|
|
13797
|
+
htmlFor="color-violet"
|
|
13798
|
+
>
|
|
13799
|
+
Color Violet
|
|
13800
|
+
</label>
|
|
13801
|
+
</div>
|
|
13802
|
+
<div
|
|
13803
|
+
className="base choice"
|
|
13804
|
+
>
|
|
13805
|
+
<input
|
|
13806
|
+
checked={false}
|
|
13807
|
+
disabled={false}
|
|
13808
|
+
id="color-brown"
|
|
13809
|
+
name="color"
|
|
13810
|
+
onBlur={[Function]}
|
|
13811
|
+
onChange={[Function]}
|
|
13812
|
+
type="radio"
|
|
13813
|
+
value="brown"
|
|
13814
|
+
/>
|
|
13815
|
+
<label
|
|
13816
|
+
htmlFor="color-brown"
|
|
13817
|
+
>
|
|
13818
|
+
Color Brown
|
|
13819
|
+
</label>
|
|
13820
|
+
</div>
|
|
13821
|
+
<div
|
|
13822
|
+
className="base choice"
|
|
13823
|
+
>
|
|
13824
|
+
<input
|
|
13825
|
+
checked={false}
|
|
13826
|
+
disabled={false}
|
|
13827
|
+
id="color-black"
|
|
13828
|
+
name="color"
|
|
13829
|
+
onBlur={[Function]}
|
|
13830
|
+
onChange={[Function]}
|
|
13831
|
+
type="radio"
|
|
13832
|
+
value="black"
|
|
13833
|
+
/>
|
|
13834
|
+
<label
|
|
13835
|
+
htmlFor="color-black"
|
|
13836
|
+
>
|
|
13837
|
+
Color Black
|
|
13838
|
+
</label>
|
|
13839
|
+
</div>
|
|
13840
|
+
</div>
|
|
13841
|
+
</div>
|
|
13842
|
+
<div
|
|
13843
|
+
className="debugger"
|
|
13844
|
+
>
|
|
13845
|
+
<button
|
|
13846
|
+
className="base button x-main2"
|
|
13847
|
+
onClick={[Function]}
|
|
13848
|
+
type="button"
|
|
13849
|
+
>
|
|
13850
|
+
Open FormDebugger
|
|
13851
|
+
</button>
|
|
13852
|
+
</div>
|
|
13853
|
+
</form>
|
|
13854
|
+
`;
|
|
13855
|
+
|
|
13647
13856
|
exports[`Storyshots f/fields/ChoicesInput With Default Formik Value 1`] = `
|
|
13648
13857
|
<form
|
|
13649
13858
|
action="#"
|
|
@@ -13843,25 +14052,25 @@ exports[`Storyshots f/fields/QueryCombobox Multiple Select 1`] = `
|
|
|
13843
14052
|
<label
|
|
13844
14053
|
className="base form-label x-main2"
|
|
13845
14054
|
htmlFor="teams"
|
|
13846
|
-
id="downshift-
|
|
14055
|
+
id="downshift-5-label"
|
|
13847
14056
|
>
|
|
13848
14057
|
Search for a team
|
|
13849
14058
|
</label>
|
|
13850
14059
|
<div
|
|
13851
14060
|
aria-expanded={false}
|
|
13852
14061
|
aria-haspopup="listbox"
|
|
13853
|
-
aria-owns="downshift-
|
|
14062
|
+
aria-owns="downshift-5-menu"
|
|
13854
14063
|
className="input-wrapper"
|
|
13855
14064
|
role="combobox"
|
|
13856
14065
|
>
|
|
13857
14066
|
<input
|
|
13858
14067
|
aria-autocomplete="list"
|
|
13859
|
-
aria-controls="downshift-
|
|
13860
|
-
aria-labelledby="downshift-
|
|
14068
|
+
aria-controls="downshift-5-menu"
|
|
14069
|
+
aria-labelledby="downshift-5-label"
|
|
13861
14070
|
autoComplete="off"
|
|
13862
14071
|
className="input"
|
|
13863
14072
|
disabled={false}
|
|
13864
|
-
id="downshift-
|
|
14073
|
+
id="downshift-5-input"
|
|
13865
14074
|
onBlur={[Function]}
|
|
13866
14075
|
onChange={[Function]}
|
|
13867
14076
|
onClick={[Function]}
|
|
@@ -13873,9 +14082,9 @@ exports[`Storyshots f/fields/QueryCombobox Multiple Select 1`] = `
|
|
|
13873
14082
|
className="base popover x-background1 bottom left"
|
|
13874
14083
|
>
|
|
13875
14084
|
<ul
|
|
13876
|
-
aria-labelledby="downshift-
|
|
14085
|
+
aria-labelledby="downshift-5-label"
|
|
13877
14086
|
className="base menu"
|
|
13878
|
-
id="downshift-
|
|
14087
|
+
id="downshift-5-menu"
|
|
13879
14088
|
onMouseLeave={[Function]}
|
|
13880
14089
|
role="listbox"
|
|
13881
14090
|
/>
|
|
@@ -13924,7 +14133,7 @@ exports[`Storyshots f/fields/QueryCombobox Multiple Select With Default Formik S
|
|
|
13924
14133
|
<label
|
|
13925
14134
|
className="base form-label x-main2"
|
|
13926
14135
|
htmlFor="teams"
|
|
13927
|
-
id="downshift-
|
|
14136
|
+
id="downshift-6-label"
|
|
13928
14137
|
>
|
|
13929
14138
|
Search for a team
|
|
13930
14139
|
</label>
|
|
@@ -13981,18 +14190,18 @@ exports[`Storyshots f/fields/QueryCombobox Multiple Select With Default Formik S
|
|
|
13981
14190
|
<div
|
|
13982
14191
|
aria-expanded={false}
|
|
13983
14192
|
aria-haspopup="listbox"
|
|
13984
|
-
aria-owns="downshift-
|
|
14193
|
+
aria-owns="downshift-6-menu"
|
|
13985
14194
|
className="input-wrapper"
|
|
13986
14195
|
role="combobox"
|
|
13987
14196
|
>
|
|
13988
14197
|
<input
|
|
13989
14198
|
aria-autocomplete="list"
|
|
13990
|
-
aria-controls="downshift-
|
|
13991
|
-
aria-labelledby="downshift-
|
|
14199
|
+
aria-controls="downshift-6-menu"
|
|
14200
|
+
aria-labelledby="downshift-6-label"
|
|
13992
14201
|
autoComplete="off"
|
|
13993
14202
|
className="input"
|
|
13994
14203
|
disabled={false}
|
|
13995
|
-
id="downshift-
|
|
14204
|
+
id="downshift-6-input"
|
|
13996
14205
|
onBlur={[Function]}
|
|
13997
14206
|
onChange={[Function]}
|
|
13998
14207
|
onClick={[Function]}
|
|
@@ -14004,9 +14213,9 @@ exports[`Storyshots f/fields/QueryCombobox Multiple Select With Default Formik S
|
|
|
14004
14213
|
className="base popover x-background1 bottom left"
|
|
14005
14214
|
>
|
|
14006
14215
|
<ul
|
|
14007
|
-
aria-labelledby="downshift-
|
|
14216
|
+
aria-labelledby="downshift-6-label"
|
|
14008
14217
|
className="base menu"
|
|
14009
|
-
id="downshift-
|
|
14218
|
+
id="downshift-6-menu"
|
|
14010
14219
|
onMouseLeave={[Function]}
|
|
14011
14220
|
role="listbox"
|
|
14012
14221
|
/>
|
|
@@ -14043,7 +14252,7 @@ exports[`Storyshots f/fields/QueryCombobox Multiple Select With Default Formik S
|
|
|
14043
14252
|
</form>
|
|
14044
14253
|
`;
|
|
14045
14254
|
|
|
14046
|
-
exports[`Storyshots f/fields/QueryCombobox
|
|
14255
|
+
exports[`Storyshots f/fields/QueryCombobox Optional 1`] = `
|
|
14047
14256
|
<form
|
|
14048
14257
|
action="#"
|
|
14049
14258
|
onReset={[Function]}
|
|
@@ -14058,6 +14267,7 @@ exports[`Storyshots f/fields/QueryCombobox Single Select 1`] = `
|
|
|
14058
14267
|
id="downshift-2-label"
|
|
14059
14268
|
>
|
|
14060
14269
|
Search for a team
|
|
14270
|
+
(Optional)
|
|
14061
14271
|
</label>
|
|
14062
14272
|
<div
|
|
14063
14273
|
aria-expanded={false}
|
|
@@ -14123,7 +14333,7 @@ exports[`Storyshots f/fields/QueryCombobox Single Select 1`] = `
|
|
|
14123
14333
|
</form>
|
|
14124
14334
|
`;
|
|
14125
14335
|
|
|
14126
|
-
exports[`Storyshots f/fields/QueryCombobox Single Select
|
|
14336
|
+
exports[`Storyshots f/fields/QueryCombobox Single Select 1`] = `
|
|
14127
14337
|
<form
|
|
14128
14338
|
action="#"
|
|
14129
14339
|
onReset={[Function]}
|
|
@@ -14157,7 +14367,7 @@ exports[`Storyshots f/fields/QueryCombobox Single Select With Default Formik Sta
|
|
|
14157
14367
|
onBlur={[Function]}
|
|
14158
14368
|
onChange={[Function]}
|
|
14159
14369
|
onKeyDown={[Function]}
|
|
14160
|
-
value="
|
|
14370
|
+
value=""
|
|
14161
14371
|
/>
|
|
14162
14372
|
</div>
|
|
14163
14373
|
<div
|
|
@@ -14203,33 +14413,113 @@ exports[`Storyshots f/fields/QueryCombobox Single Select With Default Formik Sta
|
|
|
14203
14413
|
</form>
|
|
14204
14414
|
`;
|
|
14205
14415
|
|
|
14206
|
-
exports[`Storyshots f/fields/
|
|
14416
|
+
exports[`Storyshots f/fields/QueryCombobox Single Select With Default Formik State 1`] = `
|
|
14207
14417
|
<form
|
|
14208
14418
|
action="#"
|
|
14209
14419
|
onReset={[Function]}
|
|
14210
14420
|
onSubmit={[Function]}
|
|
14211
14421
|
>
|
|
14212
14422
|
<div
|
|
14213
|
-
className="base
|
|
14423
|
+
className="base combobox y-background2"
|
|
14214
14424
|
>
|
|
14215
14425
|
<label
|
|
14216
14426
|
className="base form-label x-main2"
|
|
14217
|
-
htmlFor="
|
|
14427
|
+
htmlFor="team"
|
|
14428
|
+
id="downshift-4-label"
|
|
14218
14429
|
>
|
|
14219
|
-
|
|
14430
|
+
Search for a team
|
|
14220
14431
|
</label>
|
|
14221
14432
|
<div
|
|
14222
|
-
|
|
14433
|
+
aria-expanded={false}
|
|
14434
|
+
aria-haspopup="listbox"
|
|
14435
|
+
aria-owns="downshift-4-menu"
|
|
14436
|
+
className="input-wrapper"
|
|
14437
|
+
role="combobox"
|
|
14223
14438
|
>
|
|
14224
|
-
<
|
|
14439
|
+
<input
|
|
14440
|
+
aria-autocomplete="list"
|
|
14441
|
+
aria-controls="downshift-4-menu"
|
|
14442
|
+
aria-labelledby="downshift-4-label"
|
|
14443
|
+
autoComplete="off"
|
|
14225
14444
|
className="input"
|
|
14226
14445
|
disabled={false}
|
|
14227
|
-
id="
|
|
14228
|
-
name="status"
|
|
14446
|
+
id="downshift-4-input"
|
|
14229
14447
|
onBlur={[Function]}
|
|
14230
14448
|
onChange={[Function]}
|
|
14231
|
-
|
|
14232
|
-
|
|
14449
|
+
onKeyDown={[Function]}
|
|
14450
|
+
value="Apple"
|
|
14451
|
+
/>
|
|
14452
|
+
</div>
|
|
14453
|
+
<div
|
|
14454
|
+
className="base popover x-background1 bottom left"
|
|
14455
|
+
>
|
|
14456
|
+
<ul
|
|
14457
|
+
aria-labelledby="downshift-4-label"
|
|
14458
|
+
className="base menu"
|
|
14459
|
+
id="downshift-4-menu"
|
|
14460
|
+
onMouseLeave={[Function]}
|
|
14461
|
+
role="listbox"
|
|
14462
|
+
/>
|
|
14463
|
+
</div>
|
|
14464
|
+
</div>
|
|
14465
|
+
<div
|
|
14466
|
+
style={
|
|
14467
|
+
Object {
|
|
14468
|
+
"alignItems": "flex-end",
|
|
14469
|
+
"display": "flex",
|
|
14470
|
+
"flexDirection": "column",
|
|
14471
|
+
}
|
|
14472
|
+
}
|
|
14473
|
+
>
|
|
14474
|
+
<div
|
|
14475
|
+
className="debugger"
|
|
14476
|
+
>
|
|
14477
|
+
<button
|
|
14478
|
+
className="base button x-main2"
|
|
14479
|
+
onClick={[Function]}
|
|
14480
|
+
type="button"
|
|
14481
|
+
>
|
|
14482
|
+
Open FormDebugger
|
|
14483
|
+
</button>
|
|
14484
|
+
</div>
|
|
14485
|
+
<button
|
|
14486
|
+
className="base button x-main1"
|
|
14487
|
+
onClick={[Function]}
|
|
14488
|
+
type="button"
|
|
14489
|
+
>
|
|
14490
|
+
Replace formik value
|
|
14491
|
+
</button>
|
|
14492
|
+
</div>
|
|
14493
|
+
</form>
|
|
14494
|
+
`;
|
|
14495
|
+
|
|
14496
|
+
exports[`Storyshots f/fields/QuerySelect Base 1`] = `
|
|
14497
|
+
<form
|
|
14498
|
+
action="#"
|
|
14499
|
+
onReset={[Function]}
|
|
14500
|
+
onSubmit={[Function]}
|
|
14501
|
+
>
|
|
14502
|
+
<div
|
|
14503
|
+
className="base select-input y-background2"
|
|
14504
|
+
>
|
|
14505
|
+
<label
|
|
14506
|
+
className="base form-label x-main2"
|
|
14507
|
+
htmlFor="status"
|
|
14508
|
+
>
|
|
14509
|
+
Select Task Status
|
|
14510
|
+
</label>
|
|
14511
|
+
<div
|
|
14512
|
+
className="select-wrapper"
|
|
14513
|
+
>
|
|
14514
|
+
<select
|
|
14515
|
+
className="input"
|
|
14516
|
+
disabled={false}
|
|
14517
|
+
id="status"
|
|
14518
|
+
name="status"
|
|
14519
|
+
onBlur={[Function]}
|
|
14520
|
+
onChange={[Function]}
|
|
14521
|
+
value=""
|
|
14522
|
+
/>
|
|
14233
14523
|
</div>
|
|
14234
14524
|
</div>
|
|
14235
14525
|
<div
|
|
@@ -14289,6 +14579,50 @@ exports[`Storyshots f/fields/QuerySelect Loading Options 1`] = `
|
|
|
14289
14579
|
</form>
|
|
14290
14580
|
`;
|
|
14291
14581
|
|
|
14582
|
+
exports[`Storyshots f/fields/QuerySelect Optional 1`] = `
|
|
14583
|
+
<form
|
|
14584
|
+
action="#"
|
|
14585
|
+
onReset={[Function]}
|
|
14586
|
+
onSubmit={[Function]}
|
|
14587
|
+
>
|
|
14588
|
+
<div
|
|
14589
|
+
className="base select-input y-background2"
|
|
14590
|
+
>
|
|
14591
|
+
<label
|
|
14592
|
+
className="base form-label x-main2"
|
|
14593
|
+
htmlFor="status"
|
|
14594
|
+
>
|
|
14595
|
+
Select Task Status
|
|
14596
|
+
(Optional)
|
|
14597
|
+
</label>
|
|
14598
|
+
<div
|
|
14599
|
+
className="select-wrapper"
|
|
14600
|
+
>
|
|
14601
|
+
<select
|
|
14602
|
+
className="input"
|
|
14603
|
+
disabled={false}
|
|
14604
|
+
id="status"
|
|
14605
|
+
name="status"
|
|
14606
|
+
onBlur={[Function]}
|
|
14607
|
+
onChange={[Function]}
|
|
14608
|
+
value=""
|
|
14609
|
+
/>
|
|
14610
|
+
</div>
|
|
14611
|
+
</div>
|
|
14612
|
+
<div
|
|
14613
|
+
className="debugger"
|
|
14614
|
+
>
|
|
14615
|
+
<button
|
|
14616
|
+
className="base button x-main2"
|
|
14617
|
+
onClick={[Function]}
|
|
14618
|
+
type="button"
|
|
14619
|
+
>
|
|
14620
|
+
Open FormDebugger
|
|
14621
|
+
</button>
|
|
14622
|
+
</div>
|
|
14623
|
+
</form>
|
|
14624
|
+
`;
|
|
14625
|
+
|
|
14292
14626
|
exports[`Storyshots f/fields/QuerySelect With Default Value 1`] = `
|
|
14293
14627
|
<form
|
|
14294
14628
|
action="#"
|
|
@@ -14839,6 +15173,156 @@ exports[`Storyshots f/fields/RatingsInput Numbers 1`] = `
|
|
|
14839
15173
|
</form>
|
|
14840
15174
|
`;
|
|
14841
15175
|
|
|
15176
|
+
exports[`Storyshots f/fields/RatingsInput Optional 1`] = `
|
|
15177
|
+
<form
|
|
15178
|
+
action="#"
|
|
15179
|
+
onReset={[Function]}
|
|
15180
|
+
onSubmit={[Function]}
|
|
15181
|
+
>
|
|
15182
|
+
<div
|
|
15183
|
+
className="base ratings-input"
|
|
15184
|
+
>
|
|
15185
|
+
<label
|
|
15186
|
+
className="base form-label input-label v50 mb-v x-main2"
|
|
15187
|
+
htmlFor="ratings"
|
|
15188
|
+
>
|
|
15189
|
+
Your Rating
|
|
15190
|
+
(Optional)
|
|
15191
|
+
</label>
|
|
15192
|
+
<div
|
|
15193
|
+
className="stars"
|
|
15194
|
+
>
|
|
15195
|
+
<div
|
|
15196
|
+
className="base rating x-main1 y-background2"
|
|
15197
|
+
>
|
|
15198
|
+
<label
|
|
15199
|
+
htmlFor="ratings-1"
|
|
15200
|
+
onMouseEnter={[Function]}
|
|
15201
|
+
onMouseLeave={[Function]}
|
|
15202
|
+
>
|
|
15203
|
+
<span
|
|
15204
|
+
className="f-icons c-dark-y"
|
|
15205
|
+
>
|
|
15206
|
+
[
|
|
15207
|
+
</span>
|
|
15208
|
+
</label>
|
|
15209
|
+
<input
|
|
15210
|
+
id="ratings-1"
|
|
15211
|
+
name="ratings"
|
|
15212
|
+
onBlur={[Function]}
|
|
15213
|
+
onChange={[Function]}
|
|
15214
|
+
type="radio"
|
|
15215
|
+
value={1}
|
|
15216
|
+
/>
|
|
15217
|
+
</div>
|
|
15218
|
+
<div
|
|
15219
|
+
className="base rating x-main1 y-background2"
|
|
15220
|
+
>
|
|
15221
|
+
<label
|
|
15222
|
+
htmlFor="ratings-2"
|
|
15223
|
+
onMouseEnter={[Function]}
|
|
15224
|
+
onMouseLeave={[Function]}
|
|
15225
|
+
>
|
|
15226
|
+
<span
|
|
15227
|
+
className="f-icons c-dark-y"
|
|
15228
|
+
>
|
|
15229
|
+
[
|
|
15230
|
+
</span>
|
|
15231
|
+
</label>
|
|
15232
|
+
<input
|
|
15233
|
+
id="ratings-2"
|
|
15234
|
+
name="ratings"
|
|
15235
|
+
onBlur={[Function]}
|
|
15236
|
+
onChange={[Function]}
|
|
15237
|
+
type="radio"
|
|
15238
|
+
value={2}
|
|
15239
|
+
/>
|
|
15240
|
+
</div>
|
|
15241
|
+
<div
|
|
15242
|
+
className="base rating x-main1 y-background2"
|
|
15243
|
+
>
|
|
15244
|
+
<label
|
|
15245
|
+
htmlFor="ratings-3"
|
|
15246
|
+
onMouseEnter={[Function]}
|
|
15247
|
+
onMouseLeave={[Function]}
|
|
15248
|
+
>
|
|
15249
|
+
<span
|
|
15250
|
+
className="f-icons c-dark-y"
|
|
15251
|
+
>
|
|
15252
|
+
[
|
|
15253
|
+
</span>
|
|
15254
|
+
</label>
|
|
15255
|
+
<input
|
|
15256
|
+
id="ratings-3"
|
|
15257
|
+
name="ratings"
|
|
15258
|
+
onBlur={[Function]}
|
|
15259
|
+
onChange={[Function]}
|
|
15260
|
+
type="radio"
|
|
15261
|
+
value={3}
|
|
15262
|
+
/>
|
|
15263
|
+
</div>
|
|
15264
|
+
<div
|
|
15265
|
+
className="base rating x-main1 y-background2"
|
|
15266
|
+
>
|
|
15267
|
+
<label
|
|
15268
|
+
htmlFor="ratings-4"
|
|
15269
|
+
onMouseEnter={[Function]}
|
|
15270
|
+
onMouseLeave={[Function]}
|
|
15271
|
+
>
|
|
15272
|
+
<span
|
|
15273
|
+
className="f-icons c-dark-y"
|
|
15274
|
+
>
|
|
15275
|
+
[
|
|
15276
|
+
</span>
|
|
15277
|
+
</label>
|
|
15278
|
+
<input
|
|
15279
|
+
id="ratings-4"
|
|
15280
|
+
name="ratings"
|
|
15281
|
+
onBlur={[Function]}
|
|
15282
|
+
onChange={[Function]}
|
|
15283
|
+
type="radio"
|
|
15284
|
+
value={4}
|
|
15285
|
+
/>
|
|
15286
|
+
</div>
|
|
15287
|
+
<div
|
|
15288
|
+
className="base rating x-main1 y-background2"
|
|
15289
|
+
>
|
|
15290
|
+
<label
|
|
15291
|
+
htmlFor="ratings-5"
|
|
15292
|
+
onMouseEnter={[Function]}
|
|
15293
|
+
onMouseLeave={[Function]}
|
|
15294
|
+
>
|
|
15295
|
+
<span
|
|
15296
|
+
className="f-icons c-dark-y"
|
|
15297
|
+
>
|
|
15298
|
+
[
|
|
15299
|
+
</span>
|
|
15300
|
+
</label>
|
|
15301
|
+
<input
|
|
15302
|
+
id="ratings-5"
|
|
15303
|
+
name="ratings"
|
|
15304
|
+
onBlur={[Function]}
|
|
15305
|
+
onChange={[Function]}
|
|
15306
|
+
type="radio"
|
|
15307
|
+
value={5}
|
|
15308
|
+
/>
|
|
15309
|
+
</div>
|
|
15310
|
+
</div>
|
|
15311
|
+
</div>
|
|
15312
|
+
<div
|
|
15313
|
+
className="debugger"
|
|
15314
|
+
>
|
|
15315
|
+
<button
|
|
15316
|
+
className="base button x-main2"
|
|
15317
|
+
onClick={[Function]}
|
|
15318
|
+
type="button"
|
|
15319
|
+
>
|
|
15320
|
+
Open FormDebugger
|
|
15321
|
+
</button>
|
|
15322
|
+
</div>
|
|
15323
|
+
</form>
|
|
15324
|
+
`;
|
|
15325
|
+
|
|
14842
15326
|
exports[`Storyshots f/fields/SelectInput Base 1`] = `
|
|
14843
15327
|
<form
|
|
14844
15328
|
action="#"
|
|
@@ -14975,6 +15459,75 @@ exports[`Storyshots f/fields/SelectInput Disabled Select Input 1`] = `
|
|
|
14975
15459
|
</form>
|
|
14976
15460
|
`;
|
|
14977
15461
|
|
|
15462
|
+
exports[`Storyshots f/fields/SelectInput Optional 1`] = `
|
|
15463
|
+
<form
|
|
15464
|
+
action="#"
|
|
15465
|
+
onReset={[Function]}
|
|
15466
|
+
onSubmit={[Function]}
|
|
15467
|
+
>
|
|
15468
|
+
<div
|
|
15469
|
+
className="base select-input y-background2"
|
|
15470
|
+
>
|
|
15471
|
+
<label
|
|
15472
|
+
className="base form-label x-main2"
|
|
15473
|
+
htmlFor="workType"
|
|
15474
|
+
>
|
|
15475
|
+
Work Type
|
|
15476
|
+
(Optional)
|
|
15477
|
+
</label>
|
|
15478
|
+
<div
|
|
15479
|
+
className="select-wrapper"
|
|
15480
|
+
>
|
|
15481
|
+
<select
|
|
15482
|
+
className="input"
|
|
15483
|
+
disabled={false}
|
|
15484
|
+
id="workType"
|
|
15485
|
+
name="workType"
|
|
15486
|
+
onBlur={[Function]}
|
|
15487
|
+
onChange={[Function]}
|
|
15488
|
+
value=""
|
|
15489
|
+
>
|
|
15490
|
+
<option
|
|
15491
|
+
disabled={true}
|
|
15492
|
+
value=""
|
|
15493
|
+
>
|
|
15494
|
+
Select an option
|
|
15495
|
+
</option>
|
|
15496
|
+
<option
|
|
15497
|
+
disabled={false}
|
|
15498
|
+
value="Work"
|
|
15499
|
+
>
|
|
15500
|
+
Work
|
|
15501
|
+
</option>
|
|
15502
|
+
<option
|
|
15503
|
+
disabled={false}
|
|
15504
|
+
value="Managing"
|
|
15505
|
+
>
|
|
15506
|
+
Managing
|
|
15507
|
+
</option>
|
|
15508
|
+
<option
|
|
15509
|
+
disabled={false}
|
|
15510
|
+
value="Training"
|
|
15511
|
+
>
|
|
15512
|
+
Training
|
|
15513
|
+
</option>
|
|
15514
|
+
</select>
|
|
15515
|
+
</div>
|
|
15516
|
+
</div>
|
|
15517
|
+
<div
|
|
15518
|
+
className="debugger"
|
|
15519
|
+
>
|
|
15520
|
+
<button
|
|
15521
|
+
className="base button x-main2"
|
|
15522
|
+
onClick={[Function]}
|
|
15523
|
+
type="button"
|
|
15524
|
+
>
|
|
15525
|
+
Open FormDebugger
|
|
15526
|
+
</button>
|
|
15527
|
+
</div>
|
|
15528
|
+
</form>
|
|
15529
|
+
`;
|
|
15530
|
+
|
|
14978
15531
|
exports[`Storyshots f/fields/SelectInput Required 1`] = `
|
|
14979
15532
|
<form
|
|
14980
15533
|
action="#"
|
|
@@ -15217,6 +15770,51 @@ exports[`Storyshots f/fields/TextInput Date 1`] = `
|
|
|
15217
15770
|
</form>
|
|
15218
15771
|
`;
|
|
15219
15772
|
|
|
15773
|
+
exports[`Storyshots f/fields/TextInput Optional 1`] = `
|
|
15774
|
+
<form
|
|
15775
|
+
action="#"
|
|
15776
|
+
onReset={[Function]}
|
|
15777
|
+
onSubmit={[Function]}
|
|
15778
|
+
>
|
|
15779
|
+
<div
|
|
15780
|
+
className=" u2 pb-u"
|
|
15781
|
+
>
|
|
15782
|
+
<div
|
|
15783
|
+
className="base text-input y-background2"
|
|
15784
|
+
>
|
|
15785
|
+
<label
|
|
15786
|
+
className="base form-label v50 mb-v x-main2"
|
|
15787
|
+
htmlFor="firstName"
|
|
15788
|
+
>
|
|
15789
|
+
What's your first name ?
|
|
15790
|
+
(Optional)
|
|
15791
|
+
</label>
|
|
15792
|
+
<input
|
|
15793
|
+
className="input"
|
|
15794
|
+
disabled={false}
|
|
15795
|
+
id="firstName"
|
|
15796
|
+
name="firstName"
|
|
15797
|
+
onBlur={[Function]}
|
|
15798
|
+
onChange={[Function]}
|
|
15799
|
+
type="text"
|
|
15800
|
+
value=""
|
|
15801
|
+
/>
|
|
15802
|
+
</div>
|
|
15803
|
+
<div
|
|
15804
|
+
className="debugger"
|
|
15805
|
+
>
|
|
15806
|
+
<button
|
|
15807
|
+
className="base button x-main2"
|
|
15808
|
+
onClick={[Function]}
|
|
15809
|
+
type="button"
|
|
15810
|
+
>
|
|
15811
|
+
Open FormDebugger
|
|
15812
|
+
</button>
|
|
15813
|
+
</div>
|
|
15814
|
+
</div>
|
|
15815
|
+
</form>
|
|
15816
|
+
`;
|
|
15817
|
+
|
|
15220
15818
|
exports[`Storyshots f/fields/TextInput Time 1`] = `
|
|
15221
15819
|
<form
|
|
15222
15820
|
action="#"
|
|
@@ -15615,6 +16213,51 @@ exports[`Storyshots f/fields/TextareaInput Horizontal Resize 1`] = `
|
|
|
15615
16213
|
</form>
|
|
15616
16214
|
`;
|
|
15617
16215
|
|
|
16216
|
+
exports[`Storyshots f/fields/TextareaInput Optional 1`] = `
|
|
16217
|
+
<form
|
|
16218
|
+
action="#"
|
|
16219
|
+
onReset={[Function]}
|
|
16220
|
+
onSubmit={[Function]}
|
|
16221
|
+
>
|
|
16222
|
+
<div
|
|
16223
|
+
className="base text-area-input y-background2"
|
|
16224
|
+
>
|
|
16225
|
+
<label
|
|
16226
|
+
className="base form-label v50 mb-v x-main2"
|
|
16227
|
+
htmlFor="feedback"
|
|
16228
|
+
>
|
|
16229
|
+
What can we improve on?
|
|
16230
|
+
(Optional)
|
|
16231
|
+
</label>
|
|
16232
|
+
<textarea
|
|
16233
|
+
className="textarea"
|
|
16234
|
+
disabled={false}
|
|
16235
|
+
name="feedback"
|
|
16236
|
+
onBlur={[Function]}
|
|
16237
|
+
onChange={[Function]}
|
|
16238
|
+
rows={3}
|
|
16239
|
+
style={
|
|
16240
|
+
Object {
|
|
16241
|
+
"resize": "vertical",
|
|
16242
|
+
}
|
|
16243
|
+
}
|
|
16244
|
+
value=""
|
|
16245
|
+
/>
|
|
16246
|
+
</div>
|
|
16247
|
+
<div
|
|
16248
|
+
className="debugger"
|
|
16249
|
+
>
|
|
16250
|
+
<button
|
|
16251
|
+
className="base button x-main2"
|
|
16252
|
+
onClick={[Function]}
|
|
16253
|
+
type="button"
|
|
16254
|
+
>
|
|
16255
|
+
Open FormDebugger
|
|
16256
|
+
</button>
|
|
16257
|
+
</div>
|
|
16258
|
+
</form>
|
|
16259
|
+
`;
|
|
16260
|
+
|
|
15618
16261
|
exports[`Storyshots f/fields/TextareaInput Placeholder 1`] = `
|
|
15619
16262
|
<form
|
|
15620
16263
|
action="#"
|