@jetbrains/ring-ui 7.0.35 → 7.0.36

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.
@@ -45,6 +45,9 @@ export type ButtonProps = ButtonButtonProps | ButtonLinkProps;
45
45
  * A component for displaying variously styled buttons.
46
46
  */
47
47
  export declare class Button extends PureComponent<ButtonProps> {
48
+ /**
49
+ * @deprecated Use icons with appropriate intrinsic sizes instead
50
+ */
48
51
  static IconSize: typeof Size;
49
52
  static contextType: React.Context<ControlsHeight>;
50
53
  context: React.ContextType<typeof ControlsHeightContext>;
@@ -17,6 +17,9 @@ const warnText = deprecate(() => { }, 'Button: "text" prop is deprecated and wil
17
17
  * A component for displaying variously styled buttons.
18
18
  */
19
19
  export class Button extends PureComponent {
20
+ /**
21
+ * @deprecated Use icons with appropriate intrinsic sizes instead
22
+ */
20
23
  static IconSize = Size;
21
24
  static contextType = ControlsHeightContext;
22
25
  buttonRef = createRef();
@@ -29,6 +29,9 @@ export default class Icon extends PureComponent<IconProps> {
29
29
  glyph: string;
30
30
  };
31
31
  static Color: typeof Color;
32
+ /**
33
+ * @deprecated Use icons with appropriate intrinsic sizes instead
34
+ */
32
35
  static Size: typeof Size;
33
36
  warnSize(): void;
34
37
  getStyle(): {
@@ -18,6 +18,9 @@ export default class Icon extends PureComponent {
18
18
  glyph: '',
19
19
  };
20
20
  static Color = Color;
21
+ /**
22
+ * @deprecated Use icons with appropriate intrinsic sizes instead
23
+ */
21
24
  static Size = Size;
22
25
  warnSize() {
23
26
  if (this.props.suppressSizeWarning) {
@@ -13,6 +13,7 @@ export declare enum Color {
13
13
  }
14
14
  /**
15
15
  * @enum {number}
16
+ * @deprecated Use icons with appropriate intrinsic sizes instead
16
17
  */
17
18
  export declare enum Size {
18
19
  Size12 = 12,
@@ -14,6 +14,7 @@ export var Color;
14
14
  })(Color || (Color = {}));
15
15
  /**
16
16
  * @enum {number}
17
+ * @deprecated Use icons with appropriate intrinsic sizes instead
17
18
  */
18
19
  export var Size;
19
20
  (function (Size) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetbrains/ring-ui",
3
- "version": "7.0.35",
3
+ "version": "7.0.36",
4
4
  "description": "JetBrains UI library",
5
5
  "author": {
6
6
  "name": "JetBrains"
@@ -121,8 +121,6 @@
121
121
  "@types/chai": "^5.2.1",
122
122
  "@types/chai-as-promised": "^8.0.2",
123
123
  "@types/chai-dom": "0.0.10",
124
- "@types/chai-enzyme": "^0.6.13",
125
- "@types/enzyme": "^3.10.18",
126
124
  "@types/eslint__js": "^8.42.3",
127
125
  "@types/markdown-it": "^14.1.2",
128
126
  "@types/react": "^18.3.12",
@@ -132,7 +130,6 @@
132
130
  "@types/webpack-env": "^1.18.8",
133
131
  "@vitejs/plugin-react": "^4.3.4",
134
132
  "@vitest/eslint-plugin": "^1.1.38",
135
- "@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
136
133
  "acorn": "^8.14.1",
137
134
  "axe-playwright": "^2.1.0",
138
135
  "babel-plugin-require-context-hook": "^1.0.0",
@@ -140,13 +137,11 @@
140
137
  "chai": "^5.2.0",
141
138
  "chai-as-promised": "^8.0.1",
142
139
  "chai-dom": "^1.10.0",
143
- "chai-enzyme": "1.0.0-beta.1",
144
140
  "cheerio": "^1.0.0-rc.12",
145
141
  "chromatic": "^11.27.0",
146
142
  "core-js": "^3.41.0",
147
143
  "cpy-cli": "^5.0.0",
148
144
  "dotenv-cli": "^8.0.0",
149
- "enzyme": "^3.11.0",
150
145
  "eslint": "^9.23.0",
151
146
  "eslint-config-prettier": "^10.1.1",
152
147
  "eslint-formatter-jslint-xml": "^8.40.0",
@@ -189,7 +184,7 @@
189
184
  "teamcity-service-messages": "^0.1.14",
190
185
  "terser-webpack-plugin": "^5.3.14",
191
186
  "typescript": "~5.8.2",
192
- "typescript-eslint": "^8.28.0",
187
+ "typescript-eslint": "^8.29.0",
193
188
  "vitest": "^3.1.1",
194
189
  "vitest-teamcity-reporter": "^0.3.1",
195
190
  "wallaby-webpack": "^3.9.16",