gf-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.
- package/LICENSE +21 -0
- package/README.md +55 -0
- package/dist/globals.d.ts +12 -0
- package/dist/index.cjs.js +203 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +18874 -0
- package/dist/index.es.js.map +1 -0
- package/dist/style.css +1 -0
- package/package.json +58 -0
package/dist/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.gf-button{border-radius:var(--gf-radius-sm)}.gf-button-primary{background:var(--gf-color-button-primary)}.gf-card{border-radius:var(--gf-radius-sm);border-color:var(--gf-color-border-base)}.gf-card-default{background:var(--gf-color-bg-base)}.gf-card-grey{background:var(--gf-color-bg-tertiary)}.gf-card-debug{background:var(--gf-color-bg-debug)}.gf-metrics{min-width:226px}.gf-value-bold{font:var(--gf-header-h1)}.gf-cost-italic{font:var(--gf-label-md-italic);color:var(--gf-color-text-tertiary)}.gf-metrics-description{font:var(--gf-label-lg-default);color:var(--gf-color-text-secondary)}:root{--gf-color-bg-base: #FFFFFF;--gf-color-bg-tertiary: #F9FAFB;--gf-color-bg-debug: orange;--gf-color-primary-hover: #3858F2;--gf-color-button-primary: #152BEE;--gf-color-border-base: #EAECF0;--gf-color-text-primary: #1D2939;--gf-color-text-secondary: #475467;--gf-color-text-tertiary: #667085;--gf-radius-sm: 2px;--gf-radius-md: 4px;--gf-padding-sm: 8px;--gf-padding-md: 16px;--gf-font: Roboto, sans-serif;--gf-display-1: normal normal 600 48px/60px Roboto, sans-serif;--gf-header-h1: normal normal 600 38px/46px Roboto, sans-serif;--gf-header-h2: normal normal 600 30px/38px Roboto, sans-serif;--gf-header-h3: normal normal 600 24px/32px Roboto, sans-serif;--gf-header-h4: normal normal 500 20px/28px Roboto, sans-serif;--gf-header-h5: normal normal 500 16px/24px Roboto, sans-serif;--gf-label-xl-bold: normal normal 700 20px/28px Roboto, sans-serif;--gf-label-xl-default: normal normal 400 20px/28px Roboto, sans-serif;--gf-label-lg-bold: normal normal 700 16px/24px Roboto, sans-serif;--gf-label-lg-default: normal normal 400 16px/24px Roboto, sans-serif;--gf-label-md-bold: normal normal 700 14px/22px Roboto, sans-serif;--gf-label-md-default: normal normal 400 14px/22px Roboto, sans-serif;--gf-label-md-italic: normal italic 400 18px/34px Roboto, sans-serif;--gf-label-sm-bold: normal normal 700 12px/14px Roboto, sans-serif;--gf-label-sm-default: normal normal 400 12px/14px Roboto, sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.gf-full-width{width:100%}.gf-title-primary{font:var(--gf-header-h2);color:var(--gf-color-text-primary)}.gf-subtitle-primary{font:var(--gf-label-xl-default);color:var(--gf-color-text-primary)}.gf-title-secondary{font:var(--gf-header-h4);color:var(--gf-color-text-primary)}.gf-subtitle-secondary{font:var(--gf-label-lg-default);color:var(--gf-color-text-secondary)}.gf-description-2{column-count:2}.gf-description-3{column-count:3}.gf-description-4{column-count:4}.gf-description-body{font:var(--gf-label-lg-default);color:var(--gf-color-text-secondary)}
|
package/package.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "gf-components",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "geoFluxus library of React components",
|
|
6
|
+
"repository": "https://github.com/geoFluxus/gf-components.git",
|
|
7
|
+
"author": "Rui de Klerk <rvzk.mota@gmail.com>",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"type": "module",
|
|
10
|
+
"main": "dist/index.cjs.js",
|
|
11
|
+
"module": "dist/index.es.js",
|
|
12
|
+
"types": "dist/index.d.ts",
|
|
13
|
+
"files": [
|
|
14
|
+
"/dist"
|
|
15
|
+
],
|
|
16
|
+
"scripts": {
|
|
17
|
+
"format": "prettier --write --parser typescript '**/*.{ts,tsx}'",
|
|
18
|
+
"lint": "eslint . --ext .ts,.tsx --ignore-path .gitignore --fix",
|
|
19
|
+
"build": "vite build",
|
|
20
|
+
"prepare": "yarn run build",
|
|
21
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
22
|
+
"storybook": "storybook dev -p 6006",
|
|
23
|
+
"build-storybook": "storybook build"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@chromatic-com/storybook": "^1.7.0",
|
|
27
|
+
"@storybook/addon-essentials": "^8.2.9",
|
|
28
|
+
"@storybook/addon-interactions": "^8.2.9",
|
|
29
|
+
"@storybook/addon-links": "^8.2.9",
|
|
30
|
+
"@storybook/addon-onboarding": "^8.2.9",
|
|
31
|
+
"@storybook/blocks": "^8.2.9",
|
|
32
|
+
"@storybook/react": "^8.2.9",
|
|
33
|
+
"@storybook/react-vite": "^8.2.9",
|
|
34
|
+
"@storybook/test": "^8.2.9",
|
|
35
|
+
"@types/react": "^18.3.4",
|
|
36
|
+
"@typescript-eslint/eslint-plugin": "^8.3.0",
|
|
37
|
+
"@typescript-eslint/parser": "^8.3.0",
|
|
38
|
+
"eslint": "^9.9.1",
|
|
39
|
+
"eslint-config-prettier": "^9.1.0",
|
|
40
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
41
|
+
"eslint-plugin-react": "^7.35.0",
|
|
42
|
+
"eslint-plugin-react-hooks": "^4.6.2",
|
|
43
|
+
"eslint-plugin-storybook": "^0.8.0",
|
|
44
|
+
"prettier": "^3.3.3",
|
|
45
|
+
"storybook": "^8.2.9",
|
|
46
|
+
"typescript": "^5.5.4",
|
|
47
|
+
"vite": "^5.4.2",
|
|
48
|
+
"vite-plugin-dts": "^4.0.3"
|
|
49
|
+
},
|
|
50
|
+
"peerDependencies": {
|
|
51
|
+
"react": "^8.3.1",
|
|
52
|
+
"react-dom": "^18.3.1"
|
|
53
|
+
},
|
|
54
|
+
"dependencies": {
|
|
55
|
+
"antd": "^5.20.3",
|
|
56
|
+
"classnames": "^2.5.1"
|
|
57
|
+
}
|
|
58
|
+
}
|