strata-react 1.1.2 → 1.1.4

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.
package/dist/strata.css CHANGED
@@ -202,6 +202,21 @@
202
202
  @starting-style { opacity: 0; scale: 0.98; }
203
203
  }
204
204
 
205
+ @utility player-warning {
206
+ animation: strata-player-warning-in var(--motion-effects) var(--ease-effects) both;
207
+ &[data-leaving] { animation-name: strata-player-warning-out; }
208
+ }
209
+
210
+ @keyframes strata-player-warning-in {
211
+ from { opacity: 0; translate: 0 -0.75rem; }
212
+ to { opacity: 1; translate: 0 0; }
213
+ }
214
+
215
+ @keyframes strata-player-warning-out {
216
+ from { opacity: 1; translate: 0 0; }
217
+ to { opacity: 0; translate: 0 -0.75rem; }
218
+ }
219
+
205
220
  @layer base {
206
221
  html { color-scheme: light; }
207
222
  .dark { color-scheme: dark; }
@@ -192,6 +192,21 @@
192
192
  @starting-style { opacity: 0; scale: 0.98; }
193
193
  }
194
194
 
195
+ @utility player-warning {
196
+ animation: strata-player-warning-in var(--motion-effects) var(--ease-effects) both;
197
+ &[data-leaving] { animation-name: strata-player-warning-out; }
198
+ }
199
+
200
+ @keyframes strata-player-warning-in {
201
+ from { opacity: 0; translate: 0 -0.75rem; }
202
+ to { opacity: 1; translate: 0 0; }
203
+ }
204
+
205
+ @keyframes strata-player-warning-out {
206
+ from { opacity: 1; translate: 0 0; }
207
+ to { opacity: 0; translate: 0 -0.75rem; }
208
+ }
209
+
195
210
  @layer base {
196
211
  html { color-scheme: light; }
197
212
  .dark { color-scheme: dark; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "strata-react",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
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",