@iit/precision-ui 0.1.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 +27 -0
- package/dist/Adapters.d.ts +21 -0
- package/dist/Adapters.d.ts.map +1 -0
- package/dist/components/card/card.d.ts +7 -0
- package/dist/components/card/card.d.ts.map +1 -0
- package/dist/components/card/index.d.ts +2 -0
- package/dist/components/card/index.d.ts.map +1 -0
- package/dist/components/ui/Image.d.ts +11 -0
- package/dist/components/ui/Image.d.ts.map +1 -0
- package/dist/components/ui/Link.d.ts +15 -0
- package/dist/components/ui/Link.d.ts.map +1 -0
- package/dist/components/ui/alert.d.ts +9 -0
- package/dist/components/ui/alert.d.ts.map +1 -0
- package/dist/components/ui/button/ButtonIcon.d.ts +17 -0
- package/dist/components/ui/button/ButtonIcon.d.ts.map +1 -0
- package/dist/components/ui/button/ButtonPrimary.d.ts +24 -0
- package/dist/components/ui/button/ButtonPrimary.d.ts.map +1 -0
- package/dist/components/ui/button/ButtonSecondary.d.ts +15 -0
- package/dist/components/ui/button/ButtonSecondary.d.ts.map +1 -0
- package/dist/components/ui/button/ButtonText.d.ts +21 -0
- package/dist/components/ui/button/ButtonText.d.ts.map +1 -0
- package/dist/components/ui/button/ButtonUnique.d.ts +15 -0
- package/dist/components/ui/button/ButtonUnique.d.ts.map +1 -0
- package/dist/components/ui/button/button.d.ts +13 -0
- package/dist/components/ui/button/button.d.ts.map +1 -0
- package/dist/components/ui/button/index.d.ts +1 -0
- package/dist/components/ui/button/index.d.ts.map +1 -0
- package/dist/components/ui/icon.d.ts +5 -0
- package/dist/components/ui/icon.d.ts.map +1 -0
- package/dist/decorators/LinkWrapper.d.ts +10 -0
- package/dist/decorators/LinkWrapper.d.ts.map +1 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.es.js +23 -0
- package/dist/index.es.js.map +1 -0
- package/dist/index.es10.js +50 -0
- package/dist/index.es10.js.map +1 -0
- package/dist/index.es11.js +9 -0
- package/dist/index.es11.js.map +1 -0
- package/dist/index.es12.js +25 -0
- package/dist/index.es12.js.map +1 -0
- package/dist/index.es2.js +46 -0
- package/dist/index.es2.js.map +1 -0
- package/dist/index.es3.js +32 -0
- package/dist/index.es3.js.map +1 -0
- package/dist/index.es4.js +76 -0
- package/dist/index.es4.js.map +1 -0
- package/dist/index.es5.js +40 -0
- package/dist/index.es5.js.map +1 -0
- package/dist/index.es6.js +70 -0
- package/dist/index.es6.js.map +1 -0
- package/dist/index.es7.js +54 -0
- package/dist/index.es7.js.map +1 -0
- package/dist/index.es8.js +41 -0
- package/dist/index.es8.js.map +1 -0
- package/dist/index.es9.js +13 -0
- package/dist/index.es9.js.map +1 -0
- package/dist/lib/utils/cn.d.ts +4 -0
- package/dist/lib/utils/cn.d.ts.map +1 -0
- package/dist/setupTests.d.ts +2 -0
- package/dist/setupTests.d.ts.map +1 -0
- package/dist/stories/Button.d.ts +16 -0
- package/dist/stories/Button.d.ts.map +1 -0
- package/dist/stories/Header.d.ts +13 -0
- package/dist/stories/Header.d.ts.map +1 -0
- package/dist/stories/Page.d.ts +4 -0
- package/dist/stories/Page.d.ts.map +1 -0
- package/dist/styles.css +730 -0
- package/dist/vite.svg +1 -0
- package/package.json +101 -0
package/dist/vite.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
package/package.json
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@iit/precision-ui",
|
|
3
|
+
"title": "Precision UI",
|
|
4
|
+
"description": "Yet another React Component Library",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "wowxoxo",
|
|
7
|
+
"url": "https://github.com/wowxoxo"
|
|
8
|
+
},
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"homepage": "https://github.com/wowxoxo/precision-ui",
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/wowxoxo/precision-ui"
|
|
14
|
+
},
|
|
15
|
+
"version": "0.1.0",
|
|
16
|
+
"type": "module",
|
|
17
|
+
"module": "./dist/index.es.js",
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"files": [
|
|
21
|
+
"dist"
|
|
22
|
+
],
|
|
23
|
+
"keywords": [
|
|
24
|
+
"react",
|
|
25
|
+
"ui",
|
|
26
|
+
"component",
|
|
27
|
+
"library",
|
|
28
|
+
"components",
|
|
29
|
+
"ui-library"
|
|
30
|
+
],
|
|
31
|
+
"engines": {
|
|
32
|
+
"node": ">=20.0.0"
|
|
33
|
+
},
|
|
34
|
+
"scripts": {
|
|
35
|
+
"dev": "vite",
|
|
36
|
+
"build": "rm -rf dist && tsc -p tsconfig.prod.json && vite build && npm run build:styles",
|
|
37
|
+
"build:styles": "postcss ./src/index.scss -o ./dist/styles.css",
|
|
38
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings=-1",
|
|
39
|
+
"preview": "vite preview",
|
|
40
|
+
"storybook": "storybook dev -p 6006",
|
|
41
|
+
"build-storybook": "storybook build",
|
|
42
|
+
"prepare": "husky install",
|
|
43
|
+
"test": "vitest",
|
|
44
|
+
"test:coverage": "vitest run --coverage"
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"@iit/precision-ui-icons": "^0.4.0",
|
|
48
|
+
"@radix-ui/react-slot": "^1.0.2",
|
|
49
|
+
"class-variance-authority": "^0.7.0",
|
|
50
|
+
"clsx": "^2.1.1",
|
|
51
|
+
"lucide-react": "^0.394.0",
|
|
52
|
+
"react": "^18.2.0",
|
|
53
|
+
"react-dom": "^18.2.0",
|
|
54
|
+
"tailwind-merge": "^2.3.0",
|
|
55
|
+
"tailwindcss-animate": "^1.0.7"
|
|
56
|
+
},
|
|
57
|
+
"peerDependencies": {
|
|
58
|
+
"react": "^18.2.0",
|
|
59
|
+
"react-dom": "^18.2.0"
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@chromatic-com/storybook": "^3.2.3",
|
|
63
|
+
"@storybook/addon-essentials": "^8.4.7",
|
|
64
|
+
"@storybook/addon-interactions": "^8.4.7",
|
|
65
|
+
"@storybook/addon-onboarding": "^8.4.7",
|
|
66
|
+
"@storybook/addon-themes": "^8.4.7",
|
|
67
|
+
"@storybook/blocks": "^8.4.7",
|
|
68
|
+
"@storybook/react": "^8.4.7",
|
|
69
|
+
"@storybook/react-vite": "^8.4.7",
|
|
70
|
+
"@storybook/test": "^8.4.7",
|
|
71
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
72
|
+
"@testing-library/react": "^16.2.0",
|
|
73
|
+
"@types/jest": "^29.5.14",
|
|
74
|
+
"@types/node": "^22.10.7",
|
|
75
|
+
"@types/react": "^18.2.66",
|
|
76
|
+
"@types/react-dom": "^18.2.22",
|
|
77
|
+
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
|
78
|
+
"@typescript-eslint/parser": "^7.2.0",
|
|
79
|
+
"@vitejs/plugin-react": "^4.2.1",
|
|
80
|
+
"@vitest/coverage-v8": "^3.0.2",
|
|
81
|
+
"autoprefixer": "^10.4.19",
|
|
82
|
+
"eslint": "^8.57.0",
|
|
83
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
84
|
+
"eslint-plugin-react-refresh": "^0.4.6",
|
|
85
|
+
"eslint-plugin-storybook": "^0.11.2",
|
|
86
|
+
"husky": "^8.0.0",
|
|
87
|
+
"jsdom": "^26.0.0",
|
|
88
|
+
"lint-staged": "^15.4.1",
|
|
89
|
+
"postcss": "^8.4.38",
|
|
90
|
+
"postcss-cli": "^11.0.0",
|
|
91
|
+
"postcss-replace": "^2.0.1",
|
|
92
|
+
"sass": "^1.77.6",
|
|
93
|
+
"storybook": "^8.4.7",
|
|
94
|
+
"tailwindcss": "^3.4.4",
|
|
95
|
+
"typescript": "^5.2.2",
|
|
96
|
+
"vite": "^5.2.0",
|
|
97
|
+
"vite-plugin-dts": "^3.9.1",
|
|
98
|
+
"vitest": "^3.0.2",
|
|
99
|
+
"vitest-dom": "^0.1.1"
|
|
100
|
+
}
|
|
101
|
+
}
|