strata-react 2.1.2 → 2.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/README.md +2 -1
- package/dist/index.d.ts +46 -2
- package/dist/index.js +155 -1
- package/dist/index.js.map +1 -1
- package/dist/strata.bare.css +11 -0
- package/dist/strata.css +11 -0
- package/dist/strata.migrate.css +11 -0
- package/package.json +1 -1
package/dist/strata.bare.css
CHANGED
|
@@ -221,6 +221,17 @@
|
|
|
221
221
|
45% { scale: 1.06; }
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
+
/* Time left, drawn as a bar that empties once over `--drain-ms` (Glimpse): linear, as time is. It ends empty, so a
|
|
225
|
+
screenshot with animations finished shows an empty track; reduced motion collapses it to empty at once. */
|
|
226
|
+
@utility drain {
|
|
227
|
+
transform-origin: left;
|
|
228
|
+
animation: strata-drain var(--drain-ms, 1s) linear 1 forwards;
|
|
229
|
+
}
|
|
230
|
+
@keyframes strata-drain {
|
|
231
|
+
from { scale: 1 1; }
|
|
232
|
+
to { scale: 0 1; }
|
|
233
|
+
}
|
|
234
|
+
|
|
224
235
|
/* Stacking, once, for every floating thing, so an app never writes a z-index. A bar (the undo
|
|
225
236
|
bar, toasts) sits above panes and sticky headers; overlays (dialogs, popovers, menus) above
|
|
226
237
|
bars; a tooltip above everything, since it can name a control inside an overlay. */
|
package/dist/strata.css
CHANGED
|
@@ -216,6 +216,17 @@
|
|
|
216
216
|
45% { scale: 1.06; }
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
+
/* Time left, drawn as a bar that empties once over `--drain-ms` (Glimpse): linear, as time is. It ends empty, so a
|
|
220
|
+
screenshot with animations finished shows an empty track; reduced motion collapses it to empty at once. */
|
|
221
|
+
@utility drain {
|
|
222
|
+
transform-origin: left;
|
|
223
|
+
animation: strata-drain var(--drain-ms, 1s) linear 1 forwards;
|
|
224
|
+
}
|
|
225
|
+
@keyframes strata-drain {
|
|
226
|
+
from { scale: 1 1; }
|
|
227
|
+
to { scale: 0 1; }
|
|
228
|
+
}
|
|
229
|
+
|
|
219
230
|
/* Stacking, once, for every floating thing, so an app never writes a z-index. A bar (the undo
|
|
220
231
|
bar, toasts) sits above panes and sticky headers; overlays (dialogs, popovers, menus) above
|
|
221
232
|
bars; a tooltip above everything, since it can name a control inside an overlay. */
|
package/dist/strata.migrate.css
CHANGED
|
@@ -212,6 +212,17 @@
|
|
|
212
212
|
45% { scale: 1.06; }
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
+
/* Time left, drawn as a bar that empties once over `--drain-ms` (Glimpse): linear, as time is. It ends empty, so a
|
|
216
|
+
screenshot with animations finished shows an empty track; reduced motion collapses it to empty at once. */
|
|
217
|
+
@utility drain {
|
|
218
|
+
transform-origin: left;
|
|
219
|
+
animation: strata-drain var(--drain-ms, 1s) linear 1 forwards;
|
|
220
|
+
}
|
|
221
|
+
@keyframes strata-drain {
|
|
222
|
+
from { scale: 1 1; }
|
|
223
|
+
to { scale: 0 1; }
|
|
224
|
+
}
|
|
225
|
+
|
|
215
226
|
/* Stacking, once, for every floating thing, so an app never writes a z-index. A bar (the undo
|
|
216
227
|
bar, toasts) sits above panes and sticky headers; overlays (dialogs, popovers, menus) above
|
|
217
228
|
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": "2.1.
|
|
3
|
+
"version": "2.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",
|