@sgx4u/ui 1.0.6

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,20 @@
1
+ /**
2
+ * @description Initialize the UI components configuration.
3
+ * @returns {Promise<void>} A promise that resolves when the configuration is initialized.
4
+ */
5
+ declare function initConfig(): Promise<void>;
6
+
7
+ /**
8
+ * @description Add a component to the project.
9
+ * @param {string} componentName - The name of the component to add.
10
+ * @returns {Promise<void>} A promise that resolves when the component is added.
11
+ */
12
+ declare function addComponent(componentName: string): Promise<void>;
13
+
14
+ /**
15
+ * @description List available components.
16
+ * @returns {Promise<void>} A promise that resolves when the list of available components is shown.
17
+ */
18
+ declare function listComponents(): Promise<void>;
19
+
20
+ export { addComponent, initConfig, listComponents };
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @description Initialize the UI components configuration.
3
+ * @returns {Promise<void>} A promise that resolves when the configuration is initialized.
4
+ */
5
+ declare function initConfig(): Promise<void>;
6
+
7
+ /**
8
+ * @description Add a component to the project.
9
+ * @param {string} componentName - The name of the component to add.
10
+ * @returns {Promise<void>} A promise that resolves when the component is added.
11
+ */
12
+ declare function addComponent(componentName: string): Promise<void>;
13
+
14
+ /**
15
+ * @description List available components.
16
+ * @returns {Promise<void>} A promise that resolves when the list of available components is shown.
17
+ */
18
+ declare function listComponents(): Promise<void>;
19
+
20
+ export { addComponent, initConfig, listComponents };
package/dist/index.js ADDED
@@ -0,0 +1,10 @@
1
+ import {
2
+ addComponent,
3
+ initConfig,
4
+ listComponents
5
+ } from "./chunk-SWLJZFBL.js";
6
+ export {
7
+ addComponent,
8
+ initConfig,
9
+ listComponents
10
+ };
package/logo.svg ADDED
@@ -0,0 +1,18 @@
1
+ <svg id="Sample"
2
+ xmlns="http://www.w3.org/2000/svg"
3
+ xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 349.78 420.44">
4
+ <defs>
5
+ <style>.cls-1{fill:url(#New_Gradient_Swatch_copy);}.cls-2{fill:url(#New_Gradient_Swatch_copy-2);}.cls-3{fill:#fff;}</style>
6
+ <linearGradient id="New_Gradient_Swatch_copy" x1="445.08" y1="291.43" x2="620.37" y2="466.73" gradientUnits="userSpaceOnUse">
7
+ <stop offset="0" stop-color="#f69322"/>
8
+ <stop offset="1" stop-color="#f15b2a"/>
9
+ </linearGradient>
10
+ <linearGradient id="New_Gradient_Swatch_copy-2" x1="355.05" y1="237.98" x2="584.94" y2="467.87" xlink:href="#New_Gradient_Swatch_copy"/>
11
+ </defs>
12
+ <g id="Sample_03_V2" data-name="Sample 03 V2">
13
+ <path class="cls-1" d="M654.58,373.29C648.16,456.83,581.81,525.43,498,534.07c-7.07.73-24.66.77-24.69.77C470,470.63,532,443.11,568,375.52c24.62-46.21-3.36-113.37-3.36-113.37s5.6,39.8-40.13,91C460,425.38,464.21,463.54,465.41,469.54c-27.8-117.7,119.9-135.86,75.32-273.76C664,241.26,654.93,368.7,654.58,373.29Z" transform="translate(-305.07 -149.75)"/>
14
+ <path class="cls-2" d="M532.51,195.14s-.71-.26,0-.06c-1.42-23.18-17.76-41.65-20.74-44.85l-.25-.26-.21-.22.33.61c34,63.59-36.38,88.9-80.94,158.17-41.79,65-24.42,122.86-24,124.19-.57-1.06-28.75-53.88,2.43-123.49C428,267,484,229.78,502.22,201.53a86.62,86.62,0,0,0,7.68-14.65c-9.14-1.14-24.11-1.92-29.82-1.92-96.65,0-175,79.62-175,175,0,81,56,151,132.22,169.72,19,25.56,44.71,40.13,45.33,40.48-1.12-1.25-88.28-98.37-50.42-211.16C460,276.2,533.42,249.16,532.51,195.14Z" transform="translate(-305.07 -149.75)"/>
15
+ <path class="cls-3" d="M568,375.52c-36,67.59-98,95.11-94.73,159.32C475,549,475.64,552,482.62,570.19c-1.12-1.25-88.28-98.37-50.42-211.16C460,276.2,533.42,249.16,532.51,195.14c0,0-.71-.26,0-.06-1.47-23.93-18.83-42.84-21-45.11,9.87,9.91,21.06,25,29.21,45.81,44.58,137.9-103.12,156.06-75.32,273.76-1.2-6-5.43-44.16,59.11-116.41,45.73-51.18,40.13-91,40.13-91S592.63,329.31,568,375.52Z" transform="translate(-305.07 -149.75)"/>
16
+ <path class="cls-3" d="M511.64,150.36c4.46,14.32,2.06,26.9-1.74,36.52a86.62,86.62,0,0,1-7.68,14.65c-18,28.4-74.18,65.45-93.11,107.7-31.18,69.61-3,122.43-2.43,123.49-.4-1.33-17.77-59.2,24-124.19C475.26,239.26,545.66,214,511.64,150.36Z" transform="translate(-305.07 -149.75)"/>
17
+ </g>
18
+ </svg>
package/package.json ADDED
@@ -0,0 +1,88 @@
1
+ {
2
+ "name": "@sgx4u/ui",
3
+ "version": "1.0.6",
4
+ "private": false,
5
+ "license": "MIT",
6
+ "author": "Subhajit Ghosh",
7
+ "description": "Accessible, efficient and customizable components to start your own project. Use this to build any project of any scale.",
8
+ "keywords": [
9
+ "components",
10
+ "react",
11
+ "nextjs",
12
+ "sgx4u",
13
+ "sgx4u-ui",
14
+ "ui"
15
+ ],
16
+ "homepage": "https://ui.sgx4u.com",
17
+ "publishConfig": {
18
+ "access": "public",
19
+ "registry": "https://registry.npmjs.org/"
20
+ },
21
+ "readme": "./README.md",
22
+ "repository": {
23
+ "type": "github",
24
+ "url": "https://github.com/sgx4u/sgx4u-ui.git"
25
+ },
26
+ "bin": {
27
+ "sgx4u-ui": "./dist/bin.js"
28
+ },
29
+ "engines": {
30
+ "node": ">=16.0.0"
31
+ },
32
+ "packageManager": "pnpm@10.29.2",
33
+ "type": "module",
34
+ "main": "./dist/index.js",
35
+ "module": "./dist/index.mjs",
36
+ "types": "./dist/index.d.ts",
37
+ "scripts": {
38
+ "dev": "tsc --watch",
39
+ "build": "tsup",
40
+ "build:registry": "node scripts/build-registry.js",
41
+ "lint": "tsc",
42
+ "test": "jest",
43
+ "check": "pnpm lint && pnpm build",
44
+ "prepublishOnly": "pnpm build:registry && pnpm build",
45
+ "release": "pnpm lint && pnpm publish --no-git-checks"
46
+ },
47
+ "dependencies": {
48
+ "commander": "^14.0.3",
49
+ "fs-extra": "^11.3.3",
50
+ "inquirer": "^13.2.2",
51
+ "ora": "^9.3.0"
52
+ },
53
+ "devDependencies": {
54
+ "@types/fs-extra": "^11.0.4",
55
+ "@types/inquirer": "^9.0.9",
56
+ "esbuild": "latest",
57
+ "next": "16.1.6",
58
+ "tsup": "^8.5.1"
59
+ },
60
+ "peerDependencies": {
61
+ "@types/node": "^20.19.33",
62
+ "@types/react": "^19.2.13",
63
+ "@types/react-dom": "^19.2.3",
64
+ "clsx": "^2.1.1",
65
+ "lucide-react": "^0.563.0",
66
+ "react": "19.2.3",
67
+ "react-dom": "19.2.3",
68
+ "tailwind-merge": "^3.4.0",
69
+ "tailwindcss": "^4.1.18",
70
+ "typescript": "^5.9.3"
71
+ },
72
+ "files": [
73
+ "dist/",
74
+ "CHANGELOG.md",
75
+ "LICENSE",
76
+ "logo.svg",
77
+ "package.json",
78
+ "README.md",
79
+ "SECURITY.md",
80
+ "SUPPORT.md"
81
+ ],
82
+ "exports": {
83
+ ".": {
84
+ "import": "./dist/index.mjs",
85
+ "require": "./dist/index.js"
86
+ }
87
+ }
88
+ }