@breadstone/mosaik-elements-svelte 0.0.106 → 0.0.108
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/CHANGELOG.md +13 -0
- package/index.mjs +263 -21
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
## 0.0.108 (2025-08-15)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- **chat:** enhance styling and theming for chat components ([b8f5a8f6c6](https://github.com/RueDeRennes/mosaik/commit/b8f5a8f6c6))
|
|
6
|
+
- **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))
|
|
7
|
+
|
|
8
|
+
## 0.0.107 (2025-08-15)
|
|
9
|
+
|
|
10
|
+
### 🚀 Features
|
|
11
|
+
|
|
12
|
+
- **instructions:** add guideline for using "const object + derived union" pattern chore: update release version to 0.0.106 ([28ffdf76fb](https://github.com/RueDeRennes/mosaik/commit/28ffdf76fb))
|
|
13
|
+
|
|
1
14
|
## 0.0.106 (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({
|
|
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({
|
|
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);
|
|
@@ -58171,7 +58177,10 @@ class x7 {
|
|
|
58171
58177
|
* @public
|
|
58172
58178
|
*/
|
|
58173
58179
|
addTranslations(t, e) {
|
|
58174
|
-
this._translations[t] =
|
|
58180
|
+
this._translations[t] = {
|
|
58181
|
+
...this._translations[t],
|
|
58182
|
+
...e
|
|
58183
|
+
};
|
|
58175
58184
|
}
|
|
58176
58185
|
/**
|
|
58177
58186
|
* Translates the given key.
|
|
@@ -104451,13 +104460,13 @@ let In = class extends P(Ji(Zt(W(qo(At(H)))))) {
|
|
|
104451
104460
|
* @protected
|
|
104452
104461
|
*/
|
|
104453
104462
|
onPositionPropertyChanged(t, e) {
|
|
104454
|
-
this._cachedPositionInPixels = this.percentageToPixels(
|
|
104463
|
+
this._cachedPositionInPixels = e ? this.percentageToPixels(e) : 0, this._positionInPixels = e ? this.percentageToPixels(e) : 0, this.onSplitRepositioned({});
|
|
104455
104464
|
}
|
|
104456
104465
|
/**
|
|
104457
104466
|
* @protected
|
|
104458
104467
|
*/
|
|
104459
104468
|
onPositionInPixelsPropertyChanged(t, e) {
|
|
104460
|
-
this.
|
|
104469
|
+
this._position = e ? this.pixelsToPercentage(e) : 0, this.onSplitRepositioned({});
|
|
104461
104470
|
}
|
|
104462
104471
|
/**
|
|
104463
104472
|
* @protected
|
|
@@ -112045,6 +112054,12 @@ class zJ {
|
|
|
112045
112054
|
}
|
|
112046
112055
|
function SJ(o) {
|
|
112047
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
|
+
`)}
|
|
112048
112063
|
<mosaik-expander part="expander"
|
|
112049
112064
|
id="expander"
|
|
112050
112065
|
.dir="${o.dir}"
|
|
@@ -112111,6 +112126,11 @@ function SJ(o) {
|
|
|
112111
112126
|
function EJ() {
|
|
112112
112127
|
return m`
|
|
112113
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);
|
|
112114
112134
|
--chat-input-emoji-background-color: unset;
|
|
112115
112135
|
--chat-input-font-family: unset;
|
|
112116
112136
|
--chat-input-font-letter-spacing: unset;
|
|
@@ -112119,14 +112139,16 @@ function EJ() {
|
|
|
112119
112139
|
--chat-input-font-text-decoration: unset;
|
|
112120
112140
|
--chat-input-font-text-transform: unset;
|
|
112121
112141
|
--chat-input-font-weight: unset;
|
|
112142
|
+
--chat-input-foreground-color: var(--joy-scheme-foreground);
|
|
112122
112143
|
--chat-input-gap: unset;
|
|
112123
112144
|
--chat-input-padding-bottom: unset;
|
|
112124
112145
|
--chat-input-padding-left: unset;
|
|
112125
112146
|
--chat-input-padding-right: unset;
|
|
112126
112147
|
--chat-input-padding-top: unset;
|
|
112127
|
-
--chat-input-
|
|
112128
|
-
--chat-input-transition-
|
|
112129
|
-
--chat-input-transition-
|
|
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;
|
|
112130
112152
|
--chat-input-translate: unset;
|
|
112131
112153
|
}
|
|
112132
112154
|
|
|
@@ -112157,9 +112179,22 @@ function EJ() {
|
|
|
112157
112179
|
}
|
|
112158
112180
|
|
|
112159
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);
|
|
112160
112191
|
padding-top: 1px;
|
|
112161
112192
|
}
|
|
112162
112193
|
|
|
112194
|
+
:host [part="expander"] {
|
|
112195
|
+
--expander-background-color: var(--chat-input-background-color);
|
|
112196
|
+
}
|
|
112197
|
+
|
|
112163
112198
|
:host [part="expander"]::part(heading) {
|
|
112164
112199
|
display: none;
|
|
112165
112200
|
}
|
|
@@ -112169,7 +112204,7 @@ function EJ() {
|
|
|
112169
112204
|
}
|
|
112170
112205
|
|
|
112171
112206
|
:host [part="expander"] [part="reaction"] [part="emoji"] {
|
|
112172
|
-
--emoji-background-color:
|
|
112207
|
+
--emoji-background-color: var(--chat-input-background-color);
|
|
112173
112208
|
}
|
|
112174
112209
|
|
|
112175
112210
|
:host [part="textBox"] {
|
|
@@ -112194,11 +112229,173 @@ function EJ() {
|
|
|
112194
112229
|
display: flex;
|
|
112195
112230
|
}
|
|
112196
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
|
+
|
|
112197
112389
|
`;
|
|
112198
112390
|
}
|
|
112199
112391
|
function CJ() {
|
|
112200
112392
|
return m`
|
|
112201
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);
|
|
112202
112399
|
--chat-input-emoji-background-color: unset;
|
|
112203
112400
|
--chat-input-font-family: unset;
|
|
112204
112401
|
--chat-input-font-letter-spacing: unset;
|
|
@@ -112207,14 +112404,20 @@ function CJ() {
|
|
|
112207
112404
|
--chat-input-font-text-decoration: unset;
|
|
112208
112405
|
--chat-input-font-text-transform: unset;
|
|
112209
112406
|
--chat-input-font-weight: unset;
|
|
112407
|
+
--chat-input-foreground-color: var(--retro-scheme-foreground);
|
|
112210
112408
|
--chat-input-gap: unset;
|
|
112211
112409
|
--chat-input-padding-bottom: unset;
|
|
112212
112410
|
--chat-input-padding-left: unset;
|
|
112213
112411
|
--chat-input-padding-right: unset;
|
|
112214
112412
|
--chat-input-padding-top: unset;
|
|
112215
|
-
--chat-input-
|
|
112216
|
-
--chat-input-
|
|
112217
|
-
--chat-input-
|
|
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;
|
|
112218
112421
|
--chat-input-translate: unset;
|
|
112219
112422
|
}
|
|
112220
112423
|
|
|
@@ -112245,9 +112448,22 @@ function CJ() {
|
|
|
112245
112448
|
}
|
|
112246
112449
|
|
|
112247
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);
|
|
112248
112460
|
padding-top: 1px;
|
|
112249
112461
|
}
|
|
112250
112462
|
|
|
112463
|
+
:host [part="expander"] {
|
|
112464
|
+
--expander-background-color: var(--chat-input-background-color);
|
|
112465
|
+
}
|
|
112466
|
+
|
|
112251
112467
|
:host [part="expander"]::part(heading) {
|
|
112252
112468
|
display: none;
|
|
112253
112469
|
}
|
|
@@ -112257,7 +112473,7 @@ function CJ() {
|
|
|
112257
112473
|
}
|
|
112258
112474
|
|
|
112259
112475
|
:host [part="expander"] [part="reaction"] [part="emoji"] {
|
|
112260
|
-
--emoji-background-color:
|
|
112476
|
+
--emoji-background-color: var(--chat-input-background-color);
|
|
112261
112477
|
}
|
|
112262
112478
|
|
|
112263
112479
|
:host [part="textBox"] {
|
|
@@ -112287,6 +112503,11 @@ function CJ() {
|
|
|
112287
112503
|
function AJ() {
|
|
112288
112504
|
return m`
|
|
112289
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;
|
|
112290
112511
|
--chat-input-emoji-background-color: unset;
|
|
112291
112512
|
--chat-input-font-family: unset;
|
|
112292
112513
|
--chat-input-font-letter-spacing: unset;
|
|
@@ -112295,14 +112516,16 @@ function AJ() {
|
|
|
112295
112516
|
--chat-input-font-text-decoration: unset;
|
|
112296
112517
|
--chat-input-font-text-transform: unset;
|
|
112297
112518
|
--chat-input-font-weight: unset;
|
|
112519
|
+
--chat-input-foreground-color: unset;
|
|
112298
112520
|
--chat-input-gap: unset;
|
|
112299
112521
|
--chat-input-padding-bottom: unset;
|
|
112300
112522
|
--chat-input-padding-left: unset;
|
|
112301
112523
|
--chat-input-padding-right: unset;
|
|
112302
112524
|
--chat-input-padding-top: unset;
|
|
112303
|
-
--chat-input-
|
|
112304
|
-
--chat-input-transition-
|
|
112305
|
-
--chat-input-transition-
|
|
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;
|
|
112306
112529
|
--chat-input-translate: unset;
|
|
112307
112530
|
}
|
|
112308
112531
|
|
|
@@ -112333,9 +112556,22 @@ function AJ() {
|
|
|
112333
112556
|
}
|
|
112334
112557
|
|
|
112335
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);
|
|
112336
112568
|
padding-top: 1px;
|
|
112337
112569
|
}
|
|
112338
112570
|
|
|
112571
|
+
:host [part="expander"] {
|
|
112572
|
+
--expander-background-color: var(--chat-input-background-color);
|
|
112573
|
+
}
|
|
112574
|
+
|
|
112339
112575
|
:host [part="expander"]::part(heading) {
|
|
112340
112576
|
display: none;
|
|
112341
112577
|
}
|
|
@@ -112345,7 +112581,7 @@ function AJ() {
|
|
|
112345
112581
|
}
|
|
112346
112582
|
|
|
112347
112583
|
:host [part="expander"] [part="reaction"] [part="emoji"] {
|
|
112348
|
-
--emoji-background-color:
|
|
112584
|
+
--emoji-background-color: var(--chat-input-background-color);
|
|
112349
112585
|
}
|
|
112350
112586
|
|
|
112351
112587
|
:host [part="textBox"] {
|
|
@@ -112380,7 +112616,7 @@ var Ip = function(o, t, e, r) {
|
|
|
112380
112616
|
}, oi = function(o, t) {
|
|
112381
112617
|
if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(o, t);
|
|
112382
112618
|
};
|
|
112383
|
-
let od = class extends P(tt(H)) {
|
|
112619
|
+
let od = class extends P(tt(gt(W(H)))) {
|
|
112384
112620
|
// #region Fields
|
|
112385
112621
|
_submitted;
|
|
112386
112622
|
_transformer;
|
|
@@ -113781,6 +114017,7 @@ function YJ() {
|
|
|
113781
114017
|
--chat-font-weight: var(--joy-typography-body1-font-weight);
|
|
113782
114018
|
--chat-foreground-color: var(--joy-scheme-foreground);
|
|
113783
114019
|
--chat-gap: var(--joy-layout-space);
|
|
114020
|
+
--chat-line-thickness: var(--joy-layout-thickness);
|
|
113784
114021
|
--chat-padding-bottom: var(--joy-layout-space);
|
|
113785
114022
|
--chat-padding-left: calc(var(--joy-layout-space) * 2);
|
|
113786
114023
|
--chat-padding-right: calc(var(--joy-layout-space) * 2);
|
|
@@ -113869,8 +114106,8 @@ function YJ() {
|
|
|
113869
114106
|
|
|
113870
114107
|
:host [part="footer"]:before {
|
|
113871
114108
|
content: "";
|
|
114109
|
+
height: var(--chat-line-thickness);
|
|
113872
114110
|
background-color: var(--chat-border-color);
|
|
113873
|
-
height: 1px;
|
|
113874
114111
|
position: absolute;
|
|
113875
114112
|
top: 0;
|
|
113876
114113
|
left: 0;
|
|
@@ -113887,6 +114124,7 @@ function YJ() {
|
|
|
113887
114124
|
|
|
113888
114125
|
:host([appearance="plain"]) {
|
|
113889
114126
|
--chat-border-width: 0px;
|
|
114127
|
+
--chat-line-thickness: 0px;
|
|
113890
114128
|
--chat-border-style: none;
|
|
113891
114129
|
}
|
|
113892
114130
|
|
|
@@ -113914,6 +114152,7 @@ function UJ() {
|
|
|
113914
114152
|
--chat-font-weight: unset;
|
|
113915
114153
|
--chat-foreground-color: unset;
|
|
113916
114154
|
--chat-gap: unset;
|
|
114155
|
+
--chat-line-thickness: var(--retro-layout-thickness);
|
|
113917
114156
|
--chat-padding-bottom: unset;
|
|
113918
114157
|
--chat-padding-left: unset;
|
|
113919
114158
|
--chat-padding-right: unset;
|
|
@@ -114002,8 +114241,8 @@ function UJ() {
|
|
|
114002
114241
|
|
|
114003
114242
|
:host [part="footer"]:before {
|
|
114004
114243
|
content: "";
|
|
114244
|
+
height: var(--chat-line-thickness);
|
|
114005
114245
|
background-color: var(--chat-border-color);
|
|
114006
|
-
height: 1px;
|
|
114007
114246
|
position: absolute;
|
|
114008
114247
|
top: 0;
|
|
114009
114248
|
left: 0;
|
|
@@ -114020,6 +114259,7 @@ function UJ() {
|
|
|
114020
114259
|
|
|
114021
114260
|
:host([appearance="plain"]) {
|
|
114022
114261
|
--chat-border-width: 0px;
|
|
114262
|
+
--chat-line-thickness: 0px;
|
|
114023
114263
|
--chat-border-style: none;
|
|
114024
114264
|
}
|
|
114025
114265
|
|
|
@@ -114043,6 +114283,7 @@ function qJ() {
|
|
|
114043
114283
|
--chat-font-weight: unset;
|
|
114044
114284
|
--chat-foreground-color: unset;
|
|
114045
114285
|
--chat-gap: unset;
|
|
114286
|
+
--chat-line-thickness: var(--cosmopolitan-layout-thickness);
|
|
114046
114287
|
--chat-padding-bottom: unset;
|
|
114047
114288
|
--chat-padding-left: unset;
|
|
114048
114289
|
--chat-padding-right: unset;
|
|
@@ -114131,8 +114372,8 @@ function qJ() {
|
|
|
114131
114372
|
|
|
114132
114373
|
:host [part="footer"]:before {
|
|
114133
114374
|
content: "";
|
|
114375
|
+
height: var(--chat-line-thickness);
|
|
114134
114376
|
background-color: var(--chat-border-color);
|
|
114135
|
-
height: 1px;
|
|
114136
114377
|
position: absolute;
|
|
114137
114378
|
top: 0;
|
|
114138
114379
|
left: 0;
|
|
@@ -114149,6 +114390,7 @@ function qJ() {
|
|
|
114149
114390
|
|
|
114150
114391
|
:host([appearance="plain"]) {
|
|
114151
114392
|
--chat-border-width: 0px;
|
|
114393
|
+
--chat-line-thickness: 0px;
|
|
114152
114394
|
--chat-border-style: none;
|
|
114153
114395
|
}
|
|
114154
114396
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@breadstone/mosaik-elements-svelte",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.108",
|
|
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.
|
|
19
|
-
"@breadstone/mosaik-elements-foundation": "^0.0.
|
|
18
|
+
"@breadstone/mosaik-elements": "^0.0.108",
|
|
19
|
+
"@breadstone/mosaik-elements-foundation": "^0.0.108",
|
|
20
20
|
"tslib": "^2.8.1"
|
|
21
21
|
},
|
|
22
22
|
"exports": {
|