@breadstone/mosaik-elements-svelte 0.1.39 → 0.1.40

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 +83 -10
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.1.40 (2026-07-02)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **color-swatch:** add handleClick method to ColorSwatchElement class ([a148cc032d](https://github.com/RueDeRennes/mosaik/commit/a148cc032d))
6
+
1
7
  ## 0.1.39 (2026-06-29)
2
8
 
3
9
  This was a version bump only for mosaik-elements-svelte to align it with other projects, there were no code changes.
package/index.mjs CHANGED
@@ -108096,17 +108096,21 @@ function JU(e) {
108096
108096
  ${U(e.isSticky, () => V`
108097
108097
  <mosaik-sticky part="sticky">
108098
108098
  <slot name="header">
108099
+ ${U(e.header.trim(), () => V`
108099
108100
  <mosaik-text part="header"
108100
108101
  .text="${e.header}"
108101
108102
  .truncate="${!0}"></mosaik-text>
108103
+ `)}
108102
108104
  </slot>
108103
108105
  <slot></slot>
108104
108106
  </mosaik-sticky>
108105
108107
  `, () => V`
108106
108108
  <slot name="header">
108109
+ ${U(e.header.trim(), () => V`
108107
108110
  <mosaik-text part="header"
108108
108111
  .text="${e.header}"
108109
108112
  .truncate="${!0}"></mosaik-text>
108113
+ `)}
108110
108114
  </slot>
108111
108115
  <slot></slot>
108112
108116
  `)}
@@ -108191,13 +108195,38 @@ function YU() {
108191
108195
 
108192
108196
  :host [part="header"] {
108193
108197
  text-transform: uppercase;
108194
- letter-spacing: .5px;
108195
- color: var(--joy-color-neutral-500);
108196
- padding: 16px;
108197
- font-size: 10px;
108198
108198
  font-weight: 700;
108199
108199
  }
108200
108200
 
108201
+ :host slot[name="header"] {
108202
+ font-family: var(--list-item-group-overline-font-family);
108203
+ font-size: var(--list-item-group-overline-font-size);
108204
+ line-height: var(--list-item-group-overline-font-line-height);
108205
+ letter-spacing: var(--list-item-group-overline-font-letter-spacing);
108206
+ -webkit-text-decoration: var(--list-item-group-overline-font-text-decoration);
108207
+ text-decoration: var(--list-item-group-overline-font-text-decoration);
108208
+ text-transform: uppercase;
108209
+ padding-bottom: var(--joy-layout-space);
108210
+ padding-left: calc(var(--joy-layout-space) * 2);
108211
+ padding-right: calc(var(--joy-layout-space) * 2);
108212
+ padding-top: var(--joy-layout-space);
108213
+ font-weight: 700;
108214
+ }
108215
+
108216
+ :host slot[name="header"] mosaik-text {
108217
+ font-family: inherit;
108218
+ font-size: inherit;
108219
+ line-height: inherit;
108220
+ font-weight: inherit;
108221
+ letter-spacing: inherit;
108222
+ text-decoration: inherit;
108223
+ text-transform: inherit;
108224
+ }
108225
+
108226
+ :host [part="header"] {
108227
+ color: var(--joy-color-neutral-500);
108228
+ }
108229
+
108201
108230
  `;
108202
108231
  }
108203
108232
  //#endregion
@@ -108279,12 +108308,34 @@ function XU() {
108279
108308
 
108280
108309
  :host [part="header"] {
108281
108310
  text-transform: uppercase;
108282
- letter-spacing: .5px;
108283
- padding: 16px;
108284
- font-size: 10px;
108285
108311
  font-weight: 700;
108286
108312
  }
108287
108313
 
108314
+ :host slot[name="header"] {
108315
+ font-family: var(--list-item-group-overline-font-family);
108316
+ font-size: var(--list-item-group-overline-font-size);
108317
+ line-height: var(--list-item-group-overline-font-line-height);
108318
+ letter-spacing: var(--list-item-group-overline-font-letter-spacing);
108319
+ -webkit-text-decoration: var(--list-item-group-overline-font-text-decoration);
108320
+ text-decoration: var(--list-item-group-overline-font-text-decoration);
108321
+ text-transform: uppercase;
108322
+ padding-bottom: var(--joy-layout-space);
108323
+ padding-left: calc(var(--joy-layout-space) * 2);
108324
+ padding-right: calc(var(--joy-layout-space) * 2);
108325
+ padding-top: var(--joy-layout-space);
108326
+ font-weight: 700;
108327
+ }
108328
+
108329
+ :host slot[name="header"] mosaik-text {
108330
+ font-family: inherit;
108331
+ font-size: inherit;
108332
+ line-height: inherit;
108333
+ font-weight: inherit;
108334
+ letter-spacing: inherit;
108335
+ text-decoration: inherit;
108336
+ text-transform: inherit;
108337
+ }
108338
+
108288
108339
  `;
108289
108340
  }
108290
108341
  //#endregion
@@ -108366,12 +108417,34 @@ function ZU() {
108366
108417
 
108367
108418
  :host [part="header"] {
108368
108419
  text-transform: uppercase;
108369
- letter-spacing: .5px;
108370
- padding: 16px;
108371
- font-size: 10px;
108372
108420
  font-weight: 700;
108373
108421
  }
108374
108422
 
108423
+ :host slot[name="header"] {
108424
+ font-family: var(--list-item-group-overline-font-family);
108425
+ font-size: var(--list-item-group-overline-font-size);
108426
+ line-height: var(--list-item-group-overline-font-line-height);
108427
+ letter-spacing: var(--list-item-group-overline-font-letter-spacing);
108428
+ -webkit-text-decoration: var(--list-item-group-overline-font-text-decoration);
108429
+ text-decoration: var(--list-item-group-overline-font-text-decoration);
108430
+ text-transform: uppercase;
108431
+ padding-bottom: var(--joy-layout-space);
108432
+ padding-left: calc(var(--joy-layout-space) * 2);
108433
+ padding-right: calc(var(--joy-layout-space) * 2);
108434
+ padding-top: var(--joy-layout-space);
108435
+ font-weight: 700;
108436
+ }
108437
+
108438
+ :host slot[name="header"] mosaik-text {
108439
+ font-family: inherit;
108440
+ font-size: inherit;
108441
+ line-height: inherit;
108442
+ font-weight: inherit;
108443
+ letter-spacing: inherit;
108444
+ text-decoration: inherit;
108445
+ text-transform: inherit;
108446
+ }
108447
+
108375
108448
  `;
108376
108449
  }
108377
108450
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breadstone/mosaik-elements-svelte",
3
- "version": "0.1.39",
3
+ "version": "0.1.40",
4
4
  "description": "Mosaik elements for Svelte.",
5
5
  "license": "MIT",
6
6
  "author": "andre.wehlert <awehlert@breadstone.de> (https://www.breadstone.de)",
@@ -11,8 +11,8 @@
11
11
  "url": "git+ssh://git@github.com/RueDeRennes/mosaik.git"
12
12
  },
13
13
  "dependencies": {
14
- "@breadstone/mosaik-elements": "0.1.39",
15
- "@breadstone/mosaik-elements-foundation": "0.1.39",
14
+ "@breadstone/mosaik-elements": "0.1.40",
15
+ "@breadstone/mosaik-elements-foundation": "0.1.40",
16
16
  "tslib": "2.8.1"
17
17
  },
18
18
  "peerDependencies": {