@makeswift/runtime 0.8.10 → 0.8.11

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 (518) hide show
  1. package/dist/Box.cjs.js +6 -4
  2. package/dist/Box.cjs.js.map +1 -1
  3. package/dist/Box.es.js +6 -4
  4. package/dist/Box.es.js.map +1 -1
  5. package/dist/Button.cjs.js +6 -4
  6. package/dist/Button.cjs.js.map +1 -1
  7. package/dist/Button.es.js +6 -4
  8. package/dist/Button.es.js.map +1 -1
  9. package/dist/Carousel.cjs.js +9 -7
  10. package/dist/Carousel.cjs.js.map +1 -1
  11. package/dist/Carousel.es.js +9 -7
  12. package/dist/Carousel.es.js.map +1 -1
  13. package/dist/Countdown.cjs.js +6 -4
  14. package/dist/Countdown.cjs.js.map +1 -1
  15. package/dist/Countdown.es.js +6 -4
  16. package/dist/Countdown.es.js.map +1 -1
  17. package/dist/Divider.cjs.js +6 -4
  18. package/dist/Divider.cjs.js.map +1 -1
  19. package/dist/Divider.es.js +6 -4
  20. package/dist/Divider.es.js.map +1 -1
  21. package/dist/Embed.cjs.js +6 -4
  22. package/dist/Embed.cjs.js.map +1 -1
  23. package/dist/Embed.es.js +6 -4
  24. package/dist/Embed.es.js.map +1 -1
  25. package/dist/Form.cjs.js +6 -4
  26. package/dist/Form.cjs.js.map +1 -1
  27. package/dist/Form.es.js +6 -4
  28. package/dist/Form.es.js.map +1 -1
  29. package/dist/Image.cjs.js +6 -4
  30. package/dist/Image.cjs.js.map +1 -1
  31. package/dist/Image.es.js +6 -4
  32. package/dist/Image.es.js.map +1 -1
  33. package/dist/LiveProvider.cjs.js +8 -6
  34. package/dist/LiveProvider.cjs.js.map +1 -1
  35. package/dist/LiveProvider.es.js +7 -5
  36. package/dist/LiveProvider.es.js.map +1 -1
  37. package/dist/Navigation.cjs.js +6 -4
  38. package/dist/Navigation.cjs.js.map +1 -1
  39. package/dist/Navigation.es.js +6 -4
  40. package/dist/Navigation.es.js.map +1 -1
  41. package/dist/PreviewProvider.cjs.js +35 -33
  42. package/dist/PreviewProvider.cjs.js.map +1 -1
  43. package/dist/PreviewProvider.es.js +6 -4
  44. package/dist/PreviewProvider.es.js.map +1 -1
  45. package/dist/ReadOnlyText.cjs.js +65 -61
  46. package/dist/ReadOnlyText.cjs.js.map +1 -1
  47. package/dist/ReadOnlyText.es.js +11 -7
  48. package/dist/ReadOnlyText.es.js.map +1 -1
  49. package/dist/ReadOnlyTextV2.cjs.js +129 -85
  50. package/dist/ReadOnlyTextV2.cjs.js.map +1 -1
  51. package/dist/ReadOnlyTextV2.es.js +75 -31
  52. package/dist/ReadOnlyTextV2.es.js.map +1 -1
  53. package/dist/Root.cjs.js +6 -4
  54. package/dist/Root.cjs.js.map +1 -1
  55. package/dist/Root.es.js +6 -4
  56. package/dist/Root.es.js.map +1 -1
  57. package/dist/SocialLinks.cjs.js +6 -4
  58. package/dist/SocialLinks.cjs.js.map +1 -1
  59. package/dist/SocialLinks.es.js +6 -4
  60. package/dist/SocialLinks.es.js.map +1 -1
  61. package/dist/Text.cjs.js +7 -5
  62. package/dist/Text.cjs.js.map +1 -1
  63. package/dist/Text.es.js +7 -5
  64. package/dist/Text.es.js.map +1 -1
  65. package/dist/Video.cjs.js +6 -4
  66. package/dist/Video.cjs.js.map +1 -1
  67. package/dist/Video.es.js +6 -4
  68. package/dist/Video.es.js.map +1 -1
  69. package/dist/builder.cjs.js +7 -2
  70. package/dist/builder.cjs.js.map +1 -1
  71. package/dist/builder.es.js +7 -2
  72. package/dist/builder.es.js.map +1 -1
  73. package/dist/components.cjs.js +8 -6
  74. package/dist/components.cjs.js.map +1 -1
  75. package/dist/components.es.js +8 -6
  76. package/dist/components.es.js.map +1 -1
  77. package/dist/constants.cjs.js +0 -408
  78. package/dist/constants.cjs.js.map +1 -1
  79. package/dist/constants.es.js +1 -372
  80. package/dist/constants.es.js.map +1 -1
  81. package/dist/control-serialization.cjs.js +84 -41
  82. package/dist/control-serialization.cjs.js.map +1 -1
  83. package/dist/control-serialization.es.js +44 -1
  84. package/dist/control-serialization.es.js.map +1 -1
  85. package/dist/controls.cjs.js +59 -50
  86. package/dist/controls.cjs.js.map +1 -1
  87. package/dist/controls.es.js +9 -3
  88. package/dist/controls.es.js.map +1 -1
  89. package/dist/index.cjs.js +286 -282
  90. package/dist/index.cjs.js.map +1 -1
  91. package/dist/index.cjs10.js +371 -0
  92. package/dist/index.cjs10.js.map +1 -0
  93. package/dist/index.cjs2.js +10 -8
  94. package/dist/index.cjs2.js.map +1 -1
  95. package/dist/index.cjs5.js +107 -63
  96. package/dist/index.cjs5.js.map +1 -1
  97. package/dist/index.cjs6.js +7 -7
  98. package/dist/index.cjs6.js.map +1 -1
  99. package/dist/index.cjs7.js +69 -39
  100. package/dist/index.cjs7.js.map +1 -1
  101. package/dist/index.cjs8.js +14 -180
  102. package/dist/index.cjs8.js.map +1 -1
  103. package/dist/index.cjs9.js +152 -265
  104. package/dist/index.cjs9.js.map +1 -1
  105. package/dist/index.es.js +50 -46
  106. package/dist/index.es.js.map +1 -1
  107. package/dist/index.es10.js +364 -0
  108. package/dist/index.es10.js.map +1 -0
  109. package/dist/index.es2.js +5 -3
  110. package/dist/index.es2.js.map +1 -1
  111. package/dist/index.es5.js +70 -26
  112. package/dist/index.es5.js.map +1 -1
  113. package/dist/index.es6.js +5 -5
  114. package/dist/index.es6.js.map +1 -1
  115. package/dist/index.es7.js +68 -37
  116. package/dist/index.es7.js.map +1 -1
  117. package/dist/index.es8.js +13 -175
  118. package/dist/index.es8.js.map +1 -1
  119. package/dist/index.es9.js +149 -262
  120. package/dist/index.es9.js.map +1 -1
  121. package/dist/leaf.cjs.js +4 -4
  122. package/dist/leaf.cjs.js.map +1 -1
  123. package/dist/leaf.es.js +1 -1
  124. package/dist/leaf.es.js.map +1 -1
  125. package/dist/main.cjs.js +5 -4
  126. package/dist/main.cjs.js.map +1 -1
  127. package/dist/main.es.js +5 -4
  128. package/dist/main.es.js.map +1 -1
  129. package/dist/next.cjs.js +6 -4
  130. package/dist/next.cjs.js.map +1 -1
  131. package/dist/next.es.js +6 -4
  132. package/dist/next.es.js.map +1 -1
  133. package/dist/prop-controllers.cjs.js +11 -7
  134. package/dist/prop-controllers.cjs.js.map +1 -1
  135. package/dist/prop-controllers.es.js +7 -3
  136. package/dist/prop-controllers.es.js.map +1 -1
  137. package/dist/{descriptors.cjs.js → react-page.cjs.js} +899 -92
  138. package/dist/react-page.cjs.js.map +1 -0
  139. package/dist/{descriptors.es.js → react-page.es.js} +821 -70
  140. package/dist/react-page.es.js.map +1 -0
  141. package/dist/react.cjs.js +6 -4
  142. package/dist/react.cjs.js.map +1 -1
  143. package/dist/react.es.js +6 -4
  144. package/dist/react.es.js.map +1 -1
  145. package/dist/select.cjs.js +8 -0
  146. package/dist/select.cjs.js.map +1 -0
  147. package/dist/select.es.js +6 -0
  148. package/dist/select.es.js.map +1 -0
  149. package/dist/slate.cjs.js +15 -7
  150. package/dist/slate.cjs.js.map +1 -1
  151. package/dist/slate.es.js +7 -4
  152. package/dist/slate.es.js.map +1 -1
  153. package/dist/state/breakpoints.cjs.js.map +1 -1
  154. package/dist/state/breakpoints.es.js.map +1 -1
  155. package/dist/text-input.cjs.js +0 -6
  156. package/dist/text-input.cjs.js.map +1 -1
  157. package/dist/text-input.es.js +1 -5
  158. package/dist/text-input.es.js.map +1 -1
  159. package/dist/types/src/api/graphql/generated/types.d.ts +36 -36
  160. package/dist/types/src/api/graphql/generated/types.d.ts.map +1 -1
  161. package/dist/types/src/api/graphql/types.d.ts +2 -2
  162. package/dist/types/src/api/graphql/types.d.ts.map +1 -1
  163. package/dist/types/src/api/react.d.ts +3 -3
  164. package/dist/types/src/api/react.d.ts.map +1 -1
  165. package/dist/types/src/builder/serialization/control-serialization.d.ts +66 -66
  166. package/dist/types/src/builder/serialization/control-serialization.d.ts.map +1 -1
  167. package/dist/types/src/builder/serialization/controls/rich-text-v2.d.ts +5 -0
  168. package/dist/types/src/builder/serialization/controls/rich-text-v2.d.ts.map +1 -0
  169. package/dist/types/src/builder/serialization/controls/types.d.ts +3 -3
  170. package/dist/types/src/builder/serialization/controls/types.d.ts.map +1 -1
  171. package/dist/types/src/builder/serialization/function-serialization.d.ts +4 -4
  172. package/dist/types/src/builder/serialization/function-serialization.d.ts.map +1 -1
  173. package/dist/types/src/components/builtin/Box/animations.d.ts +1 -1
  174. package/dist/types/src/components/builtin/Box/animations.d.ts.map +1 -1
  175. package/dist/types/src/components/builtin/Box/components/Placeholder/index.d.ts +1 -1
  176. package/dist/types/src/components/builtin/Box/components/Placeholder/index.d.ts.map +1 -1
  177. package/dist/types/src/components/builtin/Box/constants.d.ts +1 -1
  178. package/dist/types/src/components/builtin/Box/constants.d.ts.map +1 -1
  179. package/dist/types/src/components/builtin/Button/Button.d.ts +3 -3
  180. package/dist/types/src/components/builtin/Button/Button.d.ts.map +1 -1
  181. package/dist/types/src/components/builtin/Button/contants.d.ts +1 -1
  182. package/dist/types/src/components/builtin/Button/contants.d.ts.map +1 -1
  183. package/dist/types/src/components/builtin/Carousel/Carousel.d.ts +1 -1
  184. package/dist/types/src/components/builtin/Carousel/Carousel.d.ts.map +1 -1
  185. package/dist/types/src/components/builtin/Countdown/Countdown.d.ts +1 -1
  186. package/dist/types/src/components/builtin/Countdown/Countdown.d.ts.map +1 -1
  187. package/dist/types/src/components/builtin/Divider/Divider.d.ts +2 -2
  188. package/dist/types/src/components/builtin/Divider/Divider.d.ts.map +1 -1
  189. package/dist/types/src/components/builtin/Embed/Embed.d.ts +1 -1
  190. package/dist/types/src/components/builtin/Embed/Embed.d.ts.map +1 -1
  191. package/dist/types/src/components/builtin/Form/Form.d.ts +2 -2
  192. package/dist/types/src/components/builtin/Form/Form.d.ts.map +1 -1
  193. package/dist/types/src/components/builtin/Form/components/Field/components/Checkbox/index.d.ts +2 -2
  194. package/dist/types/src/components/builtin/Form/components/Field/components/Checkbox/index.d.ts.map +1 -1
  195. package/dist/types/src/components/builtin/Form/components/Field/components/CheckboxTableField/index.d.ts +1 -1
  196. package/dist/types/src/components/builtin/Form/components/Field/components/CheckboxTableField/index.d.ts.map +1 -1
  197. package/dist/types/src/components/builtin/Form/components/Field/components/EmailTableField/index.d.ts +1 -1
  198. package/dist/types/src/components/builtin/Form/components/Field/components/EmailTableField/index.d.ts.map +1 -1
  199. package/dist/types/src/components/builtin/Form/components/Field/components/Input/index.d.ts +1 -1
  200. package/dist/types/src/components/builtin/Form/components/Field/components/Input/index.d.ts.map +1 -1
  201. package/dist/types/src/components/builtin/Form/components/Field/components/Label/index.d.ts +2 -2
  202. package/dist/types/src/components/builtin/Form/components/Field/components/Label/index.d.ts.map +1 -1
  203. package/dist/types/src/components/builtin/Form/components/Field/components/LongTextTableField/index.d.ts +1 -1
  204. package/dist/types/src/components/builtin/Form/components/Field/components/LongTextTableField/index.d.ts.map +1 -1
  205. package/dist/types/src/components/builtin/Form/components/Field/components/MultipleSelectTableField/index.d.ts +1 -1
  206. package/dist/types/src/components/builtin/Form/components/Field/components/MultipleSelectTableField/index.d.ts.map +1 -1
  207. package/dist/types/src/components/builtin/Form/components/Field/components/NumberTableField/index.d.ts +1 -1
  208. package/dist/types/src/components/builtin/Form/components/Field/components/NumberTableField/index.d.ts.map +1 -1
  209. package/dist/types/src/components/builtin/Form/components/Field/components/PhoneNumberTableField/index.d.ts +1 -1
  210. package/dist/types/src/components/builtin/Form/components/Field/components/PhoneNumberTableField/index.d.ts.map +1 -1
  211. package/dist/types/src/components/builtin/Form/components/Field/components/RadioButton/index.d.ts +1 -1
  212. package/dist/types/src/components/builtin/Form/components/Field/components/RadioButton/index.d.ts.map +1 -1
  213. package/dist/types/src/components/builtin/Form/components/Field/components/SingleLineTextTableField/index.d.ts +1 -1
  214. package/dist/types/src/components/builtin/Form/components/Field/components/SingleLineTextTableField/index.d.ts.map +1 -1
  215. package/dist/types/src/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnRadioButtonGroup/index.d.ts +1 -1
  216. package/dist/types/src/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnRadioButtonGroup/index.d.ts.map +1 -1
  217. package/dist/types/src/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnSingleSelect/index.d.ts +1 -1
  218. package/dist/types/src/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnSingleSelect/index.d.ts.map +1 -1
  219. package/dist/types/src/components/builtin/Form/components/Field/components/SingleSelectTableField/index.d.ts +1 -1
  220. package/dist/types/src/components/builtin/Form/components/Field/components/SingleSelectTableField/index.d.ts.map +1 -1
  221. package/dist/types/src/components/builtin/Form/components/Field/components/TextArea/index.d.ts +1 -1
  222. package/dist/types/src/components/builtin/Form/components/Field/components/TextArea/index.d.ts.map +1 -1
  223. package/dist/types/src/components/builtin/Form/components/Field/components/URLTableField/index.d.ts +1 -1
  224. package/dist/types/src/components/builtin/Form/components/Field/components/URLTableField/index.d.ts.map +1 -1
  225. package/dist/types/src/components/builtin/Form/components/Field/index.d.ts +2 -2
  226. package/dist/types/src/components/builtin/Form/components/Field/index.d.ts.map +1 -1
  227. package/dist/types/src/components/builtin/Form/components/Placeholder/index.d.ts +1 -1
  228. package/dist/types/src/components/builtin/Form/components/Placeholder/index.d.ts.map +1 -1
  229. package/dist/types/src/components/builtin/Form/context/FormContext.d.ts +5 -5
  230. package/dist/types/src/components/builtin/Form/context/FormContext.d.ts.map +1 -1
  231. package/dist/types/src/components/builtin/Form/types.d.ts +13 -13
  232. package/dist/types/src/components/builtin/Form/types.d.ts.map +1 -1
  233. package/dist/types/src/components/builtin/Image/Image.d.ts +1 -1
  234. package/dist/types/src/components/builtin/Image/Image.d.ts.map +1 -1
  235. package/dist/types/src/components/builtin/Navigation/Navigation.d.ts +1 -1
  236. package/dist/types/src/components/builtin/Navigation/Navigation.d.ts.map +1 -1
  237. package/dist/types/src/components/builtin/Navigation/components/DropDownButton/index.d.ts +3 -3
  238. package/dist/types/src/components/builtin/Navigation/components/DropDownButton/index.d.ts.map +1 -1
  239. package/dist/types/src/components/builtin/Navigation/components/LinksPlaceholder/index.d.ts +1 -1
  240. package/dist/types/src/components/builtin/Navigation/components/LinksPlaceholder/index.d.ts.map +1 -1
  241. package/dist/types/src/components/builtin/Navigation/components/MobileMenu/components/MobileDropDownButton/index.d.ts +3 -3
  242. package/dist/types/src/components/builtin/Navigation/components/MobileMenu/components/MobileDropDownButton/index.d.ts.map +1 -1
  243. package/dist/types/src/components/builtin/Navigation/components/MobileMenu/index.d.ts +1 -1
  244. package/dist/types/src/components/builtin/Navigation/components/MobileMenu/index.d.ts.map +1 -1
  245. package/dist/types/src/components/builtin/Root/Root.d.ts +1 -1
  246. package/dist/types/src/components/builtin/Root/Root.d.ts.map +1 -1
  247. package/dist/types/src/components/builtin/SocialLinks/SocialLinks.d.ts +1 -1
  248. package/dist/types/src/components/builtin/SocialLinks/SocialLinks.d.ts.map +1 -1
  249. package/dist/types/src/components/builtin/SocialLinks/components/SocialLinksPlaceholder/index.d.ts +1 -1
  250. package/dist/types/src/components/builtin/SocialLinks/components/SocialLinksPlaceholder/index.d.ts.map +1 -1
  251. package/dist/types/src/components/builtin/Text/EditableText/editable-text.d.ts +1 -1
  252. package/dist/types/src/components/builtin/Text/EditableText/editable-text.d.ts.map +1 -1
  253. package/dist/types/src/components/builtin/Text/ReadOnlyText.d.ts +3 -3
  254. package/dist/types/src/components/builtin/Text/ReadOnlyText.d.ts.map +1 -1
  255. package/dist/types/src/components/builtin/Text/Text.d.ts +1 -1
  256. package/dist/types/src/components/builtin/Text/Text.d.ts.map +1 -1
  257. package/dist/types/src/components/builtin/Text/components/Element/block.d.ts +2 -2
  258. package/dist/types/src/components/builtin/Text/components/Element/block.d.ts.map +1 -1
  259. package/dist/types/src/components/builtin/Text/components/Element/inline.d.ts +1 -1
  260. package/dist/types/src/components/builtin/Text/components/Element/inline.d.ts.map +1 -1
  261. package/dist/types/src/components/builtin/Text/components/Leaf/leaf.d.ts +5 -5
  262. package/dist/types/src/components/builtin/Text/components/Leaf/leaf.d.ts.map +1 -1
  263. package/dist/types/src/components/builtin/Video/Video.d.ts +1 -1
  264. package/dist/types/src/components/builtin/Video/Video.d.ts.map +1 -1
  265. package/dist/types/src/components/hooks/useBackgrounds.d.ts +8 -8
  266. package/dist/types/src/components/hooks/useBackgrounds.d.ts.map +1 -1
  267. package/dist/types/src/components/hooks/useBorder.d.ts +3 -3
  268. package/dist/types/src/components/hooks/useBorder.d.ts.map +1 -1
  269. package/dist/types/src/components/hooks/useBoxShadow.d.ts +3 -3
  270. package/dist/types/src/components/hooks/useBoxShadow.d.ts.map +1 -1
  271. package/dist/types/src/components/page/BodySnippet.d.ts +1 -1
  272. package/dist/types/src/components/page/BodySnippet.d.ts.map +1 -1
  273. package/dist/types/src/components/page/Page.d.ts +1 -1
  274. package/dist/types/src/components/page/Page.d.ts.map +1 -1
  275. package/dist/types/src/components/shared/BackgroundsContainer/components/BackgroundVideo/index.d.ts +1 -1
  276. package/dist/types/src/components/shared/BackgroundsContainer/components/BackgroundVideo/index.d.ts.map +1 -1
  277. package/dist/types/src/components/shared/BackgroundsContainer/components/Backgrounds/index.d.ts +1 -1
  278. package/dist/types/src/components/shared/BackgroundsContainer/components/Backgrounds/index.d.ts.map +1 -1
  279. package/dist/types/src/components/shared/BackgroundsContainer/components/Parallax/index.d.ts +1 -1
  280. package/dist/types/src/components/shared/BackgroundsContainer/components/Parallax/index.d.ts.map +1 -1
  281. package/dist/types/src/components/shared/BackgroundsContainer/index.d.ts +1 -1
  282. package/dist/types/src/components/shared/BackgroundsContainer/index.d.ts.map +1 -1
  283. package/dist/types/src/components/shared/FallbackComponent/FallbackComponent.d.ts +1 -1
  284. package/dist/types/src/components/shared/FallbackComponent/FallbackComponent.d.ts.map +1 -1
  285. package/dist/types/src/components/shared/GutterContainer/index.d.ts +2 -2
  286. package/dist/types/src/components/shared/GutterContainer/index.d.ts.map +1 -1
  287. package/dist/types/src/components/shared/Link/index.d.ts +1 -1
  288. package/dist/types/src/components/shared/Link/index.d.ts.map +1 -1
  289. package/dist/types/src/components/shared/grid-item.d.ts +2 -2
  290. package/dist/types/src/components/shared/grid-item.d.ts.map +1 -1
  291. package/dist/types/src/components/utils/drop-first.d.ts +1 -1
  292. package/dist/types/src/components/utils/drop-first.d.ts.map +1 -1
  293. package/dist/types/src/components/utils/types.d.ts +2 -2
  294. package/dist/types/src/components/utils/types.d.ts.map +1 -1
  295. package/dist/types/src/controls/checkbox.d.ts +3 -3
  296. package/dist/types/src/controls/checkbox.d.ts.map +1 -1
  297. package/dist/types/src/controls/color.d.ts +3 -3
  298. package/dist/types/src/controls/color.d.ts.map +1 -1
  299. package/dist/types/src/controls/combobox.d.ts +5 -5
  300. package/dist/types/src/controls/combobox.d.ts.map +1 -1
  301. package/dist/types/src/controls/control.d.ts +6 -4
  302. package/dist/types/src/controls/control.d.ts.map +1 -1
  303. package/dist/types/src/controls/image.d.ts +4 -4
  304. package/dist/types/src/controls/image.d.ts.map +1 -1
  305. package/dist/types/src/controls/link.d.ts +8 -8
  306. package/dist/types/src/controls/link.d.ts.map +1 -1
  307. package/dist/types/src/controls/list.d.ts +6 -6
  308. package/dist/types/src/controls/list.d.ts.map +1 -1
  309. package/dist/types/src/controls/number.d.ts +3 -3
  310. package/dist/types/src/controls/number.d.ts.map +1 -1
  311. package/dist/types/src/controls/rich-text/dto-types.d.ts +4 -4
  312. package/dist/types/src/controls/rich-text/dto-types.d.ts.map +1 -1
  313. package/dist/types/src/controls/rich-text/rich-text.d.ts +11 -11
  314. package/dist/types/src/controls/rich-text/rich-text.d.ts.map +1 -1
  315. package/dist/types/src/controls/rich-text/translation.d.ts +1 -1
  316. package/dist/types/src/controls/rich-text/translation.d.ts.map +1 -1
  317. package/dist/types/src/controls/rich-text-v2/rich-text-v2.d.ts +38 -17
  318. package/dist/types/src/controls/rich-text-v2/rich-text-v2.d.ts.map +1 -1
  319. package/dist/types/src/controls/select.d.ts +5 -5
  320. package/dist/types/src/controls/select.d.ts.map +1 -1
  321. package/dist/types/src/controls/shape.d.ts +5 -5
  322. package/dist/types/src/controls/shape.d.ts.map +1 -1
  323. package/dist/types/src/controls/slot.d.ts +17 -8
  324. package/dist/types/src/controls/slot.d.ts.map +1 -1
  325. package/dist/types/src/controls/style.d.ts +18 -18
  326. package/dist/types/src/controls/style.d.ts.map +1 -1
  327. package/dist/types/src/controls/text-area.d.ts +3 -3
  328. package/dist/types/src/controls/text-area.d.ts.map +1 -1
  329. package/dist/types/src/controls/text-input.d.ts +3 -3
  330. package/dist/types/src/controls/text-input.d.ts.map +1 -1
  331. package/dist/types/src/controls/types.d.ts +5 -5
  332. package/dist/types/src/controls/types.d.ts.map +1 -1
  333. package/dist/types/src/css/border-radius.d.ts +2 -2
  334. package/dist/types/src/css/border-radius.d.ts.map +1 -1
  335. package/dist/types/src/css/border.d.ts +2 -2
  336. package/dist/types/src/css/border.d.ts.map +1 -1
  337. package/dist/types/src/css/length-percentage.d.ts +2 -2
  338. package/dist/types/src/css/length-percentage.d.ts.map +1 -1
  339. package/dist/types/src/css/length.d.ts +1 -1
  340. package/dist/types/src/css/length.d.ts.map +1 -1
  341. package/dist/types/src/css/margin.d.ts +2 -2
  342. package/dist/types/src/css/margin.d.ts.map +1 -1
  343. package/dist/types/src/css/padding.d.ts +2 -2
  344. package/dist/types/src/css/padding.d.ts.map +1 -1
  345. package/dist/types/src/next/api-handler/handlers/element-tree.d.ts +3 -3
  346. package/dist/types/src/next/api-handler/handlers/element-tree.d.ts.map +1 -1
  347. package/dist/types/src/next/api-handler/handlers/fonts.d.ts +5 -5
  348. package/dist/types/src/next/api-handler/handlers/fonts.d.ts.map +1 -1
  349. package/dist/types/src/next/api-handler/handlers/manifest.d.ts +3 -3
  350. package/dist/types/src/next/api-handler/handlers/manifest.d.ts.map +1 -1
  351. package/dist/types/src/next/api-handler/handlers/proxy-preview-mode.d.ts +2 -2
  352. package/dist/types/src/next/api-handler/handlers/proxy-preview-mode.d.ts.map +1 -1
  353. package/dist/types/src/next/api-handler/handlers/revalidate.d.ts +3 -3
  354. package/dist/types/src/next/api-handler/handlers/revalidate.d.ts.map +1 -1
  355. package/dist/types/src/next/api-handler/index.d.ts +3 -3
  356. package/dist/types/src/next/api-handler/index.d.ts.map +1 -1
  357. package/dist/types/src/next/client.d.ts +8 -8
  358. package/dist/types/src/next/client.d.ts.map +1 -1
  359. package/dist/types/src/next/dynamic.d.ts +4 -4
  360. package/dist/types/src/next/dynamic.d.ts.map +1 -1
  361. package/dist/types/src/next/index.d.ts +2 -2
  362. package/dist/types/src/next/index.d.ts.map +1 -1
  363. package/dist/types/src/next/preview-mode.d.ts +2 -2
  364. package/dist/types/src/next/preview-mode.d.ts.map +1 -1
  365. package/dist/types/src/prop-controllers/descriptors.d.ts +179 -179
  366. package/dist/types/src/prop-controllers/descriptors.d.ts.map +1 -1
  367. package/dist/types/src/prop-controllers/instances.d.ts +17 -17
  368. package/dist/types/src/prop-controllers/instances.d.ts.map +1 -1
  369. package/dist/types/src/runtimes/react/components/LiveProvider.d.ts +1 -1
  370. package/dist/types/src/runtimes/react/components/LiveProvider.d.ts.map +1 -1
  371. package/dist/types/src/runtimes/react/components/PreviewProvider.d.ts +1 -1
  372. package/dist/types/src/runtimes/react/components/PreviewProvider.d.ts.map +1 -1
  373. package/dist/types/src/runtimes/react/components/render-hook.d.ts +1 -1
  374. package/dist/types/src/runtimes/react/components/render-hook.d.ts.map +1 -1
  375. package/dist/types/src/runtimes/react/controls/checkbox.d.ts +1 -1
  376. package/dist/types/src/runtimes/react/controls/checkbox.d.ts.map +1 -1
  377. package/dist/types/src/runtimes/react/controls/color.d.ts +1 -1
  378. package/dist/types/src/runtimes/react/controls/color.d.ts.map +1 -1
  379. package/dist/types/src/runtimes/react/controls/combobox.d.ts +1 -1
  380. package/dist/types/src/runtimes/react/controls/combobox.d.ts.map +1 -1
  381. package/dist/types/src/runtimes/react/controls/control.d.ts +2 -2
  382. package/dist/types/src/runtimes/react/controls/control.d.ts.map +1 -1
  383. package/dist/types/src/runtimes/react/controls/image.d.ts +3 -3
  384. package/dist/types/src/runtimes/react/controls/image.d.ts.map +1 -1
  385. package/dist/types/src/runtimes/react/controls/link.d.ts +2 -2
  386. package/dist/types/src/runtimes/react/controls/link.d.ts.map +1 -1
  387. package/dist/types/src/runtimes/react/controls/list.d.ts +3 -3
  388. package/dist/types/src/runtimes/react/controls/list.d.ts.map +1 -1
  389. package/dist/types/src/runtimes/react/controls/number.d.ts +1 -1
  390. package/dist/types/src/runtimes/react/controls/number.d.ts.map +1 -1
  391. package/dist/types/src/runtimes/react/controls/rich-text-v2/EditableTextV2/editable-text-v2.d.ts +3 -3
  392. package/dist/types/src/runtimes/react/controls/rich-text-v2/EditableTextV2/editable-text-v2.d.ts.map +1 -1
  393. package/dist/types/src/runtimes/react/controls/rich-text-v2/ReadOnlyTextV2.d.ts +7 -4
  394. package/dist/types/src/runtimes/react/controls/rich-text-v2/ReadOnlyTextV2.d.ts.map +1 -1
  395. package/dist/types/src/runtimes/react/controls/rich-text-v2/rich-text-v2.d.ts +2 -2
  396. package/dist/types/src/runtimes/react/controls/rich-text-v2/rich-text-v2.d.ts.map +1 -1
  397. package/dist/types/src/runtimes/react/controls/rich-text.d.ts +2 -2
  398. package/dist/types/src/runtimes/react/controls/rich-text.d.ts.map +1 -1
  399. package/dist/types/src/runtimes/react/controls/select.d.ts +1 -1
  400. package/dist/types/src/runtimes/react/controls/select.d.ts.map +1 -1
  401. package/dist/types/src/runtimes/react/controls/shape.d.ts +2 -2
  402. package/dist/types/src/runtimes/react/controls/shape.d.ts.map +1 -1
  403. package/dist/types/src/runtimes/react/controls/slot.d.ts +4 -4
  404. package/dist/types/src/runtimes/react/controls/slot.d.ts.map +1 -1
  405. package/dist/types/src/runtimes/react/controls/style.d.ts +1 -1
  406. package/dist/types/src/runtimes/react/controls/style.d.ts.map +1 -1
  407. package/dist/types/src/runtimes/react/controls/text-area.d.ts +1 -1
  408. package/dist/types/src/runtimes/react/controls/text-area.d.ts.map +1 -1
  409. package/dist/types/src/runtimes/react/controls/text-input.d.ts +1 -1
  410. package/dist/types/src/runtimes/react/controls/text-input.d.ts.map +1 -1
  411. package/dist/types/src/runtimes/react/controls.d.ts +8 -8
  412. package/dist/types/src/runtimes/react/controls.d.ts.map +1 -1
  413. package/dist/types/src/runtimes/react/element-imperative-handle.d.ts +1 -1
  414. package/dist/types/src/runtimes/react/element-imperative-handle.d.ts.map +1 -1
  415. package/dist/types/src/runtimes/react/find-dom-node.d.ts +1 -1
  416. package/dist/types/src/runtimes/react/find-dom-node.d.ts.map +1 -1
  417. package/dist/types/src/runtimes/react/index.d.ts +7 -7
  418. package/dist/types/src/runtimes/react/index.d.ts.map +1 -1
  419. package/dist/types/src/slate/BlockPlugin/index.d.ts +33 -2
  420. package/dist/types/src/slate/BlockPlugin/index.d.ts.map +1 -1
  421. package/dist/types/src/slate/BlockPlugin/setBlockKeyForDevice.d.ts +1 -1
  422. package/dist/types/src/slate/BlockPlugin/setBlockKeyForDevice.d.ts.map +1 -1
  423. package/dist/types/src/slate/BlockPlugin/types.d.ts +3 -3
  424. package/dist/types/src/slate/BlockPlugin/types.d.ts.map +1 -1
  425. package/dist/types/src/slate/BlockPlugin/unwrapInline.d.ts +1 -1
  426. package/dist/types/src/slate/BlockPlugin/unwrapInline.d.ts.map +1 -1
  427. package/dist/types/src/slate/BlockPlugin/wrapInline.d.ts +1 -1
  428. package/dist/types/src/slate/BlockPlugin/wrapInline.d.ts.map +1 -1
  429. package/dist/types/src/slate/BuilderPlugin/index.d.ts +1 -1
  430. package/dist/types/src/slate/BuilderPlugin/index.d.ts.map +1 -1
  431. package/dist/types/src/slate/InlineModePlugin/index.d.ts +6 -2
  432. package/dist/types/src/slate/InlineModePlugin/index.d.ts.map +1 -1
  433. package/dist/types/src/slate/ListPlugin/index.d.ts +2 -2
  434. package/dist/types/src/slate/ListPlugin/index.d.ts.map +1 -1
  435. package/dist/types/src/slate/ListPlugin/toggleList.d.ts +2 -2
  436. package/dist/types/src/slate/ListPlugin/toggleList.d.ts.map +1 -1
  437. package/dist/types/src/slate/ListPlugin/unwrapList.d.ts +1 -1
  438. package/dist/types/src/slate/ListPlugin/unwrapList.d.ts.map +1 -1
  439. package/dist/types/src/slate/ListPlugin/wrapList.d.ts +2 -2
  440. package/dist/types/src/slate/ListPlugin/wrapList.d.ts.map +1 -1
  441. package/dist/types/src/slate/TypographyPlugin/clearActiveTypographyStyle.d.ts +1 -1
  442. package/dist/types/src/slate/TypographyPlugin/clearActiveTypographyStyle.d.ts.map +1 -1
  443. package/dist/types/src/slate/TypographyPlugin/clearDeviceActiveTypography.d.ts +1 -1
  444. package/dist/types/src/slate/TypographyPlugin/clearDeviceActiveTypography.d.ts.map +1 -1
  445. package/dist/types/src/slate/TypographyPlugin/detachActiveTypography.d.ts +2 -2
  446. package/dist/types/src/slate/TypographyPlugin/detachActiveTypography.d.ts.map +1 -1
  447. package/dist/types/src/slate/TypographyPlugin/index.d.ts +2 -2
  448. package/dist/types/src/slate/TypographyPlugin/index.d.ts.map +1 -1
  449. package/dist/types/src/slate/TypographyPlugin/setActiveTypographyId.d.ts +1 -1
  450. package/dist/types/src/slate/TypographyPlugin/setActiveTypographyId.d.ts.map +1 -1
  451. package/dist/types/src/slate/TypographyPlugin/setActiveTypographyStyle.d.ts +1 -1
  452. package/dist/types/src/slate/TypographyPlugin/setActiveTypographyStyle.d.ts.map +1 -1
  453. package/dist/types/src/slate/index.d.ts +1 -0
  454. package/dist/types/src/slate/index.d.ts.map +1 -1
  455. package/dist/types/src/slate/selectors.d.ts +1 -1
  456. package/dist/types/src/slate/selectors.d.ts.map +1 -1
  457. package/dist/types/{types/slate.d.ts → src/slate/types.d.ts} +42 -35
  458. package/dist/types/src/slate/types.d.ts.map +1 -0
  459. package/dist/types/src/slate/utils/editor.d.ts +1 -1
  460. package/dist/types/src/slate/utils/editor.d.ts.map +1 -1
  461. package/dist/types/src/slate/utils/element.d.ts +1 -1
  462. package/dist/types/src/slate/utils/element.d.ts.map +1 -1
  463. package/dist/types/src/state/actions.d.ts +41 -41
  464. package/dist/types/src/state/actions.d.ts.map +1 -1
  465. package/dist/types/src/state/makeswift-api-client.d.ts +5 -5
  466. package/dist/types/src/state/makeswift-api-client.d.ts.map +1 -1
  467. package/dist/types/src/state/modules/api-resources.d.ts +2 -2
  468. package/dist/types/src/state/modules/api-resources.d.ts.map +1 -1
  469. package/dist/types/src/state/modules/box-models.d.ts +2 -2
  470. package/dist/types/src/state/modules/box-models.d.ts.map +1 -1
  471. package/dist/types/src/state/modules/breakpoints.d.ts +9 -9
  472. package/dist/types/src/state/modules/breakpoints.d.ts.map +1 -1
  473. package/dist/types/src/state/modules/builder-edit-mode.d.ts +2 -2
  474. package/dist/types/src/state/modules/builder-edit-mode.d.ts.map +1 -1
  475. package/dist/types/src/state/modules/components-meta.d.ts +3 -3
  476. package/dist/types/src/state/modules/components-meta.d.ts.map +1 -1
  477. package/dist/types/src/state/modules/element-imperative-handles.d.ts +1 -1
  478. package/dist/types/src/state/modules/element-imperative-handles.d.ts.map +1 -1
  479. package/dist/types/src/state/modules/is-in-builder.d.ts +1 -1
  480. package/dist/types/src/state/modules/is-in-builder.d.ts.map +1 -1
  481. package/dist/types/src/state/modules/is-preview.d.ts +1 -1
  482. package/dist/types/src/state/modules/is-preview.d.ts.map +1 -1
  483. package/dist/types/src/state/modules/pointer.d.ts +2 -2
  484. package/dist/types/src/state/modules/pointer.d.ts.map +1 -1
  485. package/dist/types/src/state/modules/prop-controller-handles.d.ts +1 -1
  486. package/dist/types/src/state/modules/prop-controller-handles.d.ts.map +1 -1
  487. package/dist/types/src/state/modules/prop-controllers.d.ts +1 -1
  488. package/dist/types/src/state/modules/prop-controllers.d.ts.map +1 -1
  489. package/dist/types/src/state/modules/react-components.d.ts +2 -2
  490. package/dist/types/src/state/modules/react-components.d.ts.map +1 -1
  491. package/dist/types/src/state/modules/read-only-documents.d.ts +7 -7
  492. package/dist/types/src/state/modules/read-only-documents.d.ts.map +1 -1
  493. package/dist/types/src/state/modules/read-write-documents.d.ts +1 -1
  494. package/dist/types/src/state/modules/read-write-documents.d.ts.map +1 -1
  495. package/dist/types/src/state/react-builder-preview.d.ts +5 -6
  496. package/dist/types/src/state/react-builder-preview.d.ts.map +1 -1
  497. package/dist/types/src/state/react-page.d.ts +10 -6
  498. package/dist/types/src/state/react-page.d.ts.map +1 -1
  499. package/dist/types/src/state/react-page.test.d.ts +3 -0
  500. package/dist/types/src/state/react-page.test.d.ts.map +1 -0
  501. package/dist/types/src/utils/isErrorWithMessage.d.ts +1 -1
  502. package/dist/types/src/utils/isErrorWithMessage.d.ts.map +1 -1
  503. package/package.json +4 -3
  504. package/dist/descriptors.cjs.js.map +0 -1
  505. package/dist/descriptors.es.js.map +0 -1
  506. package/dist/element.cjs.js +0 -55
  507. package/dist/element.cjs.js.map +0 -1
  508. package/dist/element.es.js +0 -54
  509. package/dist/element.es.js.map +0 -1
  510. package/dist/introspection.cjs.js +0 -329
  511. package/dist/introspection.cjs.js.map +0 -1
  512. package/dist/introspection.es.js +0 -315
  513. package/dist/introspection.es.js.map +0 -1
  514. package/dist/slate.cjs2.js +0 -46
  515. package/dist/slate.cjs2.js.map +0 -1
  516. package/dist/slate.es2.js +0 -44
  517. package/dist/slate.es2.js.map +0 -1
  518. package/dist/types/types/slate.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Navigation.es.js","sources":["../src/components/icons/mobile-menu-28.svg","../src/components/builtin/Navigation/components/LinksPlaceholder/index.tsx","../src/components/icons/caret-down-8.svg","../src/components/icons/plus-8.svg","../src/components/icons/arrow-down-8.svg","../src/components/icons/chevron-down-8.svg","../src/components/builtin/Navigation/components/DropDownButton/index.tsx","../src/components/icons/times-16.svg","../src/components/builtin/Navigation/components/MobileMenu/components/MobileDropDownButton/index.tsx","../src/components/builtin/Navigation/components/MobileMenu/index.tsx","../src/components/builtin/Navigation/Navigation.tsx"],"sourcesContent":["export default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyOCIgaGVpZ2h0PSIyOCI+CiAgPHBhdGggZD0iTTI3IDE1SDFhMSAxIDAgMCAxLTEtMSAxIDEgMCAwIDEgMS0xaDI2YTEgMSAwIDAgMSAxIDEgMSAxIDAgMCAxLTEgMXptMC0xMEgxYTEgMSAwIDAgMC0xIDEgMSAxIDAgMCAwIDEgMWgyNmExIDEgMCAwIDAgMS0xIDEgMSAwIDAgMC0xLTF6bTAgMTZIMWExIDEgMCAwIDAtMSAxIDEgMSAwIDAgMCAxIDFoMjZhMSAxIDAgMCAwIDEtMSAxIDEgMCAwIDAtMS0xeiIvPgo8L3N2Zz4=\"","import { ResponsiveLengthValue } from '../../../../../prop-controllers/descriptors'\nimport { useStyle } from '../../../../../runtimes/react/use-style'\nimport GutterContainer from '../../../../shared/GutterContainer'\n\ntype PlaceholderLinkProps = {\n width: number\n button?: boolean\n}\n\nfunction PlaceholderLink({ width, button }: PlaceholderLinkProps) {\n return (\n <div\n className={useStyle({\n width,\n height: button === true ? 32 : 8,\n backgroundColor: '#a1a8c2',\n borderRadius: button === true ? 6 : 2,\n opacity: 0.4,\n })}\n />\n )\n}\n\ntype Props = { gutter?: ResponsiveLengthValue }\n\nconst links = [{ width: 50 }, { width: 70 }, { width: 60 }, { width: 80, button: true }]\n\nexport default function LinksPlaceholder({ gutter }: Props): JSX.Element {\n return (\n <>\n {links.map((link, i) => (\n <GutterContainer key={i} gutter={gutter} first={i === 0} last={i === links.length - 1}>\n <PlaceholderLink {...link} />\n </GutterContainer>\n ))}\n </>\n )\n}\n","export default \"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xIDJhMSAxIDAgMCAwLS43MDcgMS43MDdsMyAzYTEgMSAwIDAgMCAxLjQxNCAwbDMtM0ExIDEgMCAwIDAgNyAySDF6Ii8+PC9zdmc+\"","export default \"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik00IDBhMSAxIDAgMCAwLTEgMXYySDFhMSAxIDAgMSAwIDAgMmgydjJhMSAxIDAgMCAwIDIgMFY1aDJhMSAxIDAgMCAwIDAtMkg1VjFhMSAxIDAgMCAwLTEtMXoiLz48L3N2Zz4=\"","export default \"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik01IDFhMSAxIDAgMCAwLTIgMHYzLjU4NmwtLjI5My0uMjkzYTEgMSAwIDAgMC0xLjQxNCAxLjQxNGwyIDJhMSAxIDAgMCAwIDEuNDE0IDBsMi0yYTEgMSAwIDAgMC0xLjQxNC0xLjQxNEw1IDQuNTg2VjF6Ii8+PC9zdmc+\"","export default \"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNLjI5MyAyLjI5M2ExIDEgMCAwIDEgMS40MTQgMEw0IDQuNTg2bDIuMjkzLTIuMjkzYTEgMSAwIDAgMSAxLjQxNCAxLjQxNGwtMyAzYTEgMSAwIDAgMS0xLjQxNCAwbC0zLTNhMSAxIDAgMCAxIDAtMS40MTR6Ii8+PC9zdmc+\"","import { ComponentPropsWithoutRef, ForwardedRef, forwardRef, useRef, useState } from 'react'\n\nimport { ReactComponent as CaretDown8 } from '../../../../icons/caret-down-8.svg'\nimport { ReactComponent as Plus8 } from '../../../../icons/plus-8.svg'\nimport { ReactComponent as ArrowDown8 } from '../../../../icons/arrow-down-8.svg'\nimport { ReactComponent as ChevronDown8 } from '../../../../icons/chevron-down-8.svg'\nimport {\n ResponsiveColorValue,\n TextStyleValue,\n LinkValue,\n} from '../../../../../prop-controllers/descriptors'\nimport { colorToString } from '../../../../utils/colorToString'\nimport { useResponsiveColor } from '../../../../hooks'\n\nimport { Link } from '../../../../shared/Link'\nimport Button from '../../../Button'\nimport { useIsomorphicLayoutEffect } from '../../../../hooks/useIsomorphicLayoutEffect'\nimport { cx, keyframes } from '@emotion/css'\nimport { useStyle } from '../../../../../runtimes/react/use-style'\nimport { useResponsiveStyle, useResponsiveTextStyle } from '../../../../utils/responsive-style'\n\nconst DROP_DOWN_MENU_WIDTH = 200\n\ntype Position = 'left' | 'right'\n\nconst DROP_DOWN_MENU_CLASS_NAME = 'drop-down-menu'\n\ntype DropDownMenuBaseProps = {\n position: Position\n}\n\ntype DropDownMenuProps = DropDownMenuBaseProps &\n Omit<ComponentPropsWithoutRef<'div'>, keyof DropDownMenuBaseProps>\n\nfunction DropDownMenu({ className, position, ...restOfProps }: DropDownMenuProps) {\n return (\n <div\n {...restOfProps}\n className={cx(\n DROP_DOWN_MENU_CLASS_NAME,\n useStyle({\n position: 'absolute',\n top: '100%',\n left: position === 'left' ? 0 : 'auto',\n right: position === 'right' ? 0 : 'auto',\n background: '#fff',\n margin: 0,\n padding: '8px 0',\n borderRadius: 4,\n boxShadow: '0 3px 10px rgba(0, 0, 0, 0.15)',\n width: DROP_DOWN_MENU_WIDTH,\n zIndex: 99,\n listStyle: 'none',\n overflow: 'hidden',\n transformOrigin: '50% 0',\n willChange: 'transform, opacity',\n transformStyle: 'preserve-3d',\n display: 'none',\n }),\n className,\n )}\n />\n )\n}\n\nconst dropIn = keyframes`\n 0% {\n opacity: 0;\n transform: rotateX(-20deg);\n }\n 100% {\n opacity: 1;\n transform: none;\n }\n`\n\ntype DropDownContainerProps = ComponentPropsWithoutRef<'div'>\n\nconst DropDownContainer = forwardRef(function DropDownContainer(\n { className, ...restOfProps }: DropDownContainerProps,\n ref: ForwardedRef<HTMLDivElement>,\n) {\n return (\n <div\n {...restOfProps}\n ref={ref}\n className={cx(\n useStyle({\n position: 'relative',\n [`&:hover .${DROP_DOWN_MENU_CLASS_NAME}`]: {\n display: 'block',\n animation: `${dropIn} 0.25s`,\n },\n }),\n className,\n )}\n />\n )\n})\n\ntype BaseDropDownItemProps = {\n className?: string\n color?: ResponsiveColorValue\n textStyle?: TextStyleValue\n}\n\ntype DropDownItemProps = BaseDropDownItemProps &\n Omit<ComponentPropsWithoutRef<typeof Link>, keyof BaseDropDownItemProps>\n\nfunction DropDownItem({ className, color, textStyle, ...restOfProps }: DropDownItemProps) {\n const colorData = useResponsiveColor(color)\n\n return (\n <Link\n {...restOfProps}\n className={cx(\n useStyle({\n display: 'block',\n textDecoration: 'none',\n lineHeight: 1.4,\n padding: '8px 16px',\n color: 'black',\n backgroundColor: 'transparent',\n transition: 'background-color 0.2s',\n }),\n useStyle(useResponsiveTextStyle(textStyle)),\n useStyle(\n useResponsiveStyle([colorData, textStyle] as const, ([color, textStyle = {}]) => {\n const fontSize = textStyle.fontSize || { value: 14, unit: 'px' }\n const fontWeight = textStyle.fontWeight == null ? 'normal' : textStyle.fontWeight\n const fontStyle = textStyle.fontStyle || []\n const letterSpacing = textStyle.letterSpacing == null ? null : textStyle.letterSpacing\n const textTransform = textStyle.textTransform || []\n\n return {\n color: color == null ? 'black' : colorToString(color),\n fontSize: `${fontSize.value}${fontSize.unit}`,\n fontWeight,\n fontStyle: fontStyle.includes('italic') ? 'italic' : 'normal',\n letterSpacing: letterSpacing == null ? 'normal' : `${letterSpacing}px`,\n textTransform: textTransform.includes('uppercase') ? 'uppercase' : 'none',\n }\n }),\n ),\n useStyle({\n '&:hover': {\n backgroundColor: 'rgba(0, 0, 0, 0.04)',\n },\n }),\n className,\n )}\n />\n )\n}\n\ntype Props = Omit<ComponentPropsWithoutRef<typeof Button>, 'textColor' | 'color'> & {\n label: string\n caret?: 'caret' | 'plus' | 'arrow-down' | 'chevron-down'\n links?: Array<{\n id: string\n payload: ComponentPropsWithoutRef<typeof DropDownItem> & {\n link?: LinkValue\n label: string\n }\n }>\n textColor?: ResponsiveColorValue\n color?: ResponsiveColorValue\n}\n\nexport default function DropDownButton({\n label,\n caret = 'caret',\n links = [],\n textColor,\n color,\n ...restOfProps\n}: Props): JSX.Element {\n const container = useRef<HTMLDivElement>(null)\n const [position, setPosition] = useState<Position>('left')\n\n useIsomorphicLayoutEffect(() => {\n if (\n container.current &&\n container.current.ownerDocument.defaultView!.innerWidth <\n container.current.offsetLeft + DROP_DOWN_MENU_WIDTH\n ) {\n setPosition('right')\n } else {\n setPosition('left')\n }\n }, [setPosition])\n\n return (\n <DropDownContainer ref={container}>\n <Button\n {...restOfProps}\n textColor={useResponsiveColor(textColor)}\n color={useResponsiveColor(color)}\n >\n <div style={{ display: 'flex', alignItems: 'center' }}>\n <span style={{ marginRight: 6 }}>{label}</span>\n <span style={{ display: 'inline-flex', fill: 'currentColor' }}>\n {caret === 'caret' && <CaretDown8 />}\n {caret === 'plus' && <Plus8 />}\n {caret === 'arrow-down' && <ArrowDown8 />}\n {caret === 'chevron-down' && <ChevronDown8 />}\n </span>\n </div>\n </Button>\n <DropDownMenu position={position}>\n {links.map(({ id, payload }) => (\n <DropDownItem {...payload} key={id}>\n {payload.label}\n </DropDownItem>\n ))}\n </DropDownMenu>\n </DropDownContainer>\n )\n}\n","export default \"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMy43MDcgMy43MDdhMSAxIDAgMCAwLTEuNDE0LTEuNDE0TDggNi41ODYgMy43MDcgMi4yOTNhMSAxIDAgMCAwLTEuNDE0IDEuNDE0TDYuNTg2IDhsLTQuMjkzIDQuMjkzYTEgMSAwIDEgMCAxLjQxNCAxLjQxNEw4IDkuNDE0bDQuMjkzIDQuMjkzYTEgMSAwIDAgMCAxLjQxNC0xLjQxNEw5LjQxNCA4bDQuMjkzLTQuMjkzWiIvPgo8L3N2Zz4=\"","import { ComponentPropsWithoutRef, useState } from 'react'\n\nimport {\n ResponsiveColorValue,\n TextStyleValue,\n LinkValue,\n} from '../../../../../../../prop-controllers/descriptors'\nimport { colorToString } from '../../../../../../utils/colorToString'\nimport { useResponsiveColor } from '../../../../../../hooks'\n\nimport { ReactComponent as CaretDown8 } from '../../../../../../icons/caret-down-8.svg'\nimport { ReactComponent as Plus8 } from '../../../../../../icons/plus-8.svg'\nimport { ReactComponent as ArrowDown8 } from '../../../../../../icons/arrow-down-8.svg'\nimport { ReactComponent as ChevronDown8 } from '../../../../../../icons/chevron-down-8.svg'\n\nimport { Link } from '../../../../../../shared/Link'\nimport Button from '../../../../../Button'\nimport { cx } from '@emotion/css'\nimport { useStyle } from '../../../../../../../runtimes/react/use-style'\nimport {\n useResponsiveStyle,\n useResponsiveTextStyle,\n} from '../../../../../../utils/responsive-style'\n\ntype DropDownMenuBaseProps = {\n className?: string\n open: boolean\n}\n\ntype DropDownMenuProps = DropDownMenuBaseProps &\n Omit<ComponentPropsWithoutRef<'div'>, keyof DropDownMenuBaseProps>\n\nfunction DropDownMenu({ className, open, ...restOfProps }: DropDownMenuProps) {\n return (\n <div\n {...restOfProps}\n className={cx(\n useStyle({ display: open ? 'flex' : 'none', flexDirection: 'column', padding: 8 }),\n className,\n )}\n />\n )\n}\n\ntype ButtonLinkBaseProps = {\n className?: string\n}\n\ntype ButtonLinkProps = ButtonLinkBaseProps &\n Omit<ComponentPropsWithoutRef<typeof Button>, keyof ButtonLinkBaseProps>\n\nfunction ButtonLink({ className, ...restOfProps }: ButtonLinkProps) {\n return <Button {...restOfProps} className={cx(useStyle({ margin: '8px 0' }), className)} />\n}\n\ntype BaseDropDownItemProps = {\n className?: string\n color?: ResponsiveColorValue\n textStyle?: TextStyleValue\n}\n\ntype DropDownItemProps = BaseDropDownItemProps &\n Omit<ComponentPropsWithoutRef<typeof Link>, keyof BaseDropDownItemProps>\n\nfunction DropDownItem({ color, className, textStyle, ...restOfProps }: DropDownItemProps) {\n const colorData = useResponsiveColor(color)\n\n return (\n <Link\n {...restOfProps}\n className={cx(\n useStyle({\n textDecoration: 'none',\n lineHeight: 1.4,\n padding: '8px 16px',\n color: 'black',\n }),\n useStyle(useResponsiveTextStyle(textStyle)),\n useStyle(\n useResponsiveStyle([colorData] as const, ([color]) => ({\n color: color == null ? 'black' : colorToString(color),\n })),\n ),\n className,\n )}\n />\n )\n}\n\ntype Props = Omit<ComponentPropsWithoutRef<typeof Button>, 'textColor' | 'color'> & {\n label: string\n links?: Array<{\n id: string\n payload: ComponentPropsWithoutRef<typeof DropDownItem> & {\n link?: LinkValue\n label: string\n }\n }>\n onClose?: () => unknown\n caret?: string\n textColor?: ResponsiveColorValue\n color?: ResponsiveColorValue\n}\n\nexport default function MobileDropDownButton({\n label,\n caret,\n links = [],\n onClose = () => {},\n color,\n textColor,\n ...restOfProps\n}: Props): JSX.Element {\n const [isOpen, setIsOpen] = useState(false)\n return (\n <>\n <ButtonLink\n {...restOfProps}\n textColor={useResponsiveColor(textColor)}\n color={useResponsiveColor(color)}\n onPointerDown={() => setIsOpen(prev => !prev)}\n >\n <div style={{ display: 'flex', alignItems: 'center' }}>\n <span style={{ marginRight: 6 }}>{label}</span>\n <span style={{ display: 'inline-flex', fill: 'currentColor' }}>\n <>\n {caret === 'caret' && <CaretDown8 />}\n {caret === 'plus' && <Plus8 />}\n {caret === 'arrow-down' && <ArrowDown8 />}\n {caret === 'chevron-down' && <ChevronDown8 />}\n </>\n </span>\n </div>\n </ButtonLink>\n <DropDownMenu open={isOpen}>\n {links.map(({ id, payload }) => (\n <DropDownItem {...payload} key={id} onClick={onClose}>\n {payload.label}\n </DropDownItem>\n ))}\n </DropDownMenu>\n </>\n )\n}\n","import { ComponentPropsWithoutRef, Fragment } from 'react'\n\nimport {\n ResponsiveValue,\n NavigationLinksValue,\n NavigationButton as NavigationButtonValue,\n} from '../../../../../prop-controllers/descriptors'\nimport { ColorValue as Color } from '../../../../utils/types'\nimport { colorToString } from '../../../../utils/colorToString'\nimport { ReactComponent as Times16 } from '../../../../icons/times-16.svg'\n\nimport Button from '../../../Button'\nimport DropDownButton from './components/MobileDropDownButton'\nimport { ResponsiveColor } from '../../../../../runtimes/react/controls'\nimport { useResponsiveColor } from '../../../../hooks'\nimport { cx } from '@emotion/css'\nimport { useStyle } from '../../../../../runtimes/react/use-style'\nimport { useResponsiveStyle } from '../../../../utils/responsive-style'\n\ntype NavigationButtonProps = NavigationButtonValue['payload'] &\n Omit<ComponentPropsWithoutRef<typeof Button>, 'color' | 'textColor'>\n\nfunction ButtonLink({\n className,\n textColor,\n color,\n ...restOfProps\n}: NavigationButtonProps): JSX.Element {\n return (\n <Button\n {...restOfProps}\n className={cx(useStyle({ margin: '8px 0' }), className)}\n textColor={useResponsiveColor(textColor)}\n color={useResponsiveColor(color)}\n />\n )\n}\n\ntype ContainerBaseProps = {\n className?: string\n animation?: ResponsiveValue<'coverRight' | 'coverLeft'>\n backgroundColor?: ResponsiveValue<Color> | null\n open: boolean\n}\n\ntype ContainerProps = ContainerBaseProps &\n Omit<ComponentPropsWithoutRef<'div'>, keyof ContainerBaseProps>\n\nfunction Container({\n className,\n animation,\n backgroundColor,\n open,\n ...restOfProps\n}: ContainerProps) {\n return (\n <div\n {...restOfProps}\n className={cx(\n useStyle({\n position: 'fixed',\n flexDirection: 'column',\n width: '100%',\n padding: '40px 15px',\n transition: 'transform 300ms ease-in-out',\n overflowY: 'auto',\n zIndex: 9999,\n maxWidth: 575,\n }),\n useStyle(\n useResponsiveStyle(\n [animation, backgroundColor] as const,\n ([animation, backgroundColor]) => {\n if (animation == null) return { display: 'none' }\n\n return {\n display: 'flex',\n backgroundColor: backgroundColor == null ? 'black' : colorToString(backgroundColor),\n transform: open\n ? `translate3d(0,0,0)`\n : `translate3d(${{ coverRight: '', coverLeft: '-' }[animation]}100%, 0, 0)`,\n ...{\n coverRight: { top: 0, bottom: 0, right: 0 },\n coverLeft: { top: 0, bottom: 0, left: 0 },\n }[animation],\n }\n },\n ),\n ),\n className,\n )}\n />\n )\n}\n\ntype CloseIconContainerBaseProps = {\n className?: string\n color?: ResponsiveColor | null\n}\n\ntype CloseIconContainerProps = CloseIconContainerBaseProps &\n Omit<ComponentPropsWithoutRef<'button'>, keyof CloseIconContainerBaseProps>\n\nfunction CloseIconContainer({ className, color, ...restOfProps }: CloseIconContainerProps) {\n return (\n <button\n {...restOfProps}\n className={cx(\n useStyle({\n position: 'absolute',\n top: 15,\n right: 15,\n padding: 0,\n border: 0,\n outline: 0,\n background: 'none',\n fill: 'currentcolor',\n }),\n useStyle(\n useResponsiveStyle([color] as const, ([color]) => ({\n color: color == null ? 'rgba(161, 168, 194, 0.5)' : colorToString(color),\n })),\n ),\n className,\n )}\n />\n )\n}\n\ntype Props = {\n animation?: ResponsiveValue<'coverRight' | 'coverLeft'>\n backgroundColor?: ResponsiveColor | null\n closeIconColor?: ResponsiveColor | null\n links?: NavigationLinksValue\n onClose?: () => unknown\n open?: boolean\n}\n\nexport default function MobileMenu({\n animation,\n backgroundColor,\n open = false,\n closeIconColor,\n links = [],\n onClose = () => {},\n}: Props): JSX.Element {\n return (\n <Container animation={animation} backgroundColor={backgroundColor} open={open}>\n <CloseIconContainer color={closeIconColor} onClick={onClose}>\n <Times16 />\n </CloseIconContainer>\n <div\n style={{ display: 'flex', flexDirection: 'column', alignItems: 'center', flexShrink: 0 }}\n >\n {links.map(link => (\n <Fragment key={link.id}>\n {link.type === 'button' && (\n <ButtonLink {...link.payload} onClick={onClose}>\n {link.payload.label}\n </ButtonLink>\n )}\n {link.type === 'dropdown' && <DropDownButton {...link.payload} onClose={onClose} />}\n </Fragment>\n ))}\n </div>\n </Container>\n )\n}\n","import { ComponentPropsWithoutRef, ForwardedRef, forwardRef, useState } from 'react'\n\nimport { ReactComponent as MobileMenu28 } from '../../icons/mobile-menu-28.svg'\n\nimport GutterContainer from '../../shared/GutterContainer'\nimport Image from '../Image'\nimport Button from '../Button'\nimport LinksPlaceholder from './components/LinksPlaceholder'\nimport DropDownButton from './components/DropDownButton'\nimport MobileMenu from './components/MobileMenu'\nimport {\n ResponsiveValue,\n CheckboxValue,\n ElementIDValue,\n GapXValue,\n ImageValue,\n LinkValue,\n NavigationLinksValue,\n ResponsiveIconRadioGroupValue,\n ResponsiveLengthValue,\n ResponsiveSelectValue,\n TextInputValue,\n TextStyleValue,\n NavigationButton as NavigationButtonValue,\n} from '../../../prop-controllers/descriptors'\nimport { ColorValue as Color } from '../../utils/types'\nimport { colorToString } from '../../utils/colorToString'\nimport { ResponsiveColor } from '../../../runtimes/react/controls'\nimport { useResponsiveColor } from '../../hooks'\nimport { cx } from '@emotion/css'\nimport { useResponsiveStyle, useResponsiveTextStyle } from '../../utils/responsive-style'\nimport { useStyle } from '../../../runtimes/react/use-style'\n\ntype Props = {\n id?: ElementIDValue\n links?: NavigationLinksValue\n linkTextStyle?: TextStyleValue\n showLogo?: CheckboxValue\n logoFile?: ImageValue\n logoWidth?: ResponsiveLengthValue\n logoAltText?: TextInputValue\n logoLink?: LinkValue\n alignment?: ResponsiveIconRadioGroupValue<'flex-start' | 'center' | 'flex-end'>\n gutter?: GapXValue\n mobileMenuAnimation?: ResponsiveSelectValue<'coverRight' | 'coverLeft'>\n mobileMenuOpenIconColor?: ResponsiveColor | null\n mobileMenuCloseIconColor?: ResponsiveColor | null\n mobileMenuBackgroundColor?: ResponsiveColor | null\n width?: string\n margin?: string\n}\n\ntype ContainerBaseProps = {\n width?: string\n margin?: string\n textStyle: Props['linkTextStyle']\n gutter: Props['gutter']\n}\n\ntype ContainerProps = ContainerBaseProps &\n Omit<ComponentPropsWithoutRef<'nav'>, keyof ContainerBaseProps>\n\nconst Container = forwardRef(function Container(\n { className, width, margin, textStyle, gutter, ...restOfProps }: ContainerProps,\n ref: ForwardedRef<HTMLElement>,\n) {\n return (\n <nav\n {...restOfProps}\n ref={ref}\n className={cx(\n useStyle({ display: 'flex', alignItems: 'center' }),\n width,\n margin,\n useStyle(useResponsiveTextStyle(textStyle)),\n useStyle(\n useResponsiveStyle([gutter] as const, ([gutter = { value: 0, unit: 'px' }]) => ({\n gap: `${gutter.value}${gutter.unit}`,\n })),\n ),\n className,\n )}\n />\n )\n})\n\ntype LinksContainerBaseProps = {\n alignment: Props['alignment']\n mobileMenuAnimation: Props['mobileMenuAnimation']\n}\n\ntype LinksContainerProps = LinksContainerBaseProps &\n Omit<ComponentPropsWithoutRef<'div'>, keyof LinksContainerBaseProps>\n\nfunction LinksContainer({\n className,\n alignment,\n mobileMenuAnimation,\n ...restOfProps\n}: LinksContainerProps) {\n return (\n <div\n {...restOfProps}\n className={cx(\n useStyle({\n display: 'flex',\n alignItems: 'center',\n flexGrow: 1,\n }),\n useStyle(\n useResponsiveStyle(\n [alignment, mobileMenuAnimation] as const,\n ([alignment = 'flex-end', mobileMenuAnimation]) => ({\n display: mobileMenuAnimation == null ? 'flex' : 'none',\n justifyContent: alignment,\n }),\n ),\n ),\n className,\n )}\n />\n )\n}\n\ntype OpenIconContainerBaseProps = {\n mobileMenuAnimation: Props['mobileMenuAnimation']\n alignment: Props['alignment']\n color: ResponsiveValue<Color> | null | undefined\n}\n\ntype OpenIconContainerProps = OpenIconContainerBaseProps &\n Omit<ComponentPropsWithoutRef<'button'>, keyof OpenIconContainerBaseProps>\n\nfunction OpenIconContainer({\n className,\n mobileMenuAnimation,\n alignment,\n color,\n ...restOfProps\n}: OpenIconContainerProps) {\n return (\n <button\n {...restOfProps}\n className={cx(\n useStyle({\n display: 'none',\n flexGrow: 1,\n alignItems: 'center',\n background: 'none',\n outline: 0,\n border: 0,\n padding: 0,\n fill: 'currentcolor',\n }),\n useStyle(\n useResponsiveStyle(\n [mobileMenuAnimation, alignment, color] as const,\n ([mobileMenuAnimation, alignment = 'flex-end', color]) => ({\n display: mobileMenuAnimation == null ? 'none' : 'flex',\n justifyContent: alignment,\n color: color == null ? 'rgba(161, 168, 194, 0.5)' : colorToString(color),\n }),\n ),\n ),\n className,\n )}\n />\n )\n}\n\ntype NavigationButtonProps = NavigationButtonValue['payload'] &\n Omit<ComponentPropsWithoutRef<typeof Button>, 'color' | 'textColor'>\n\nfunction NavigationButton(props: NavigationButtonProps): JSX.Element {\n const { textColor, color, ...restOfProps } = props\n\n return (\n <Button\n {...restOfProps}\n textColor={useResponsiveColor(textColor)}\n color={useResponsiveColor(color)}\n />\n )\n}\n\nconst placeholder = {\n src: \"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='93.12' height='36' viewBox='0 0 93.12 36'%3E%3Cg id='Layer_2' data-name='Layer 2'%3E%3Cg id='Layer_1-2' data-name='Layer 1'%3E%3Cpath d='M18,0A18,18,0,1,1,0,18,18,18,0,0,1,18,0ZM49.36,21.94h6.36V24H46.8V10h2.56Zm9.06.72a4.88,4.88,0,0,1-1.64-3.72,5,5,0,0,1,1.64-3.74,5.57,5.57,0,0,1,7.7,0,5.09,5.09,0,0,1,.26,7.18l-.26.26a5.56,5.56,0,0,1-7.7,0Zm1.68-6a3.39,3.39,0,0,0,0,4.52,3,3,0,0,0,4.24.08l.08-.08a3.39,3.39,0,0,0,0-4.52,3,3,0,0,0-4.24-.08Zm10,10.68,1-1.92a5.28,5.28,0,0,0,3.3,1.22,3.6,3.6,0,0,0,2.32-.72,2.73,2.73,0,0,0,.9-2.26V22.5a3.61,3.61,0,0,1-1.45,1.26,4.35,4.35,0,0,1-2,.46,4.57,4.57,0,0,1-3.58-1.54A5.48,5.48,0,0,1,69.2,18.9a5.42,5.42,0,0,1,1.36-3.74,4.64,4.64,0,0,1,3.62-1.5,4,4,0,0,1,3.44,1.72v-1.5h2.46v9a6.13,6.13,0,0,1-1.43,4.46,5.27,5.27,0,0,1-4,1.44,7.09,7.09,0,0,1-4.53-1.42Zm1.54-8.44a3.4,3.4,0,0,0,.82,2.3,2.72,2.72,0,0,0,2.17.94,3.13,3.13,0,0,0,1.21-.22,2.89,2.89,0,0,0,1-.62,3.08,3.08,0,0,0,.63-1,3.62,3.62,0,0,0,.21-1.3,4,4,0,0,0-.23-1.33,3.3,3.3,0,0,0-.63-1.05,2.74,2.74,0,0,0-1-.68,3.35,3.35,0,0,0-1.25-.24,2.92,2.92,0,0,0-1.2.24,2.58,2.58,0,0,0-.93.67,3,3,0,0,0-.59,1,3.89,3.89,0,0,0-.19,1.31ZM83.8,22.66a4.88,4.88,0,0,1-1.64-3.72A5,5,0,0,1,83.8,15.2a5.57,5.57,0,0,1,7.7,0,5.09,5.09,0,0,1,.26,7.18,3.19,3.19,0,0,1-.26.26,5.56,5.56,0,0,1-7.7,0Zm1.68-6a3.39,3.39,0,0,0,0,4.52,3,3,0,0,0,4.24.08l.08-.08a3.39,3.39,0,0,0,0-4.52,3,3,0,0,0-4.24-.08Z' fill='%23a1a8c2' opacity='0.4' style='isolation: isolate'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A\",\n dimensions: { width: 93, height: 36 },\n}\n\nconst Navigation = forwardRef<HTMLDivElement, Props>(function Navigation(\n {\n id,\n links = [],\n linkTextStyle,\n showLogo,\n logoFile,\n logoWidth,\n logoAltText,\n logoLink,\n alignment,\n gutter,\n mobileMenuAnimation,\n mobileMenuOpenIconColor,\n mobileMenuCloseIconColor,\n mobileMenuBackgroundColor,\n width,\n margin,\n },\n ref,\n) {\n const [isOpen, setIsOpen] = useState(false)\n\n return (\n <Container\n ref={ref}\n id={id}\n width={width}\n margin={margin}\n textStyle={linkTextStyle}\n gutter={gutter}\n >\n {showLogo === true && (\n <Image\n altText={logoAltText}\n file={logoFile}\n link={logoLink}\n placeholder={placeholder}\n width={logoWidth}\n />\n )}\n <div style={{ display: 'flex', flexGrow: 1, justifyContent: 'flex-end' }}>\n <LinksContainer alignment={alignment} mobileMenuAnimation={mobileMenuAnimation}>\n {links.length > 0 ? (\n links.map((link, i) => (\n <GutterContainer\n key={link.id}\n gutter={gutter}\n first={i === 0}\n last={i === links.length - 1}\n >\n {link.type === 'button' && (\n <NavigationButton {...link.payload}>{link.payload.label}</NavigationButton>\n )}\n {link.type === 'dropdown' && <DropDownButton {...link.payload} />}\n </GutterContainer>\n ))\n ) : (\n <LinksPlaceholder gutter={gutter} />\n )}\n </LinksContainer>\n <OpenIconContainer\n alignment={alignment}\n color={mobileMenuOpenIconColor}\n mobileMenuAnimation={mobileMenuAnimation}\n onClick={() => setIsOpen(true)}\n >\n <MobileMenu28 />\n </OpenIconContainer>\n <MobileMenu\n animation={mobileMenuAnimation}\n backgroundColor={mobileMenuBackgroundColor}\n closeIconColor={mobileMenuCloseIconColor}\n links={links}\n onClose={() => setIsOpen(false)}\n open={isOpen}\n />\n </div>\n </Container>\n )\n})\n\nexport default Navigation\n"],"names":["_path","_extends","width","button","useStyle","height","backgroundColor","borderRadius","opacity","links","gutter","_Fragment","map","link","i","length","DROP_DOWN_MENU_WIDTH","DROP_DOWN_MENU_CLASS_NAME","className","position","restOfProps","cx","top","left","right","background","margin","padding","boxShadow","zIndex","listStyle","overflow","transformOrigin","willChange","transformStyle","display","dropIn","keyframes","DropDownContainer","forwardRef","ref","animation","color","textStyle","colorData","useResponsiveColor","textDecoration","lineHeight","transition","useResponsiveTextStyle","useResponsiveStyle","fontSize","value","unit","fontWeight","fontStyle","letterSpacing","textTransform","colorToString","includes","label","caret","textColor","container","useRef","setPosition","useState","useIsomorphicLayoutEffect","current","ownerDocument","defaultView","innerWidth","offsetLeft","_jsx","alignItems","marginRight","_jsxs","fill","CaretDown8","Plus8","ArrowDown8","ChevronDown8","DropDownMenu","id","payload","DropDownItem","open","flexDirection","onClose","isOpen","setIsOpen","ButtonLink","prev","overflowY","maxWidth","transform","coverRight","coverLeft","bottom","border","outline","closeIconColor","Container","Times16","flexShrink","Fragment","type","DropDownButton","gap","alignment","mobileMenuAnimation","flexGrow","justifyContent","props","placeholder","src","dimensions","Navigation","linkTextStyle","showLogo","logoFile","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AAAA,UAAkB;AAAA,QAAA,CAAlB;AAAA,MAAA,CAjBN,GAoBEV,oBAAC,mBAAD;AAAA,QACE;AAAA,QACA,OAAOmD;AAAAA,QACP;AAAA,QACA,SAAS,MAAMlC,UAAU,IAAD;AAAA,QAJ1B,UAMEjB,oBAACuD,iBAAD,EAAA;AAAA,MAAA,CA1BJ,GA4BEvD,oBAAC,YAAD;AAAA,QACE,WAAWqC;AAAAA,QACX,iBAAiBgB;AAAAA,QACjB,gBAAgBD;AAAAA,QAChB;AAAA,QACA,SAAS,MAAMnC,UAAU,KAAD;AAAA,QACxB,MAAMD;AAAAA,MAAAA,CAlCV,CAAA;AAAA,IAAA,CAjBF,CAAA;AAAA,EAAA,CADF;AAyDD,CAhF4B;;"}
1
+ {"version":3,"file":"Navigation.es.js","sources":["../src/components/icons/mobile-menu-28.svg","../src/components/builtin/Navigation/components/LinksPlaceholder/index.tsx","../src/components/icons/caret-down-8.svg","../src/components/icons/plus-8.svg","../src/components/icons/arrow-down-8.svg","../src/components/icons/chevron-down-8.svg","../src/components/builtin/Navigation/components/DropDownButton/index.tsx","../src/components/icons/times-16.svg","../src/components/builtin/Navigation/components/MobileMenu/components/MobileDropDownButton/index.tsx","../src/components/builtin/Navigation/components/MobileMenu/index.tsx","../src/components/builtin/Navigation/Navigation.tsx"],"sourcesContent":["export default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyOCIgaGVpZ2h0PSIyOCI+CiAgPHBhdGggZD0iTTI3IDE1SDFhMSAxIDAgMCAxLTEtMSAxIDEgMCAwIDEgMS0xaDI2YTEgMSAwIDAgMSAxIDEgMSAxIDAgMCAxLTEgMXptMC0xMEgxYTEgMSAwIDAgMC0xIDEgMSAxIDAgMCAwIDEgMWgyNmExIDEgMCAwIDAgMS0xIDEgMSAwIDAgMC0xLTF6bTAgMTZIMWExIDEgMCAwIDAtMSAxIDEgMSAwIDAgMCAxIDFoMjZhMSAxIDAgMCAwIDEtMSAxIDEgMCAwIDAtMS0xeiIvPgo8L3N2Zz4=\"","import { ResponsiveLengthValue } from '../../../../../prop-controllers/descriptors'\nimport { useStyle } from '../../../../../runtimes/react/use-style'\nimport GutterContainer from '../../../../shared/GutterContainer'\n\ntype PlaceholderLinkProps = {\n width: number\n button?: boolean\n}\n\nfunction PlaceholderLink({ width, button }: PlaceholderLinkProps) {\n return (\n <div\n className={useStyle({\n width,\n height: button === true ? 32 : 8,\n backgroundColor: '#a1a8c2',\n borderRadius: button === true ? 6 : 2,\n opacity: 0.4,\n })}\n />\n )\n}\n\ntype Props = { gutter?: ResponsiveLengthValue }\n\nconst links = [{ width: 50 }, { width: 70 }, { width: 60 }, { width: 80, button: true }]\n\nexport default function LinksPlaceholder({ gutter }: Props): JSX.Element {\n return (\n <>\n {links.map((link, i) => (\n <GutterContainer key={i} gutter={gutter} first={i === 0} last={i === links.length - 1}>\n <PlaceholderLink {...link} />\n </GutterContainer>\n ))}\n </>\n )\n}\n","export default \"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xIDJhMSAxIDAgMCAwLS43MDcgMS43MDdsMyAzYTEgMSAwIDAgMCAxLjQxNCAwbDMtM0ExIDEgMCAwIDAgNyAySDF6Ii8+PC9zdmc+\"","export default \"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik00IDBhMSAxIDAgMCAwLTEgMXYySDFhMSAxIDAgMSAwIDAgMmgydjJhMSAxIDAgMCAwIDIgMFY1aDJhMSAxIDAgMCAwIDAtMkg1VjFhMSAxIDAgMCAwLTEtMXoiLz48L3N2Zz4=\"","export default \"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik01IDFhMSAxIDAgMCAwLTIgMHYzLjU4NmwtLjI5My0uMjkzYTEgMSAwIDAgMC0xLjQxNCAxLjQxNGwyIDJhMSAxIDAgMCAwIDEuNDE0IDBsMi0yYTEgMSAwIDAgMC0xLjQxNC0xLjQxNEw1IDQuNTg2VjF6Ii8+PC9zdmc+\"","export default \"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNLjI5MyAyLjI5M2ExIDEgMCAwIDEgMS40MTQgMEw0IDQuNTg2bDIuMjkzLTIuMjkzYTEgMSAwIDAgMSAxLjQxNCAxLjQxNGwtMyAzYTEgMSAwIDAgMS0xLjQxNCAwbC0zLTNhMSAxIDAgMCAxIDAtMS40MTR6Ii8+PC9zdmc+\"","import { ComponentPropsWithoutRef, ForwardedRef, forwardRef, useRef, useState } from 'react'\n\nimport { ReactComponent as CaretDown8 } from '../../../../icons/caret-down-8.svg'\nimport { ReactComponent as Plus8 } from '../../../../icons/plus-8.svg'\nimport { ReactComponent as ArrowDown8 } from '../../../../icons/arrow-down-8.svg'\nimport { ReactComponent as ChevronDown8 } from '../../../../icons/chevron-down-8.svg'\nimport {\n ResponsiveColorValue,\n TextStyleValue,\n LinkValue,\n} from '../../../../../prop-controllers/descriptors'\nimport { colorToString } from '../../../../utils/colorToString'\nimport { useResponsiveColor } from '../../../../hooks'\n\nimport { Link } from '../../../../shared/Link'\nimport Button from '../../../Button'\nimport { useIsomorphicLayoutEffect } from '../../../../hooks/useIsomorphicLayoutEffect'\nimport { cx, keyframes } from '@emotion/css'\nimport { useStyle } from '../../../../../runtimes/react/use-style'\nimport { useResponsiveStyle, useResponsiveTextStyle } from '../../../../utils/responsive-style'\n\nconst DROP_DOWN_MENU_WIDTH = 200\n\ntype Position = 'left' | 'right'\n\nconst DROP_DOWN_MENU_CLASS_NAME = 'drop-down-menu'\n\ntype DropDownMenuBaseProps = {\n position: Position\n}\n\ntype DropDownMenuProps = DropDownMenuBaseProps &\n Omit<ComponentPropsWithoutRef<'div'>, keyof DropDownMenuBaseProps>\n\nfunction DropDownMenu({ className, position, ...restOfProps }: DropDownMenuProps) {\n return (\n <div\n {...restOfProps}\n className={cx(\n DROP_DOWN_MENU_CLASS_NAME,\n useStyle({\n position: 'absolute',\n top: '100%',\n left: position === 'left' ? 0 : 'auto',\n right: position === 'right' ? 0 : 'auto',\n background: '#fff',\n margin: 0,\n padding: '8px 0',\n borderRadius: 4,\n boxShadow: '0 3px 10px rgba(0, 0, 0, 0.15)',\n width: DROP_DOWN_MENU_WIDTH,\n zIndex: 99,\n listStyle: 'none',\n overflow: 'hidden',\n transformOrigin: '50% 0',\n willChange: 'transform, opacity',\n transformStyle: 'preserve-3d',\n display: 'none',\n }),\n className,\n )}\n />\n )\n}\n\nconst dropIn = keyframes`\n 0% {\n opacity: 0;\n transform: rotateX(-20deg);\n }\n 100% {\n opacity: 1;\n transform: none;\n }\n`\n\ntype DropDownContainerProps = ComponentPropsWithoutRef<'div'>\n\nconst DropDownContainer = forwardRef(function DropDownContainer(\n { className, ...restOfProps }: DropDownContainerProps,\n ref: ForwardedRef<HTMLDivElement>,\n) {\n return (\n <div\n {...restOfProps}\n ref={ref}\n className={cx(\n useStyle({\n position: 'relative',\n [`&:hover .${DROP_DOWN_MENU_CLASS_NAME}`]: {\n display: 'block',\n animation: `${dropIn} 0.25s`,\n },\n }),\n className,\n )}\n />\n )\n})\n\ntype BaseDropDownItemProps = {\n className?: string\n color?: ResponsiveColorValue\n textStyle?: TextStyleValue\n}\n\ntype DropDownItemProps = BaseDropDownItemProps &\n Omit<ComponentPropsWithoutRef<typeof Link>, keyof BaseDropDownItemProps>\n\nfunction DropDownItem({ className, color, textStyle, ...restOfProps }: DropDownItemProps) {\n const colorData = useResponsiveColor(color)\n\n return (\n <Link\n {...restOfProps}\n className={cx(\n useStyle({\n display: 'block',\n textDecoration: 'none',\n lineHeight: 1.4,\n padding: '8px 16px',\n color: 'black',\n backgroundColor: 'transparent',\n transition: 'background-color 0.2s',\n }),\n useStyle(useResponsiveTextStyle(textStyle)),\n useStyle(\n useResponsiveStyle([colorData, textStyle] as const, ([color, textStyle = {}]) => {\n const fontSize = textStyle.fontSize || { value: 14, unit: 'px' }\n const fontWeight = textStyle.fontWeight == null ? 'normal' : textStyle.fontWeight\n const fontStyle = textStyle.fontStyle || []\n const letterSpacing = textStyle.letterSpacing == null ? null : textStyle.letterSpacing\n const textTransform = textStyle.textTransform || []\n\n return {\n color: color == null ? 'black' : colorToString(color),\n fontSize: `${fontSize.value}${fontSize.unit}`,\n fontWeight,\n fontStyle: fontStyle.includes('italic') ? 'italic' : 'normal',\n letterSpacing: letterSpacing == null ? 'normal' : `${letterSpacing}px`,\n textTransform: textTransform.includes('uppercase') ? 'uppercase' : 'none',\n }\n }),\n ),\n useStyle({\n '&:hover': {\n backgroundColor: 'rgba(0, 0, 0, 0.04)',\n },\n }),\n className,\n )}\n />\n )\n}\n\ntype Props = Omit<ComponentPropsWithoutRef<typeof Button>, 'textColor' | 'color'> & {\n label: string\n caret?: 'caret' | 'plus' | 'arrow-down' | 'chevron-down'\n links?: Array<{\n id: string\n payload: ComponentPropsWithoutRef<typeof DropDownItem> & {\n link?: LinkValue\n label: string\n }\n }>\n textColor?: ResponsiveColorValue\n color?: ResponsiveColorValue\n}\n\nexport default function DropDownButton({\n label,\n caret = 'caret',\n links = [],\n textColor,\n color,\n ...restOfProps\n}: Props): JSX.Element {\n const container = useRef<HTMLDivElement>(null)\n const [position, setPosition] = useState<Position>('left')\n\n useIsomorphicLayoutEffect(() => {\n if (\n container.current &&\n container.current.ownerDocument.defaultView!.innerWidth <\n container.current.offsetLeft + DROP_DOWN_MENU_WIDTH\n ) {\n setPosition('right')\n } else {\n setPosition('left')\n }\n }, [setPosition])\n\n return (\n <DropDownContainer ref={container}>\n <Button\n {...restOfProps}\n textColor={useResponsiveColor(textColor)}\n color={useResponsiveColor(color)}\n >\n <div style={{ display: 'flex', alignItems: 'center' }}>\n <span style={{ marginRight: 6 }}>{label}</span>\n <span style={{ display: 'inline-flex', fill: 'currentColor' }}>\n {caret === 'caret' && <CaretDown8 />}\n {caret === 'plus' && <Plus8 />}\n {caret === 'arrow-down' && <ArrowDown8 />}\n {caret === 'chevron-down' && <ChevronDown8 />}\n </span>\n </div>\n </Button>\n <DropDownMenu position={position}>\n {links.map(({ id, payload }) => (\n <DropDownItem {...payload} key={id}>\n {payload.label}\n </DropDownItem>\n ))}\n </DropDownMenu>\n </DropDownContainer>\n )\n}\n","export default \"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMy43MDcgMy43MDdhMSAxIDAgMCAwLTEuNDE0LTEuNDE0TDggNi41ODYgMy43MDcgMi4yOTNhMSAxIDAgMCAwLTEuNDE0IDEuNDE0TDYuNTg2IDhsLTQuMjkzIDQuMjkzYTEgMSAwIDEgMCAxLjQxNCAxLjQxNEw4IDkuNDE0bDQuMjkzIDQuMjkzYTEgMSAwIDAgMCAxLjQxNC0xLjQxNEw5LjQxNCA4bDQuMjkzLTQuMjkzWiIvPgo8L3N2Zz4=\"","import { ComponentPropsWithoutRef, useState } from 'react'\n\nimport {\n ResponsiveColorValue,\n TextStyleValue,\n LinkValue,\n} from '../../../../../../../prop-controllers/descriptors'\nimport { colorToString } from '../../../../../../utils/colorToString'\nimport { useResponsiveColor } from '../../../../../../hooks'\n\nimport { ReactComponent as CaretDown8 } from '../../../../../../icons/caret-down-8.svg'\nimport { ReactComponent as Plus8 } from '../../../../../../icons/plus-8.svg'\nimport { ReactComponent as ArrowDown8 } from '../../../../../../icons/arrow-down-8.svg'\nimport { ReactComponent as ChevronDown8 } from '../../../../../../icons/chevron-down-8.svg'\n\nimport { Link } from '../../../../../../shared/Link'\nimport Button from '../../../../../Button'\nimport { cx } from '@emotion/css'\nimport { useStyle } from '../../../../../../../runtimes/react/use-style'\nimport {\n useResponsiveStyle,\n useResponsiveTextStyle,\n} from '../../../../../../utils/responsive-style'\n\ntype DropDownMenuBaseProps = {\n className?: string\n open: boolean\n}\n\ntype DropDownMenuProps = DropDownMenuBaseProps &\n Omit<ComponentPropsWithoutRef<'div'>, keyof DropDownMenuBaseProps>\n\nfunction DropDownMenu({ className, open, ...restOfProps }: DropDownMenuProps) {\n return (\n <div\n {...restOfProps}\n className={cx(\n useStyle({ display: open ? 'flex' : 'none', flexDirection: 'column', padding: 8 }),\n className,\n )}\n />\n )\n}\n\ntype ButtonLinkBaseProps = {\n className?: string\n}\n\ntype ButtonLinkProps = ButtonLinkBaseProps &\n Omit<ComponentPropsWithoutRef<typeof Button>, keyof ButtonLinkBaseProps>\n\nfunction ButtonLink({ className, ...restOfProps }: ButtonLinkProps) {\n return <Button {...restOfProps} className={cx(useStyle({ margin: '8px 0' }), className)} />\n}\n\ntype BaseDropDownItemProps = {\n className?: string\n color?: ResponsiveColorValue\n textStyle?: TextStyleValue\n}\n\ntype DropDownItemProps = BaseDropDownItemProps &\n Omit<ComponentPropsWithoutRef<typeof Link>, keyof BaseDropDownItemProps>\n\nfunction DropDownItem({ color, className, textStyle, ...restOfProps }: DropDownItemProps) {\n const colorData = useResponsiveColor(color)\n\n return (\n <Link\n {...restOfProps}\n className={cx(\n useStyle({\n textDecoration: 'none',\n lineHeight: 1.4,\n padding: '8px 16px',\n color: 'black',\n }),\n useStyle(useResponsiveTextStyle(textStyle)),\n useStyle(\n useResponsiveStyle([colorData] as const, ([color]) => ({\n color: color == null ? 'black' : colorToString(color),\n })),\n ),\n className,\n )}\n />\n )\n}\n\ntype Props = Omit<ComponentPropsWithoutRef<typeof Button>, 'textColor' | 'color'> & {\n label: string\n links?: Array<{\n id: string\n payload: ComponentPropsWithoutRef<typeof DropDownItem> & {\n link?: LinkValue\n label: string\n }\n }>\n onClose?: () => unknown\n caret?: string\n textColor?: ResponsiveColorValue\n color?: ResponsiveColorValue\n}\n\nexport default function MobileDropDownButton({\n label,\n caret,\n links = [],\n onClose = () => {},\n color,\n textColor,\n ...restOfProps\n}: Props): JSX.Element {\n const [isOpen, setIsOpen] = useState(false)\n return (\n <>\n <ButtonLink\n {...restOfProps}\n textColor={useResponsiveColor(textColor)}\n color={useResponsiveColor(color)}\n onPointerDown={() => setIsOpen(prev => !prev)}\n >\n <div style={{ display: 'flex', alignItems: 'center' }}>\n <span style={{ marginRight: 6 }}>{label}</span>\n <span style={{ display: 'inline-flex', fill: 'currentColor' }}>\n <>\n {caret === 'caret' && <CaretDown8 />}\n {caret === 'plus' && <Plus8 />}\n {caret === 'arrow-down' && <ArrowDown8 />}\n {caret === 'chevron-down' && <ChevronDown8 />}\n </>\n </span>\n </div>\n </ButtonLink>\n <DropDownMenu open={isOpen}>\n {links.map(({ id, payload }) => (\n <DropDownItem {...payload} key={id} onClick={onClose}>\n {payload.label}\n </DropDownItem>\n ))}\n </DropDownMenu>\n </>\n )\n}\n","import { ComponentPropsWithoutRef, Fragment } from 'react'\n\nimport {\n ResponsiveValue,\n NavigationLinksValue,\n NavigationButton as NavigationButtonValue,\n} from '../../../../../prop-controllers/descriptors'\nimport { ColorValue as Color } from '../../../../utils/types'\nimport { colorToString } from '../../../../utils/colorToString'\nimport { ReactComponent as Times16 } from '../../../../icons/times-16.svg'\n\nimport Button from '../../../Button'\nimport DropDownButton from './components/MobileDropDownButton'\nimport { ResponsiveColor } from '../../../../../runtimes/react/controls'\nimport { useResponsiveColor } from '../../../../hooks'\nimport { cx } from '@emotion/css'\nimport { useStyle } from '../../../../../runtimes/react/use-style'\nimport { useResponsiveStyle } from '../../../../utils/responsive-style'\n\ntype NavigationButtonProps = NavigationButtonValue['payload'] &\n Omit<ComponentPropsWithoutRef<typeof Button>, 'color' | 'textColor'>\n\nfunction ButtonLink({\n className,\n textColor,\n color,\n ...restOfProps\n}: NavigationButtonProps): JSX.Element {\n return (\n <Button\n {...restOfProps}\n className={cx(useStyle({ margin: '8px 0' }), className)}\n textColor={useResponsiveColor(textColor)}\n color={useResponsiveColor(color)}\n />\n )\n}\n\ntype ContainerBaseProps = {\n className?: string\n animation?: ResponsiveValue<'coverRight' | 'coverLeft'>\n backgroundColor?: ResponsiveValue<Color> | null\n open: boolean\n}\n\ntype ContainerProps = ContainerBaseProps &\n Omit<ComponentPropsWithoutRef<'div'>, keyof ContainerBaseProps>\n\nfunction Container({\n className,\n animation,\n backgroundColor,\n open,\n ...restOfProps\n}: ContainerProps) {\n return (\n <div\n {...restOfProps}\n className={cx(\n useStyle({\n position: 'fixed',\n flexDirection: 'column',\n width: '100%',\n padding: '40px 15px',\n transition: 'transform 300ms ease-in-out',\n overflowY: 'auto',\n zIndex: 9999,\n maxWidth: 575,\n }),\n useStyle(\n useResponsiveStyle(\n [animation, backgroundColor] as const,\n ([animation, backgroundColor]) => {\n if (animation == null) return { display: 'none' }\n\n return {\n display: 'flex',\n backgroundColor: backgroundColor == null ? 'black' : colorToString(backgroundColor),\n transform: open\n ? `translate3d(0,0,0)`\n : `translate3d(${{ coverRight: '', coverLeft: '-' }[animation]}100%, 0, 0)`,\n ...{\n coverRight: { top: 0, bottom: 0, right: 0 },\n coverLeft: { top: 0, bottom: 0, left: 0 },\n }[animation],\n }\n },\n ),\n ),\n className,\n )}\n />\n )\n}\n\ntype CloseIconContainerBaseProps = {\n className?: string\n color?: ResponsiveColor | null\n}\n\ntype CloseIconContainerProps = CloseIconContainerBaseProps &\n Omit<ComponentPropsWithoutRef<'button'>, keyof CloseIconContainerBaseProps>\n\nfunction CloseIconContainer({ className, color, ...restOfProps }: CloseIconContainerProps) {\n return (\n <button\n {...restOfProps}\n className={cx(\n useStyle({\n position: 'absolute',\n top: 15,\n right: 15,\n padding: 0,\n border: 0,\n outline: 0,\n background: 'none',\n fill: 'currentcolor',\n }),\n useStyle(\n useResponsiveStyle([color] as const, ([color]) => ({\n color: color == null ? 'rgba(161, 168, 194, 0.5)' : colorToString(color),\n })),\n ),\n className,\n )}\n />\n )\n}\n\ntype Props = {\n animation?: ResponsiveValue<'coverRight' | 'coverLeft'>\n backgroundColor?: ResponsiveColor | null\n closeIconColor?: ResponsiveColor | null\n links?: NavigationLinksValue\n onClose?: () => unknown\n open?: boolean\n}\n\nexport default function MobileMenu({\n animation,\n backgroundColor,\n open = false,\n closeIconColor,\n links = [],\n onClose = () => {},\n}: Props): JSX.Element {\n return (\n <Container animation={animation} backgroundColor={backgroundColor} open={open}>\n <CloseIconContainer color={closeIconColor} onClick={onClose}>\n <Times16 />\n </CloseIconContainer>\n <div\n style={{ display: 'flex', flexDirection: 'column', alignItems: 'center', flexShrink: 0 }}\n >\n {links.map(link => (\n <Fragment key={link.id}>\n {link.type === 'button' && (\n <ButtonLink {...link.payload} onClick={onClose}>\n {link.payload.label}\n </ButtonLink>\n )}\n {link.type === 'dropdown' && <DropDownButton {...link.payload} onClose={onClose} />}\n </Fragment>\n ))}\n </div>\n </Container>\n )\n}\n","import { ComponentPropsWithoutRef, ForwardedRef, forwardRef, useState } from 'react'\n\nimport { ReactComponent as MobileMenu28 } from '../../icons/mobile-menu-28.svg'\n\nimport GutterContainer from '../../shared/GutterContainer'\nimport Image from '../Image'\nimport Button from '../Button'\nimport LinksPlaceholder from './components/LinksPlaceholder'\nimport DropDownButton from './components/DropDownButton'\nimport MobileMenu from './components/MobileMenu'\nimport {\n ResponsiveValue,\n CheckboxValue,\n ElementIDValue,\n GapXValue,\n ImageValue,\n LinkValue,\n NavigationLinksValue,\n ResponsiveIconRadioGroupValue,\n ResponsiveLengthValue,\n ResponsiveSelectValue,\n TextInputValue,\n TextStyleValue,\n NavigationButton as NavigationButtonValue,\n} from '../../../prop-controllers/descriptors'\nimport { ColorValue as Color } from '../../utils/types'\nimport { colorToString } from '../../utils/colorToString'\nimport { ResponsiveColor } from '../../../runtimes/react/controls'\nimport { useResponsiveColor } from '../../hooks'\nimport { cx } from '@emotion/css'\nimport { useResponsiveStyle, useResponsiveTextStyle } from '../../utils/responsive-style'\nimport { useStyle } from '../../../runtimes/react/use-style'\n\ntype Props = {\n id?: ElementIDValue\n links?: NavigationLinksValue\n linkTextStyle?: TextStyleValue\n showLogo?: CheckboxValue\n logoFile?: ImageValue\n logoWidth?: ResponsiveLengthValue\n logoAltText?: TextInputValue\n logoLink?: LinkValue\n alignment?: ResponsiveIconRadioGroupValue<'flex-start' | 'center' | 'flex-end'>\n gutter?: GapXValue\n mobileMenuAnimation?: ResponsiveSelectValue<'coverRight' | 'coverLeft'>\n mobileMenuOpenIconColor?: ResponsiveColor | null\n mobileMenuCloseIconColor?: ResponsiveColor | null\n mobileMenuBackgroundColor?: ResponsiveColor | null\n width?: string\n margin?: string\n}\n\ntype ContainerBaseProps = {\n width?: string\n margin?: string\n textStyle: Props['linkTextStyle']\n gutter: Props['gutter']\n}\n\ntype ContainerProps = ContainerBaseProps &\n Omit<ComponentPropsWithoutRef<'nav'>, keyof ContainerBaseProps>\n\nconst Container = forwardRef(function Container(\n { className, width, margin, textStyle, gutter, ...restOfProps }: ContainerProps,\n ref: ForwardedRef<HTMLElement>,\n) {\n return (\n <nav\n {...restOfProps}\n ref={ref}\n className={cx(\n useStyle({ display: 'flex', alignItems: 'center' }),\n width,\n margin,\n useStyle(useResponsiveTextStyle(textStyle)),\n useStyle(\n useResponsiveStyle([gutter] as const, ([gutter = { value: 0, unit: 'px' }]) => ({\n gap: `${gutter.value}${gutter.unit}`,\n })),\n ),\n className,\n )}\n />\n )\n})\n\ntype LinksContainerBaseProps = {\n alignment: Props['alignment']\n mobileMenuAnimation: Props['mobileMenuAnimation']\n}\n\ntype LinksContainerProps = LinksContainerBaseProps &\n Omit<ComponentPropsWithoutRef<'div'>, keyof LinksContainerBaseProps>\n\nfunction LinksContainer({\n className,\n alignment,\n mobileMenuAnimation,\n ...restOfProps\n}: LinksContainerProps) {\n return (\n <div\n {...restOfProps}\n className={cx(\n useStyle({\n display: 'flex',\n alignItems: 'center',\n flexGrow: 1,\n }),\n useStyle(\n useResponsiveStyle(\n [alignment, mobileMenuAnimation] as const,\n ([alignment = 'flex-end', mobileMenuAnimation]) => ({\n display: mobileMenuAnimation == null ? 'flex' : 'none',\n justifyContent: alignment,\n }),\n ),\n ),\n className,\n )}\n />\n )\n}\n\ntype OpenIconContainerBaseProps = {\n mobileMenuAnimation: Props['mobileMenuAnimation']\n alignment: Props['alignment']\n color: ResponsiveValue<Color> | null | undefined\n}\n\ntype OpenIconContainerProps = OpenIconContainerBaseProps &\n Omit<ComponentPropsWithoutRef<'button'>, keyof OpenIconContainerBaseProps>\n\nfunction OpenIconContainer({\n className,\n mobileMenuAnimation,\n alignment,\n color,\n ...restOfProps\n}: OpenIconContainerProps) {\n return (\n <button\n {...restOfProps}\n className={cx(\n useStyle({\n display: 'none',\n flexGrow: 1,\n alignItems: 'center',\n background: 'none',\n outline: 0,\n border: 0,\n padding: 0,\n fill: 'currentcolor',\n }),\n useStyle(\n useResponsiveStyle(\n [mobileMenuAnimation, alignment, color] as const,\n ([mobileMenuAnimation, alignment = 'flex-end', color]) => ({\n display: mobileMenuAnimation == null ? 'none' : 'flex',\n justifyContent: alignment,\n color: color == null ? 'rgba(161, 168, 194, 0.5)' : colorToString(color),\n }),\n ),\n ),\n className,\n )}\n />\n )\n}\n\ntype NavigationButtonProps = NavigationButtonValue['payload'] &\n Omit<ComponentPropsWithoutRef<typeof Button>, 'color' | 'textColor'>\n\nfunction NavigationButton(props: NavigationButtonProps): JSX.Element {\n const { textColor, color, ...restOfProps } = props\n\n return (\n <Button\n {...restOfProps}\n textColor={useResponsiveColor(textColor)}\n color={useResponsiveColor(color)}\n />\n )\n}\n\nconst placeholder = {\n src: \"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='93.12' height='36' viewBox='0 0 93.12 36'%3E%3Cg id='Layer_2' data-name='Layer 2'%3E%3Cg id='Layer_1-2' data-name='Layer 1'%3E%3Cpath d='M18,0A18,18,0,1,1,0,18,18,18,0,0,1,18,0ZM49.36,21.94h6.36V24H46.8V10h2.56Zm9.06.72a4.88,4.88,0,0,1-1.64-3.72,5,5,0,0,1,1.64-3.74,5.57,5.57,0,0,1,7.7,0,5.09,5.09,0,0,1,.26,7.18l-.26.26a5.56,5.56,0,0,1-7.7,0Zm1.68-6a3.39,3.39,0,0,0,0,4.52,3,3,0,0,0,4.24.08l.08-.08a3.39,3.39,0,0,0,0-4.52,3,3,0,0,0-4.24-.08Zm10,10.68,1-1.92a5.28,5.28,0,0,0,3.3,1.22,3.6,3.6,0,0,0,2.32-.72,2.73,2.73,0,0,0,.9-2.26V22.5a3.61,3.61,0,0,1-1.45,1.26,4.35,4.35,0,0,1-2,.46,4.57,4.57,0,0,1-3.58-1.54A5.48,5.48,0,0,1,69.2,18.9a5.42,5.42,0,0,1,1.36-3.74,4.64,4.64,0,0,1,3.62-1.5,4,4,0,0,1,3.44,1.72v-1.5h2.46v9a6.13,6.13,0,0,1-1.43,4.46,5.27,5.27,0,0,1-4,1.44,7.09,7.09,0,0,1-4.53-1.42Zm1.54-8.44a3.4,3.4,0,0,0,.82,2.3,2.72,2.72,0,0,0,2.17.94,3.13,3.13,0,0,0,1.21-.22,2.89,2.89,0,0,0,1-.62,3.08,3.08,0,0,0,.63-1,3.62,3.62,0,0,0,.21-1.3,4,4,0,0,0-.23-1.33,3.3,3.3,0,0,0-.63-1.05,2.74,2.74,0,0,0-1-.68,3.35,3.35,0,0,0-1.25-.24,2.92,2.92,0,0,0-1.2.24,2.58,2.58,0,0,0-.93.67,3,3,0,0,0-.59,1,3.89,3.89,0,0,0-.19,1.31ZM83.8,22.66a4.88,4.88,0,0,1-1.64-3.72A5,5,0,0,1,83.8,15.2a5.57,5.57,0,0,1,7.7,0,5.09,5.09,0,0,1,.26,7.18,3.19,3.19,0,0,1-.26.26,5.56,5.56,0,0,1-7.7,0Zm1.68-6a3.39,3.39,0,0,0,0,4.52,3,3,0,0,0,4.24.08l.08-.08a3.39,3.39,0,0,0,0-4.52,3,3,0,0,0-4.24-.08Z' fill='%23a1a8c2' opacity='0.4' style='isolation: isolate'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A\",\n dimensions: { width: 93, height: 36 },\n}\n\nconst Navigation = forwardRef<HTMLDivElement, Props>(function Navigation(\n {\n id,\n links = [],\n linkTextStyle,\n showLogo,\n logoFile,\n logoWidth,\n logoAltText,\n logoLink,\n alignment,\n gutter,\n mobileMenuAnimation,\n mobileMenuOpenIconColor,\n mobileMenuCloseIconColor,\n mobileMenuBackgroundColor,\n width,\n margin,\n },\n ref,\n) {\n const [isOpen, setIsOpen] = useState(false)\n\n return (\n <Container\n ref={ref}\n id={id}\n width={width}\n margin={margin}\n textStyle={linkTextStyle}\n gutter={gutter}\n >\n {showLogo === true && (\n <Image\n altText={logoAltText}\n file={logoFile}\n link={logoLink}\n placeholder={placeholder}\n width={logoWidth}\n />\n )}\n <div style={{ display: 'flex', flexGrow: 1, justifyContent: 'flex-end' }}>\n <LinksContainer alignment={alignment} mobileMenuAnimation={mobileMenuAnimation}>\n {links.length > 0 ? (\n links.map((link, i) => (\n <GutterContainer\n key={link.id}\n gutter={gutter}\n first={i === 0}\n last={i === links.length - 1}\n >\n {link.type === 'button' && (\n <NavigationButton {...link.payload}>{link.payload.label}</NavigationButton>\n )}\n {link.type === 'dropdown' && <DropDownButton {...link.payload} />}\n </GutterContainer>\n ))\n ) : (\n <LinksPlaceholder gutter={gutter} />\n )}\n </LinksContainer>\n <OpenIconContainer\n alignment={alignment}\n color={mobileMenuOpenIconColor}\n mobileMenuAnimation={mobileMenuAnimation}\n onClick={() => setIsOpen(true)}\n >\n <MobileMenu28 />\n </OpenIconContainer>\n <MobileMenu\n animation={mobileMenuAnimation}\n backgroundColor={mobileMenuBackgroundColor}\n closeIconColor={mobileMenuCloseIconColor}\n links={links}\n onClose={() => setIsOpen(false)}\n open={isOpen}\n />\n </div>\n </Container>\n )\n})\n\nexport default Navigation\n"],"names":["_path","_extends","width","button","useStyle","height","backgroundColor","borderRadius","opacity","links","gutter","_Fragment","map","link","i","length","DROP_DOWN_MENU_WIDTH","DROP_DOWN_MENU_CLASS_NAME","className","position","restOfProps","cx","top","left","right","background","margin","padding","boxShadow","zIndex","listStyle","overflow","transformOrigin","willChange","transformStyle","display","dropIn","keyframes","DropDownContainer","forwardRef","ref","animation","color","textStyle","colorData","useResponsiveColor","textDecoration","lineHeight","transition","useResponsiveTextStyle","useResponsiveStyle","fontSize","value","unit","fontWeight","fontStyle","letterSpacing","textTransform","colorToString","includes","label","caret","textColor","container","useRef","setPosition","useState","useIsomorphicLayoutEffect","current","ownerDocument","defaultView","innerWidth","offsetLeft","_jsx","alignItems","marginRight","_jsxs","fill","CaretDown8","Plus8","ArrowDown8","ChevronDown8","DropDownMenu","id","payload","DropDownItem","open","flexDirection","onClose","isOpen","setIsOpen","ButtonLink","prev","overflowY","maxWidth","transform","coverRight","coverLeft","bottom","border","outline","closeIconColor","Container","Times16","flexShrink","Fragment","type","DropDownButton","gap","alignment","mobileMenuAnimation","flexGrow","justifyContent","props","placeholder","src","dimensions","Navigation","linkTextStyle","showLogo","logoFile","logoWidth","logoAltText","logoLink","mobileMenuOpenIconColor","mobileMenuCloseIconColor","mobileMenuBackgroundColor","Image","MobileMenu28"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAIA;AAEJ,sBAAoB;AAAEC,eAAW,OAAO,UAAU,SAAU,QAAQ;AAAE,aAAS,IAAI,GAAG,IAAI,UAAU,QAAQ,KAAK;AAAE,UAAI,SAAS,UAAU;AAAI,eA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S,MAAMnC,UAAU,KAAD;AAAA,QACxB,MAAMD;AAAAA,MAAAA,CAlCV,CAAA;AAAA,IAAA,CAjBF,CAAA;AAAA,EAAA,CADF;AAyDD,CAhF4B;;"}
@@ -25,10 +25,9 @@ var redux = require("redux");
25
25
  var thunk = require("redux-thunk");
26
26
  var Router = require("next/router");
27
27
  var immutable = require("immutable");
28
- var constants = require("./constants.cjs.js");
28
+ var reactPage = require("./react-page.cjs.js");
29
29
  var actions = require("./actions.cjs.js");
30
30
  var boxModels = require("./box-models.cjs.js");
31
- var descriptors = require("./descriptors.cjs.js");
32
31
  var state_breakpoints = require("./state/breakpoints.cjs.js");
33
32
  var controlSerialization = require("./control-serialization.cjs.js");
34
33
  var jsxRuntime = require("react/jsx-runtime");
@@ -39,9 +38,12 @@ require("@emotion/serialize");
39
38
  require("@emotion/utils");
40
39
  require("./text-input.cjs.js");
41
40
  require("./combobox.cjs.js");
41
+ require("./select.cjs.js");
42
+ require("slate");
43
+ require("is-hotkey");
44
+ require("slate-react");
42
45
  require("use-sync-external-store/shim");
43
46
  require("./types.cjs.js");
44
- require("./introspection.cjs.js");
45
47
  require("color");
46
48
  require("scroll-into-view-if-needed");
47
49
  require("react-dom");
@@ -54,10 +56,10 @@ require("path-to-regexp");
54
56
  require("cookie");
55
57
  require("http-proxy");
56
58
  require("set-cookie-parser");
59
+ require("./constants.cjs.js");
57
60
  require("uuid");
58
61
  require("corporate-ipsum");
59
62
  require("css-box-model");
60
- require("./slate.cjs2.js");
61
63
  function _interopDefaultLegacy(e) {
62
64
  return e && typeof e === "object" && "default" in e ? e : { "default": e };
63
65
  }
@@ -80,24 +82,24 @@ function apply(data, operation) {
80
82
  function getInitialState$2({
81
83
  rootElements
82
84
  } = {}) {
83
- return constants.getInitialState({ rootElements });
85
+ return reactPage.getInitialState({ rootElements });
84
86
  }
85
87
  function getReadOnlyDocumentsStateSlice(state) {
86
88
  return state;
87
89
  }
88
90
  function getDocument(state, documentKey) {
89
- return constants.getDocument$1(getReadOnlyDocumentsStateSlice(state), documentKey);
91
+ return reactPage.getDocument$1(getReadOnlyDocumentsStateSlice(state), documentKey);
90
92
  }
91
93
  function reducer$3(state = getInitialState$2(), action) {
92
94
  var _a;
93
- const nextState = constants.reducer(state, action);
95
+ const nextState = reactPage.reducer(state, action);
94
96
  switch (action.type) {
95
97
  case actions.ActionTypes.CHANGE_DOCUMENT: {
96
98
  const currentRootElement = (_a = getDocument(nextState, action.payload.documentKey)) == null ? void 0 : _a.rootElement;
97
99
  if (currentRootElement == null)
98
100
  return nextState;
99
101
  const nextRootElement = apply(currentRootElement, action.payload.operation);
100
- return currentRootElement === nextRootElement ? nextState : new Map(nextState).set(action.payload.documentKey, constants.createDocument(action.payload.documentKey, nextRootElement));
102
+ return currentRootElement === nextRootElement ? nextState : new Map(nextState).set(action.payload.documentKey, reactPage.createDocument(action.payload.documentKey, nextRootElement));
101
103
  }
102
104
  default:
103
105
  return nextState;
@@ -141,14 +143,14 @@ function reducer$1(state = getInitialState(), action) {
141
143
  }
142
144
  const reducer = redux.combineReducers({
143
145
  documents: reducer$3,
144
- reactComponents: constants.reducer$1,
146
+ reactComponents: reactPage.reducer$1,
145
147
  boxModels: boxModels.reducer,
146
- componentsMeta: constants.reducer$2,
147
- propControllers: constants.reducer$3,
148
- propControllerHandles: constants.reducer$4,
149
- isInBuilder: constants.reducer$5,
150
- isPreview: constants.reducer$6,
151
- builderEditMode: descriptors.reducer,
148
+ componentsMeta: reactPage.reducer$2,
149
+ propControllers: reactPage.reducer$3,
150
+ propControllerHandles: reactPage.reducer$4,
151
+ isInBuilder: reactPage.reducer$5,
152
+ isPreview: reactPage.reducer$6,
153
+ builderEditMode: reactPage.reducer$7,
152
154
  pointer: reducer$2,
153
155
  elementImperativeHandles: reducer$1,
154
156
  breakpoints: state_breakpoints.reducer
@@ -169,13 +171,13 @@ function getComponentsMetaStateSlice(state) {
169
171
  return state.componentsMeta;
170
172
  }
171
173
  function getComponentsMeta(state) {
172
- return constants.getComponentsMeta(getComponentsMetaStateSlice(state));
174
+ return reactPage.getComponentsMeta(getComponentsMetaStateSlice(state));
173
175
  }
174
176
  function getPropControllersStateSlice(state) {
175
177
  return state.propControllers;
176
178
  }
177
179
  function getComponentPropControllerDescriptors(state, componentType) {
178
- return constants.getComponentPropControllerDescriptors$1(getPropControllersStateSlice(state), componentType);
180
+ return reactPage.getComponentPropControllerDescriptors$1(getPropControllersStateSlice(state), componentType);
179
181
  }
180
182
  function getPropControllerHandlesStateSlice(state) {
181
183
  return state.propControllerHandles;
@@ -306,7 +308,7 @@ function startHandlingFocusEvents() {
306
308
  window.removeEventListener("focusout", handleFocusOut);
307
309
  };
308
310
  function handleFocusIn(event) {
309
- if (constants.getBuilderEditMode(getState()) === descriptors.BuilderEditMode.INTERACT) {
311
+ if (reactPage.getBuilderEditMode(getState()) === reactPage.BuilderEditMode.INTERACT) {
310
312
  return;
311
313
  }
312
314
  if (!(event.target instanceof window.HTMLElement) || !event.target.isContentEditable) {
@@ -314,7 +316,7 @@ function startHandlingFocusEvents() {
314
316
  }
315
317
  }
316
318
  function handleFocusOut(event) {
317
- if (constants.getBuilderEditMode(getState()) === descriptors.BuilderEditMode.INTERACT) {
319
+ if (reactPage.getBuilderEditMode(getState()) === reactPage.BuilderEditMode.INTERACT) {
318
320
  return;
319
321
  }
320
322
  if (!(event.relatedTarget instanceof window.HTMLElement) || !event.relatedTarget.isContentEditable) {
@@ -345,7 +347,7 @@ function elementKeysFromElementFromPoint(elementFromPoint) {
345
347
  if (elementFromPoint == null)
346
348
  return null;
347
349
  const elementImperativeHandles = getElementImperativeHandlesContainingElement(getState(), elementFromPoint);
348
- const acendingDepthDocumentKeys = constants.getDocumentKeysSortedByDepth(getState());
350
+ const acendingDepthDocumentKeys = reactPage.getDocumentKeysSortedByDepth(getState());
349
351
  const descendingDepthDocumentKeys = acendingDepthDocumentKeys.slice().reverse();
350
352
  let currentElement = elementFromPoint;
351
353
  let keys = null;
@@ -440,7 +442,7 @@ function messageChannelMiddleware() {
440
442
  messageChannel.port1.postMessage(actions.registerBuilderComponent(componentType, componentMeta, serializedControls), transferables);
441
443
  }
442
444
  });
443
- const breakpoints = constants.getBreakpoints(state);
445
+ const breakpoints = reactPage.getBreakpoints(state);
444
446
  messageChannel.port1.postMessage(actions.setBreakpoints(breakpoints));
445
447
  Router__default["default"].events.on("routeChangeStart", () => {
446
448
  messageChannel.port1.postMessage(actions.changePathnameStart());
@@ -500,11 +502,11 @@ function messageChannelMiddleware() {
500
502
  }
501
503
  function createAndRegisterPropControllers(documentKey, elementKey) {
502
504
  return (dispatch, getState) => {
503
- const descriptors$1 = constants.getElementPropControllerDescriptors(getState(), documentKey, elementKey);
504
- if (descriptors$1 == null)
505
+ const descriptors = reactPage.getElementPropControllerDescriptors(getState(), documentKey, elementKey);
506
+ if (descriptors == null)
505
507
  return null;
506
- const propControllers = Object.entries(descriptors$1).reduce((acc, [propName, descriptor]) => {
507
- const propController = descriptors.createPropController(descriptor, (message) => dispatch(actions.messageBuilderPropController(documentKey, elementKey, propName, message)));
508
+ const propControllers = Object.entries(descriptors).reduce((acc, [propName, descriptor]) => {
509
+ const propController = reactPage.createPropController(descriptor, (message) => dispatch(actions.messageBuilderPropController(documentKey, elementKey, propName, message)));
508
510
  return __spreadProps(__spreadValues({}, acc), { [propName]: propController });
509
511
  }, {});
510
512
  dispatch(actions.registerPropControllers(documentKey, elementKey, propControllers));
@@ -517,9 +519,9 @@ function propControllerHandlesMiddleware() {
517
519
  switch (action.type) {
518
520
  case actions.ActionTypes.REGISTER_COMPONENT_HANDLE: {
519
521
  const { documentKey, elementKey, componentHandle } = action.payload;
520
- const element = constants.getElement(getState(), documentKey, elementKey);
522
+ const element = reactPage.getElement(getState(), documentKey, elementKey);
521
523
  const propControllers = dispatch(createAndRegisterPropControllers(documentKey, elementKey));
522
- if (element != null && !constants.isElementReference(element) && constants.isPropControllersHandle(componentHandle)) {
524
+ if (element != null && !reactPage.isElementReference(element) && reactPage.isPropControllersHandle(componentHandle)) {
523
525
  dispatch(actions.registerPropControllersHandle(documentKey, elementKey, componentHandle));
524
526
  componentHandle.setPropControllers(propControllers);
525
527
  }
@@ -527,13 +529,13 @@ function propControllerHandlesMiddleware() {
527
529
  }
528
530
  case actions.ActionTypes.UNREGISTER_COMPONENT_HANDLE: {
529
531
  const { documentKey, elementKey } = action.payload;
530
- const handle = constants.getPropControllersHandle(getPropControllerHandlesStateSlice(getState()), documentKey, elementKey);
532
+ const handle = reactPage.getPropControllersHandle(getPropControllerHandlesStateSlice(getState()), documentKey, elementKey);
531
533
  handle == null ? void 0 : handle.setPropControllers(null);
532
534
  dispatch(actions.unregisterPropControllers(documentKey, elementKey));
533
535
  break;
534
536
  }
535
537
  case actions.ActionTypes.MESSAGE_HOST_PROP_CONTROLLER: {
536
- const propController = constants.getPropController(getPropControllerHandlesStateSlice(getState()), action.payload.documentKey, action.payload.elementKey, action.payload.propName);
538
+ const propController = reactPage.getPropController(getPropControllerHandlesStateSlice(getState()), action.payload.documentKey, action.payload.elementKey, action.payload.propName);
537
539
  if (propController)
538
540
  propController.recv(action.payload.message);
539
541
  }
@@ -552,7 +554,7 @@ if (void 0) {
552
554
  const setPropControllers = fn();
553
555
  const handle = new next.ElementImperativeHandle();
554
556
  handle.callback(() => ({ setPropControllers }));
555
- store.dispatch(actions.registerDocument(constants.createDocument(documentKey, element)));
557
+ store.dispatch(actions.registerDocument(reactPage.createDocument(documentKey, element)));
556
558
  store.dispatch(actions.registerComponentHandle(documentKey, element.key, handle));
557
559
  expect(setPropControllers).toHaveBeenCalled();
558
560
  });
@@ -563,7 +565,7 @@ if (void 0) {
563
565
  const setPropControllers = fn();
564
566
  const handle = new next.ElementImperativeHandle();
565
567
  handle.callback(() => ({ setPropControllers }));
566
- store.dispatch(actions.registerDocument(constants.createDocument(documentKey, element)));
568
+ store.dispatch(actions.registerDocument(reactPage.createDocument(documentKey, element)));
567
569
  store.dispatch(actions.registerComponentHandle(documentKey, element.key, handle));
568
570
  expect(setPropControllers).not.toHaveBeenCalled();
569
571
  });
@@ -584,7 +586,7 @@ function configureStore({
584
586
  }) {
585
587
  const initialState = __spreadProps(__spreadValues({}, preloadedState), {
586
588
  documents: getInitialState$2({ rootElements }),
587
- isPreview: constants.getInitialState$1(true)
589
+ isPreview: reactPage.getInitialState$1(true)
588
590
  });
589
591
  return redux.createStore(reducer, initialState, redux.applyMiddleware(thunk__default["default"], measureBoxModelsMiddleware(), messageChannelMiddleware(), propControllerHandlesMiddleware(), makeswiftApiClientSyncMiddleware(client)));
590
592
  }
@@ -601,7 +603,7 @@ function PreviewProvider({
601
603
  }), [client, rootElements, runtime]);
602
604
  React.useEffect(() => {
603
605
  var _a;
604
- const unregisterDocuments = Array.from((_a = rootElements == null ? void 0 : rootElements.entries()) != null ? _a : []).map(([documentKey, rootElement]) => store.dispatch(actions.registerDocumentEffect(constants.createDocument(documentKey, rootElement))));
606
+ const unregisterDocuments = Array.from((_a = rootElements == null ? void 0 : rootElements.entries()) != null ? _a : []).map(([documentKey, rootElement]) => store.dispatch(actions.registerDocumentEffect(reactPage.createDocument(documentKey, rootElement))));
605
607
  return () => {
606
608
  unregisterDocuments.forEach((unregisterDocument) => {
607
609
  unregisterDocument();