@pareto-engineering/design-system 2.0.0-alpha.14 → 2.0.0-alpha.18

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 (40) hide show
  1. package/dist/cjs/b/Button/styles.scss +27 -2
  2. package/dist/cjs/c/ContentSlides/common/Navigator/Navigator.js +4 -3
  3. package/dist/cjs/f/common/Debugger/Debugger.js +1 -1
  4. package/dist/cjs/f/common/Label/Label.js +1 -1
  5. package/dist/cjs/f/fields/ChoicesInput/ChoicesInput.js +1 -1
  6. package/dist/cjs/f/fields/SelectInput/SelectInput.js +25 -6
  7. package/dist/cjs/f/fields/SelectInput/styles.scss +4 -4
  8. package/dist/cjs/f/fields/TaskRecommendationInput/TaskRecommendationInput.js +1 -1
  9. package/dist/cjs/f/fields/TextInput/TextInput.js +19 -5
  10. package/dist/cjs/f/fields/TextInput/styles.scss +3 -7
  11. package/dist/cjs/f/fields/TextareaInput/TextareaInput.js +13 -6
  12. package/dist/es/b/Button/styles.scss +27 -2
  13. package/dist/es/c/ContentSlides/common/Navigator/Navigator.js +4 -3
  14. package/dist/es/f/common/Debugger/Debugger.js +1 -1
  15. package/dist/es/f/common/Label/Label.js +1 -1
  16. package/dist/es/f/fields/ChoicesInput/ChoicesInput.js +1 -1
  17. package/dist/es/f/fields/SelectInput/SelectInput.js +25 -6
  18. package/dist/es/f/fields/SelectInput/styles.scss +4 -4
  19. package/dist/es/f/fields/TaskRecommendationInput/TaskRecommendationInput.js +1 -1
  20. package/dist/es/f/fields/TextInput/TextInput.js +19 -5
  21. package/dist/es/f/fields/TextInput/styles.scss +3 -7
  22. package/dist/es/f/fields/TextareaInput/TextareaInput.js +13 -6
  23. package/package.json +1 -1
  24. package/src/__snapshots__/Storyshots.test.js.snap +284 -79
  25. package/src/stories/b/Button.stories.jsx +5 -4
  26. package/src/stories/f/SelectInput.stories.jsx +29 -0
  27. package/src/stories/f/TextInput.stories.jsx +10 -0
  28. package/src/stories/f/TextareaInput.stories.jsx +40 -4
  29. package/src/ui/b/Button/Button.jsx +2 -1
  30. package/src/ui/b/Button/styles.scss +27 -2
  31. package/src/ui/c/ContentSlides/common/Navigator/Navigator.jsx +3 -2
  32. package/src/ui/f/common/Debugger/Debugger.jsx +1 -1
  33. package/src/ui/f/common/Label/Label.jsx +1 -1
  34. package/src/ui/f/fields/ChoicesInput/ChoicesInput.jsx +1 -1
  35. package/src/ui/f/fields/SelectInput/SelectInput.jsx +35 -5
  36. package/src/ui/f/fields/SelectInput/styles.scss +4 -4
  37. package/src/ui/f/fields/TaskRecommendationInput/TaskRecommendationInput.jsx +1 -1
  38. package/src/ui/f/fields/TextInput/TextInput.jsx +15 -2
  39. package/src/ui/f/fields/TextInput/styles.scss +3 -7
  40. package/src/ui/f/fields/TextareaInput/TextareaInput.jsx +21 -10
@@ -8632,7 +8632,7 @@ exports[`Storyshots c/ContentSlides Base 1`] = `
8632
8632
  >
8633
8633
  <span />
8634
8634
  <button
8635
- className="base button x-main1 next x-main1"
8635
+ className="base button x-main2 next x-main1 modifierCompact"
8636
8636
  disabled={false}
8637
8637
  onClick={[Function]}
8638
8638
  type="button"
@@ -8689,7 +8689,7 @@ exports[`Storyshots c/ContentSlides Base 1`] = `
8689
8689
  >
8690
8690
  <span />
8691
8691
  <button
8692
- className="base button x-main1 next x-main1"
8692
+ className="base button x-main2 next x-main1 modifierCompact"
8693
8693
  disabled={false}
8694
8694
  onClick={[Function]}
8695
8695
  type="button"
@@ -8728,7 +8728,7 @@ exports[`Storyshots c/ContentSlides Base 1`] = `
8728
8728
  >
8729
8729
  <span />
8730
8730
  <button
8731
- className="base button x-main1 next x-main1"
8731
+ className="base button x-main2 next x-main1 modifierCompact"
8732
8732
  disabled={false}
8733
8733
  onClick={[Function]}
8734
8734
  type="button"
@@ -8767,7 +8767,7 @@ exports[`Storyshots c/ContentSlides Base 1`] = `
8767
8767
  >
8768
8768
  <span />
8769
8769
  <button
8770
- className="base button x-main1 next x-main1"
8770
+ className="base button x-main2 next x-main1 modifierCompact"
8771
8771
  disabled={false}
8772
8772
  onClick={[Function]}
8773
8773
  type="button"
@@ -8886,7 +8886,7 @@ exports[`Storyshots c/ContentSlides Simple 1`] = `
8886
8886
  >
8887
8887
  <span />
8888
8888
  <button
8889
- className="base button x-main1 next x-main1"
8889
+ className="base button x-main2 next x-main1 modifierCompact"
8890
8890
  disabled={false}
8891
8891
  onClick={[Function]}
8892
8892
  type="button"
@@ -8941,7 +8941,7 @@ exports[`Storyshots c/ContentSlides Simple 1`] = `
8941
8941
  >
8942
8942
  <span />
8943
8943
  <button
8944
- className="base button x-main1 next x-main1"
8944
+ className="base button x-main2 next x-main1 modifierCompact"
8945
8945
  disabled={false}
8946
8946
  onClick={[Function]}
8947
8947
  type="button"
@@ -8980,7 +8980,7 @@ exports[`Storyshots c/ContentSlides Simple 1`] = `
8980
8980
  >
8981
8981
  <span />
8982
8982
  <button
8983
- className="base button x-main1 next x-main1"
8983
+ className="base button x-main2 next x-main1 modifierCompact"
8984
8984
  disabled={false}
8985
8985
  onClick={[Function]}
8986
8986
  type="button"
@@ -9019,7 +9019,7 @@ exports[`Storyshots c/ContentSlides Simple 1`] = `
9019
9019
  >
9020
9020
  <span />
9021
9021
  <button
9022
- className="base button x-main1 next x-main1"
9022
+ className="base button x-main2 next x-main1 modifierCompact"
9023
9023
  disabled={false}
9024
9024
  onClick={[Function]}
9025
9025
  type="button"
@@ -9130,7 +9130,7 @@ exports[`Storyshots f/FormInput Base 1`] = `
9130
9130
  className="base text-input form-input"
9131
9131
  >
9132
9132
  <label
9133
- className="base label input-label v50 mb-v x-main1"
9133
+ className="base label v50 mb-v x-main2"
9134
9134
  htmlFor="firstName"
9135
9135
  >
9136
9136
  What's your first name ?
@@ -9150,7 +9150,7 @@ exports[`Storyshots f/FormInput Base 1`] = `
9150
9150
  className="base text-input form-input"
9151
9151
  >
9152
9152
  <label
9153
- className="base label input-label v50 mb-v x-main1"
9153
+ className="base label v50 mb-v x-main2"
9154
9154
  htmlFor="lastName"
9155
9155
  >
9156
9156
  What's your last name ?
@@ -9166,10 +9166,10 @@ exports[`Storyshots f/FormInput Base 1`] = `
9166
9166
  />
9167
9167
  </div>
9168
9168
  <div
9169
- className="base text-area-input form-input x-background1 y-main1"
9169
+ className="base text-area-input form-input x-background1"
9170
9170
  >
9171
9171
  <label
9172
- className="base label c-y v50 mb-v x-main1"
9172
+ className="base label v50 mb-v x-main2"
9173
9173
  htmlFor="description"
9174
9174
  >
9175
9175
  Describe yourself in a few sentences
@@ -9185,7 +9185,7 @@ exports[`Storyshots f/FormInput Base 1`] = `
9185
9185
 
9186
9186
  </div>
9187
9187
  <div
9188
- className="base choices-input form-input x-background2 y-main1"
9188
+ className="base choices-input form-input x-background2 y-main2"
9189
9189
  style={
9190
9190
  Object {
9191
9191
  "--grid-columns-desktop": 3,
@@ -9194,7 +9194,7 @@ exports[`Storyshots f/FormInput Base 1`] = `
9194
9194
  }
9195
9195
  >
9196
9196
  <p
9197
- className="base label x-main1"
9197
+ className="base label x-main2"
9198
9198
  >
9199
9199
  What are your favourite colors ?
9200
9200
  </p>
@@ -9261,7 +9261,7 @@ exports[`Storyshots f/FormInput Base 1`] = `
9261
9261
  className="base select-input form-input"
9262
9262
  >
9263
9263
  <label
9264
- className="base label input-label x-main1"
9264
+ className="base label input-label x-main2"
9265
9265
  htmlFor="food"
9266
9266
  >
9267
9267
  What do you want for dinner ?
@@ -9273,18 +9273,22 @@ exports[`Storyshots f/FormInput Base 1`] = `
9273
9273
  name="food"
9274
9274
  onBlur={[Function]}
9275
9275
  onChange={[Function]}
9276
+ value=""
9276
9277
  >
9277
9278
  <option
9279
+ disabled={false}
9278
9280
  value="italian"
9279
9281
  >
9280
9282
  A nice pizza
9281
9283
  </option>
9282
9284
  <option
9285
+ disabled={false}
9283
9286
  value="turkish"
9284
9287
  >
9285
9288
  A delicious kebab
9286
9289
  </option>
9287
9290
  <option
9291
+ disabled={false}
9288
9292
  value="french"
9289
9293
  >
9290
9294
  A three course delicate french meal
@@ -9295,7 +9299,7 @@ exports[`Storyshots f/FormInput Base 1`] = `
9295
9299
  className="debugger"
9296
9300
  >
9297
9301
  <button
9298
- className="base button x-main1"
9302
+ className="base button x-main2"
9299
9303
  onClick={[Function]}
9300
9304
  type="button"
9301
9305
  >
@@ -9315,7 +9319,7 @@ exports[`Storyshots f/FormInput Disabled Form Input 1`] = `
9315
9319
  className="base text-input form-input"
9316
9320
  >
9317
9321
  <label
9318
- className="base label input-label v50 mb-v x-main1"
9322
+ className="base label v50 mb-v x-main2"
9319
9323
  htmlFor="firstName"
9320
9324
  >
9321
9325
  What's your first name ?
@@ -9335,7 +9339,7 @@ exports[`Storyshots f/FormInput Disabled Form Input 1`] = `
9335
9339
  className="base text-input form-input"
9336
9340
  >
9337
9341
  <label
9338
- className="base label input-label v50 mb-v x-main1"
9342
+ className="base label v50 mb-v x-main2"
9339
9343
  htmlFor="lastName"
9340
9344
  >
9341
9345
  What's your last name ?
@@ -9351,10 +9355,10 @@ exports[`Storyshots f/FormInput Disabled Form Input 1`] = `
9351
9355
  />
9352
9356
  </div>
9353
9357
  <div
9354
- className="base text-area-input form-input x-background1 y-main1"
9358
+ className="base text-area-input form-input x-background1"
9355
9359
  >
9356
9360
  <label
9357
- className="base label c-y v50 mb-v x-main1"
9361
+ className="base label v50 mb-v x-main2"
9358
9362
  htmlFor="description"
9359
9363
  >
9360
9364
  Describe yourself in a few sentences
@@ -9370,7 +9374,7 @@ exports[`Storyshots f/FormInput Disabled Form Input 1`] = `
9370
9374
 
9371
9375
  </div>
9372
9376
  <div
9373
- className="base choices-input form-input x-background2 y-main1"
9377
+ className="base choices-input form-input x-background2 y-main2"
9374
9378
  style={
9375
9379
  Object {
9376
9380
  "--grid-columns-desktop": 3,
@@ -9379,7 +9383,7 @@ exports[`Storyshots f/FormInput Disabled Form Input 1`] = `
9379
9383
  }
9380
9384
  >
9381
9385
  <p
9382
- className="base label x-main1"
9386
+ className="base label x-main2"
9383
9387
  >
9384
9388
  What are your favourite colors ?
9385
9389
  </p>
@@ -9446,7 +9450,7 @@ exports[`Storyshots f/FormInput Disabled Form Input 1`] = `
9446
9450
  className="base select-input form-input"
9447
9451
  >
9448
9452
  <label
9449
- className="base label input-label x-main1"
9453
+ className="base label input-label x-main2"
9450
9454
  htmlFor="food"
9451
9455
  >
9452
9456
  What do you want for dinner ?
@@ -9458,18 +9462,22 @@ exports[`Storyshots f/FormInput Disabled Form Input 1`] = `
9458
9462
  name="food"
9459
9463
  onBlur={[Function]}
9460
9464
  onChange={[Function]}
9465
+ value=""
9461
9466
  >
9462
9467
  <option
9468
+ disabled={false}
9463
9469
  value="italian"
9464
9470
  >
9465
9471
  A nice pizza
9466
9472
  </option>
9467
9473
  <option
9474
+ disabled={false}
9468
9475
  value="turkish"
9469
9476
  >
9470
9477
  A delicious kebab
9471
9478
  </option>
9472
9479
  <option
9480
+ disabled={false}
9473
9481
  value="french"
9474
9482
  >
9475
9483
  A three course delicate french meal
@@ -9480,7 +9488,7 @@ exports[`Storyshots f/FormInput Disabled Form Input 1`] = `
9480
9488
  className="debugger"
9481
9489
  >
9482
9490
  <button
9483
- className="base button x-main1"
9491
+ className="base button x-main2"
9484
9492
  onClick={[Function]}
9485
9493
  type="button"
9486
9494
  >
@@ -9500,7 +9508,7 @@ exports[`Storyshots f/FormInput Extensible Form Input 1`] = `
9500
9508
  className="base text-input form-input"
9501
9509
  >
9502
9510
  <label
9503
- className="base label input-label v50 mb-v x-main1"
9511
+ className="base label v50 mb-v x-main2"
9504
9512
  htmlFor="extended"
9505
9513
  >
9506
9514
  Extended type input
@@ -9519,7 +9527,7 @@ exports[`Storyshots f/FormInput Extensible Form Input 1`] = `
9519
9527
  className="debugger"
9520
9528
  >
9521
9529
  <button
9522
- className="base button x-main1"
9530
+ className="base button x-main2"
9523
9531
  onClick={[Function]}
9524
9532
  type="button"
9525
9533
  >
@@ -9539,7 +9547,7 @@ exports[`Storyshots f/common/Description Base 1`] = `
9539
9547
 
9540
9548
  exports[`Storyshots f/common/Label Base 1`] = `
9541
9549
  <label
9542
- className="base label x-main1"
9550
+ className="base label x-main2"
9543
9551
  >
9544
9552
  Sample Label
9545
9553
  </label>
@@ -9561,7 +9569,7 @@ exports[`Storyshots f/fields/CheckboxInput Base 1`] = `
9561
9569
  className="not-selected input-content uc v1 pv-v"
9562
9570
  >
9563
9571
  <label
9564
- className="base label x-main1"
9572
+ className="base label x-main2"
9565
9573
  htmlFor="businessTypes"
9566
9574
  >
9567
9575
  <input
@@ -9586,7 +9594,7 @@ exports[`Storyshots f/fields/CheckboxInput Base 1`] = `
9586
9594
  className="not-selected input-content uc v1 pv-v"
9587
9595
  >
9588
9596
  <label
9589
- className="base label x-main1"
9597
+ className="base label x-main2"
9590
9598
  htmlFor="businessTypes"
9591
9599
  >
9592
9600
  <input
@@ -9611,7 +9619,7 @@ exports[`Storyshots f/fields/CheckboxInput Base 1`] = `
9611
9619
  className="not-selected input-content uc v1 pv-v"
9612
9620
  >
9613
9621
  <label
9614
- className="base label x-main1"
9622
+ className="base label x-main2"
9615
9623
  htmlFor="businessTypes"
9616
9624
  >
9617
9625
  <input
@@ -9636,7 +9644,7 @@ exports[`Storyshots f/fields/CheckboxInput Base 1`] = `
9636
9644
  className="not-selected input-content uc v1 pv-v"
9637
9645
  >
9638
9646
  <label
9639
- className="base label x-main1"
9647
+ className="base label x-main2"
9640
9648
  htmlFor="businessTypes"
9641
9649
  >
9642
9650
  <input
@@ -9658,7 +9666,7 @@ exports[`Storyshots f/fields/CheckboxInput Base 1`] = `
9658
9666
  className="debugger"
9659
9667
  >
9660
9668
  <button
9661
- className="base button x-main1"
9669
+ className="base button x-main2"
9662
9670
  onClick={[Function]}
9663
9671
  type="button"
9664
9672
  >
@@ -9676,7 +9684,7 @@ exports[`Storyshots f/fields/ChoicesInput Base 1`] = `
9676
9684
  onSubmit={[Function]}
9677
9685
  >
9678
9686
  <div
9679
- className="base choices-input x-background2 y-main1"
9687
+ className="base choices-input x-background2 y-main2"
9680
9688
  id="colors"
9681
9689
  style={
9682
9690
  Object {
@@ -9748,7 +9756,7 @@ exports[`Storyshots f/fields/ChoicesInput Base 1`] = `
9748
9756
  className="debugger"
9749
9757
  >
9750
9758
  <button
9751
- className="base button x-main1"
9759
+ className="base button x-main2"
9752
9760
  onClick={[Function]}
9753
9761
  type="button"
9754
9762
  >
@@ -9765,7 +9773,7 @@ exports[`Storyshots f/fields/ChoicesInput Choices With Label 1`] = `
9765
9773
  onSubmit={[Function]}
9766
9774
  >
9767
9775
  <div
9768
- className="base choices-input x-background2 y-main1"
9776
+ className="base choices-input x-background2 y-main2"
9769
9777
  id="shapes"
9770
9778
  style={
9771
9779
  Object {
@@ -9775,7 +9783,7 @@ exports[`Storyshots f/fields/ChoicesInput Choices With Label 1`] = `
9775
9783
  }
9776
9784
  >
9777
9785
  <p
9778
- className="base label x-main1"
9786
+ className="base label x-main2"
9779
9787
  >
9780
9788
  Geometric Shapes
9781
9789
  </p>
@@ -9842,7 +9850,7 @@ exports[`Storyshots f/fields/ChoicesInput Choices With Label 1`] = `
9842
9850
  className="debugger"
9843
9851
  >
9844
9852
  <button
9845
- className="base button x-main1"
9853
+ className="base button x-main2"
9846
9854
  onClick={[Function]}
9847
9855
  type="button"
9848
9856
  >
@@ -9859,7 +9867,7 @@ exports[`Storyshots f/fields/ChoicesInput Disabled Choices Input 1`] = `
9859
9867
  onSubmit={[Function]}
9860
9868
  >
9861
9869
  <div
9862
- className="base choices-input x-background2 y-main1"
9870
+ className="base choices-input x-background2 y-main2"
9863
9871
  id="shapes"
9864
9872
  style={
9865
9873
  Object {
@@ -9869,7 +9877,7 @@ exports[`Storyshots f/fields/ChoicesInput Disabled Choices Input 1`] = `
9869
9877
  }
9870
9878
  >
9871
9879
  <p
9872
- className="base label x-main1"
9880
+ className="base label x-main2"
9873
9881
  >
9874
9882
  Geometric Shapes
9875
9883
  </p>
@@ -9936,7 +9944,7 @@ exports[`Storyshots f/fields/ChoicesInput Disabled Choices Input 1`] = `
9936
9944
  className="debugger"
9937
9945
  >
9938
9946
  <button
9939
- className="base button x-main1"
9947
+ className="base button x-main2"
9940
9948
  onClick={[Function]}
9941
9949
  type="button"
9942
9950
  >
@@ -9953,7 +9961,7 @@ exports[`Storyshots f/fields/ChoicesInput Multiple 1`] = `
9953
9961
  onSubmit={[Function]}
9954
9962
  >
9955
9963
  <div
9956
- className="base choices-input multiple x-background2 y-main1"
9964
+ className="base choices-input multiple x-background2 y-main2"
9957
9965
  id="colors"
9958
9966
  style={
9959
9967
  Object {
@@ -10025,7 +10033,7 @@ exports[`Storyshots f/fields/ChoicesInput Multiple 1`] = `
10025
10033
  className="debugger"
10026
10034
  >
10027
10035
  <button
10028
- className="base button x-main1"
10036
+ className="base button x-main2"
10029
10037
  onClick={[Function]}
10030
10038
  type="button"
10031
10039
  >
@@ -10042,7 +10050,7 @@ exports[`Storyshots f/fields/ChoicesInput Multiple With Grid 1`] = `
10042
10050
  onSubmit={[Function]}
10043
10051
  >
10044
10052
  <div
10045
- className="base choices-input multiple x-background2 y-main1"
10053
+ className="base choices-input multiple x-background2 y-main2"
10046
10054
  id="colors"
10047
10055
  style={
10048
10056
  Object {
@@ -10204,7 +10212,7 @@ exports[`Storyshots f/fields/ChoicesInput Multiple With Grid 1`] = `
10204
10212
  className="debugger"
10205
10213
  >
10206
10214
  <button
10207
- className="base button x-main1"
10215
+ className="base button x-main2"
10208
10216
  onClick={[Function]}
10209
10217
  type="button"
10210
10218
  >
@@ -10227,7 +10235,7 @@ exports[`Storyshots f/fields/RadioInput Base 1`] = `
10227
10235
  className="not-selected uc v1 pv-v"
10228
10236
  >
10229
10237
  <label
10230
- className="base label x-main1"
10238
+ className="base label x-main2"
10231
10239
  htmlFor="companySize"
10232
10240
  >
10233
10241
  <input
@@ -10254,7 +10262,7 @@ exports[`Storyshots f/fields/RadioInput Base 1`] = `
10254
10262
  className="not-selected uc v1 pv-v"
10255
10263
  >
10256
10264
  <label
10257
- className="base label x-main1"
10265
+ className="base label x-main2"
10258
10266
  htmlFor="companySize"
10259
10267
  >
10260
10268
  <input
@@ -10281,7 +10289,7 @@ exports[`Storyshots f/fields/RadioInput Base 1`] = `
10281
10289
  className="not-selected uc v1 pv-v"
10282
10290
  >
10283
10291
  <label
10284
- className="base label x-main1"
10292
+ className="base label x-main2"
10285
10293
  htmlFor="companySize"
10286
10294
  >
10287
10295
  <input
@@ -10308,7 +10316,7 @@ exports[`Storyshots f/fields/RadioInput Base 1`] = `
10308
10316
  className="not-selected uc v1 pv-v"
10309
10317
  >
10310
10318
  <label
10311
- className="base label x-main1"
10319
+ className="base label x-main2"
10312
10320
  htmlFor="companySize"
10313
10321
  >
10314
10322
  <input
@@ -10332,7 +10340,7 @@ exports[`Storyshots f/fields/RadioInput Base 1`] = `
10332
10340
  className="debugger"
10333
10341
  >
10334
10342
  <button
10335
- className="base button x-main1"
10343
+ className="base button x-main2"
10336
10344
  onClick={[Function]}
10337
10345
  type="button"
10338
10346
  >
@@ -10471,7 +10479,7 @@ exports[`Storyshots f/fields/RatingsInput Base 1`] = `
10471
10479
  className="debugger"
10472
10480
  >
10473
10481
  <button
10474
- className="base button x-main1"
10482
+ className="base button x-main2"
10475
10483
  onClick={[Function]}
10476
10484
  type="button"
10477
10485
  >
@@ -10785,7 +10793,7 @@ exports[`Storyshots f/fields/RatingsInput Labels 1`] = `
10785
10793
  className="debugger"
10786
10794
  >
10787
10795
  <button
10788
- className="base button x-main1"
10796
+ className="base button x-main2"
10789
10797
  onClick={[Function]}
10790
10798
  type="button"
10791
10799
  >
@@ -11089,7 +11097,7 @@ exports[`Storyshots f/fields/RatingsInput Numbers 1`] = `
11089
11097
  className="debugger"
11090
11098
  >
11091
11099
  <button
11092
- className="base button x-main1"
11100
+ className="base button x-main2"
11093
11101
  onClick={[Function]}
11094
11102
  type="button"
11095
11103
  >
@@ -11109,7 +11117,7 @@ exports[`Storyshots f/fields/SelectInput Base 1`] = `
11109
11117
  className="base select-input"
11110
11118
  >
11111
11119
  <label
11112
- className="base label input-label x-main1"
11120
+ className="base label input-label x-main2"
11113
11121
  htmlFor="workType"
11114
11122
  >
11115
11123
  Work Type
@@ -11124,16 +11132,19 @@ exports[`Storyshots f/fields/SelectInput Base 1`] = `
11124
11132
  value="Work"
11125
11133
  >
11126
11134
  <option
11135
+ disabled={false}
11127
11136
  value="Work"
11128
11137
  >
11129
11138
  Work
11130
11139
  </option>
11131
11140
  <option
11141
+ disabled={false}
11132
11142
  value="Managing"
11133
11143
  >
11134
11144
  Managing
11135
11145
  </option>
11136
11146
  <option
11147
+ disabled={false}
11137
11148
  value="Training"
11138
11149
  >
11139
11150
  Training
@@ -11144,7 +11155,7 @@ exports[`Storyshots f/fields/SelectInput Base 1`] = `
11144
11155
  className="debugger"
11145
11156
  >
11146
11157
  <button
11147
- className="base button x-main1"
11158
+ className="base button x-main2"
11148
11159
  onClick={[Function]}
11149
11160
  type="button"
11150
11161
  >
@@ -11164,7 +11175,7 @@ exports[`Storyshots f/fields/SelectInput Disabled Select Input 1`] = `
11164
11175
  className="base select-input"
11165
11176
  >
11166
11177
  <label
11167
- className="base label input-label x-main1"
11178
+ className="base label input-label x-main2"
11168
11179
  htmlFor="workType"
11169
11180
  >
11170
11181
  Work Type
@@ -11179,26 +11190,31 @@ exports[`Storyshots f/fields/SelectInput Disabled Select Input 1`] = `
11179
11190
  value="Work"
11180
11191
  >
11181
11192
  <option
11193
+ disabled={false}
11182
11194
  value="Work"
11183
11195
  >
11184
11196
  Work
11185
11197
  </option>
11186
11198
  <option
11199
+ disabled={false}
11187
11200
  value="Managing"
11188
11201
  >
11189
11202
  Managing
11190
11203
  </option>
11191
11204
  <option
11205
+ disabled={false}
11192
11206
  value="Training"
11193
11207
  >
11194
11208
  Training
11195
11209
  </option>
11196
11210
  <option
11211
+ disabled={false}
11197
11212
  value="20th Aug 2020 to 19th Sept, 2020"
11198
11213
  >
11199
11214
  20th Aug 2020 to 19th Sept, 2020
11200
11215
  </option>
11201
11216
  <option
11217
+ disabled={false}
11202
11218
  value="20th Sept 2020 to 19th Oct, 2020"
11203
11219
  >
11204
11220
  20th Sept 2020 to 19th Oct, 2020
@@ -11209,7 +11225,7 @@ exports[`Storyshots f/fields/SelectInput Disabled Select Input 1`] = `
11209
11225
  className="debugger"
11210
11226
  >
11211
11227
  <button
11212
- className="base button x-main1"
11228
+ className="base button x-main2"
11213
11229
  onClick={[Function]}
11214
11230
  type="button"
11215
11231
  >
@@ -11229,7 +11245,7 @@ exports[`Storyshots f/fields/SelectInput Objects 1`] = `
11229
11245
  className="base select-input"
11230
11246
  >
11231
11247
  <label
11232
- className="base label input-label x-main1"
11248
+ className="base label input-label x-main2"
11233
11249
  htmlFor="workType"
11234
11250
  >
11235
11251
  Work Type
@@ -11244,11 +11260,13 @@ exports[`Storyshots f/fields/SelectInput Objects 1`] = `
11244
11260
  value="Work"
11245
11261
  >
11246
11262
  <option
11263
+ disabled={false}
11247
11264
  value="20th Aug 2020 to 19th Sept, 2020"
11248
11265
  >
11249
11266
  20th Aug 2020 to 19th Sept, 2020
11250
11267
  </option>
11251
11268
  <option
11269
+ disabled={false}
11252
11270
  value="20th Sept 2020 to 19th Oct, 2020"
11253
11271
  >
11254
11272
  20th Sept 2020 to 19th Oct, 2020
@@ -11259,7 +11277,65 @@ exports[`Storyshots f/fields/SelectInput Objects 1`] = `
11259
11277
  className="debugger"
11260
11278
  >
11261
11279
  <button
11262
- className="base button x-main1"
11280
+ className="base button x-main2"
11281
+ onClick={[Function]}
11282
+ type="button"
11283
+ >
11284
+ Open FormDebugger
11285
+ </button>
11286
+ </div>
11287
+ </form>
11288
+ `;
11289
+
11290
+ exports[`Storyshots f/fields/SelectInput Required Select 1`] = `
11291
+ <form
11292
+ action="#"
11293
+ onReset={[Function]}
11294
+ onSubmit={[Function]}
11295
+ >
11296
+ <div
11297
+ className="base select-input"
11298
+ >
11299
+ <label
11300
+ className="base label input-label x-main2"
11301
+ htmlFor="activity"
11302
+ >
11303
+ Activity Type
11304
+ </label>
11305
+ <select
11306
+ className="input v25 pv-v"
11307
+ disabled={false}
11308
+ id="activity"
11309
+ name="activity"
11310
+ onBlur={[Function]}
11311
+ onChange={[Function]}
11312
+ value=""
11313
+ >
11314
+ <option
11315
+ disabled={true}
11316
+ value=""
11317
+ >
11318
+ Select activity type
11319
+ </option>
11320
+ <option
11321
+ disabled={false}
11322
+ value="review"
11323
+ >
11324
+ Review
11325
+ </option>
11326
+ <option
11327
+ disabled={false}
11328
+ value="Approve"
11329
+ >
11330
+ Approve
11331
+ </option>
11332
+ </select>
11333
+ </div>
11334
+ <div
11335
+ className="debugger"
11336
+ >
11337
+ <button
11338
+ className="base button x-main2"
11263
11339
  onClick={[Function]}
11264
11340
  type="button"
11265
11341
  >
@@ -11279,7 +11355,7 @@ exports[`Storyshots f/fields/SelectInput String And Objects 1`] = `
11279
11355
  className="base select-input"
11280
11356
  >
11281
11357
  <label
11282
- className="base label input-label x-main1"
11358
+ className="base label input-label x-main2"
11283
11359
  htmlFor="workType"
11284
11360
  >
11285
11361
  Work Type
@@ -11294,26 +11370,31 @@ exports[`Storyshots f/fields/SelectInput String And Objects 1`] = `
11294
11370
  value="Work"
11295
11371
  >
11296
11372
  <option
11373
+ disabled={false}
11297
11374
  value="Work"
11298
11375
  >
11299
11376
  Work
11300
11377
  </option>
11301
11378
  <option
11379
+ disabled={false}
11302
11380
  value="Managing"
11303
11381
  >
11304
11382
  Managing
11305
11383
  </option>
11306
11384
  <option
11385
+ disabled={false}
11307
11386
  value="Training"
11308
11387
  >
11309
11388
  Training
11310
11389
  </option>
11311
11390
  <option
11391
+ disabled={false}
11312
11392
  value="20th Aug 2020 to 19th Sept, 2020"
11313
11393
  >
11314
11394
  20th Aug 2020 to 19th Sept, 2020
11315
11395
  </option>
11316
11396
  <option
11397
+ disabled={false}
11317
11398
  value="20th Sept 2020 to 19th Oct, 2020"
11318
11399
  >
11319
11400
  20th Sept 2020 to 19th Oct, 2020
@@ -11324,7 +11405,7 @@ exports[`Storyshots f/fields/SelectInput String And Objects 1`] = `
11324
11405
  className="debugger"
11325
11406
  >
11326
11407
  <button
11327
- className="base button x-main1"
11408
+ className="base button x-main2"
11328
11409
  onClick={[Function]}
11329
11410
  type="button"
11330
11411
  >
@@ -11349,7 +11430,7 @@ exports[`Storyshots f/fields/TaskRecommendationInput Base 1`] = `
11349
11430
  }
11350
11431
  >
11351
11432
  <div
11352
- className="base task-recommendation-input x-main1"
11433
+ className="base task-recommendation-input x-main2"
11353
11434
  >
11354
11435
  <div
11355
11436
  className="task-content b-on-x"
@@ -11358,7 +11439,7 @@ exports[`Storyshots f/fields/TaskRecommendationInput Base 1`] = `
11358
11439
  className="v1 p-v task"
11359
11440
  >
11360
11441
  <label
11361
- className="base label uc mb-v x-main1"
11442
+ className="base label uc mb-v x-main2"
11362
11443
  htmlFor="taskRecommendations"
11363
11444
  >
11364
11445
  Find potential business customers
@@ -11402,7 +11483,7 @@ exports[`Storyshots f/fields/TextInput Base 1`] = `
11402
11483
  className="base text-input"
11403
11484
  >
11404
11485
  <label
11405
- className="base label input-label v50 mb-v x-main1"
11486
+ className="base label v50 mb-v x-main2"
11406
11487
  htmlFor="firstName"
11407
11488
  >
11408
11489
  What's your first name ?
@@ -11422,7 +11503,7 @@ exports[`Storyshots f/fields/TextInput Base 1`] = `
11422
11503
  className="debugger"
11423
11504
  >
11424
11505
  <button
11425
- className="base button x-main1"
11506
+ className="base button x-main2"
11426
11507
  onClick={[Function]}
11427
11508
  type="button"
11428
11509
  >
@@ -11446,7 +11527,7 @@ exports[`Storyshots f/fields/TextInput Date Time 1`] = `
11446
11527
  className="base text-input"
11447
11528
  >
11448
11529
  <label
11449
- className="base label input-label v50 mb-v x-main1"
11530
+ className="base label v50 mb-v x-main2"
11450
11531
  htmlFor="date"
11451
11532
  >
11452
11533
  Select date
@@ -11466,7 +11547,7 @@ exports[`Storyshots f/fields/TextInput Date Time 1`] = `
11466
11547
  className="base text-input"
11467
11548
  >
11468
11549
  <label
11469
- className="base label input-label v50 mb-v x-main1"
11550
+ className="base label v50 mb-v x-main2"
11470
11551
  htmlFor="time"
11471
11552
  >
11472
11553
  Select time
@@ -11486,7 +11567,7 @@ exports[`Storyshots f/fields/TextInput Date Time 1`] = `
11486
11567
  className="debugger"
11487
11568
  >
11488
11569
  <button
11489
- className="base button x-main1"
11570
+ className="base button x-main2"
11490
11571
  onClick={[Function]}
11491
11572
  type="button"
11492
11573
  >
@@ -11510,7 +11591,7 @@ exports[`Storyshots f/fields/TextInput Disabled Text Input 1`] = `
11510
11591
  className="base text-input"
11511
11592
  >
11512
11593
  <label
11513
- className="base label input-label v50 mb-v x-main1"
11594
+ className="base label v50 mb-v x-main2"
11514
11595
  htmlFor="firstName"
11515
11596
  >
11516
11597
  What's your first name ?
@@ -11530,6 +11611,40 @@ exports[`Storyshots f/fields/TextInput Disabled Text Input 1`] = `
11530
11611
  </form>
11531
11612
  `;
11532
11613
 
11614
+ exports[`Storyshots f/fields/TextInput Text Input With Place Holder 1`] = `
11615
+ <form
11616
+ action="#"
11617
+ onReset={[Function]}
11618
+ onSubmit={[Function]}
11619
+ >
11620
+ <div
11621
+ className="y-background1 b-dark-y u2 pb-u"
11622
+ >
11623
+ <div
11624
+ className="base text-input"
11625
+ >
11626
+ <label
11627
+ className="base label v50 mb-v x-main2"
11628
+ htmlFor="firstName"
11629
+ >
11630
+ What's your first name ?
11631
+ </label>
11632
+ <input
11633
+ className="input input-border"
11634
+ disabled={false}
11635
+ id="firstName"
11636
+ name="firstName"
11637
+ onBlur={[Function]}
11638
+ onChange={[Function]}
11639
+ placeholder="First Name"
11640
+ type="text"
11641
+ value=""
11642
+ />
11643
+ </div>
11644
+ </div>
11645
+ </form>
11646
+ `;
11647
+
11533
11648
  exports[`Storyshots f/fields/TextareaInput Base 1`] = `
11534
11649
  <form
11535
11650
  action="#"
@@ -11540,18 +11655,18 @@ exports[`Storyshots f/fields/TextareaInput Base 1`] = `
11540
11655
  className="y-background1 b-dark-y"
11541
11656
  >
11542
11657
  <div
11543
- className="base text-area-input x-background1 y-main1"
11658
+ className="base text-area-input x-background1"
11544
11659
  >
11545
11660
  <label
11546
- className="base label c-y v50 mb-v x-main1"
11547
- htmlFor="feedBack"
11661
+ className="base label v50 mb-v x-main2"
11662
+ htmlFor="feedback"
11548
11663
  >
11549
11664
  What can we improve on?
11550
11665
  </label>
11551
11666
  <textarea
11552
11667
  className="textarea v50 pv-v input-border"
11553
11668
  disabled={false}
11554
- name="feedBack"
11669
+ name="feedback"
11555
11670
  onBlur={[Function]}
11556
11671
  onChange={[Function]}
11557
11672
  rows={3}
@@ -11563,7 +11678,7 @@ exports[`Storyshots f/fields/TextareaInput Base 1`] = `
11563
11678
  className="debugger"
11564
11679
  >
11565
11680
  <button
11566
- className="base button x-main1"
11681
+ className="base button x-main2"
11567
11682
  onClick={[Function]}
11568
11683
  type="button"
11569
11684
  >
@@ -11574,7 +11689,7 @@ exports[`Storyshots f/fields/TextareaInput Base 1`] = `
11574
11689
  </form>
11575
11690
  `;
11576
11691
 
11577
- exports[`Storyshots f/fields/TextareaInput Disabled Textarea Input 1`] = `
11692
+ exports[`Storyshots f/fields/TextareaInput Disabled 1`] = `
11578
11693
  <form
11579
11694
  action="#"
11580
11695
  onReset={[Function]}
@@ -11584,20 +11699,110 @@ exports[`Storyshots f/fields/TextareaInput Disabled Textarea Input 1`] = `
11584
11699
  className="y-background1 b-dark-y"
11585
11700
  >
11586
11701
  <div
11587
- className="base text-area-input x-background1 y-main1"
11702
+ className="base text-area-input x-background1"
11588
11703
  >
11589
11704
  <label
11590
- className="base label c-y v50 mb-v x-main1"
11591
- htmlFor="feedBack"
11705
+ className="base label v50 mb-v x-main2"
11706
+ htmlFor="feedback"
11592
11707
  >
11593
11708
  What can we improve on?
11594
11709
  </label>
11595
11710
  <textarea
11596
11711
  className="textarea v50 pv-v input-border"
11597
11712
  disabled={true}
11598
- name="feedBack"
11713
+ name="feedback"
11714
+ onBlur={[Function]}
11715
+ onChange={[Function]}
11716
+ rows={3}
11717
+ value=""
11718
+ />
11719
+
11720
+ </div>
11721
+ <div
11722
+ className="debugger"
11723
+ >
11724
+ <button
11725
+ className="base button x-main2"
11726
+ onClick={[Function]}
11727
+ type="button"
11728
+ >
11729
+ Open FormDebugger
11730
+ </button>
11731
+ </div>
11732
+ </div>
11733
+ </form>
11734
+ `;
11735
+
11736
+ exports[`Storyshots f/fields/TextareaInput Placeholder 1`] = `
11737
+ <form
11738
+ action="#"
11739
+ onReset={[Function]}
11740
+ onSubmit={[Function]}
11741
+ >
11742
+ <div
11743
+ className="y-background1 b-dark-y"
11744
+ >
11745
+ <div
11746
+ className="base text-area-input x-background1"
11747
+ >
11748
+ <label
11749
+ className="base label v50 mb-v x-main2"
11750
+ htmlFor="feedback"
11751
+ >
11752
+ What can we improve on?
11753
+ </label>
11754
+ <textarea
11755
+ className="textarea v50 pv-v input-border"
11756
+ disabled={false}
11757
+ name="feedback"
11758
+ onBlur={[Function]}
11759
+ onChange={[Function]}
11760
+ placeholder="Type your feedback here..."
11761
+ rows={3}
11762
+ value=""
11763
+ />
11764
+
11765
+ </div>
11766
+ <div
11767
+ className="debugger"
11768
+ >
11769
+ <button
11770
+ className="base button x-main2"
11771
+ onClick={[Function]}
11772
+ type="button"
11773
+ >
11774
+ Open FormDebugger
11775
+ </button>
11776
+ </div>
11777
+ </div>
11778
+ </form>
11779
+ `;
11780
+
11781
+ exports[`Storyshots f/fields/TextareaInput Validation 1`] = `
11782
+ <form
11783
+ action="#"
11784
+ onReset={[Function]}
11785
+ onSubmit={[Function]}
11786
+ >
11787
+ <div
11788
+ className="y-background1 b-dark-y"
11789
+ >
11790
+ <div
11791
+ className="base text-area-input x-background1"
11792
+ >
11793
+ <label
11794
+ className="base label v50 mb-v x-main2"
11795
+ htmlFor="feedback"
11796
+ >
11797
+ What can we improve on?
11798
+ </label>
11799
+ <textarea
11800
+ className="textarea v50 pv-v input-border"
11801
+ disabled={false}
11802
+ name="feedback"
11599
11803
  onBlur={[Function]}
11600
11804
  onChange={[Function]}
11805
+ placeholder="Type your feedback here..."
11601
11806
  rows={3}
11602
11807
  value=""
11603
11808
  />
@@ -11607,7 +11812,7 @@ exports[`Storyshots f/fields/TextareaInput Disabled Textarea Input 1`] = `
11607
11812
  className="debugger"
11608
11813
  >
11609
11814
  <button
11610
- className="base button x-main1"
11815
+ className="base button x-main2"
11611
11816
  onClick={[Function]}
11612
11817
  type="button"
11613
11818
  >