@tenerife.music/ui 1.0.15 → 1.1.0

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/preset.cjs CHANGED
@@ -129,7 +129,7 @@ var tailwindThemeColors = {
129
129
  }
130
130
  };
131
131
 
132
- // src/tokens/motion/v2.ts
132
+ // src/FOUNDATION/tokens/motion/v2.ts
133
133
  var motionV2Durations = {
134
134
  fast: "150ms",
135
135
  // Quick interactions
@@ -148,13 +148,6 @@ var motionV2Easings = {
148
148
  emphasized: "cubic-bezier(0.2, 0, 0, 1)"
149
149
  // Strong, decisive
150
150
  };
151
- var motionV2Transitions = {
152
- fast: `${motionV2Durations.fast} ${motionV2Easings.standard}`,
153
- normal: `${motionV2Durations.normal} ${motionV2Easings.standard}`,
154
- slow: `${motionV2Durations.slow} ${motionV2Easings.emphasized}`,
155
- soft: `${motionV2Durations.normal} ${motionV2Easings.soft}`,
156
- reduced: `${motionV2Durations.reduced} linear`
157
- };
158
151
  var motionV2Fade = {
159
152
  in: {
160
153
  from: { opacity: 0 },
@@ -269,23 +262,6 @@ var motionV2Combined = {
269
262
  }
270
263
  }
271
264
  };
272
- var motionV2CSSVariables = {
273
- // Durations
274
- "--motion-duration-fast": motionV2Durations.fast,
275
- "--motion-duration-normal": motionV2Durations.normal,
276
- "--motion-duration-slow": motionV2Durations.slow,
277
- "--motion-duration-reduced": motionV2Durations.reduced,
278
- // Easings
279
- "--motion-easing-soft": motionV2Easings.soft,
280
- "--motion-easing-standard": motionV2Easings.standard,
281
- "--motion-easing-emphasized": motionV2Easings.emphasized,
282
- // Transitions
283
- "--motion-transition-fast": motionV2Transitions.fast,
284
- "--motion-transition-normal": motionV2Transitions.normal,
285
- "--motion-transition-slow": motionV2Transitions.slow,
286
- "--motion-transition-soft": motionV2Transitions.soft,
287
- "--motion-transition-reduced": motionV2Transitions.reduced
288
- };
289
265
  var motionV2TailwindConfig = {
290
266
  transitionDuration: {
291
267
  ...motionV2Durations
@@ -323,7 +299,7 @@ var motionV2TailwindConfig = {
323
299
  }
324
300
  };
325
301
 
326
- // src/tokens/motion.ts
302
+ // src/FOUNDATION/tokens/motion.ts
327
303
  var durations = {
328
304
  instant: "0ms",
329
305
  fast: "150ms",
@@ -374,54 +350,54 @@ var easings = {
374
350
  var keyframes = {
375
351
  // Fade animations
376
352
  fadeIn: {
377
- from: { opacity: 0 },
378
- to: { opacity: 1 }
353
+ from: { opacity: "0" },
354
+ to: { opacity: "1" }
379
355
  },
380
356
  fadeOut: {
381
- from: { opacity: 1 },
382
- to: { opacity: 0 }
357
+ from: { opacity: "1" },
358
+ to: { opacity: "0" }
383
359
  },
384
360
  // Slide animations
385
361
  slideInUp: {
386
- from: { transform: "translateY(100%)", opacity: 0 },
387
- to: { transform: "translateY(0)", opacity: 1 }
362
+ from: { transform: "translateY(100%)", opacity: "0" },
363
+ to: { transform: "translateY(0)", opacity: "1" }
388
364
  },
389
365
  slideInDown: {
390
- from: { transform: "translateY(-100%)", opacity: 0 },
391
- to: { transform: "translateY(0)", opacity: 1 }
366
+ from: { transform: "translateY(-100%)", opacity: "0" },
367
+ to: { transform: "translateY(0)", opacity: "1" }
392
368
  },
393
369
  slideInLeft: {
394
- from: { transform: "translateX(-100%)", opacity: 0 },
395
- to: { transform: "translateX(0)", opacity: 1 }
370
+ from: { transform: "translateX(-100%)", opacity: "0" },
371
+ to: { transform: "translateX(0)", opacity: "1" }
396
372
  },
397
373
  slideInRight: {
398
- from: { transform: "translateX(100%)", opacity: 0 },
399
- to: { transform: "translateX(0)", opacity: 1 }
374
+ from: { transform: "translateX(100%)", opacity: "0" },
375
+ to: { transform: "translateX(0)", opacity: "1" }
400
376
  },
401
377
  slideOutUp: {
402
- from: { transform: "translateY(0)", opacity: 1 },
403
- to: { transform: "translateY(-100%)", opacity: 0 }
378
+ from: { transform: "translateY(0)", opacity: "1" },
379
+ to: { transform: "translateY(-100%)", opacity: "0" }
404
380
  },
405
381
  slideOutDown: {
406
- from: { transform: "translateY(0)", opacity: 1 },
407
- to: { transform: "translateY(100%)", opacity: 0 }
382
+ from: { transform: "translateY(0)", opacity: "1" },
383
+ to: { transform: "translateY(100%)", opacity: "0" }
408
384
  },
409
385
  slideOutLeft: {
410
- from: { transform: "translateX(0)", opacity: 1 },
411
- to: { transform: "translateX(-100%)", opacity: 0 }
386
+ from: { transform: "translateX(0)", opacity: "1" },
387
+ to: { transform: "translateX(-100%)", opacity: "0" }
412
388
  },
413
389
  slideOutRight: {
414
- from: { transform: "translateX(0)", opacity: 1 },
415
- to: { transform: "translateX(100%)", opacity: 0 }
390
+ from: { transform: "translateX(0)", opacity: "1" },
391
+ to: { transform: "translateX(100%)", opacity: "0" }
416
392
  },
417
393
  // Scale animations
418
394
  scaleIn: {
419
- from: { transform: "scale(0.95)", opacity: 0 },
420
- to: { transform: "scale(1)", opacity: 1 }
395
+ from: { transform: "scale(0.95)", opacity: "0" },
396
+ to: { transform: "scale(1)", opacity: "1" }
421
397
  },
422
398
  scaleOut: {
423
- from: { transform: "scale(1)", opacity: 1 },
424
- to: { transform: "scale(0.95)", opacity: 0 }
399
+ from: { transform: "scale(1)", opacity: "1" },
400
+ to: { transform: "scale(0.95)", opacity: "0" }
425
401
  },
426
402
  scaleUp: {
427
403
  from: { transform: "scale(1)" },
@@ -442,8 +418,8 @@ var keyframes = {
442
418
  },
443
419
  // Pulse and bounce
444
420
  pulse: {
445
- "0%, 100%": { opacity: 1 },
446
- "50%": { opacity: 0.5 }
421
+ "0%, 100%": { opacity: "1" },
422
+ "50%": { opacity: "0.5" }
447
423
  },
448
424
  bounce: {
449
425
  "0%, 100%": {
@@ -465,7 +441,7 @@ var keyframes = {
465
441
  ping: {
466
442
  "75%, 100%": {
467
443
  transform: "scale(2)",
468
- opacity: 0
444
+ opacity: "0"
469
445
  }
470
446
  },
471
447
  // Accordion animations (for Radix UI)
@@ -535,7 +511,7 @@ var tailwindMotionConfig = {
535
511
  }
536
512
  };
537
513
 
538
- // src/tokens/radius.ts
514
+ // src/FOUNDATION/tokens/radius.ts
539
515
  var borderRadius = {
540
516
  // No radius
541
517
  none: "0",
@@ -621,7 +597,7 @@ var tailwindRadiusConfig = {
621
597
  }
622
598
  };
623
599
 
624
- // src/tokens/shadows.ts
600
+ // src/FOUNDATION/tokens/shadows.ts
625
601
  var shadowBase = {
626
602
  black: "0 0 0"};
627
603
  var shadowOpacity = {
@@ -728,7 +704,7 @@ var tailwindShadowConfig = {
728
704
  }
729
705
  };
730
706
 
731
- // src/tokens/spacing.ts
707
+ // src/FOUNDATION/tokens/spacing.ts
732
708
  var spacing = {
733
709
  // Zero spacing
734
710
  0: "0",
@@ -852,7 +828,7 @@ var tailwindSpacingConfig = {
852
828
  }
853
829
  };
854
830
 
855
- // src/tokens/typography.ts
831
+ // src/FOUNDATION/tokens/typography.ts
856
832
  var fontFamily = {
857
833
  // Primary font - Inter (default sans)
858
834
  sans: [
@@ -1170,12 +1146,7 @@ var preset = {
1170
1146
  }
1171
1147
  },
1172
1148
  plugins: [
1173
- plugin__default.default(({ addUtilities, addBase }) => {
1174
- addBase({
1175
- ":root": {
1176
- ...motionV2CSSVariables
1177
- }
1178
- });
1149
+ plugin__default.default(({ addUtilities }) => {
1179
1150
  addUtilities({
1180
1151
  // Fade animations
1181
1152
  ".tm-motion-fade-in": {
package/dist/preset.mjs CHANGED
@@ -123,7 +123,7 @@ var tailwindThemeColors = {
123
123
  }
124
124
  };
125
125
 
126
- // src/tokens/motion/v2.ts
126
+ // src/FOUNDATION/tokens/motion/v2.ts
127
127
  var motionV2Durations = {
128
128
  fast: "150ms",
129
129
  // Quick interactions
@@ -142,13 +142,6 @@ var motionV2Easings = {
142
142
  emphasized: "cubic-bezier(0.2, 0, 0, 1)"
143
143
  // Strong, decisive
144
144
  };
145
- var motionV2Transitions = {
146
- fast: `${motionV2Durations.fast} ${motionV2Easings.standard}`,
147
- normal: `${motionV2Durations.normal} ${motionV2Easings.standard}`,
148
- slow: `${motionV2Durations.slow} ${motionV2Easings.emphasized}`,
149
- soft: `${motionV2Durations.normal} ${motionV2Easings.soft}`,
150
- reduced: `${motionV2Durations.reduced} linear`
151
- };
152
145
  var motionV2Fade = {
153
146
  in: {
154
147
  from: { opacity: 0 },
@@ -263,23 +256,6 @@ var motionV2Combined = {
263
256
  }
264
257
  }
265
258
  };
266
- var motionV2CSSVariables = {
267
- // Durations
268
- "--motion-duration-fast": motionV2Durations.fast,
269
- "--motion-duration-normal": motionV2Durations.normal,
270
- "--motion-duration-slow": motionV2Durations.slow,
271
- "--motion-duration-reduced": motionV2Durations.reduced,
272
- // Easings
273
- "--motion-easing-soft": motionV2Easings.soft,
274
- "--motion-easing-standard": motionV2Easings.standard,
275
- "--motion-easing-emphasized": motionV2Easings.emphasized,
276
- // Transitions
277
- "--motion-transition-fast": motionV2Transitions.fast,
278
- "--motion-transition-normal": motionV2Transitions.normal,
279
- "--motion-transition-slow": motionV2Transitions.slow,
280
- "--motion-transition-soft": motionV2Transitions.soft,
281
- "--motion-transition-reduced": motionV2Transitions.reduced
282
- };
283
259
  var motionV2TailwindConfig = {
284
260
  transitionDuration: {
285
261
  ...motionV2Durations
@@ -317,7 +293,7 @@ var motionV2TailwindConfig = {
317
293
  }
318
294
  };
319
295
 
320
- // src/tokens/motion.ts
296
+ // src/FOUNDATION/tokens/motion.ts
321
297
  var durations = {
322
298
  instant: "0ms",
323
299
  fast: "150ms",
@@ -368,54 +344,54 @@ var easings = {
368
344
  var keyframes = {
369
345
  // Fade animations
370
346
  fadeIn: {
371
- from: { opacity: 0 },
372
- to: { opacity: 1 }
347
+ from: { opacity: "0" },
348
+ to: { opacity: "1" }
373
349
  },
374
350
  fadeOut: {
375
- from: { opacity: 1 },
376
- to: { opacity: 0 }
351
+ from: { opacity: "1" },
352
+ to: { opacity: "0" }
377
353
  },
378
354
  // Slide animations
379
355
  slideInUp: {
380
- from: { transform: "translateY(100%)", opacity: 0 },
381
- to: { transform: "translateY(0)", opacity: 1 }
356
+ from: { transform: "translateY(100%)", opacity: "0" },
357
+ to: { transform: "translateY(0)", opacity: "1" }
382
358
  },
383
359
  slideInDown: {
384
- from: { transform: "translateY(-100%)", opacity: 0 },
385
- to: { transform: "translateY(0)", opacity: 1 }
360
+ from: { transform: "translateY(-100%)", opacity: "0" },
361
+ to: { transform: "translateY(0)", opacity: "1" }
386
362
  },
387
363
  slideInLeft: {
388
- from: { transform: "translateX(-100%)", opacity: 0 },
389
- to: { transform: "translateX(0)", opacity: 1 }
364
+ from: { transform: "translateX(-100%)", opacity: "0" },
365
+ to: { transform: "translateX(0)", opacity: "1" }
390
366
  },
391
367
  slideInRight: {
392
- from: { transform: "translateX(100%)", opacity: 0 },
393
- to: { transform: "translateX(0)", opacity: 1 }
368
+ from: { transform: "translateX(100%)", opacity: "0" },
369
+ to: { transform: "translateX(0)", opacity: "1" }
394
370
  },
395
371
  slideOutUp: {
396
- from: { transform: "translateY(0)", opacity: 1 },
397
- to: { transform: "translateY(-100%)", opacity: 0 }
372
+ from: { transform: "translateY(0)", opacity: "1" },
373
+ to: { transform: "translateY(-100%)", opacity: "0" }
398
374
  },
399
375
  slideOutDown: {
400
- from: { transform: "translateY(0)", opacity: 1 },
401
- to: { transform: "translateY(100%)", opacity: 0 }
376
+ from: { transform: "translateY(0)", opacity: "1" },
377
+ to: { transform: "translateY(100%)", opacity: "0" }
402
378
  },
403
379
  slideOutLeft: {
404
- from: { transform: "translateX(0)", opacity: 1 },
405
- to: { transform: "translateX(-100%)", opacity: 0 }
380
+ from: { transform: "translateX(0)", opacity: "1" },
381
+ to: { transform: "translateX(-100%)", opacity: "0" }
406
382
  },
407
383
  slideOutRight: {
408
- from: { transform: "translateX(0)", opacity: 1 },
409
- to: { transform: "translateX(100%)", opacity: 0 }
384
+ from: { transform: "translateX(0)", opacity: "1" },
385
+ to: { transform: "translateX(100%)", opacity: "0" }
410
386
  },
411
387
  // Scale animations
412
388
  scaleIn: {
413
- from: { transform: "scale(0.95)", opacity: 0 },
414
- to: { transform: "scale(1)", opacity: 1 }
389
+ from: { transform: "scale(0.95)", opacity: "0" },
390
+ to: { transform: "scale(1)", opacity: "1" }
415
391
  },
416
392
  scaleOut: {
417
- from: { transform: "scale(1)", opacity: 1 },
418
- to: { transform: "scale(0.95)", opacity: 0 }
393
+ from: { transform: "scale(1)", opacity: "1" },
394
+ to: { transform: "scale(0.95)", opacity: "0" }
419
395
  },
420
396
  scaleUp: {
421
397
  from: { transform: "scale(1)" },
@@ -436,8 +412,8 @@ var keyframes = {
436
412
  },
437
413
  // Pulse and bounce
438
414
  pulse: {
439
- "0%, 100%": { opacity: 1 },
440
- "50%": { opacity: 0.5 }
415
+ "0%, 100%": { opacity: "1" },
416
+ "50%": { opacity: "0.5" }
441
417
  },
442
418
  bounce: {
443
419
  "0%, 100%": {
@@ -459,7 +435,7 @@ var keyframes = {
459
435
  ping: {
460
436
  "75%, 100%": {
461
437
  transform: "scale(2)",
462
- opacity: 0
438
+ opacity: "0"
463
439
  }
464
440
  },
465
441
  // Accordion animations (for Radix UI)
@@ -529,7 +505,7 @@ var tailwindMotionConfig = {
529
505
  }
530
506
  };
531
507
 
532
- // src/tokens/radius.ts
508
+ // src/FOUNDATION/tokens/radius.ts
533
509
  var borderRadius = {
534
510
  // No radius
535
511
  none: "0",
@@ -615,7 +591,7 @@ var tailwindRadiusConfig = {
615
591
  }
616
592
  };
617
593
 
618
- // src/tokens/shadows.ts
594
+ // src/FOUNDATION/tokens/shadows.ts
619
595
  var shadowBase = {
620
596
  black: "0 0 0"};
621
597
  var shadowOpacity = {
@@ -722,7 +698,7 @@ var tailwindShadowConfig = {
722
698
  }
723
699
  };
724
700
 
725
- // src/tokens/spacing.ts
701
+ // src/FOUNDATION/tokens/spacing.ts
726
702
  var spacing = {
727
703
  // Zero spacing
728
704
  0: "0",
@@ -846,7 +822,7 @@ var tailwindSpacingConfig = {
846
822
  }
847
823
  };
848
824
 
849
- // src/tokens/typography.ts
825
+ // src/FOUNDATION/tokens/typography.ts
850
826
  var fontFamily = {
851
827
  // Primary font - Inter (default sans)
852
828
  sans: [
@@ -1164,12 +1140,7 @@ var preset = {
1164
1140
  }
1165
1141
  },
1166
1142
  plugins: [
1167
- plugin(({ addUtilities, addBase }) => {
1168
- addBase({
1169
- ":root": {
1170
- ...motionV2CSSVariables
1171
- }
1172
- });
1143
+ plugin(({ addUtilities }) => {
1173
1144
  addUtilities({
1174
1145
  // Fade animations
1175
1146
  ".tm-motion-fade-in": {