@podoba/tailwind 0.0.30 → 0.0.34

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 +79 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@podoba/tailwind",
3
- "version": "0.0.30",
3
+ "version": "0.0.34",
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
@@ -117,7 +117,6 @@
117
117
 
118
118
  --color-ring: var(--color-ring);
119
119
  --color-modal-backdrop: var(--color-modal-backdrop);
120
- --color-modal-backdrop-fallback: var(--color-modal-backdrop-fallback);
121
120
 
122
121
  /* border radius */
123
122
  --radius-sm: var(--radius-sm);
@@ -136,10 +135,15 @@
136
135
  * (--space-md 1rem = p-4, sm = p-2, lg = p-6, xl = p-8, xs = p-1), so use
137
136
  * the numeric utilities for spacing and leave xs…xl to sizing. */
138
137
  --spacing-nav-x: var(--space-nav-x);
138
+ --spacing-create-hub-full: var(--control-height-create-hub-full);
139
+ --spacing-create-hub-partial: var(--control-height-create-hub-partial);
140
+ --spacing-mobile-cta: var(--control-height-mobile-cta);
141
+ --spacing-mobile-cta-bottom: calc(var(--space-sm) + env(safe-area-inset-bottom, 0px));
139
142
  --spacing-control-tall: var(--control-height-tall);
140
143
 
141
144
  /* effects */
142
145
  --blur-modal-backdrop: var(--effect-modal-backdrop-blur);
146
+ --shadow-mobile-cta: var(--shadow-mobile-cta);
143
147
  --shadow-modal-surface: var(--shadow-modal-surface);
144
148
 
145
149
  /* font families */
@@ -189,6 +193,14 @@
189
193
  --tracking-wider: var(--tracking-wider);
190
194
 
191
195
  /* animations */
196
+ --animate-create-hub-backdrop: create-hub-backdrop var(--motion-create-hub-backdrop-duration)
197
+ var(--motion-create-hub-enter-easing) both;
198
+ --animate-create-hub-desktop: create-hub-desktop var(--motion-create-hub-desktop-duration)
199
+ var(--motion-create-hub-enter-easing) both;
200
+ --animate-create-hub-full: create-hub-full var(--motion-create-hub-full-duration)
201
+ var(--motion-create-hub-enter-easing) both;
202
+ --animate-create-hub-sheet: create-hub-sheet var(--motion-create-hub-sheet-duration)
203
+ var(--motion-create-hub-enter-easing) both;
192
204
  --animate-expand-cta: expand-cta 220ms cubic-bezier(0.16, 1, 0.3, 1);
193
205
  --animate-lightbox-in: lightbox-in 0.3s ease-out;
194
206
  --animate-modal-overlay-in: modal-overlay-in var(--motion-modal-enter-duration)
@@ -199,6 +211,10 @@
199
211
  var(--motion-modal-enter-easing) both;
200
212
  --animate-modal-surface-out: modal-surface-out var(--motion-modal-exit-duration)
201
213
  var(--motion-modal-exit-easing) both;
214
+ --animate-side-panel-in: side-panel-in var(--motion-modal-enter-duration)
215
+ var(--motion-modal-enter-easing) both;
216
+ --animate-side-panel-out: side-panel-out var(--motion-modal-exit-duration)
217
+ var(--motion-modal-exit-easing) both;
202
218
  --animate-modal-panel-in: modal-panel-in var(--motion-modal-panel-enter-duration)
203
219
  var(--motion-modal-enter-easing) var(--motion-modal-panel-enter-delay) both;
204
220
  --animate-modal-content-in: modal-content-in var(--motion-modal-content-enter-duration)
@@ -238,6 +254,46 @@
238
254
  both;
239
255
  }
240
256
 
257
+ @keyframes create-hub-backdrop {
258
+ from {
259
+ opacity: 0;
260
+ }
261
+ to {
262
+ opacity: 1;
263
+ }
264
+ }
265
+
266
+ @keyframes create-hub-desktop {
267
+ from {
268
+ opacity: 0;
269
+ transform: scale(0.15, 0.1);
270
+ }
271
+ to {
272
+ opacity: 1;
273
+ transform: scale(1);
274
+ }
275
+ }
276
+
277
+ @keyframes create-hub-sheet {
278
+ from {
279
+ opacity: 0;
280
+ transform: translateY(100%);
281
+ }
282
+ to {
283
+ opacity: 1;
284
+ transform: translateY(0);
285
+ }
286
+ }
287
+
288
+ @keyframes create-hub-full {
289
+ from {
290
+ max-height: var(--control-height-create-hub-partial);
291
+ }
292
+ to {
293
+ max-height: var(--control-height-create-hub-full);
294
+ }
295
+ }
296
+
241
297
  @keyframes expand-cta {
242
298
  from {
243
299
  opacity: 0;
@@ -311,6 +367,28 @@
311
367
  }
312
368
  }
313
369
 
370
+ @keyframes side-panel-in {
371
+ from {
372
+ opacity: 0;
373
+ transform: translateX(100%);
374
+ }
375
+ to {
376
+ opacity: 1;
377
+ transform: translateX(0);
378
+ }
379
+ }
380
+
381
+ @keyframes side-panel-out {
382
+ from {
383
+ opacity: 1;
384
+ transform: translateX(0);
385
+ }
386
+ to {
387
+ opacity: 0;
388
+ transform: translateX(100%);
389
+ }
390
+ }
391
+
314
392
  @keyframes modal-content-in {
315
393
  from {
316
394
  opacity: 0;