@infra-cryptomate/react-components 0.0.1

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.
Files changed (43) hide show
  1. package/README.md +45 -0
  2. package/dist/components/atoms/button/button.d.ts +8 -0
  3. package/dist/components/atoms/button/button.enums.d.ts +13 -0
  4. package/dist/components/atoms/button/button.types.d.ts +3 -0
  5. package/dist/components/atoms/button/button.variants.d.ts +13 -0
  6. package/dist/components/atoms/checkbox/checkbox.d.ts +5 -0
  7. package/dist/components/atoms/heading/heading.d.ts +7 -0
  8. package/dist/components/atoms/heading/heading.enums.d.ts +8 -0
  9. package/dist/components/atoms/heading/heading.types.d.ts +2 -0
  10. package/dist/components/atoms/heading/heading.variants.d.ts +8 -0
  11. package/dist/components/atoms/index.d.ts +8 -0
  12. package/dist/components/atoms/input/input.d.ts +5 -0
  13. package/dist/components/atoms/label/label.d.ts +6 -0
  14. package/dist/components/atoms/paragraph/paragraph.d.ts +5 -0
  15. package/dist/components/atoms/spinner/spinner.d.ts +8 -0
  16. package/dist/components/atoms/spinner/spinner.enums.d.ts +11 -0
  17. package/dist/components/atoms/spinner/spinner.types.d.ts +3 -0
  18. package/dist/components/atoms/spinner/spinner.variants.d.ts +11 -0
  19. package/dist/components/atoms/text-area/text-area.d.ts +5 -0
  20. package/dist/components/index.d.ts +2 -0
  21. package/dist/components/molecules/card/card.d.ts +20 -0
  22. package/dist/components/molecules/checkbox-container/checkbox-container.d.ts +7 -0
  23. package/dist/components/molecules/checkbox-container/checkbox-container.enums.d.ts +3 -0
  24. package/dist/components/molecules/checkbox-container/checkbox-container.types.d.ts +6 -0
  25. package/dist/components/molecules/checkbox-container/checkbox-container.variants.d.ts +3 -0
  26. package/dist/components/molecules/dropdown/dropdown.d.ts +42 -0
  27. package/dist/components/molecules/index.d.ts +5 -0
  28. package/dist/components/molecules/radio/radio.d.ts +9 -0
  29. package/dist/components/molecules/select/select.d.ts +11 -0
  30. package/dist/components/molecules/toast/index.d.ts +5 -0
  31. package/dist/components/molecules/toast/toast.d.ts +30 -0
  32. package/dist/components/molecules/toast/toast.enum.d.ts +4 -0
  33. package/dist/components/molecules/toast/toast.types.d.ts +2 -0
  34. package/dist/components/molecules/toast/toast.variants.d.ts +4 -0
  35. package/dist/components/molecules/toast/toaster.d.ts +1 -0
  36. package/dist/components/molecules/toast/use-toast.d.ts +44 -0
  37. package/dist/components/utils.d.ts +1 -0
  38. package/dist/components.es.js +7784 -0
  39. package/dist/components.umd.js +41 -0
  40. package/dist/index.d.ts +1 -0
  41. package/dist/style.css +1241 -0
  42. package/dist/vite.svg +1 -0
  43. package/package.json +76 -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,76 @@
1
+ {
2
+ "name": "@infra-cryptomate/react-components",
3
+ "description": "",
4
+ "version": "0.0.1",
5
+ "type": "module",
6
+ "main": "./dist/components.umd.js",
7
+ "module": "./dist/components.es.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/components.es.js",
13
+ "require": "./dist/components.umd.js"
14
+ },
15
+ "./dist/style.css": "./dist/style.css"
16
+ },
17
+ "files": [
18
+ "dist"
19
+ ],
20
+ "scripts": {
21
+ "dev": "vite",
22
+ "build": "tsc && vite build && npm run build:styles",
23
+ "build:styles": "postcss ./src/tailwind/theme.css -o ./dist/style.css",
24
+ "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
25
+ "preview": "vite preview"
26
+ },
27
+ "peerDependencies": {
28
+ "@types/react": "*",
29
+ "@types/react-dom": "*",
30
+ "react": "^16.8 || ^17.0 || ^18.0",
31
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
32
+ },
33
+ "dependencies": {
34
+ "@radix-ui/react-dropdown-menu": "2.0.5",
35
+ "@radix-ui/react-radio-group": "1.1.3",
36
+ "@radix-ui/react-select": "1.2.2",
37
+ "@radix-ui/react-toast": "1.1.4",
38
+ "@types/uuid": "9.0.3",
39
+ "autoprefixer": "10.4.15",
40
+ "lucide-react": "0.274.0",
41
+ "tailwind-merge": "1.14.0",
42
+ "tailwindcss": "3.3.3",
43
+ "tailwindcss-animate": "1.0.7",
44
+ "uuid": "9.0.0",
45
+ "vite-plugin-dts": "3.5.3"
46
+ },
47
+ "devDependencies": {
48
+ "@types/react": "18.2.15",
49
+ "@types/react-dom": "18.2.7",
50
+ "@typescript-eslint/eslint-plugin": "6.0.0",
51
+ "@typescript-eslint/parser": "6.0.0",
52
+ "@vitejs/plugin-react": "4.0.4",
53
+ "@vitejs/plugin-react-swc": "3.3.2",
54
+ "eslint": "8.45.0",
55
+ "eslint-plugin-react-hooks": "4.6.0",
56
+ "eslint-plugin-react-refresh": "0.4.3",
57
+ "postcss": "8.4.29",
58
+ "postcss-cli": "10.1.0",
59
+ "typescript": "5.0.2",
60
+ "vite": "4.4.5",
61
+ "vitest": "0.34.3"
62
+ },
63
+ "directories": {
64
+ "lib": "lib"
65
+ },
66
+ "repository": {
67
+ "type": "git",
68
+ "url": "git+https://gitlab.com/crypto-mate/apps/frontend/components.git"
69
+ },
70
+ "author": "",
71
+ "license": "ISC",
72
+ "bugs": {
73
+ "url": "https://gitlab.com/crypto-mate/apps/frontend/components/issues"
74
+ },
75
+ "homepage": "https://gitlab.com/crypto-mate/apps/frontend/components#readme"
76
+ }