profinansy-ui-lib 2.0.65 → 2.0.67

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.
@@ -59,6 +59,7 @@ export declare const palette: {
59
59
  accentActive: string;
60
60
  field: string;
61
61
  secondaryAlphaActive: string;
62
+ secondaryAlphaHover: string;
62
63
  listHover: string;
63
64
  notificationHover: string;
64
65
  notificationHoverError: string;
@@ -143,6 +144,7 @@ export declare const palette: {
143
144
  accentActive: string;
144
145
  field: string;
145
146
  secondaryAlphaActive: string;
147
+ secondaryAlphaHover: string;
146
148
  listHover: string;
147
149
  notificationHover: string;
148
150
  notificationHoverError: string;
@@ -0,0 +1,2 @@
1
+ import { palette } from './theme.const';
2
+ export type TTheme = (typeof palette)['light'];
package/package.json CHANGED
@@ -1,65 +1,69 @@
1
- {
2
- "name": "profinansy-ui-lib",
3
- "version": "2.0.65",
4
- "main": "./dist/index.js",
5
- "license": "MIT",
6
- "devDependencies": {
7
- "@babel/preset-env": "^7.22.5",
8
- "@babel/preset-react": "^7.22.5",
9
- "@babel/preset-typescript": "^7.22.5",
10
- "@storybook/addon-essentials": "7.0.24",
11
- "@storybook/addon-interactions": "7.0.24",
12
- "@storybook/addon-links": "7.0.24",
13
- "@storybook/blocks": "7.0.24",
14
- "@storybook/react": "7.0.24",
15
- "@storybook/react-webpack5": "7.0.24",
16
- "@storybook/testing-library": "0.0.14-next.2",
17
- "@svgr/webpack": "^8.1.0",
18
- "@types/file-loader": "^5.0.1",
19
- "@types/react": "^18.0.27",
20
- "@types/styled-components": "^5.1.26",
21
- "@typescript-eslint/eslint-plugin": "^6.2.0",
22
- "@typescript-eslint/parser": "^6.2.0",
23
- "classnames": "^2.3.2",
24
- "css-loader": "^6.7.3",
25
- "date-fns": "^2.30.0",
26
- "eslint": "^8.45.0",
27
- "eslint-plugin-react": "^7.33.0",
28
- "file-loader": "^6.2.0",
29
- "husky": "^8.0.3",
30
- "prettier": "2.8.8",
31
- "prop-types": "15.8.1",
32
- "react": "18.2.0",
33
- "react-dom": "18.2.0",
34
- "sass": "^1.57.1",
35
- "sass-loader": "^13.2.0",
36
- "storybook": "7.0.24",
37
- "style-loader": "^3.3.1",
38
- "styled-components": "^5.3.6",
39
- "ts-loader": "^9.4.2",
40
- "tsconfig-paths-webpack-plugin": "^4.1.0",
41
- "typescript": "^4.9.4",
42
- "webpack": "^5.75.0",
43
- "webpack-cli": "^5.0.1"
44
- },
45
- "scripts": {
46
- "build": "webpack",
47
- "pub": "webpack && npm version patch && npm publish",
48
- "lint": "eslint .",
49
- "lint:fix": "eslint --fix",
50
- "types": "tsc",
51
- "storybook": "storybook dev -p 6006",
52
- "build-storybook": "storybook build",
53
- "icons:story": "node .\\generateIconsStories.ts",
54
- "prepare": "husky install",
55
- "checks:pre-commit": "yarn lint"
56
- },
57
- "peerDependencies": {
58
- "react": "^17",
59
- "styled-components": "^5.3.6"
60
- },
61
- "files": [
62
- "dist"
63
- ],
64
- "dependencies": {}
65
- }
1
+ {
2
+ "name": "profinansy-ui-lib",
3
+ "version": "2.0.67",
4
+ "main": "./dist/index.js",
5
+ "license": "MIT",
6
+ "devDependencies": {
7
+ "@babel/preset-env": "^7.22.5",
8
+ "@babel/preset-react": "^7.22.5",
9
+ "@babel/preset-typescript": "^7.22.5",
10
+ "@storybook/addon-essentials": "7.0.24",
11
+ "@storybook/addon-interactions": "7.0.24",
12
+ "@storybook/addon-links": "7.0.24",
13
+ "@storybook/blocks": "7.0.24",
14
+ "@storybook/react": "7.0.24",
15
+ "@storybook/react-webpack5": "7.0.24",
16
+ "@storybook/testing-library": "0.0.14-next.2",
17
+ "@svgr/webpack": "^8.1.0",
18
+ "@types/file-loader": "^5.0.1",
19
+ "@types/react": "^18.0.27",
20
+ "@types/styled-components": "^5.1.26",
21
+ "@typescript-eslint/eslint-plugin": "^6.2.0",
22
+ "@typescript-eslint/parser": "^6.2.0",
23
+ "chromatic": "^7.2.0",
24
+ "classnames": "^2.3.2",
25
+ "css-loader": "^6.7.3",
26
+ "date-fns": "^2.30.0",
27
+ "eslint": "^8.45.0",
28
+ "eslint-plugin-react": "^7.33.0",
29
+ "file-loader": "^6.2.0",
30
+ "husky": "^8.0.3",
31
+ "prettier": "2.8.8",
32
+ "prop-types": "15.8.1",
33
+ "react": "18.2.0",
34
+ "react-dom": "18.2.0",
35
+ "sass": "^1.57.1",
36
+ "sass-loader": "^13.2.0",
37
+ "storybook": "7.0.24",
38
+ "style-loader": "^3.3.1",
39
+ "styled-components": "^5.3.6",
40
+ "ts-loader": "^9.4.2",
41
+ "tsconfig-paths-webpack-plugin": "^4.1.0",
42
+ "typescript": "^4.9.4",
43
+ "webpack": "^5.75.0",
44
+ "webpack-cli": "^5.0.1"
45
+ },
46
+ "scripts": {
47
+ "build": "webpack",
48
+ "pub": "webpack && npm version patch && npm publish",
49
+ "lint": "eslint .",
50
+ "lint:fix": "eslint --fix",
51
+ "types": "tsc",
52
+ "storybook": "storybook dev -p 6006",
53
+ "build-storybook": "storybook build",
54
+ "icons:story": "node .\\generateIconsStories.ts",
55
+ "prepare": "husky install",
56
+ "checks:pre-commit": "yarn lint",
57
+ "chromatic": "npx chromatic --project-token=chpt_d128c44de33605c --auto-accept-changes"
58
+ },
59
+ "peerDependencies": {
60
+ "react": "^17",
61
+ "styled-components": "^5.3.6"
62
+ },
63
+ "files": [
64
+ "dist"
65
+ ],
66
+ "dependencies": {},
67
+ "readme": "ERROR: No README data found!",
68
+ "_id": "profinansy-ui-lib@2.0.66"
69
+ }
package/readme.md CHANGED
@@ -28,4 +28,9 @@ ThemeProvider. Через хук `useTheme` вы можете получить
28
28
  от библиотек, которые вы используете для кастомизации.
29
29
 
30
30
  Чтобы компоненты из папки `uikit` также имели типизацию они должны быть все обренуты
31
- в ThemeProvider из `styled-components`
31
+ в ThemeProvider из `styled-components`
32
+
33
+ ## Storybook
34
+ Для всех компонентов используется сторибук. Все изменения можно смотреть там.
35
+ Сторибук деплоится на chromatic. Для того, что задеплоить ваши изменения, сделайте коммит в гит,
36
+ а потом выполните команду ``yarn chromatic``