@marcusjonsson2/mcui 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/LICENSE +21 -0
- package/README.md +176 -0
- package/dist/components/Accordion/McAccordion.d.ts +12 -0
- package/dist/components/Alert/McAlert.d.ts +13 -0
- package/dist/components/Avatar/McAvatar.d.ts +14 -0
- package/dist/components/Badge/McBadge.d.ts +10 -0
- package/dist/components/Button/McButton.d.ts +11 -0
- package/dist/components/Card/McCard.d.ts +17 -0
- package/dist/components/Checkbox/McCheckbox.d.ts +22 -0
- package/dist/components/Dropdown/McDropdown.d.ts +23 -0
- package/dist/components/Input/McInput.d.ts +11 -0
- package/dist/components/Modal/McModal.d.ts +19 -0
- package/dist/components/Pagination/McPagination.d.ts +12 -0
- package/dist/components/Select/McSelect.d.ts +28 -0
- package/dist/components/Sidepanel/McSidepanel.d.ts +17 -0
- package/dist/components/Skeleton/McSkeleton.d.ts +20 -0
- package/dist/components/Stepper/McStepper.d.ts +17 -0
- package/dist/components/Switch/McSwitch.d.ts +32 -0
- package/dist/components/Tabs/McTabs.d.ts +44 -0
- package/dist/components/Textarea/McTextarea.d.ts +10 -0
- package/dist/components/Toast/McToast.d.ts +8 -0
- package/dist/components/Toast/McToastContext.d.ts +22 -0
- package/dist/components/Toast/useToast.d.ts +16 -0
- package/dist/components/Tooltip/McTooltip.d.ts +33 -0
- package/dist/components/shared/useFieldIds.d.ts +8 -0
- package/dist/hooks/useFocusTrap.d.ts +14 -0
- package/dist/index.d.ts +23 -0
- package/dist/mcui.css +1 -0
- package/dist/mcui.js +5200 -0
- package/package.json +93 -0
package/package.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@marcusjonsson2/mcui",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Minimal React component library - Tailwind CSS, dark-mode first, WCAG 2.1 compliant.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/mcui.js",
|
|
11
|
+
"types": "./dist/index.d.ts"
|
|
12
|
+
},
|
|
13
|
+
"./style.css": "./dist/mcui.css"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"README.md",
|
|
18
|
+
"LICENSE"
|
|
19
|
+
],
|
|
20
|
+
"engines": {
|
|
21
|
+
"node": ">=18"
|
|
22
|
+
},
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"access": "public"
|
|
25
|
+
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@radix-ui/react-checkbox": "^1.3.3",
|
|
28
|
+
"@radix-ui/react-select": "^2.2.6",
|
|
29
|
+
"@radix-ui/react-switch": "^1.2.6"
|
|
30
|
+
},
|
|
31
|
+
"peerDependencies": {
|
|
32
|
+
"react": "^18 || ^19",
|
|
33
|
+
"react-dom": "^18 || ^19",
|
|
34
|
+
"framer-motion": "^12",
|
|
35
|
+
"tailwindcss": "^4",
|
|
36
|
+
"lucide-react": "^0.577.0"
|
|
37
|
+
},
|
|
38
|
+
"peerDependenciesMeta": {
|
|
39
|
+
"framer-motion": {
|
|
40
|
+
"optional": true
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"scripts": {
|
|
44
|
+
"dev": "vite",
|
|
45
|
+
"build": "tsc -b && vite build",
|
|
46
|
+
"prepare": "npm run build",
|
|
47
|
+
"lint": "eslint .",
|
|
48
|
+
"preview": "vite preview",
|
|
49
|
+
"storybook": "storybook dev -p 6006",
|
|
50
|
+
"build-storybook": "storybook build"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@chromatic-com/storybook": "^5.0.2",
|
|
54
|
+
"@eslint/js": "^9.39.1",
|
|
55
|
+
"@storybook/addon-a11y": "^10.3.1",
|
|
56
|
+
"@storybook/addon-docs": "^10.3.1",
|
|
57
|
+
"@storybook/addon-onboarding": "^10.3.1",
|
|
58
|
+
"@storybook/addon-vitest": "^10.3.1",
|
|
59
|
+
"@storybook/react-vite": "^10.3.1",
|
|
60
|
+
"@tailwindcss/vite": "^4.2.1",
|
|
61
|
+
"@types/node": "^24.10.1",
|
|
62
|
+
"@types/react": "^19.2.7",
|
|
63
|
+
"@types/react-dom": "^19.2.3",
|
|
64
|
+
"@vitejs/plugin-react": "^5.1.1",
|
|
65
|
+
"@vitest/browser-playwright": "^4.0.18",
|
|
66
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
67
|
+
"autoprefixer": "^10.4.27",
|
|
68
|
+
"eslint": "^9.39.1",
|
|
69
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
70
|
+
"eslint-plugin-react-refresh": "^0.4.24",
|
|
71
|
+
"eslint-plugin-storybook": "^10.3.1",
|
|
72
|
+
"framer-motion": "^12.0.0",
|
|
73
|
+
"globals": "^16.5.0",
|
|
74
|
+
"lucide-react": "^0.577.0",
|
|
75
|
+
"playwright": "^1.58.2",
|
|
76
|
+
"postcss": "^8.5.8",
|
|
77
|
+
"storybook": "^10.3.1",
|
|
78
|
+
"tailwindcss": "^4.2.1",
|
|
79
|
+
"typescript": "~5.9.3",
|
|
80
|
+
"typescript-eslint": "^8.48.0",
|
|
81
|
+
"vite": "^7.3.1",
|
|
82
|
+
"vite-plugin-dts": "^4.5.4",
|
|
83
|
+
"vitest": "^4.0.18"
|
|
84
|
+
},
|
|
85
|
+
"keywords": [
|
|
86
|
+
"react",
|
|
87
|
+
"components",
|
|
88
|
+
"tailwind",
|
|
89
|
+
"ui",
|
|
90
|
+
"design-system",
|
|
91
|
+
"accessible"
|
|
92
|
+
]
|
|
93
|
+
}
|