@pareto-engineering/design-system 4.0.0-alpha.77 → 4.0.0-alpha.79

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 (210) hide show
  1. package/dist/cjs/a/AnimatedBlobs/AnimatedBlobs.js +1 -1
  2. package/dist/cjs/a/AnimatedGradient/AnimatedGradient.js +1 -1
  3. package/dist/cjs/a/AppContext/Context.js +1 -1
  4. package/dist/cjs/a/AppContext/ContextProvider.js +1 -1
  5. package/dist/cjs/a/BlurOverlay/BlurOverlay.js +1 -1
  6. package/dist/cjs/a/ContentTree/ContentTree.js +1 -1
  7. package/dist/cjs/a/ContentTree/common/Tree/Tree.js +1 -1
  8. package/dist/cjs/a/Conversation/Context.js +1 -1
  9. package/dist/cjs/a/Conversation/Conversation.js +1 -1
  10. package/dist/cjs/a/Conversation/common/Message/Message.js +1 -1
  11. package/dist/cjs/a/DatePicker/DatePicker.js +1 -1
  12. package/dist/cjs/a/DotInfo/DotInfo.js +1 -1
  13. package/dist/cjs/a/Figure/Figure.js +1 -1
  14. package/dist/cjs/a/HamburgerButton/HamburgerButton.js +1 -1
  15. package/dist/cjs/a/IconList/IconList.js +1 -1
  16. package/dist/cjs/a/IconList/common/Item/Item.js +1 -1
  17. package/dist/cjs/a/Label/Label.js +1 -1
  18. package/dist/cjs/a/LoadingCircle/LoadingCircle.js +1 -1
  19. package/dist/cjs/a/MetaCard/MetaCard.js +1 -1
  20. package/dist/cjs/a/People/People.js +1 -1
  21. package/dist/cjs/a/People/common/Person/Person.js +1 -1
  22. package/dist/cjs/a/People/styles.scss +1 -1
  23. package/dist/cjs/a/Popover/Popover.js +1 -1
  24. package/dist/cjs/a/ProgressBar/ProgressBar.js +1 -1
  25. package/dist/cjs/a/Quote/Quote.js +16 -6
  26. package/dist/cjs/a/Quote/styles.scss +16 -37
  27. package/dist/cjs/a/Removable/Removable.js +1 -1
  28. package/dist/cjs/a/SVG/SVG.js +1 -1
  29. package/dist/cjs/a/SVG/common/UseSVG/UseSVG.js +1 -1
  30. package/dist/cjs/a/SnapScroller/SnapScroller.js +1 -1
  31. package/dist/cjs/a/Spinner/Spinner.js +1 -1
  32. package/dist/cjs/a/TextSteps/TextSteps.js +1 -1
  33. package/dist/cjs/a/Timestamp/Timestamp.js +1 -1
  34. package/dist/cjs/a/Tip/Tip.js +1 -1
  35. package/dist/cjs/a/ToggleSwitch/ToggleSwitch.js +1 -1
  36. package/dist/cjs/a/Tooltip/Tooltip.js +71 -0
  37. package/dist/cjs/a/{LexicalPreview → Tooltip}/index.js +3 -3
  38. package/dist/cjs/a/Tooltip/styles.scss +56 -0
  39. package/dist/cjs/a/XMLEditor/XMLEditor.js +1 -1
  40. package/dist/cjs/a/index.js +8 -8
  41. package/dist/cjs/b/Button/Button.js +1 -1
  42. package/dist/cjs/b/Button/common/Group/Group.js +1 -1
  43. package/dist/cjs/b/Card/Card.js +1 -1
  44. package/dist/cjs/b/Card/common/Group/Group.js +1 -1
  45. package/dist/cjs/b/Card/common/Section/Section.js +1 -1
  46. package/dist/cjs/b/Logo/Logo.js +1 -1
  47. package/dist/cjs/b/Page/Context.js +1 -1
  48. package/dist/cjs/b/Page/Page.js +1 -1
  49. package/dist/cjs/b/Page/common/PageHelmet/PageHelmet.js +5 -2
  50. package/dist/cjs/b/Page/common/Section/Section.js +1 -1
  51. package/dist/cjs/b/SocialMediaButton/SocialMediaButton.js +1 -1
  52. package/dist/cjs/b/ThemeSelector/ThemeSelector.js +1 -1
  53. package/dist/cjs/b/Title/Title.js +1 -1
  54. package/dist/cjs/b/index.js +1 -8
  55. package/dist/cjs/c/Modal/Modal.js +1 -1
  56. package/dist/cjs/c/Modal/common/ModalHeader/ModalHeader.js +1 -1
  57. package/dist/cjs/c/Shortener/Shortener.js +1 -1
  58. package/dist/cjs/c/SocialMediaShareButton/SocialMediaShareButton.js +1 -1
  59. package/dist/cjs/f/FormInput/FormInput.js +1 -1
  60. package/dist/cjs/f/common/Debugger/Debugger.js +1 -1
  61. package/dist/cjs/f/common/Description/Description.js +1 -1
  62. package/dist/cjs/f/common/Label/Label.js +1 -1
  63. package/dist/cjs/f/fields/Checkbox/Checkbox.js +1 -1
  64. package/dist/cjs/f/fields/ChoicesInput/ChoicesInput.js +1 -1
  65. package/dist/cjs/f/fields/ChoicesInput/common/Choice/Choice.js +1 -1
  66. package/dist/cjs/f/fields/EditorInput/EditorInput.js +37 -12
  67. package/dist/cjs/f/fields/EditorInput/common/BlockFormatDropDown/BlockFormatDropDown.js +256 -0
  68. package/dist/cjs/f/fields/EditorInput/common/BlockFormatDropDown/index.js +13 -0
  69. package/dist/cjs/f/fields/EditorInput/common/BlockFormatDropDown/styles.scss +55 -0
  70. package/dist/cjs/f/fields/EditorInput/common/ColorPicker/ColorPicker.js +94 -0
  71. package/dist/cjs/f/fields/EditorInput/common/ColorPicker/index.js +13 -0
  72. package/dist/cjs/f/fields/EditorInput/common/ColorPicker/styles.scss +36 -0
  73. package/dist/cjs/f/fields/EditorInput/common/FontSizeDropDown/FontSizeDropDown.js +94 -0
  74. package/dist/cjs/f/fields/EditorInput/common/FontSizeDropDown/index.js +13 -0
  75. package/dist/cjs/f/fields/EditorInput/common/FontSizeDropDown/styles.scss +55 -0
  76. package/dist/cjs/f/fields/EditorInput/common/ToolbarPlugin/ToolbarPlugin.js +295 -0
  77. package/dist/cjs/f/fields/EditorInput/common/ToolbarPlugin/index.js +13 -0
  78. package/dist/cjs/f/fields/EditorInput/common/ToolbarPlugin/styles.scss +56 -0
  79. package/dist/cjs/f/fields/EditorInput/common/index.js +24 -3
  80. package/dist/cjs/f/fields/EditorInput/styles.scss +116 -25
  81. package/dist/cjs/f/fields/LinkInput/LinkInput.js +1 -1
  82. package/dist/cjs/f/fields/QueryChoices/QueryChoices.js +1 -1
  83. package/dist/cjs/f/fields/QueryCombobox/QueryCombobox.js +1 -1
  84. package/dist/cjs/f/fields/QueryCombobox/common/Combobox/Combobox.js +1 -1
  85. package/dist/cjs/f/fields/QueryCombobox/common/Menu/Menu.js +1 -1
  86. package/dist/cjs/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +1 -1
  87. package/dist/cjs/f/fields/QuerySelect/QuerySelect.js +1 -1
  88. package/dist/cjs/f/fields/RatingsInput/RatingsInput.js +1 -1
  89. package/dist/cjs/f/fields/RatingsInput/common/Rating/Rating.js +1 -1
  90. package/dist/cjs/f/fields/SelectInput/SelectInput.js +10 -3
  91. package/dist/cjs/f/fields/SelectInput/common/Menu/Menu.js +1 -1
  92. package/dist/cjs/f/fields/SelectInput/common/Multiple/Multiple.js +1 -1
  93. package/dist/cjs/f/fields/SelectInput/common/Single/Single.js +14 -3
  94. package/dist/cjs/f/fields/SelectInput/styles.scss +1 -1
  95. package/dist/cjs/f/fields/TextInput/TextInput.js +1 -1
  96. package/dist/cjs/f/fields/TextareaInput/TextareaInput.js +1 -1
  97. package/dist/cjs/{b → g}/ExpandableLexicalPreview/ExpandableLexicalPreview.js +28 -43
  98. package/dist/cjs/{b → g}/ExpandableLexicalPreview/common/ExpandButton/ExpandButton.js +7 -8
  99. package/dist/cjs/g/ExpandableLexicalPreview/styles.scss +34 -0
  100. package/dist/cjs/g/index.js +12 -0
  101. package/dist/cjs/index.js +11 -0
  102. package/dist/cjs/test/QueryLoader/QueryLoader.js +1 -1
  103. package/dist/cjs/test/QueryLoader/common/PreloadedTestData/PreloadedTestData.js +1 -1
  104. package/dist/cjs/utils/hooks/index.js +7 -0
  105. package/dist/cjs/utils/hooks/useOutsideClick.js +25 -0
  106. package/dist/cjs/utils/index.js +6 -0
  107. package/dist/es/a/People/styles.scss +1 -1
  108. package/dist/es/a/Quote/Quote.js +15 -5
  109. package/dist/es/a/Quote/styles.scss +16 -37
  110. package/dist/es/a/Tooltip/Tooltip.js +59 -0
  111. package/dist/es/a/Tooltip/index.js +2 -0
  112. package/dist/es/a/Tooltip/styles.scss +56 -0
  113. package/dist/es/a/index.js +2 -2
  114. package/dist/es/b/Page/common/PageHelmet/PageHelmet.js +4 -1
  115. package/dist/es/b/index.js +1 -2
  116. package/dist/es/f/fields/EditorInput/EditorInput.js +35 -11
  117. package/dist/es/f/fields/EditorInput/common/BlockFormatDropDown/BlockFormatDropDown.js +246 -0
  118. package/dist/es/f/fields/EditorInput/common/BlockFormatDropDown/index.js +2 -0
  119. package/dist/es/f/fields/EditorInput/common/BlockFormatDropDown/styles.scss +55 -0
  120. package/dist/es/f/fields/EditorInput/common/ColorPicker/ColorPicker.js +83 -0
  121. package/dist/es/f/fields/EditorInput/common/ColorPicker/index.js +2 -0
  122. package/dist/es/f/fields/EditorInput/common/ColorPicker/styles.scss +36 -0
  123. package/dist/es/f/fields/EditorInput/common/FontSizeDropDown/FontSizeDropDown.js +81 -0
  124. package/dist/es/f/fields/EditorInput/common/FontSizeDropDown/index.js +2 -0
  125. package/dist/es/f/fields/EditorInput/common/FontSizeDropDown/styles.scss +55 -0
  126. package/dist/es/f/fields/EditorInput/common/ToolbarPlugin/ToolbarPlugin.js +283 -0
  127. package/dist/es/f/fields/EditorInput/common/ToolbarPlugin/index.js +2 -0
  128. package/dist/es/f/fields/EditorInput/common/ToolbarPlugin/styles.scss +56 -0
  129. package/dist/es/f/fields/EditorInput/common/index.js +5 -2
  130. package/dist/es/f/fields/EditorInput/styles.scss +116 -25
  131. package/dist/es/f/fields/SelectInput/SelectInput.js +9 -2
  132. package/dist/es/f/fields/SelectInput/common/Single/Single.js +12 -1
  133. package/dist/es/f/fields/SelectInput/styles.scss +1 -1
  134. package/dist/es/{b → g}/ExpandableLexicalPreview/ExpandableLexicalPreview.js +29 -45
  135. package/dist/es/{b → g}/ExpandableLexicalPreview/common/ExpandButton/ExpandButton.js +18 -21
  136. package/dist/es/g/ExpandableLexicalPreview/styles.scss +34 -0
  137. package/dist/es/g/index.js +1 -0
  138. package/dist/es/index.js +1 -0
  139. package/dist/es/utils/hooks/index.js +2 -1
  140. package/dist/es/utils/hooks/useOutsideClick.js +19 -0
  141. package/dist/es/utils/index.js +1 -1
  142. package/package.json +14 -6
  143. package/src/stories/a/Quote.stories.jsx +30 -10
  144. package/src/stories/a/Tooltip.stories.jsx +80 -0
  145. package/src/stories/a/XMLEditor.stories.jsx +6 -1
  146. package/src/stories/f/SelectInput.stories.jsx +18 -2
  147. package/src/stories/{b → g}/ExpandableLexicalPreview.stories.jsx +2 -1
  148. package/src/ui/a/People/styles.scss +1 -1
  149. package/src/ui/a/Quote/Quote.jsx +16 -9
  150. package/src/ui/a/Quote/styles.scss +16 -37
  151. package/src/ui/a/Tooltip/Tooltip.jsx +83 -0
  152. package/src/ui/a/Tooltip/index.js +2 -0
  153. package/src/ui/a/Tooltip/styles.scss +56 -0
  154. package/src/ui/a/index.js +1 -1
  155. package/src/ui/b/Page/common/PageHelmet/PageHelmet.jsx +6 -0
  156. package/src/ui/b/index.js +0 -1
  157. package/src/ui/f/fields/EditorInput/EditorInput.jsx +35 -5
  158. package/src/ui/f/fields/EditorInput/common/BlockFormatDropDown/BlockFormatDropDown.jsx +292 -0
  159. package/src/ui/f/fields/EditorInput/common/BlockFormatDropDown/index.js +2 -0
  160. package/src/ui/f/fields/EditorInput/common/BlockFormatDropDown/styles.scss +55 -0
  161. package/src/ui/f/fields/EditorInput/common/ColorPicker/ColorPicker.jsx +110 -0
  162. package/src/ui/f/fields/EditorInput/common/ColorPicker/index.js +2 -0
  163. package/src/ui/f/fields/EditorInput/common/ColorPicker/styles.scss +36 -0
  164. package/src/ui/f/fields/EditorInput/common/FontSizeDropDown/FontSizeDropDown.jsx +134 -0
  165. package/src/ui/f/fields/EditorInput/common/FontSizeDropDown/index.js +2 -0
  166. package/src/ui/f/fields/EditorInput/common/FontSizeDropDown/styles.scss +55 -0
  167. package/src/ui/f/fields/EditorInput/common/ToolbarPlugin/ToolbarPlugin.jsx +431 -0
  168. package/src/ui/f/fields/EditorInput/common/ToolbarPlugin/index.js +2 -0
  169. package/src/ui/f/fields/EditorInput/common/ToolbarPlugin/styles.scss +56 -0
  170. package/src/ui/f/fields/EditorInput/common/index.js +6 -0
  171. package/src/ui/f/fields/EditorInput/styles.scss +116 -25
  172. package/src/ui/f/fields/SelectInput/SelectInput.jsx +10 -2
  173. package/src/ui/f/fields/SelectInput/common/Single/Single.jsx +13 -1
  174. package/src/ui/f/fields/SelectInput/styles.scss +1 -1
  175. package/src/ui/{b → g}/ExpandableLexicalPreview/ExpandableLexicalPreview.jsx +43 -56
  176. package/src/ui/{b → g}/ExpandableLexicalPreview/common/ExpandButton/ExpandButton.jsx +32 -36
  177. package/src/ui/g/ExpandableLexicalPreview/styles.scss +34 -0
  178. package/src/ui/g/index.js +1 -0
  179. package/src/ui/index.js +1 -0
  180. package/src/ui/utils/hooks/index.js +1 -0
  181. package/src/ui/utils/hooks/useOutsideClick.js +23 -0
  182. package/src/ui/utils/index.js +1 -1
  183. package/tests/__snapshots__/Storyshots.test.js.snap +914 -433
  184. package/tests/mockResizeObserver.js +9 -0
  185. package/tests/test-setup.js +3 -0
  186. package/dist/cjs/a/LexicalPreview/LexicalPreview.js +0 -90
  187. package/dist/cjs/a/LexicalPreview/styles.scss +0 -46
  188. package/dist/cjs/b/ExpandableLexicalPreview/styles.scss +0 -84
  189. package/dist/cjs/f/fields/EditorInput/common/Toolbar.js +0 -257
  190. package/dist/es/a/LexicalPreview/LexicalPreview.js +0 -80
  191. package/dist/es/a/LexicalPreview/index.js +0 -2
  192. package/dist/es/a/LexicalPreview/styles.scss +0 -46
  193. package/dist/es/b/ExpandableLexicalPreview/styles.scss +0 -84
  194. package/dist/es/f/fields/EditorInput/common/Toolbar.js +0 -246
  195. package/src/stories/a/LexicalPreview.stories.jsx +0 -28
  196. package/src/ui/a/LexicalPreview/LexicalPreview.jsx +0 -109
  197. package/src/ui/a/LexicalPreview/index.js +0 -2
  198. package/src/ui/a/LexicalPreview/styles.scss +0 -46
  199. package/src/ui/b/ExpandableLexicalPreview/styles.scss +0 -84
  200. package/src/ui/f/fields/EditorInput/common/Toolbar.jsx +0 -356
  201. package/src/ui/f/fields/EditorInput/common/index.jsx +0 -3
  202. /package/dist/cjs/{b → g}/ExpandableLexicalPreview/common/ExpandButton/index.js +0 -0
  203. /package/dist/cjs/{b → g}/ExpandableLexicalPreview/common/index.js +0 -0
  204. /package/dist/cjs/{b → g}/ExpandableLexicalPreview/index.js +0 -0
  205. /package/dist/es/{b → g}/ExpandableLexicalPreview/common/ExpandButton/index.js +0 -0
  206. /package/dist/es/{b → g}/ExpandableLexicalPreview/common/index.js +0 -0
  207. /package/dist/es/{b → g}/ExpandableLexicalPreview/index.js +0 -0
  208. /package/src/ui/{b → g}/ExpandableLexicalPreview/common/ExpandButton/index.js +0 -0
  209. /package/src/ui/{b → g}/ExpandableLexicalPreview/common/index.js +0 -0
  210. /package/src/ui/{b → g}/ExpandableLexicalPreview/index.js +0 -0
@@ -10355,21 +10355,6 @@ exports[`Storyshots a/Label Normal 1`] = `
10355
10355
  ]
10356
10356
  `;
10357
10357
 
10358
- exports[`Storyshots a/LexicalPreview Base 1`] = `
10359
- <div
10360
- className="base lexical-preview y-paragraph"
10361
- >
10362
- <div
10363
- aria-autocomplete="none"
10364
- aria-readonly={true}
10365
- className="content-editable"
10366
- contentEditable={false}
10367
- role="textbox"
10368
- spellCheck={true}
10369
- />
10370
- </div>
10371
- `;
10372
-
10373
10358
  exports[`Storyshots a/LoadingCircle Base 1`] = `
10374
10359
  <div
10375
10360
  className="x-main1 b-x"
@@ -11116,30 +11101,48 @@ exports[`Storyshots a/ProgressBar Height 1`] = `
11116
11101
  `;
11117
11102
 
11118
11103
  exports[`Storyshots a/Quote Base 1`] = `
11119
- <div
11120
- className="y-background-far b-y u1 p-u"
11104
+ <figure
11105
+ className="base quote x-highlighted"
11121
11106
  >
11122
- <figure
11123
- className="base quote x-main1"
11107
+ <blockquote
11108
+ cite="https://example.com"
11109
+ className="blockquote"
11124
11110
  >
11125
- <blockquote
11126
- className="blockquote uc"
11111
+ <p
11112
+ className="quotation h2"
11127
11113
  >
11128
- <p
11129
- className="quotation c-x md-s0 s-1"
11114
+ <span
11115
+ className="c-x"
11130
11116
  >
11131
- Pareto was like having a full-time employee without having to hire somebody. That’s how I would explain it. An on-call, on-demand full-time employee.
11132
- </p>
11133
- </blockquote>
11134
- <figcaption
11135
- className="figcaption"
11117
+
11118
+ </span>
11119
+ <span
11120
+ className="c-x"
11121
+ >
11122
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
11123
+ </span>
11124
+ <span
11125
+ className="c-x"
11126
+ >
11127
+
11128
+ </span>
11129
+ </p>
11130
+ </blockquote>
11131
+ <figcaption
11132
+ className="figcaption"
11133
+ >
11134
+ <span
11135
+ className="x-metadata c-x"
11136
11136
  >
11137
- <cite>
11138
- Austen Spoonts
11139
- </cite>
11140
- </figcaption>
11141
- </figure>
11142
- </div>
11137
+ -
11138
+ </span>
11139
+ <cite
11140
+ className="x-metadata c-x"
11141
+ >
11142
+ John Doe
11143
+ </cite>
11144
+ </figcaption>
11145
+ </figure>
11143
11146
  `;
11144
11147
 
11145
11148
  exports[`Storyshots a/Removable Base 1`] = `
@@ -11623,16 +11626,204 @@ exports[`Storyshots a/ToggleSwitch Base 1`] = `
11623
11626
  </button>
11624
11627
  `;
11625
11628
 
11626
- exports[`Storyshots a/XMLEditor Base 1`] = `
11629
+ exports[`Storyshots a/Tooltip Base 1`] = `
11627
11630
  <div
11628
- className="base code-editor"
11629
11631
  style={
11630
11632
  {
11631
- "--gutter-width": "3em",
11632
- "--height": "20em",
11633
+ "alignItems": "center",
11634
+ "display": "flex",
11635
+ "flexDirection": "column",
11636
+ "margin": "auto",
11637
+ "paddingTop": "10rem",
11638
+ "width": "50%",
11633
11639
  }
11634
11640
  }
11635
- />
11641
+ >
11642
+ <div
11643
+ aria-describedby="test-tooltip"
11644
+ >
11645
+ <button
11646
+ className="base button x-main"
11647
+ type="button"
11648
+ >
11649
+ Hover on me!
11650
+ </button>
11651
+ <div
11652
+ className="base tooltip bottom x-background-cards"
11653
+ id="test-tooltip"
11654
+ role="tooltip"
11655
+ >
11656
+ <div>
11657
+ <ul>
11658
+ <li>
11659
+ This is the tooltips content
11660
+ </li>
11661
+ <li>
11662
+ Style it the way you want!
11663
+ </li>
11664
+ <li>
11665
+ It's a tooltip, no interactive elements please
11666
+ </li>
11667
+ </ul>
11668
+ </div>
11669
+ </div>
11670
+ </div>
11671
+ <p>
11672
+ With some more content around
11673
+ </p>
11674
+ </div>
11675
+ `;
11676
+
11677
+ exports[`Storyshots a/Tooltip Left 1`] = `
11678
+ <div
11679
+ style={
11680
+ {
11681
+ "alignItems": "center",
11682
+ "display": "flex",
11683
+ "flexDirection": "column",
11684
+ "margin": "auto",
11685
+ "paddingTop": "10rem",
11686
+ "width": "50%",
11687
+ }
11688
+ }
11689
+ >
11690
+ <div
11691
+ aria-describedby="test-tooltip"
11692
+ >
11693
+ <button
11694
+ className="base button x-main"
11695
+ type="button"
11696
+ >
11697
+ Hover on me!
11698
+ </button>
11699
+ <div
11700
+ className="base tooltip left x-background-cards"
11701
+ id="test-tooltip"
11702
+ role="tooltip"
11703
+ >
11704
+ <div>
11705
+ <ul>
11706
+ <li>
11707
+ This is the tooltips content
11708
+ </li>
11709
+ <li>
11710
+ Style it the way you want!
11711
+ </li>
11712
+ <li>
11713
+ It's a tooltip, no interactive elements please
11714
+ </li>
11715
+ </ul>
11716
+ </div>
11717
+ </div>
11718
+ </div>
11719
+ <p>
11720
+ With some more content around
11721
+ </p>
11722
+ </div>
11723
+ `;
11724
+
11725
+ exports[`Storyshots a/Tooltip Right 1`] = `
11726
+ <div
11727
+ style={
11728
+ {
11729
+ "alignItems": "center",
11730
+ "display": "flex",
11731
+ "flexDirection": "column",
11732
+ "margin": "auto",
11733
+ "paddingTop": "10rem",
11734
+ "width": "50%",
11735
+ }
11736
+ }
11737
+ >
11738
+ <div
11739
+ aria-describedby="test-tooltip"
11740
+ >
11741
+ <button
11742
+ className="base button x-main"
11743
+ type="button"
11744
+ >
11745
+ Hover on me!
11746
+ </button>
11747
+ <div
11748
+ className="base tooltip right x-background-cards"
11749
+ id="test-tooltip"
11750
+ role="tooltip"
11751
+ >
11752
+ <div>
11753
+ <ul>
11754
+ <li>
11755
+ This is the tooltips content
11756
+ </li>
11757
+ <li>
11758
+ Style it the way you want!
11759
+ </li>
11760
+ <li>
11761
+ It's a tooltip, no interactive elements please
11762
+ </li>
11763
+ </ul>
11764
+ </div>
11765
+ </div>
11766
+ </div>
11767
+ <p>
11768
+ With some more content around
11769
+ </p>
11770
+ </div>
11771
+ `;
11772
+
11773
+ exports[`Storyshots a/Tooltip Top 1`] = `
11774
+ <div
11775
+ style={
11776
+ {
11777
+ "alignItems": "center",
11778
+ "display": "flex",
11779
+ "flexDirection": "column",
11780
+ "margin": "auto",
11781
+ "paddingTop": "10rem",
11782
+ "width": "50%",
11783
+ }
11784
+ }
11785
+ >
11786
+ <div
11787
+ aria-describedby="test-tooltip"
11788
+ >
11789
+ <button
11790
+ className="base button x-main"
11791
+ type="button"
11792
+ >
11793
+ Hover on me!
11794
+ </button>
11795
+ <div
11796
+ className="base tooltip top x-background-cards"
11797
+ id="test-tooltip"
11798
+ role="tooltip"
11799
+ >
11800
+ <div>
11801
+ <ul>
11802
+ <li>
11803
+ This is the tooltips content
11804
+ </li>
11805
+ <li>
11806
+ Style it the way you want!
11807
+ </li>
11808
+ <li>
11809
+ It's a tooltip, no interactive elements please
11810
+ </li>
11811
+ </ul>
11812
+ </div>
11813
+ </div>
11814
+ </div>
11815
+ <p>
11816
+ With some more content around
11817
+ </p>
11818
+ </div>
11819
+ `;
11820
+
11821
+ exports[`Storyshots a/XMLEditor Base 1`] = `
11822
+ <div>
11823
+ <pre>
11824
+ {}
11825
+ </pre>
11826
+ </div>
11636
11827
  `;
11637
11828
 
11638
11829
  exports[`Storyshots b/Button Arrow Left 1`] = `
@@ -21079,42 +21270,6 @@ exports[`Storyshots b/Card/Group Card Group Not Snap Scroller 1`] = `
21079
21270
  </div>
21080
21271
  `;
21081
21272
 
21082
- exports[`Storyshots b/ExpandableLexicalPreview Base 1`] = `
21083
- <div
21084
- className="base expandable-lexical-preview y-paragraph"
21085
- style={
21086
- {
21087
- "--resize": "vertical",
21088
- }
21089
- }
21090
- >
21091
- <p
21092
- className="title h2"
21093
- >
21094
- Task Instructions
21095
- </p>
21096
- <div
21097
- className="lexical-content"
21098
- >
21099
- <div
21100
- aria-autocomplete="none"
21101
- aria-readonly={true}
21102
- className="content-editable"
21103
- contentEditable={false}
21104
- role="textbox"
21105
- spellCheck={true}
21106
- />
21107
- <button
21108
- className="base button base expand-button ai-icon x-background-far modifierCompact"
21109
- onClick={[Function]}
21110
- type="button"
21111
- >
21112
- D
21113
- </button>
21114
- </div>
21115
- </div>
21116
- `;
21117
-
21118
21273
  exports[`Storyshots b/Logo Base 1`] = `
21119
21274
  <svg
21120
21275
  className="base svg base logo x-paragraph y-transparent"
@@ -26387,41 +26542,50 @@ exports[`Storyshots f/fields/EditorInput Base 1`] = `
26387
26542
  Project Instructions
26388
26543
  </label>
26389
26544
  <div
26390
- className="base toolbar"
26545
+ className="base toolbar-plugin x-background-far"
26391
26546
  >
26392
26547
  <div
26393
26548
  className="group"
26394
26549
  >
26395
26550
  <button
26551
+ className="ai-icon"
26552
+ disabled={true}
26396
26553
  onClick={[Function]}
26397
26554
  type="button"
26398
26555
  >
26399
- <span
26400
- className="icon"
26401
- >
26402
- |
26403
- </span>
26556
+ A
26404
26557
  </button>
26405
26558
  <button
26559
+ className="ai-icon"
26560
+ disabled={true}
26406
26561
  onClick={[Function]}
26407
26562
  type="button"
26408
26563
  >
26409
- <span
26410
- className="icon"
26411
- >
26412
- }
26413
- </span>
26564
+ B
26414
26565
  </button>
26415
- <button
26416
- onClick={[Function]}
26417
- type="button"
26566
+ </div>
26567
+ <button
26568
+ className="base block-format-drop-down group"
26569
+ onClick={[Function]}
26570
+ type="button"
26571
+ >
26572
+ <span
26573
+ className="ai-icon"
26418
26574
  >
26419
- <span
26420
- className="icon"
26421
- >
26422
- ~
26423
- </span>
26424
- </button>
26575
+ N
26576
+ </span>
26577
+ <span>
26578
+ Normal
26579
+ </span>
26580
+ <span
26581
+ className="icon"
26582
+ >
26583
+ V
26584
+ </span>
26585
+ </button>
26586
+ <div
26587
+ className="group"
26588
+ >
26425
26589
  <button
26426
26590
  onClick={[Function]}
26427
26591
  type="button"
@@ -26429,149 +26593,18 @@ exports[`Storyshots f/fields/EditorInput Base 1`] = `
26429
26593
  <span
26430
26594
  className="icon"
26431
26595
  >
26432
- ?
26596
+ |
26433
26597
  </span>
26434
26598
  </button>
26435
26599
  <button
26436
- className="color-menu-button"
26437
26600
  onClick={[Function]}
26438
- style={
26439
- {
26440
- "position": "relative",
26441
- }
26442
- }
26443
26601
  type="button"
26444
26602
  >
26445
26603
  <span
26446
26604
  className="icon"
26447
- style={
26448
- {
26449
- "color": "var(--paragraph)",
26450
- }
26451
- }
26452
26605
  >
26453
- Q
26606
+ }
26454
26607
  </span>
26455
- <div
26456
- className="base popover x-background-near bottom left"
26457
- >
26458
- <div
26459
- className="color-menu"
26460
- >
26461
- <span
26462
- className="icon color-option"
26463
- onClick={[Function]}
26464
- onKeyDown={[Function]}
26465
- role="button"
26466
- style={
26467
- {
26468
- "color": "red",
26469
- }
26470
- }
26471
- tabIndex={0}
26472
- >
26473
- o
26474
- </span>
26475
- <span
26476
- className="icon color-option"
26477
- onClick={[Function]}
26478
- onKeyDown={[Function]}
26479
- role="button"
26480
- style={
26481
- {
26482
- "color": "blue",
26483
- }
26484
- }
26485
- tabIndex={0}
26486
- >
26487
- o
26488
- </span>
26489
- <span
26490
- className="icon color-option"
26491
- onClick={[Function]}
26492
- onKeyDown={[Function]}
26493
- role="button"
26494
- style={
26495
- {
26496
- "color": "green",
26497
- }
26498
- }
26499
- tabIndex={0}
26500
- >
26501
- o
26502
- </span>
26503
- <span
26504
- className="icon color-option"
26505
- onClick={[Function]}
26506
- onKeyDown={[Function]}
26507
- role="button"
26508
- style={
26509
- {
26510
- "color": "yellow",
26511
- }
26512
- }
26513
- tabIndex={0}
26514
- >
26515
- o
26516
- </span>
26517
- <span
26518
- className="icon color-option"
26519
- onClick={[Function]}
26520
- onKeyDown={[Function]}
26521
- role="button"
26522
- style={
26523
- {
26524
- "color": "orange",
26525
- }
26526
- }
26527
- tabIndex={0}
26528
- >
26529
- o
26530
- </span>
26531
- <span
26532
- className="icon color-option"
26533
- onClick={[Function]}
26534
- onKeyDown={[Function]}
26535
- role="button"
26536
- style={
26537
- {
26538
- "color": "purple",
26539
- }
26540
- }
26541
- tabIndex={0}
26542
- >
26543
- o
26544
- </span>
26545
- <span
26546
- className="icon color-option"
26547
- onClick={[Function]}
26548
- onKeyDown={[Function]}
26549
- role="button"
26550
- style={
26551
- {
26552
- "color": "pink",
26553
- }
26554
- }
26555
- tabIndex={0}
26556
- >
26557
- o
26558
- </span>
26559
- <span
26560
- className="icon color-option"
26561
- onClick={[Function]}
26562
- onKeyDown={[Function]}
26563
- role="button"
26564
- style={
26565
- {
26566
- "color": "brown",
26567
- }
26568
- }
26569
- tabIndex={0}
26570
- >
26571
- o
26572
- </span>
26573
- </div>
26574
- </div>
26575
26608
  </button>
26576
26609
  <button
26577
26610
  onClick={[Function]}
@@ -26580,7 +26613,7 @@ exports[`Storyshots f/fields/EditorInput Base 1`] = `
26580
26613
  <span
26581
26614
  className="icon"
26582
26615
  >
26583
- ]
26616
+ ~
26584
26617
  </span>
26585
26618
  </button>
26586
26619
  <button
@@ -26590,7 +26623,7 @@ exports[`Storyshots f/fields/EditorInput Base 1`] = `
26590
26623
  <span
26591
26624
  className="icon"
26592
26625
  >
26593
- .
26626
+ ?
26594
26627
  </span>
26595
26628
  </button>
26596
26629
  <button
@@ -26600,33 +26633,241 @@ exports[`Storyshots f/fields/EditorInput Base 1`] = `
26600
26633
  <span
26601
26634
  className="icon"
26602
26635
  >
26603
- -
26636
+ ]
26604
26637
  </span>
26605
26638
  </button>
26606
26639
  </div>
26640
+ <button
26641
+ className="base font-size-drop-down group"
26642
+ onClick={[Function]}
26643
+ type="button"
26644
+ >
26645
+ <span>
26646
+ 15px
26647
+ </span>
26648
+ <span
26649
+ className="icon"
26650
+ >
26651
+ V
26652
+ </span>
26653
+ </button>
26607
26654
  <div
26608
26655
  className="group"
26609
26656
  >
26610
- <button
26611
- onClick={[Function]}
26612
- type="button"
26657
+ <div
26658
+ className="base color-picker"
26613
26659
  >
26614
- <span
26615
- className="icon"
26660
+ <button
26661
+ onClick={[Function]}
26662
+ type="button"
26616
26663
  >
26617
- ^
26618
- </span>
26619
- </button>
26620
- <button
26621
- onClick={[Function]}
26622
- type="button"
26664
+ <span
26665
+ className="icon"
26666
+ >
26667
+ '
26668
+ </span>
26669
+ <span
26670
+ className="icon"
26671
+ >
26672
+ V
26673
+ </span>
26674
+ </button>
26675
+ <div
26676
+ className="base popover x-background-far bottom left"
26677
+ >
26678
+ <div
26679
+ className="rcp-root rcp"
26680
+ >
26681
+ <div
26682
+ className="rcp-interactive"
26683
+ onPointerDown={[Function]}
26684
+ >
26685
+ <div
26686
+ className="rcp-saturation"
26687
+ style={
26688
+ {
26689
+ "backgroundColor": "hsl(0 100% 50%)",
26690
+ "height": 200,
26691
+ }
26692
+ }
26693
+ >
26694
+ <div
26695
+ className="rcp-saturation-cursor"
26696
+ style={
26697
+ {
26698
+ "backgroundColor": "rgb(0 0 0)",
26699
+ "left": 0,
26700
+ "top": 200,
26701
+ }
26702
+ }
26703
+ />
26704
+ </div>
26705
+ </div>
26706
+ <div
26707
+ className="rcp-body"
26708
+ >
26709
+ <section
26710
+ className="rcp-section"
26711
+ >
26712
+ <div
26713
+ className="rcp-interactive"
26714
+ onPointerDown={[Function]}
26715
+ >
26716
+ <div
26717
+ className="rcp-hue"
26718
+ >
26719
+ <div
26720
+ className="rcp-hue-cursor"
26721
+ style={
26722
+ {
26723
+ "backgroundColor": "hsl(0 100% 50%)",
26724
+ "left": 0,
26725
+ }
26726
+ }
26727
+ />
26728
+ </div>
26729
+ </div>
26730
+ <div
26731
+ className="rcp-interactive"
26732
+ onPointerDown={[Function]}
26733
+ >
26734
+ <div
26735
+ className="rcp-alpha"
26736
+ style={
26737
+ {
26738
+ "background": "linear-gradient(to right, rgb(0 0 0 / 0), rgb(0 0 0 / 1)) top left / auto auto,
26739
+ conic-gradient(#666 0.25turn, #999 0.25turn 0.5turn, #666 0.5turn 0.75turn, #999 0.75turn) top left / 12px 12px
26740
+ repeat",
26741
+ }
26742
+ }
26743
+ >
26744
+ <div
26745
+ className="rcp-alpha-cursor"
26746
+ style={
26747
+ {
26748
+ "background": "linear-gradient(to right, rgb(0 0 0 / 1), rgb(0 0 0 / 1)) top left / auto auto,
26749
+ conic-gradient(#666 0.25turn, #999 0.25turn 0.5turn, #666 0.5turn 0.75turn, #999 0.75turn) -5px 2px / 12px 12px
26750
+ repeat",
26751
+ "left": 1,
26752
+ }
26753
+ }
26754
+ />
26755
+ </div>
26756
+ </div>
26757
+ </section>
26758
+ </div>
26759
+ </div>
26760
+ </div>
26761
+ </div>
26762
+ <div
26763
+ className="base color-picker"
26623
26764
  >
26624
- <span
26625
- className="icon"
26765
+ <button
26766
+ onClick={[Function]}
26767
+ type="button"
26626
26768
  >
26627
- _
26628
- </span>
26629
- </button>
26769
+ <span
26770
+ className="icon"
26771
+ >
26772
+ #
26773
+ </span>
26774
+ <span
26775
+ className="icon"
26776
+ >
26777
+ V
26778
+ </span>
26779
+ </button>
26780
+ <div
26781
+ className="base popover x-background-far bottom left"
26782
+ >
26783
+ <div
26784
+ className="rcp-root rcp"
26785
+ >
26786
+ <div
26787
+ className="rcp-interactive"
26788
+ onPointerDown={[Function]}
26789
+ >
26790
+ <div
26791
+ className="rcp-saturation"
26792
+ style={
26793
+ {
26794
+ "backgroundColor": "hsl(0 100% 50%)",
26795
+ "height": 200,
26796
+ }
26797
+ }
26798
+ >
26799
+ <div
26800
+ className="rcp-saturation-cursor"
26801
+ style={
26802
+ {
26803
+ "backgroundColor": "rgb(255 255 255)",
26804
+ "left": 0,
26805
+ "top": 0,
26806
+ }
26807
+ }
26808
+ />
26809
+ </div>
26810
+ </div>
26811
+ <div
26812
+ className="rcp-body"
26813
+ >
26814
+ <section
26815
+ className="rcp-section"
26816
+ >
26817
+ <div
26818
+ className="rcp-interactive"
26819
+ onPointerDown={[Function]}
26820
+ >
26821
+ <div
26822
+ className="rcp-hue"
26823
+ >
26824
+ <div
26825
+ className="rcp-hue-cursor"
26826
+ style={
26827
+ {
26828
+ "backgroundColor": "hsl(0 100% 50%)",
26829
+ "left": 0,
26830
+ }
26831
+ }
26832
+ />
26833
+ </div>
26834
+ </div>
26835
+ <div
26836
+ className="rcp-interactive"
26837
+ onPointerDown={[Function]}
26838
+ >
26839
+ <div
26840
+ className="rcp-alpha"
26841
+ style={
26842
+ {
26843
+ "background": "linear-gradient(to right, rgb(255 255 255 / 0), rgb(255 255 255 / 1)) top left / auto auto,
26844
+ conic-gradient(#666 0.25turn, #999 0.25turn 0.5turn, #666 0.5turn 0.75turn, #999 0.75turn) top left / 12px 12px
26845
+ repeat",
26846
+ }
26847
+ }
26848
+ >
26849
+ <div
26850
+ className="rcp-alpha-cursor"
26851
+ style={
26852
+ {
26853
+ "background": "linear-gradient(to right, rgb(255 255 255 / 1), rgb(255 255 255 / 1)) top left / auto auto,
26854
+ conic-gradient(#666 0.25turn, #999 0.25turn 0.5turn, #666 0.5turn 0.75turn, #999 0.75turn) -5px 2px / 12px 12px
26855
+ repeat",
26856
+ "left": 1,
26857
+ }
26858
+ }
26859
+ />
26860
+ </div>
26861
+ </div>
26862
+ </section>
26863
+ </div>
26864
+ </div>
26865
+ </div>
26866
+ </div>
26867
+ </div>
26868
+ <div
26869
+ className="group"
26870
+ >
26630
26871
  <button
26631
26872
  onClick={[Function]}
26632
26873
  type="button"
@@ -26634,7 +26875,7 @@ exports[`Storyshots f/fields/EditorInput Base 1`] = `
26634
26875
  <span
26635
26876
  className="icon"
26636
26877
  >
26637
- \`
26878
+ ^
26638
26879
  </span>
26639
26880
  </button>
26640
26881
  <button
@@ -26644,13 +26885,9 @@ exports[`Storyshots f/fields/EditorInput Base 1`] = `
26644
26885
  <span
26645
26886
  className="icon"
26646
26887
  >
26647
- {
26888
+ _
26648
26889
  </span>
26649
26890
  </button>
26650
- </div>
26651
- <div
26652
- className="group"
26653
- >
26654
26891
  <button
26655
26892
  onClick={[Function]}
26656
26893
  type="button"
@@ -26658,18 +26895,17 @@ exports[`Storyshots f/fields/EditorInput Base 1`] = `
26658
26895
  <span
26659
26896
  className="icon"
26660
26897
  >
26661
- \\
26898
+ \`
26662
26899
  </span>
26663
26900
  </button>
26664
26901
  <button
26665
- className="flip"
26666
26902
  onClick={[Function]}
26667
26903
  type="button"
26668
26904
  >
26669
26905
  <span
26670
26906
  className="icon"
26671
26907
  >
26672
- \\
26908
+ {
26673
26909
  </span>
26674
26910
  </button>
26675
26911
  </div>
@@ -26784,8 +27020,47 @@ exports[`Storyshots f/fields/EditorInput Optional 1`] = `
26784
27020
  (Optional)
26785
27021
  </label>
26786
27022
  <div
26787
- className="base toolbar"
27023
+ className="base toolbar-plugin x-background-far"
26788
27024
  >
27025
+ <div
27026
+ className="group"
27027
+ >
27028
+ <button
27029
+ className="ai-icon"
27030
+ disabled={true}
27031
+ onClick={[Function]}
27032
+ type="button"
27033
+ >
27034
+ A
27035
+ </button>
27036
+ <button
27037
+ className="ai-icon"
27038
+ disabled={true}
27039
+ onClick={[Function]}
27040
+ type="button"
27041
+ >
27042
+ B
27043
+ </button>
27044
+ </div>
27045
+ <button
27046
+ className="base block-format-drop-down group"
27047
+ onClick={[Function]}
27048
+ type="button"
27049
+ >
27050
+ <span
27051
+ className="ai-icon"
27052
+ >
27053
+ N
27054
+ </span>
27055
+ <span>
27056
+ Normal
27057
+ </span>
27058
+ <span
27059
+ className="icon"
27060
+ >
27061
+ V
27062
+ </span>
27063
+ </button>
26789
27064
  <div
26790
27065
  className="group"
26791
27066
  >
@@ -26830,176 +27105,243 @@ exports[`Storyshots f/fields/EditorInput Optional 1`] = `
26830
27105
  </span>
26831
27106
  </button>
26832
27107
  <button
26833
- className="color-menu-button"
26834
27108
  onClick={[Function]}
26835
- style={
26836
- {
26837
- "position": "relative",
26838
- }
26839
- }
26840
27109
  type="button"
26841
27110
  >
26842
27111
  <span
26843
27112
  className="icon"
26844
- style={
26845
- {
26846
- "color": "var(--paragraph)",
26847
- }
26848
- }
26849
27113
  >
26850
- Q
27114
+ ]
26851
27115
  </span>
27116
+ </button>
27117
+ </div>
27118
+ <button
27119
+ className="base font-size-drop-down group"
27120
+ onClick={[Function]}
27121
+ type="button"
27122
+ >
27123
+ <span>
27124
+ 15px
27125
+ </span>
27126
+ <span
27127
+ className="icon"
27128
+ >
27129
+ V
27130
+ </span>
27131
+ </button>
27132
+ <div
27133
+ className="group"
27134
+ >
27135
+ <div
27136
+ className="base color-picker"
27137
+ >
27138
+ <button
27139
+ onClick={[Function]}
27140
+ type="button"
27141
+ >
27142
+ <span
27143
+ className="icon"
27144
+ >
27145
+ '
27146
+ </span>
27147
+ <span
27148
+ className="icon"
27149
+ >
27150
+ V
27151
+ </span>
27152
+ </button>
26852
27153
  <div
26853
- className="base popover x-background-near bottom left"
27154
+ className="base popover x-background-far bottom left"
26854
27155
  >
26855
27156
  <div
26856
- className="color-menu"
27157
+ className="rcp-root rcp"
26857
27158
  >
26858
- <span
26859
- className="icon color-option"
26860
- onClick={[Function]}
26861
- onKeyDown={[Function]}
26862
- role="button"
26863
- style={
26864
- {
26865
- "color": "red",
26866
- }
26867
- }
26868
- tabIndex={0}
26869
- >
26870
- o
26871
- </span>
26872
- <span
26873
- className="icon color-option"
26874
- onClick={[Function]}
26875
- onKeyDown={[Function]}
26876
- role="button"
26877
- style={
26878
- {
26879
- "color": "blue",
26880
- }
26881
- }
26882
- tabIndex={0}
26883
- >
26884
- o
26885
- </span>
26886
- <span
26887
- className="icon color-option"
26888
- onClick={[Function]}
26889
- onKeyDown={[Function]}
26890
- role="button"
26891
- style={
26892
- {
26893
- "color": "green",
26894
- }
26895
- }
26896
- tabIndex={0}
26897
- >
26898
- o
26899
- </span>
26900
- <span
26901
- className="icon color-option"
26902
- onClick={[Function]}
26903
- onKeyDown={[Function]}
26904
- role="button"
26905
- style={
26906
- {
26907
- "color": "yellow",
26908
- }
26909
- }
26910
- tabIndex={0}
26911
- >
26912
- o
26913
- </span>
26914
- <span
26915
- className="icon color-option"
26916
- onClick={[Function]}
26917
- onKeyDown={[Function]}
26918
- role="button"
26919
- style={
26920
- {
26921
- "color": "orange",
26922
- }
26923
- }
26924
- tabIndex={0}
26925
- >
26926
- o
26927
- </span>
26928
- <span
26929
- className="icon color-option"
26930
- onClick={[Function]}
26931
- onKeyDown={[Function]}
26932
- role="button"
26933
- style={
26934
- {
26935
- "color": "purple",
26936
- }
26937
- }
26938
- tabIndex={0}
26939
- >
26940
- o
26941
- </span>
26942
- <span
26943
- className="icon color-option"
26944
- onClick={[Function]}
26945
- onKeyDown={[Function]}
26946
- role="button"
26947
- style={
26948
- {
26949
- "color": "pink",
26950
- }
26951
- }
26952
- tabIndex={0}
27159
+ <div
27160
+ className="rcp-interactive"
27161
+ onPointerDown={[Function]}
26953
27162
  >
26954
- o
26955
- </span>
26956
- <span
26957
- className="icon color-option"
26958
- onClick={[Function]}
26959
- onKeyDown={[Function]}
26960
- role="button"
26961
- style={
26962
- {
26963
- "color": "brown",
27163
+ <div
27164
+ className="rcp-saturation"
27165
+ style={
27166
+ {
27167
+ "backgroundColor": "hsl(0 100% 50%)",
27168
+ "height": 200,
27169
+ }
26964
27170
  }
26965
- }
26966
- tabIndex={0}
27171
+ >
27172
+ <div
27173
+ className="rcp-saturation-cursor"
27174
+ style={
27175
+ {
27176
+ "backgroundColor": "rgb(0 0 0)",
27177
+ "left": 0,
27178
+ "top": 200,
27179
+ }
27180
+ }
27181
+ />
27182
+ </div>
27183
+ </div>
27184
+ <div
27185
+ className="rcp-body"
26967
27186
  >
26968
- o
26969
- </span>
27187
+ <section
27188
+ className="rcp-section"
27189
+ >
27190
+ <div
27191
+ className="rcp-interactive"
27192
+ onPointerDown={[Function]}
27193
+ >
27194
+ <div
27195
+ className="rcp-hue"
27196
+ >
27197
+ <div
27198
+ className="rcp-hue-cursor"
27199
+ style={
27200
+ {
27201
+ "backgroundColor": "hsl(0 100% 50%)",
27202
+ "left": 0,
27203
+ }
27204
+ }
27205
+ />
27206
+ </div>
27207
+ </div>
27208
+ <div
27209
+ className="rcp-interactive"
27210
+ onPointerDown={[Function]}
27211
+ >
27212
+ <div
27213
+ className="rcp-alpha"
27214
+ style={
27215
+ {
27216
+ "background": "linear-gradient(to right, rgb(0 0 0 / 0), rgb(0 0 0 / 1)) top left / auto auto,
27217
+ conic-gradient(#666 0.25turn, #999 0.25turn 0.5turn, #666 0.5turn 0.75turn, #999 0.75turn) top left / 12px 12px
27218
+ repeat",
27219
+ }
27220
+ }
27221
+ >
27222
+ <div
27223
+ className="rcp-alpha-cursor"
27224
+ style={
27225
+ {
27226
+ "background": "linear-gradient(to right, rgb(0 0 0 / 1), rgb(0 0 0 / 1)) top left / auto auto,
27227
+ conic-gradient(#666 0.25turn, #999 0.25turn 0.5turn, #666 0.5turn 0.75turn, #999 0.75turn) -5px 2px / 12px 12px
27228
+ repeat",
27229
+ "left": 1,
27230
+ }
27231
+ }
27232
+ />
27233
+ </div>
27234
+ </div>
27235
+ </section>
27236
+ </div>
26970
27237
  </div>
26971
27238
  </div>
26972
- </button>
26973
- <button
26974
- onClick={[Function]}
26975
- type="button"
26976
- >
26977
- <span
26978
- className="icon"
26979
- >
26980
- ]
26981
- </span>
26982
- </button>
26983
- <button
26984
- onClick={[Function]}
26985
- type="button"
27239
+ </div>
27240
+ <div
27241
+ className="base color-picker"
26986
27242
  >
26987
- <span
26988
- className="icon"
27243
+ <button
27244
+ onClick={[Function]}
27245
+ type="button"
26989
27246
  >
26990
- .
26991
- </span>
26992
- </button>
26993
- <button
26994
- onClick={[Function]}
26995
- type="button"
26996
- >
26997
- <span
26998
- className="icon"
27247
+ <span
27248
+ className="icon"
27249
+ >
27250
+ #
27251
+ </span>
27252
+ <span
27253
+ className="icon"
27254
+ >
27255
+ V
27256
+ </span>
27257
+ </button>
27258
+ <div
27259
+ className="base popover x-background-far bottom left"
26999
27260
  >
27000
- -
27001
- </span>
27002
- </button>
27261
+ <div
27262
+ className="rcp-root rcp"
27263
+ >
27264
+ <div
27265
+ className="rcp-interactive"
27266
+ onPointerDown={[Function]}
27267
+ >
27268
+ <div
27269
+ className="rcp-saturation"
27270
+ style={
27271
+ {
27272
+ "backgroundColor": "hsl(0 100% 50%)",
27273
+ "height": 200,
27274
+ }
27275
+ }
27276
+ >
27277
+ <div
27278
+ className="rcp-saturation-cursor"
27279
+ style={
27280
+ {
27281
+ "backgroundColor": "rgb(255 255 255)",
27282
+ "left": 0,
27283
+ "top": 0,
27284
+ }
27285
+ }
27286
+ />
27287
+ </div>
27288
+ </div>
27289
+ <div
27290
+ className="rcp-body"
27291
+ >
27292
+ <section
27293
+ className="rcp-section"
27294
+ >
27295
+ <div
27296
+ className="rcp-interactive"
27297
+ onPointerDown={[Function]}
27298
+ >
27299
+ <div
27300
+ className="rcp-hue"
27301
+ >
27302
+ <div
27303
+ className="rcp-hue-cursor"
27304
+ style={
27305
+ {
27306
+ "backgroundColor": "hsl(0 100% 50%)",
27307
+ "left": 0,
27308
+ }
27309
+ }
27310
+ />
27311
+ </div>
27312
+ </div>
27313
+ <div
27314
+ className="rcp-interactive"
27315
+ onPointerDown={[Function]}
27316
+ >
27317
+ <div
27318
+ className="rcp-alpha"
27319
+ style={
27320
+ {
27321
+ "background": "linear-gradient(to right, rgb(255 255 255 / 0), rgb(255 255 255 / 1)) top left / auto auto,
27322
+ conic-gradient(#666 0.25turn, #999 0.25turn 0.5turn, #666 0.5turn 0.75turn, #999 0.75turn) top left / 12px 12px
27323
+ repeat",
27324
+ }
27325
+ }
27326
+ >
27327
+ <div
27328
+ className="rcp-alpha-cursor"
27329
+ style={
27330
+ {
27331
+ "background": "linear-gradient(to right, rgb(255 255 255 / 1), rgb(255 255 255 / 1)) top left / auto auto,
27332
+ conic-gradient(#666 0.25turn, #999 0.25turn 0.5turn, #666 0.5turn 0.75turn, #999 0.75turn) -5px 2px / 12px 12px
27333
+ repeat",
27334
+ "left": 1,
27335
+ }
27336
+ }
27337
+ />
27338
+ </div>
27339
+ </div>
27340
+ </section>
27341
+ </div>
27342
+ </div>
27343
+ </div>
27344
+ </div>
27003
27345
  </div>
27004
27346
  <div
27005
27347
  className="group"
@@ -27045,31 +27387,6 @@ exports[`Storyshots f/fields/EditorInput Optional 1`] = `
27045
27387
  </span>
27046
27388
  </button>
27047
27389
  </div>
27048
- <div
27049
- className="group"
27050
- >
27051
- <button
27052
- onClick={[Function]}
27053
- type="button"
27054
- >
27055
- <span
27056
- className="icon"
27057
- >
27058
- \\
27059
- </span>
27060
- </button>
27061
- <button
27062
- className="flip"
27063
- onClick={[Function]}
27064
- type="button"
27065
- >
27066
- <span
27067
- className="icon"
27068
- >
27069
- \\
27070
- </span>
27071
- </button>
27072
- </div>
27073
27390
  </div>
27074
27391
  <div
27075
27392
  className="content-editable"
@@ -29892,6 +30209,128 @@ exports[`Storyshots f/fields/SelectInput String And Objects 1`] = `
29892
30209
  </form>
29893
30210
  `;
29894
30211
 
30212
+ exports[`Storyshots f/fields/SelectInput With Default 1`] = `
30213
+ <form
30214
+ action="#"
30215
+ onReset={[Function]}
30216
+ onSubmit={[Function]}
30217
+ >
30218
+ <div
30219
+ className="base select-input"
30220
+ >
30221
+ <div
30222
+ className="base single"
30223
+ >
30224
+ <label
30225
+ className="base form-label x-paragraph"
30226
+ htmlFor="workType"
30227
+ >
30228
+ Work Type
30229
+ </label>
30230
+ <div
30231
+ className="select-wrapper"
30232
+ >
30233
+ <select
30234
+ className="input y-paragraph"
30235
+ disabled={false}
30236
+ id="workType"
30237
+ name="workType"
30238
+ onBlur={[Function]}
30239
+ onChange={[Function]}
30240
+ value=""
30241
+ >
30242
+ <option
30243
+ disabled={true}
30244
+ value=""
30245
+ >
30246
+ Select an option
30247
+ </option>
30248
+ <option
30249
+ disabled={false}
30250
+ value="Work"
30251
+ >
30252
+ Work
30253
+ </option>
30254
+ <option
30255
+ disabled={false}
30256
+ value="Managing"
30257
+ >
30258
+ Managing
30259
+ </option>
30260
+ <option
30261
+ disabled={false}
30262
+ value="Training"
30263
+ >
30264
+ Training
30265
+ </option>
30266
+ </select>
30267
+ </div>
30268
+ </div>
30269
+ </div>
30270
+ </form>
30271
+ `;
30272
+
30273
+ exports[`Storyshots f/fields/SelectInput With Default No Override 1`] = `
30274
+ <form
30275
+ action="#"
30276
+ onReset={[Function]}
30277
+ onSubmit={[Function]}
30278
+ >
30279
+ <div
30280
+ className="base select-input"
30281
+ >
30282
+ <div
30283
+ className="base single"
30284
+ >
30285
+ <label
30286
+ className="base form-label x-paragraph"
30287
+ htmlFor="workType"
30288
+ >
30289
+ Work Type
30290
+ </label>
30291
+ <div
30292
+ className="select-wrapper"
30293
+ >
30294
+ <select
30295
+ className="input y-paragraph"
30296
+ disabled={false}
30297
+ id="workType"
30298
+ name="workType"
30299
+ onBlur={[Function]}
30300
+ onChange={[Function]}
30301
+ value="Training"
30302
+ >
30303
+ <option
30304
+ disabled={true}
30305
+ value=""
30306
+ >
30307
+ Select an option
30308
+ </option>
30309
+ <option
30310
+ disabled={false}
30311
+ value="Work"
30312
+ >
30313
+ Work
30314
+ </option>
30315
+ <option
30316
+ disabled={false}
30317
+ value="Managing"
30318
+ >
30319
+ Managing
30320
+ </option>
30321
+ <option
30322
+ disabled={false}
30323
+ value="Training"
30324
+ >
30325
+ Training
30326
+ </option>
30327
+ </select>
30328
+ </div>
30329
+ </div>
30330
+ </div>
30331
+ </form>
30332
+ `;
30333
+
29895
30334
  exports[`Storyshots f/fields/TextInput Base 1`] = `
29896
30335
  <form
29897
30336
  action="#"
@@ -30802,6 +31241,48 @@ exports[`Storyshots f/fields/TextareaInput Vertical Resize 1`] = `
30802
31241
  </form>
30803
31242
  `;
30804
31243
 
31244
+ exports[`Storyshots g/ExpandableLexicalPreview Base 1`] = `
31245
+ <div
31246
+ className="base expandable-lexical-preview y-paragraph"
31247
+ >
31248
+ <p
31249
+ className="title h2"
31250
+ >
31251
+ Task Instructions
31252
+ </p>
31253
+ <div
31254
+ className="base editor-input y-paragraph disabled"
31255
+ style={
31256
+ {
31257
+ "--resize": "vertical",
31258
+ "--rows": "10em",
31259
+ }
31260
+ }
31261
+ >
31262
+ <label
31263
+ className="base form-label x-paragraph"
31264
+ htmlFor="taskDescription"
31265
+ />
31266
+ <div
31267
+ aria-autocomplete="none"
31268
+ aria-readonly={true}
31269
+ className="content-editable"
31270
+ contentEditable={false}
31271
+ id="taskDescription"
31272
+ role="textbox"
31273
+ spellCheck={true}
31274
+ />
31275
+ </div>
31276
+ <button
31277
+ className="base button base expand-button ai-icon x-background-far modifierCompact"
31278
+ onClick={[Function]}
31279
+ type="button"
31280
+ >
31281
+ D
31282
+ </button>
31283
+ </div>
31284
+ `;
31285
+
30805
31286
  exports[`Storyshots r/SwitchRouteMap Base 1`] = `"This component does not need a visual test."`;
30806
31287
 
30807
31288
  exports[`Storyshots r/common/PrivateRoute Base 1`] = `"This component does not need a visual test."`;