@pareto-engineering/design-system 4.0.0-alpha.81 → 4.0.0-alpha.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/a/People/styles.scss +1 -1
- package/dist/cjs/f/fields/SelectInput/common/Multiple/Multiple.js +1 -1
- package/dist/cjs/f/fields/SelectInput/common/Single/Single.js +1 -1
- package/dist/cjs/f/fields/TextInput/TextInput.js +1 -2
- package/dist/cjs/f/fields/TextareaInput/TextareaInput.js +1 -2
- package/dist/cjs/g/DragAndDrop/DragAndDrop.js +97 -0
- package/dist/cjs/g/DragAndDrop/common/DraggableItem/DraggableItem.js +80 -0
- package/dist/cjs/g/DragAndDrop/common/DraggableItem/index.js +13 -0
- package/dist/cjs/g/DragAndDrop/common/DraggableItem/styles.scss +12 -0
- package/dist/cjs/g/DragAndDrop/common/index.js +12 -0
- package/dist/cjs/g/DragAndDrop/index.js +13 -0
- package/dist/cjs/g/DragAndDrop/styles.scss +8 -0
- package/dist/cjs/g/index.js +8 -1
- package/dist/es/a/People/styles.scss +1 -1
- package/dist/es/f/fields/SelectInput/common/Multiple/Multiple.js +1 -1
- package/dist/es/f/fields/SelectInput/common/Single/Single.js +1 -1
- package/dist/es/f/fields/TextInput/TextInput.js +1 -2
- package/dist/es/f/fields/TextareaInput/TextareaInput.js +1 -2
- package/dist/es/g/DragAndDrop/DragAndDrop.js +88 -0
- package/dist/es/g/DragAndDrop/common/DraggableItem/DraggableItem.js +72 -0
- package/dist/es/g/DragAndDrop/common/DraggableItem/index.js +2 -0
- package/dist/es/g/DragAndDrop/common/DraggableItem/styles.scss +12 -0
- package/dist/es/g/DragAndDrop/common/index.js +1 -0
- package/dist/es/g/DragAndDrop/index.js +2 -0
- package/dist/es/g/DragAndDrop/styles.scss +8 -0
- package/dist/es/g/index.js +2 -1
- package/package.json +3 -3
- package/src/stories/g/DragAndDrop.stories.jsx +114 -0
- package/src/ui/a/People/styles.scss +1 -1
- package/src/ui/f/fields/SelectInput/common/Multiple/Multiple.jsx +16 -14
- package/src/ui/f/fields/SelectInput/common/Single/Single.jsx +9 -7
- package/src/ui/f/fields/TextInput/TextInput.jsx +9 -8
- package/src/ui/f/fields/TextareaInput/TextareaInput.jsx +9 -9
- package/src/ui/g/DragAndDrop/DragAndDrop.jsx +118 -0
- package/src/ui/g/DragAndDrop/common/DraggableItem/DraggableItem.jsx +98 -0
- package/src/ui/g/DragAndDrop/common/DraggableItem/index.js +2 -0
- package/src/ui/g/DragAndDrop/common/DraggableItem/styles.scss +12 -0
- package/src/ui/g/DragAndDrop/common/index.js +1 -0
- package/src/ui/g/DragAndDrop/index.js +2 -0
- package/src/ui/g/DragAndDrop/styles.scss +8 -0
- package/src/ui/g/index.js +1 -0
- package/tests/__snapshots__/Storyshots.test.js.snap +695 -0
|
@@ -31249,6 +31249,701 @@ exports[`Storyshots f/fields/TextareaInput Vertical Resize 1`] = `
|
|
|
31249
31249
|
</form>
|
|
31250
31250
|
`;
|
|
31251
31251
|
|
|
31252
|
+
exports[`Storyshots g/DragAndDrop Base 1`] = `
|
|
31253
|
+
<ul
|
|
31254
|
+
className="base drag-and-drop"
|
|
31255
|
+
>
|
|
31256
|
+
<li
|
|
31257
|
+
className="base draggable-item"
|
|
31258
|
+
draggable={true}
|
|
31259
|
+
onDragEnd={[Function]}
|
|
31260
|
+
onDragOver={[Function]}
|
|
31261
|
+
onDragStart={[Function]}
|
|
31262
|
+
onDrop={[Function]}
|
|
31263
|
+
>
|
|
31264
|
+
<div
|
|
31265
|
+
style={
|
|
31266
|
+
{
|
|
31267
|
+
"backgroundColor": "white",
|
|
31268
|
+
"border": "1px solid black",
|
|
31269
|
+
"padding": "1rem",
|
|
31270
|
+
}
|
|
31271
|
+
}
|
|
31272
|
+
>
|
|
31273
|
+
Item
|
|
31274
|
+
1
|
|
31275
|
+
</div>
|
|
31276
|
+
</li>
|
|
31277
|
+
<li
|
|
31278
|
+
className="base draggable-item"
|
|
31279
|
+
draggable={true}
|
|
31280
|
+
onDragEnd={[Function]}
|
|
31281
|
+
onDragOver={[Function]}
|
|
31282
|
+
onDragStart={[Function]}
|
|
31283
|
+
onDrop={[Function]}
|
|
31284
|
+
>
|
|
31285
|
+
<div
|
|
31286
|
+
style={
|
|
31287
|
+
{
|
|
31288
|
+
"backgroundColor": "white",
|
|
31289
|
+
"border": "1px solid black",
|
|
31290
|
+
"padding": "1rem",
|
|
31291
|
+
}
|
|
31292
|
+
}
|
|
31293
|
+
>
|
|
31294
|
+
Item
|
|
31295
|
+
2
|
|
31296
|
+
</div>
|
|
31297
|
+
</li>
|
|
31298
|
+
<li
|
|
31299
|
+
className="base draggable-item"
|
|
31300
|
+
draggable={true}
|
|
31301
|
+
onDragEnd={[Function]}
|
|
31302
|
+
onDragOver={[Function]}
|
|
31303
|
+
onDragStart={[Function]}
|
|
31304
|
+
onDrop={[Function]}
|
|
31305
|
+
>
|
|
31306
|
+
<div
|
|
31307
|
+
style={
|
|
31308
|
+
{
|
|
31309
|
+
"backgroundColor": "white",
|
|
31310
|
+
"border": "1px solid black",
|
|
31311
|
+
"padding": "1rem",
|
|
31312
|
+
}
|
|
31313
|
+
}
|
|
31314
|
+
>
|
|
31315
|
+
Item
|
|
31316
|
+
3
|
|
31317
|
+
</div>
|
|
31318
|
+
</li>
|
|
31319
|
+
<li
|
|
31320
|
+
className="base draggable-item"
|
|
31321
|
+
draggable={true}
|
|
31322
|
+
onDragEnd={[Function]}
|
|
31323
|
+
onDragOver={[Function]}
|
|
31324
|
+
onDragStart={[Function]}
|
|
31325
|
+
onDrop={[Function]}
|
|
31326
|
+
>
|
|
31327
|
+
<div
|
|
31328
|
+
style={
|
|
31329
|
+
{
|
|
31330
|
+
"backgroundColor": "white",
|
|
31331
|
+
"border": "1px solid black",
|
|
31332
|
+
"padding": "1rem",
|
|
31333
|
+
}
|
|
31334
|
+
}
|
|
31335
|
+
>
|
|
31336
|
+
Item
|
|
31337
|
+
4
|
|
31338
|
+
</div>
|
|
31339
|
+
</li>
|
|
31340
|
+
<li
|
|
31341
|
+
className="base draggable-item"
|
|
31342
|
+
draggable={true}
|
|
31343
|
+
onDragEnd={[Function]}
|
|
31344
|
+
onDragOver={[Function]}
|
|
31345
|
+
onDragStart={[Function]}
|
|
31346
|
+
onDrop={[Function]}
|
|
31347
|
+
>
|
|
31348
|
+
<div
|
|
31349
|
+
style={
|
|
31350
|
+
{
|
|
31351
|
+
"backgroundColor": "white",
|
|
31352
|
+
"border": "1px solid black",
|
|
31353
|
+
"padding": "1rem",
|
|
31354
|
+
}
|
|
31355
|
+
}
|
|
31356
|
+
>
|
|
31357
|
+
Item
|
|
31358
|
+
5
|
|
31359
|
+
</div>
|
|
31360
|
+
</li>
|
|
31361
|
+
<li
|
|
31362
|
+
className="base draggable-item"
|
|
31363
|
+
draggable={true}
|
|
31364
|
+
onDragEnd={[Function]}
|
|
31365
|
+
onDragOver={[Function]}
|
|
31366
|
+
onDragStart={[Function]}
|
|
31367
|
+
onDrop={[Function]}
|
|
31368
|
+
>
|
|
31369
|
+
<div
|
|
31370
|
+
style={
|
|
31371
|
+
{
|
|
31372
|
+
"backgroundColor": "white",
|
|
31373
|
+
"border": "1px solid black",
|
|
31374
|
+
"padding": "1rem",
|
|
31375
|
+
}
|
|
31376
|
+
}
|
|
31377
|
+
>
|
|
31378
|
+
Item
|
|
31379
|
+
6
|
|
31380
|
+
</div>
|
|
31381
|
+
</li>
|
|
31382
|
+
<li
|
|
31383
|
+
className="base draggable-item"
|
|
31384
|
+
draggable={true}
|
|
31385
|
+
onDragEnd={[Function]}
|
|
31386
|
+
onDragOver={[Function]}
|
|
31387
|
+
onDragStart={[Function]}
|
|
31388
|
+
onDrop={[Function]}
|
|
31389
|
+
>
|
|
31390
|
+
<div
|
|
31391
|
+
style={
|
|
31392
|
+
{
|
|
31393
|
+
"backgroundColor": "white",
|
|
31394
|
+
"border": "1px solid black",
|
|
31395
|
+
"padding": "1rem",
|
|
31396
|
+
}
|
|
31397
|
+
}
|
|
31398
|
+
>
|
|
31399
|
+
Item
|
|
31400
|
+
7
|
|
31401
|
+
</div>
|
|
31402
|
+
</li>
|
|
31403
|
+
<li
|
|
31404
|
+
className="base draggable-item"
|
|
31405
|
+
draggable={true}
|
|
31406
|
+
onDragEnd={[Function]}
|
|
31407
|
+
onDragOver={[Function]}
|
|
31408
|
+
onDragStart={[Function]}
|
|
31409
|
+
onDrop={[Function]}
|
|
31410
|
+
>
|
|
31411
|
+
<div
|
|
31412
|
+
style={
|
|
31413
|
+
{
|
|
31414
|
+
"backgroundColor": "white",
|
|
31415
|
+
"border": "1px solid black",
|
|
31416
|
+
"padding": "1rem",
|
|
31417
|
+
}
|
|
31418
|
+
}
|
|
31419
|
+
>
|
|
31420
|
+
Item
|
|
31421
|
+
8
|
|
31422
|
+
</div>
|
|
31423
|
+
</li>
|
|
31424
|
+
</ul>
|
|
31425
|
+
`;
|
|
31426
|
+
|
|
31427
|
+
exports[`Storyshots g/DragAndDrop With Formik Inputs 1`] = `
|
|
31428
|
+
<form
|
|
31429
|
+
action="#"
|
|
31430
|
+
onReset={[Function]}
|
|
31431
|
+
onSubmit={[Function]}
|
|
31432
|
+
>
|
|
31433
|
+
<ul
|
|
31434
|
+
className="base drag-and-drop"
|
|
31435
|
+
>
|
|
31436
|
+
<li
|
|
31437
|
+
className="base draggable-item"
|
|
31438
|
+
draggable={true}
|
|
31439
|
+
onDragEnd={[Function]}
|
|
31440
|
+
onDragOver={[Function]}
|
|
31441
|
+
onDragStart={[Function]}
|
|
31442
|
+
onDrop={[Function]}
|
|
31443
|
+
>
|
|
31444
|
+
<div
|
|
31445
|
+
style={
|
|
31446
|
+
{
|
|
31447
|
+
"alignItems": "center",
|
|
31448
|
+
"display": "flex",
|
|
31449
|
+
"gap": "var(--gap)",
|
|
31450
|
+
"width": "100%",
|
|
31451
|
+
}
|
|
31452
|
+
}
|
|
31453
|
+
>
|
|
31454
|
+
<span
|
|
31455
|
+
className="ai-icon"
|
|
31456
|
+
>
|
|
31457
|
+
H
|
|
31458
|
+
</span>
|
|
31459
|
+
<div
|
|
31460
|
+
style={
|
|
31461
|
+
{
|
|
31462
|
+
"alignItems": "center",
|
|
31463
|
+
"borderBottom": "1px solid var(--ui-lines)",
|
|
31464
|
+
"display": "flex",
|
|
31465
|
+
"gap": "var(--gap)",
|
|
31466
|
+
"padding": "calc(var(--theme-default-padding) / 2)",
|
|
31467
|
+
"width": "100%",
|
|
31468
|
+
}
|
|
31469
|
+
}
|
|
31470
|
+
>
|
|
31471
|
+
<p
|
|
31472
|
+
style={
|
|
31473
|
+
{
|
|
31474
|
+
"margin": "0",
|
|
31475
|
+
}
|
|
31476
|
+
}
|
|
31477
|
+
>
|
|
31478
|
+
Input
|
|
31479
|
+
1
|
|
31480
|
+
</p>
|
|
31481
|
+
<div
|
|
31482
|
+
className="base text-input y-paragraph "
|
|
31483
|
+
style={{}}
|
|
31484
|
+
>
|
|
31485
|
+
<input
|
|
31486
|
+
className="input"
|
|
31487
|
+
disabled={false}
|
|
31488
|
+
id="input-1"
|
|
31489
|
+
name="input-1"
|
|
31490
|
+
onBlur={[Function]}
|
|
31491
|
+
onChange={[Function]}
|
|
31492
|
+
type="text"
|
|
31493
|
+
/>
|
|
31494
|
+
</div>
|
|
31495
|
+
</div>
|
|
31496
|
+
</div>
|
|
31497
|
+
</li>
|
|
31498
|
+
<li
|
|
31499
|
+
className="base draggable-item"
|
|
31500
|
+
draggable={true}
|
|
31501
|
+
onDragEnd={[Function]}
|
|
31502
|
+
onDragOver={[Function]}
|
|
31503
|
+
onDragStart={[Function]}
|
|
31504
|
+
onDrop={[Function]}
|
|
31505
|
+
>
|
|
31506
|
+
<div
|
|
31507
|
+
style={
|
|
31508
|
+
{
|
|
31509
|
+
"alignItems": "center",
|
|
31510
|
+
"display": "flex",
|
|
31511
|
+
"gap": "var(--gap)",
|
|
31512
|
+
"width": "100%",
|
|
31513
|
+
}
|
|
31514
|
+
}
|
|
31515
|
+
>
|
|
31516
|
+
<span
|
|
31517
|
+
className="ai-icon"
|
|
31518
|
+
>
|
|
31519
|
+
H
|
|
31520
|
+
</span>
|
|
31521
|
+
<div
|
|
31522
|
+
style={
|
|
31523
|
+
{
|
|
31524
|
+
"alignItems": "center",
|
|
31525
|
+
"borderBottom": "1px solid var(--ui-lines)",
|
|
31526
|
+
"display": "flex",
|
|
31527
|
+
"gap": "var(--gap)",
|
|
31528
|
+
"padding": "calc(var(--theme-default-padding) / 2)",
|
|
31529
|
+
"width": "100%",
|
|
31530
|
+
}
|
|
31531
|
+
}
|
|
31532
|
+
>
|
|
31533
|
+
<p
|
|
31534
|
+
style={
|
|
31535
|
+
{
|
|
31536
|
+
"margin": "0",
|
|
31537
|
+
}
|
|
31538
|
+
}
|
|
31539
|
+
>
|
|
31540
|
+
Input
|
|
31541
|
+
2
|
|
31542
|
+
</p>
|
|
31543
|
+
<div
|
|
31544
|
+
className="base text-input y-paragraph "
|
|
31545
|
+
style={{}}
|
|
31546
|
+
>
|
|
31547
|
+
<input
|
|
31548
|
+
className="input"
|
|
31549
|
+
disabled={false}
|
|
31550
|
+
id="input-2"
|
|
31551
|
+
name="input-2"
|
|
31552
|
+
onBlur={[Function]}
|
|
31553
|
+
onChange={[Function]}
|
|
31554
|
+
type="text"
|
|
31555
|
+
/>
|
|
31556
|
+
</div>
|
|
31557
|
+
</div>
|
|
31558
|
+
</div>
|
|
31559
|
+
</li>
|
|
31560
|
+
<li
|
|
31561
|
+
className="base draggable-item"
|
|
31562
|
+
draggable={true}
|
|
31563
|
+
onDragEnd={[Function]}
|
|
31564
|
+
onDragOver={[Function]}
|
|
31565
|
+
onDragStart={[Function]}
|
|
31566
|
+
onDrop={[Function]}
|
|
31567
|
+
>
|
|
31568
|
+
<div
|
|
31569
|
+
style={
|
|
31570
|
+
{
|
|
31571
|
+
"alignItems": "center",
|
|
31572
|
+
"display": "flex",
|
|
31573
|
+
"gap": "var(--gap)",
|
|
31574
|
+
"width": "100%",
|
|
31575
|
+
}
|
|
31576
|
+
}
|
|
31577
|
+
>
|
|
31578
|
+
<span
|
|
31579
|
+
className="ai-icon"
|
|
31580
|
+
>
|
|
31581
|
+
H
|
|
31582
|
+
</span>
|
|
31583
|
+
<div
|
|
31584
|
+
style={
|
|
31585
|
+
{
|
|
31586
|
+
"alignItems": "center",
|
|
31587
|
+
"borderBottom": "1px solid var(--ui-lines)",
|
|
31588
|
+
"display": "flex",
|
|
31589
|
+
"gap": "var(--gap)",
|
|
31590
|
+
"padding": "calc(var(--theme-default-padding) / 2)",
|
|
31591
|
+
"width": "100%",
|
|
31592
|
+
}
|
|
31593
|
+
}
|
|
31594
|
+
>
|
|
31595
|
+
<p
|
|
31596
|
+
style={
|
|
31597
|
+
{
|
|
31598
|
+
"margin": "0",
|
|
31599
|
+
}
|
|
31600
|
+
}
|
|
31601
|
+
>
|
|
31602
|
+
Input
|
|
31603
|
+
3
|
|
31604
|
+
</p>
|
|
31605
|
+
<div
|
|
31606
|
+
className="base text-input y-paragraph "
|
|
31607
|
+
style={{}}
|
|
31608
|
+
>
|
|
31609
|
+
<input
|
|
31610
|
+
className="input"
|
|
31611
|
+
disabled={false}
|
|
31612
|
+
id="input-3"
|
|
31613
|
+
name="input-3"
|
|
31614
|
+
onBlur={[Function]}
|
|
31615
|
+
onChange={[Function]}
|
|
31616
|
+
type="text"
|
|
31617
|
+
/>
|
|
31618
|
+
</div>
|
|
31619
|
+
</div>
|
|
31620
|
+
</div>
|
|
31621
|
+
</li>
|
|
31622
|
+
<li
|
|
31623
|
+
className="base draggable-item"
|
|
31624
|
+
draggable={true}
|
|
31625
|
+
onDragEnd={[Function]}
|
|
31626
|
+
onDragOver={[Function]}
|
|
31627
|
+
onDragStart={[Function]}
|
|
31628
|
+
onDrop={[Function]}
|
|
31629
|
+
>
|
|
31630
|
+
<div
|
|
31631
|
+
style={
|
|
31632
|
+
{
|
|
31633
|
+
"alignItems": "center",
|
|
31634
|
+
"display": "flex",
|
|
31635
|
+
"gap": "var(--gap)",
|
|
31636
|
+
"width": "100%",
|
|
31637
|
+
}
|
|
31638
|
+
}
|
|
31639
|
+
>
|
|
31640
|
+
<span
|
|
31641
|
+
className="ai-icon"
|
|
31642
|
+
>
|
|
31643
|
+
H
|
|
31644
|
+
</span>
|
|
31645
|
+
<div
|
|
31646
|
+
style={
|
|
31647
|
+
{
|
|
31648
|
+
"alignItems": "center",
|
|
31649
|
+
"borderBottom": "1px solid var(--ui-lines)",
|
|
31650
|
+
"display": "flex",
|
|
31651
|
+
"gap": "var(--gap)",
|
|
31652
|
+
"padding": "calc(var(--theme-default-padding) / 2)",
|
|
31653
|
+
"width": "100%",
|
|
31654
|
+
}
|
|
31655
|
+
}
|
|
31656
|
+
>
|
|
31657
|
+
<p
|
|
31658
|
+
style={
|
|
31659
|
+
{
|
|
31660
|
+
"margin": "0",
|
|
31661
|
+
}
|
|
31662
|
+
}
|
|
31663
|
+
>
|
|
31664
|
+
Input
|
|
31665
|
+
4
|
|
31666
|
+
</p>
|
|
31667
|
+
<div
|
|
31668
|
+
className="base text-input y-paragraph "
|
|
31669
|
+
style={{}}
|
|
31670
|
+
>
|
|
31671
|
+
<input
|
|
31672
|
+
className="input"
|
|
31673
|
+
disabled={false}
|
|
31674
|
+
id="input-4"
|
|
31675
|
+
name="input-4"
|
|
31676
|
+
onBlur={[Function]}
|
|
31677
|
+
onChange={[Function]}
|
|
31678
|
+
type="text"
|
|
31679
|
+
/>
|
|
31680
|
+
</div>
|
|
31681
|
+
</div>
|
|
31682
|
+
</div>
|
|
31683
|
+
</li>
|
|
31684
|
+
<li
|
|
31685
|
+
className="base draggable-item"
|
|
31686
|
+
draggable={true}
|
|
31687
|
+
onDragEnd={[Function]}
|
|
31688
|
+
onDragOver={[Function]}
|
|
31689
|
+
onDragStart={[Function]}
|
|
31690
|
+
onDrop={[Function]}
|
|
31691
|
+
>
|
|
31692
|
+
<div
|
|
31693
|
+
style={
|
|
31694
|
+
{
|
|
31695
|
+
"alignItems": "center",
|
|
31696
|
+
"display": "flex",
|
|
31697
|
+
"gap": "var(--gap)",
|
|
31698
|
+
"width": "100%",
|
|
31699
|
+
}
|
|
31700
|
+
}
|
|
31701
|
+
>
|
|
31702
|
+
<span
|
|
31703
|
+
className="ai-icon"
|
|
31704
|
+
>
|
|
31705
|
+
H
|
|
31706
|
+
</span>
|
|
31707
|
+
<div
|
|
31708
|
+
style={
|
|
31709
|
+
{
|
|
31710
|
+
"alignItems": "center",
|
|
31711
|
+
"borderBottom": "1px solid var(--ui-lines)",
|
|
31712
|
+
"display": "flex",
|
|
31713
|
+
"gap": "var(--gap)",
|
|
31714
|
+
"padding": "calc(var(--theme-default-padding) / 2)",
|
|
31715
|
+
"width": "100%",
|
|
31716
|
+
}
|
|
31717
|
+
}
|
|
31718
|
+
>
|
|
31719
|
+
<p
|
|
31720
|
+
style={
|
|
31721
|
+
{
|
|
31722
|
+
"margin": "0",
|
|
31723
|
+
}
|
|
31724
|
+
}
|
|
31725
|
+
>
|
|
31726
|
+
Input
|
|
31727
|
+
5
|
|
31728
|
+
</p>
|
|
31729
|
+
<div
|
|
31730
|
+
className="base text-input y-paragraph "
|
|
31731
|
+
style={{}}
|
|
31732
|
+
>
|
|
31733
|
+
<input
|
|
31734
|
+
className="input"
|
|
31735
|
+
disabled={false}
|
|
31736
|
+
id="input-5"
|
|
31737
|
+
name="input-5"
|
|
31738
|
+
onBlur={[Function]}
|
|
31739
|
+
onChange={[Function]}
|
|
31740
|
+
type="text"
|
|
31741
|
+
/>
|
|
31742
|
+
</div>
|
|
31743
|
+
</div>
|
|
31744
|
+
</div>
|
|
31745
|
+
</li>
|
|
31746
|
+
<li
|
|
31747
|
+
className="base draggable-item"
|
|
31748
|
+
draggable={true}
|
|
31749
|
+
onDragEnd={[Function]}
|
|
31750
|
+
onDragOver={[Function]}
|
|
31751
|
+
onDragStart={[Function]}
|
|
31752
|
+
onDrop={[Function]}
|
|
31753
|
+
>
|
|
31754
|
+
<div
|
|
31755
|
+
style={
|
|
31756
|
+
{
|
|
31757
|
+
"alignItems": "center",
|
|
31758
|
+
"display": "flex",
|
|
31759
|
+
"gap": "var(--gap)",
|
|
31760
|
+
"width": "100%",
|
|
31761
|
+
}
|
|
31762
|
+
}
|
|
31763
|
+
>
|
|
31764
|
+
<span
|
|
31765
|
+
className="ai-icon"
|
|
31766
|
+
>
|
|
31767
|
+
H
|
|
31768
|
+
</span>
|
|
31769
|
+
<div
|
|
31770
|
+
style={
|
|
31771
|
+
{
|
|
31772
|
+
"alignItems": "center",
|
|
31773
|
+
"borderBottom": "1px solid var(--ui-lines)",
|
|
31774
|
+
"display": "flex",
|
|
31775
|
+
"gap": "var(--gap)",
|
|
31776
|
+
"padding": "calc(var(--theme-default-padding) / 2)",
|
|
31777
|
+
"width": "100%",
|
|
31778
|
+
}
|
|
31779
|
+
}
|
|
31780
|
+
>
|
|
31781
|
+
<p
|
|
31782
|
+
style={
|
|
31783
|
+
{
|
|
31784
|
+
"margin": "0",
|
|
31785
|
+
}
|
|
31786
|
+
}
|
|
31787
|
+
>
|
|
31788
|
+
Input
|
|
31789
|
+
6
|
|
31790
|
+
</p>
|
|
31791
|
+
<div
|
|
31792
|
+
className="base text-input y-paragraph "
|
|
31793
|
+
style={{}}
|
|
31794
|
+
>
|
|
31795
|
+
<input
|
|
31796
|
+
className="input"
|
|
31797
|
+
disabled={false}
|
|
31798
|
+
id="input-6"
|
|
31799
|
+
name="input-6"
|
|
31800
|
+
onBlur={[Function]}
|
|
31801
|
+
onChange={[Function]}
|
|
31802
|
+
type="text"
|
|
31803
|
+
/>
|
|
31804
|
+
</div>
|
|
31805
|
+
</div>
|
|
31806
|
+
</div>
|
|
31807
|
+
</li>
|
|
31808
|
+
<li
|
|
31809
|
+
className="base draggable-item"
|
|
31810
|
+
draggable={true}
|
|
31811
|
+
onDragEnd={[Function]}
|
|
31812
|
+
onDragOver={[Function]}
|
|
31813
|
+
onDragStart={[Function]}
|
|
31814
|
+
onDrop={[Function]}
|
|
31815
|
+
>
|
|
31816
|
+
<div
|
|
31817
|
+
style={
|
|
31818
|
+
{
|
|
31819
|
+
"alignItems": "center",
|
|
31820
|
+
"display": "flex",
|
|
31821
|
+
"gap": "var(--gap)",
|
|
31822
|
+
"width": "100%",
|
|
31823
|
+
}
|
|
31824
|
+
}
|
|
31825
|
+
>
|
|
31826
|
+
<span
|
|
31827
|
+
className="ai-icon"
|
|
31828
|
+
>
|
|
31829
|
+
H
|
|
31830
|
+
</span>
|
|
31831
|
+
<div
|
|
31832
|
+
style={
|
|
31833
|
+
{
|
|
31834
|
+
"alignItems": "center",
|
|
31835
|
+
"borderBottom": "1px solid var(--ui-lines)",
|
|
31836
|
+
"display": "flex",
|
|
31837
|
+
"gap": "var(--gap)",
|
|
31838
|
+
"padding": "calc(var(--theme-default-padding) / 2)",
|
|
31839
|
+
"width": "100%",
|
|
31840
|
+
}
|
|
31841
|
+
}
|
|
31842
|
+
>
|
|
31843
|
+
<p
|
|
31844
|
+
style={
|
|
31845
|
+
{
|
|
31846
|
+
"margin": "0",
|
|
31847
|
+
}
|
|
31848
|
+
}
|
|
31849
|
+
>
|
|
31850
|
+
Input
|
|
31851
|
+
7
|
|
31852
|
+
</p>
|
|
31853
|
+
<div
|
|
31854
|
+
className="base text-input y-paragraph "
|
|
31855
|
+
style={{}}
|
|
31856
|
+
>
|
|
31857
|
+
<input
|
|
31858
|
+
className="input"
|
|
31859
|
+
disabled={false}
|
|
31860
|
+
id="input-7"
|
|
31861
|
+
name="input-7"
|
|
31862
|
+
onBlur={[Function]}
|
|
31863
|
+
onChange={[Function]}
|
|
31864
|
+
type="text"
|
|
31865
|
+
/>
|
|
31866
|
+
</div>
|
|
31867
|
+
</div>
|
|
31868
|
+
</div>
|
|
31869
|
+
</li>
|
|
31870
|
+
<li
|
|
31871
|
+
className="base draggable-item"
|
|
31872
|
+
draggable={true}
|
|
31873
|
+
onDragEnd={[Function]}
|
|
31874
|
+
onDragOver={[Function]}
|
|
31875
|
+
onDragStart={[Function]}
|
|
31876
|
+
onDrop={[Function]}
|
|
31877
|
+
>
|
|
31878
|
+
<div
|
|
31879
|
+
style={
|
|
31880
|
+
{
|
|
31881
|
+
"alignItems": "center",
|
|
31882
|
+
"display": "flex",
|
|
31883
|
+
"gap": "var(--gap)",
|
|
31884
|
+
"width": "100%",
|
|
31885
|
+
}
|
|
31886
|
+
}
|
|
31887
|
+
>
|
|
31888
|
+
<span
|
|
31889
|
+
className="ai-icon"
|
|
31890
|
+
>
|
|
31891
|
+
H
|
|
31892
|
+
</span>
|
|
31893
|
+
<div
|
|
31894
|
+
style={
|
|
31895
|
+
{
|
|
31896
|
+
"alignItems": "center",
|
|
31897
|
+
"borderBottom": "1px solid var(--ui-lines)",
|
|
31898
|
+
"display": "flex",
|
|
31899
|
+
"gap": "var(--gap)",
|
|
31900
|
+
"padding": "calc(var(--theme-default-padding) / 2)",
|
|
31901
|
+
"width": "100%",
|
|
31902
|
+
}
|
|
31903
|
+
}
|
|
31904
|
+
>
|
|
31905
|
+
<p
|
|
31906
|
+
style={
|
|
31907
|
+
{
|
|
31908
|
+
"margin": "0",
|
|
31909
|
+
}
|
|
31910
|
+
}
|
|
31911
|
+
>
|
|
31912
|
+
Input
|
|
31913
|
+
8
|
|
31914
|
+
</p>
|
|
31915
|
+
<div
|
|
31916
|
+
className="base text-input y-paragraph "
|
|
31917
|
+
style={{}}
|
|
31918
|
+
>
|
|
31919
|
+
<input
|
|
31920
|
+
className="input"
|
|
31921
|
+
disabled={false}
|
|
31922
|
+
id="input-8"
|
|
31923
|
+
name="input-8"
|
|
31924
|
+
onBlur={[Function]}
|
|
31925
|
+
onChange={[Function]}
|
|
31926
|
+
type="text"
|
|
31927
|
+
/>
|
|
31928
|
+
</div>
|
|
31929
|
+
</div>
|
|
31930
|
+
</div>
|
|
31931
|
+
</li>
|
|
31932
|
+
</ul>
|
|
31933
|
+
<div
|
|
31934
|
+
className="debugger"
|
|
31935
|
+
>
|
|
31936
|
+
<button
|
|
31937
|
+
className="base button x-main2"
|
|
31938
|
+
onClick={[Function]}
|
|
31939
|
+
type="button"
|
|
31940
|
+
>
|
|
31941
|
+
Open FormDebugger
|
|
31942
|
+
</button>
|
|
31943
|
+
</div>
|
|
31944
|
+
</form>
|
|
31945
|
+
`;
|
|
31946
|
+
|
|
31252
31947
|
exports[`Storyshots g/ExpandableLexicalPreview Base 1`] = `
|
|
31253
31948
|
<div
|
|
31254
31949
|
className="base expandable-lexical-preview y-paragraph"
|