advi-ui 0.1.0 → 0.1.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.
@@ -0,0 +1,19 @@
1
+ import { default as React } from 'react';
2
+ interface PageAsideProps {
3
+ children?: React.ReactNode;
4
+ title?: React.ReactNode;
5
+ userName?: string;
6
+ onLogout?: () => void;
7
+ }
8
+ declare const PageAsideNavItem: {
9
+ ({ icon: Icon, label }: {
10
+ icon: React.ElementType;
11
+ label: string;
12
+ }): import("react/jsx-runtime").JSX.Element;
13
+ displayName: string;
14
+ };
15
+ declare const PageAside: {
16
+ ({ children, title, userName, onLogout }: PageAsideProps): import("react/jsx-runtime").JSX.Element;
17
+ displayName: string;
18
+ };
19
+ export { PageAside, PageAsideNavItem };
@@ -1,11 +1,8 @@
1
1
  import { default as React } from 'react';
2
- import { VariantProps } from 'class-variance-authority';
3
2
  declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
4
- declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
5
- direction?: "row" | "column" | null | undefined;
6
- } & import('class-variance-authority/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
3
+ declare const CardImage: React.ForwardRefExoticComponent<React.ImgHTMLAttributes<HTMLImageElement> & React.RefAttributes<HTMLImageElement>>;
7
4
  declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
8
5
  declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
9
6
  declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
10
- declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
11
- export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent };
7
+ declare const CardWrapper: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
8
+ export { Card, CardWrapper, CardImage, CardTitle, CardDescription, CardContent };
@@ -1,14 +1,13 @@
1
+ export * from './lib/utils';
1
2
  export * from './components/ui/button';
2
3
  export * from './components/ui/card';
3
4
  export * from './components/ui/dialog';
4
5
  export * from './components/ui/header';
5
6
  export * from './components/ui/input';
6
- export * from './components/ui/label';
7
7
  export * from './components/ui/link';
8
8
  export * from './components/ui/loading';
9
9
  export * from './components/ui/modal';
10
- export * from './components/ui/page-aside';
11
10
  export * from './components/ui/textarea';
12
11
  export * from './components/ui/toast';
13
12
  export * from './components/PageNotFound';
14
- export * from './lib/utils';
13
+ export * from './components/PageAside';
package/package.json CHANGED
@@ -1,31 +1,16 @@
1
1
  {
2
2
  "name": "advi-ui",
3
- "version": "0.1.0",
4
- "description": "Personal React component library built with Tailwind CSS, SCSS, and Storybook",
5
- "license": "MIT",
6
- "author": "Atharva Devasthali",
7
- "keywords": [
8
- "react",
9
- "component-library",
10
- "tailwind",
11
- "ui",
12
- "typescript",
13
- "storybook"
14
- ],
15
- "homepage": "https://github.com/atharvad/advi-ui#readme",
16
- "repository": {
17
- "type": "git",
18
- "url": "https://github.com/atharvad/advi-ui.git"
19
- },
3
+ "version": "0.1.2",
4
+ "description": "Personal React component library built on shadcn/ui + Tailwind CSS",
20
5
  "type": "module",
21
6
  "main": "./dist/advi-ui.cjs.js",
22
7
  "module": "./dist/advi-ui.es.js",
23
- "types": "./dist/index.d.ts",
8
+ "types": "./dist/src/index.d.ts",
24
9
  "exports": {
25
10
  ".": {
11
+ "types": "./dist/src/index.d.ts",
26
12
  "import": "./dist/advi-ui.es.js",
27
- "require": "./dist/advi-ui.cjs.js",
28
- "types": "./dist/index.d.ts"
13
+ "require": "./dist/advi-ui.cjs.js"
29
14
  },
30
15
  "./styles": "./dist/advi-ui.css"
31
16
  },
@@ -39,7 +24,6 @@
39
24
  "dev": "vite",
40
25
  "build": "tsc -b && vite build",
41
26
  "build:lib": "tsc -b && vite build --mode production",
42
- "prepublishOnly": "npm run build:lib",
43
27
  "lint": "eslint .",
44
28
  "preview": "vite preview",
45
29
  "storybook": "storybook dev -p 6006",
@@ -53,8 +37,10 @@
53
37
  "dependencies": {
54
38
  "@base-ui/react": "^1.4.0",
55
39
  "@fontsource-variable/geist": "^5.2.8",
40
+ "@fontsource/raleway": "^5.2.8",
41
+ "@fontsource/rubik": "^5.2.8",
42
+ "@fontsource/unbounded": "^5.2.8",
56
43
  "@radix-ui/react-dialog": "^1.1.15",
57
- "@radix-ui/react-label": "^2.1.8",
58
44
  "@radix-ui/react-slot": "^1.2.4",
59
45
  "class-variance-authority": "^0.7.1",
60
46
  "clsx": "^2.1.1",
@@ -63,11 +49,11 @@
63
49
  "tailwind-merge": "^3.5.0"
64
50
  },
65
51
  "devDependencies": {
66
- "@chromatic-com/storybook": "^5.1.2",
67
52
  "@eslint/js": "^9.39.4",
68
53
  "@storybook/addon-a11y": "^10.3.5",
69
54
  "@storybook/addon-docs": "^10.3.5",
70
55
  "@storybook/addon-onboarding": "^10.3.5",
56
+ "@storybook/addon-themes": "^10.3.5",
71
57
  "@storybook/addon-vitest": "^10.3.5",
72
58
  "@storybook/react-vite": "^10.3.5",
73
59
  "@types/node": "^24.12.2",
@@ -1,5 +0,0 @@
1
- import { default as React } from 'react';
2
- import { VariantProps } from 'class-variance-authority';
3
- import * as LabelPrimitive from "@radix-ui/react-label";
4
- declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import('class-variance-authority/types').ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
5
- export { Label };
@@ -1,9 +0,0 @@
1
- import { default as React } from 'react';
2
- interface PageAsideProps {
3
- children?: React.ReactNode;
4
- title?: React.ReactNode;
5
- userName?: string;
6
- onLogout?: () => void;
7
- }
8
- export declare const PageAside: ({ children, title, userName, onLogout }: PageAsideProps) => import("react/jsx-runtime").JSX.Element;
9
- export {};