@ds-gn/ui 0.12.0 → 0.12.2
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.
|
@@ -354,12 +354,16 @@ var styles2 = css2`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.co
|
|
|
354
354
|
@layer properties;
|
|
355
355
|
@layer theme {
|
|
356
356
|
:root, :host {
|
|
357
|
+
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
357
358
|
--color-brand-subtle: inherit;
|
|
358
359
|
--color-page: inherit;
|
|
359
360
|
--color-text-primary: inherit;
|
|
360
361
|
}
|
|
361
362
|
}
|
|
362
363
|
@layer utilities {
|
|
364
|
+
.visible {
|
|
365
|
+
visibility: visible;
|
|
366
|
+
}
|
|
363
367
|
.relative {
|
|
364
368
|
position: relative;
|
|
365
369
|
}
|
|
@@ -396,6 +400,10 @@ var styles2 = css2`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.co
|
|
|
396
400
|
.text-text-primary {
|
|
397
401
|
color: var(--color-text-primary);
|
|
398
402
|
}
|
|
403
|
+
.ease-in-out {
|
|
404
|
+
--tw-ease: var(--ease-in-out);
|
|
405
|
+
transition-timing-function: var(--ease-in-out);
|
|
406
|
+
}
|
|
399
407
|
}
|
|
400
408
|
@property --dsgn-border-sweep-angle {
|
|
401
409
|
syntax: '<angle>';
|
|
@@ -444,6 +452,10 @@ var styles2 = css2`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.co
|
|
|
444
452
|
inherits: false;
|
|
445
453
|
initial-value: 100%;
|
|
446
454
|
}
|
|
455
|
+
@property --tw-ease {
|
|
456
|
+
syntax: "*";
|
|
457
|
+
inherits: false;
|
|
458
|
+
}
|
|
447
459
|
@layer properties {
|
|
448
460
|
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
449
461
|
*, ::before, ::after, ::backdrop {
|
|
@@ -456,6 +468,7 @@ var styles2 = css2`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.co
|
|
|
456
468
|
--tw-gradient-from-position: 0%;
|
|
457
469
|
--tw-gradient-via-position: 50%;
|
|
458
470
|
--tw-gradient-to-position: 100%;
|
|
471
|
+
--tw-ease: initial;
|
|
459
472
|
--dsgn-border-sweep-angle: 0deg;
|
|
460
473
|
}
|
|
461
474
|
}
|
|
@@ -504,6 +517,27 @@ function clsx() {
|
|
|
504
517
|
var clsx_default = clsx;
|
|
505
518
|
|
|
506
519
|
// components/Background/src/Background.styles.ts
|
|
520
|
+
import { css as css3 } from "lit";
|
|
521
|
+
var meshStyles = css3`
|
|
522
|
+
.aurora-mesh {
|
|
523
|
+
animation: aurora-entrance 1600ms ease-in-out both;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
@keyframes aurora-entrance {
|
|
527
|
+
from {
|
|
528
|
+
opacity: 0;
|
|
529
|
+
}
|
|
530
|
+
to {
|
|
531
|
+
opacity: 1;
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
@media (prefers-reduced-motion: reduce) {
|
|
536
|
+
.aurora-mesh {
|
|
537
|
+
animation: none;
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
`;
|
|
507
541
|
var variantClasses = {
|
|
508
542
|
solid: "bg-page",
|
|
509
543
|
gradient: ["bg-linear-to-b", "from-brand-subtle", "to-page"]
|
|
@@ -517,7 +551,7 @@ var contentClassNames = () => {
|
|
|
517
551
|
|
|
518
552
|
// components/Background/src/Background.ts
|
|
519
553
|
class Background extends Base {
|
|
520
|
-
static styles = [Base.styles, Background_default];
|
|
554
|
+
static styles = [Base.styles, Background_default, meshStyles];
|
|
521
555
|
constructor() {
|
|
522
556
|
super();
|
|
523
557
|
this._inView = new IntersectionController(this, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ds-gn/ui",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.2",
|
|
4
4
|
"description": "UI components for the DS-GN Design System",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -397,7 +397,7 @@
|
|
|
397
397
|
},
|
|
398
398
|
"dependencies": {
|
|
399
399
|
"@ds-gn/motion": "0.11.2",
|
|
400
|
-
"@ds-gn/tokens": "0.
|
|
400
|
+
"@ds-gn/tokens": "0.12.1",
|
|
401
401
|
"@lit-labs/observers": "^2.0.5",
|
|
402
402
|
"@lit/react": "^1.0.7",
|
|
403
403
|
"clsx": "^2.1.1"
|