@adatechnology/conversations-ui 0.14.0 → 0.14.1

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/dist/styles.css CHANGED
@@ -1977,6 +1977,9 @@
1977
1977
  }
1978
1978
  .cv-p-bubble > .cv-p-attachment {
1979
1979
  flex: 1 0 100%;
1980
+ min-width: 0;
1981
+ max-width: 100%;
1982
+ margin-inline: 0;
1980
1983
  }
1981
1984
  .cv-p-bubble__host-actions {
1982
1985
  display: inline-flex;
@@ -2372,6 +2375,7 @@
2372
2375
  .cv-p-attachment__image {
2373
2376
  display: block;
2374
2377
  max-width: 100%;
2378
+ height: auto;
2375
2379
  max-height: 16rem;
2376
2380
  object-fit: contain;
2377
2381
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adatechnology/conversations-ui",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "description": "WhatsApp conversation UI components — parametrizável por endpoint, tema e feature flags",
5
5
  "publishConfig": {
6
6
  "access": "public"
package/src/styles.css CHANGED
@@ -1301,7 +1301,7 @@
1301
1301
  }
1302
1302
  .cv-p-bubble__author { display: block; flex: 1 0 100%; margin-bottom: 0.15rem; font: 0.65rem 'SFMono-Regular', Consolas, monospace; text-transform: uppercase; color: var(--cv-p-i-accent); }
1303
1303
  .cv-p-bubble > .cv-p-text { flex: 0 1 auto; min-width: 0; margin-inline-end: auto; }
1304
- .cv-p-bubble > .cv-p-attachment { flex: 1 0 100%; }
1304
+ .cv-p-bubble > .cv-p-attachment { flex: 1 0 100%; min-width: 0; max-width: 100%; margin-inline: 0; }
1305
1305
  .cv-p-bubble__host-actions { display: inline-flex; align-items: center; gap: 0.25rem; }
1306
1306
  .cv-p-bubble__original { flex: 1 0 100%; margin-top: 0.2rem; }
1307
1307
  .cv-p-bubble__original-toggle { display: inline-block; font-size: 0.7rem; color: var(--cv-p-i-text-muted); cursor: pointer; list-style: none; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 2px; }
@@ -1369,7 +1369,7 @@
1369
1369
  .cv-p-selection-bar__close:hover, .cv-p-selection-bar__action:hover:not(:disabled), .cv-p-selection-bar__close:focus-visible, .cv-p-selection-bar__action:focus-visible { background: var(--cv-p-i-highlight); }
1370
1370
  .cv-p-attachment { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 0.35rem; color: inherit; }
1371
1371
  .cv-p-attachment--document { flex-direction: row; justify-content: space-between; min-height: var(--cv-p-i-touch); align-items: center; text-decoration: underline; }
1372
- .cv-p-attachment__image { display: block; max-width: 100%; max-height: 16rem; object-fit: contain; }
1372
+ .cv-p-attachment__image { display: block; max-width: 100%; height: auto; max-height: 16rem; object-fit: contain; }
1373
1373
  .cv-p-attachment__audio { width: 100%; min-height: var(--cv-p-i-touch); }
1374
1374
  .cv-p-audio { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; width: 100%; min-width: min(15rem, 100%); box-sizing: border-box; }
1375
1375
  .cv-p-audio__toggle, .cv-p-audio__rate { flex: 0 0 auto; display: inline-grid; place-items: center; min-width: var(--cv-p-i-touch); min-height: var(--cv-p-i-touch); padding: 0; background: transparent; border: 1px solid var(--cv-p-i-border); border-radius: var(--cv-p-i-radius); color: inherit; font: inherit; font-size: 0.75rem; cursor: pointer; }