@ayseaistudio/ui-components 3.12.3 → 3.12.5

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.
@@ -97,6 +97,7 @@
97
97
  justify-content: space-between;
98
98
  gap: 6px;
99
99
  flex-shrink: 0;
100
+ height: 100%;
100
101
  }
101
102
 
102
103
  .chat-message .timestamp-wrapper {
@@ -11,7 +11,7 @@ export const ProfileSelector = ({ icon, size, version, className, text, subtext,
11
11
  size: size || "large",
12
12
  version: version || "single",
13
13
  });
14
- return (_jsxs("div", { className: `profile-selector ${state.version} status-${state.status} size-3-${state.size} ${className}`, onMouseLeave: () => {
14
+ return (_jsxs("div", { className: `profile-selector ${state.version} status-${state.status} ${state.size} size-3-${state.size} ${className}`, onMouseLeave: () => {
15
15
  dispatch("mouse_leave");
16
16
  }, onMouseEnter: () => {
17
17
  dispatch("mouse_enter");
@@ -325,3 +325,30 @@
325
325
  .profile-selector-selector.status-hover .class-4 {
326
326
  color: #3d3d3d;
327
327
  }
328
+
329
+ /* Medium profile selector text can wrap instead of clamping. */
330
+ .profile-selector.size-3-medium,
331
+ .profile-selector.medium {
332
+ display: flex;
333
+ width: 100%;
334
+ min-width: 0;
335
+ }
336
+
337
+ .profile-selector.size-3-medium .texts,
338
+ .profile-selector.medium .texts {
339
+ display: flex;
340
+ flex: 1 1 auto;
341
+ min-width: 0;
342
+ }
343
+
344
+ .profile-selector.size-3-medium .text,
345
+ .profile-selector.medium .text {
346
+ display: block;
347
+ -webkit-line-clamp: unset;
348
+ line-clamp: unset;
349
+ overflow: visible;
350
+ text-overflow: clip;
351
+ white-space: normal;
352
+ overflow-wrap: anywhere;
353
+ word-break: break-word;
354
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ayseaistudio/ui-components",
3
- "version": "3.12.3",
3
+ "version": "3.12.5",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",