@jetbrains/ring-ui 5.0.60 → 5.0.61

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.
@@ -16,6 +16,7 @@
16
16
  .buttonToolbar > :global(.ring-button-group),
17
17
  .buttonToolbar > .button,
18
18
  .buttonToolbar > .buttonGroup,
19
+ .buttonToolbar > .split,
19
20
  .buttonToolbar > .buttonToolbar {
20
21
  margin-right: unit;
21
22
  }
@@ -211,6 +211,7 @@
211
211
  float: left;
212
212
 
213
213
  width: 20px;
214
+
214
215
  margin-right: unit;
215
216
 
216
217
  color: var(--ring-icon-secondary-color);
@@ -220,6 +221,11 @@
220
221
  composes: glyph;
221
222
 
222
223
  top: 0;
224
+
225
+ height: 20px;
226
+
227
+ object-fit: cover;
228
+ object-position: center;
223
229
  }
224
230
 
225
231
  .rightGlyph {
@@ -18,7 +18,7 @@ import rerenderHOC from '../global/rerender-hoc';
18
18
  import fuzzyHighlight from '../global/fuzzy-highlight';
19
19
  import memoize from '../global/memoize';
20
20
  import { isArray } from '../global/typescript-utils';
21
- import { ControlsHeightContext } from '../global/controls-height';
21
+ import { ControlsHeight, ControlsHeightContext } from '../global/controls-height';
22
22
  import SelectPopup from './select__popup';
23
23
  import styles from './select.css';
24
24
  /**
@@ -398,7 +398,7 @@ export default class Select extends Component {
398
398
  separator: reset.separator,
399
399
  key: reset.label,
400
400
  rgItemType: List.ListProps.Type.CUSTOM,
401
- template: (<Button text className={styles.button} data-test="ring-select-reset-tags-button">
401
+ template: (<Button text className={styles.button} data-test="ring-select-reset-tags-button" height={ControlsHeight.S}>
402
402
  {reset.label}
403
403
  </Button>),
404
404
  glyph: reset.glyph,
@@ -1,3 +1,3 @@
1
- var modules_34154ec0 = {"unit":"8px","button":"button_rui_0b90","light":"light_rui_f4fc","buttonToolbar":"buttonToolbar_rui_f4fc","buttonGroup":"buttonGroup_rui_f4fc"};
1
+ var modules_34154ec0 = {"unit":"8px","button":"button_rui_0b90","light":"light_rui_f4fc","buttonToolbar":"buttonToolbar_rui_f4fc","buttonGroup":"buttonGroup_rui_f4fc","split":"split_rui_f4fc"};
2
2
 
3
3
  export { modules_34154ec0 as m };
@@ -19,7 +19,7 @@ import rerenderHOC from '../global/rerender-hoc.js';
19
19
  import fuzzyHighlight from '../global/fuzzy-highlight.js';
20
20
  import memoize from '../global/memoize.js';
21
21
  import { isArray } from '../global/typescript-utils.js';
22
- import { ControlsHeightContext } from '../global/controls-height.js';
22
+ import { ControlsHeight, ControlsHeightContext } from '../global/controls-height.js';
23
23
  import SelectPopup from './select__popup.js';
24
24
  import { A as Anchor } from '../_helpers/anchor.js';
25
25
  import '@jetbrains/icons/chevron-10px';
@@ -662,7 +662,8 @@ class Select extends Component {
662
662
  template: /*#__PURE__*/React.createElement(Button, {
663
663
  text: true,
664
664
  className: modules_9d0de074.button,
665
- "data-test": "ring-select-reset-tags-button"
665
+ "data-test": "ring-select-reset-tags-button",
666
+ height: ControlsHeight.S
666
667
  }, reset.label),
667
668
  glyph: reset.glyph,
668
669
  onClick: resetHandler