iguazio.dashboard-react-controls 2.2.19 → 2.2.20

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.
@@ -19,6 +19,12 @@
19
19
  &__content {
20
20
  display: flex;
21
21
  align-items: center;
22
+
23
+ &-item {
24
+ flex: 1 1 50%;
25
+ max-width: fit-content;
26
+ align-self: flex-start;
27
+ }
22
28
  }
23
29
 
24
30
  &__delimiter {
@@ -100,11 +100,17 @@ const FormChipCellView = /*#__PURE__*/_react.default.forwardRef((_ref, _ref2) =>
100
100
  template: /*#__PURE__*/(0, _jsxRuntime.jsx)(_TextTooltipTemplate.default, {
101
101
  text: chipData.tooltip || /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
102
102
  className: "chip__content",
103
- children: [chipData.key, !chipData.isKeyOnly && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
103
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
104
+ className: "chip__content-item",
105
+ children: chipData.key
106
+ }), !chipData.isKeyOnly && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
104
107
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
105
108
  className: "chip__delimiter",
106
109
  children: chipData.delimiter ? chipData.delimiter : ':'
107
- }), chipData.value]
110
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
111
+ className: "chip__content-item",
112
+ children: chipData.value
113
+ })]
108
114
  })]
109
115
  })
110
116
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iguazio.dashboard-react-controls",
3
- "version": "2.2.19",
3
+ "version": "2.2.20",
4
4
  "description": "Collection of resources (such as CSS styles, fonts and images) and ReactJS 17.x components to share among different Iguazio React repos.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",