@styleflow.app/flowpress-astro-core 1.0.0-beta.3 → 1.0.0-beta.31

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 (304) hide show
  1. package/CHANGELOG.md +197 -1
  2. package/README.md +111 -3
  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 +168 -0
  9. package/dist/astro/DefaultBlockAdapter.astro +36 -0
  10. package/dist/astro/DefaultTemplate.astro +12 -7
  11. package/dist/astro/FontStylesheets.astro +35 -0
  12. package/dist/astro/GutenbergRenderer.astro +280 -81
  13. package/dist/astro/Media.astro +24 -0
  14. package/dist/astro/StyleflowElement.astro +24 -0
  15. package/dist/astro/ThemeRuntime.astro +26 -0
  16. package/dist/astro/blocks/CarouselBlock.astro +11 -10
  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 +156 -0
  20. package/dist/astro/blocks/FormBlock.astro +23 -20
  21. package/dist/astro/blocks/GridBlock.astro +4 -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 +12 -8
  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 +57 -44
  38. package/dist/astro/blocks/helpers.js.map +1 -1
  39. package/dist/astro/blocks/helpers.ts +71 -49
  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 +293 -0
  52. package/dist/astro/motion/motion-controller.js.map +1 -0
  53. package/dist/astro/motion/motion-controller.ts +377 -0
  54. package/dist/astro/motion/motion.css +546 -0
  55. package/dist/astro/motion/motion.d.ts +127 -0
  56. package/dist/astro/motion/motion.d.ts.map +1 -0
  57. package/dist/astro/motion/motion.js +255 -0
  58. package/dist/astro/motion/motion.js.map +1 -0
  59. package/dist/astro/motion/motion.ts +419 -0
  60. package/dist/astro/native/Blob.astro +113 -0
  61. package/dist/astro/native/BlobBlock.astro +52 -0
  62. package/dist/astro/native/CustomFieldValue.astro +88 -0
  63. package/dist/astro/native/LevelTag.astro +20 -0
  64. package/dist/astro/native/MapBlock.astro +41 -0
  65. package/dist/astro/native/NativeHtmlBlock.astro +12 -0
  66. package/dist/astro/native/NativeIconBlock.astro +42 -0
  67. package/dist/astro/native/ProjectTimelineBlock.astro +34 -0
  68. package/dist/astro/native/ReservedLogin.astro +107 -0
  69. package/dist/astro/native/ResolvedBlocks.astro +91 -0
  70. package/dist/astro/native/SyncedPatternContent.astro +94 -0
  71. package/dist/astro/native/TermFieldValue.astro +39 -0
  72. package/dist/astro/native/Timeline.astro +22 -0
  73. package/dist/astro/native/TimelineCardBlock.astro +7 -0
  74. package/dist/astro/native/blob/blob-shapes.generated.d.ts +2 -0
  75. package/dist/astro/native/blob/blob-shapes.generated.d.ts.map +1 -0
  76. package/dist/astro/native/blob/blob-shapes.generated.js +2 -0
  77. package/dist/astro/native/blob/blob-shapes.generated.js.map +1 -0
  78. package/dist/astro/native/blob/blob-shapes.generated.ts +1 -0
  79. package/dist/astro/native/blob/config.d.ts +49 -0
  80. package/dist/astro/native/blob/config.d.ts.map +1 -0
  81. package/dist/astro/native/blob/config.js +86 -0
  82. package/dist/astro/native/blob/config.js.map +1 -0
  83. package/dist/astro/native/blob/config.ts +132 -0
  84. package/dist/astro/native/blob/controller.d.ts +11 -0
  85. package/dist/astro/native/blob/controller.d.ts.map +1 -0
  86. package/dist/astro/native/blob/controller.js +240 -0
  87. package/dist/astro/native/blob/controller.js.map +1 -0
  88. package/dist/astro/native/blob/controller.ts +248 -0
  89. package/dist/astro/native/blob/geometry.d.ts +2 -0
  90. package/dist/astro/native/blob/geometry.d.ts.map +1 -0
  91. package/dist/astro/native/blob/geometry.js +2 -0
  92. package/dist/astro/native/blob/geometry.js.map +1 -0
  93. package/dist/astro/native/blob/geometry.ts +1 -0
  94. package/dist/astro/native/blob/ids.d.ts +7 -0
  95. package/dist/astro/native/blob/ids.d.ts.map +1 -0
  96. package/dist/astro/native/blob/ids.js +11 -0
  97. package/dist/astro/native/blob/ids.js.map +1 -0
  98. package/dist/astro/native/blob/ids.ts +11 -0
  99. package/dist/astro/native/blob.css +83 -0
  100. package/dist/astro/native/button-template.d.ts +31 -0
  101. package/dist/astro/native/button-template.d.ts.map +1 -0
  102. package/dist/astro/native/button-template.js +54 -0
  103. package/dist/astro/native/button-template.js.map +1 -0
  104. package/dist/astro/native/button-template.ts +92 -0
  105. package/dist/astro/native/button.d.ts +13 -0
  106. package/dist/astro/native/button.d.ts.map +1 -0
  107. package/dist/astro/native/button.js +26 -0
  108. package/dist/astro/native/button.js.map +1 -0
  109. package/dist/astro/native/button.ts +26 -0
  110. package/dist/astro/native/core-block.astro +18 -0
  111. package/dist/astro/native/core-button-fallback.astro +43 -0
  112. package/dist/astro/native/core-button.astro +65 -0
  113. package/dist/astro/native/core-buttons.astro +14 -0
  114. package/dist/astro/native/core-group.astro +25 -0
  115. package/dist/astro/native/core-home-link.astro +12 -0
  116. package/dist/astro/native/core-html.astro +8 -0
  117. package/dist/astro/native/core-icon.astro +7 -0
  118. package/dist/astro/native/core-image.astro +125 -0
  119. package/dist/astro/native/core-navigation-link.astro +71 -0
  120. package/dist/astro/native/core-navigation-submenu.astro +33 -0
  121. package/dist/astro/native/core-navigation.astro +101 -0
  122. package/dist/astro/native/core-page-list-data-item.astro +19 -0
  123. package/dist/astro/native/core-page-list-item.astro +8 -0
  124. package/dist/astro/native/core-page-list.astro +40 -0
  125. package/dist/astro/native/core-post-date.astro +21 -0
  126. package/dist/astro/native/core-post-excerpt.astro +26 -0
  127. package/dist/astro/native/core-post-featured-image.astro +38 -0
  128. package/dist/astro/native/core-post-template-fallback.astro +30 -0
  129. package/dist/astro/native/core-post-template.astro +23 -0
  130. package/dist/astro/native/core-post-terms.astro +47 -0
  131. package/dist/astro/native/core-post-title.astro +23 -0
  132. package/dist/astro/native/core-query-no-results.astro +12 -0
  133. package/dist/astro/native/core-query.astro +22 -0
  134. package/dist/astro/native/core-separator.astro +20 -0
  135. package/dist/astro/native/core-site-title.astro +16 -0
  136. package/dist/astro/native/core-term-description.astro +12 -0
  137. package/dist/astro/native/core-term-name.astro +21 -0
  138. package/dist/astro/native/core-term-template.astro +30 -0
  139. package/dist/astro/native/core-terms-query.astro +19 -0
  140. package/dist/astro/native/core-transparent.astro +11 -0
  141. package/dist/astro/native/flowpress-navigation-controller.d.ts +2 -0
  142. package/dist/astro/native/flowpress-navigation-controller.d.ts.map +1 -0
  143. package/dist/astro/native/flowpress-navigation-controller.js +217 -0
  144. package/dist/astro/native/flowpress-navigation-controller.js.map +1 -0
  145. package/dist/astro/native/flowpress-navigation-controller.ts +215 -0
  146. package/dist/astro/native/flowpress-navigation.css +17 -0
  147. package/dist/astro/native/grid-bleed.d.ts +2 -0
  148. package/dist/astro/native/grid-bleed.d.ts.map +1 -0
  149. package/dist/astro/native/grid-bleed.js +123 -0
  150. package/dist/astro/native/grid-bleed.js.map +1 -0
  151. package/dist/astro/native/grid.css +180 -0
  152. package/dist/astro/native/grid.d.ts +17 -0
  153. package/dist/astro/native/grid.d.ts.map +1 -0
  154. package/dist/astro/native/grid.js +103 -0
  155. package/dist/astro/native/grid.js.map +1 -0
  156. package/dist/astro/native/grid.ts +118 -0
  157. package/dist/astro/native/group.css +36 -0
  158. package/dist/astro/native/group.d.ts +15 -0
  159. package/dist/astro/native/group.d.ts.map +1 -0
  160. package/dist/astro/native/group.js +66 -0
  161. package/dist/astro/native/group.js.map +1 -0
  162. package/dist/astro/native/group.ts +61 -0
  163. package/dist/astro/native/html.d.ts +6 -0
  164. package/dist/astro/native/html.d.ts.map +1 -0
  165. package/dist/astro/native/html.js +10 -0
  166. package/dist/astro/native/html.js.map +1 -0
  167. package/dist/astro/native/html.ts +9 -0
  168. package/dist/astro/native/icon.d.ts +3 -0
  169. package/dist/astro/native/icon.d.ts.map +1 -0
  170. package/dist/astro/native/icon.js +23 -0
  171. package/dist/astro/native/icon.js.map +1 -0
  172. package/dist/astro/native/icon.ts +21 -0
  173. package/dist/astro/native/inline-text.css +15 -0
  174. package/dist/astro/native/map.d.ts +14 -0
  175. package/dist/astro/native/map.d.ts.map +1 -0
  176. package/dist/astro/native/map.js +60 -0
  177. package/dist/astro/native/map.js.map +1 -0
  178. package/dist/astro/native/map.ts +70 -0
  179. package/dist/astro/native/motion-preference.d.ts +50 -0
  180. package/dist/astro/native/motion-preference.d.ts.map +1 -0
  181. package/dist/astro/native/motion-preference.js +132 -0
  182. package/dist/astro/native/motion-preference.js.map +1 -0
  183. package/dist/astro/native/motion-preference.ts +158 -0
  184. package/dist/astro/native/motion.d.ts +101 -0
  185. package/dist/astro/native/motion.d.ts.map +1 -0
  186. package/dist/astro/native/motion.js +168 -0
  187. package/dist/astro/native/motion.js.map +1 -0
  188. package/dist/astro/native/motion.ts +312 -0
  189. package/dist/astro/native/query-carousel.d.ts +12 -0
  190. package/dist/astro/native/query-carousel.d.ts.map +1 -0
  191. package/dist/astro/native/query-carousel.js +36 -0
  192. package/dist/astro/native/query-carousel.js.map +1 -0
  193. package/dist/astro/native/query-carousel.ts +56 -0
  194. package/dist/astro/native/query-loop.d.ts +38 -0
  195. package/dist/astro/native/query-loop.d.ts.map +1 -0
  196. package/dist/astro/native/query-loop.js +20 -0
  197. package/dist/astro/native/query-loop.js.map +1 -0
  198. package/dist/astro/native/query-loop.ts +67 -0
  199. package/dist/astro/native/registry.d.ts +3 -0
  200. package/dist/astro/native/registry.d.ts.map +1 -0
  201. package/dist/astro/native/registry.js +84 -0
  202. package/dist/astro/native/registry.js.map +1 -0
  203. package/dist/astro/native/registry.ts +85 -0
  204. package/dist/astro/native/sf-block-binding.astro +20 -0
  205. package/dist/astro/native/sf-post-field.astro +9 -0
  206. package/dist/astro/native/sf-term-field.astro +9 -0
  207. package/dist/astro/native/timeline.css +4 -0
  208. package/dist/astro/native/timeline.d.ts +28 -0
  209. package/dist/astro/native/timeline.d.ts.map +1 -0
  210. package/dist/astro/native/timeline.js +43 -0
  211. package/dist/astro/native/timeline.js.map +1 -0
  212. package/dist/astro/native/timeline.ts +79 -0
  213. package/dist/astro/preferences/AccessibilityPanel.astro +105 -0
  214. package/dist/astro/preferences/ColorModeToggle.astro +26 -0
  215. package/dist/astro/preferences/MotionToggle.astro +27 -0
  216. package/dist/astro/preferences/PreferencesRuntime.astro +9 -0
  217. package/dist/astro/preferences/ThemeToggle.astro +30 -0
  218. package/dist/astro/preferences/Toggle.astro +50 -0
  219. package/dist/astro/preferences/preferences.css +125 -0
  220. package/dist/block-renderers.d.ts +22 -3
  221. package/dist/block-renderers.d.ts.map +1 -1
  222. package/dist/block-renderers.js.map +1 -1
  223. package/dist/client.d.ts +17 -1
  224. package/dist/client.d.ts.map +1 -1
  225. package/dist/client.js +63 -9
  226. package/dist/client.js.map +1 -1
  227. package/dist/composition.d.ts +14 -0
  228. package/dist/composition.d.ts.map +1 -0
  229. package/dist/composition.js +125 -0
  230. package/dist/composition.js.map +1 -0
  231. package/dist/default-blocks.d.ts +9 -0
  232. package/dist/default-blocks.d.ts.map +1 -0
  233. package/dist/default-blocks.js +120 -0
  234. package/dist/default-blocks.js.map +1 -0
  235. package/dist/env.d.ts +9 -0
  236. package/dist/env.d.ts.map +1 -1
  237. package/dist/env.js +20 -0
  238. package/dist/env.js.map +1 -1
  239. package/dist/index.d.ts +8 -0
  240. package/dist/index.d.ts.map +1 -1
  241. package/dist/index.js +7 -0
  242. package/dist/index.js.map +1 -1
  243. package/dist/links.d.ts +5 -0
  244. package/dist/links.d.ts.map +1 -0
  245. package/dist/links.js +32 -0
  246. package/dist/links.js.map +1 -0
  247. package/dist/media.d.ts +28 -0
  248. package/dist/media.d.ts.map +1 -0
  249. package/dist/media.js +212 -0
  250. package/dist/media.js.map +1 -0
  251. package/dist/motion-preference.d.ts +50 -0
  252. package/dist/motion-preference.d.ts.map +1 -0
  253. package/dist/motion-preference.js +132 -0
  254. package/dist/motion-preference.js.map +1 -0
  255. package/dist/preferences-runtime.d.ts +3 -0
  256. package/dist/preferences-runtime.d.ts.map +1 -0
  257. package/dist/preferences-runtime.js +23 -0
  258. package/dist/preferences-runtime.js.map +1 -0
  259. package/dist/preferences-styleflow.d.ts +3 -0
  260. package/dist/preferences-styleflow.d.ts.map +1 -0
  261. package/dist/preferences-styleflow.js +14 -0
  262. package/dist/preferences-styleflow.js.map +1 -0
  263. package/dist/preferences.d.ts +4 -0
  264. package/dist/preferences.d.ts.map +1 -0
  265. package/dist/preferences.js +4 -0
  266. package/dist/preferences.js.map +1 -0
  267. package/dist/reserved-area.d.ts +10 -0
  268. package/dist/reserved-area.d.ts.map +1 -0
  269. package/dist/reserved-area.js +93 -0
  270. package/dist/reserved-area.js.map +1 -0
  271. package/dist/styleflow.d.ts +18 -1
  272. package/dist/styleflow.d.ts.map +1 -1
  273. package/dist/styleflow.js +82 -11
  274. package/dist/styleflow.js.map +1 -1
  275. package/dist/svg-media-runtime.d.ts +3 -0
  276. package/dist/svg-media-runtime.d.ts.map +1 -0
  277. package/dist/svg-media-runtime.js +33 -0
  278. package/dist/svg-media-runtime.js.map +1 -0
  279. package/dist/svg-media-types.d.ts +11 -0
  280. package/dist/svg-media-types.d.ts.map +1 -0
  281. package/dist/svg-media-types.js +2 -0
  282. package/dist/svg-media-types.js.map +1 -0
  283. package/dist/svg-media.d.ts +10 -0
  284. package/dist/svg-media.d.ts.map +1 -0
  285. package/dist/svg-media.js +34 -0
  286. package/dist/svg-media.js.map +1 -0
  287. package/dist/templates.d.ts +16 -16
  288. package/dist/text.d.ts +3 -0
  289. package/dist/text.d.ts.map +1 -0
  290. package/dist/text.js +6 -0
  291. package/dist/text.js.map +1 -0
  292. package/dist/theme-runtime.d.ts +16 -0
  293. package/dist/theme-runtime.d.ts.map +1 -0
  294. package/dist/theme-runtime.js +100 -0
  295. package/dist/theme-runtime.js.map +1 -0
  296. package/dist/tsconfig.tsbuildinfo +1 -1
  297. package/dist/types.d.ts +84 -1
  298. package/dist/types.d.ts.map +1 -1
  299. package/dist/types.js.map +1 -1
  300. package/dist/vivid-colors-preference.d.ts +31 -0
  301. package/dist/vivid-colors-preference.d.ts.map +1 -0
  302. package/dist/vivid-colors-preference.js +102 -0
  303. package/dist/vivid-colors-preference.js.map +1 -0
  304. package/package.json +53 -4
@@ -0,0 +1,546 @@
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--blur {
52
+ --sf-reveal-duration: 800ms;
53
+ --sf-reveal-opacity-duration: 620ms;
54
+ --sf-reveal-from-y: 1.25rem;
55
+ --sf-reveal-from-clip: inset(0);
56
+ }
57
+
58
+ .sf-reveal--wipe-start {
59
+ --sf-reveal-duration: 1100ms;
60
+ --sf-reveal-opacity-duration: 520ms;
61
+ --sf-reveal-from-y: 0;
62
+ --sf-reveal-from-clip: inset(0 100% 0 0);
63
+ }
64
+
65
+ .sf-reveal--wipe-start-blur-scale {
66
+ --sf-reveal-duration: 1150ms;
67
+ --sf-reveal-opacity-duration: 650ms;
68
+ --sf-reveal-from-y: 0;
69
+ --sf-reveal-from-scale: 0.94;
70
+ --sf-reveal-from-clip: inset(0 100% 0 0);
71
+ }
72
+
73
+ .sf-reveal--wipe-end {
74
+ --sf-reveal-duration: 1100ms;
75
+ --sf-reveal-opacity-duration: 520ms;
76
+ --sf-reveal-from-y: 0;
77
+ --sf-reveal-from-clip: inset(0 0 0 100%);
78
+ }
79
+
80
+ /*
81
+ * Rules such as <hr>: the line extends from zero to its exact length. Clipping
82
+ * keeps the layout box intact, so the controller still measures the real size.
83
+ */
84
+ .sf-reveal--line {
85
+ --sf-reveal-duration: 1100ms;
86
+ --sf-reveal-from-y: 0;
87
+ --sf-reveal-from-clip: inset(0 100% 0 0);
88
+ }
89
+
90
+ :dir(rtl) .sf-reveal--wipe-start {
91
+ --sf-reveal-from-clip: inset(0 0 0 100%);
92
+ }
93
+ :dir(rtl) .sf-reveal--line {
94
+ --sf-reveal-from-clip: inset(0 0 0 100%);
95
+ }
96
+ :dir(rtl) .sf-reveal--wipe-start-blur-scale {
97
+ --sf-reveal-from-clip: inset(0 0 0 100%);
98
+ }
99
+ :dir(rtl) .sf-reveal--wipe-end {
100
+ --sf-reveal-from-clip: inset(0 100% 0 0);
101
+ }
102
+
103
+ html[data-sf-motion="ready"]
104
+ .sf-reveal[data-sf-reveal-state="pending"]:not(.sf-motion-static) {
105
+ clip-path: var(--sf-reveal-from-clip);
106
+ opacity: 0;
107
+ transform: translate3d(var(--sf-reveal-from-x), var(--sf-reveal-from-y), 0)
108
+ scale(var(--sf-reveal-from-scale));
109
+ }
110
+
111
+ html[data-sf-motion="ready"]
112
+ .sf-reveal.sf-reveal--wipe-start-blur-scale[data-sf-reveal-state="pending"]:not(
113
+ .sf-motion-static
114
+ ) {
115
+ filter: blur(10px);
116
+ }
117
+
118
+ html[data-sf-motion="ready"]
119
+ .sf-reveal.sf-reveal--blur[data-sf-reveal-state="pending"]:not(
120
+ .sf-motion-static
121
+ ) {
122
+ clip-path: none;
123
+ filter: blur(10px);
124
+ }
125
+
126
+ html[data-sf-motion="ready"]
127
+ .sf-reveal.sf-reveal--fade[data-sf-reveal-state="pending"]:not(
128
+ .sf-motion-static
129
+ ) {
130
+ clip-path: none;
131
+ }
132
+
133
+ /* The fully clipped line is already invisible: it grows instead of fading. */
134
+ html[data-sf-motion="ready"]
135
+ .sf-reveal.sf-reveal--line[data-sf-reveal-state="pending"]:not(
136
+ .sf-motion-static
137
+ ) {
138
+ opacity: 1;
139
+ }
140
+
141
+ html[data-sf-motion="ready"]
142
+ .sf-reveal[data-sf-reveal-state="visible"]:not(.sf-motion-static) {
143
+ clip-path: inset(0);
144
+ opacity: 1;
145
+ transform: translate3d(0, 0, 0) scale(1);
146
+ transition:
147
+ opacity var(--sf-reveal-opacity-duration) var(--sf-motion-ease-soft)
148
+ var(--sf-reveal-delay),
149
+ transform var(--sf-reveal-duration) var(--sf-motion-ease-out)
150
+ var(--sf-reveal-delay),
151
+ clip-path var(--sf-reveal-duration) var(--sf-motion-ease-out)
152
+ var(--sf-reveal-delay),
153
+ filter var(--sf-reveal-duration) var(--sf-motion-ease-out)
154
+ var(--sf-reveal-delay);
155
+ }
156
+
157
+ html[data-sf-motion="ready"]
158
+ .sf-reveal.sf-reveal--blur[data-sf-reveal-state="visible"]:not(
159
+ .sf-motion-static
160
+ ) {
161
+ clip-path: none;
162
+ filter: none;
163
+ }
164
+
165
+ html[data-sf-motion="ready"]
166
+ .sf-reveal.sf-reveal--wipe-start-blur-scale[data-sf-reveal-state="visible"]:not(
167
+ .sf-motion-static
168
+ ) {
169
+ filter: none;
170
+ }
171
+
172
+ html[data-sf-motion="ready"]
173
+ .sf-reveal.sf-reveal--fade[data-sf-reveal-state="visible"]:not(
174
+ .sf-motion-static
175
+ ) {
176
+ clip-path: none;
177
+ }
178
+
179
+ html[data-sf-motion="ready"]
180
+ .sf-reveal.sf-reveal--line[data-sf-reveal-state="visible"]:not(
181
+ .sf-motion-static
182
+ ) {
183
+ transition: clip-path var(--sf-reveal-duration) var(--sf-motion-ease-luxury)
184
+ var(--sf-reveal-delay);
185
+ }
186
+
187
+ html[data-sf-motion="ready"]
188
+ .sf-reveal[data-sf-reveal-state="settled"]:not(.sf-motion-static) {
189
+ clip-path: none;
190
+ filter: none;
191
+ opacity: 1;
192
+ transform: none;
193
+ transition: none;
194
+ }
195
+
196
+ html[data-sf-motion="ready"]
197
+ .sf-reveal[data-sf-reveal-state="pending"]:focus-within {
198
+ clip-path: inset(0);
199
+ filter: none;
200
+ opacity: 1;
201
+ transform: translate3d(0, 0, 0) scale(1);
202
+ transition-delay: 0ms;
203
+ }
204
+
205
+ html[data-sf-motion] .sf-reveal.sf-motion-static {
206
+ clip-path: none;
207
+ filter: none;
208
+ opacity: 1;
209
+ transform: none;
210
+ transition: none;
211
+ }
212
+
213
+ html[data-sf-motion] .sf-motion-disable.sf-reveal,
214
+ html[data-sf-motion] .sf-motion-disable .sf-reveal {
215
+ clip-path: none !important;
216
+ filter: none !important;
217
+ opacity: 1 !important;
218
+ transform: none !important;
219
+ }
220
+
221
+ .sf-motion-disable,
222
+ .sf-motion-disable *,
223
+ .sf-motion-disable::before,
224
+ .sf-motion-disable::after,
225
+ .sf-motion-disable *::before,
226
+ .sf-motion-disable *::after {
227
+ animation: none !important;
228
+ scroll-behavior: auto !important;
229
+ transition: none !important;
230
+ }
231
+
232
+ /*
233
+ * A card can own independently authored child animations. The marker does not
234
+ * prescribe a keyframe: it only keeps a child's CSS animation at its first
235
+ * frame until the card is hovered or contains keyboard focus. Morphing blobs
236
+ * use the same class contract in their browser controller.
237
+ */
238
+ .card__has_animations .card__animation {
239
+ animation-play-state: paused;
240
+ }
241
+
242
+ .card__has_animations:is(:hover, :focus-within) .card__animation {
243
+ animation-play-state: running;
244
+ }
245
+
246
+ .sf-motion-disclosure-icon {
247
+ display: inline-flex;
248
+ transform: rotate(0deg);
249
+ transform-origin: center;
250
+ transition: transform var(--sf-motion-duration-fast)
251
+ var(--sf-motion-ease-standard);
252
+ }
253
+
254
+ .sf-motion-disclosure[aria-expanded="true"] > .sf-motion-disclosure-icon,
255
+ details[open] > summary.sf-motion-disclosure .sf-motion-disclosure-icon {
256
+ transform: rotate(180deg);
257
+ }
258
+
259
+ .sf-motion-submenu {
260
+ opacity: 1;
261
+ transform: translate3d(0, 0, 0) scale(1);
262
+ transform-origin: top left;
263
+ transition:
264
+ opacity var(--sf-motion-duration-fast) var(--sf-motion-ease-soft),
265
+ transform var(--sf-motion-duration-slow) var(--sf-motion-ease-out),
266
+ clip-path var(--sf-motion-duration-slow) var(--sf-motion-ease-out);
267
+ }
268
+
269
+ @starting-style {
270
+ .sf-motion-submenu:not([hidden]) {
271
+ opacity: 0;
272
+ clip-path: inset(0 0 100% 0);
273
+ transform: translate3d(0, -0.75rem, 0) scale(0.985);
274
+ }
275
+ }
276
+
277
+ .sf-motion-backdrop,
278
+ .sf-motion-drawer {
279
+ visibility: hidden;
280
+ }
281
+
282
+ .sf-motion-backdrop {
283
+ backdrop-filter: blur(0);
284
+ opacity: 0;
285
+ will-change: opacity, backdrop-filter;
286
+ transition:
287
+ opacity var(--sf-motion-duration-reveal) var(--sf-motion-ease-soft),
288
+ backdrop-filter var(--sf-motion-duration-curtain) var(--sf-motion-ease-soft),
289
+ visibility 0s linear var(--sf-motion-duration-curtain);
290
+ }
291
+
292
+ .sf-motion-backdrop[data-sf-motion-state="open"] {
293
+ backdrop-filter: blur(0.875rem);
294
+ opacity: 0.46;
295
+ transition-delay: 0s;
296
+ visibility: visible;
297
+ }
298
+
299
+ .sf-motion-drawer {
300
+ clip-path: inset(0 0 0 100%);
301
+ opacity: 0.98;
302
+ transform: translate3d(2.5rem, 0, 0);
303
+ transform-origin: right center;
304
+ will-change: clip-path, transform;
305
+ transition:
306
+ clip-path var(--sf-motion-duration-curtain) var(--sf-motion-ease-luxury),
307
+ opacity var(--sf-motion-duration-reveal) var(--sf-motion-ease-soft),
308
+ transform var(--sf-motion-duration-curtain) var(--sf-motion-ease-out),
309
+ visibility 0s linear var(--sf-motion-duration-curtain);
310
+ }
311
+
312
+ .sf-motion-drawer[data-sf-motion-state="open"] {
313
+ clip-path: inset(0);
314
+ opacity: 1;
315
+ transform: translate3d(0, 0, 0);
316
+ transition-delay: 0s;
317
+ visibility: visible;
318
+ }
319
+
320
+ .sf-motion-drawer__section,
321
+ .sf-motion-drawer__item {
322
+ clip-path: inset(0 0 100% 0);
323
+ filter: blur(0.375rem);
324
+ opacity: 0;
325
+ transform: translate3d(0, 1.5rem, 0);
326
+ transition:
327
+ clip-path var(--sf-motion-duration-reveal) var(--sf-motion-ease-out),
328
+ filter var(--sf-motion-duration-reveal) var(--sf-motion-ease-soft),
329
+ opacity var(--sf-motion-duration-slow) var(--sf-motion-ease-soft),
330
+ transform var(--sf-motion-duration-reveal) var(--sf-motion-ease-out);
331
+ }
332
+
333
+ .sf-motion-drawer[data-sf-motion-state="open"] .sf-motion-drawer__section,
334
+ .sf-motion-drawer[data-sf-motion-state="open"] .sf-motion-drawer__item {
335
+ clip-path: inset(0);
336
+ filter: blur(0);
337
+ opacity: 1;
338
+ transform: translate3d(0, 0, 0);
339
+ transition-delay: calc(180ms + var(--sf-motion-delay, 0ms));
340
+ }
341
+
342
+ .sf-motion-drawer__item:nth-child(1) { --sf-motion-delay: 0ms; }
343
+ .sf-motion-drawer__item:nth-child(2) { --sf-motion-delay: 70ms; }
344
+ .sf-motion-drawer__item:nth-child(3) { --sf-motion-delay: 140ms; }
345
+ .sf-motion-drawer__item:nth-child(4) { --sf-motion-delay: 210ms; }
346
+ .sf-motion-drawer__item:nth-child(5) { --sf-motion-delay: 280ms; }
347
+ .sf-motion-drawer__item:nth-child(6) { --sf-motion-delay: 350ms; }
348
+ .sf-motion-drawer__item:nth-child(n + 7) { --sf-motion-delay: 420ms; }
349
+
350
+ .sf-motion-menu-toggle {
351
+ transform: translateZ(0);
352
+ transition: transform var(--sf-motion-duration-default)
353
+ var(--sf-motion-ease-out);
354
+ }
355
+
356
+ .sf-motion-menu-toggle:active {
357
+ transform: scale(0.94);
358
+ }
359
+
360
+ .sf-motion-menu-toggle__icon {
361
+ transform: rotate(0deg);
362
+ transition: transform var(--sf-motion-duration-reveal)
363
+ var(--sf-motion-ease-out);
364
+ }
365
+
366
+ .sf-motion-menu-toggle__line {
367
+ block-size: 0.1rem;
368
+ border-radius: 999px;
369
+ box-shadow: inset 0 0 0 999px currentColor;
370
+ inline-size: 1.25rem;
371
+ inset-block-start: 50%;
372
+ inset-inline-start: 50%;
373
+ position: absolute;
374
+ transform-origin: center;
375
+ transition:
376
+ inline-size var(--sf-motion-duration-slow) var(--sf-motion-ease-out),
377
+ transform var(--sf-motion-duration-reveal) var(--sf-motion-ease-out);
378
+ }
379
+
380
+ .sf-motion-menu-toggle__line:nth-child(1) {
381
+ transform: translate(-50%, -0.25rem);
382
+ }
383
+ .sf-motion-menu-toggle__line:nth-child(2) {
384
+ inline-size: 0.875rem;
385
+ transform: translate(-28%, 0.25rem);
386
+ }
387
+
388
+ .sf-motion-menu-toggle:hover .sf-motion-menu-toggle__line:nth-child(2),
389
+ .sf-motion-menu-toggle:focus-visible .sf-motion-menu-toggle__line:nth-child(2) {
390
+ inline-size: 1.25rem;
391
+ transform: translate(-50%, 0.25rem);
392
+ }
393
+
394
+ .sf-motion-menu-toggle[aria-expanded="true"] .sf-motion-menu-toggle__icon {
395
+ transform: rotate(90deg);
396
+ }
397
+
398
+ .sf-motion-menu-toggle[aria-expanded="true"]
399
+ .sf-motion-menu-toggle__line:nth-child(1) {
400
+ transform: translate(-50%, -50%) rotate(45deg);
401
+ }
402
+
403
+ .sf-motion-menu-toggle[aria-expanded="true"]
404
+ .sf-motion-menu-toggle__line:nth-child(2) {
405
+ inline-size: 1.25rem;
406
+ transform: translate(-50%, -50%) rotate(-45deg);
407
+ }
408
+
409
+ @media (min-width: 64rem) {
410
+ .sf-motion-drawer {
411
+ clip-path: none;
412
+ opacity: 1;
413
+ transform: none;
414
+ transition: none;
415
+ visibility: visible;
416
+ will-change: auto;
417
+ }
418
+
419
+ .sf-motion-drawer__section,
420
+ .sf-motion-drawer__item,
421
+ .sf-motion-drawer[data-sf-motion-state="open"] .sf-motion-drawer__section,
422
+ .sf-motion-drawer[data-sf-motion-state="open"] .sf-motion-drawer__item {
423
+ clip-path: none;
424
+ filter: none;
425
+ opacity: 1;
426
+ transform: none;
427
+ transition: none;
428
+ }
429
+ }
430
+
431
+ /*
432
+ * Reduced motion: the visitor turned animations off, or the OS asks for it and
433
+ * the visitor made no choice. The head bootstrap always mirrors that outcome on
434
+ * <html>, so the media query further down only covers the no-JavaScript case.
435
+ */
436
+ html[data-sf-motion-preference="reduce"] {
437
+ scroll-behavior: auto;
438
+ }
439
+
440
+ html[data-sf-motion-preference="reduce"][data-sf-motion] .sf-reveal {
441
+ clip-path: none !important;
442
+ filter: none !important;
443
+ opacity: 1 !important;
444
+ transform: none !important;
445
+ }
446
+
447
+ /*
448
+ * Universal stop, so Tailwind utilities and third-party styles obey it too.
449
+ * Durations collapse instead of being removed: `transition: none` would never
450
+ * fire `transitionend`, and libraries such as Splide wait for it to finish a
451
+ * slide, so a carousel would lock after its first move.
452
+ */
453
+ html[data-sf-motion-preference="reduce"] *,
454
+ html[data-sf-motion-preference="reduce"] *::before,
455
+ html[data-sf-motion-preference="reduce"] *::after {
456
+ animation-delay: 0s !important;
457
+ animation-duration: 0.01ms !important;
458
+ animation-iteration-count: 1 !important;
459
+ scroll-behavior: auto !important;
460
+ transition-delay: 0s !important;
461
+ transition-duration: 0.01ms !important;
462
+ }
463
+
464
+ @media (prefers-reduced-motion: reduce) {
465
+ html:not([data-sf-motion-preference]) {
466
+ scroll-behavior: auto;
467
+ }
468
+
469
+ html:not([data-sf-motion-preference])[data-sf-motion] .sf-reveal {
470
+ clip-path: none !important;
471
+ filter: none !important;
472
+ opacity: 1 !important;
473
+ transform: none !important;
474
+ }
475
+
476
+ html:not([data-sf-motion-preference]) *,
477
+ html:not([data-sf-motion-preference]) *::before,
478
+ html:not([data-sf-motion-preference]) *::after {
479
+ animation-delay: 0s !important;
480
+ animation-duration: 0.01ms !important;
481
+ animation-iteration-count: 1 !important;
482
+ scroll-behavior: auto !important;
483
+ transition-delay: 0s !important;
484
+ transition-duration: 0.01ms !important;
485
+ }
486
+ }
487
+
488
+ @media print {
489
+ html[data-sf-motion] .sf-reveal {
490
+ clip-path: none !important;
491
+ filter: none !important;
492
+ opacity: 1 !important;
493
+ transform: none !important;
494
+ transition: none !important;
495
+ }
496
+ }
497
+ /* styleflow-ignore-end */
498
+
499
+ /*
500
+ * DMO header: three-bar toggle that rotates into a cross. The starter toggle
501
+ * above uses two bars inside an icon wrapper; this modifier keeps the DMO
502
+ * markup (three direct bars) and its original motion.
503
+ */
504
+ .sf-motion-menu-toggle--bars[aria-expanded="true"] {
505
+ transform: rotate(180deg);
506
+ }
507
+
508
+ .sf-motion-menu-toggle--bars .sf-motion-menu-toggle__line {
509
+ block-size: 0.125rem;
510
+ inline-size: 1.5rem;
511
+ transition:
512
+ opacity var(--sf-motion-duration-fast) var(--sf-motion-ease-soft),
513
+ transform var(--sf-motion-duration-default) var(--sf-motion-ease-out);
514
+ }
515
+
516
+ .sf-motion-menu-toggle--bars .sf-motion-menu-toggle__line:nth-child(1) {
517
+ transform: translate(-50%, -0.45rem);
518
+ }
519
+
520
+ .sf-motion-menu-toggle--bars .sf-motion-menu-toggle__line:nth-child(2) {
521
+ inline-size: 1.5rem;
522
+ transform: translate(-50%, -50%);
523
+ }
524
+
525
+ .sf-motion-menu-toggle--bars .sf-motion-menu-toggle__line:nth-child(3) {
526
+ transform: translate(-50%, 0.35rem);
527
+ }
528
+
529
+ .sf-motion-menu-toggle--bars:hover .sf-motion-menu-toggle__line:nth-child(2),
530
+ .sf-motion-menu-toggle--bars:focus-visible .sf-motion-menu-toggle__line:nth-child(2) {
531
+ inline-size: 1.5rem;
532
+ transform: translate(-50%, -50%);
533
+ }
534
+
535
+ .sf-motion-menu-toggle--bars[aria-expanded="true"] .sf-motion-menu-toggle__line:nth-child(1) {
536
+ transform: translate(-50%, -50%) rotate(45deg);
537
+ }
538
+
539
+ .sf-motion-menu-toggle--bars[aria-expanded="true"] .sf-motion-menu-toggle__line:nth-child(2) {
540
+ opacity: 0;
541
+ transform: translate(-50%, -50%) scaleX(0);
542
+ }
543
+
544
+ .sf-motion-menu-toggle--bars[aria-expanded="true"] .sf-motion-menu-toggle__line:nth-child(3) {
545
+ transform: translate(-50%, -50%) rotate(-45deg);
546
+ }
@@ -0,0 +1,127 @@
1
+ export declare const SF_REVEAL_SELECTOR = ".sf-reveal:not(.sf-motion-static)";
2
+ export declare const SF_REVEAL_CLASS = "sf-reveal";
3
+ export declare const SF_MOTION_STATIC_CLASS = "sf-motion-static";
4
+ export declare const SF_MOTION_DISABLE_CLASS = "sf-motion-disable";
5
+ export declare const SF_MOTION_DRAWER_EXIT_MS = 820;
6
+ export declare const SF_REVEAL_VISIBLE_RATIO = 0.2;
7
+ export declare const SF_REVEAL_STAGGER_SELECTOR = ".sf-reveal-stagger";
8
+ export declare const SF_REVEAL_STAGGER_STEP_MS = 90;
9
+ export declare const SF_REVEAL_STAGGER_MAX_MS = 450;
10
+ /** Reveals matching or containing this content always start visible. */
11
+ export declare const SF_MOTION_PROTECTED_CONTENT_SELECTOR: string;
12
+ export type SfRevealModifier = `sf-reveal--${string}`;
13
+ export type SfDefaultReveal = false | SfRevealModifier;
14
+ export interface SfRevealRule {
15
+ /** Any selector accepted by `document.querySelectorAll`. */
16
+ selector: string;
17
+ /** Reveal modifier enforced on every matching element. */
18
+ reveal: SfRevealModifier;
19
+ }
20
+ export interface SfRevealClassChanges {
21
+ add: string[];
22
+ remove: SfRevealModifier[];
23
+ }
24
+ export interface SfMotionOptions {
25
+ /**
26
+ * Allows reveal elements already in the initial viewport to animate.
27
+ * Defaults to `false`, so initial content is immediately available.
28
+ */
29
+ revealAboveFold?: boolean;
30
+ /**
31
+ * Ordered selector-specific reveal rules. The first matching rule wins and
32
+ * enforces its modifier. Any valid CSS selector may be used.
33
+ */
34
+ revealRules?: readonly SfRevealRule[];
35
+ /**
36
+ * Preset applied to automatically selected elements. `false` keeps the
37
+ * reveal system strictly opt-in.
38
+ */
39
+ defaultReveal?: SfDefaultReveal;
40
+ /**
41
+ * Standard CSS selectors. Tags, classes, IDs, attributes and combinations
42
+ * can be mixed in the same array.
43
+ */
44
+ autoRevealSelectors?: readonly string[];
45
+ }
46
+ export interface ResolvedSfMotionOptions {
47
+ autoRevealSelectors: string[];
48
+ defaultReveal: SfDefaultReveal;
49
+ revealAboveFold: boolean;
50
+ revealRules: SfRevealRule[];
51
+ }
52
+ export type SfRevealState = "pending" | "visible" | "settled";
53
+ export interface InitialRevealStateInput {
54
+ bottom: number;
55
+ containsHashTarget: boolean;
56
+ protectedContent: boolean;
57
+ reducedMotion: boolean;
58
+ revealAboveFold: boolean;
59
+ top: number;
60
+ viewportHeight: number;
61
+ }
62
+ export interface RevealVisibilityInput {
63
+ bottom: number;
64
+ height: number;
65
+ top: number;
66
+ viewportHeight: number;
67
+ }
68
+ export declare function isSfRevealModifier(value: unknown): value is SfRevealModifier;
69
+ /**
70
+ * Normalizes server- or client-provided configuration. Invalid values fail
71
+ * open by disabling automatic reveals; empty and duplicate selectors are
72
+ * removed without changing their order.
73
+ */
74
+ export declare function resolveSfMotionOptions(options?: SfMotionOptions): ResolvedSfMotionOptions;
75
+ /** Exact class mutation required by an authoritative selector rule. */
76
+ export declare function ruleRevealClassChanges(existingClasses: Iterable<string>, reveal: SfRevealModifier): SfRevealClassChanges;
77
+ /** Delay for a zero-based participant index in a reveal stagger group. */
78
+ export declare function staggerRevealDelayMs(index: number): number;
79
+ /**
80
+ * Returns only the classes that automatic inheritance must add. Explicit
81
+ * modifiers win over the configured default and `sf-motion-static` remains a
82
+ * complete opt-out.
83
+ */
84
+ export declare function automaticRevealClasses(existingClasses: Iterable<string>, defaultReveal: SfDefaultReveal): string[];
85
+ /** Returns the longest combined CSS transition duration and delay. */
86
+ export declare function maximumTransitionTimeMs(transitionDuration: string, transitionDelay: string): number;
87
+ /**
88
+ * Initial viewport content stays static unless the project explicitly enables
89
+ * above-the-fold reveals. Deep links and protected content remain visible.
90
+ */
91
+ export declare function initialRevealState({ bottom, containsHashTarget, protectedContent, reducedMotion, revealAboveFold, top, viewportHeight, }: InitialRevealStateInput): SfRevealState;
92
+ /**
93
+ * Reveal ordinary content once 20% of its perceivable height is visible.
94
+ * For elements taller than the viewport, the viewport height is the reference.
95
+ */
96
+ export declare function hasEnoughVisibleArea({ bottom, height, top, viewportHeight, }: RevealVisibilityInput): boolean;
97
+ /**
98
+ * Reveal is deliberately one-way: focus and viewport entry can complete it,
99
+ * while leaving the viewport never conceals content again.
100
+ */
101
+ export declare function nextRevealState(current: SfRevealState, event: "focus" | "intersect" | "leave"): SfRevealState;
102
+ export declare function shouldInitializeMotion(initialized: string | undefined): boolean;
103
+ /** `<html data-sf-motion>` value from the head bootstrap until the controller arms. */
104
+ export declare const SF_MOTION_BOOT_STATE = "boot";
105
+ /** Failsafe: boot-hidden content shows anyway if the controller never arms. */
106
+ export declare const SF_MOTION_BOOT_FAILSAFE_MS = 3000;
107
+ /**
108
+ * Modifiers whose pending state keeps the element visible and hides only a
109
+ * drawn decoration, mapped to the pseudo-element carrying it.
110
+ */
111
+ export declare const SF_REVEAL_DECORATION_PSEUDOS: Readonly<Record<SfRevealModifier, "::before" | "::after">>;
112
+ /**
113
+ * Inline `<head>` script, placed after the motion preference bootstrap: marks
114
+ * the document as booting when the controller will arm reveals, so the CSS of
115
+ * `motionBootCss` hides them before first paint.
116
+ */
117
+ export declare function motionBootScript(preferenceAttribute: string): string;
118
+ /**
119
+ * Pre-paint counterpart of the controller for `revealAboveFold`: hides what the
120
+ * controller will arm (authored reveals, rule and automatic selectors) while
121
+ * `<html data-sf-motion="boot">`, so content is never painted, hidden, then
122
+ * revealed. Each selector gets its own rule: an invalid one only drops itself.
123
+ * Like the controller, the first matching rule decides the modifier.
124
+ * Portabile in FlowPress: docs/pilots/primo-paint-stabile.md
125
+ */
126
+ export declare function motionBootCss(options?: SfMotionOptions): string;
127
+ //# sourceMappingURL=motion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"motion.d.ts","sourceRoot":"","sources":["../../../src/astro/motion/motion.ts"],"names":[],"mappings":"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"}