@televet/kibble-ui 0.1.0-beta.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 +397 -0
- package/build/components/Button/index.d.ts +5 -0
- package/build/index.d.ts +4 -0
- package/build/index.es.js +13886 -0
- package/build/index.es.js.map +1 -0
- package/build/index.js +13740 -0
- package/build/index.js.map +1 -0
- package/build/providers/ThemeProvider/ThemeProvider.d.ts +5 -0
- package/build/providers/ThemeProvider/index.d.ts +5 -0
- package/build/theme/blur.d.ts +12 -0
- package/build/theme/borders.d.ts +15 -0
- package/build/theme/breakpoints.d.ts +9 -0
- package/build/theme/colors.d.ts +193 -0
- package/build/theme/fontSizes.d.ts +17 -0
- package/build/theme/fontWeights.d.ts +13 -0
- package/build/theme/fonts.d.ts +7 -0
- package/build/theme/index.d.ts +32 -0
- package/build/theme/letterSpacings.d.ts +17 -0
- package/build/theme/lineHeights.d.ts +19 -0
- package/build/theme/radii.d.ts +13 -0
- package/build/theme/shadows.d.ts +27 -0
- package/build/theme/sizes.d.ts +27 -0
- package/build/theme/space.d.ts +37 -0
- package/build/theme/theme.d.ts +3 -0
- package/build/theme/tokens/colors/colors.d.ts +190 -0
- package/build/theme/tokens/fonts/fonts.d.ts +6 -0
- package/build/theme/transition.d.ts +28 -0
- package/build/theme/zIndeces.d.ts +17 -0
- package/package.json +126 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const zIndices: TZIndices;
|
|
2
|
+
export declare type TZIndices = {
|
|
3
|
+
hide: number;
|
|
4
|
+
auto: string;
|
|
5
|
+
base: number;
|
|
6
|
+
docked: number;
|
|
7
|
+
dropdown: number;
|
|
8
|
+
sticky: number;
|
|
9
|
+
banner: number;
|
|
10
|
+
overlay: number;
|
|
11
|
+
modal: number;
|
|
12
|
+
popover: number;
|
|
13
|
+
skipLink: number;
|
|
14
|
+
toast: number;
|
|
15
|
+
tooltip: number;
|
|
16
|
+
};
|
|
17
|
+
export default zIndices;
|
package/package.json
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@televet/kibble-ui",
|
|
3
|
+
"version": "0.1.0-beta.1",
|
|
4
|
+
"description": "Kibble Design System by Televet",
|
|
5
|
+
"author": "TeleVet",
|
|
6
|
+
"main": "build/index.js",
|
|
7
|
+
"types": "build/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"build"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"test": "react-scripts test",
|
|
13
|
+
"eject": "react-scripts eject",
|
|
14
|
+
"build:lib": "npx rollup -c",
|
|
15
|
+
"fix:js": "npx eslint --fix ./src/",
|
|
16
|
+
"lint:js": "npx eslint ./src/",
|
|
17
|
+
"lint:style": "npx stylelint ./src/",
|
|
18
|
+
"fix:style": "npx stylelint ./src/ --fix",
|
|
19
|
+
"start": "start-storybook -p 6006 && npx rollup -c --watch",
|
|
20
|
+
"build:docs": "build-storybook -o docs",
|
|
21
|
+
"build": "npm run build:docs && npm run build:lib",
|
|
22
|
+
"start:localDev": "npx rollup -c --watch",
|
|
23
|
+
"prepare": "husky install"
|
|
24
|
+
},
|
|
25
|
+
"browserslist": {
|
|
26
|
+
"production": [
|
|
27
|
+
">0.2%",
|
|
28
|
+
"not dead",
|
|
29
|
+
"not op_mini all"
|
|
30
|
+
],
|
|
31
|
+
"development": [
|
|
32
|
+
"last 1 chrome version",
|
|
33
|
+
"last 1 firefox version",
|
|
34
|
+
"last 1 safari version"
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
"engines": {
|
|
38
|
+
"node": ">=10"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@babel/cli": "^7.15.4",
|
|
42
|
+
"@babel/core": "^7.15.5",
|
|
43
|
+
"@babel/eslint-parser": "^7.15.4",
|
|
44
|
+
"@babel/preset-env": "^7.15.0",
|
|
45
|
+
"@babel/preset-react": "^7.14.5",
|
|
46
|
+
"@babel/runtime": "^7.15.3",
|
|
47
|
+
"@chakra-ui/cli": "^1.9.0",
|
|
48
|
+
"@chakra-ui/icons": "^1.1.7",
|
|
49
|
+
"@chakra-ui/react": "^1.8.6",
|
|
50
|
+
"@chakra-ui/theme-tools": "^1.3.6",
|
|
51
|
+
"@chakra-ui/storybook-addon": "^1.0.3",
|
|
52
|
+
"@emotion/react": "^11.8.1",
|
|
53
|
+
"@emotion/styled": "^11.8.1",
|
|
54
|
+
"@rollup/plugin-babel": "^5.3.0",
|
|
55
|
+
"@rollup/plugin-commonjs": "^20.0.0",
|
|
56
|
+
"@rollup/plugin-node-resolve": "^13.0.4",
|
|
57
|
+
"@storybook/addon-actions": "6.4.1",
|
|
58
|
+
"@storybook/addon-docs": "^6.4.19",
|
|
59
|
+
"@storybook/addon-essentials": "6.4.19",
|
|
60
|
+
"@storybook/addon-links": "6.4.17",
|
|
61
|
+
"@storybook/node-logger": "6.4.19",
|
|
62
|
+
"@storybook/preset-create-react-app": "^3.2.0",
|
|
63
|
+
"@storybook/react": "^6.3.8",
|
|
64
|
+
"@testing-library/jest-dom": "^5.14.1",
|
|
65
|
+
"@testing-library/react": "^12.0.0",
|
|
66
|
+
"@testing-library/react-hooks": "^7.0.2",
|
|
67
|
+
"@testing-library/user-event": "^13.2.1",
|
|
68
|
+
"@types/styled-components": "^5.1.24",
|
|
69
|
+
"@typescript-eslint/eslint-plugin": "^4.29.0",
|
|
70
|
+
"@typescript-eslint/parser": "^4.29.0",
|
|
71
|
+
"autoprefixer": "^9.8.6",
|
|
72
|
+
"babel-eslint": "^10.1.0",
|
|
73
|
+
"eslint": "^7.32.0",
|
|
74
|
+
"eslint-config-airbnb": "^18.2.1",
|
|
75
|
+
"eslint-config-prettier": "^8.3.0",
|
|
76
|
+
"eslint-config-react-app": "^6.0.0",
|
|
77
|
+
"eslint-plugin-flowtype": "^5.10.0",
|
|
78
|
+
"eslint-plugin-fp": "^2.3.0",
|
|
79
|
+
"eslint-plugin-import": "^2.24.2",
|
|
80
|
+
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
81
|
+
"eslint-plugin-prettier": "^3.4.1",
|
|
82
|
+
"eslint-plugin-react": "^7.25.1",
|
|
83
|
+
"eslint-plugin-react-hooks": "^4.2.0",
|
|
84
|
+
"framer-motion": "^4.1.17",
|
|
85
|
+
"husky": "^7.0.2",
|
|
86
|
+
"lint-staged": "^11.1.2",
|
|
87
|
+
"npm-run-all": "^4.1.5",
|
|
88
|
+
"postcss-preset-env": "^6.7.0",
|
|
89
|
+
"prettier": "^2.3.2",
|
|
90
|
+
"prop-types": "^15.7.2",
|
|
91
|
+
"react-scripts": "^4.0.3",
|
|
92
|
+
"recursive-copy": "^2.0.13",
|
|
93
|
+
"rimraf": "^3.0.2",
|
|
94
|
+
"rollup": "^2.56.3",
|
|
95
|
+
"rollup-plugin-commonjs": "^10.1.0",
|
|
96
|
+
"rollup-plugin-eslint": "^7.0.0",
|
|
97
|
+
"rollup-plugin-filesize": "^9.1.1",
|
|
98
|
+
"rollup-plugin-includepaths": "^0.2.4",
|
|
99
|
+
"rollup-plugin-node-resolve": "^5.2.0",
|
|
100
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
101
|
+
"rollup-plugin-postcss": "^3.1.8",
|
|
102
|
+
"rollup-plugin-stylelint": "^1.0.0",
|
|
103
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
104
|
+
"rollup-plugin-typescript2": "^0.27.1",
|
|
105
|
+
"stylelint": "^13.13.1",
|
|
106
|
+
"stylelint-config-standard": "^22.0.0",
|
|
107
|
+
"stylelint-order": "^4.1.0"
|
|
108
|
+
},
|
|
109
|
+
"dependencies": {
|
|
110
|
+
"@types/jest": "^27.4.1",
|
|
111
|
+
"@types/node": "^17.0.21",
|
|
112
|
+
"@types/react": "^17.0.40",
|
|
113
|
+
"@types/react-dom": "^17.0.13",
|
|
114
|
+
"react": "^16.13.1",
|
|
115
|
+
"react-dom": "^16.13.1",
|
|
116
|
+
"styled-components": "^5.3.3",
|
|
117
|
+
"typescript": "^4.6.2"
|
|
118
|
+
},
|
|
119
|
+
"peerDependencies": {
|
|
120
|
+
"styled-components": ">=5.0.0",
|
|
121
|
+
"react-hook-form": ">=5.7.0",
|
|
122
|
+
"prop-types": ">=15.0.0",
|
|
123
|
+
"react": "^16.13.1",
|
|
124
|
+
"react-dom": "^16.13.1"
|
|
125
|
+
}
|
|
126
|
+
}
|