@pareto-engineering/design-system 0.0.1-alpha.67 → 0.0.1-alpha.70

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 (94) hide show
  1. package/config/global-setup.js +3 -0
  2. package/dist/cjs/a/Timestamp/Timestamp.js +139 -0
  3. package/dist/cjs/a/{RatingsInput/common/Rating → Timestamp}/index.js +3 -3
  4. package/dist/cjs/a/Timestamp/styles.scss +7 -0
  5. package/dist/cjs/a/index.js +9 -1
  6. package/dist/cjs/f/FormInput/FormInput.js +109 -0
  7. package/dist/cjs/{a/RatingsInput → f/FormInput}/index.js +3 -3
  8. package/dist/cjs/f/common/Label/Label.js +10 -3
  9. package/dist/cjs/f/common/Label/styles.scss +3 -3
  10. package/dist/cjs/f/fields/CheckboxInput/CheckboxInput.js +3 -1
  11. package/dist/cjs/f/fields/ChoicesInput/ChoicesInput.js +32 -11
  12. package/dist/cjs/f/fields/ChoicesInput/common/Choice/Choice.js +10 -3
  13. package/dist/cjs/f/fields/ChoicesInput/styles.scss +32 -29
  14. package/dist/cjs/f/fields/RadioInput/RadioInput.js +3 -1
  15. package/dist/cjs/f/fields/RatingsInput/RatingsInput.js +3 -1
  16. package/dist/cjs/f/fields/SelectInput/SelectInput.js +15 -5
  17. package/dist/cjs/{a/RatingsInput/common/Rating/Rating.js → f/fields/TaskRecommendationInput/TaskRecommendationInput.js} +57 -46
  18. package/dist/cjs/f/fields/TaskRecommendationInput/index.js +15 -0
  19. package/{src/ui/f/fields/TaskRecommendation → dist/cjs/f/fields/TaskRecommendationInput}/styles.scss +1 -1
  20. package/dist/cjs/f/fields/TextInput/TextInput.js +15 -5
  21. package/dist/cjs/f/fields/TextareaInput/TextareaInput.js +151 -0
  22. package/dist/cjs/f/fields/TextareaInput/index.js +15 -0
  23. package/{src/ui/f/fields/TextArea → dist/cjs/f/fields/TextareaInput}/styles.scss +1 -1
  24. package/dist/cjs/f/fields/index.js +6 -6
  25. package/dist/cjs/f/index.js +14 -1
  26. package/dist/es/a/Timestamp/Timestamp.js +122 -0
  27. package/dist/es/a/Timestamp/index.js +2 -0
  28. package/dist/es/a/Timestamp/styles.scss +7 -0
  29. package/dist/es/a/index.js +2 -1
  30. package/dist/es/f/FormInput/FormInput.js +84 -0
  31. package/dist/es/f/FormInput/index.js +2 -0
  32. package/dist/es/f/common/Label/Label.js +10 -3
  33. package/dist/es/f/common/Label/styles.scss +3 -3
  34. package/dist/es/f/fields/CheckboxInput/CheckboxInput.js +2 -2
  35. package/dist/es/f/fields/ChoicesInput/ChoicesInput.js +32 -13
  36. package/dist/es/f/fields/ChoicesInput/common/Choice/Choice.js +10 -3
  37. package/dist/es/f/fields/ChoicesInput/styles.scss +32 -29
  38. package/dist/es/f/fields/RadioInput/RadioInput.js +2 -2
  39. package/dist/es/f/fields/RatingsInput/RatingsInput.js +2 -2
  40. package/dist/es/f/fields/SelectInput/SelectInput.js +14 -6
  41. package/dist/es/f/fields/TaskRecommendationInput/TaskRecommendationInput.js +111 -0
  42. package/dist/es/f/fields/TaskRecommendationInput/index.js +2 -0
  43. package/dist/es/f/fields/TaskRecommendationInput/styles.scss +37 -0
  44. package/dist/es/f/fields/TextInput/TextInput.js +14 -6
  45. package/dist/es/f/fields/TextareaInput/TextareaInput.js +132 -0
  46. package/dist/es/f/fields/TextareaInput/index.js +2 -0
  47. package/dist/es/f/fields/TextareaInput/styles.scss +19 -0
  48. package/dist/es/f/fields/index.js +2 -2
  49. package/dist/es/f/index.js +2 -1
  50. package/jest.config.js +2 -1
  51. package/package.json +1 -1
  52. package/src/__snapshots__/Storyshots.test.js.snap +1204 -383
  53. package/src/stories/a/Timestamp.stories.jsx +102 -0
  54. package/src/stories/f/ChoicesInput.stories.jsx +54 -6
  55. package/src/stories/f/FormInput.stories.jsx +187 -0
  56. package/src/stories/f/SelectInput.stories.jsx +14 -0
  57. package/src/stories/f/{TaskRecommendation.stories.jsx → TaskRecommendationInput.stories.jsx} +4 -4
  58. package/src/stories/f/TextInput.stories.jsx +10 -0
  59. package/src/stories/f/{TextArea.stories.jsx → TextareaInput.stories.jsx} +15 -5
  60. package/src/ui/a/Timestamp/Timestamp.jsx +168 -0
  61. package/src/ui/a/Timestamp/index.js +2 -0
  62. package/src/ui/a/Timestamp/styles.scss +7 -0
  63. package/src/ui/a/index.js +1 -0
  64. package/src/ui/f/FormInput/FormInput.jsx +121 -0
  65. package/src/ui/f/FormInput/index.js +2 -0
  66. package/src/ui/f/common/Label/Label.jsx +10 -2
  67. package/src/ui/f/common/Label/styles.scss +3 -3
  68. package/src/ui/f/fields/CheckboxInput/CheckboxInput.jsx +2 -2
  69. package/src/ui/f/fields/ChoicesInput/ChoicesInput.jsx +37 -17
  70. package/src/ui/f/fields/ChoicesInput/common/Choice/Choice.jsx +6 -0
  71. package/src/ui/f/fields/ChoicesInput/styles.scss +32 -29
  72. package/src/ui/f/fields/RadioInput/RadioInput.jsx +2 -2
  73. package/src/ui/f/fields/RatingsInput/RatingsInput.jsx +2 -2
  74. package/src/ui/f/fields/SelectInput/SelectInput.jsx +9 -4
  75. package/src/ui/f/fields/{TaskRecommendation/TaskRecommendation.jsx → TaskRecommendationInput/TaskRecommendationInput.jsx} +6 -6
  76. package/src/ui/f/fields/TaskRecommendationInput/index.js +2 -0
  77. package/src/ui/f/fields/TaskRecommendationInput/styles.scss +37 -0
  78. package/src/ui/f/fields/TextInput/TextInput.jsx +10 -3
  79. package/src/ui/f/fields/{TextArea/TextArea.jsx → TextareaInput/TextareaInput.jsx} +13 -6
  80. package/src/ui/f/fields/TextareaInput/index.js +2 -0
  81. package/src/ui/f/fields/TextareaInput/styles.scss +19 -0
  82. package/src/ui/f/fields/index.js +2 -2
  83. package/src/ui/f/index.js +1 -0
  84. package/dist/cjs/a/RatingsInput/RatingsInput.js +0 -88
  85. package/dist/cjs/a/RatingsInput/common/index.js +0 -13
  86. package/dist/cjs/a/RatingsInput/styles.scss +0 -35
  87. package/dist/es/a/RatingsInput/RatingsInput.js +0 -72
  88. package/dist/es/a/RatingsInput/common/Rating/Rating.js +0 -102
  89. package/dist/es/a/RatingsInput/common/Rating/index.js +0 -2
  90. package/dist/es/a/RatingsInput/common/index.js +0 -1
  91. package/dist/es/a/RatingsInput/index.js +0 -2
  92. package/dist/es/a/RatingsInput/styles.scss +0 -35
  93. package/src/ui/f/fields/TaskRecommendation/index.js +0 -2
  94. package/src/ui/f/fields/TextArea/index.js +0 -2
@@ -1153,6 +1153,57 @@ exports[`Storyshots a/TeamInfo Base 1`] = `
1153
1153
  </div>
1154
1154
  `;
1155
1155
 
1156
+ exports[`Storyshots a/Timestamp Base 1`] = `
1157
+ <p
1158
+ className="base timestamp"
1159
+ onClick={[Function]}
1160
+ >
1161
+ 1634256000000
1162
+ </p>
1163
+ `;
1164
+
1165
+ exports[`Storyshots a/Timestamp Date Format 1`] = `
1166
+ <p
1167
+ className="base timestamp"
1168
+ >
1169
+ 2021-10-15 at 00:00
1170
+ </p>
1171
+ `;
1172
+
1173
+ exports[`Storyshots a/Timestamp Distance Format 1`] = `
1174
+ <p
1175
+ className="base timestamp"
1176
+ onClick={[Function]}
1177
+ >
1178
+ 3 days ago
1179
+ </p>
1180
+ `;
1181
+
1182
+ exports[`Storyshots a/Timestamp Prefix 1`] = `
1183
+ <p
1184
+ className="base timestamp"
1185
+ onClick={[Function]}
1186
+ >
1187
+ <strong>
1188
+ Updated :
1189
+ </strong>
1190
+
1191
+ 1634256000000
1192
+ </p>
1193
+ `;
1194
+
1195
+ exports[`Storyshots a/Timestamp Relative Format 1`] = `
1196
+ Array [
1197
+ "Click to see relative format. Relative format has not been enabled by default because of chromatic snapshots.",
1198
+ <p
1199
+ className="base timestamp"
1200
+ onClick={[Function]}
1201
+ >
1202
+ 2021-10-10T00:00:00.000+00:00
1203
+ </p>,
1204
+ ]
1205
+ `;
1206
+
1156
1207
  exports[`Storyshots b/Button Base 1`] = `
1157
1208
  <button
1158
1209
  className="base button x-main1"
@@ -4219,213 +4270,176 @@ exports[`Storyshots c/Shortener Base 1`] = `
4219
4270
  </span>
4220
4271
  `;
4221
4272
 
4222
- exports[`Storyshots f/common/Description Base 1`] = `
4223
- <div
4224
- className="base description x-metadata"
4225
- >
4226
- Sample Description
4227
- </div>
4228
- `;
4229
-
4230
- exports[`Storyshots f/common/Label Base 1`] = `
4231
- <label
4232
- className="base label"
4233
- >
4234
- Sample Label
4235
- </label>
4236
- `;
4237
-
4238
- exports[`Storyshots f/fields/CheckboxInput Base 1`] = `
4273
+ exports[`Storyshots f/FormInput Base 1`] = `
4239
4274
  <form
4240
4275
  action="#"
4241
4276
  onReset={[Function]}
4242
4277
  onSubmit={[Function]}
4243
4278
  >
4244
4279
  <div
4245
- className="y-background b-y"
4280
+ className="base text-input form-input"
4246
4281
  >
4247
- <div
4248
- className="base checkbox-input"
4282
+ <label
4283
+ className="base label input-label v50 mb-v x-main1"
4284
+ htmlFor="firstName"
4249
4285
  >
4250
- <div
4251
- className="not-selected input-content uc v1 pv-v"
4252
- >
4253
- <label
4254
- className="base label"
4255
- htmlFor="businessTypes"
4256
- >
4257
- <input
4258
- className="input"
4259
- id="businessTypes"
4260
- name="businessTypes"
4261
- onBlur={[Function]}
4262
- onChange={[Function]}
4263
- type="checkbox"
4264
- value="Business to customer"
4265
- />
4266
- <span>
4267
- Business to customer
4268
- </span>
4269
- </label>
4270
- </div>
4271
- </div>
4286
+ What's your first name ?
4287
+ </label>
4288
+ <input
4289
+ className="input input-border"
4290
+ disabled={false}
4291
+ id="firstName"
4292
+ name="firstName"
4293
+ onBlur={[Function]}
4294
+ onChange={[Function]}
4295
+ type="text"
4296
+ value="Test"
4297
+ />
4298
+ </div>
4299
+ <div
4300
+ className="base text-input form-input"
4301
+ >
4302
+ <label
4303
+ className="base label input-label v50 mb-v x-main1"
4304
+ htmlFor="lastName"
4305
+ >
4306
+ What's your last name ?
4307
+ </label>
4308
+ <input
4309
+ className="input input-border"
4310
+ disabled={false}
4311
+ id="lastName"
4312
+ name="lastName"
4313
+ onBlur={[Function]}
4314
+ onChange={[Function]}
4315
+ type="text"
4316
+ />
4317
+ </div>
4318
+ <div
4319
+ className="base text-area-input form-input x-background y-main1"
4320
+ >
4321
+ <label
4322
+ className="base label c-y v50 mb-v x-main1"
4323
+ htmlFor="description"
4324
+ >
4325
+ Describe yourself in a few sentences
4326
+ </label>
4327
+ <textarea
4328
+ className="textarea v50 pv-v input-border"
4329
+ disabled={false}
4330
+ name="description"
4331
+ onBlur={[Function]}
4332
+ onChange={[Function]}
4333
+ rows={3}
4334
+ />
4335
+
4336
+ </div>
4337
+ <div
4338
+ className="base choices-input form-input x-background y-main1"
4339
+ style={
4340
+ Object {
4341
+ "--grid-columns-desktop": 3,
4342
+ "--grid-columns-mobile": 2,
4343
+ }
4344
+ }
4345
+ >
4346
+ <p
4347
+ className="base label x-main1"
4348
+ >
4349
+ What are your favourite colors ?
4350
+ </p>
4272
4351
  <div
4273
- className="base checkbox-input"
4352
+ className="choices"
4274
4353
  >
4275
4354
  <div
4276
- className="not-selected input-content uc v1 pv-v"
4355
+ className="base choice"
4277
4356
  >
4357
+ <input
4358
+ disabled={false}
4359
+ id="undefined-red"
4360
+ name="colors"
4361
+ onBlur={[Function]}
4362
+ onChange={[Function]}
4363
+ type="radio"
4364
+ value="red"
4365
+ />
4278
4366
  <label
4279
- className="base label"
4280
- htmlFor="businessTypes"
4367
+ htmlFor="undefined-red"
4281
4368
  >
4282
- <input
4283
- className="input"
4284
- id="businessTypes"
4285
- name="businessTypes"
4286
- onBlur={[Function]}
4287
- onChange={[Function]}
4288
- type="checkbox"
4289
- value="Business to business"
4290
- />
4291
- <span>
4292
- Business to business
4293
- </span>
4369
+ Color Red
4294
4370
  </label>
4295
4371
  </div>
4296
- </div>
4297
- <div
4298
- className="base checkbox-input"
4299
- >
4300
4372
  <div
4301
- className="not-selected input-content uc v1 pv-v"
4373
+ className="base choice"
4302
4374
  >
4375
+ <input
4376
+ disabled={false}
4377
+ id="undefined-blue"
4378
+ name="colors"
4379
+ onBlur={[Function]}
4380
+ onChange={[Function]}
4381
+ type="radio"
4382
+ value="blue"
4383
+ />
4303
4384
  <label
4304
- className="base label"
4305
- htmlFor="businessTypes"
4385
+ htmlFor="undefined-blue"
4306
4386
  >
4307
- <input
4308
- className="input"
4309
- id="businessTypes"
4310
- name="businessTypes"
4311
- onBlur={[Function]}
4312
- onChange={[Function]}
4313
- type="checkbox"
4314
- value="E-commerce"
4315
- />
4316
- <span>
4317
- E-commerce
4318
- </span>
4387
+ Color Blue
4319
4388
  </label>
4320
4389
  </div>
4321
- </div>
4322
- <div
4323
- className="base checkbox-input"
4324
- >
4325
4390
  <div
4326
- className="not-selected input-content uc v1 pv-v"
4391
+ className="base choice"
4327
4392
  >
4393
+ <input
4394
+ disabled={false}
4395
+ id="undefined-green"
4396
+ name="colors"
4397
+ onBlur={[Function]}
4398
+ onChange={[Function]}
4399
+ type="radio"
4400
+ value="green"
4401
+ />
4328
4402
  <label
4329
- className="base label"
4330
- htmlFor="businessTypes"
4403
+ htmlFor="undefined-green"
4331
4404
  >
4332
- <input
4333
- className="input"
4334
- id="businessTypes"
4335
- name="businessTypes"
4336
- onBlur={[Function]}
4337
- onChange={[Function]}
4338
- type="checkbox"
4339
- value="Marketplace"
4340
- />
4341
- <span>
4342
- Marketplace
4343
- </span>
4405
+ Color Green
4344
4406
  </label>
4345
4407
  </div>
4346
4408
  </div>
4347
- <div
4348
- className="debugger"
4349
- >
4350
- <button
4351
- className="base button x-main1"
4352
- onClick={[Function]}
4353
- type="button"
4354
- >
4355
- Open FormDebugger
4356
- </button>
4357
- </div>
4358
4409
  </div>
4359
- </form>
4360
- `;
4361
-
4362
- exports[`Storyshots f/fields/ChoicesInput Base 1`] = `
4363
- <form
4364
- action="#"
4365
- onReset={[Function]}
4366
- onSubmit={[Function]}
4367
- >
4368
4410
  <div
4369
- className="base choices-input x-background y-main1"
4370
- id="colors"
4371
- style={
4372
- Object {
4373
- "--grid-columns-desktop": 3,
4374
- "--grid-columns-mobile": 2,
4375
- }
4376
- }
4411
+ className="base select-input form-input"
4377
4412
  >
4378
- <div
4379
- className="base choice"
4413
+ <label
4414
+ className="base label input-label x-main1"
4415
+ htmlFor="food"
4380
4416
  >
4381
- <input
4382
- id="colors-red"
4383
- name="color"
4384
- onBlur={[Function]}
4385
- onChange={[Function]}
4386
- type="radio"
4387
- value="red"
4388
- />
4389
- <label
4390
- htmlFor="colors-red"
4391
- >
4392
- Color Red
4393
- </label>
4394
- </div>
4395
- <div
4396
- className="base choice"
4417
+ What do you want for dinner ?
4418
+ </label>
4419
+ <select
4420
+ className="input v25 pv-v"
4421
+ disabled={false}
4422
+ id="food"
4423
+ name="food"
4424
+ onBlur={[Function]}
4425
+ onChange={[Function]}
4397
4426
  >
4398
- <input
4399
- id="colors-blue"
4400
- name="color"
4401
- onBlur={[Function]}
4402
- onChange={[Function]}
4403
- type="radio"
4404
- value="blue"
4405
- />
4406
- <label
4407
- htmlFor="colors-blue"
4427
+ <option
4428
+ value="italian"
4408
4429
  >
4409
- Color Blue
4410
- </label>
4411
- </div>
4412
- <div
4413
- className="base choice"
4414
- >
4415
- <input
4416
- id="colors-green"
4417
- name="color"
4418
- onBlur={[Function]}
4419
- onChange={[Function]}
4420
- type="radio"
4421
- value="green"
4422
- />
4423
- <label
4424
- htmlFor="colors-green"
4430
+ A nice pizza
4431
+ </option>
4432
+ <option
4433
+ value="turkish"
4425
4434
  >
4426
- Color Green
4427
- </label>
4428
- </div>
4435
+ A delicious kebab
4436
+ </option>
4437
+ <option
4438
+ value="french"
4439
+ >
4440
+ A three course delicate french meal
4441
+ </option>
4442
+ </select>
4429
4443
  </div>
4430
4444
  <div
4431
4445
  className="debugger"
@@ -4441,72 +4455,720 @@ exports[`Storyshots f/fields/ChoicesInput Base 1`] = `
4441
4455
  </form>
4442
4456
  `;
4443
4457
 
4444
- exports[`Storyshots f/fields/ChoicesInput Multiple 1`] = `
4458
+ exports[`Storyshots f/FormInput Disabled Form Input 1`] = `
4445
4459
  <form
4446
4460
  action="#"
4447
4461
  onReset={[Function]}
4448
4462
  onSubmit={[Function]}
4449
4463
  >
4450
4464
  <div
4451
- className="base choices-input multiple x-background y-main1"
4452
- id="colors"
4453
- style={
4454
- Object {
4455
- "--grid-columns-desktop": 3,
4456
- "--grid-columns-mobile": 2,
4457
- }
4458
- }
4465
+ className="base text-input form-input"
4459
4466
  >
4467
+ <label
4468
+ className="base label input-label v50 mb-v x-main1"
4469
+ htmlFor="firstName"
4470
+ >
4471
+ What's your first name ?
4472
+ </label>
4473
+ <input
4474
+ className="input input-border"
4475
+ disabled={true}
4476
+ id="firstName"
4477
+ name="firstName"
4478
+ onBlur={[Function]}
4479
+ onChange={[Function]}
4480
+ type="text"
4481
+ value="Test"
4482
+ />
4483
+ </div>
4484
+ <div
4485
+ className="base text-input form-input"
4486
+ >
4487
+ <label
4488
+ className="base label input-label v50 mb-v x-main1"
4489
+ htmlFor="lastName"
4490
+ >
4491
+ What's your last name ?
4492
+ </label>
4493
+ <input
4494
+ className="input input-border"
4495
+ disabled={true}
4496
+ id="lastName"
4497
+ name="lastName"
4498
+ onBlur={[Function]}
4499
+ onChange={[Function]}
4500
+ type="text"
4501
+ />
4502
+ </div>
4503
+ <div
4504
+ className="base text-area-input form-input x-background y-main1"
4505
+ >
4506
+ <label
4507
+ className="base label c-y v50 mb-v x-main1"
4508
+ htmlFor="description"
4509
+ >
4510
+ Describe yourself in a few sentences
4511
+ </label>
4512
+ <textarea
4513
+ className="textarea v50 pv-v input-border"
4514
+ disabled={true}
4515
+ name="description"
4516
+ onBlur={[Function]}
4517
+ onChange={[Function]}
4518
+ rows={3}
4519
+ />
4520
+
4521
+ </div>
4522
+ <div
4523
+ className="base choices-input form-input x-background y-main1"
4524
+ style={
4525
+ Object {
4526
+ "--grid-columns-desktop": 3,
4527
+ "--grid-columns-mobile": 2,
4528
+ }
4529
+ }
4530
+ >
4531
+ <p
4532
+ className="base label x-main1"
4533
+ >
4534
+ What are your favourite colors ?
4535
+ </p>
4536
+ <div
4537
+ className="choices"
4538
+ >
4539
+ <div
4540
+ className="base choice"
4541
+ >
4542
+ <input
4543
+ disabled={true}
4544
+ id="undefined-red"
4545
+ name="colors"
4546
+ onBlur={[Function]}
4547
+ onChange={[Function]}
4548
+ type="radio"
4549
+ value="red"
4550
+ />
4551
+ <label
4552
+ htmlFor="undefined-red"
4553
+ >
4554
+ Color Red
4555
+ </label>
4556
+ </div>
4557
+ <div
4558
+ className="base choice"
4559
+ >
4560
+ <input
4561
+ disabled={true}
4562
+ id="undefined-blue"
4563
+ name="colors"
4564
+ onBlur={[Function]}
4565
+ onChange={[Function]}
4566
+ type="radio"
4567
+ value="blue"
4568
+ />
4569
+ <label
4570
+ htmlFor="undefined-blue"
4571
+ >
4572
+ Color Blue
4573
+ </label>
4574
+ </div>
4575
+ <div
4576
+ className="base choice"
4577
+ >
4578
+ <input
4579
+ disabled={true}
4580
+ id="undefined-green"
4581
+ name="colors"
4582
+ onBlur={[Function]}
4583
+ onChange={[Function]}
4584
+ type="radio"
4585
+ value="green"
4586
+ />
4587
+ <label
4588
+ htmlFor="undefined-green"
4589
+ >
4590
+ Color Green
4591
+ </label>
4592
+ </div>
4593
+ </div>
4594
+ </div>
4595
+ <div
4596
+ className="base select-input form-input"
4597
+ >
4598
+ <label
4599
+ className="base label input-label x-main1"
4600
+ htmlFor="food"
4601
+ >
4602
+ What do you want for dinner ?
4603
+ </label>
4604
+ <select
4605
+ className="input v25 pv-v"
4606
+ disabled={true}
4607
+ id="food"
4608
+ name="food"
4609
+ onBlur={[Function]}
4610
+ onChange={[Function]}
4611
+ >
4612
+ <option
4613
+ value="italian"
4614
+ >
4615
+ A nice pizza
4616
+ </option>
4617
+ <option
4618
+ value="turkish"
4619
+ >
4620
+ A delicious kebab
4621
+ </option>
4622
+ <option
4623
+ value="french"
4624
+ >
4625
+ A three course delicate french meal
4626
+ </option>
4627
+ </select>
4628
+ </div>
4629
+ <div
4630
+ className="debugger"
4631
+ >
4632
+ <button
4633
+ className="base button x-main1"
4634
+ onClick={[Function]}
4635
+ type="button"
4636
+ >
4637
+ Open FormDebugger
4638
+ </button>
4639
+ </div>
4640
+ </form>
4641
+ `;
4642
+
4643
+ exports[`Storyshots f/FormInput Extensible Form Input 1`] = `
4644
+ <form
4645
+ action="#"
4646
+ onReset={[Function]}
4647
+ onSubmit={[Function]}
4648
+ >
4649
+ <div
4650
+ className="base text-input form-input"
4651
+ >
4652
+ <label
4653
+ className="base label input-label v50 mb-v x-main1"
4654
+ htmlFor="extended"
4655
+ >
4656
+ Extended type input
4657
+ </label>
4658
+ <input
4659
+ className="input input-border"
4660
+ disabled={false}
4661
+ id="extended"
4662
+ name="extended"
4663
+ onBlur={[Function]}
4664
+ onChange={[Function]}
4665
+ type="text"
4666
+ />
4667
+ </div>
4668
+ <div
4669
+ className="debugger"
4670
+ >
4671
+ <button
4672
+ className="base button x-main1"
4673
+ onClick={[Function]}
4674
+ type="button"
4675
+ >
4676
+ Open FormDebugger
4677
+ </button>
4678
+ </div>
4679
+ </form>
4680
+ `;
4681
+
4682
+ exports[`Storyshots f/common/Description Base 1`] = `
4683
+ <div
4684
+ className="base description x-metadata"
4685
+ >
4686
+ Sample Description
4687
+ </div>
4688
+ `;
4689
+
4690
+ exports[`Storyshots f/common/Label Base 1`] = `
4691
+ <label
4692
+ className="base label x-main1"
4693
+ >
4694
+ Sample Label
4695
+ </label>
4696
+ `;
4697
+
4698
+ exports[`Storyshots f/fields/CheckboxInput Base 1`] = `
4699
+ <form
4700
+ action="#"
4701
+ onReset={[Function]}
4702
+ onSubmit={[Function]}
4703
+ >
4704
+ <div
4705
+ className="y-background b-y"
4706
+ >
4707
+ <div
4708
+ className="base checkbox-input"
4709
+ >
4710
+ <div
4711
+ className="not-selected input-content uc v1 pv-v"
4712
+ >
4713
+ <label
4714
+ className="base label x-main1"
4715
+ htmlFor="businessTypes"
4716
+ >
4717
+ <input
4718
+ className="input"
4719
+ id="businessTypes"
4720
+ name="businessTypes"
4721
+ onBlur={[Function]}
4722
+ onChange={[Function]}
4723
+ type="checkbox"
4724
+ value="Business to customer"
4725
+ />
4726
+ <span>
4727
+ Business to customer
4728
+ </span>
4729
+ </label>
4730
+ </div>
4731
+ </div>
4732
+ <div
4733
+ className="base checkbox-input"
4734
+ >
4735
+ <div
4736
+ className="not-selected input-content uc v1 pv-v"
4737
+ >
4738
+ <label
4739
+ className="base label x-main1"
4740
+ htmlFor="businessTypes"
4741
+ >
4742
+ <input
4743
+ className="input"
4744
+ id="businessTypes"
4745
+ name="businessTypes"
4746
+ onBlur={[Function]}
4747
+ onChange={[Function]}
4748
+ type="checkbox"
4749
+ value="Business to business"
4750
+ />
4751
+ <span>
4752
+ Business to business
4753
+ </span>
4754
+ </label>
4755
+ </div>
4756
+ </div>
4757
+ <div
4758
+ className="base checkbox-input"
4759
+ >
4760
+ <div
4761
+ className="not-selected input-content uc v1 pv-v"
4762
+ >
4763
+ <label
4764
+ className="base label x-main1"
4765
+ htmlFor="businessTypes"
4766
+ >
4767
+ <input
4768
+ className="input"
4769
+ id="businessTypes"
4770
+ name="businessTypes"
4771
+ onBlur={[Function]}
4772
+ onChange={[Function]}
4773
+ type="checkbox"
4774
+ value="E-commerce"
4775
+ />
4776
+ <span>
4777
+ E-commerce
4778
+ </span>
4779
+ </label>
4780
+ </div>
4781
+ </div>
4782
+ <div
4783
+ className="base checkbox-input"
4784
+ >
4785
+ <div
4786
+ className="not-selected input-content uc v1 pv-v"
4787
+ >
4788
+ <label
4789
+ className="base label x-main1"
4790
+ htmlFor="businessTypes"
4791
+ >
4792
+ <input
4793
+ className="input"
4794
+ id="businessTypes"
4795
+ name="businessTypes"
4796
+ onBlur={[Function]}
4797
+ onChange={[Function]}
4798
+ type="checkbox"
4799
+ value="Marketplace"
4800
+ />
4801
+ <span>
4802
+ Marketplace
4803
+ </span>
4804
+ </label>
4805
+ </div>
4806
+ </div>
4807
+ <div
4808
+ className="debugger"
4809
+ >
4810
+ <button
4811
+ className="base button x-main1"
4812
+ onClick={[Function]}
4813
+ type="button"
4814
+ >
4815
+ Open FormDebugger
4816
+ </button>
4817
+ </div>
4818
+ </div>
4819
+ </form>
4820
+ `;
4821
+
4822
+ exports[`Storyshots f/fields/ChoicesInput Base 1`] = `
4823
+ <form
4824
+ action="#"
4825
+ onReset={[Function]}
4826
+ onSubmit={[Function]}
4827
+ >
4828
+ <div
4829
+ className="base choices-input x-background y-main1"
4830
+ id="colors"
4831
+ style={
4832
+ Object {
4833
+ "--grid-columns-desktop": 3,
4834
+ "--grid-columns-mobile": 2,
4835
+ }
4836
+ }
4837
+ >
4838
+ <div
4839
+ className="choices"
4840
+ >
4841
+ <div
4842
+ className="base choice"
4843
+ >
4844
+ <input
4845
+ disabled={false}
4846
+ id="colors-red"
4847
+ name="color"
4848
+ onBlur={[Function]}
4849
+ onChange={[Function]}
4850
+ type="radio"
4851
+ value="red"
4852
+ />
4853
+ <label
4854
+ htmlFor="colors-red"
4855
+ >
4856
+ Color Red
4857
+ </label>
4858
+ </div>
4859
+ <div
4860
+ className="base choice"
4861
+ >
4862
+ <input
4863
+ disabled={false}
4864
+ id="colors-blue"
4865
+ name="color"
4866
+ onBlur={[Function]}
4867
+ onChange={[Function]}
4868
+ type="radio"
4869
+ value="blue"
4870
+ />
4871
+ <label
4872
+ htmlFor="colors-blue"
4873
+ >
4874
+ Color Blue
4875
+ </label>
4876
+ </div>
4877
+ <div
4878
+ className="base choice"
4879
+ >
4880
+ <input
4881
+ disabled={false}
4882
+ id="colors-green"
4883
+ name="color"
4884
+ onBlur={[Function]}
4885
+ onChange={[Function]}
4886
+ type="radio"
4887
+ value="green"
4888
+ />
4889
+ <label
4890
+ htmlFor="colors-green"
4891
+ >
4892
+ Color Green
4893
+ </label>
4894
+ </div>
4895
+ </div>
4896
+ </div>
4897
+ <div
4898
+ className="debugger"
4899
+ >
4900
+ <button
4901
+ className="base button x-main1"
4902
+ onClick={[Function]}
4903
+ type="button"
4904
+ >
4905
+ Open FormDebugger
4906
+ </button>
4907
+ </div>
4908
+ </form>
4909
+ `;
4910
+
4911
+ exports[`Storyshots f/fields/ChoicesInput Choices With Label 1`] = `
4912
+ <form
4913
+ action="#"
4914
+ onReset={[Function]}
4915
+ onSubmit={[Function]}
4916
+ >
4917
+ <div
4918
+ className="base choices-input x-background y-main1"
4919
+ id="shapes"
4920
+ style={
4921
+ Object {
4922
+ "--grid-columns-desktop": 3,
4923
+ "--grid-columns-mobile": 2,
4924
+ }
4925
+ }
4926
+ >
4927
+ <p
4928
+ className="base label x-main1"
4929
+ >
4930
+ Geometric Shapes
4931
+ </p>
4460
4932
  <div
4461
- className="base choice"
4933
+ className="choices"
4462
4934
  >
4463
- <input
4464
- id="colors-red"
4465
- name="color"
4466
- onBlur={[Function]}
4467
- onChange={[Function]}
4468
- type="checkbox"
4469
- value="red"
4470
- />
4471
- <label
4472
- htmlFor="colors-red"
4935
+ <div
4936
+ className="base choice"
4473
4937
  >
4474
- Color Red
4475
- </label>
4938
+ <input
4939
+ disabled={false}
4940
+ id="shapes-triangle"
4941
+ name="shape"
4942
+ onBlur={[Function]}
4943
+ onChange={[Function]}
4944
+ type="radio"
4945
+ value="triangle"
4946
+ />
4947
+ <label
4948
+ htmlFor="shapes-triangle"
4949
+ >
4950
+ Triangle
4951
+ </label>
4952
+ </div>
4953
+ <div
4954
+ className="base choice"
4955
+ >
4956
+ <input
4957
+ disabled={false}
4958
+ id="shapes-square"
4959
+ name="shape"
4960
+ onBlur={[Function]}
4961
+ onChange={[Function]}
4962
+ type="radio"
4963
+ value="square"
4964
+ />
4965
+ <label
4966
+ htmlFor="shapes-square"
4967
+ >
4968
+ Square
4969
+ </label>
4970
+ </div>
4971
+ <div
4972
+ className="base choice"
4973
+ >
4974
+ <input
4975
+ disabled={false}
4976
+ id="shapes-rectangle"
4977
+ name="shape"
4978
+ onBlur={[Function]}
4979
+ onChange={[Function]}
4980
+ type="radio"
4981
+ value="rectangle"
4982
+ />
4983
+ <label
4984
+ htmlFor="shapes-rectangle"
4985
+ >
4986
+ Rectangle
4987
+ </label>
4988
+ </div>
4476
4989
  </div>
4990
+ </div>
4991
+ <div
4992
+ className="debugger"
4993
+ >
4994
+ <button
4995
+ className="base button x-main1"
4996
+ onClick={[Function]}
4997
+ type="button"
4998
+ >
4999
+ Open FormDebugger
5000
+ </button>
5001
+ </div>
5002
+ </form>
5003
+ `;
5004
+
5005
+ exports[`Storyshots f/fields/ChoicesInput Disabled Choices Input 1`] = `
5006
+ <form
5007
+ action="#"
5008
+ onReset={[Function]}
5009
+ onSubmit={[Function]}
5010
+ >
5011
+ <div
5012
+ className="base choices-input x-background y-main1"
5013
+ id="shapes"
5014
+ style={
5015
+ Object {
5016
+ "--grid-columns-desktop": 3,
5017
+ "--grid-columns-mobile": 2,
5018
+ }
5019
+ }
5020
+ >
5021
+ <p
5022
+ className="base label x-main1"
5023
+ >
5024
+ Geometric Shapes
5025
+ </p>
4477
5026
  <div
4478
- className="base choice"
5027
+ className="choices"
4479
5028
  >
4480
- <input
4481
- id="colors-blue"
4482
- name="color"
4483
- onBlur={[Function]}
4484
- onChange={[Function]}
4485
- type="checkbox"
4486
- value="blue"
4487
- />
4488
- <label
4489
- htmlFor="colors-blue"
5029
+ <div
5030
+ className="base choice"
4490
5031
  >
4491
- Color Blue
4492
- </label>
5032
+ <input
5033
+ disabled={true}
5034
+ id="shapes-triangle"
5035
+ name="shape"
5036
+ onBlur={[Function]}
5037
+ onChange={[Function]}
5038
+ type="radio"
5039
+ value="triangle"
5040
+ />
5041
+ <label
5042
+ htmlFor="shapes-triangle"
5043
+ >
5044
+ Triangle
5045
+ </label>
5046
+ </div>
5047
+ <div
5048
+ className="base choice"
5049
+ >
5050
+ <input
5051
+ disabled={true}
5052
+ id="shapes-square"
5053
+ name="shape"
5054
+ onBlur={[Function]}
5055
+ onChange={[Function]}
5056
+ type="radio"
5057
+ value="square"
5058
+ />
5059
+ <label
5060
+ htmlFor="shapes-square"
5061
+ >
5062
+ Square
5063
+ </label>
5064
+ </div>
5065
+ <div
5066
+ className="base choice"
5067
+ >
5068
+ <input
5069
+ disabled={true}
5070
+ id="shapes-rectangle"
5071
+ name="shape"
5072
+ onBlur={[Function]}
5073
+ onChange={[Function]}
5074
+ type="radio"
5075
+ value="rectangle"
5076
+ />
5077
+ <label
5078
+ htmlFor="shapes-rectangle"
5079
+ >
5080
+ Rectangle
5081
+ </label>
5082
+ </div>
4493
5083
  </div>
5084
+ </div>
5085
+ <div
5086
+ className="debugger"
5087
+ >
5088
+ <button
5089
+ className="base button x-main1"
5090
+ onClick={[Function]}
5091
+ type="button"
5092
+ >
5093
+ Open FormDebugger
5094
+ </button>
5095
+ </div>
5096
+ </form>
5097
+ `;
5098
+
5099
+ exports[`Storyshots f/fields/ChoicesInput Multiple 1`] = `
5100
+ <form
5101
+ action="#"
5102
+ onReset={[Function]}
5103
+ onSubmit={[Function]}
5104
+ >
5105
+ <div
5106
+ className="base choices-input multiple x-background y-main1"
5107
+ id="colors"
5108
+ style={
5109
+ Object {
5110
+ "--grid-columns-desktop": 3,
5111
+ "--grid-columns-mobile": 2,
5112
+ }
5113
+ }
5114
+ >
4494
5115
  <div
4495
- className="base choice"
5116
+ className="choices"
4496
5117
  >
4497
- <input
4498
- id="colors-green"
4499
- name="color"
4500
- onBlur={[Function]}
4501
- onChange={[Function]}
4502
- type="checkbox"
4503
- value="green"
4504
- />
4505
- <label
4506
- htmlFor="colors-green"
5118
+ <div
5119
+ className="base choice"
4507
5120
  >
4508
- Color Green
4509
- </label>
5121
+ <input
5122
+ disabled={false}
5123
+ id="colors-red"
5124
+ name="color"
5125
+ onBlur={[Function]}
5126
+ onChange={[Function]}
5127
+ type="checkbox"
5128
+ value="red"
5129
+ />
5130
+ <label
5131
+ htmlFor="colors-red"
5132
+ >
5133
+ Color Red
5134
+ </label>
5135
+ </div>
5136
+ <div
5137
+ className="base choice"
5138
+ >
5139
+ <input
5140
+ disabled={false}
5141
+ id="colors-blue"
5142
+ name="color"
5143
+ onBlur={[Function]}
5144
+ onChange={[Function]}
5145
+ type="checkbox"
5146
+ value="blue"
5147
+ />
5148
+ <label
5149
+ htmlFor="colors-blue"
5150
+ >
5151
+ Color Blue
5152
+ </label>
5153
+ </div>
5154
+ <div
5155
+ className="base choice"
5156
+ >
5157
+ <input
5158
+ disabled={false}
5159
+ id="colors-green"
5160
+ name="color"
5161
+ onBlur={[Function]}
5162
+ onChange={[Function]}
5163
+ type="checkbox"
5164
+ value="green"
5165
+ />
5166
+ <label
5167
+ htmlFor="colors-green"
5168
+ >
5169
+ Color Green
5170
+ </label>
5171
+ </div>
4510
5172
  </div>
4511
5173
  </div>
4512
5174
  <div
@@ -4540,140 +5202,152 @@ exports[`Storyshots f/fields/ChoicesInput Multiple With Grid 1`] = `
4540
5202
  }
4541
5203
  >
4542
5204
  <div
4543
- className="base choice"
5205
+ className="choices"
4544
5206
  >
4545
- <input
4546
- id="colors-red"
4547
- name="color"
4548
- onBlur={[Function]}
4549
- onChange={[Function]}
4550
- type="checkbox"
4551
- value="red"
4552
- />
4553
- <label
4554
- htmlFor="colors-red"
5207
+ <div
5208
+ className="base choice"
4555
5209
  >
4556
- Color Red
4557
- </label>
4558
- </div>
4559
- <div
4560
- className="base choice"
4561
- >
4562
- <input
4563
- id="colors-blue"
4564
- name="color"
4565
- onBlur={[Function]}
4566
- onChange={[Function]}
4567
- type="checkbox"
4568
- value="blue"
4569
- />
4570
- <label
4571
- htmlFor="colors-blue"
5210
+ <input
5211
+ disabled={false}
5212
+ id="colors-red"
5213
+ name="color"
5214
+ onBlur={[Function]}
5215
+ onChange={[Function]}
5216
+ type="checkbox"
5217
+ value="red"
5218
+ />
5219
+ <label
5220
+ htmlFor="colors-red"
5221
+ >
5222
+ Color Red
5223
+ </label>
5224
+ </div>
5225
+ <div
5226
+ className="base choice"
4572
5227
  >
4573
- Color Blue
4574
- </label>
4575
- </div>
4576
- <div
4577
- className="base choice"
4578
- >
4579
- <input
4580
- id="colors-green"
4581
- name="color"
4582
- onBlur={[Function]}
4583
- onChange={[Function]}
4584
- type="checkbox"
4585
- value="green"
4586
- />
4587
- <label
4588
- htmlFor="colors-green"
5228
+ <input
5229
+ disabled={false}
5230
+ id="colors-blue"
5231
+ name="color"
5232
+ onBlur={[Function]}
5233
+ onChange={[Function]}
5234
+ type="checkbox"
5235
+ value="blue"
5236
+ />
5237
+ <label
5238
+ htmlFor="colors-blue"
5239
+ >
5240
+ Color Blue
5241
+ </label>
5242
+ </div>
5243
+ <div
5244
+ className="base choice"
4589
5245
  >
4590
- Color Green
4591
- </label>
4592
- </div>
4593
- <div
4594
- className="base choice"
4595
- >
4596
- <input
4597
- id="colors-yellow"
4598
- name="color"
4599
- onBlur={[Function]}
4600
- onChange={[Function]}
4601
- type="checkbox"
4602
- value="yellow"
4603
- />
4604
- <label
4605
- htmlFor="colors-yellow"
5246
+ <input
5247
+ disabled={false}
5248
+ id="colors-green"
5249
+ name="color"
5250
+ onBlur={[Function]}
5251
+ onChange={[Function]}
5252
+ type="checkbox"
5253
+ value="green"
5254
+ />
5255
+ <label
5256
+ htmlFor="colors-green"
5257
+ >
5258
+ Color Green
5259
+ </label>
5260
+ </div>
5261
+ <div
5262
+ className="base choice"
4606
5263
  >
4607
- Color Yellow
4608
- </label>
4609
- </div>
4610
- <div
4611
- className="base choice"
4612
- >
4613
- <input
4614
- id="colors-oarnge"
4615
- name="color"
4616
- onBlur={[Function]}
4617
- onChange={[Function]}
4618
- type="checkbox"
4619
- value="oarnge"
4620
- />
4621
- <label
4622
- htmlFor="colors-oarnge"
5264
+ <input
5265
+ disabled={false}
5266
+ id="colors-yellow"
5267
+ name="color"
5268
+ onBlur={[Function]}
5269
+ onChange={[Function]}
5270
+ type="checkbox"
5271
+ value="yellow"
5272
+ />
5273
+ <label
5274
+ htmlFor="colors-yellow"
5275
+ >
5276
+ Color Yellow
5277
+ </label>
5278
+ </div>
5279
+ <div
5280
+ className="base choice"
4623
5281
  >
4624
- Color Orange
4625
- </label>
4626
- </div>
4627
- <div
4628
- className="base choice"
4629
- >
4630
- <input
4631
- id="colors-violet"
4632
- name="color"
4633
- onBlur={[Function]}
4634
- onChange={[Function]}
4635
- type="checkbox"
4636
- value="violet"
4637
- />
4638
- <label
4639
- htmlFor="colors-violet"
5282
+ <input
5283
+ disabled={false}
5284
+ id="colors-oarnge"
5285
+ name="color"
5286
+ onBlur={[Function]}
5287
+ onChange={[Function]}
5288
+ type="checkbox"
5289
+ value="oarnge"
5290
+ />
5291
+ <label
5292
+ htmlFor="colors-oarnge"
5293
+ >
5294
+ Color Orange
5295
+ </label>
5296
+ </div>
5297
+ <div
5298
+ className="base choice"
4640
5299
  >
4641
- Color Violet
4642
- </label>
4643
- </div>
4644
- <div
4645
- className="base choice"
4646
- >
4647
- <input
4648
- id="colors-brown"
4649
- name="color"
4650
- onBlur={[Function]}
4651
- onChange={[Function]}
4652
- type="checkbox"
4653
- value="brown"
4654
- />
4655
- <label
4656
- htmlFor="colors-brown"
5300
+ <input
5301
+ disabled={false}
5302
+ id="colors-violet"
5303
+ name="color"
5304
+ onBlur={[Function]}
5305
+ onChange={[Function]}
5306
+ type="checkbox"
5307
+ value="violet"
5308
+ />
5309
+ <label
5310
+ htmlFor="colors-violet"
5311
+ >
5312
+ Color Violet
5313
+ </label>
5314
+ </div>
5315
+ <div
5316
+ className="base choice"
4657
5317
  >
4658
- Color Brown
4659
- </label>
4660
- </div>
4661
- <div
4662
- className="base choice"
4663
- >
4664
- <input
4665
- id="colors-black"
4666
- name="color"
4667
- onBlur={[Function]}
4668
- onChange={[Function]}
4669
- type="checkbox"
4670
- value="black"
4671
- />
4672
- <label
4673
- htmlFor="colors-black"
5318
+ <input
5319
+ disabled={false}
5320
+ id="colors-brown"
5321
+ name="color"
5322
+ onBlur={[Function]}
5323
+ onChange={[Function]}
5324
+ type="checkbox"
5325
+ value="brown"
5326
+ />
5327
+ <label
5328
+ htmlFor="colors-brown"
5329
+ >
5330
+ Color Brown
5331
+ </label>
5332
+ </div>
5333
+ <div
5334
+ className="base choice"
4674
5335
  >
4675
- Color Black
4676
- </label>
5336
+ <input
5337
+ disabled={false}
5338
+ id="colors-black"
5339
+ name="color"
5340
+ onBlur={[Function]}
5341
+ onChange={[Function]}
5342
+ type="checkbox"
5343
+ value="black"
5344
+ />
5345
+ <label
5346
+ htmlFor="colors-black"
5347
+ >
5348
+ Color Black
5349
+ </label>
5350
+ </div>
4677
5351
  </div>
4678
5352
  </div>
4679
5353
  <div
@@ -4703,7 +5377,7 @@ exports[`Storyshots f/fields/RadioInput Base 1`] = `
4703
5377
  className="not-selected uc v1 pv-v"
4704
5378
  >
4705
5379
  <label
4706
- className="base label"
5380
+ className="base label x-main1"
4707
5381
  htmlFor="companySize"
4708
5382
  >
4709
5383
  <input
@@ -4730,7 +5404,7 @@ exports[`Storyshots f/fields/RadioInput Base 1`] = `
4730
5404
  className="not-selected uc v1 pv-v"
4731
5405
  >
4732
5406
  <label
4733
- className="base label"
5407
+ className="base label x-main1"
4734
5408
  htmlFor="companySize"
4735
5409
  >
4736
5410
  <input
@@ -4757,7 +5431,7 @@ exports[`Storyshots f/fields/RadioInput Base 1`] = `
4757
5431
  className="not-selected uc v1 pv-v"
4758
5432
  >
4759
5433
  <label
4760
- className="base label"
5434
+ className="base label x-main1"
4761
5435
  htmlFor="companySize"
4762
5436
  >
4763
5437
  <input
@@ -4784,7 +5458,7 @@ exports[`Storyshots f/fields/RadioInput Base 1`] = `
4784
5458
  className="not-selected uc v1 pv-v"
4785
5459
  >
4786
5460
  <label
4787
- className="base label"
5461
+ className="base label x-main1"
4788
5462
  htmlFor="companySize"
4789
5463
  >
4790
5464
  <input
@@ -5585,13 +6259,69 @@ exports[`Storyshots f/fields/SelectInput Base 1`] = `
5585
6259
  className="base select-input"
5586
6260
  >
5587
6261
  <label
5588
- className="base label input-label"
6262
+ className="base label input-label x-main1"
6263
+ htmlFor="workType"
6264
+ >
6265
+ Work Type
6266
+ </label>
6267
+ <select
6268
+ className="input v25 pv-v"
6269
+ disabled={false}
6270
+ id="workType"
6271
+ name="workType"
6272
+ onBlur={[Function]}
6273
+ onChange={[Function]}
6274
+ value="Work"
6275
+ >
6276
+ <option
6277
+ value="Work"
6278
+ >
6279
+ Work
6280
+ </option>
6281
+ <option
6282
+ value="Managing"
6283
+ >
6284
+ Managing
6285
+ </option>
6286
+ <option
6287
+ value="Training"
6288
+ >
6289
+ Training
6290
+ </option>
6291
+ </select>
6292
+ </div>
6293
+ <div
6294
+ className="debugger"
6295
+ >
6296
+ <button
6297
+ className="base button x-main1"
6298
+ onClick={[Function]}
6299
+ type="button"
6300
+ >
6301
+ Open FormDebugger
6302
+ </button>
6303
+ </div>
6304
+ </form>
6305
+ `;
6306
+
6307
+ exports[`Storyshots f/fields/SelectInput Disabled Select Input 1`] = `
6308
+ <form
6309
+ action="#"
6310
+ onReset={[Function]}
6311
+ onSubmit={[Function]}
6312
+ >
6313
+ <div
6314
+ className="base select-input"
6315
+ >
6316
+ <label
6317
+ className="base label input-label x-main1"
5589
6318
  htmlFor="workType"
5590
6319
  >
5591
6320
  Work Type
5592
6321
  </label>
5593
6322
  <select
5594
6323
  className="input v25 pv-v"
6324
+ disabled={true}
5595
6325
  id="workType"
5596
6326
  name="workType"
5597
6327
  onBlur={[Function]}
@@ -5613,6 +6343,16 @@ exports[`Storyshots f/fields/SelectInput Base 1`] = `
5613
6343
  >
5614
6344
  Training
5615
6345
  </option>
6346
+ <option
6347
+ value="20th Aug 2020 to 19th Sept, 2020"
6348
+ >
6349
+ 20th Aug 2020 to 19th Sept, 2020
6350
+ </option>
6351
+ <option
6352
+ value="20th Sept 2020 to 19th Oct, 2020"
6353
+ >
6354
+ 20th Sept 2020 to 19th Oct, 2020
6355
+ </option>
5616
6356
  </select>
5617
6357
  </div>
5618
6358
  <div
@@ -5639,13 +6379,14 @@ exports[`Storyshots f/fields/SelectInput Objects 1`] = `
5639
6379
  className="base select-input"
5640
6380
  >
5641
6381
  <label
5642
- className="base label input-label"
6382
+ className="base label input-label x-main1"
5643
6383
  htmlFor="workType"
5644
6384
  >
5645
6385
  Work Type
5646
6386
  </label>
5647
6387
  <select
5648
6388
  className="input v25 pv-v"
6389
+ disabled={false}
5649
6390
  id="workType"
5650
6391
  name="workType"
5651
6392
  onBlur={[Function]}
@@ -5688,13 +6429,14 @@ exports[`Storyshots f/fields/SelectInput String And Objects 1`] = `
5688
6429
  className="base select-input"
5689
6430
  >
5690
6431
  <label
5691
- className="base label input-label"
6432
+ className="base label input-label x-main1"
5692
6433
  htmlFor="workType"
5693
6434
  >
5694
6435
  Work Type
5695
6436
  </label>
5696
6437
  <select
5697
6438
  className="input v25 pv-v"
6439
+ disabled={false}
5698
6440
  id="workType"
5699
6441
  name="workType"
5700
6442
  onBlur={[Function]}
@@ -5742,7 +6484,7 @@ exports[`Storyshots f/fields/SelectInput String And Objects 1`] = `
5742
6484
  </form>
5743
6485
  `;
5744
6486
 
5745
- exports[`Storyshots f/fields/TaskRecommendation Base 1`] = `
6487
+ exports[`Storyshots f/fields/TaskRecommendationInput Base 1`] = `
5746
6488
  <form
5747
6489
  action="#"
5748
6490
  onReset={[Function]}
@@ -5757,7 +6499,7 @@ exports[`Storyshots f/fields/TaskRecommendation Base 1`] = `
5757
6499
  }
5758
6500
  >
5759
6501
  <div
5760
- className="base task-recommendation x-main2"
6502
+ className="base task-recommendation-input x-main2"
5761
6503
  >
5762
6504
  <div
5763
6505
  className="task-content b-on-x"
@@ -5766,7 +6508,7 @@ exports[`Storyshots f/fields/TaskRecommendation Base 1`] = `
5766
6508
  className="v1 p-v task"
5767
6509
  >
5768
6510
  <label
5769
- className="base label uc mb-v c-x"
6511
+ className="base label uc mb-v c-x x-main1"
5770
6512
  htmlFor="taskRecommendations"
5771
6513
  >
5772
6514
  Find potential business customers
@@ -5797,7 +6539,80 @@ exports[`Storyshots f/fields/TaskRecommendation Base 1`] = `
5797
6539
  </form>
5798
6540
  `;
5799
6541
 
5800
- exports[`Storyshots f/fields/TextArea Base 1`] = `
6542
+ exports[`Storyshots f/fields/TextInput Base 1`] = `
6543
+ <form
6544
+ action="#"
6545
+ onReset={[Function]}
6546
+ onSubmit={[Function]}
6547
+ >
6548
+ <div
6549
+ className="base text-input"
6550
+ >
6551
+ <label
6552
+ className="base label input-label v50 mb-v x-main1"
6553
+ htmlFor="firstName"
6554
+ >
6555
+ What's your first name ?
6556
+ </label>
6557
+ <input
6558
+ className="input input-border"
6559
+ disabled={false}
6560
+ id="firstName"
6561
+ name="firstName"
6562
+ onBlur={[Function]}
6563
+ onChange={[Function]}
6564
+ type="text"
6565
+ value=""
6566
+ />
6567
+ </div>
6568
+ <div
6569
+ className="debugger"
6570
+ >
6571
+ <button
6572
+ className="base button x-main1"
6573
+ onClick={[Function]}
6574
+ type="button"
6575
+ >
6576
+ Open FormDebugger
6577
+ </button>
6578
+ </div>
6579
+ </form>
6580
+ `;
6581
+
6582
+ exports[`Storyshots f/fields/TextInput Disabled Text Input 1`] = `
6583
+ <form
6584
+ action="#"
6585
+ onReset={[Function]}
6586
+ onSubmit={[Function]}
6587
+ >
6588
+ <div
6589
+ className="y-background b-y u2 pb-u"
6590
+ >
6591
+ <div
6592
+ className="base text-input"
6593
+ >
6594
+ <label
6595
+ className="base label input-label v50 mb-v x-main1"
6596
+ htmlFor="firstName"
6597
+ >
6598
+ What's your first name ?
6599
+ </label>
6600
+ <input
6601
+ className="input input-border"
6602
+ disabled={true}
6603
+ id="firstName"
6604
+ name="firstName"
6605
+ onBlur={[Function]}
6606
+ onChange={[Function]}
6607
+ type="text"
6608
+ value=""
6609
+ />
6610
+ </div>
6611
+ </div>
6612
+ </form>
6613
+ `;
6614
+
6615
+ exports[`Storyshots f/fields/TextareaInput Base 1`] = `
5801
6616
  <form
5802
6617
  action="#"
5803
6618
  onReset={[Function]}
@@ -5807,16 +6622,17 @@ exports[`Storyshots f/fields/TextArea Base 1`] = `
5807
6622
  className="y-background b-y"
5808
6623
  >
5809
6624
  <div
5810
- className="base text-area x-background y-main1"
6625
+ className="base text-area-input x-background y-main1"
5811
6626
  >
5812
6627
  <label
5813
- className="base label c-y v50 mb-v"
6628
+ className="base label c-y v50 mb-v x-main1"
5814
6629
  htmlFor="feedBack"
5815
6630
  >
5816
6631
  What can we improve on?
5817
6632
  </label>
5818
6633
  <textarea
5819
6634
  className="textarea v50 pv-v input-border"
6635
+ disabled={false}
5820
6636
  name="feedBack"
5821
6637
  onBlur={[Function]}
5822
6638
  onChange={[Function]}
@@ -5840,41 +6656,46 @@ exports[`Storyshots f/fields/TextArea Base 1`] = `
5840
6656
  </form>
5841
6657
  `;
5842
6658
 
5843
- exports[`Storyshots f/fields/TextInput Base 1`] = `
6659
+ exports[`Storyshots f/fields/TextareaInput Disabled Textarea Input 1`] = `
5844
6660
  <form
5845
6661
  action="#"
5846
6662
  onReset={[Function]}
5847
6663
  onSubmit={[Function]}
5848
6664
  >
5849
6665
  <div
5850
- className="base text-input"
6666
+ className="y-background b-y"
5851
6667
  >
5852
- <label
5853
- className="base label input-label v50 mb-v"
5854
- htmlFor="firstName"
6668
+ <div
6669
+ className="base text-area-input x-background y-main1"
5855
6670
  >
5856
- What's your first name ?
5857
- </label>
5858
- <input
5859
- className="input input-border"
5860
- id="firstName"
5861
- name="firstName"
5862
- onBlur={[Function]}
5863
- onChange={[Function]}
5864
- type="text"
5865
- value=""
5866
- />
5867
- </div>
5868
- <div
5869
- className="debugger"
5870
- >
5871
- <button
5872
- className="base button x-main1"
5873
- onClick={[Function]}
5874
- type="button"
6671
+ <label
6672
+ className="base label c-y v50 mb-v x-main1"
6673
+ htmlFor="feedBack"
6674
+ >
6675
+ What can we improve on?
6676
+ </label>
6677
+ <textarea
6678
+ className="textarea v50 pv-v input-border"
6679
+ disabled={true}
6680
+ name="feedBack"
6681
+ onBlur={[Function]}
6682
+ onChange={[Function]}
6683
+ rows={3}
6684
+ value=""
6685
+ />
6686
+
6687
+ </div>
6688
+ <div
6689
+ className="debugger"
5875
6690
  >
5876
- Open FormDebugger
5877
- </button>
6691
+ <button
6692
+ className="base button x-main1"
6693
+ onClick={[Function]}
6694
+ type="button"
6695
+ >
6696
+ Open FormDebugger
6697
+ </button>
6698
+ </div>
5878
6699
  </div>
5879
6700
  </form>
5880
6701
  `;