@jetbrains/ring-ui 6.0.1 → 6.0.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.
@@ -66,7 +66,7 @@ export declare function linkHOC<P extends ClickableLinkProps>(ComposedComponent:
66
66
  inherit: PropTypes.Requireable<boolean>;
67
67
  pseudo: PropTypes.Requireable<boolean>;
68
68
  hover: PropTypes.Requireable<boolean>;
69
- children: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike | ((...args: any[]) => any)>>;
69
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
70
70
  'data-test': PropTypes.Requireable<string>;
71
71
  href: PropTypes.Requireable<string>;
72
72
  onPlainLeftClick: PropTypes.Requireable<(...args: any[]) => any>;
@@ -127,7 +127,7 @@ declare const _default: {
127
127
  inherit: PropTypes.Requireable<boolean>;
128
128
  pseudo: PropTypes.Requireable<boolean>;
129
129
  hover: PropTypes.Requireable<boolean>;
130
- children: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike | ((...args: any[]) => any)>>;
130
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
131
131
  'data-test': PropTypes.Requireable<string>;
132
132
  href: PropTypes.Requireable<string>;
133
133
  onPlainLeftClick: PropTypes.Requireable<(...args: any[]) => any>;
@@ -13,7 +13,7 @@ export function linkHOC(ComposedComponent) {
13
13
  inherit: PropTypes.bool,
14
14
  pseudo: PropTypes.bool,
15
15
  hover: PropTypes.bool,
16
- children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),
16
+ children: PropTypes.node,
17
17
  'data-test': PropTypes.string,
18
18
  href: PropTypes.string,
19
19
  onPlainLeftClick: PropTypes.func,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetbrains/ring-ui",
3
- "version": "6.0.1",
3
+ "version": "6.0.2",
4
4
  "description": "JetBrains UI library",
5
5
  "author": "JetBrains",
6
6
  "license": "Apache-2.0",
@@ -87,17 +87,17 @@
87
87
  "@rollup/plugin-node-resolve": "^15.2.3",
88
88
  "@rollup/plugin-replace": "^5.0.5",
89
89
  "@storybook/addon-a11y": "7.6.4",
90
- "@storybook/addon-docs": "7.6.3",
91
- "@storybook/addon-essentials": "7.6.3",
90
+ "@storybook/addon-docs": "7.6.4",
91
+ "@storybook/addon-essentials": "7.6.6",
92
92
  "@storybook/addon-storyshots": "7.6.3",
93
- "@storybook/addon-storyshots-puppeteer": "7.6.3",
94
- "@storybook/addon-storysource": "7.6.3",
95
- "@storybook/addons": "7.6.3",
93
+ "@storybook/addon-storyshots-puppeteer": "7.6.5",
94
+ "@storybook/addon-storysource": "7.6.5",
95
+ "@storybook/addons": "7.6.5",
96
96
  "@storybook/preview-api": "7.6.3",
97
97
  "@storybook/react": "7.6.3",
98
- "@storybook/react-webpack5": "7.6.3",
99
- "@storybook/source-loader": "7.6.3",
100
- "@storybook/theming": "7.6.3",
98
+ "@storybook/react-webpack5": "7.6.5",
99
+ "@storybook/source-loader": "7.6.5",
100
+ "@storybook/theming": "7.6.5",
101
101
  "@testing-library/react": "^14.1.2",
102
102
  "@testing-library/user-event": "^14.5.1",
103
103
  "@types/chai": "^4.3.11",
@@ -111,23 +111,23 @@
111
111
  "@types/sinon": "^17.0.2",
112
112
  "@types/sinon-chai": "^3.2.12",
113
113
  "@typescript-eslint/eslint-plugin": "^6.14.0",
114
- "@typescript-eslint/parser": "^6.13.2",
114
+ "@typescript-eslint/parser": "^6.15.0",
115
115
  "@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
116
116
  "acorn": "^8.11.2",
117
117
  "babel-plugin-require-context-hook": "^1.0.0",
118
- "caniuse-lite": "^1.0.30001568",
118
+ "caniuse-lite": "^1.0.30001570",
119
119
  "chai": "^4.3.10",
120
120
  "chai-as-promised": "^7.1.1",
121
121
  "chai-dom": "^1.10.0",
122
122
  "chai-enzyme": "1.0.0-beta.1",
123
123
  "cheerio": "^1.0.0-rc.12",
124
- "core-js": "^3.33.3",
124
+ "core-js": "^3.34.0",
125
125
  "cpy-cli": "^3.1.1",
126
126
  "enzyme": "^3.11.0",
127
- "eslint": "^8.55.0",
127
+ "eslint": "^8.56.0",
128
128
  "eslint-import-resolver-webpack": "^0.13.8",
129
129
  "eslint-plugin-bdd": "^2.1.1",
130
- "eslint-plugin-import": "^2.29.0",
130
+ "eslint-plugin-import": "^2.29.1",
131
131
  "eslint-plugin-jsx-a11y": "^6.8.0",
132
132
  "eslint-plugin-react": "^7.33.2",
133
133
  "eslint-plugin-storybook": "^0.6.15",
@@ -147,17 +147,17 @@
147
147
  "karma-teamcity-reporter": "^2.0.0",
148
148
  "karma-webpack": "^5.0.0",
149
149
  "lint-staged": "^14.0.1",
150
- "markdown-it": "^13.0.2",
150
+ "markdown-it": "^14.0.0",
151
151
  "merge-options": "^3.0.4",
152
152
  "mocha": "^10.2.0",
153
153
  "pinst": "^3.0.0",
154
- "prettier": "^3.1.0",
154
+ "prettier": "^3.1.1",
155
155
  "puppeteer": "^21.2.1",
156
156
  "raw-loader": "^4.0.2",
157
157
  "react": "^18.2.0",
158
158
  "react-dom": "^18.2.0",
159
159
  "react-test-renderer": "^18.2.0",
160
- "regenerator-runtime": "^0.14.0",
160
+ "regenerator-runtime": "^0.14.1",
161
161
  "rimraf": "^5.0.5",
162
162
  "rollup": "^3.29.4",
163
163
  "rollup-plugin-clear": "^2.0.7",
@@ -165,7 +165,7 @@
165
165
  "sinon": "^17.0.1",
166
166
  "sinon-chai": "^3.7.0",
167
167
  "storage-mock": "^2.1.0",
168
- "storybook": "^7.6.3",
168
+ "storybook": "^7.6.5",
169
169
  "storybook-addon-themes": "^6.1.0",
170
170
  "stylelint": "^15.11.0",
171
171
  "svg-inline-loader": "^0.8.2",