@styleflow.app/flowpress-astro-core 1.0.0-beta.5 → 1.0.0-beta.50

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 (340) hide show
  1. package/CHANGELOG.md +307 -1
  2. package/README.md +121 -6
  3. package/dist/accessibility-panel.d.ts +2 -0
  4. package/dist/accessibility-panel.d.ts.map +1 -0
  5. package/dist/accessibility-panel.js +81 -0
  6. package/dist/accessibility-panel.js.map +1 -0
  7. package/dist/astro/BaseLayout.astro +34 -17
  8. package/dist/astro/CompositionRenderer.astro +170 -0
  9. package/dist/astro/DefaultBlockAdapter.astro +37 -0
  10. package/dist/astro/EditorialMedia.astro +47 -0
  11. package/dist/astro/FontStylesheets.astro +35 -0
  12. package/dist/astro/GutenbergRenderer.astro +270 -84
  13. package/dist/astro/Media.astro +27 -0
  14. package/dist/astro/StyleflowElement.astro +25 -0
  15. package/dist/astro/ThemeRuntime.astro +26 -0
  16. package/dist/astro/blocks/CarouselBlock.astro +72 -101
  17. package/dist/astro/blocks/CarouselItemBlock.astro +4 -4
  18. package/dist/astro/blocks/ColumnBlock.astro +4 -5
  19. package/dist/astro/blocks/CoverBlock.astro +158 -0
  20. package/dist/astro/blocks/FormBlock.astro +23 -20
  21. package/dist/astro/blocks/GridBlock.astro +5 -4
  22. package/dist/astro/blocks/HeroBlock.astro +6 -6
  23. package/dist/astro/blocks/ImageBlock.astro +6 -6
  24. package/dist/astro/blocks/ListItemFallback.astro +9 -7
  25. package/dist/astro/blocks/NumberSpinnerBlock.astro +29 -22
  26. package/dist/astro/blocks/SemanticElement.astro +35 -0
  27. package/dist/astro/blocks/SiteLogoBlock.astro +54 -0
  28. package/dist/astro/blocks/TextBlock.astro +33 -28
  29. package/dist/astro/blocks/ThemeToggleBlock.astro +13 -0
  30. package/dist/astro/blocks/cover.d.ts +13 -0
  31. package/dist/astro/blocks/cover.d.ts.map +1 -0
  32. package/dist/astro/blocks/cover.js +105 -0
  33. package/dist/astro/blocks/cover.js.map +1 -0
  34. package/dist/astro/blocks/cover.ts +119 -0
  35. package/dist/astro/blocks/helpers.d.ts +10 -1
  36. package/dist/astro/blocks/helpers.d.ts.map +1 -1
  37. package/dist/astro/blocks/helpers.js +55 -39
  38. package/dist/astro/blocks/helpers.js.map +1 -1
  39. package/dist/astro/blocks/helpers.ts +69 -44
  40. package/dist/astro/motion/AccordionRuntime.astro +9 -0
  41. package/dist/astro/motion/MotionBoot.astro +21 -0
  42. package/dist/astro/motion/MotionRuntime.astro +31 -0
  43. package/dist/astro/motion/accordion.css +163 -0
  44. package/dist/astro/motion/accordion.d.ts +3 -0
  45. package/dist/astro/motion/accordion.d.ts.map +1 -0
  46. package/dist/astro/motion/accordion.js +98 -0
  47. package/dist/astro/motion/accordion.js.map +1 -0
  48. package/dist/astro/motion/accordion.ts +109 -0
  49. package/dist/astro/motion/motion-controller.d.ts +12 -0
  50. package/dist/astro/motion/motion-controller.d.ts.map +1 -0
  51. package/dist/astro/motion/motion-controller.js +312 -0
  52. package/dist/astro/motion/motion-controller.js.map +1 -0
  53. package/dist/astro/motion/motion-controller.ts +393 -0
  54. package/dist/astro/motion/motion.css +600 -0
  55. package/dist/astro/motion/motion.d.ts +132 -0
  56. package/dist/astro/motion/motion.d.ts.map +1 -0
  57. package/dist/astro/motion/motion.js +265 -0
  58. package/dist/astro/motion/motion.js.map +1 -0
  59. package/dist/astro/motion/motion.ts +430 -0
  60. package/dist/astro/native/AccordionRuntime.astro +11 -0
  61. package/dist/astro/native/Blob.astro +113 -0
  62. package/dist/astro/native/BlobBlock.astro +52 -0
  63. package/dist/astro/native/CustomFieldValue.astro +88 -0
  64. package/dist/astro/native/LevelTag.astro +20 -0
  65. package/dist/astro/native/MapBlock.astro +41 -0
  66. package/dist/astro/native/NativeHtmlBlock.astro +12 -0
  67. package/dist/astro/native/NativeIconBlock.astro +42 -0
  68. package/dist/astro/native/ProjectTimelineBlock.astro +34 -0
  69. package/dist/astro/native/ReservedLogin.astro +107 -0
  70. package/dist/astro/native/ResolvedBlocks.astro +91 -0
  71. package/dist/astro/native/SyncedPatternContent.astro +94 -0
  72. package/dist/astro/native/TermFieldValue.astro +39 -0
  73. package/dist/astro/native/Timeline.astro +22 -0
  74. package/dist/astro/native/TimelineCardBlock.astro +7 -0
  75. package/dist/astro/native/accordion-controller.d.ts +3 -0
  76. package/dist/astro/native/accordion-controller.d.ts.map +1 -0
  77. package/dist/astro/native/accordion-controller.js +143 -0
  78. package/dist/astro/native/accordion-controller.js.map +1 -0
  79. package/dist/astro/native/accordion-controller.ts +108 -0
  80. package/dist/astro/native/accordion.css +36 -0
  81. package/dist/astro/native/accordion.d.ts +24 -0
  82. package/dist/astro/native/accordion.d.ts.map +1 -0
  83. package/dist/astro/native/accordion.js +82 -0
  84. package/dist/astro/native/accordion.js.map +1 -0
  85. package/dist/astro/native/accordion.ts +91 -0
  86. package/dist/astro/native/blob/blob-shapes.generated.d.ts +2 -0
  87. package/dist/astro/native/blob/blob-shapes.generated.d.ts.map +1 -0
  88. package/dist/astro/native/blob/blob-shapes.generated.js +2 -0
  89. package/dist/astro/native/blob/blob-shapes.generated.js.map +1 -0
  90. package/dist/astro/native/blob/blob-shapes.generated.ts +1 -0
  91. package/dist/astro/native/blob/config.d.ts +49 -0
  92. package/dist/astro/native/blob/config.d.ts.map +1 -0
  93. package/dist/astro/native/blob/config.js +86 -0
  94. package/dist/astro/native/blob/config.js.map +1 -0
  95. package/dist/astro/native/blob/config.ts +132 -0
  96. package/dist/astro/native/blob/controller.d.ts +11 -0
  97. package/dist/astro/native/blob/controller.d.ts.map +1 -0
  98. package/dist/astro/native/blob/controller.js +240 -0
  99. package/dist/astro/native/blob/controller.js.map +1 -0
  100. package/dist/astro/native/blob/controller.ts +248 -0
  101. package/dist/astro/native/blob/geometry.d.ts +2 -0
  102. package/dist/astro/native/blob/geometry.d.ts.map +1 -0
  103. package/dist/astro/native/blob/geometry.js +2 -0
  104. package/dist/astro/native/blob/geometry.js.map +1 -0
  105. package/dist/astro/native/blob/geometry.ts +1 -0
  106. package/dist/astro/native/blob/ids.d.ts +7 -0
  107. package/dist/astro/native/blob/ids.d.ts.map +1 -0
  108. package/dist/astro/native/blob/ids.js +11 -0
  109. package/dist/astro/native/blob/ids.js.map +1 -0
  110. package/dist/astro/native/blob/ids.ts +11 -0
  111. package/dist/astro/native/blob.css +83 -0
  112. package/dist/astro/native/block-sizing.css +34 -0
  113. package/dist/astro/native/button-template.d.ts +31 -0
  114. package/dist/astro/native/button-template.d.ts.map +1 -0
  115. package/dist/astro/native/button-template.js +54 -0
  116. package/dist/astro/native/button-template.js.map +1 -0
  117. package/dist/astro/native/button-template.ts +92 -0
  118. package/dist/astro/native/button.d.ts +13 -0
  119. package/dist/astro/native/button.d.ts.map +1 -0
  120. package/dist/astro/native/button.js +26 -0
  121. package/dist/astro/native/button.js.map +1 -0
  122. package/dist/astro/native/button.ts +26 -0
  123. package/dist/astro/native/carousel.css +323 -0
  124. package/dist/astro/native/core-accordion-heading.astro +23 -0
  125. package/dist/astro/native/core-accordion-item.astro +8 -0
  126. package/dist/astro/native/core-accordion-panel.astro +8 -0
  127. package/dist/astro/native/core-accordion.astro +8 -0
  128. package/dist/astro/native/core-block.astro +18 -0
  129. package/dist/astro/native/core-button-fallback.astro +43 -0
  130. package/dist/astro/native/core-button.astro +65 -0
  131. package/dist/astro/native/core-buttons.astro +14 -0
  132. package/dist/astro/native/core-group.astro +25 -0
  133. package/dist/astro/native/core-home-link.astro +12 -0
  134. package/dist/astro/native/core-html.astro +8 -0
  135. package/dist/astro/native/core-icon.astro +7 -0
  136. package/dist/astro/native/core-image.astro +136 -0
  137. package/dist/astro/native/core-navigation-link.astro +71 -0
  138. package/dist/astro/native/core-navigation-submenu.astro +33 -0
  139. package/dist/astro/native/core-navigation.astro +101 -0
  140. package/dist/astro/native/core-page-list-data-item.astro +19 -0
  141. package/dist/astro/native/core-page-list-item.astro +8 -0
  142. package/dist/astro/native/core-page-list.astro +40 -0
  143. package/dist/astro/native/core-post-date.astro +21 -0
  144. package/dist/astro/native/core-post-excerpt.astro +26 -0
  145. package/dist/astro/native/core-post-featured-image.astro +40 -0
  146. package/dist/astro/native/core-post-template-fallback.astro +30 -0
  147. package/dist/astro/native/core-post-template.astro +23 -0
  148. package/dist/astro/native/core-post-terms.astro +47 -0
  149. package/dist/astro/native/core-post-title.astro +23 -0
  150. package/dist/astro/native/core-query-no-results.astro +12 -0
  151. package/dist/astro/native/core-query.astro +22 -0
  152. package/dist/astro/native/core-separator.astro +18 -0
  153. package/dist/astro/native/core-site-title.astro +16 -0
  154. package/dist/astro/native/core-term-description.astro +12 -0
  155. package/dist/astro/native/core-term-name.astro +21 -0
  156. package/dist/astro/native/core-term-template.astro +30 -0
  157. package/dist/astro/native/core-terms-query.astro +19 -0
  158. package/dist/astro/native/core-transparent.astro +11 -0
  159. package/dist/astro/native/flowpress-navigation-controller.d.ts +2 -0
  160. package/dist/astro/native/flowpress-navigation-controller.d.ts.map +1 -0
  161. package/dist/astro/native/flowpress-navigation-controller.js +217 -0
  162. package/dist/astro/native/flowpress-navigation-controller.js.map +1 -0
  163. package/dist/astro/native/flowpress-navigation-controller.ts +215 -0
  164. package/dist/astro/native/flowpress-navigation.css +18 -0
  165. package/dist/astro/native/grid-bleed.d.ts +2 -0
  166. package/dist/astro/native/grid-bleed.d.ts.map +1 -0
  167. package/dist/astro/native/grid-bleed.js +123 -0
  168. package/dist/astro/native/grid-bleed.js.map +1 -0
  169. package/dist/astro/native/grid.css +180 -0
  170. package/dist/astro/native/grid.d.ts +17 -0
  171. package/dist/astro/native/grid.d.ts.map +1 -0
  172. package/dist/astro/native/grid.js +108 -0
  173. package/dist/astro/native/grid.js.map +1 -0
  174. package/dist/astro/native/grid.ts +132 -0
  175. package/dist/astro/native/group.css +36 -0
  176. package/dist/astro/native/group.d.ts +15 -0
  177. package/dist/astro/native/group.d.ts.map +1 -0
  178. package/dist/astro/native/group.js +66 -0
  179. package/dist/astro/native/group.js.map +1 -0
  180. package/dist/astro/native/group.ts +61 -0
  181. package/dist/astro/native/html.d.ts +6 -0
  182. package/dist/astro/native/html.d.ts.map +1 -0
  183. package/dist/astro/native/html.js +10 -0
  184. package/dist/astro/native/html.js.map +1 -0
  185. package/dist/astro/native/html.ts +9 -0
  186. package/dist/astro/native/icon.d.ts +3 -0
  187. package/dist/astro/native/icon.d.ts.map +1 -0
  188. package/dist/astro/native/icon.js +23 -0
  189. package/dist/astro/native/icon.js.map +1 -0
  190. package/dist/astro/native/icon.ts +21 -0
  191. package/dist/astro/native/image.d.ts +5 -0
  192. package/dist/astro/native/image.d.ts.map +1 -0
  193. package/dist/astro/native/image.js +65 -0
  194. package/dist/astro/native/image.js.map +1 -0
  195. package/dist/astro/native/image.ts +56 -0
  196. package/dist/astro/native/inline-text.css +15 -0
  197. package/dist/astro/native/map.d.ts +14 -0
  198. package/dist/astro/native/map.d.ts.map +1 -0
  199. package/dist/astro/native/map.js +60 -0
  200. package/dist/astro/native/map.js.map +1 -0
  201. package/dist/astro/native/map.ts +70 -0
  202. package/dist/astro/native/motion-preference.d.ts +50 -0
  203. package/dist/astro/native/motion-preference.d.ts.map +1 -0
  204. package/dist/astro/native/motion-preference.js +132 -0
  205. package/dist/astro/native/motion-preference.js.map +1 -0
  206. package/dist/astro/native/motion-preference.ts +158 -0
  207. package/dist/astro/native/motion.d.ts +101 -0
  208. package/dist/astro/native/motion.d.ts.map +1 -0
  209. package/dist/astro/native/motion.js +168 -0
  210. package/dist/astro/native/motion.js.map +1 -0
  211. package/dist/astro/native/motion.ts +312 -0
  212. package/dist/astro/native/query-carousel.d.ts +13 -0
  213. package/dist/astro/native/query-carousel.d.ts.map +1 -0
  214. package/dist/astro/native/query-carousel.js +36 -0
  215. package/dist/astro/native/query-carousel.js.map +1 -0
  216. package/dist/astro/native/query-carousel.ts +60 -0
  217. package/dist/astro/native/query-loop.d.ts +38 -0
  218. package/dist/astro/native/query-loop.d.ts.map +1 -0
  219. package/dist/astro/native/query-loop.js +20 -0
  220. package/dist/astro/native/query-loop.js.map +1 -0
  221. package/dist/astro/native/query-loop.ts +67 -0
  222. package/dist/astro/native/registry.d.ts +3 -0
  223. package/dist/astro/native/registry.d.ts.map +1 -0
  224. package/dist/astro/native/registry.js +91 -0
  225. package/dist/astro/native/registry.js.map +1 -0
  226. package/dist/astro/native/registry.ts +93 -0
  227. package/dist/astro/native/sf-block-binding.astro +20 -0
  228. package/dist/astro/native/sf-post-field.astro +9 -0
  229. package/dist/astro/native/sf-slot.astro +6 -0
  230. package/dist/astro/native/sf-term-field.astro +9 -0
  231. package/dist/astro/native/timeline.css +4 -0
  232. package/dist/astro/native/timeline.d.ts +28 -0
  233. package/dist/astro/native/timeline.d.ts.map +1 -0
  234. package/dist/astro/native/timeline.js +43 -0
  235. package/dist/astro/native/timeline.js.map +1 -0
  236. package/dist/astro/native/timeline.ts +79 -0
  237. package/dist/astro/preferences/AccessibilityPanel.astro +105 -0
  238. package/dist/astro/preferences/ColorModeToggle.astro +26 -0
  239. package/dist/astro/preferences/MotionToggle.astro +27 -0
  240. package/dist/astro/preferences/PreferencesRuntime.astro +9 -0
  241. package/dist/astro/preferences/ThemeToggle.astro +30 -0
  242. package/dist/astro/preferences/Toggle.astro +50 -0
  243. package/dist/astro/preferences/preferences.css +125 -0
  244. package/dist/block-renderers.d.ts +23 -3
  245. package/dist/block-renderers.d.ts.map +1 -1
  246. package/dist/block-renderers.js.map +1 -1
  247. package/dist/build-cache.d.ts +8 -0
  248. package/dist/build-cache.d.ts.map +1 -0
  249. package/dist/build-cache.js +82 -0
  250. package/dist/build-cache.js.map +1 -0
  251. package/dist/carousel.d.ts +56 -6
  252. package/dist/carousel.d.ts.map +1 -1
  253. package/dist/carousel.js +183 -27
  254. package/dist/carousel.js.map +1 -1
  255. package/dist/client.d.ts +34 -2
  256. package/dist/client.d.ts.map +1 -1
  257. package/dist/client.js +124 -42
  258. package/dist/client.js.map +1 -1
  259. package/dist/composition.d.ts +14 -0
  260. package/dist/composition.d.ts.map +1 -0
  261. package/dist/composition.js +125 -0
  262. package/dist/composition.js.map +1 -0
  263. package/dist/default-blocks.d.ts +9 -0
  264. package/dist/default-blocks.d.ts.map +1 -0
  265. package/dist/default-blocks.js +122 -0
  266. package/dist/default-blocks.js.map +1 -0
  267. package/dist/env.d.ts +21 -0
  268. package/dist/env.d.ts.map +1 -1
  269. package/dist/env.js +53 -0
  270. package/dist/env.js.map +1 -1
  271. package/dist/index.d.ts +7 -0
  272. package/dist/index.d.ts.map +1 -1
  273. package/dist/index.js +6 -0
  274. package/dist/index.js.map +1 -1
  275. package/dist/media.d.ts +20 -0
  276. package/dist/media.d.ts.map +1 -0
  277. package/dist/media.js +106 -0
  278. package/dist/media.js.map +1 -0
  279. package/dist/motion-preference.d.ts +50 -0
  280. package/dist/motion-preference.d.ts.map +1 -0
  281. package/dist/motion-preference.js +132 -0
  282. package/dist/motion-preference.js.map +1 -0
  283. package/dist/preferences-runtime.d.ts +3 -0
  284. package/dist/preferences-runtime.d.ts.map +1 -0
  285. package/dist/preferences-runtime.js +23 -0
  286. package/dist/preferences-runtime.js.map +1 -0
  287. package/dist/preferences-styleflow.d.ts +3 -0
  288. package/dist/preferences-styleflow.d.ts.map +1 -0
  289. package/dist/preferences-styleflow.js +14 -0
  290. package/dist/preferences-styleflow.js.map +1 -0
  291. package/dist/preferences.d.ts +4 -0
  292. package/dist/preferences.d.ts.map +1 -0
  293. package/dist/preferences.js +4 -0
  294. package/dist/preferences.js.map +1 -0
  295. package/dist/reserved-area.d.ts +10 -0
  296. package/dist/reserved-area.d.ts.map +1 -0
  297. package/dist/reserved-area.js +93 -0
  298. package/dist/reserved-area.js.map +1 -0
  299. package/dist/styleflow.d.ts +18 -1
  300. package/dist/styleflow.d.ts.map +1 -1
  301. package/dist/styleflow.js +82 -11
  302. package/dist/styleflow.js.map +1 -1
  303. package/dist/svg-media-runtime.d.ts +3 -0
  304. package/dist/svg-media-runtime.d.ts.map +1 -0
  305. package/dist/svg-media-runtime.js +33 -0
  306. package/dist/svg-media-runtime.js.map +1 -0
  307. package/dist/svg-media-types.d.ts +11 -0
  308. package/dist/svg-media-types.d.ts.map +1 -0
  309. package/dist/svg-media-types.js +2 -0
  310. package/dist/svg-media-types.js.map +1 -0
  311. package/dist/svg-media.d.ts +13 -0
  312. package/dist/svg-media.d.ts.map +1 -0
  313. package/dist/svg-media.js +47 -0
  314. package/dist/svg-media.js.map +1 -0
  315. package/dist/template-hierarchy.d.ts +0 -7
  316. package/dist/template-hierarchy.d.ts.map +1 -1
  317. package/dist/template-hierarchy.js +0 -21
  318. package/dist/template-hierarchy.js.map +1 -1
  319. package/dist/text.d.ts +3 -0
  320. package/dist/text.d.ts.map +1 -0
  321. package/dist/text.js +6 -0
  322. package/dist/text.js.map +1 -0
  323. package/dist/theme-runtime.d.ts +16 -0
  324. package/dist/theme-runtime.d.ts.map +1 -0
  325. package/dist/theme-runtime.js +100 -0
  326. package/dist/theme-runtime.js.map +1 -0
  327. package/dist/tsconfig.tsbuildinfo +1 -1
  328. package/dist/types.d.ts +75 -1
  329. package/dist/types.d.ts.map +1 -1
  330. package/dist/types.js.map +1 -1
  331. package/dist/vivid-colors-preference.d.ts +31 -0
  332. package/dist/vivid-colors-preference.d.ts.map +1 -0
  333. package/dist/vivid-colors-preference.js +102 -0
  334. package/dist/vivid-colors-preference.js.map +1 -0
  335. package/package.json +58 -7
  336. package/dist/astro/DefaultTemplate.astro +0 -42
  337. package/dist/templates.d.ts +0 -19
  338. package/dist/templates.d.ts.map +0 -1
  339. package/dist/templates.js +0 -20
  340. package/dist/templates.js.map +0 -1
@@ -0,0 +1,600 @@
1
+ /* Portable motion foundation, intentionally namespaced for future extraction. */
2
+ /* styleflow-ignore-start rule=SF_CSS_HARDCODED reason="Motion timings, transforms and state selectors are interaction behavior rather than visual tokens" scope="Portable SF motion foundation" */
3
+ :root {
4
+ --sf-motion-duration-instant: 120ms;
5
+ --sf-motion-duration-fast: 180ms;
6
+ --sf-motion-duration-default: 280ms;
7
+ --sf-motion-duration-slow: 420ms;
8
+ --sf-motion-duration-reveal: 680ms;
9
+ --sf-motion-duration-curtain: 820ms;
10
+ --sf-motion-ease-standard: cubic-bezier(0.2, 0, 0, 1);
11
+ --sf-motion-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
12
+ --sf-motion-ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
13
+ --sf-motion-ease-luxury: cubic-bezier(0.77, 0, 0.175, 1);
14
+ }
15
+
16
+ /* Smooth scrolling only while motion is allowed; an explicit choice beats the OS. */
17
+ html[data-sf-motion-preference="full"] {
18
+ scroll-behavior: smooth;
19
+ }
20
+
21
+ @media (prefers-reduced-motion: no-preference) {
22
+ html:not([data-sf-motion-preference]) {
23
+ scroll-behavior: smooth;
24
+ }
25
+ }
26
+
27
+ .sf-reveal {
28
+ --sf-reveal-delay: 0ms;
29
+ --sf-reveal-duration: 900ms;
30
+ --sf-reveal-opacity-duration: 620ms;
31
+ --sf-reveal-from-x: 0;
32
+ --sf-reveal-from-y: 2.5rem;
33
+ --sf-reveal-from-scale: 1;
34
+ --sf-reveal-from-clip: inset(0 0 16% 0);
35
+ }
36
+
37
+ .sf-reveal--fade {
38
+ --sf-reveal-duration: 650ms;
39
+ --sf-reveal-opacity-duration: 650ms;
40
+ --sf-reveal-from-y: 0;
41
+ --sf-reveal-from-clip: inset(0);
42
+ }
43
+
44
+ .sf-reveal--scale {
45
+ --sf-reveal-duration: 950ms;
46
+ --sf-reveal-from-y: 1rem;
47
+ --sf-reveal-from-scale: 0.94;
48
+ --sf-reveal-from-clip: inset(2%);
49
+ }
50
+
51
+ .sf-reveal--zoom-in {
52
+ --sf-reveal-duration: 2000ms;
53
+ --sf-reveal-from-scale: 1.25;
54
+ }
55
+
56
+ /* Only the media moves. Captions, links, the observer box and layout stay put. */
57
+ .sf-reveal--zoom-in [data-flowpress-media-frame] {
58
+ overflow: clip;
59
+ }
60
+
61
+ .sf-reveal--zoom-in [data-flowpress-media-frame] > :is(img, svg) {
62
+ transform-origin: var(--sf-reveal-zoom-origin, center);
63
+ }
64
+
65
+ html[data-sf-motion="ready"]
66
+ .sf-reveal.sf-reveal--zoom-in:is([data-sf-reveal-state="pending"], [data-sf-reveal-state="visible"]):not(.sf-motion-static) {
67
+ opacity: 1;
68
+ transform: none;
69
+ clip-path: none;
70
+ filter: none;
71
+ transition: none;
72
+ }
73
+
74
+ html[data-sf-motion="ready"]
75
+ .sf-reveal.sf-reveal--zoom-in[data-sf-reveal-state="pending"]:not(.sf-motion-static)
76
+ [data-flowpress-media-frame] > :is(img, svg) {
77
+ transform: scale(var(--sf-reveal-from-scale));
78
+ }
79
+
80
+ html[data-sf-motion="ready"]
81
+ .sf-reveal.sf-reveal--zoom-in[data-sf-reveal-state="visible"]:not(.sf-motion-static)
82
+ [data-flowpress-media-frame] > :is(img, svg) {
83
+ transform: scale(1);
84
+ transition: transform var(--sf-reveal-duration) var(--sf-motion-ease-soft) var(--sf-reveal-delay);
85
+ }
86
+
87
+ /* Release animation-only clipping; also cover live preference changes. */
88
+ .sf-reveal--zoom-in[data-sf-reveal-state="settled"] [data-flowpress-media-frame],
89
+ .sf-reveal--zoom-in.sf-motion-static [data-flowpress-media-frame] {
90
+ overflow: visible;
91
+ }
92
+
93
+ html[data-sf-motion="static"] .sf-reveal--zoom-in [data-flowpress-media-frame] > :is(img, svg),
94
+ html[data-sf-motion] :is(.sf-motion-disable, .sf-reveal-skip) .sf-reveal--zoom-in [data-flowpress-media-frame] > :is(img, svg),
95
+ html[data-sf-motion] :is(.sf-motion-disable, .sf-reveal-skip).sf-reveal--zoom-in [data-flowpress-media-frame] > :is(img, svg) {
96
+ transform: none !important;
97
+ transition: none !important;
98
+ }
99
+
100
+ .sf-reveal--blur {
101
+ --sf-reveal-duration: 800ms;
102
+ --sf-reveal-opacity-duration: 620ms;
103
+ --sf-reveal-from-y: 1.25rem;
104
+ --sf-reveal-from-clip: inset(0);
105
+ }
106
+
107
+ .sf-reveal--wipe-start {
108
+ --sf-reveal-duration: 1100ms;
109
+ --sf-reveal-opacity-duration: 520ms;
110
+ --sf-reveal-from-y: 0;
111
+ --sf-reveal-from-clip: inset(0 100% 0 0);
112
+ }
113
+
114
+ .sf-reveal--wipe-start-blur-scale {
115
+ --sf-reveal-duration: 1150ms;
116
+ --sf-reveal-opacity-duration: 650ms;
117
+ --sf-reveal-from-y: 0;
118
+ --sf-reveal-from-scale: 0.94;
119
+ --sf-reveal-from-clip: inset(0 100% 0 0);
120
+ }
121
+
122
+ .sf-reveal--wipe-end {
123
+ --sf-reveal-duration: 1100ms;
124
+ --sf-reveal-opacity-duration: 520ms;
125
+ --sf-reveal-from-y: 0;
126
+ --sf-reveal-from-clip: inset(0 0 0 100%);
127
+ }
128
+
129
+ /*
130
+ * Rules such as <hr>: the line extends from zero to its exact length. Clipping
131
+ * keeps the layout box intact, so the controller still measures the real size.
132
+ */
133
+ .sf-reveal--line {
134
+ --sf-reveal-duration: 1100ms;
135
+ --sf-reveal-from-y: 0;
136
+ --sf-reveal-from-clip: inset(0 100% 0 0);
137
+ }
138
+
139
+ :dir(rtl) .sf-reveal--wipe-start {
140
+ --sf-reveal-from-clip: inset(0 0 0 100%);
141
+ }
142
+ :dir(rtl) .sf-reveal--line {
143
+ --sf-reveal-from-clip: inset(0 0 0 100%);
144
+ }
145
+ :dir(rtl) .sf-reveal--wipe-start-blur-scale {
146
+ --sf-reveal-from-clip: inset(0 0 0 100%);
147
+ }
148
+ :dir(rtl) .sf-reveal--wipe-end {
149
+ --sf-reveal-from-clip: inset(0 100% 0 0);
150
+ }
151
+
152
+ html[data-sf-motion="ready"]
153
+ .sf-reveal[data-sf-reveal-state="pending"]:not(.sf-motion-static) {
154
+ clip-path: var(--sf-reveal-from-clip);
155
+ opacity: 0;
156
+ transform: translate3d(var(--sf-reveal-from-x), var(--sf-reveal-from-y), 0)
157
+ scale(var(--sf-reveal-from-scale));
158
+ }
159
+
160
+ html[data-sf-motion="ready"]
161
+ .sf-reveal.sf-reveal--wipe-start-blur-scale[data-sf-reveal-state="pending"]:not(
162
+ .sf-motion-static
163
+ ) {
164
+ filter: blur(10px);
165
+ }
166
+
167
+ html[data-sf-motion="ready"]
168
+ .sf-reveal.sf-reveal--blur[data-sf-reveal-state="pending"]:not(
169
+ .sf-motion-static
170
+ ) {
171
+ clip-path: none;
172
+ filter: blur(10px);
173
+ }
174
+
175
+ html[data-sf-motion="ready"]
176
+ .sf-reveal.sf-reveal--fade[data-sf-reveal-state="pending"]:not(
177
+ .sf-motion-static
178
+ ) {
179
+ clip-path: none;
180
+ }
181
+
182
+ /* The fully clipped line is already invisible: it grows instead of fading. */
183
+ html[data-sf-motion="ready"]
184
+ .sf-reveal.sf-reveal--line[data-sf-reveal-state="pending"]:not(
185
+ .sf-motion-static
186
+ ) {
187
+ opacity: 1;
188
+ }
189
+
190
+ html[data-sf-motion="ready"]
191
+ .sf-reveal[data-sf-reveal-state="visible"]:not(.sf-motion-static) {
192
+ clip-path: inset(0);
193
+ opacity: 1;
194
+ transform: translate3d(0, 0, 0) scale(1);
195
+ transition:
196
+ opacity var(--sf-reveal-opacity-duration) var(--sf-motion-ease-soft)
197
+ var(--sf-reveal-delay),
198
+ transform var(--sf-reveal-duration) var(--sf-motion-ease-out)
199
+ var(--sf-reveal-delay),
200
+ clip-path var(--sf-reveal-duration) var(--sf-motion-ease-out)
201
+ var(--sf-reveal-delay),
202
+ filter var(--sf-reveal-duration) var(--sf-motion-ease-out)
203
+ var(--sf-reveal-delay);
204
+ }
205
+
206
+ html[data-sf-motion="ready"]
207
+ .sf-reveal.sf-reveal--blur[data-sf-reveal-state="visible"]:not(
208
+ .sf-motion-static
209
+ ) {
210
+ clip-path: none;
211
+ filter: none;
212
+ }
213
+
214
+ html[data-sf-motion="ready"]
215
+ .sf-reveal.sf-reveal--wipe-start-blur-scale[data-sf-reveal-state="visible"]:not(
216
+ .sf-motion-static
217
+ ) {
218
+ filter: none;
219
+ }
220
+
221
+ html[data-sf-motion="ready"]
222
+ .sf-reveal.sf-reveal--fade[data-sf-reveal-state="visible"]:not(
223
+ .sf-motion-static
224
+ ) {
225
+ clip-path: none;
226
+ }
227
+
228
+ html[data-sf-motion="ready"]
229
+ .sf-reveal.sf-reveal--line[data-sf-reveal-state="visible"]:not(
230
+ .sf-motion-static
231
+ ) {
232
+ transition: clip-path var(--sf-reveal-duration) var(--sf-motion-ease-luxury)
233
+ var(--sf-reveal-delay);
234
+ }
235
+
236
+ html[data-sf-motion="ready"]
237
+ .sf-reveal[data-sf-reveal-state="settled"]:not(.sf-motion-static) {
238
+ clip-path: none;
239
+ filter: none;
240
+ opacity: 1;
241
+ transform: none;
242
+ transition: none;
243
+ }
244
+
245
+ html[data-sf-motion="ready"]
246
+ .sf-reveal[data-sf-reveal-state="pending"]:focus-within {
247
+ clip-path: inset(0);
248
+ filter: none;
249
+ opacity: 1;
250
+ transform: translate3d(0, 0, 0) scale(1);
251
+ transition-delay: 0ms;
252
+ }
253
+
254
+ html[data-sf-motion] .sf-reveal.sf-motion-static {
255
+ clip-path: none;
256
+ filter: none;
257
+ opacity: 1;
258
+ transform: none;
259
+ transition: none;
260
+ }
261
+
262
+ /* Both opt-outs keep reveals visible; only sf-motion-disable also stops every other motion. */
263
+ html[data-sf-motion] :is(.sf-motion-disable, .sf-reveal-skip).sf-reveal,
264
+ html[data-sf-motion] :is(.sf-motion-disable, .sf-reveal-skip) .sf-reveal {
265
+ clip-path: none !important;
266
+ filter: none !important;
267
+ opacity: 1 !important;
268
+ transform: none !important;
269
+ }
270
+
271
+ .sf-motion-disable,
272
+ .sf-motion-disable *,
273
+ .sf-motion-disable::before,
274
+ .sf-motion-disable::after,
275
+ .sf-motion-disable *::before,
276
+ .sf-motion-disable *::after {
277
+ animation: none !important;
278
+ scroll-behavior: auto !important;
279
+ transition: none !important;
280
+ }
281
+
282
+ /*
283
+ * A card can own independently authored child animations. The marker does not
284
+ * prescribe a keyframe: it only keeps a child's CSS animation at its first
285
+ * frame until the card is hovered or contains keyboard focus. Morphing blobs
286
+ * use the same class contract in their browser controller.
287
+ */
288
+ .card__has_animations .card__animation {
289
+ animation-play-state: paused;
290
+ }
291
+
292
+ .card__has_animations:is(:hover, :focus-within) .card__animation {
293
+ animation-play-state: running;
294
+ }
295
+
296
+ .sf-motion-disclosure-icon {
297
+ display: inline-flex;
298
+ transform: rotate(0deg);
299
+ transform-origin: center;
300
+ transition: transform var(--sf-motion-duration-fast)
301
+ var(--sf-motion-ease-standard);
302
+ }
303
+
304
+ .sf-motion-disclosure[aria-expanded="true"] > .sf-motion-disclosure-icon,
305
+ details[open] > summary.sf-motion-disclosure .sf-motion-disclosure-icon {
306
+ transform: rotate(180deg);
307
+ }
308
+
309
+ .sf-motion-submenu {
310
+ opacity: 1;
311
+ transform: translate3d(0, 0, 0) scale(1);
312
+ transform-origin: top left;
313
+ transition:
314
+ opacity var(--sf-motion-duration-fast) var(--sf-motion-ease-soft),
315
+ transform var(--sf-motion-duration-slow) var(--sf-motion-ease-out),
316
+ clip-path var(--sf-motion-duration-slow) var(--sf-motion-ease-out);
317
+ }
318
+
319
+ @starting-style {
320
+ .sf-motion-submenu:not([hidden]) {
321
+ opacity: 0;
322
+ clip-path: inset(0 0 100% 0);
323
+ transform: translate3d(0, -0.75rem, 0) scale(0.985);
324
+ }
325
+ }
326
+
327
+ .sf-motion-backdrop,
328
+ .sf-motion-drawer {
329
+ visibility: hidden;
330
+ }
331
+
332
+ .sf-motion-backdrop {
333
+ backdrop-filter: blur(0);
334
+ opacity: 0;
335
+ will-change: opacity, backdrop-filter;
336
+ transition:
337
+ opacity var(--sf-motion-duration-reveal) var(--sf-motion-ease-soft),
338
+ backdrop-filter var(--sf-motion-duration-curtain) var(--sf-motion-ease-soft),
339
+ visibility 0s linear var(--sf-motion-duration-curtain);
340
+ }
341
+
342
+ .sf-motion-backdrop[data-sf-motion-state="open"] {
343
+ backdrop-filter: blur(0.875rem);
344
+ opacity: 0.46;
345
+ transition-delay: 0s;
346
+ visibility: visible;
347
+ }
348
+
349
+ .sf-motion-drawer {
350
+ clip-path: inset(0 0 0 100%);
351
+ opacity: 0.98;
352
+ transform: translate3d(2.5rem, 0, 0);
353
+ transform-origin: right center;
354
+ will-change: clip-path, transform;
355
+ transition:
356
+ clip-path var(--sf-motion-duration-curtain) var(--sf-motion-ease-luxury),
357
+ opacity var(--sf-motion-duration-reveal) var(--sf-motion-ease-soft),
358
+ transform var(--sf-motion-duration-curtain) var(--sf-motion-ease-out),
359
+ visibility 0s linear var(--sf-motion-duration-curtain);
360
+ }
361
+
362
+ .sf-motion-drawer[data-sf-motion-state="open"] {
363
+ clip-path: inset(0);
364
+ opacity: 1;
365
+ transform: translate3d(0, 0, 0);
366
+ transition-delay: 0s;
367
+ visibility: visible;
368
+ }
369
+
370
+ .sf-motion-drawer__section,
371
+ .sf-motion-drawer__item {
372
+ clip-path: inset(0 0 100% 0);
373
+ filter: blur(0.375rem);
374
+ opacity: 0;
375
+ transform: translate3d(0, 1.5rem, 0);
376
+ transition:
377
+ clip-path var(--sf-motion-duration-reveal) var(--sf-motion-ease-out),
378
+ filter var(--sf-motion-duration-reveal) var(--sf-motion-ease-soft),
379
+ opacity var(--sf-motion-duration-slow) var(--sf-motion-ease-soft),
380
+ transform var(--sf-motion-duration-reveal) var(--sf-motion-ease-out);
381
+ }
382
+
383
+ .sf-motion-drawer[data-sf-motion-state="open"] .sf-motion-drawer__section,
384
+ .sf-motion-drawer[data-sf-motion-state="open"] .sf-motion-drawer__item {
385
+ clip-path: inset(0);
386
+ filter: blur(0);
387
+ opacity: 1;
388
+ transform: translate3d(0, 0, 0);
389
+ transition-delay: calc(180ms + var(--sf-motion-delay, 0ms));
390
+ }
391
+
392
+ .sf-motion-drawer__item:nth-child(1) { --sf-motion-delay: 0ms; }
393
+ .sf-motion-drawer__item:nth-child(2) { --sf-motion-delay: 70ms; }
394
+ .sf-motion-drawer__item:nth-child(3) { --sf-motion-delay: 140ms; }
395
+ .sf-motion-drawer__item:nth-child(4) { --sf-motion-delay: 210ms; }
396
+ .sf-motion-drawer__item:nth-child(5) { --sf-motion-delay: 280ms; }
397
+ .sf-motion-drawer__item:nth-child(6) { --sf-motion-delay: 350ms; }
398
+ .sf-motion-drawer__item:nth-child(n + 7) { --sf-motion-delay: 420ms; }
399
+
400
+ .sf-motion-menu-toggle {
401
+ transform: translateZ(0);
402
+ transition: transform var(--sf-motion-duration-default)
403
+ var(--sf-motion-ease-out);
404
+ }
405
+
406
+ .sf-motion-menu-toggle:active {
407
+ transform: scale(0.94);
408
+ }
409
+
410
+ .sf-motion-menu-toggle__icon {
411
+ transform: rotate(0deg);
412
+ transition: transform var(--sf-motion-duration-reveal)
413
+ var(--sf-motion-ease-out);
414
+ }
415
+
416
+ .sf-motion-menu-toggle__line {
417
+ block-size: 0.125rem;
418
+ border-radius: 999px;
419
+ box-shadow: inset 0 0 0 999px currentColor;
420
+ inline-size: 1.25rem;
421
+ inset-block-start: 50%;
422
+ inset-inline-start: 50%;
423
+ position: absolute;
424
+ transform-origin: center;
425
+ transition:
426
+ inline-size var(--sf-motion-duration-slow) var(--sf-motion-ease-out),
427
+ transform var(--sf-motion-duration-reveal) var(--sf-motion-ease-out);
428
+ }
429
+
430
+ /* Bars centred on the icon (-50% of their own height), 0.5rem apart. */
431
+ .sf-motion-menu-toggle__line:nth-child(1) {
432
+ transform: translate(-50%, calc(-50% - 0.25rem));
433
+ }
434
+ .sf-motion-menu-toggle__line:nth-child(2) {
435
+ inline-size: 0.875rem;
436
+ transform: translate(-28%, calc(-50% + 0.25rem));
437
+ }
438
+
439
+ .sf-motion-menu-toggle:hover .sf-motion-menu-toggle__line:nth-child(2),
440
+ .sf-motion-menu-toggle:focus-visible .sf-motion-menu-toggle__line:nth-child(2) {
441
+ inline-size: 1.25rem;
442
+ transform: translate(-50%, calc(-50% + 0.25rem));
443
+ }
444
+
445
+ .sf-motion-menu-toggle[aria-expanded="true"] .sf-motion-menu-toggle__icon {
446
+ transform: rotate(90deg);
447
+ }
448
+
449
+ .sf-motion-menu-toggle[aria-expanded="true"]
450
+ .sf-motion-menu-toggle__line:nth-child(1) {
451
+ transform: translate(-50%, -50%) rotate(45deg);
452
+ }
453
+
454
+ .sf-motion-menu-toggle[aria-expanded="true"]
455
+ .sf-motion-menu-toggle__line:nth-child(2) {
456
+ inline-size: 1.25rem;
457
+ transform: translate(-50%, -50%) rotate(-45deg);
458
+ }
459
+
460
+ @media (min-width: 64rem) {
461
+ .sf-motion-drawer {
462
+ clip-path: none;
463
+ opacity: 1;
464
+ transform: none;
465
+ transition: none;
466
+ visibility: visible;
467
+ will-change: auto;
468
+ }
469
+
470
+ .sf-motion-drawer__section,
471
+ .sf-motion-drawer__item,
472
+ .sf-motion-drawer[data-sf-motion-state="open"] .sf-motion-drawer__section,
473
+ .sf-motion-drawer[data-sf-motion-state="open"] .sf-motion-drawer__item {
474
+ clip-path: none;
475
+ filter: none;
476
+ opacity: 1;
477
+ transform: none;
478
+ transition: none;
479
+ }
480
+ }
481
+
482
+ /*
483
+ * Reduced motion: the visitor turned animations off, or the OS asks for it and
484
+ * the visitor made no choice. The head bootstrap always mirrors that outcome on
485
+ * <html>, so the media query further down only covers the no-JavaScript case.
486
+ */
487
+ html[data-sf-motion-preference="reduce"] {
488
+ scroll-behavior: auto;
489
+ }
490
+
491
+ html[data-sf-motion-preference="reduce"][data-sf-motion] .sf-reveal,
492
+ html[data-sf-motion-preference="reduce"][data-sf-motion] .sf-reveal--zoom-in [data-flowpress-media-frame] > :is(img, svg) {
493
+ clip-path: none !important;
494
+ filter: none !important;
495
+ opacity: 1 !important;
496
+ transform: none !important;
497
+ }
498
+
499
+ /*
500
+ * Universal stop, so Tailwind utilities and third-party styles obey it too.
501
+ * Durations collapse instead of being removed: `transition: none` would never
502
+ * fire `transitionend`, and libraries such as Splide wait for it to finish a
503
+ * slide, so a carousel would lock after its first move.
504
+ */
505
+ html[data-sf-motion-preference="reduce"] *,
506
+ html[data-sf-motion-preference="reduce"] *::before,
507
+ html[data-sf-motion-preference="reduce"] *::after {
508
+ animation-delay: 0s !important;
509
+ animation-duration: 0.01ms !important;
510
+ animation-iteration-count: 1 !important;
511
+ scroll-behavior: auto !important;
512
+ transition-delay: 0s !important;
513
+ transition-duration: 0.01ms !important;
514
+ }
515
+
516
+ @media (prefers-reduced-motion: reduce) {
517
+ html:not([data-sf-motion-preference]) {
518
+ scroll-behavior: auto;
519
+ }
520
+
521
+ html:not([data-sf-motion-preference])[data-sf-motion] .sf-reveal,
522
+ html:not([data-sf-motion-preference])[data-sf-motion] .sf-reveal--zoom-in [data-flowpress-media-frame] > :is(img, svg) {
523
+ clip-path: none !important;
524
+ filter: none !important;
525
+ opacity: 1 !important;
526
+ transform: none !important;
527
+ }
528
+
529
+ html:not([data-sf-motion-preference]) *,
530
+ html:not([data-sf-motion-preference]) *::before,
531
+ html:not([data-sf-motion-preference]) *::after {
532
+ animation-delay: 0s !important;
533
+ animation-duration: 0.01ms !important;
534
+ animation-iteration-count: 1 !important;
535
+ scroll-behavior: auto !important;
536
+ transition-delay: 0s !important;
537
+ transition-duration: 0.01ms !important;
538
+ }
539
+ }
540
+
541
+ @media print {
542
+ html[data-sf-motion] .sf-reveal,
543
+ html[data-sf-motion] .sf-reveal--zoom-in [data-flowpress-media-frame] > :is(img, svg) {
544
+ clip-path: none !important;
545
+ filter: none !important;
546
+ opacity: 1 !important;
547
+ transform: none !important;
548
+ transition: none !important;
549
+ }
550
+ }
551
+ /* styleflow-ignore-end */
552
+
553
+ /*
554
+ * DMO header: three-bar toggle that rotates into a cross. The starter toggle
555
+ * above uses two bars inside an icon wrapper; this modifier keeps the DMO
556
+ * markup (three direct bars) and its original motion.
557
+ */
558
+ .sf-motion-menu-toggle--bars[aria-expanded="true"] {
559
+ transform: rotate(180deg);
560
+ }
561
+
562
+ .sf-motion-menu-toggle--bars .sf-motion-menu-toggle__line {
563
+ block-size: 0.125rem;
564
+ inline-size: 1.5rem;
565
+ transition:
566
+ opacity var(--sf-motion-duration-fast) var(--sf-motion-ease-soft),
567
+ transform var(--sf-motion-duration-default) var(--sf-motion-ease-out);
568
+ }
569
+
570
+ .sf-motion-menu-toggle--bars .sf-motion-menu-toggle__line:nth-child(1) {
571
+ transform: translate(-50%, -0.45rem);
572
+ }
573
+
574
+ .sf-motion-menu-toggle--bars .sf-motion-menu-toggle__line:nth-child(2) {
575
+ inline-size: 1.5rem;
576
+ transform: translate(-50%, -50%);
577
+ }
578
+
579
+ .sf-motion-menu-toggle--bars .sf-motion-menu-toggle__line:nth-child(3) {
580
+ transform: translate(-50%, 0.35rem);
581
+ }
582
+
583
+ .sf-motion-menu-toggle--bars:hover .sf-motion-menu-toggle__line:nth-child(2),
584
+ .sf-motion-menu-toggle--bars:focus-visible .sf-motion-menu-toggle__line:nth-child(2) {
585
+ inline-size: 1.5rem;
586
+ transform: translate(-50%, -50%);
587
+ }
588
+
589
+ .sf-motion-menu-toggle--bars[aria-expanded="true"] .sf-motion-menu-toggle__line:nth-child(1) {
590
+ transform: translate(-50%, -50%) rotate(45deg);
591
+ }
592
+
593
+ .sf-motion-menu-toggle--bars[aria-expanded="true"] .sf-motion-menu-toggle__line:nth-child(2) {
594
+ opacity: 0;
595
+ transform: translate(-50%, -50%) scaleX(0);
596
+ }
597
+
598
+ .sf-motion-menu-toggle--bars[aria-expanded="true"] .sf-motion-menu-toggle__line:nth-child(3) {
599
+ transform: translate(-50%, -50%) rotate(-45deg);
600
+ }