@podoba/tailwind 0.0.32 → 0.0.35

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 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@podoba/tailwind",
3
- "version": "0.0.32",
3
+ "version": "0.0.35",
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
@@ -135,10 +135,15 @@
135
135
  * (--space-md 1rem = p-4, sm = p-2, lg = p-6, xl = p-8, xs = p-1), so use
136
136
  * the numeric utilities for spacing and leave xs…xl to sizing. */
137
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));
138
142
  --spacing-control-tall: var(--control-height-tall);
139
143
 
140
144
  /* effects */
141
145
  --blur-modal-backdrop: var(--effect-modal-backdrop-blur);
146
+ --shadow-mobile-cta: var(--shadow-mobile-cta);
142
147
  --shadow-modal-surface: var(--shadow-modal-surface);
143
148
 
144
149
  /* font families */
@@ -188,6 +193,14 @@
188
193
  --tracking-wider: var(--tracking-wider);
189
194
 
190
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;
191
204
  --animate-expand-cta: expand-cta 220ms cubic-bezier(0.16, 1, 0.3, 1);
192
205
  --animate-lightbox-in: lightbox-in 0.3s ease-out;
193
206
  --animate-modal-overlay-in: modal-overlay-in var(--motion-modal-enter-duration)
@@ -198,6 +211,10 @@
198
211
  var(--motion-modal-enter-easing) both;
199
212
  --animate-modal-surface-out: modal-surface-out var(--motion-modal-exit-duration)
200
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;
201
218
  --animate-modal-panel-in: modal-panel-in var(--motion-modal-panel-enter-duration)
202
219
  var(--motion-modal-enter-easing) var(--motion-modal-panel-enter-delay) both;
203
220
  --animate-modal-content-in: modal-content-in var(--motion-modal-content-enter-duration)
@@ -237,6 +254,46 @@
237
254
  both;
238
255
  }
239
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
+
240
297
  @keyframes expand-cta {
241
298
  from {
242
299
  opacity: 0;
@@ -310,6 +367,28 @@
310
367
  }
311
368
  }
312
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
+
313
392
  @keyframes modal-content-in {
314
393
  from {
315
394
  opacity: 0;