@cbrl/design 0.6.2 → 0.6.3
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
declare const typographyVariants: (props?: ({
|
|
4
|
-
variant?: "
|
|
4
|
+
variant?: "blockquote" | "code" | "h1" | "h2" | "h3" | "h4" | "p" | "small" | "muted" | "pageTitle" | "lead" | "large" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
6
|
declare function Typography({ variant, as, className, ...props }: VariantProps<typeof typographyVariants> & {
|
|
7
7
|
as?: React.ElementType;
|
package/dist/globals.css
CHANGED
|
@@ -40,6 +40,14 @@
|
|
|
40
40
|
*/
|
|
41
41
|
overflow-y: scroll;
|
|
42
42
|
}
|
|
43
|
+
/*
|
|
44
|
+
* Com o app shell (sidebar-wrapper: h-dvh overflow-hidden) o documento nunca
|
|
45
|
+
* rola — quem rola é o `app-scroll`. Forçar a barra no html ali desenha uma
|
|
46
|
+
* segunda barra, morta, ao lado da real.
|
|
47
|
+
*/
|
|
48
|
+
html:has([data-slot='sidebar-wrapper']) {
|
|
49
|
+
overflow-y: hidden;
|
|
50
|
+
}
|
|
43
51
|
}
|
|
44
52
|
|
|
45
53
|
/*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cbrl/design",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3",
|
|
4
4
|
"description": "Design system on Radix + Tailwind v4: shadcn-style components, layout shells and design tokens with an overridable brand accent.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Kayron Cabral",
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
"typescript": "^6.0.3",
|
|
73
73
|
"vitest": "^5.1.1",
|
|
74
74
|
"@cbrl/eslint-config": "0.3.0",
|
|
75
|
-
"@cbrl/
|
|
76
|
-
"@cbrl/
|
|
75
|
+
"@cbrl/tsconfig": "0.1.1",
|
|
76
|
+
"@cbrl/testing": "0.4.0"
|
|
77
77
|
},
|
|
78
78
|
"publishConfig": {
|
|
79
79
|
"access": "public"
|