ydb-ui-components 1.0.1 → 1.1.2

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/CHANGELOG.md ADDED
@@ -0,0 +1,20 @@
1
+ # Changelog
2
+
3
+ ### [1.1.2](https://github.com/ydb-platform/ydb-ui-components/compare/v1.1.1...v1.1.2) (2022-05-19)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * move react-treeview to prod deps ([#5](https://github.com/ydb-platform/ydb-ui-components/issues/5)) ([04d307b](https://github.com/ydb-platform/ydb-ui-components/commit/04d307b226b8b0d7bdaf58542df8d214fb49acce))
9
+ * @yandex-cloud/browserslist-config as peer dependency ([c3b48a7](https://github.com/ydb-platform/ydb-ui-components/commit/c3b48a7ea0370c854fb68b1e1fc12541e8a6494e))
10
+ * use provided root path ([203abd1](https://github.com/ydb-platform/ydb-ui-components/commit/203abd1892ad1e8c8c4555b06b99aa41ff01ab01))
11
+ * include i18n files ([8363de6](https://github.com/ydb-platform/ydb-ui-components/commit/8363de686cbad9e10753b47a62e7917610dcc84d))
12
+
13
+ ### [1.1.1](https://www.github.com/ydb-platform/ydb-ui-components/compare/v1.1.0...v1.1.1) (2022-05-13)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * fix package ([67b3b0e](https://www.github.com/ydb-platform/ydb-ui-components/commit/67b3b0e3c2678452847ca3b1489be11fc73ea6c2))
19
+
20
+ ## 1.1.0 (2022-04-18)
@@ -45,7 +45,7 @@ function NavigationTree(_ref) {
45
45
  }, /*#__PURE__*/_react.default.createElement(_NavigationTreeDirectory.NavigationTreeDirectory, {
46
46
  state: state,
47
47
  dispatch: dispatch,
48
- path: "",
48
+ path: rootState.path,
49
49
  fetchPath: fetchPath,
50
50
  activePath: activePath,
51
51
  onItemActivate: onActivePathUpdate,
@@ -0,0 +1,4 @@
1
+ {
2
+ "label_error": "Error",
3
+ "label_empty": "No data"
4
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "label_error": "Ошибка",
3
+ "label_empty": "Нет данных"
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ydb-ui-components",
3
- "version": "1.0.1",
3
+ "version": "1.1.2",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "main": "build/index.js",
@@ -16,16 +16,23 @@
16
16
  "clean": "gulp clean",
17
17
  "build": "gulp",
18
18
  "test": "echo \"Error: no test specified\" && exit 0",
19
- "start": "start-storybook -p 7002"
19
+ "lint:js": "eslint --ext .js,.jsx,.ts,.tsx .",
20
+ "lint:styles": "stylelint 'src/**/*.scss'",
21
+ "lint": "run-p lint:*",
22
+ "start": "start-storybook -p 7002",
23
+ "prepublishOnly": "npm run build"
20
24
  },
21
25
  "dependencies": {
22
- "bem-cn-lite": "^4.1.0"
26
+ "bem-cn-lite": "^4.1.0",
27
+ "react-treeview": "^0.4.7"
23
28
  },
24
29
  "devDependencies": {
25
30
  "@babel/core": "^7.17.8",
26
31
  "@babel/preset-env": "^7.16.11",
27
32
  "@babel/preset-react": "^7.16.7",
28
33
  "@babel/preset-typescript": "^7.16.7",
34
+ "@commitlint/cli": "^16.2.3",
35
+ "@commitlint/config-conventional": "^16.2.1",
29
36
  "@storybook/addon-essentials": "^6.4.19",
30
37
  "@storybook/preset-scss": "^1.0.3",
31
38
  "@storybook/react": "^6.4.19",
@@ -45,11 +52,11 @@
45
52
  "gulp-dart-sass": "^1.0.2",
46
53
  "gulp-replace": "^1.1.3",
47
54
  "gulp-typescript": "^6.0.0-alpha.1",
55
+ "npm-run-all": "^4.1.5",
48
56
  "prettier": "^2.5.1",
49
57
  "react": "^16.14.0",
50
58
  "react-docgen-typescript": "^2.2.2",
51
59
  "react-dom": "^16.14.0",
52
- "react-treeview": "^0.4.7",
53
60
  "rimraf": "^3.0.2",
54
61
  "sass": "^1.49.9",
55
62
  "sass-loader": "^10.2.1",
@@ -58,6 +65,7 @@
58
65
  "typescript": "^4.6.2"
59
66
  },
60
67
  "peerDependencies": {
68
+ "@yandex-cloud/browserslist-config": "^1.0.1",
61
69
  "@yandex-cloud/i18n": "^0.4.0",
62
70
  "react": "^16.0.0",
63
71
  "react-dom": "^16.0.0"