strata-react 1.3.27 → 1.3.28

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.
@@ -199,6 +199,24 @@
199
199
  @starting-style { opacity: 0; translate: 0 -0.75rem; }
200
200
  }
201
201
 
202
+ /* A beckon: one slow swell and back, to show what to press (ChoiceGrid `beckon`). It starts and ends at rest, so a
203
+ screenshot with animations frozen is the same as one without; reduced motion collapses it. */
204
+ @utility beckon {
205
+ animation: strata-beckon 900ms var(--ease-effects) 1;
206
+ }
207
+ /* The same pulse under a second name: alternating the two restarts it on a tile lit beat after beat. */
208
+ @utility beckon-again {
209
+ animation: strata-beckon-again 900ms var(--ease-effects) 1;
210
+ }
211
+ @keyframes strata-beckon-again {
212
+ 0%, 100% { scale: 1; }
213
+ 45% { scale: 1.06; }
214
+ }
215
+ @keyframes strata-beckon {
216
+ 0%, 100% { scale: 1; }
217
+ 45% { scale: 1.06; }
218
+ }
219
+
202
220
  /* Stacking, once, for every floating thing, so an app never writes a z-index. A bar (the undo
203
221
  bar, toasts) sits above panes and sticky headers; overlays (dialogs, popovers, menus) above
204
222
  bars; a tooltip above everything, since it can name a control inside an overlay. */
package/dist/strata.css CHANGED
@@ -194,6 +194,24 @@
194
194
  @starting-style { opacity: 0; translate: 0 -0.75rem; }
195
195
  }
196
196
 
197
+ /* A beckon: one slow swell and back, to show what to press (ChoiceGrid `beckon`). It starts and ends at rest, so a
198
+ screenshot with animations frozen is the same as one without; reduced motion collapses it. */
199
+ @utility beckon {
200
+ animation: strata-beckon 900ms var(--ease-effects) 1;
201
+ }
202
+ /* The same pulse under a second name: alternating the two restarts it on a tile lit beat after beat. */
203
+ @utility beckon-again {
204
+ animation: strata-beckon-again 900ms var(--ease-effects) 1;
205
+ }
206
+ @keyframes strata-beckon-again {
207
+ 0%, 100% { scale: 1; }
208
+ 45% { scale: 1.06; }
209
+ }
210
+ @keyframes strata-beckon {
211
+ 0%, 100% { scale: 1; }
212
+ 45% { scale: 1.06; }
213
+ }
214
+
197
215
  /* Stacking, once, for every floating thing, so an app never writes a z-index. A bar (the undo
198
216
  bar, toasts) sits above panes and sticky headers; overlays (dialogs, popovers, menus) above
199
217
  bars; a tooltip above everything, since it can name a control inside an overlay. */
@@ -190,6 +190,24 @@
190
190
  @starting-style { opacity: 0; translate: 0 -0.75rem; }
191
191
  }
192
192
 
193
+ /* A beckon: one slow swell and back, to show what to press (ChoiceGrid `beckon`). It starts and ends at rest, so a
194
+ screenshot with animations frozen is the same as one without; reduced motion collapses it. */
195
+ @utility beckon {
196
+ animation: strata-beckon 900ms var(--ease-effects) 1;
197
+ }
198
+ /* The same pulse under a second name: alternating the two restarts it on a tile lit beat after beat. */
199
+ @utility beckon-again {
200
+ animation: strata-beckon-again 900ms var(--ease-effects) 1;
201
+ }
202
+ @keyframes strata-beckon-again {
203
+ 0%, 100% { scale: 1; }
204
+ 45% { scale: 1.06; }
205
+ }
206
+ @keyframes strata-beckon {
207
+ 0%, 100% { scale: 1; }
208
+ 45% { scale: 1.06; }
209
+ }
210
+
193
211
  /* Stacking, once, for every floating thing, so an app never writes a z-index. A bar (the undo
194
212
  bar, toasts) sits above panes and sticky headers; overlays (dialogs, popovers, menus) above
195
213
  bars; a tooltip above everything, since it can name a control inside an overlay. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "strata-react",
3
- "version": "1.3.27",
3
+ "version": "1.3.28",
4
4
  "description": "React + Tailwind v4 components that ship structure, behaviour, states and a token contract, and no look: each product brings a theme generated from its own subject.",
5
5
  "repository": {
6
6
  "type": "git",