@alpic-ai/ui 0.0.0-dev.97d81a4 → 0.0.0-dev.a2b407c

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.
@@ -4,7 +4,7 @@ import * as _$class_variance_authority_types0 from "class-variance-authority/typ
4
4
 
5
5
  //#region src/components/skeleton.d.ts
6
6
  declare const skeletonVariants: (props?: ({
7
- shape?: "rectangle" | "circle" | null | undefined;
7
+ shape?: "circle" | "rectangle" | null | undefined;
8
8
  } & _$class_variance_authority_types0.ClassProp) | undefined) => string;
9
9
  interface SkeletonProps extends React.ComponentProps<"div">, VariantProps<typeof skeletonVariants> {}
10
10
  declare function Skeleton({
@@ -0,0 +1,34 @@
1
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+ import { ReactNode } from "react";
3
+
4
+ //#region src/components/typography.d.ts
5
+ declare function H1({
6
+ children,
7
+ className
8
+ }: {
9
+ children: ReactNode;
10
+ className?: string;
11
+ }): _$react_jsx_runtime0.JSX.Element;
12
+ declare function H2({
13
+ children,
14
+ className
15
+ }: {
16
+ children: ReactNode;
17
+ className?: string;
18
+ }): _$react_jsx_runtime0.JSX.Element;
19
+ declare function H3({
20
+ children,
21
+ className
22
+ }: {
23
+ children: ReactNode;
24
+ className?: string;
25
+ }): _$react_jsx_runtime0.JSX.Element;
26
+ declare function H4({
27
+ children,
28
+ className
29
+ }: {
30
+ children: ReactNode;
31
+ className?: string;
32
+ }): _$react_jsx_runtime0.JSX.Element;
33
+ //#endregion
34
+ export { H1, H2, H3, H4 };
@@ -0,0 +1,29 @@
1
+ import { cn } from "../lib/cn.mjs";
2
+ import { jsx } from "react/jsx-runtime";
3
+ //#region src/components/typography.tsx
4
+ function H1({ children, className }) {
5
+ return /* @__PURE__ */ jsx("h1", {
6
+ className: cn("scroll-m-20 type-display-sm font-bold", className),
7
+ children
8
+ });
9
+ }
10
+ function H2({ children, className }) {
11
+ return /* @__PURE__ */ jsx("h2", {
12
+ className: cn("scroll-m-20 type-display-xs font-semibold", className),
13
+ children
14
+ });
15
+ }
16
+ function H3({ children, className }) {
17
+ return /* @__PURE__ */ jsx("h3", {
18
+ className: cn("scroll-m-20 type-text-lg font-semibold", className),
19
+ children
20
+ });
21
+ }
22
+ function H4({ children, className }) {
23
+ return /* @__PURE__ */ jsx("h4", {
24
+ className: cn("scroll-m-20 type-text-md font-semibold", className),
25
+ children
26
+ });
27
+ }
28
+ //#endregion
29
+ export { H1, H2, H3, H4 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alpic-ai/ui",
3
- "version": "0.0.0-dev.97d81a4",
3
+ "version": "0.0.0-dev.a2b407c",
4
4
  "description": "Alpic design system — shared UI components",
5
5
  "type": "module",
6
6
  "exports": {
@@ -23,13 +23,13 @@
23
23
  "src"
24
24
  ],
25
25
  "peerDependencies": {
26
- "lucide-react": "^1.0.0",
27
- "react": "^19.0.0",
28
- "react-dom": "^19.0.0",
26
+ "lucide-react": "^1.7.0",
27
+ "react": "^19.2.4",
28
+ "react-dom": "^19.2.4",
29
29
  "react-hook-form": "^7.72.1",
30
- "sonner": "^2.0.0",
31
- "tailwindcss": "^4.0.0",
32
- "tw-animate-css": "^1.0.0"
30
+ "sonner": "^2.0.7",
31
+ "tailwindcss": "^4.2.2",
32
+ "tw-animate-css": "^1.4.0"
33
33
  },
34
34
  "dependencies": {
35
35
  "@radix-ui/react-accordion": "^1.2.12",
@@ -0,0 +1,19 @@
1
+ import type { ReactNode } from "react";
2
+
3
+ import { cn } from "../lib/cn";
4
+
5
+ export function H1({ children, className }: { children: ReactNode; className?: string }) {
6
+ return <h1 className={cn("scroll-m-20 type-display-sm font-bold", className)}>{children}</h1>;
7
+ }
8
+
9
+ export function H2({ children, className }: { children: ReactNode; className?: string }) {
10
+ return <h2 className={cn("scroll-m-20 type-display-xs font-semibold", className)}>{children}</h2>;
11
+ }
12
+
13
+ export function H3({ children, className }: { children: ReactNode; className?: string }) {
14
+ return <h3 className={cn("scroll-m-20 type-text-lg font-semibold", className)}>{children}</h3>;
15
+ }
16
+
17
+ export function H4({ children, className }: { children: ReactNode; className?: string }) {
18
+ return <h4 className={cn("scroll-m-20 type-text-md font-semibold", className)}>{children}</h4>;
19
+ }