arco-clone-react 1.3.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.
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Design System Global Styles
3
+ *
4
+ * This file includes essential global styles for the design system,
5
+ * including font imports and base font configuration.
6
+ *
7
+ * Import this file in your application to ensure proper font rendering:
8
+ * import 'design-system-poc/styles/global.css'
9
+ */
10
+
11
+ /* Import Nunito Sans font from Google Fonts */
12
+ @import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
13
+
14
+ /* Base font configuration */
15
+ body {
16
+ font-family:
17
+ 'Nunito Sans',
18
+ -apple-system,
19
+ BlinkMacSystemFont,
20
+ 'Segoe UI',
21
+ Roboto,
22
+ 'Helvetica Neue',
23
+ Arial,
24
+ sans-serif;
25
+ font-size: 14px;
26
+ font-weight: 400;
27
+ line-height: 1.5;
28
+ -webkit-font-smoothing: antialiased;
29
+ -moz-osx-font-smoothing: grayscale;
30
+ }
package/package.json ADDED
@@ -0,0 +1,114 @@
1
+ {
2
+ "name": "arco-clone-react",
3
+ "version": "1.3.0",
4
+ "description": "A React component library and design system",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.mjs",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "import": "./dist/index.mjs",
11
+ "require": "./dist/index.js",
12
+ "types": "./dist/index.d.ts"
13
+ },
14
+ "./styles": "./dist/index.css",
15
+ "./styles/global.css": "./dist/styles/global.css"
16
+ },
17
+ "files": [
18
+ "dist"
19
+ ],
20
+ "scripts": {
21
+ "dev": "storybook dev -p 6006",
22
+ "build": "tsup",
23
+ "build:storybook": "storybook build",
24
+ "test": "vitest run",
25
+ "test:watch": "vitest",
26
+ "test:ui": "vitest --ui",
27
+ "test:e2e": "playwright test",
28
+ "test:e2e:ui": "playwright test --ui",
29
+ "lint": "eslint . --ext .ts,.tsx",
30
+ "lint:fix": "eslint . --ext .ts,.tsx --fix",
31
+ "format": "prettier --write \"src/**/*.{ts,tsx,css}\"",
32
+ "format:check": "prettier --check \"src/**/*.{ts,tsx,css}\"",
33
+ "typecheck": "tsc --noEmit",
34
+ "prepare": "husky",
35
+ "prepublishOnly": "npm run build",
36
+ "storybook": "storybook dev -p 6006",
37
+ "build-storybook": "storybook build"
38
+ },
39
+ "keywords": [
40
+ "react",
41
+ "components",
42
+ "design-system",
43
+ "ui-library"
44
+ ],
45
+ "author": "",
46
+ "license": "MIT",
47
+ "repository": {
48
+ "type": "git",
49
+ "url": "git+https://github.com/pjgoncalvez/design-system.git"
50
+ },
51
+ "bugs": {
52
+ "url": "https://github.com/pjgoncalvez/design-system/issues"
53
+ },
54
+ "homepage": "https://github.com/pjgoncalvez/design-system#readme",
55
+ "peerDependencies": {
56
+ "react": "^18.0.0",
57
+ "react-dom": "^18.0.0"
58
+ },
59
+ "devDependencies": {
60
+ "@chromatic-com/storybook": "^5.0.2",
61
+ "@commitlint/cli": "^20.5.0",
62
+ "@commitlint/config-conventional": "^20.5.0",
63
+ "@eslint/js": "^9.39.4",
64
+ "@playwright/test": "^1.58.2",
65
+ "@semantic-release/changelog": "^6.0.3",
66
+ "@semantic-release/git": "^10.0.1",
67
+ "@storybook/addon-a11y": "^10.3.1",
68
+ "@storybook/addon-docs": "^10.3.1",
69
+ "@storybook/addon-onboarding": "^10.3.1",
70
+ "@storybook/addon-vitest": "^10.3.1",
71
+ "@storybook/react-vite": "^10.3.1",
72
+ "@svgr/cli": "^8.1.0",
73
+ "@testing-library/jest-dom": "^6.9.1",
74
+ "@testing-library/react": "^16.3.2",
75
+ "@testing-library/user-event": "^14.6.1",
76
+ "@types/react": "^19.2.14",
77
+ "@types/react-dom": "^19.2.3",
78
+ "@typescript-eslint/eslint-plugin": "^8.57.1",
79
+ "@typescript-eslint/parser": "^8.57.1",
80
+ "@vitejs/plugin-react": "^6.0.1",
81
+ "@vitest/browser": "^3.2.4",
82
+ "@vitest/coverage-v8": "^3.2.4",
83
+ "@vitest/ui": "^3.2.4",
84
+ "eslint": "^9.39.4",
85
+ "eslint-plugin-react": "^7.37.5",
86
+ "eslint-plugin-react-hooks": "^7.0.1",
87
+ "eslint-plugin-react-refresh": "^0.5.2",
88
+ "eslint-plugin-storybook": "^10.3.1",
89
+ "glob": "^13.0.6",
90
+ "globals": "^17.4.0",
91
+ "globby": "^16.1.1",
92
+ "husky": "^9.1.7",
93
+ "jsdom": "^27.0.1",
94
+ "playwright": "^1.58.2",
95
+ "prettier": "^3.8.1",
96
+ "react": "^19.2.4",
97
+ "react-dom": "^19.2.4",
98
+ "semantic-release": "^24.2.9",
99
+ "storybook": "^10.3.1",
100
+ "tsup": "^8.5.1",
101
+ "typescript": "^5.9.3",
102
+ "typescript-eslint": "^8.57.1",
103
+ "vite": "^8.0.1",
104
+ "vitest": "^3.2.4"
105
+ },
106
+ "engines": {
107
+ "node": ">=18.0.0"
108
+ },
109
+ "eslintConfig": {
110
+ "extends": [
111
+ "plugin:storybook/recommended"
112
+ ]
113
+ }
114
+ }