@breadstone/mosaik-elements-svelte 0.0.169 → 0.0.170

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/index.mjs +47 -21
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.0.170 (2025-10-28)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - **release:** update release version to 0.0.169 ([77c58d1eea](https://github.com/RueDeRennes/mosaik/commit/77c58d1eea))
6
+
1
7
  ## 0.0.169 (2025-10-28)
2
8
 
3
9
  ### 🚀 Features
package/index.mjs CHANGED
@@ -111020,8 +111020,6 @@ function cZ() {
111020
111020
  :host [part="backplate"] [part="icon"] {
111021
111021
  color: inherit;
111022
111022
  font-size: inherit;
111023
- width: calc(var(--avatar-diameter) - 16px);
111024
- height: calc(var(--avatar-diameter) - 16px);
111025
111023
  overflow: hidden;
111026
111024
  }
111027
111025
 
@@ -111387,8 +111385,6 @@ function hZ() {
111387
111385
  :host [part="backplate"] [part="icon"] {
111388
111386
  color: inherit;
111389
111387
  font-size: inherit;
111390
- width: calc(var(--avatar-diameter) - 16px);
111391
- height: calc(var(--avatar-diameter) - 16px);
111392
111388
  overflow: hidden;
111393
111389
  }
111394
111390
 
@@ -111541,8 +111537,6 @@ function pZ() {
111541
111537
  :host [part="backplate"] [part="icon"] {
111542
111538
  color: inherit;
111543
111539
  font-size: inherit;
111544
- width: calc(var(--avatar-diameter) - 16px);
111545
- height: calc(var(--avatar-diameter) - 16px);
111546
111540
  overflow: hidden;
111547
111541
  }
111548
111542
 
@@ -117322,21 +117316,38 @@ function pJ(o) {
117322
117316
  function uJ() {
117323
117317
  return m`
117324
117318
  :host {
117325
- --chat-message-avatar-font-family: unset;
117326
- --chat-message-avatar-font-letter-spacing: unset;
117327
- --chat-message-avatar-font-line-height: unset;
117328
- --chat-message-avatar-font-size: unset;
117319
+ --chat-message-avatar-background-color: var(--joy-scheme-background);
117320
+ --chat-message-avatar-badge-gap: var(--joy-layout-thickness);
117321
+ --chat-message-avatar-badge-horizontal-align: right;
117322
+ --chat-message-avatar-badge-radius: var(--joy-layout-space);
117323
+ --chat-message-avatar-badge-vertical-align: bottom;
117324
+ --chat-message-avatar-border-color: var(--joy-scheme-highlight);
117325
+ --chat-message-avatar-border-radius: 50%;
117326
+ --chat-message-avatar-border-style: solid;
117327
+ --chat-message-avatar-border-width: 0px;
117328
+ --chat-message-avatar-diameter: 64px;
117329
+ --chat-message-avatar-font-family: var(--joy-font-family);
117330
+ --chat-message-avatar-font-letter-spacing: 0px;
117331
+ --chat-message-avatar-font-line-height: calc(var(--avatar-font-size) + 4px);
117332
+ --chat-message-avatar-font-size: 32px;
117329
117333
  --chat-message-avatar-font-text-decoration: unset;
117330
117334
  --chat-message-avatar-font-text-transform: unset;
117331
- --chat-message-avatar-font-weight: unset;
117332
- --chat-message-avatar-gap: unset;
117333
- --chat-message-avatar-padding-bottom: unset;
117334
- --chat-message-avatar-padding-left: unset;
117335
- --chat-message-avatar-padding-right: unset;
117336
- --chat-message-avatar-padding-top: unset;
117337
- --chat-message-avatar-transition-duration: unset;
117338
- --chat-message-avatar-transition-mode: unset;
117339
- --chat-message-avatar-transition-property: unset;
117335
+ --chat-message-avatar-font-weight: 600;
117336
+ --chat-message-avatar-foreground-color: var(--joy-scheme-foreground);
117337
+ --chat-message-avatar-gap: var(--joy-layout-space);
117338
+ --chat-message-avatar-offset: calc(var(--joy-layout-space) * 2);
117339
+ --chat-message-avatar-padding-bottom: calc(var(--joy-layout-space) / 2);
117340
+ --chat-message-avatar-padding-left: var(--joy-layout-space);
117341
+ --chat-message-avatar-padding-right: var(--joy-layout-space);
117342
+ --chat-message-avatar-padding-top: calc(var(--joy-layout-space) / 2);
117343
+ --chat-message-avatar-shadow-blur: unset;
117344
+ --chat-message-avatar-shadow-color: unset;
117345
+ --chat-message-avatar-shadow-offset-x: unset;
117346
+ --chat-message-avatar-shadow-offset-y: unset;
117347
+ --chat-message-avatar-shadow-spread: unset;
117348
+ --chat-message-avatar-transition-duration: var(--joy-duration-short);
117349
+ --chat-message-avatar-transition-mode: ease;
117350
+ --chat-message-avatar-transition-property: background-color, color, border-color, opacity, box-shadow;
117340
117351
  --chat-message-avatar-translate: unset;
117341
117352
  }
117342
117353
 
@@ -117366,6 +117377,11 @@ function uJ() {
117366
117377
  display: none !important;
117367
117378
  }
117368
117379
 
117380
+ :host [part="avatar"] {
117381
+ --avatar-background-color: base. component-property($ props, background-color);
117382
+ --avatar-foreground-color: base. component-property($ props, foreground-color);
117383
+ }
117384
+
117369
117385
  `;
117370
117386
  }
117371
117387
  function gJ() {
@@ -117415,6 +117431,11 @@ function gJ() {
117415
117431
  display: none !important;
117416
117432
  }
117417
117433
 
117434
+ :host [part="avatar"] {
117435
+ --avatar-background-color: base. component-property($ props, background-color);
117436
+ --avatar-foreground-color: base. component-property($ props, foreground-color);
117437
+ }
117438
+
117418
117439
  `;
117419
117440
  }
117420
117441
  function fJ() {
@@ -117464,6 +117485,11 @@ function fJ() {
117464
117485
  display: none !important;
117465
117486
  }
117466
117487
 
117488
+ :host [part="avatar"] {
117489
+ --avatar-background-color: base. component-property($ props, background-color);
117490
+ --avatar-foreground-color: base. component-property($ props, foreground-color);
117491
+ }
117492
+
117467
117493
  `;
117468
117494
  }
117469
117495
  var Py = function(o, t, e, r) {
@@ -117783,7 +117809,7 @@ function mJ() {
117783
117809
  }
117784
117810
  }
117785
117811
 
117786
- :host [part="author"] {
117812
+ :host ::slotted([slot="author"]), :host [part="author"] {
117787
117813
  font-family: var(--joy-typography-caption-font-family);
117788
117814
  font-size: var(--joy-typography-caption-font-size);
117789
117815
  line-height: var(--joy-typography-caption-line-height);
@@ -117794,7 +117820,7 @@ function mJ() {
117794
117820
  letter-spacing: var(--joy-typography-caption-letter-spacing);
117795
117821
  }
117796
117822
 
117797
- :host [part="at"] {
117823
+ :host ::slotted([slot="at"]), :host [part="at"] {
117798
117824
  --text-foreground-color: var(--joy-scheme-middlelight);
117799
117825
  font-family: var(--joy-typography-caption-font-family);
117800
117826
  font-size: var(--joy-typography-caption-font-size);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breadstone/mosaik-elements-svelte",
3
- "version": "0.0.169",
3
+ "version": "0.0.170",
4
4
  "description": "Mosaik elements for Svelte.",
5
5
  "license": "MIT",
6
6
  "author": "andre.wehlert <awehlert@breadstone.de> (https://www.breadstone.de)",
@@ -15,8 +15,8 @@
15
15
  "vite": "*"
16
16
  },
17
17
  "dependencies": {
18
- "@breadstone/mosaik-elements": "^0.0.169",
19
- "@breadstone/mosaik-elements-foundation": "^0.0.169",
18
+ "@breadstone/mosaik-elements": "^0.0.170",
19
+ "@breadstone/mosaik-elements-foundation": "^0.0.170",
20
20
  "tslib": "^2.8.1"
21
21
  },
22
22
  "exports": {