@bergetai/ui 0.8.0 → 0.9.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/index.cjs +21 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +21 -5
- package/dist/index.js.map +1 -1
- package/dist/styles/index.css +12 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -266,7 +266,16 @@ var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
|
266
266
|
"rounded-berget-lg",
|
|
267
267
|
"rounded-berget-full"
|
|
268
268
|
],
|
|
269
|
-
"font-size": [
|
|
269
|
+
"font-size": [
|
|
270
|
+
"text-h1",
|
|
271
|
+
"text-h2",
|
|
272
|
+
"text-h3",
|
|
273
|
+
"text-h4",
|
|
274
|
+
"text-p",
|
|
275
|
+
"text-mono",
|
|
276
|
+
"text-hero",
|
|
277
|
+
"text-caption"
|
|
278
|
+
]
|
|
270
279
|
}
|
|
271
280
|
}
|
|
272
281
|
});
|
|
@@ -488,6 +497,8 @@ var typographyVariants = (0, import_class_variance_authority2.cva)("", {
|
|
|
488
497
|
variant: {
|
|
489
498
|
// Fluid heading scale — use @theme tokens (clamp-based, 390px → 1440px)
|
|
490
499
|
h1: "text-h1 font-h1 leading-h1 tracking-h1 text-balance",
|
|
500
|
+
// Hero display — from landing-page /dedicated-inference hero (Ovo, 400, tight display leading)
|
|
501
|
+
hero: "text-hero font-hero leading-hero tracking-hero text-balance font-normal [font-feature-settings:'normal']",
|
|
491
502
|
h2: "text-h2 font-h2 leading-h2 tracking-h2 text-balance",
|
|
492
503
|
h3: "text-h3 font-h3 leading-h3 tracking-h3 text-balance",
|
|
493
504
|
h4: "text-h4 font-h4 leading-h4 tracking-h4 text-balance",
|
|
@@ -498,6 +509,8 @@ var typographyVariants = (0, import_class_variance_authority2.cva)("", {
|
|
|
498
509
|
body: "text-p font-p leading-p text-pretty",
|
|
499
510
|
small: "text-sm font-sm leading-sm text-pretty",
|
|
500
511
|
xs: "text-xs font-xs leading-xs text-pretty",
|
|
512
|
+
// Caption / overline / eyebrow (DM Sans, Semibold, uppercase)
|
|
513
|
+
caption: "text-caption font-caption leading-caption tracking-caption text-pretty font-semibold uppercase",
|
|
501
514
|
// Monospaced — use @theme token
|
|
502
515
|
mono: "text-mono font-mono leading-mono text-pretty",
|
|
503
516
|
// Inline code / spec labels
|
|
@@ -506,7 +519,8 @@ var typographyVariants = (0, import_class_variance_authority2.cva)("", {
|
|
|
506
519
|
color: {
|
|
507
520
|
default: "text-berget-foreground",
|
|
508
521
|
muted: "text-berget-muted-foreground",
|
|
509
|
-
dim: "text-berget-foreground/65"
|
|
522
|
+
dim: "text-berget-foreground/65",
|
|
523
|
+
primary: "text-berget-primary"
|
|
510
524
|
}
|
|
511
525
|
},
|
|
512
526
|
defaultVariants: {
|
|
@@ -515,6 +529,7 @@ var typographyVariants = (0, import_class_variance_authority2.cva)("", {
|
|
|
515
529
|
}
|
|
516
530
|
});
|
|
517
531
|
var defaultElementMap = {
|
|
532
|
+
hero: "h1",
|
|
518
533
|
h1: "h1",
|
|
519
534
|
h2: "h2",
|
|
520
535
|
h3: "h3",
|
|
@@ -524,6 +539,7 @@ var defaultElementMap = {
|
|
|
524
539
|
body: "p",
|
|
525
540
|
small: "p",
|
|
526
541
|
xs: "p",
|
|
542
|
+
caption: "span",
|
|
527
543
|
mono: "p",
|
|
528
544
|
code: "span"
|
|
529
545
|
};
|
|
@@ -630,11 +646,11 @@ function CardFooter({ className, ...props }) {
|
|
|
630
646
|
|
|
631
647
|
// src/components/card/Card.tsx
|
|
632
648
|
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
633
|
-
var cardVariants = (0, import_class_variance_authority3.cva)("rounded-berget-sm", {
|
|
649
|
+
var cardVariants = (0, import_class_variance_authority3.cva)("rounded-berget-sm ring-0", {
|
|
634
650
|
variants: {
|
|
635
651
|
variant: {
|
|
636
|
-
outlined: "bg-transparent border border-berget-border",
|
|
637
|
-
filled: "bg-berget-card-filled-bg border border-berget-border"
|
|
652
|
+
outlined: "bg-transparent border border-berget-border-subtle",
|
|
653
|
+
filled: "bg-berget-card-filled-bg border border-berget-border-subtle"
|
|
638
654
|
},
|
|
639
655
|
padding: {
|
|
640
656
|
none: "p-0",
|