@lessly/ui 4.2.0 → 5.0.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/{chunk-OMJRQ4JY.js → chunk-OTYVKDP2.js} +4 -3
- package/dist/index.d.ts +79 -6
- package/dist/index.js +318 -187
- package/dist/router.js +1 -1
- package/dist/styles-federated.css +13 -5
- package/dist/styles.css +14 -42
- package/package.json +1 -1
package/dist/router.js
CHANGED
|
@@ -539,12 +539,17 @@
|
|
|
539
539
|
}
|
|
540
540
|
|
|
541
541
|
/* === Fonts === */
|
|
542
|
+
/* This kit declares no face of its own, and scripts/build-styles.mjs refuses a build where one
|
|
543
|
+
reappears here. Written without the at-rule spelled out: that guard is a character scanner
|
|
544
|
+
over this file, so naming the rule in prose would register as a block.
|
|
542
545
|
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
546
|
+
The faces live in @lessly/tokens/fonts.css — Inter, Fira Mono and Sora, against RELATIVE
|
|
547
|
+
`./fonts/...` paths at files inside that package. A consumer imports that sheet and is done.
|
|
548
|
+
What stood here declared four of them a second time against ABSOLUTE `/fonts/**.woff2`, which
|
|
549
|
+
named files the kit does not ship and every consumer had to serve itself; one who did not
|
|
550
|
+
rendered in system fallback with no error at all. Sora, which `--text-display-*-font-family`
|
|
551
|
+
has named since @lessly/tokens@0.8.0, was never declared here in any form and so never
|
|
552
|
+
painted at all. */
|
|
548
553
|
|
|
549
554
|
/* === Theme Variables === */
|
|
550
555
|
/* The token palettes (colors, typography, motion, shadows, grid) live in
|
|
@@ -733,6 +738,9 @@
|
|
|
733
738
|
/* === Animation layer (tw-animate-css, compiled) — see scripts/build-styles.mjs === */
|
|
734
739
|
/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */
|
|
735
740
|
@layer properties;
|
|
741
|
+
.animate-accordion-down {
|
|
742
|
+
animation: accordion-down var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
|
|
743
|
+
}
|
|
736
744
|
.animate-in {
|
|
737
745
|
animation: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
|
|
738
746
|
}
|
package/dist/styles.css
CHANGED
|
@@ -538,48 +538,17 @@
|
|
|
538
538
|
}
|
|
539
539
|
|
|
540
540
|
/* === Fonts === */
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
font-style: normal;
|
|
553
|
-
font-display: swap;
|
|
554
|
-
}
|
|
555
|
-
@font-face {
|
|
556
|
-
font-family: "Inter";
|
|
557
|
-
src: url("/fonts/inter/inter-semibold.woff2") format("woff2");
|
|
558
|
-
font-weight: 600;
|
|
559
|
-
font-style: normal;
|
|
560
|
-
font-display: swap;
|
|
561
|
-
}
|
|
562
|
-
@font-face {
|
|
563
|
-
font-family: "Inter";
|
|
564
|
-
src: url("/fonts/inter/inter-bold.woff2") format("woff2");
|
|
565
|
-
font-weight: 700;
|
|
566
|
-
font-style: normal;
|
|
567
|
-
font-display: swap;
|
|
568
|
-
}
|
|
569
|
-
@font-face {
|
|
570
|
-
font-family: "Fira Mono";
|
|
571
|
-
src: url("/fonts/fira-mono/fira-mono-regular.woff2") format("woff2");
|
|
572
|
-
font-weight: 400;
|
|
573
|
-
font-style: normal;
|
|
574
|
-
font-display: swap;
|
|
575
|
-
}
|
|
576
|
-
@font-face {
|
|
577
|
-
font-family: "Fira Mono";
|
|
578
|
-
src: url("/fonts/fira-mono/fira-mono-medium.woff2") format("woff2");
|
|
579
|
-
font-weight: 500;
|
|
580
|
-
font-style: normal;
|
|
581
|
-
font-display: swap;
|
|
582
|
-
}
|
|
541
|
+
/* This kit declares no face of its own, and scripts/build-styles.mjs refuses a build where one
|
|
542
|
+
reappears here. Written without the at-rule spelled out: that guard is a character scanner
|
|
543
|
+
over this file, so naming the rule in prose would register as a block.
|
|
544
|
+
|
|
545
|
+
The faces live in @lessly/tokens/fonts.css — Inter, Fira Mono and Sora, against RELATIVE
|
|
546
|
+
`./fonts/...` paths at files inside that package. A consumer imports that sheet and is done.
|
|
547
|
+
What stood here declared four of them a second time against ABSOLUTE `/fonts/**.woff2`, which
|
|
548
|
+
named files the kit does not ship and every consumer had to serve itself; one who did not
|
|
549
|
+
rendered in system fallback with no error at all. Sora, which `--text-display-*-font-family`
|
|
550
|
+
has named since @lessly/tokens@0.8.0, was never declared here in any form and so never
|
|
551
|
+
painted at all. */
|
|
583
552
|
|
|
584
553
|
/* === Theme Variables === */
|
|
585
554
|
/* The token palettes (colors, typography, motion, shadows, grid) live in
|
|
@@ -774,6 +743,9 @@
|
|
|
774
743
|
/* === Animation layer (tw-animate-css, compiled) — see scripts/build-styles.mjs === */
|
|
775
744
|
/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */
|
|
776
745
|
@layer properties;
|
|
746
|
+
.animate-accordion-down {
|
|
747
|
+
animation: accordion-down var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
|
|
748
|
+
}
|
|
777
749
|
.animate-in {
|
|
778
750
|
animation: enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
|
|
779
751
|
}
|