intelicoreact 1.3.96 → 1.3.97

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.
@@ -101,13 +101,14 @@ const FileLoaderLocal = _ref => {
101
101
  }, attributesOfNativeInput)), /*#__PURE__*/_react.default.createElement("label", {
102
102
  className: "file-loader-local__label-box",
103
103
  htmlFor: "file-input-".concat(id).concat(groupId ? "-".concat(groupId) : "")
104
- }, /*#__PURE__*/_react.default.createElement("div", {
105
- className: "j4"
106
104
  }, !value && /*#__PURE__*/_react.default.createElement(_reactFeather.Download, {
107
105
  className: "file-loader-local__upload-icon"
108
106
  }), value && /*#__PURE__*/_react.default.createElement(_reactFeather.Paperclip, {
109
107
  className: "file-loader-local__upload-icon"
110
108
  }), /*#__PURE__*/_react.default.createElement("div", {
109
+ title: value || label,
110
+ className: "file-loader-local__label-wrapper"
111
+ }, /*#__PURE__*/_react.default.createElement("div", {
111
112
  className: (0, _classnames.default)("file-loader-local__label", {
112
113
  "file-loader-local__label-filled": value
113
114
  })
@@ -75,9 +75,18 @@
75
75
  color: #f06d8d;
76
76
  }
77
77
 
78
+ &__label-wrapper {
79
+ overflow: hidden;
80
+ text-overflow: ellipsis;
81
+ white-space: nowrap;
82
+ margin-right: 8px;
83
+ flex-grow: 1;
84
+ }
85
+
78
86
  &__label {
79
87
  display: flex;
80
88
  flex-direction: column;
89
+ width: 100%;
81
90
  }
82
91
 
83
92
  &__label-text {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelicoreact",
3
- "version": "1.3.96",
3
+ "version": "1.3.97",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [