@fracui/styleguide 0.0.0-stage → 0.1.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.
- package/README.md +325 -2
- package/dist/components/accordion.d.ts +19 -0
- package/dist/components/alert-dialog.d.ts +20 -0
- package/dist/components/alert.d.ts +8 -0
- package/dist/components/avatar.d.ts +36 -0
- package/dist/components/badge.d.ts +19 -0
- package/dist/components/breadcrumb.d.ts +35 -0
- package/dist/components/button-switch.d.ts +16 -0
- package/dist/components/button.d.ts +31 -0
- package/dist/components/calendar.d.ts +26 -0
- package/dist/components/card.d.ts +23 -0
- package/dist/components/checkbox.d.ts +16 -0
- package/dist/components/context-menu.d.ts +32 -0
- package/dist/components/data-table.d.ts +28 -0
- package/dist/components/date-picker.d.ts +16 -0
- package/dist/components/dialog.d.ts +36 -0
- package/dist/components/dropdown-menu.d.ts +39 -0
- package/dist/components/empty.d.ts +25 -0
- package/dist/components/fab.d.ts +26 -0
- package/dist/components/form-field.d.ts +35 -0
- package/dist/components/input.d.ts +29 -0
- package/dist/components/label.d.ts +5 -0
- package/dist/components/marker.d.ts +42 -0
- package/dist/components/model-legend.d.ts +48 -0
- package/dist/components/monitoring-status.d.ts +24 -0
- package/dist/components/navbar.d.ts +27 -0
- package/dist/components/pagination.d.ts +39 -0
- package/dist/components/password-input.d.ts +24 -0
- package/dist/components/player.d.ts +27 -0
- package/dist/components/popover.d.ts +21 -0
- package/dist/components/progress.d.ts +10 -0
- package/dist/components/radio-group.d.ts +24 -0
- package/dist/components/scroll-area.d.ts +11 -0
- package/dist/components/search-bar.d.ts +26 -0
- package/dist/components/select.d.ts +27 -0
- package/dist/components/separator.d.ts +12 -0
- package/dist/components/sheet.d.ts +42 -0
- package/dist/components/sidebar.d.ts +52 -0
- package/dist/components/sonner.d.ts +21 -0
- package/dist/components/spinner.d.ts +16 -0
- package/dist/components/switch.d.ts +12 -0
- package/dist/components/table.d.ts +35 -0
- package/dist/components/tabs.d.ts +23 -0
- package/dist/components/tag.d.ts +51 -0
- package/dist/components/textarea.d.ts +11 -0
- package/dist/components/tooltip.d.ts +16 -0
- package/dist/fonts.css +33 -0
- package/dist/hooks/use-mobile.d.ts +2 -0
- package/dist/icons/create-icon.d.ts +21 -0
- package/dist/icons/icons.d.ts +401 -0
- package/dist/icons/index.d.ts +2 -0
- package/dist/icons-DIjjoCNK.js +3646 -0
- package/dist/icons-DIjjoCNK.js.map +1 -0
- package/dist/icons-DOPTdi6L.cjs +2 -0
- package/dist/icons-DOPTdi6L.cjs.map +1 -0
- package/dist/icons.cjs +2 -0
- package/dist/icons.cjs.map +1 -0
- package/dist/icons.js +201 -0
- package/dist/icons.js.map +1 -0
- package/dist/index.cjs +69 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +48 -0
- package/dist/index.js +15823 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/utils.d.ts +6 -0
- package/dist/logos/create-logo.d.ts +27 -0
- package/dist/styles.css +3 -0
- package/dist/system/jsx-runtime-shim.d.ts +39 -0
- package/dist/tailwind-preset.cjs +2 -0
- package/dist/tailwind-preset.cjs.map +1 -0
- package/dist/tailwind-preset.d.ts +3 -0
- package/dist/tailwind-preset.js +318 -0
- package/dist/tailwind-preset.js.map +1 -0
- package/dist/tokens/colors.d.ts +347 -0
- package/dist/tokens/elevation.d.ts +87 -0
- package/dist/tokens/grid.d.ts +170 -0
- package/dist/tokens/index.d.ts +5 -0
- package/dist/tokens/theme.d.ts +129 -0
- package/dist/tokens/typography.d.ts +213 -0
- package/dist/tokens.cjs +2 -0
- package/dist/tokens.cjs.map +1 -0
- package/dist/tokens.css +150 -0
- package/dist/tokens.js +577 -0
- package/dist/tokens.js.map +1 -0
- package/package.json +136 -4
package/package.json
CHANGED
|
@@ -1,6 +1,138 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fracui/styleguide",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Biblioteca de styleguide corporativa: componentes shadcn/ui, tokens de design e preset do Tailwind CSS para uso em múltiplos repositórios (single-spa).",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "UNLICENSED",
|
|
7
|
+
"sideEffects": [
|
|
8
|
+
"**/*.css"
|
|
9
|
+
],
|
|
10
|
+
"files": [
|
|
11
|
+
"dist"
|
|
12
|
+
],
|
|
13
|
+
"main": "./dist/index.cjs",
|
|
14
|
+
"module": "./dist/index.js",
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"import": "./dist/index.js",
|
|
20
|
+
"require": "./dist/index.cjs"
|
|
21
|
+
},
|
|
22
|
+
"./tailwind-preset": {
|
|
23
|
+
"types": "./dist/tailwind-preset.d.ts",
|
|
24
|
+
"import": "./dist/tailwind-preset.js",
|
|
25
|
+
"require": "./dist/tailwind-preset.cjs"
|
|
26
|
+
},
|
|
27
|
+
"./tokens": {
|
|
28
|
+
"types": "./dist/tokens/index.d.ts",
|
|
29
|
+
"import": "./dist/tokens.js",
|
|
30
|
+
"require": "./dist/tokens.cjs"
|
|
31
|
+
},
|
|
32
|
+
"./styles.css": "./dist/styles.css",
|
|
33
|
+
"./tokens.css": "./dist/tokens.css",
|
|
34
|
+
"./package.json": "./package.json",
|
|
35
|
+
"./icons": {
|
|
36
|
+
"types": "./dist/icons/index.d.ts",
|
|
37
|
+
"import": "./dist/icons.js",
|
|
38
|
+
"require": "./dist/icons.cjs"
|
|
39
|
+
},
|
|
40
|
+
"./fonts.css": "./dist/fonts.css"
|
|
41
|
+
},
|
|
42
|
+
"scripts": {
|
|
43
|
+
"dev": "vite",
|
|
44
|
+
"build": "tsc --noEmit -p tsconfig.build.json && vite build --config vite.lib.config.ts && tailwindcss -i src/styles/globals.css -o dist/styles.css --config tailwind.build.config.cjs --minify && node -e \"require('node:fs').copyFileSync('src/styles/fonts.css','dist/fonts.css');require('node:fs').copyFileSync('src/styles/tokens.css','dist/tokens.css')\"",
|
|
45
|
+
"build:system": "yarn build && vite build --config vite.system.config.ts",
|
|
46
|
+
"build:playground": "vite build --config vite.config.ts",
|
|
47
|
+
"typecheck": "tsc --noEmit",
|
|
48
|
+
"lint": "eslint src --ext .ts,.tsx",
|
|
49
|
+
"clean": "rimraf dist",
|
|
50
|
+
"prepublishOnly": "npm run clean && npm run build",
|
|
51
|
+
"storybook": "storybook dev -p 6006",
|
|
52
|
+
"build-storybook": "storybook build",
|
|
53
|
+
"icons:build": "node scripts/generate-icons.mjs",
|
|
54
|
+
"test:visual": "scripts/visual-test.sh",
|
|
55
|
+
"test:visual:update": "scripts/visual-test.sh --update",
|
|
56
|
+
"test:contrast": "node scripts/check-contrast.mjs",
|
|
57
|
+
"logos:build": "node scripts/generate-logos.mjs",
|
|
58
|
+
"test:exports": "node scripts/check-exports.mjs"
|
|
59
|
+
},
|
|
60
|
+
"peerDependencies": {
|
|
61
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
62
|
+
"react-dom": "^18.0.0 || ^19.0.0",
|
|
63
|
+
"tailwindcss": "^3.4.0"
|
|
64
|
+
},
|
|
65
|
+
"dependencies": {
|
|
66
|
+
"@fontsource/roboto": "5",
|
|
67
|
+
"@fontsource/rubik": "5",
|
|
68
|
+
"@radix-ui/react-accordion": "^1.2.1",
|
|
69
|
+
"@radix-ui/react-alert-dialog": "^1.1.2",
|
|
70
|
+
"@radix-ui/react-avatar": "^1.1.1",
|
|
71
|
+
"@radix-ui/react-checkbox": "^1.1.2",
|
|
72
|
+
"@radix-ui/react-context-menu": "^2.2.2",
|
|
73
|
+
"@radix-ui/react-dialog": "^1.1.2",
|
|
74
|
+
"@radix-ui/react-dropdown-menu": "^2.1.2",
|
|
75
|
+
"@radix-ui/react-label": "^2.1.0",
|
|
76
|
+
"@radix-ui/react-popover": "^1.1.2",
|
|
77
|
+
"@radix-ui/react-progress": "^1.1.0",
|
|
78
|
+
"@radix-ui/react-radio-group": "^1",
|
|
79
|
+
"@radix-ui/react-scroll-area": "^1.2.0",
|
|
80
|
+
"@radix-ui/react-select": "^2.1.2",
|
|
81
|
+
"@radix-ui/react-separator": "^1.1.0",
|
|
82
|
+
"@radix-ui/react-slot": "^1.1.0",
|
|
83
|
+
"@radix-ui/react-switch": "^1.1.1",
|
|
84
|
+
"@radix-ui/react-tabs": "^1.1.1",
|
|
85
|
+
"@radix-ui/react-toggle": "^1",
|
|
86
|
+
"@radix-ui/react-tooltip": "^1.1.4",
|
|
87
|
+
"@tanstack/react-table": "^8.20.5",
|
|
88
|
+
"class-variance-authority": "^0.7.0",
|
|
89
|
+
"clsx": "^2.1.1",
|
|
90
|
+
"date-fns": "^3.6.0",
|
|
91
|
+
"react-day-picker": "^8.10.1",
|
|
92
|
+
"sonner": "^1.7.0",
|
|
93
|
+
"tailwind-merge": "^2.5.4",
|
|
94
|
+
"tailwindcss-animate": "^1.0.7"
|
|
95
|
+
},
|
|
96
|
+
"devDependencies": {
|
|
97
|
+
"@storybook/addon-essentials": "^8.4.7",
|
|
98
|
+
"@storybook/react": "^8.4.7",
|
|
99
|
+
"@storybook/react-vite": "^8.4.7",
|
|
100
|
+
"@storybook/test-runner": "^0.21",
|
|
101
|
+
"@types/jest-image-snapshot": "^6",
|
|
102
|
+
"@types/node": "^22.9.0",
|
|
103
|
+
"@types/react": "^18.3.12",
|
|
104
|
+
"@types/react-dom": "^18.3.1",
|
|
105
|
+
"@typescript-eslint/eslint-plugin": "^8.13.0",
|
|
106
|
+
"@typescript-eslint/parser": "^8.13.0",
|
|
107
|
+
"@vitejs/plugin-react": "^4.3.3",
|
|
108
|
+
"autoprefixer": "^10.4.20",
|
|
109
|
+
"axe-playwright": "^2",
|
|
110
|
+
"concurrently": "^9",
|
|
111
|
+
"eslint": "^8.57.1",
|
|
112
|
+
"eslint-plugin-react-hooks": "^4.6.2",
|
|
113
|
+
"eslint-plugin-react-refresh": "^0.4.14",
|
|
114
|
+
"http-server": "^14",
|
|
115
|
+
"jest-image-snapshot": "^6",
|
|
116
|
+
"postcss": "^8.4.47",
|
|
117
|
+
"rimraf": "^6.0.1",
|
|
118
|
+
"storybook": "^8.4.7",
|
|
119
|
+
"tailwindcss": "^3.4.14",
|
|
120
|
+
"typescript": "^5.6.3",
|
|
121
|
+
"vite": "^5.4.10",
|
|
122
|
+
"vite-plugin-dts": "^4.3.0",
|
|
123
|
+
"wait-on": "^8"
|
|
124
|
+
},
|
|
125
|
+
"publishConfig": {
|
|
126
|
+
"access": "public",
|
|
127
|
+
"registry": "https://registry.npmjs.org/"
|
|
128
|
+
},
|
|
129
|
+
"keywords": [
|
|
130
|
+
"design-system",
|
|
131
|
+
"styleguide",
|
|
132
|
+
"shadcn",
|
|
133
|
+
"tailwindcss",
|
|
134
|
+
"react",
|
|
135
|
+
"single-spa",
|
|
136
|
+
"fracui"
|
|
137
|
+
]
|
|
138
|
+
}
|