@breadstone/mosaik-elements-svelte 0.0.107 → 0.0.109

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 +13 -0
  2. package/index.mjs +265 -35
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ ## 0.0.109 (2025-08-15)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **instructions:** add initial blogpost writing guidelines and structure ([03fbd93fd8](https://github.com/RueDeRennes/mosaik/commit/03fbd93fd8))
6
+
7
+ ## 0.0.108 (2025-08-15)
8
+
9
+ ### 🚀 Features
10
+
11
+ - **chat:** enhance styling and theming for chat components ([b8f5a8f6c6](https://github.com/RueDeRennes/mosaik/commit/b8f5a8f6c6))
12
+ - **dialog): enhance DialogPortalComponent with dynamic properties and update button appearance feat(translator:** improve addTranslations method to merge existing translations chore: update release script version to 0.0.107 ([e6974a901b](https://github.com/RueDeRennes/mosaik/commit/e6974a901b))
13
+
1
14
  ## 0.0.107 (2025-08-15)
2
15
 
3
16
  ### 🚀 Features
package/index.mjs CHANGED
@@ -11635,12 +11635,18 @@ let Ph = class extends P(Qi(tt(H))) {
11635
11635
  }
11636
11636
  };
11637
11637
  qg([
11638
- b({ type: Boolean, useDefault: !0 }),
11638
+ b({
11639
+ type: Boolean,
11640
+ useDefault: !0
11641
+ }),
11639
11642
  Ci("design:type", Boolean),
11640
11643
  Ci("design:paramtypes", [Boolean])
11641
11644
  ], Ph.prototype, "visible", null);
11642
11645
  qg([
11643
- b({ type: Boolean, useDefault: !0 }),
11646
+ b({
11647
+ type: Boolean,
11648
+ useDefault: !0
11649
+ }),
11644
11650
  Ci("design:type", Boolean),
11645
11651
  Ci("design:paramtypes", [Boolean])
11646
11652
  ], Ph.prototype, "inward", null);
@@ -104454,13 +104460,13 @@ let In = class extends P(Ji(Zt(W(qo(At(H)))))) {
104454
104460
  * @protected
104455
104461
  */
104456
104462
  onPositionPropertyChanged(t, e) {
104457
- this._cachedPositionInPixels = this.percentageToPixels(this.position), this.positionInPixels = this.percentageToPixels(this.position), this.onSplitRepositioned({});
104463
+ this._cachedPositionInPixels = e ? this.percentageToPixels(e) : 0, this._positionInPixels = e ? this.percentageToPixels(e) : 0, this.onSplitRepositioned({});
104458
104464
  }
104459
104465
  /**
104460
104466
  * @protected
104461
104467
  */
104462
104468
  onPositionInPixelsPropertyChanged(t, e) {
104463
- this.position = this.pixelsToPercentage(this.positionInPixels);
104469
+ this._position = e ? this.pixelsToPercentage(e) : 0, this.onSplitRepositioned({});
104464
104470
  }
104465
104471
  /**
104466
104472
  * @protected
@@ -112048,6 +112054,12 @@ class zJ {
112048
112054
  }
112049
112055
  function SJ(o) {
112050
112056
  return w`
112057
+ ${$(!o.disabled, () => w`
112058
+ <mosaik-focus-ring part="focusRing"
112059
+ .variant="${o.variant}"
112060
+ .controlled="${"manual"}"
112061
+ @connected="${(t) => t.target.attach(o)}"></mosaik-focus-ring>
112062
+ `)}
112051
112063
  <mosaik-expander part="expander"
112052
112064
  id="expander"
112053
112065
  .dir="${o.dir}"
@@ -112114,6 +112126,11 @@ function SJ(o) {
112114
112126
  function EJ() {
112115
112127
  return m`
112116
112128
  :host {
112129
+ --chat-input-background-color: var(--joy-scheme-background);
112130
+ --chat-input-border-color: var(--joy-scheme-highlight);
112131
+ --chat-input-border-radius: var(--joy-layout-radius);
112132
+ --chat-input-border-style: solid;
112133
+ --chat-input-border-width: var(--joy-layout-thickness);
112117
112134
  --chat-input-emoji-background-color: unset;
112118
112135
  --chat-input-font-family: unset;
112119
112136
  --chat-input-font-letter-spacing: unset;
@@ -112122,14 +112139,16 @@ function EJ() {
112122
112139
  --chat-input-font-text-decoration: unset;
112123
112140
  --chat-input-font-text-transform: unset;
112124
112141
  --chat-input-font-weight: unset;
112142
+ --chat-input-foreground-color: var(--joy-scheme-foreground);
112125
112143
  --chat-input-gap: unset;
112126
112144
  --chat-input-padding-bottom: unset;
112127
112145
  --chat-input-padding-left: unset;
112128
112146
  --chat-input-padding-right: unset;
112129
112147
  --chat-input-padding-top: unset;
112130
- --chat-input-transition-duration: unset;
112131
- --chat-input-transition-mode: unset;
112132
- --chat-input-transition-property: unset;
112148
+ --chat-input-shadow: var(--joy-elevation-none);
112149
+ --chat-input-transition-duration: var(--joy-duration-short);
112150
+ --chat-input-transition-mode: ease;
112151
+ --chat-input-transition-property: background-color, color, border-color, opacity, box-shadow;
112133
112152
  --chat-input-translate: unset;
112134
112153
  }
112135
112154
 
@@ -112160,9 +112179,22 @@ function EJ() {
112160
112179
  }
112161
112180
 
112162
112181
  :host {
112182
+ background-color: var(--chat-input-background-color);
112183
+ color: var(--chat-input-foreground-color);
112184
+ border-color: var(--chat-input-border-color);
112185
+ border-width: var(--chat-input-border-width);
112186
+ border-radius: var(--chat-input-border-radius);
112187
+ border-style: var(--chat-input-border-style);
112188
+ transition-duration: var(--chat-input-transition-duration);
112189
+ transition-timing-function: var(--chat-input-transition-mode);
112190
+ transition-property: var(--chat-input-transition-property);
112163
112191
  padding-top: 1px;
112164
112192
  }
112165
112193
 
112194
+ :host [part="expander"] {
112195
+ --expander-background-color: var(--chat-input-background-color);
112196
+ }
112197
+
112166
112198
  :host [part="expander"]::part(heading) {
112167
112199
  display: none;
112168
112200
  }
@@ -112172,7 +112204,7 @@ function EJ() {
112172
112204
  }
112173
112205
 
112174
112206
  :host [part="expander"] [part="reaction"] [part="emoji"] {
112175
- --emoji-background-color: unset;
112207
+ --emoji-background-color: var(--chat-input-background-color);
112176
112208
  }
112177
112209
 
112178
112210
  :host [part="textBox"] {
@@ -112197,11 +112229,173 @@ function EJ() {
112197
112229
  display: flex;
112198
112230
  }
112199
112231
 
112232
+ :host([appearance="plain"]) {
112233
+ --chat-input-border-width: 0;
112234
+ --chat-input-background-color: var(--joy-scheme-transparent);
112235
+ }
112236
+
112237
+ :host([appearance="plain"]) [part="focusRing"] {
112238
+ --focus-ring-outward-offset: 0px;
112239
+ }
112240
+
112241
+ :host([appearance="soft"]), :host([appearance="solid"]) {
112242
+ --chat-input-background-color: var(--joy-scheme-highlight);
112243
+ }
112244
+
112245
+ :host([variant="primary"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="primary"]:not([disabled]:not([disabled="false"])):not([invalid]):active), :host([variant="primary"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) {
112246
+ --chat-input-border-color: var(--joy-color-primary-500);
112247
+ }
112248
+
112249
+ :host([variant="primary"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) [part="label"] {
112250
+ color: var(--joy-color-primary-500);
112251
+ }
112252
+
112253
+ :host([variant="primary"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) {
112254
+ --chat-input-border-color: var(--joy-color-primary-500);
112255
+ }
112256
+
112257
+ :host([variant="primary"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) [part="label"] {
112258
+ color: var(--joy-color-primary-500);
112259
+ }
112260
+
112261
+ :host([variant="secondary"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="secondary"]:not([disabled]:not([disabled="false"])):not([invalid]):active), :host([variant="secondary"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) {
112262
+ --chat-input-border-color: var(--joy-color-secondary-500);
112263
+ }
112264
+
112265
+ :host([variant="secondary"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) [part="label"] {
112266
+ color: var(--joy-color-secondary-500);
112267
+ }
112268
+
112269
+ :host([variant="secondary"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) {
112270
+ --chat-input-border-color: var(--joy-color-secondary-500);
112271
+ }
112272
+
112273
+ :host([variant="secondary"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) [part="label"] {
112274
+ color: var(--joy-color-secondary-500);
112275
+ }
112276
+
112277
+ :host([variant="tertiary"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="tertiary"]:not([disabled]:not([disabled="false"])):not([invalid]):active), :host([variant="tertiary"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) {
112278
+ --chat-input-border-color: var(--joy-color-tertiary-500);
112279
+ }
112280
+
112281
+ :host([variant="tertiary"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) [part="label"] {
112282
+ color: var(--joy-color-tertiary-500);
112283
+ }
112284
+
112285
+ :host([variant="tertiary"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) {
112286
+ --chat-input-border-color: var(--joy-color-tertiary-500);
112287
+ }
112288
+
112289
+ :host([variant="tertiary"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) [part="label"] {
112290
+ color: var(--joy-color-tertiary-500);
112291
+ }
112292
+
112293
+ :host([variant="danger"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="danger"]:not([disabled]:not([disabled="false"])):not([invalid]):active), :host([variant="danger"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) {
112294
+ --chat-input-border-color: var(--joy-color-danger-500);
112295
+ }
112296
+
112297
+ :host([variant="danger"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) [part="label"] {
112298
+ color: var(--joy-color-danger-500);
112299
+ }
112300
+
112301
+ :host([variant="danger"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) {
112302
+ --chat-input-border-color: var(--joy-color-danger-500);
112303
+ }
112304
+
112305
+ :host([variant="danger"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) [part="label"] {
112306
+ color: var(--joy-color-danger-500);
112307
+ }
112308
+
112309
+ :host([variant="warning"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="warning"]:not([disabled]:not([disabled="false"])):not([invalid]):active), :host([variant="warning"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) {
112310
+ --chat-input-border-color: var(--joy-color-warning-500);
112311
+ }
112312
+
112313
+ :host([variant="warning"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) [part="label"] {
112314
+ color: var(--joy-color-warning-500);
112315
+ }
112316
+
112317
+ :host([variant="warning"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) {
112318
+ --chat-input-border-color: var(--joy-color-warning-500);
112319
+ }
112320
+
112321
+ :host([variant="warning"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) [part="label"] {
112322
+ color: var(--joy-color-warning-500);
112323
+ }
112324
+
112325
+ :host([variant="success"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="success"]:not([disabled]:not([disabled="false"])):not([invalid]):active), :host([variant="success"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) {
112326
+ --chat-input-border-color: var(--joy-color-success-500);
112327
+ }
112328
+
112329
+ :host([variant="success"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) [part="label"] {
112330
+ color: var(--joy-color-success-500);
112331
+ }
112332
+
112333
+ :host([variant="success"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) {
112334
+ --chat-input-border-color: var(--joy-color-success-500);
112335
+ }
112336
+
112337
+ :host([variant="success"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) [part="label"] {
112338
+ color: var(--joy-color-success-500);
112339
+ }
112340
+
112341
+ :host([variant="info"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="info"]:not([disabled]:not([disabled="false"])):not([invalid]):active), :host([variant="info"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) {
112342
+ --chat-input-border-color: var(--joy-color-info-500);
112343
+ }
112344
+
112345
+ :host([variant="info"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) [part="label"] {
112346
+ color: var(--joy-color-info-500);
112347
+ }
112348
+
112349
+ :host([variant="info"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) {
112350
+ --chat-input-border-color: var(--joy-color-info-500);
112351
+ }
112352
+
112353
+ :host([variant="info"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) [part="label"] {
112354
+ color: var(--joy-color-info-500);
112355
+ }
112356
+
112357
+ :host([variant="highlight"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="highlight"]:not([disabled]:not([disabled="false"])):not([invalid]):active), :host([variant="highlight"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) {
112358
+ --chat-input-border-color: var(--joy-color-highlight-500);
112359
+ }
112360
+
112361
+ :host([variant="highlight"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) [part="label"] {
112362
+ color: var(--joy-color-highlight-500);
112363
+ }
112364
+
112365
+ :host([variant="highlight"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) {
112366
+ --chat-input-border-color: var(--joy-color-highlight-500);
112367
+ }
112368
+
112369
+ :host([variant="highlight"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) [part="label"] {
112370
+ color: var(--joy-color-highlight-500);
112371
+ }
112372
+
112373
+ :host([variant="neutral"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="neutral"]:not([disabled]:not([disabled="false"])):not([invalid]):active), :host([variant="neutral"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) {
112374
+ --chat-input-border-color: var(--joy-color-neutral-500);
112375
+ }
112376
+
112377
+ :host([variant="neutral"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) [part="label"] {
112378
+ color: var(--joy-color-neutral-500);
112379
+ }
112380
+
112381
+ :host([variant="neutral"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) {
112382
+ --chat-input-border-color: var(--joy-color-neutral-500);
112383
+ }
112384
+
112385
+ :host([variant="neutral"]:not([disabled]:not([disabled="false"])):not([invalid]):focus-within) [part="label"] {
112386
+ color: var(--joy-color-neutral-500);
112387
+ }
112388
+
112200
112389
  `;
112201
112390
  }
112202
112391
  function CJ() {
112203
112392
  return m`
112204
112393
  :host {
112394
+ --chat-input-background-color: var(--retro-scheme-background);
112395
+ --chat-input-border-color: var(--retro-scheme-highlight);
112396
+ --chat-input-border-radius: var(--retro-layout-radius);
112397
+ --chat-input-border-style: solid;
112398
+ --chat-input-border-width: var(--retro-layout-thickness);
112205
112399
  --chat-input-emoji-background-color: unset;
112206
112400
  --chat-input-font-family: unset;
112207
112401
  --chat-input-font-letter-spacing: unset;
@@ -112210,14 +112404,20 @@ function CJ() {
112210
112404
  --chat-input-font-text-decoration: unset;
112211
112405
  --chat-input-font-text-transform: unset;
112212
112406
  --chat-input-font-weight: unset;
112407
+ --chat-input-foreground-color: var(--retro-scheme-foreground);
112213
112408
  --chat-input-gap: unset;
112214
112409
  --chat-input-padding-bottom: unset;
112215
112410
  --chat-input-padding-left: unset;
112216
112411
  --chat-input-padding-right: unset;
112217
112412
  --chat-input-padding-top: unset;
112218
- --chat-input-transition-duration: unset;
112219
- --chat-input-transition-mode: unset;
112220
- --chat-input-transition-property: unset;
112413
+ --chat-input-shadow-blur: var(--retro-elevation-semilight-blur-0);
112414
+ --chat-input-shadow-color: var(--retro-elevation-semilight-color-0);
112415
+ --chat-input-shadow-offset-x: var(--retro-elevation-semilight-offset-x-0);
112416
+ --chat-input-shadow-offset-y: var(--retro-elevation-semilight-offset-y-0);
112417
+ --chat-input-shadow-spread: var(--retro-elevation-semilight-spread-0);
112418
+ --chat-input-transition-duration: var(--retro-duration-short);
112419
+ --chat-input-transition-mode: ease;
112420
+ --chat-input-transition-property: background-color, color, border-color, opacity, box-shadow;
112221
112421
  --chat-input-translate: unset;
112222
112422
  }
112223
112423
 
@@ -112248,9 +112448,22 @@ function CJ() {
112248
112448
  }
112249
112449
 
112250
112450
  :host {
112451
+ background-color: var(--chat-input-background-color);
112452
+ color: var(--chat-input-foreground-color);
112453
+ border-color: var(--chat-input-border-color);
112454
+ border-width: var(--chat-input-border-width);
112455
+ border-radius: var(--chat-input-border-radius);
112456
+ border-style: var(--chat-input-border-style);
112457
+ transition-duration: var(--chat-input-transition-duration);
112458
+ transition-timing-function: var(--chat-input-transition-mode);
112459
+ transition-property: var(--chat-input-transition-property);
112251
112460
  padding-top: 1px;
112252
112461
  }
112253
112462
 
112463
+ :host [part="expander"] {
112464
+ --expander-background-color: var(--chat-input-background-color);
112465
+ }
112466
+
112254
112467
  :host [part="expander"]::part(heading) {
112255
112468
  display: none;
112256
112469
  }
@@ -112260,7 +112473,7 @@ function CJ() {
112260
112473
  }
112261
112474
 
112262
112475
  :host [part="expander"] [part="reaction"] [part="emoji"] {
112263
- --emoji-background-color: unset;
112476
+ --emoji-background-color: var(--chat-input-background-color);
112264
112477
  }
112265
112478
 
112266
112479
  :host [part="textBox"] {
@@ -112290,6 +112503,11 @@ function CJ() {
112290
112503
  function AJ() {
112291
112504
  return m`
112292
112505
  :host {
112506
+ --chat-input-background-color: unset;
112507
+ --chat-input-border-color: unset;
112508
+ --chat-input-border-radius: unset;
112509
+ --chat-input-border-style: unset;
112510
+ --chat-input-border-width: unset;
112293
112511
  --chat-input-emoji-background-color: unset;
112294
112512
  --chat-input-font-family: unset;
112295
112513
  --chat-input-font-letter-spacing: unset;
@@ -112298,14 +112516,16 @@ function AJ() {
112298
112516
  --chat-input-font-text-decoration: unset;
112299
112517
  --chat-input-font-text-transform: unset;
112300
112518
  --chat-input-font-weight: unset;
112519
+ --chat-input-foreground-color: unset;
112301
112520
  --chat-input-gap: unset;
112302
112521
  --chat-input-padding-bottom: unset;
112303
112522
  --chat-input-padding-left: unset;
112304
112523
  --chat-input-padding-right: unset;
112305
112524
  --chat-input-padding-top: unset;
112306
- --chat-input-transition-duration: unset;
112307
- --chat-input-transition-mode: unset;
112308
- --chat-input-transition-property: unset;
112525
+ --chat-input-shadow: unset;
112526
+ --chat-input-transition-duration: var(--cosmopolitan-duration-short);
112527
+ --chat-input-transition-mode: ease;
112528
+ --chat-input-transition-property: background-color, color, border-color, opacity, box-shadow;
112309
112529
  --chat-input-translate: unset;
112310
112530
  }
112311
112531
 
@@ -112336,9 +112556,22 @@ function AJ() {
112336
112556
  }
112337
112557
 
112338
112558
  :host {
112559
+ background-color: var(--chat-input-background-color);
112560
+ color: var(--chat-input-foreground-color);
112561
+ border-color: var(--chat-input-border-color);
112562
+ border-width: var(--chat-input-border-width);
112563
+ border-radius: var(--chat-input-border-radius);
112564
+ border-style: var(--chat-input-border-style);
112565
+ transition-duration: var(--chat-input-transition-duration);
112566
+ transition-timing-function: var(--chat-input-transition-mode);
112567
+ transition-property: var(--chat-input-transition-property);
112339
112568
  padding-top: 1px;
112340
112569
  }
112341
112570
 
112571
+ :host [part="expander"] {
112572
+ --expander-background-color: var(--chat-input-background-color);
112573
+ }
112574
+
112342
112575
  :host [part="expander"]::part(heading) {
112343
112576
  display: none;
112344
112577
  }
@@ -112348,7 +112581,7 @@ function AJ() {
112348
112581
  }
112349
112582
 
112350
112583
  :host [part="expander"] [part="reaction"] [part="emoji"] {
112351
- --emoji-background-color: unset;
112584
+ --emoji-background-color: var(--chat-input-background-color);
112352
112585
  }
112353
112586
 
112354
112587
  :host [part="textBox"] {
@@ -112383,7 +112616,7 @@ var Ip = function(o, t, e, r) {
112383
112616
  }, oi = function(o, t) {
112384
112617
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(o, t);
112385
112618
  };
112386
- let od = class extends P(tt(H)) {
112619
+ let od = class extends P(tt(gt(W(H)))) {
112387
112620
  // #region Fields
112388
112621
  _submitted;
112389
112622
  _transformer;
@@ -113784,6 +114017,7 @@ function YJ() {
113784
114017
  --chat-font-weight: var(--joy-typography-body1-font-weight);
113785
114018
  --chat-foreground-color: var(--joy-scheme-foreground);
113786
114019
  --chat-gap: var(--joy-layout-space);
114020
+ --chat-line-thickness: var(--joy-layout-thickness);
113787
114021
  --chat-padding-bottom: var(--joy-layout-space);
113788
114022
  --chat-padding-left: calc(var(--joy-layout-space) * 2);
113789
114023
  --chat-padding-right: calc(var(--joy-layout-space) * 2);
@@ -113872,8 +114106,8 @@ function YJ() {
113872
114106
 
113873
114107
  :host [part="footer"]:before {
113874
114108
  content: "";
114109
+ height: var(--chat-line-thickness);
113875
114110
  background-color: var(--chat-border-color);
113876
- height: 1px;
113877
114111
  position: absolute;
113878
114112
  top: 0;
113879
114113
  left: 0;
@@ -113890,6 +114124,7 @@ function YJ() {
113890
114124
 
113891
114125
  :host([appearance="plain"]) {
113892
114126
  --chat-border-width: 0px;
114127
+ --chat-line-thickness: 0px;
113893
114128
  --chat-border-style: none;
113894
114129
  }
113895
114130
 
@@ -113917,6 +114152,7 @@ function UJ() {
113917
114152
  --chat-font-weight: unset;
113918
114153
  --chat-foreground-color: unset;
113919
114154
  --chat-gap: unset;
114155
+ --chat-line-thickness: var(--retro-layout-thickness);
113920
114156
  --chat-padding-bottom: unset;
113921
114157
  --chat-padding-left: unset;
113922
114158
  --chat-padding-right: unset;
@@ -114005,8 +114241,8 @@ function UJ() {
114005
114241
 
114006
114242
  :host [part="footer"]:before {
114007
114243
  content: "";
114244
+ height: var(--chat-line-thickness);
114008
114245
  background-color: var(--chat-border-color);
114009
- height: 1px;
114010
114246
  position: absolute;
114011
114247
  top: 0;
114012
114248
  left: 0;
@@ -114023,6 +114259,7 @@ function UJ() {
114023
114259
 
114024
114260
  :host([appearance="plain"]) {
114025
114261
  --chat-border-width: 0px;
114262
+ --chat-line-thickness: 0px;
114026
114263
  --chat-border-style: none;
114027
114264
  }
114028
114265
 
@@ -114046,6 +114283,7 @@ function qJ() {
114046
114283
  --chat-font-weight: unset;
114047
114284
  --chat-foreground-color: unset;
114048
114285
  --chat-gap: unset;
114286
+ --chat-line-thickness: var(--cosmopolitan-layout-thickness);
114049
114287
  --chat-padding-bottom: unset;
114050
114288
  --chat-padding-left: unset;
114051
114289
  --chat-padding-right: unset;
@@ -114134,8 +114372,8 @@ function qJ() {
114134
114372
 
114135
114373
  :host [part="footer"]:before {
114136
114374
  content: "";
114375
+ height: var(--chat-line-thickness);
114137
114376
  background-color: var(--chat-border-color);
114138
- height: 1px;
114139
114377
  position: absolute;
114140
114378
  top: 0;
114141
114379
  left: 0;
@@ -114152,6 +114390,7 @@ function qJ() {
114152
114390
 
114153
114391
  :host([appearance="plain"]) {
114154
114392
  --chat-border-width: 0px;
114393
+ --chat-line-thickness: 0px;
114155
114394
  --chat-border-style: none;
114156
114395
  }
114157
114396
 
@@ -159457,6 +159696,7 @@ function wit() {
159457
159696
  :host {
159458
159697
  --app-background-color: var(--joy-scheme-background);
159459
159698
  --app-border-radius: unset;
159699
+ --app-content-offset-top: unset;
159460
159700
  --app-drawer-height: 100%;
159461
159701
  --app-drawer-width: 320px;
159462
159702
  --app-font-family: var(--joy-typography-body1-font-family);
@@ -159534,8 +159774,8 @@ function wit() {
159534
159774
  }
159535
159775
 
159536
159776
  :host [part="content"] {
159777
+ height: calc(100% - var(--app-content-offset-top));
159537
159778
  width: 100%;
159538
- height: 100%;
159539
159779
  overflow: auto;
159540
159780
  }
159541
159781
 
@@ -159548,10 +159788,6 @@ function wit() {
159548
159788
  overflow: auto;
159549
159789
  }
159550
159790
 
159551
- :host([has-header]:not([has-header="false"])) [part="content"] {
159552
- height: calc(100% - 64px);
159553
- }
159554
-
159555
159791
  :host [part="header"] {
159556
159792
  --app-header-line-thickness: var(--app-line-thickness);
159557
159793
  }
@@ -159563,6 +159799,7 @@ function kit() {
159563
159799
  :host {
159564
159800
  --app-background-color: var(--retro-scheme-background);
159565
159801
  --app-border-radius: unset;
159802
+ --app-content-offset-top: unset;
159566
159803
  --app-drawer-height: 100%;
159567
159804
  --app-drawer-width: 320px;
159568
159805
  --app-font-family: var(--retro-typography-body1-font-family);
@@ -159640,8 +159877,8 @@ function kit() {
159640
159877
  }
159641
159878
 
159642
159879
  :host [part="content"] {
159880
+ height: calc(100% - var(--app-content-offset-top));
159643
159881
  width: 100%;
159644
- height: 100%;
159645
159882
  overflow: auto;
159646
159883
  }
159647
159884
 
@@ -159654,10 +159891,6 @@ function kit() {
159654
159891
  overflow: auto;
159655
159892
  }
159656
159893
 
159657
- :host([has-header]:not([has-header="false"])) [part="content"] {
159658
- height: calc(100% - 64px);
159659
- }
159660
-
159661
159894
  `;
159662
159895
  }
159663
159896
  function _it() {
@@ -159665,6 +159898,7 @@ function _it() {
159665
159898
  :host {
159666
159899
  --app-background-color: var(--cosmopolitan-scheme-background);
159667
159900
  --app-border-radius: unset;
159901
+ --app-content-offset-top: unset;
159668
159902
  --app-drawer-height: 100%;
159669
159903
  --app-drawer-width: 320px;
159670
159904
  --app-font-family: var(--cosmopolitan-typography-body1-font-family);
@@ -159742,8 +159976,8 @@ function _it() {
159742
159976
  }
159743
159977
 
159744
159978
  :host [part="content"] {
159979
+ height: calc(100% - var(--app-content-offset-top));
159745
159980
  width: 100%;
159746
- height: 100%;
159747
159981
  overflow: auto;
159748
159982
  }
159749
159983
 
@@ -159756,10 +159990,6 @@ function _it() {
159756
159990
  overflow: auto;
159757
159991
  }
159758
159992
 
159759
- :host([has-header]:not([has-header="false"])) [part="content"] {
159760
- height: calc(100% - 64px);
159761
- }
159762
-
159763
159993
  `;
159764
159994
  }
159765
159995
  var nh = function(o, t, e, r) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breadstone/mosaik-elements-svelte",
3
- "version": "0.0.107",
3
+ "version": "0.0.109",
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.107",
19
- "@breadstone/mosaik-elements-foundation": "^0.0.107",
18
+ "@breadstone/mosaik-elements": "^0.0.109",
19
+ "@breadstone/mosaik-elements-foundation": "^0.0.109",
20
20
  "tslib": "^2.8.1"
21
21
  },
22
22
  "exports": {