@pareto-engineering/design-system 4.0.0-alpha.73 → 4.0.0-alpha.74

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/fields/SelectInput/SelectInput.js +33 -42
  2. package/dist/cjs/f/fields/SelectInput/common/Menu/Menu.js +83 -0
  3. package/dist/cjs/f/fields/SelectInput/common/Menu/index.js +13 -0
  4. package/dist/cjs/f/fields/SelectInput/common/Multiple/Multiple.js +244 -0
  5. package/dist/cjs/f/fields/SelectInput/common/Multiple/index.js +13 -0
  6. package/dist/cjs/f/fields/SelectInput/common/Single/Single.js +104 -0
  7. package/dist/cjs/f/fields/SelectInput/common/Single/index.js +13 -0
  8. package/dist/cjs/f/fields/SelectInput/common/index.js +26 -0
  9. package/dist/cjs/f/fields/SelectInput/styles.scss +149 -45
  10. package/dist/es/f/fields/SelectInput/SelectInput.js +31 -42
  11. package/dist/es/f/fields/SelectInput/common/Menu/Menu.js +73 -0
  12. package/dist/es/f/fields/SelectInput/common/Menu/index.js +2 -0
  13. package/dist/es/f/fields/SelectInput/common/Multiple/Multiple.js +235 -0
  14. package/dist/es/f/fields/SelectInput/common/Multiple/index.js +2 -0
  15. package/dist/es/f/fields/SelectInput/common/Single/Single.js +96 -0
  16. package/dist/es/f/fields/SelectInput/common/Single/index.js +2 -0
  17. package/dist/es/f/fields/SelectInput/common/index.js +3 -0
  18. package/dist/es/f/fields/SelectInput/styles.scss +149 -45
  19. package/package.json +2 -2
  20. package/src/stories/f/SelectInput.stories.jsx +15 -0
  21. package/src/ui/f/fields/SelectInput/SelectInput.jsx +34 -47
  22. package/src/ui/f/fields/SelectInput/common/Menu/Menu.jsx +103 -0
  23. package/src/ui/f/fields/SelectInput/common/Menu/index.js +2 -0
  24. package/src/ui/f/fields/SelectInput/common/Multiple/Multiple.jsx +288 -0
  25. package/src/ui/f/fields/SelectInput/common/Multiple/index.js +2 -0
  26. package/src/ui/f/fields/SelectInput/common/Single/Single.jsx +125 -0
  27. package/src/ui/f/fields/SelectInput/common/Single/index.js +2 -0
  28. package/src/ui/f/fields/SelectInput/common/index.js +3 -0
  29. package/src/ui/f/fields/SelectInput/styles.scss +149 -45
  30. package/tests/__snapshots__/Storyshots.test.js.snap +523 -393
@@ -15584,43 +15584,47 @@ exports[`Storyshots f/FormInput Base 1`] = `
15584
15584
  <div
15585
15585
  className="base select-input form-input"
15586
15586
  >
15587
- <label
15588
- className="base form-label x-paragraph"
15589
- htmlFor="food"
15590
- >
15591
- What do you want for dinner ?
15592
- </label>
15593
15587
  <div
15594
- className="select-wrapper"
15588
+ className="base single"
15595
15589
  >
15596
- <select
15597
- className="input y-paragraph"
15598
- disabled={false}
15599
- id="food"
15600
- name="food"
15601
- onBlur={[Function]}
15602
- onChange={[Function]}
15603
- value=""
15590
+ <label
15591
+ className="base form-label x-paragraph"
15592
+ htmlFor="food"
15604
15593
  >
15605
- <option
15606
- disabled={false}
15607
- value="italian"
15608
- >
15609
- A nice pizza
15610
- </option>
15611
- <option
15612
- disabled={false}
15613
- value="turkish"
15614
- >
15615
- A delicious kebab
15616
- </option>
15617
- <option
15594
+ What do you want for dinner ?
15595
+ </label>
15596
+ <div
15597
+ className="select-wrapper"
15598
+ >
15599
+ <select
15600
+ className="input y-paragraph"
15618
15601
  disabled={false}
15619
- value="french"
15602
+ id="food"
15603
+ name="food"
15604
+ onBlur={[Function]}
15605
+ onChange={[Function]}
15606
+ value=""
15620
15607
  >
15621
- A three course delicate french meal
15622
- </option>
15623
- </select>
15608
+ <option
15609
+ disabled={false}
15610
+ value="italian"
15611
+ >
15612
+ A nice pizza
15613
+ </option>
15614
+ <option
15615
+ disabled={false}
15616
+ value="turkish"
15617
+ >
15618
+ A delicious kebab
15619
+ </option>
15620
+ <option
15621
+ disabled={false}
15622
+ value="french"
15623
+ >
15624
+ A three course delicate french meal
15625
+ </option>
15626
+ </select>
15627
+ </div>
15624
15628
  </div>
15625
15629
  </div>
15626
15630
  <div
@@ -15785,43 +15789,47 @@ exports[`Storyshots f/FormInput Disabled Form Input 1`] = `
15785
15789
  <div
15786
15790
  className="base select-input form-input"
15787
15791
  >
15788
- <label
15789
- className="base form-label x-paragraph"
15790
- htmlFor="food"
15791
- >
15792
- What do you want for dinner ?
15793
- </label>
15794
15792
  <div
15795
- className="select-wrapper disabled"
15793
+ className="base single"
15796
15794
  >
15797
- <select
15798
- className="input y-paragraph"
15799
- disabled={true}
15800
- id="food"
15801
- name="food"
15802
- onBlur={[Function]}
15803
- onChange={[Function]}
15804
- value=""
15795
+ <label
15796
+ className="base form-label x-paragraph"
15797
+ htmlFor="food"
15805
15798
  >
15806
- <option
15807
- disabled={false}
15808
- value="italian"
15809
- >
15810
- A nice pizza
15811
- </option>
15812
- <option
15813
- disabled={false}
15814
- value="turkish"
15815
- >
15816
- A delicious kebab
15817
- </option>
15818
- <option
15819
- disabled={false}
15820
- value="french"
15799
+ What do you want for dinner ?
15800
+ </label>
15801
+ <div
15802
+ className="select-wrapper disabled"
15803
+ >
15804
+ <select
15805
+ className="input y-paragraph"
15806
+ disabled={true}
15807
+ id="food"
15808
+ name="food"
15809
+ onBlur={[Function]}
15810
+ onChange={[Function]}
15811
+ value=""
15821
15812
  >
15822
- A three course delicate french meal
15823
- </option>
15824
- </select>
15813
+ <option
15814
+ disabled={false}
15815
+ value="italian"
15816
+ >
15817
+ A nice pizza
15818
+ </option>
15819
+ <option
15820
+ disabled={false}
15821
+ value="turkish"
15822
+ >
15823
+ A delicious kebab
15824
+ </option>
15825
+ <option
15826
+ disabled={false}
15827
+ value="french"
15828
+ >
15829
+ A three course delicate french meal
15830
+ </option>
15831
+ </select>
15832
+ </div>
15825
15833
  </div>
15826
15834
  </div>
15827
15835
  <div
@@ -15982,24 +15990,28 @@ exports[`Storyshots f/FormInput With Prefetched Query Select 1`] = `
15982
15990
  <div
15983
15991
  className="base select-input form-input"
15984
15992
  >
15985
- <label
15986
- className="base form-label x-paragraph"
15987
- htmlFor="status"
15988
- >
15989
- Select Task Status
15990
- </label>
15991
15993
  <div
15992
- className="select-wrapper"
15994
+ className="base single"
15993
15995
  >
15994
- <select
15995
- className="input y-paragraph"
15996
- disabled={false}
15997
- id="status"
15998
- name="status"
15999
- onBlur={[Function]}
16000
- onChange={[Function]}
16001
- value=""
16002
- />
15996
+ <label
15997
+ className="base form-label x-paragraph"
15998
+ htmlFor="status"
15999
+ >
16000
+ Select Task Status
16001
+ </label>
16002
+ <div
16003
+ className="select-wrapper"
16004
+ >
16005
+ <select
16006
+ className="input y-paragraph"
16007
+ disabled={false}
16008
+ id="status"
16009
+ name="status"
16010
+ onBlur={[Function]}
16011
+ onChange={[Function]}
16012
+ value=""
16013
+ />
16014
+ </div>
16003
16015
  </div>
16004
16016
  </div>
16005
16017
  <div
@@ -20147,24 +20159,28 @@ exports[`Storyshots f/fields/QuerySelect Base 1`] = `
20147
20159
  <div
20148
20160
  className="base select-input"
20149
20161
  >
20150
- <label
20151
- className="base form-label x-paragraph"
20152
- htmlFor="status"
20153
- >
20154
- Select Task Status
20155
- </label>
20156
20162
  <div
20157
- className="select-wrapper"
20163
+ className="base single"
20158
20164
  >
20159
- <select
20160
- className="input y-paragraph"
20161
- disabled={false}
20162
- id="status"
20163
- name="status"
20164
- onBlur={[Function]}
20165
- onChange={[Function]}
20166
- value=""
20167
- />
20165
+ <label
20166
+ className="base form-label x-paragraph"
20167
+ htmlFor="status"
20168
+ >
20169
+ Select Task Status
20170
+ </label>
20171
+ <div
20172
+ className="select-wrapper"
20173
+ >
20174
+ <select
20175
+ className="input y-paragraph"
20176
+ disabled={false}
20177
+ id="status"
20178
+ name="status"
20179
+ onBlur={[Function]}
20180
+ onChange={[Function]}
20181
+ value=""
20182
+ />
20183
+ </div>
20168
20184
  </div>
20169
20185
  </div>
20170
20186
  <div
@@ -20200,24 +20216,28 @@ exports[`Storyshots f/fields/QuerySelect Loading Options 1`] = `
20200
20216
  <div
20201
20217
  className="base select-input"
20202
20218
  >
20203
- <label
20204
- className="base form-label x-paragraph"
20205
- htmlFor="status"
20206
- >
20207
- Select Task Status
20208
- </label>
20209
20219
  <div
20210
- className="select-wrapper"
20220
+ className="base single"
20211
20221
  >
20212
- <select
20213
- className="input y-paragraph"
20214
- disabled={false}
20215
- id="status"
20216
- name="status"
20217
- onBlur={[Function]}
20218
- onChange={[Function]}
20219
- value=""
20220
- />
20222
+ <label
20223
+ className="base form-label x-paragraph"
20224
+ htmlFor="status"
20225
+ >
20226
+ Select Task Status
20227
+ </label>
20228
+ <div
20229
+ className="select-wrapper"
20230
+ >
20231
+ <select
20232
+ className="input y-paragraph"
20233
+ disabled={false}
20234
+ id="status"
20235
+ name="status"
20236
+ onBlur={[Function]}
20237
+ onChange={[Function]}
20238
+ value=""
20239
+ />
20240
+ </div>
20221
20241
  </div>
20222
20242
  </div>
20223
20243
  <div
@@ -20253,25 +20273,29 @@ exports[`Storyshots f/fields/QuerySelect Optional 1`] = `
20253
20273
  <div
20254
20274
  className="base select-input"
20255
20275
  >
20256
- <label
20257
- className="base form-label x-paragraph"
20258
- htmlFor="status"
20259
- >
20260
- Select Task Status
20261
- (Optional)
20262
- </label>
20263
20276
  <div
20264
- className="select-wrapper"
20277
+ className="base single"
20265
20278
  >
20266
- <select
20267
- className="input y-paragraph"
20268
- disabled={false}
20269
- id="status"
20270
- name="status"
20271
- onBlur={[Function]}
20272
- onChange={[Function]}
20273
- value=""
20274
- />
20279
+ <label
20280
+ className="base form-label x-paragraph"
20281
+ htmlFor="status"
20282
+ >
20283
+ Select Task Status
20284
+ (Optional)
20285
+ </label>
20286
+ <div
20287
+ className="select-wrapper"
20288
+ >
20289
+ <select
20290
+ className="input y-paragraph"
20291
+ disabled={false}
20292
+ id="status"
20293
+ name="status"
20294
+ onBlur={[Function]}
20295
+ onChange={[Function]}
20296
+ value=""
20297
+ />
20298
+ </div>
20275
20299
  </div>
20276
20300
  </div>
20277
20301
  <div
@@ -20307,24 +20331,28 @@ exports[`Storyshots f/fields/QuerySelect With Default Value 1`] = `
20307
20331
  <div
20308
20332
  className="base select-input"
20309
20333
  >
20310
- <label
20311
- className="base form-label x-paragraph"
20312
- htmlFor="status"
20313
- >
20314
- Select Task Status
20315
- </label>
20316
20334
  <div
20317
- className="select-wrapper"
20335
+ className="base single"
20318
20336
  >
20319
- <select
20320
- className="input y-paragraph"
20321
- disabled={false}
20322
- id="status"
20323
- name="status"
20324
- onBlur={[Function]}
20325
- onChange={[Function]}
20326
- value="VGFza1N0YXR1c05vZGU6NGRiYjNlMmItMGIxYy00ZjIxLTk0MmUtZTNjZGQwMjdiNjU3"
20327
- />
20337
+ <label
20338
+ className="base form-label x-paragraph"
20339
+ htmlFor="status"
20340
+ >
20341
+ Select Task Status
20342
+ </label>
20343
+ <div
20344
+ className="select-wrapper"
20345
+ >
20346
+ <select
20347
+ className="input y-paragraph"
20348
+ disabled={false}
20349
+ id="status"
20350
+ name="status"
20351
+ onBlur={[Function]}
20352
+ onChange={[Function]}
20353
+ value="VGFza1N0YXR1c05vZGU6NGRiYjNlMmItMGIxYy00ZjIxLTk0MmUtZTNjZGQwMjdiNjU3"
20354
+ />
20355
+ </div>
20328
20356
  </div>
20329
20357
  </div>
20330
20358
  <div
@@ -21057,49 +21085,53 @@ exports[`Storyshots f/fields/SelectInput Base 1`] = `
21057
21085
  <div
21058
21086
  className="base select-input"
21059
21087
  >
21060
- <label
21061
- className="base form-label x-paragraph"
21062
- htmlFor="workType"
21063
- >
21064
- Work Type
21065
- </label>
21066
21088
  <div
21067
- className="select-wrapper"
21089
+ className="base single"
21068
21090
  >
21069
- <select
21070
- className="input y-paragraph"
21071
- disabled={false}
21072
- id="workType"
21073
- name="workType"
21074
- onBlur={[Function]}
21075
- onChange={[Function]}
21076
- value=""
21091
+ <label
21092
+ className="base form-label x-paragraph"
21093
+ htmlFor="workType"
21077
21094
  >
21078
- <option
21079
- disabled={true}
21080
- value=""
21081
- >
21082
- Select an option
21083
- </option>
21084
- <option
21085
- disabled={false}
21086
- value="Work"
21087
- >
21088
- Work
21089
- </option>
21090
- <option
21091
- disabled={false}
21092
- value="Managing"
21093
- >
21094
- Managing
21095
- </option>
21096
- <option
21095
+ Work Type
21096
+ </label>
21097
+ <div
21098
+ className="select-wrapper"
21099
+ >
21100
+ <select
21101
+ className="input y-paragraph"
21097
21102
  disabled={false}
21098
- value="Training"
21103
+ id="workType"
21104
+ name="workType"
21105
+ onBlur={[Function]}
21106
+ onChange={[Function]}
21107
+ value=""
21099
21108
  >
21100
- Training
21101
- </option>
21102
- </select>
21109
+ <option
21110
+ disabled={true}
21111
+ value=""
21112
+ >
21113
+ Select an option
21114
+ </option>
21115
+ <option
21116
+ disabled={false}
21117
+ value="Work"
21118
+ >
21119
+ Work
21120
+ </option>
21121
+ <option
21122
+ disabled={false}
21123
+ value="Managing"
21124
+ >
21125
+ Managing
21126
+ </option>
21127
+ <option
21128
+ disabled={false}
21129
+ value="Training"
21130
+ >
21131
+ Training
21132
+ </option>
21133
+ </select>
21134
+ </div>
21103
21135
  </div>
21104
21136
  </div>
21105
21137
  <div
@@ -21135,49 +21167,53 @@ exports[`Storyshots f/fields/SelectInput Disabled Select Input 1`] = `
21135
21167
  <div
21136
21168
  className="base select-input"
21137
21169
  >
21138
- <label
21139
- className="base form-label x-paragraph"
21140
- htmlFor="workType"
21141
- >
21142
- Work Type
21143
- </label>
21144
21170
  <div
21145
- className="select-wrapper disabled"
21171
+ className="base single"
21146
21172
  >
21147
- <select
21148
- className="input y-paragraph"
21149
- disabled={true}
21150
- id="workType"
21151
- name="workType"
21152
- onBlur={[Function]}
21153
- onChange={[Function]}
21154
- value=""
21173
+ <label
21174
+ className="base form-label x-paragraph"
21175
+ htmlFor="workType"
21155
21176
  >
21156
- <option
21177
+ Work Type
21178
+ </label>
21179
+ <div
21180
+ className="select-wrapper disabled"
21181
+ >
21182
+ <select
21183
+ className="input y-paragraph"
21157
21184
  disabled={true}
21185
+ id="workType"
21186
+ name="workType"
21187
+ onBlur={[Function]}
21188
+ onChange={[Function]}
21158
21189
  value=""
21159
21190
  >
21160
- Select an option
21161
- </option>
21162
- <option
21163
- disabled={false}
21164
- value="Work"
21165
- >
21166
- Work
21167
- </option>
21168
- <option
21169
- disabled={false}
21170
- value="Managing"
21171
- >
21172
- Managing
21173
- </option>
21174
- <option
21175
- disabled={false}
21176
- value="Training"
21177
- >
21178
- Training
21179
- </option>
21180
- </select>
21191
+ <option
21192
+ disabled={true}
21193
+ value=""
21194
+ >
21195
+ Select an option
21196
+ </option>
21197
+ <option
21198
+ disabled={false}
21199
+ value="Work"
21200
+ >
21201
+ Work
21202
+ </option>
21203
+ <option
21204
+ disabled={false}
21205
+ value="Managing"
21206
+ >
21207
+ Managing
21208
+ </option>
21209
+ <option
21210
+ disabled={false}
21211
+ value="Training"
21212
+ >
21213
+ Training
21214
+ </option>
21215
+ </select>
21216
+ </div>
21181
21217
  </div>
21182
21218
  </div>
21183
21219
  <div
@@ -21213,54 +21249,136 @@ exports[`Storyshots f/fields/SelectInput Disabled With Description Select Input
21213
21249
  <div
21214
21250
  className="base select-input"
21215
21251
  >
21216
- <label
21217
- className="base form-label x-paragraph"
21218
- htmlFor="workType"
21219
- >
21220
- Work Type
21221
- </label>
21222
21252
  <div
21223
- className="select-wrapper disabled"
21253
+ className="base single"
21224
21254
  >
21225
- <select
21226
- className="input y-paragraph"
21227
- disabled={true}
21228
- id="workType"
21229
- name="workType"
21230
- onBlur={[Function]}
21231
- onChange={[Function]}
21232
- value=""
21255
+ <label
21256
+ className="base form-label x-paragraph"
21257
+ htmlFor="workType"
21233
21258
  >
21234
- <option
21259
+ Work Type
21260
+ </label>
21261
+ <div
21262
+ className="select-wrapper disabled"
21263
+ >
21264
+ <select
21265
+ className="input y-paragraph"
21235
21266
  disabled={true}
21267
+ id="workType"
21268
+ name="workType"
21269
+ onBlur={[Function]}
21270
+ onChange={[Function]}
21236
21271
  value=""
21237
21272
  >
21238
- Select an option
21239
- </option>
21240
- <option
21241
- disabled={false}
21242
- value="Work"
21243
- >
21244
- Work
21245
- </option>
21246
- <option
21247
- disabled={false}
21248
- value="Managing"
21249
- >
21250
- Managing
21251
- </option>
21252
- <option
21253
- disabled={false}
21254
- value="Training"
21255
- >
21256
- Training
21257
- </option>
21258
- </select>
21273
+ <option
21274
+ disabled={true}
21275
+ value=""
21276
+ >
21277
+ Select an option
21278
+ </option>
21279
+ <option
21280
+ disabled={false}
21281
+ value="Work"
21282
+ >
21283
+ Work
21284
+ </option>
21285
+ <option
21286
+ disabled={false}
21287
+ value="Managing"
21288
+ >
21289
+ Managing
21290
+ </option>
21291
+ <option
21292
+ disabled={false}
21293
+ value="Training"
21294
+ >
21295
+ Training
21296
+ </option>
21297
+ </select>
21298
+ </div>
21299
+ <div
21300
+ className="base description s-1 x-metadata"
21301
+ >
21302
+ This is a description
21303
+ </div>
21259
21304
  </div>
21305
+ </div>
21306
+ <div
21307
+ className="debugger"
21308
+ >
21309
+ <button
21310
+ className="base button x-main2"
21311
+ onClick={[Function]}
21312
+ type="button"
21313
+ >
21314
+ Open FormDebugger
21315
+ </button>
21316
+ </div>
21317
+ </div>
21318
+ </form>
21319
+ `;
21320
+
21321
+ exports[`Storyshots f/fields/SelectInput Multiple 1`] = `
21322
+ <form
21323
+ action="#"
21324
+ onReset={[Function]}
21325
+ onSubmit={[Function]}
21326
+ >
21327
+ <div
21328
+ style={
21329
+ {
21330
+ "display": "flex",
21331
+ "flexDirection": "column",
21332
+ "gap": "1rem",
21333
+ }
21334
+ }
21335
+ >
21336
+ <div
21337
+ className="base select-input"
21338
+ >
21260
21339
  <div
21261
- className="base description s-1 x-metadata"
21340
+ aria-expanded={false}
21341
+ aria-haspopup="listbox"
21342
+ aria-owns="downshift-11-menu"
21343
+ className="base multiple"
21344
+ role="combobox"
21262
21345
  >
21263
- This is a description
21346
+ <label
21347
+ className="base form-label base multiple x-paragraph"
21348
+ htmlFor="status"
21349
+ id="downshift-11-label"
21350
+ >
21351
+ Status
21352
+ </label>
21353
+ <div
21354
+ className="input-container"
21355
+ >
21356
+ <input
21357
+ aria-autocomplete="list"
21358
+ aria-controls="downshift-11-menu"
21359
+ aria-labelledby="downshift-11-label"
21360
+ className="input"
21361
+ disabled={false}
21362
+ id="downshift-11-input"
21363
+ onBlur={[Function]}
21364
+ onChange={[Function]}
21365
+ onClick={[Function]}
21366
+ onKeyDown={[Function]}
21367
+ placeholder="Type to search"
21368
+ value=""
21369
+ />
21370
+ </div>
21371
+ <div
21372
+ className="base popover x-background-near bottom left"
21373
+ >
21374
+ <ul
21375
+ aria-labelledby="downshift-11-label"
21376
+ className="base menu y-interactive"
21377
+ id="downshift-11-menu"
21378
+ onMouseLeave={[Function]}
21379
+ role="listbox"
21380
+ />
21381
+ </div>
21264
21382
  </div>
21265
21383
  </div>
21266
21384
  <div
@@ -21296,50 +21414,54 @@ exports[`Storyshots f/fields/SelectInput Optional 1`] = `
21296
21414
  <div
21297
21415
  className="base select-input"
21298
21416
  >
21299
- <label
21300
- className="base form-label x-paragraph"
21301
- htmlFor="workType"
21302
- >
21303
- Work Type
21304
- (Optional)
21305
- </label>
21306
21417
  <div
21307
- className="select-wrapper"
21418
+ className="base single"
21308
21419
  >
21309
- <select
21310
- className="input y-paragraph"
21311
- disabled={false}
21312
- id="workType"
21313
- name="workType"
21314
- onBlur={[Function]}
21315
- onChange={[Function]}
21316
- value=""
21420
+ <label
21421
+ className="base form-label x-paragraph"
21422
+ htmlFor="workType"
21317
21423
  >
21318
- <option
21319
- disabled={true}
21320
- value=""
21321
- >
21322
- Select an option
21323
- </option>
21324
- <option
21325
- disabled={false}
21326
- value="Work"
21327
- >
21328
- Work
21329
- </option>
21330
- <option
21331
- disabled={false}
21332
- value="Managing"
21333
- >
21334
- Managing
21335
- </option>
21336
- <option
21424
+ Work Type
21425
+ (Optional)
21426
+ </label>
21427
+ <div
21428
+ className="select-wrapper"
21429
+ >
21430
+ <select
21431
+ className="input y-paragraph"
21337
21432
  disabled={false}
21338
- value="Training"
21433
+ id="workType"
21434
+ name="workType"
21435
+ onBlur={[Function]}
21436
+ onChange={[Function]}
21437
+ value=""
21339
21438
  >
21340
- Training
21341
- </option>
21342
- </select>
21439
+ <option
21440
+ disabled={true}
21441
+ value=""
21442
+ >
21443
+ Select an option
21444
+ </option>
21445
+ <option
21446
+ disabled={false}
21447
+ value="Work"
21448
+ >
21449
+ Work
21450
+ </option>
21451
+ <option
21452
+ disabled={false}
21453
+ value="Managing"
21454
+ >
21455
+ Managing
21456
+ </option>
21457
+ <option
21458
+ disabled={false}
21459
+ value="Training"
21460
+ >
21461
+ Training
21462
+ </option>
21463
+ </select>
21464
+ </div>
21343
21465
  </div>
21344
21466
  </div>
21345
21467
  <div
@@ -21375,49 +21497,53 @@ exports[`Storyshots f/fields/SelectInput Required 1`] = `
21375
21497
  <div
21376
21498
  className="base select-input"
21377
21499
  >
21378
- <label
21379
- className="base form-label x-paragraph"
21380
- htmlFor="workType"
21381
- >
21382
- Work Type
21383
- </label>
21384
21500
  <div
21385
- className="select-wrapper"
21501
+ className="base single"
21386
21502
  >
21387
- <select
21388
- className="input y-paragraph"
21389
- disabled={false}
21390
- id="workType"
21391
- name="workType"
21392
- onBlur={[Function]}
21393
- onChange={[Function]}
21394
- value=""
21503
+ <label
21504
+ className="base form-label x-paragraph"
21505
+ htmlFor="workType"
21395
21506
  >
21396
- <option
21397
- disabled={true}
21398
- value=""
21399
- >
21400
- Select an option
21401
- </option>
21402
- <option
21403
- disabled={false}
21404
- value="Work"
21405
- >
21406
- Work
21407
- </option>
21408
- <option
21409
- disabled={false}
21410
- value="Managing"
21411
- >
21412
- Managing
21413
- </option>
21414
- <option
21507
+ Work Type
21508
+ </label>
21509
+ <div
21510
+ className="select-wrapper"
21511
+ >
21512
+ <select
21513
+ className="input y-paragraph"
21415
21514
  disabled={false}
21416
- value="Training"
21515
+ id="workType"
21516
+ name="workType"
21517
+ onBlur={[Function]}
21518
+ onChange={[Function]}
21519
+ value=""
21417
21520
  >
21418
- Training
21419
- </option>
21420
- </select>
21521
+ <option
21522
+ disabled={true}
21523
+ value=""
21524
+ >
21525
+ Select an option
21526
+ </option>
21527
+ <option
21528
+ disabled={false}
21529
+ value="Work"
21530
+ >
21531
+ Work
21532
+ </option>
21533
+ <option
21534
+ disabled={false}
21535
+ value="Managing"
21536
+ >
21537
+ Managing
21538
+ </option>
21539
+ <option
21540
+ disabled={false}
21541
+ value="Training"
21542
+ >
21543
+ Training
21544
+ </option>
21545
+ </select>
21546
+ </div>
21421
21547
  </div>
21422
21548
  </div>
21423
21549
  <div
@@ -21453,67 +21579,71 @@ exports[`Storyshots f/fields/SelectInput String And Objects 1`] = `
21453
21579
  <div
21454
21580
  className="base select-input"
21455
21581
  >
21456
- <label
21457
- className="base form-label x-paragraph"
21458
- htmlFor="workType"
21459
- >
21460
- Work Type
21461
- </label>
21462
21582
  <div
21463
- className="select-wrapper"
21583
+ className="base single"
21464
21584
  >
21465
- <select
21466
- className="input y-paragraph"
21467
- disabled={false}
21468
- id="workType"
21469
- name="workType"
21470
- onBlur={[Function]}
21471
- onChange={[Function]}
21472
- value=""
21585
+ <label
21586
+ className="base form-label x-paragraph"
21587
+ htmlFor="workType"
21473
21588
  >
21474
- <option
21475
- disabled={true}
21476
- value=""
21477
- >
21478
- Select an option
21479
- </option>
21480
- <option
21481
- disabled={false}
21482
- value="Work"
21483
- >
21484
- Work
21485
- </option>
21486
- <option
21487
- disabled={false}
21488
- value="Managing"
21489
- >
21490
- Managing
21491
- </option>
21492
- <option
21493
- disabled={false}
21494
- value="Training"
21495
- >
21496
- Training
21497
- </option>
21498
- <option
21499
- disabled={false}
21500
- value="Option1"
21501
- >
21502
- Option1
21503
- </option>
21504
- <option
21505
- disabled={false}
21506
- value="Option2"
21507
- >
21508
- Option2
21509
- </option>
21510
- <option
21589
+ Work Type
21590
+ </label>
21591
+ <div
21592
+ className="select-wrapper"
21593
+ >
21594
+ <select
21595
+ className="input y-paragraph"
21511
21596
  disabled={false}
21512
- value="Option3"
21597
+ id="workType"
21598
+ name="workType"
21599
+ onBlur={[Function]}
21600
+ onChange={[Function]}
21601
+ value=""
21513
21602
  >
21514
- Option3
21515
- </option>
21516
- </select>
21603
+ <option
21604
+ disabled={true}
21605
+ value=""
21606
+ >
21607
+ Select an option
21608
+ </option>
21609
+ <option
21610
+ disabled={false}
21611
+ value="Work"
21612
+ >
21613
+ Work
21614
+ </option>
21615
+ <option
21616
+ disabled={false}
21617
+ value="Managing"
21618
+ >
21619
+ Managing
21620
+ </option>
21621
+ <option
21622
+ disabled={false}
21623
+ value="Training"
21624
+ >
21625
+ Training
21626
+ </option>
21627
+ <option
21628
+ disabled={false}
21629
+ value="Option1"
21630
+ >
21631
+ Option1
21632
+ </option>
21633
+ <option
21634
+ disabled={false}
21635
+ value="Option2"
21636
+ >
21637
+ Option2
21638
+ </option>
21639
+ <option
21640
+ disabled={false}
21641
+ value="Option3"
21642
+ >
21643
+ Option3
21644
+ </option>
21645
+ </select>
21646
+ </div>
21517
21647
  </div>
21518
21648
  </div>
21519
21649
  <div