@pareto-engineering/design-system 4.0.0-alpha.79 → 4.0.0-alpha.82
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/Label/styles.scss +1 -1
- package/dist/cjs/a/People/styles.scss +1 -1
- package/dist/cjs/a/Tooltip/Tooltip.js +21 -5
- package/dist/cjs/a/Tooltip/styles.scss +44 -39
- package/dist/cjs/f/fields/EditorInput/common/ColorPicker/ColorPicker.js +8 -4
- package/dist/cjs/f/fields/EditorInput/common/ToolbarPlugin/ToolbarPlugin.js +0 -6
- 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 +99 -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/{ExpandableLexicalPreview/common/ExpandButton → DragAndDrop}/index.js +3 -3
- package/dist/cjs/g/DragAndDrop/styles.scss +6 -0
- package/dist/cjs/g/ExpandableLexicalPreview/ExpandableLexicalPreview.js +44 -17
- package/dist/cjs/g/ExpandableLexicalPreview/common/NewWindowPortal/NewWindowPortal.js +79 -0
- package/dist/cjs/g/ExpandableLexicalPreview/common/NewWindowPortal/index.js +13 -0
- package/dist/cjs/g/ExpandableLexicalPreview/common/NewWindowPortal/styles.scss +9 -0
- package/dist/cjs/g/ExpandableLexicalPreview/common/index.js +3 -3
- package/dist/cjs/g/index.js +8 -1
- package/dist/es/a/Label/styles.scss +1 -1
- package/dist/es/a/People/styles.scss +1 -1
- package/dist/es/a/Tooltip/Tooltip.js +21 -5
- package/dist/es/a/Tooltip/styles.scss +44 -39
- package/dist/es/f/fields/EditorInput/common/ColorPicker/ColorPicker.js +8 -4
- package/dist/es/f/fields/EditorInput/common/ToolbarPlugin/ToolbarPlugin.js +0 -6
- 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 +90 -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 +6 -0
- package/dist/es/g/ExpandableLexicalPreview/ExpandableLexicalPreview.js +45 -18
- package/dist/es/g/ExpandableLexicalPreview/common/NewWindowPortal/NewWindowPortal.js +70 -0
- package/dist/es/g/ExpandableLexicalPreview/common/NewWindowPortal/index.js +2 -0
- package/dist/es/g/ExpandableLexicalPreview/common/NewWindowPortal/styles.scss +9 -0
- package/dist/es/g/ExpandableLexicalPreview/common/index.js +1 -1
- package/dist/es/g/index.js +2 -1
- package/package.json +4 -4
- package/src/stories/a/Tooltip.stories.jsx +7 -12
- package/src/stories/g/DragAndDrop.stories.jsx +114 -0
- package/src/stories/g/ExpandableLexicalPreview.stories.jsx +12 -5
- package/src/ui/a/Label/styles.scss +1 -1
- package/src/ui/a/People/styles.scss +1 -1
- package/src/ui/a/Tooltip/Tooltip.jsx +27 -4
- package/src/ui/a/Tooltip/styles.scss +44 -39
- package/src/ui/f/fields/EditorInput/common/ColorPicker/ColorPicker.jsx +8 -3
- package/src/ui/f/fields/EditorInput/common/ToolbarPlugin/ToolbarPlugin.jsx +0 -14
- 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 +121 -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 +6 -0
- package/src/ui/g/ExpandableLexicalPreview/ExpandableLexicalPreview.jsx +61 -25
- package/src/ui/g/ExpandableLexicalPreview/common/NewWindowPortal/NewWindowPortal.jsx +80 -0
- package/src/ui/g/ExpandableLexicalPreview/common/NewWindowPortal/index.js +2 -0
- package/src/ui/g/ExpandableLexicalPreview/common/NewWindowPortal/styles.scss +9 -0
- package/src/ui/g/ExpandableLexicalPreview/common/index.js +1 -1
- package/src/ui/g/index.js +1 -0
- package/tests/__snapshots__/Storyshots.test.js.snap +753 -49
- package/dist/cjs/g/ExpandableLexicalPreview/common/ExpandButton/ExpandButton.js +0 -111
- package/dist/es/g/ExpandableLexicalPreview/common/ExpandButton/ExpandButton.js +0 -99
- package/dist/es/g/ExpandableLexicalPreview/common/ExpandButton/index.js +0 -1
- package/src/ui/g/ExpandableLexicalPreview/common/ExpandButton/ExpandButton.jsx +0 -119
- package/src/ui/g/ExpandableLexicalPreview/common/ExpandButton/index.js +0 -1
|
@@ -11640,16 +11640,21 @@ exports[`Storyshots a/Tooltip Base 1`] = `
|
|
|
11640
11640
|
}
|
|
11641
11641
|
>
|
|
11642
11642
|
<div
|
|
11643
|
-
|
|
11643
|
+
className="base tooltip x-background-cards"
|
|
11644
11644
|
>
|
|
11645
|
-
<
|
|
11646
|
-
|
|
11647
|
-
|
|
11645
|
+
<div
|
|
11646
|
+
aria-describedby="test-tooltip"
|
|
11647
|
+
className="tooltip-trigger-wrapper"
|
|
11648
11648
|
>
|
|
11649
|
-
|
|
11650
|
-
|
|
11649
|
+
<button
|
|
11650
|
+
className="base button x-main"
|
|
11651
|
+
type="button"
|
|
11652
|
+
>
|
|
11653
|
+
Hover on me!
|
|
11654
|
+
</button>
|
|
11655
|
+
</div>
|
|
11651
11656
|
<div
|
|
11652
|
-
className="
|
|
11657
|
+
className="tooltip-content bottom"
|
|
11653
11658
|
id="test-tooltip"
|
|
11654
11659
|
role="tooltip"
|
|
11655
11660
|
>
|
|
@@ -11668,9 +11673,6 @@ exports[`Storyshots a/Tooltip Base 1`] = `
|
|
|
11668
11673
|
</div>
|
|
11669
11674
|
</div>
|
|
11670
11675
|
</div>
|
|
11671
|
-
<p>
|
|
11672
|
-
With some more content around
|
|
11673
|
-
</p>
|
|
11674
11676
|
</div>
|
|
11675
11677
|
`;
|
|
11676
11678
|
|
|
@@ -11688,16 +11690,21 @@ exports[`Storyshots a/Tooltip Left 1`] = `
|
|
|
11688
11690
|
}
|
|
11689
11691
|
>
|
|
11690
11692
|
<div
|
|
11691
|
-
|
|
11693
|
+
className="base tooltip x-background-cards"
|
|
11692
11694
|
>
|
|
11693
|
-
<
|
|
11694
|
-
|
|
11695
|
-
|
|
11695
|
+
<div
|
|
11696
|
+
aria-describedby="test-tooltip"
|
|
11697
|
+
className="tooltip-trigger-wrapper"
|
|
11696
11698
|
>
|
|
11697
|
-
|
|
11698
|
-
|
|
11699
|
+
<button
|
|
11700
|
+
className="base button x-main"
|
|
11701
|
+
type="button"
|
|
11702
|
+
>
|
|
11703
|
+
Hover on me!
|
|
11704
|
+
</button>
|
|
11705
|
+
</div>
|
|
11699
11706
|
<div
|
|
11700
|
-
className="
|
|
11707
|
+
className="tooltip-content left"
|
|
11701
11708
|
id="test-tooltip"
|
|
11702
11709
|
role="tooltip"
|
|
11703
11710
|
>
|
|
@@ -11716,9 +11723,6 @@ exports[`Storyshots a/Tooltip Left 1`] = `
|
|
|
11716
11723
|
</div>
|
|
11717
11724
|
</div>
|
|
11718
11725
|
</div>
|
|
11719
|
-
<p>
|
|
11720
|
-
With some more content around
|
|
11721
|
-
</p>
|
|
11722
11726
|
</div>
|
|
11723
11727
|
`;
|
|
11724
11728
|
|
|
@@ -11736,16 +11740,21 @@ exports[`Storyshots a/Tooltip Right 1`] = `
|
|
|
11736
11740
|
}
|
|
11737
11741
|
>
|
|
11738
11742
|
<div
|
|
11739
|
-
|
|
11743
|
+
className="base tooltip x-background-cards"
|
|
11740
11744
|
>
|
|
11741
|
-
<
|
|
11742
|
-
|
|
11743
|
-
|
|
11745
|
+
<div
|
|
11746
|
+
aria-describedby="test-tooltip"
|
|
11747
|
+
className="tooltip-trigger-wrapper"
|
|
11744
11748
|
>
|
|
11745
|
-
|
|
11746
|
-
|
|
11749
|
+
<button
|
|
11750
|
+
className="base button x-main"
|
|
11751
|
+
type="button"
|
|
11752
|
+
>
|
|
11753
|
+
Hover on me!
|
|
11754
|
+
</button>
|
|
11755
|
+
</div>
|
|
11747
11756
|
<div
|
|
11748
|
-
className="
|
|
11757
|
+
className="tooltip-content right"
|
|
11749
11758
|
id="test-tooltip"
|
|
11750
11759
|
role="tooltip"
|
|
11751
11760
|
>
|
|
@@ -11764,9 +11773,6 @@ exports[`Storyshots a/Tooltip Right 1`] = `
|
|
|
11764
11773
|
</div>
|
|
11765
11774
|
</div>
|
|
11766
11775
|
</div>
|
|
11767
|
-
<p>
|
|
11768
|
-
With some more content around
|
|
11769
|
-
</p>
|
|
11770
11776
|
</div>
|
|
11771
11777
|
`;
|
|
11772
11778
|
|
|
@@ -11784,16 +11790,21 @@ exports[`Storyshots a/Tooltip Top 1`] = `
|
|
|
11784
11790
|
}
|
|
11785
11791
|
>
|
|
11786
11792
|
<div
|
|
11787
|
-
|
|
11793
|
+
className="base tooltip x-background-cards"
|
|
11788
11794
|
>
|
|
11789
|
-
<
|
|
11790
|
-
|
|
11791
|
-
|
|
11795
|
+
<div
|
|
11796
|
+
aria-describedby="test-tooltip"
|
|
11797
|
+
className="tooltip-trigger-wrapper"
|
|
11792
11798
|
>
|
|
11793
|
-
|
|
11794
|
-
|
|
11799
|
+
<button
|
|
11800
|
+
className="base button x-main"
|
|
11801
|
+
type="button"
|
|
11802
|
+
>
|
|
11803
|
+
Hover on me!
|
|
11804
|
+
</button>
|
|
11805
|
+
</div>
|
|
11795
11806
|
<div
|
|
11796
|
-
className="
|
|
11807
|
+
className="tooltip-content top"
|
|
11797
11808
|
id="test-tooltip"
|
|
11798
11809
|
role="tooltip"
|
|
11799
11810
|
>
|
|
@@ -11812,9 +11823,6 @@ exports[`Storyshots a/Tooltip Top 1`] = `
|
|
|
11812
11823
|
</div>
|
|
11813
11824
|
</div>
|
|
11814
11825
|
</div>
|
|
11815
|
-
<p>
|
|
11816
|
-
With some more content around
|
|
11817
|
-
</p>
|
|
11818
11826
|
</div>
|
|
11819
11827
|
`;
|
|
11820
11828
|
|
|
@@ -26695,9 +26703,9 @@ exports[`Storyshots f/fields/EditorInput Base 1`] = `
|
|
|
26695
26703
|
className="rcp-saturation-cursor"
|
|
26696
26704
|
style={
|
|
26697
26705
|
{
|
|
26698
|
-
"backgroundColor": "rgb(
|
|
26706
|
+
"backgroundColor": "rgb(255 255 255)",
|
|
26699
26707
|
"left": 0,
|
|
26700
|
-
"top":
|
|
26708
|
+
"top": 0,
|
|
26701
26709
|
}
|
|
26702
26710
|
}
|
|
26703
26711
|
/>
|
|
@@ -26735,7 +26743,7 @@ exports[`Storyshots f/fields/EditorInput Base 1`] = `
|
|
|
26735
26743
|
className="rcp-alpha"
|
|
26736
26744
|
style={
|
|
26737
26745
|
{
|
|
26738
|
-
"background": "linear-gradient(to right, rgb(
|
|
26746
|
+
"background": "linear-gradient(to right, rgb(255 255 255 / 0), rgb(255 255 255 / 1)) top left / auto auto,
|
|
26739
26747
|
conic-gradient(#666 0.25turn, #999 0.25turn 0.5turn, #666 0.5turn 0.75turn, #999 0.75turn) top left / 12px 12px
|
|
26740
26748
|
repeat",
|
|
26741
26749
|
}
|
|
@@ -26745,7 +26753,7 @@ exports[`Storyshots f/fields/EditorInput Base 1`] = `
|
|
|
26745
26753
|
className="rcp-alpha-cursor"
|
|
26746
26754
|
style={
|
|
26747
26755
|
{
|
|
26748
|
-
"background": "linear-gradient(to right, rgb(
|
|
26756
|
+
"background": "linear-gradient(to right, rgb(255 255 255 / 1), rgb(255 255 255 / 1)) top left / auto auto,
|
|
26749
26757
|
conic-gradient(#666 0.25turn, #999 0.25turn 0.5turn, #666 0.5turn 0.75turn, #999 0.75turn) -5px 2px / 12px 12px
|
|
26750
26758
|
repeat",
|
|
26751
26759
|
"left": 1,
|
|
@@ -27173,9 +27181,9 @@ exports[`Storyshots f/fields/EditorInput Optional 1`] = `
|
|
|
27173
27181
|
className="rcp-saturation-cursor"
|
|
27174
27182
|
style={
|
|
27175
27183
|
{
|
|
27176
|
-
"backgroundColor": "rgb(
|
|
27184
|
+
"backgroundColor": "rgb(255 255 255)",
|
|
27177
27185
|
"left": 0,
|
|
27178
|
-
"top":
|
|
27186
|
+
"top": 0,
|
|
27179
27187
|
}
|
|
27180
27188
|
}
|
|
27181
27189
|
/>
|
|
@@ -27213,7 +27221,7 @@ exports[`Storyshots f/fields/EditorInput Optional 1`] = `
|
|
|
27213
27221
|
className="rcp-alpha"
|
|
27214
27222
|
style={
|
|
27215
27223
|
{
|
|
27216
|
-
"background": "linear-gradient(to right, rgb(
|
|
27224
|
+
"background": "linear-gradient(to right, rgb(255 255 255 / 0), rgb(255 255 255 / 1)) top left / auto auto,
|
|
27217
27225
|
conic-gradient(#666 0.25turn, #999 0.25turn 0.5turn, #666 0.5turn 0.75turn, #999 0.75turn) top left / 12px 12px
|
|
27218
27226
|
repeat",
|
|
27219
27227
|
}
|
|
@@ -27223,7 +27231,7 @@ exports[`Storyshots f/fields/EditorInput Optional 1`] = `
|
|
|
27223
27231
|
className="rcp-alpha-cursor"
|
|
27224
27232
|
style={
|
|
27225
27233
|
{
|
|
27226
|
-
"background": "linear-gradient(to right, rgb(
|
|
27234
|
+
"background": "linear-gradient(to right, rgb(255 255 255 / 1), rgb(255 255 255 / 1)) top left / auto auto,
|
|
27227
27235
|
conic-gradient(#666 0.25turn, #999 0.25turn 0.5turn, #666 0.5turn 0.75turn, #999 0.75turn) -5px 2px / 12px 12px
|
|
27228
27236
|
repeat",
|
|
27229
27237
|
"left": 1,
|
|
@@ -31241,6 +31249,701 @@ exports[`Storyshots f/fields/TextareaInput Vertical Resize 1`] = `
|
|
|
31241
31249
|
</form>
|
|
31242
31250
|
`;
|
|
31243
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
|
+
|
|
31244
31947
|
exports[`Storyshots g/ExpandableLexicalPreview Base 1`] = `
|
|
31245
31948
|
<div
|
|
31246
31949
|
className="base expandable-lexical-preview y-paragraph"
|
|
@@ -31252,6 +31955,7 @@ exports[`Storyshots g/ExpandableLexicalPreview Base 1`] = `
|
|
|
31252
31955
|
</p>
|
|
31253
31956
|
<div
|
|
31254
31957
|
className="base editor-input y-paragraph disabled"
|
|
31958
|
+
id="the-bad-ass-input"
|
|
31255
31959
|
style={
|
|
31256
31960
|
{
|
|
31257
31961
|
"--resize": "vertical",
|
|
@@ -31274,7 +31978,7 @@ exports[`Storyshots g/ExpandableLexicalPreview Base 1`] = `
|
|
|
31274
31978
|
/>
|
|
31275
31979
|
</div>
|
|
31276
31980
|
<button
|
|
31277
|
-
className="base button
|
|
31981
|
+
className="base button expand-button ai-icon x-background-far modifierCompact"
|
|
31278
31982
|
onClick={[Function]}
|
|
31279
31983
|
type="button"
|
|
31280
31984
|
>
|