@jetbrains/ring-ui 5.0.57 → 5.0.59
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/components/tag/tag.js
CHANGED
|
@@ -4,6 +4,7 @@ import classNames from 'classnames';
|
|
|
4
4
|
import closeIcon from '@jetbrains/icons/close-12px';
|
|
5
5
|
import Icon from '../icon/icon';
|
|
6
6
|
import Button from '../button/button';
|
|
7
|
+
import { ControlsHeight } from '../global/controls-height';
|
|
7
8
|
import styles from './tag.css';
|
|
8
9
|
/**
|
|
9
10
|
* @name Tag
|
|
@@ -96,7 +97,7 @@ export default class Tag extends PureComponent {
|
|
|
96
97
|
}
|
|
97
98
|
renderRemoveIcon() {
|
|
98
99
|
if (!this.props.readOnly) {
|
|
99
|
-
return (<Button title="Remove" icon={closeIcon} data-test="ring-tag-remove" className={styles.remove} iconClassName={styles.removeIcon} onClick={this.props.onRemove} style={{ '--ring-icon-secondary-color': this.props.textColor }}/>);
|
|
100
|
+
return (<Button title="Remove" icon={closeIcon} data-test="ring-tag-remove" className={styles.remove} iconClassName={styles.removeIcon} onClick={this.props.onRemove} style={{ '--ring-icon-secondary-color': this.props.textColor }} height={ControlsHeight.M}/>);
|
|
100
101
|
}
|
|
101
102
|
return null;
|
|
102
103
|
}
|
|
@@ -61,8 +61,8 @@ import '../list/consts.js';
|
|
|
61
61
|
import '../_helpers/loader-inline.js';
|
|
62
62
|
import '../tag/tag.js';
|
|
63
63
|
import '@jetbrains/icons/close-12px';
|
|
64
|
-
import '@jetbrains/icons/chevron-10px';
|
|
65
64
|
import '../global/controls-height.js';
|
|
65
|
+
import '@jetbrains/icons/chevron-10px';
|
|
66
66
|
import '../_helpers/button__classes.js';
|
|
67
67
|
import '../input/input.js';
|
|
68
68
|
import '../global/prop-types.js';
|
package/dist/tag/tag.js
CHANGED
|
@@ -5,6 +5,7 @@ import classNames from 'classnames';
|
|
|
5
5
|
import closeIcon from '@jetbrains/icons/close-12px';
|
|
6
6
|
import Icon from '../icon/icon.js';
|
|
7
7
|
import { Button } from '../button/button.js';
|
|
8
|
+
import { ControlsHeight } from '../global/controls-height.js';
|
|
8
9
|
import 'util-deprecate';
|
|
9
10
|
import '../icon/icon__constants.js';
|
|
10
11
|
import '../_helpers/icon.js';
|
|
@@ -13,7 +14,6 @@ import '../global/memoize.js';
|
|
|
13
14
|
import 'focus-visible';
|
|
14
15
|
import '@jetbrains/icons/chevron-10px';
|
|
15
16
|
import '../link/clickableLink.js';
|
|
16
|
-
import '../global/controls-height.js';
|
|
17
17
|
import '../_helpers/button__classes.js';
|
|
18
18
|
|
|
19
19
|
var modules_2f9be069 = {"unit":"8px","max-height":"20px","tag":"tag_rui_2f49 resetButton_rui_8bff","tagAngled":"tagAngled_rui_2f49","light":"light_rui_2f49","withRemove":"withRemove_rui_2f49","container":"container_rui_2f49","focused":"focused_rui_2f49","content":"content_rui_2f49 ellipsis_rui_8bff","disabled":"disabled_rui_2f49","remove":"remove_rui_2f49","removeIcon":"removeIcon_rui_2f49","icon":"icon_rui_2f49","avatarContainer":"avatarContainer_rui_2f49","customIcon":"customIcon_rui_2f49","avatarIcon":"avatarIcon_rui_2f49"};
|
|
@@ -110,7 +110,8 @@ class Tag extends PureComponent {
|
|
|
110
110
|
onClick: this.props.onRemove,
|
|
111
111
|
style: {
|
|
112
112
|
'--ring-icon-secondary-color': this.props.textColor
|
|
113
|
-
}
|
|
113
|
+
},
|
|
114
|
+
height: ControlsHeight.M
|
|
114
115
|
});
|
|
115
116
|
}
|
|
116
117
|
return null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetbrains/ring-ui",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.59",
|
|
4
4
|
"description": "JetBrains UI library",
|
|
5
5
|
"author": "JetBrains",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"@babel/eslint-parser": "^7.19.1",
|
|
78
78
|
"@jetbrains/eslint-config": "^5.4.1",
|
|
79
79
|
"@jetbrains/stylelint-config": "^3.0.2",
|
|
80
|
-
"@primer/octicons": "^17.
|
|
80
|
+
"@primer/octicons": "^17.9.0",
|
|
81
81
|
"@rollup/plugin-babel": "^6.0.2",
|
|
82
82
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
83
83
|
"@rollup/plugin-replace": "^5.0.1",
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
"core-js": "^3.26.0",
|
|
124
124
|
"cpy-cli": "^3.1.1",
|
|
125
125
|
"enzyme": "^3.11.0",
|
|
126
|
-
"eslint": "^8.
|
|
126
|
+
"eslint": "^8.27.0",
|
|
127
127
|
"eslint-import-resolver-webpack": "^0.13.2",
|
|
128
128
|
"eslint-plugin-angular": "^4.1.0",
|
|
129
129
|
"eslint-plugin-bdd": "^2.1.1",
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
"merge-options": "^3.0.4",
|
|
151
151
|
"mocha": "^10.1.0",
|
|
152
152
|
"pinst": "^3.0.0",
|
|
153
|
-
"puppeteer": "^19.
|
|
153
|
+
"puppeteer": "^19.2.2",
|
|
154
154
|
"raw-loader": "^4.0.2",
|
|
155
155
|
"react": "^18.2.0",
|
|
156
156
|
"react-dom": "^18.2.0",
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
}
|
|
195
195
|
},
|
|
196
196
|
"dependencies": {
|
|
197
|
-
"@babel/core": "^7.
|
|
197
|
+
"@babel/core": "^7.20.2",
|
|
198
198
|
"@babel/preset-typescript": "^7.18.6",
|
|
199
199
|
"@jetbrains/babel-preset-jetbrains": "^2.3.2",
|
|
200
200
|
"@jetbrains/icons": "^3.19.1",
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
"@types/react-virtualized": "9.21.20",
|
|
209
209
|
"@types/util-deprecate": "^1.0.0",
|
|
210
210
|
"@ungap/url-search-params": "^0.2.2",
|
|
211
|
-
"babel-loader": "^9.0
|
|
211
|
+
"babel-loader": "^9.1.0",
|
|
212
212
|
"babel-plugin-transform-define": "^2.1.0",
|
|
213
213
|
"browserslist": "^4.16.6",
|
|
214
214
|
"change-case": "^4.1.1",
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
"css-loader": "^6.7.1",
|
|
219
219
|
"csstype": "^3.1.1",
|
|
220
220
|
"date-fns": "^2.29.3",
|
|
221
|
-
"deep-equal": "^2.0
|
|
221
|
+
"deep-equal": "^2.1.0",
|
|
222
222
|
"element-resize-detector": "^1.2.4",
|
|
223
223
|
"es6-error": "^4.1.1",
|
|
224
224
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
@@ -259,5 +259,5 @@
|
|
|
259
259
|
"node": ">=14.0",
|
|
260
260
|
"npm": ">=6.0.0"
|
|
261
261
|
},
|
|
262
|
-
"gitHead": "
|
|
262
|
+
"gitHead": "8e87ada8769907a24810b48ad48756aa9172ebc7"
|
|
263
263
|
}
|