@leonardaustin/ui 0.1.0 → 0.2.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/README.md +3 -4
- package/dist/components/app-shell/MobileDrawer.d.ts.map +1 -1
- package/dist/components/app-shell/ThemeMenu.d.ts +20 -0
- package/dist/components/app-shell/ThemeMenu.d.ts.map +1 -0
- package/dist/components/app-shell/TopBar.d.ts.map +1 -1
- package/dist/components/app-shell/themeMenuEvents.d.ts +9 -0
- package/dist/components/app-shell/themeMenuEvents.d.ts.map +1 -0
- package/dist/components/ui/Button.d.ts +10 -0
- package/dist/components/ui/Button.d.ts.map +1 -1
- package/dist/hooks/useDismiss.d.ts +9 -1
- package/dist/hooks/useDismiss.d.ts.map +1 -1
- package/dist/hooks/useFocusTrap.d.ts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1126 -839
- package/dist/lib/cn.d.ts +7 -1
- package/dist/lib/cn.d.ts.map +1 -1
- package/package.json +2 -20
package/dist/lib/cn.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Minimal first-party clsx-equivalent. Flattens strings, numbers, nested
|
|
3
|
+
* arrays, and objects (key kept when its value is truthy) into a space-joined
|
|
4
|
+
* className string; falsy values are ignored. Inlined so the package carries
|
|
5
|
+
* no runtime dependency for a few lines of trivial string-joining.
|
|
6
|
+
*/
|
|
7
|
+
export type ClassValue = ClassValue[] | Record<string, unknown> | string | number | bigint | null | boolean | undefined;
|
|
2
8
|
export declare function cn(...inputs: ClassValue[]): string;
|
|
3
9
|
//# sourceMappingURL=cn.d.ts.map
|
package/dist/lib/cn.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../src/lib/cn.ts"],"names":[],"mappings":"AAWA,
|
|
1
|
+
{"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../src/lib/cn.ts"],"names":[],"mappings":"AAWA;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAClB,UAAU,EAAE,GACZ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACvB,MAAM,GACN,MAAM,GACN,MAAM,GACN,IAAI,GACJ,OAAO,GACP,SAAS,CAAC;AAiId,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leonardaustin/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Reusable React component library and application shell for Leonard Austin projects.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
13
|
"url": "git+https://github.com/leonardaustin/ui.git",
|
|
14
|
-
"directory": "
|
|
14
|
+
"directory": "ui"
|
|
15
15
|
},
|
|
16
16
|
"bugs": {
|
|
17
17
|
"url": "https://github.com/leonardaustin/ui/issues"
|
|
@@ -37,27 +37,9 @@
|
|
|
37
37
|
},
|
|
38
38
|
"./styles.css": "./dist/styles.css"
|
|
39
39
|
},
|
|
40
|
-
"scripts": {
|
|
41
|
-
"build": "vite build && tsc -p tsconfig.build.json && node scripts/build-css.mjs",
|
|
42
|
-
"lint": "eslint .",
|
|
43
|
-
"prepublishOnly": "pnpm build"
|
|
44
|
-
},
|
|
45
|
-
"dependencies": {
|
|
46
|
-
"clsx": "^2.1.1"
|
|
47
|
-
},
|
|
48
40
|
"peerDependencies": {
|
|
49
41
|
"lucide-react": "^1.7.0",
|
|
50
42
|
"react": "^19.2.4",
|
|
51
43
|
"react-dom": "^19.2.4"
|
|
52
|
-
},
|
|
53
|
-
"devDependencies": {
|
|
54
|
-
"@types/react": "^19.2.14",
|
|
55
|
-
"@types/react-dom": "^19.2.3",
|
|
56
|
-
"@vitejs/plugin-react": "^6.0.1",
|
|
57
|
-
"lucide-react": "^1.7.0",
|
|
58
|
-
"react": "^19.2.4",
|
|
59
|
-
"react-dom": "^19.2.4",
|
|
60
|
-
"typescript": "~5.9.3",
|
|
61
|
-
"vite": "^8.0.16"
|
|
62
44
|
}
|
|
63
45
|
}
|