@podoba/tailwind 0.0.35 → 0.0.37

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/theme.css +25 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@podoba/tailwind",
3
- "version": "0.0.35",
3
+ "version": "0.0.37",
4
4
  "type": "module",
5
5
  "description": "podoba Tailwind v4 theme — binds @podoba/tokens CSS custom properties to Tailwind's @theme. Import after `@import \"tailwindcss\"`.",
6
6
  "repository": {
package/src/theme.css CHANGED
@@ -202,6 +202,9 @@
202
202
  --animate-create-hub-sheet: create-hub-sheet var(--motion-create-hub-sheet-duration)
203
203
  var(--motion-create-hub-enter-easing) both;
204
204
  --animate-expand-cta: expand-cta 220ms cubic-bezier(0.16, 1, 0.3, 1);
205
+ /* gs DropdownMenu `slideDownAndFade` / `slideUpAndFade`: 200ms both ways. */
206
+ --animate-dropdown-in: dropdown-in 200ms cubic-bezier(0.16, 1, 0.3, 1);
207
+ --animate-dropdown-out: dropdown-out 200ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
205
208
  --animate-lightbox-in: lightbox-in 0.3s ease-out;
206
209
  --animate-modal-overlay-in: modal-overlay-in var(--motion-modal-enter-duration)
207
210
  var(--motion-modal-enter-easing) both;
@@ -305,6 +308,28 @@
305
308
  }
306
309
  }
307
310
 
311
+ @keyframes dropdown-in {
312
+ from {
313
+ opacity: 0;
314
+ transform: translateY(-2px);
315
+ }
316
+ to {
317
+ opacity: 1;
318
+ transform: translateY(0);
319
+ }
320
+ }
321
+
322
+ @keyframes dropdown-out {
323
+ from {
324
+ opacity: 1;
325
+ transform: translateY(0);
326
+ }
327
+ to {
328
+ opacity: 0;
329
+ transform: translateY(-2px);
330
+ }
331
+ }
332
+
308
333
  @keyframes lightbox-in {
309
334
  from {
310
335
  opacity: 0;