@breadstone/mosaik-elements-svelte 0.0.62 → 0.0.63

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 (2) hide show
  1. package/index.mjs +64 -12
  2. package/package.json +3 -3
package/index.mjs CHANGED
@@ -95061,7 +95061,7 @@ function fV() {
95061
95061
  display: none !important;
95062
95062
  }
95063
95063
 
95064
- :host [part="root"] {
95064
+ :host {
95065
95065
  font-family: var(--menu-item-font-family);
95066
95066
  font-size: var(--menu-item-font-size);
95067
95067
  line-height: var(--menu-item-font-line-height);
@@ -95073,6 +95073,11 @@ function fV() {
95073
95073
  transition-duration: var(--menu-item-transition-duration);
95074
95074
  transition-timing-function: var(--menu-item-transition-mode);
95075
95075
  transition-property: var(--menu-item-transition-property);
95076
+ }
95077
+
95078
+ :host [part="root"] {
95079
+ transition-duration: inherit;
95080
+ transition-timing-function: inherit;
95076
95081
  background-color: var(--menu-item-background-color);
95077
95082
  color: var(--menu-item-foreground-color);
95078
95083
  border: var(--menu-item-border-width) var(--menu-item-border-style) var(--menu-item-border-color);
@@ -95081,6 +95086,7 @@ function fV() {
95081
95086
  min-height: var(--menu-item-height);
95082
95087
  gap: var(--menu-item-gap);
95083
95088
  align-items: center;
95089
+ transition-property: inherit;
95084
95090
  display: flex;
95085
95091
  position: relative;
95086
95092
  overflow: hidden;
@@ -95246,7 +95252,7 @@ function bV() {
95246
95252
  display: none !important;
95247
95253
  }
95248
95254
 
95249
- :host [part="root"] {
95255
+ :host {
95250
95256
  font-family: var(--menu-item-font-family);
95251
95257
  font-size: var(--menu-item-font-size);
95252
95258
  line-height: var(--menu-item-font-line-height);
@@ -95258,6 +95264,11 @@ function bV() {
95258
95264
  transition-duration: var(--menu-item-transition-duration);
95259
95265
  transition-timing-function: var(--menu-item-transition-mode);
95260
95266
  transition-property: var(--menu-item-transition-property);
95267
+ }
95268
+
95269
+ :host [part="root"] {
95270
+ transition-duration: inherit;
95271
+ transition-timing-function: inherit;
95261
95272
  background-color: var(--menu-item-background-color);
95262
95273
  color: var(--menu-item-foreground-color);
95263
95274
  border: var(--menu-item-border-width) var(--menu-item-border-style) var(--menu-item-border-color);
@@ -95266,6 +95277,7 @@ function bV() {
95266
95277
  min-height: var(--menu-item-height);
95267
95278
  gap: var(--menu-item-gap);
95268
95279
  align-items: center;
95280
+ transition-property: inherit;
95269
95281
  display: flex;
95270
95282
  position: relative;
95271
95283
  overflow: hidden;
@@ -95386,7 +95398,7 @@ function mV() {
95386
95398
  display: none !important;
95387
95399
  }
95388
95400
 
95389
- :host [part="root"] {
95401
+ :host {
95390
95402
  font-family: var(--menu-item-font-family);
95391
95403
  font-size: var(--menu-item-font-size);
95392
95404
  line-height: var(--menu-item-font-line-height);
@@ -95398,6 +95410,11 @@ function mV() {
95398
95410
  transition-duration: var(--menu-item-transition-duration);
95399
95411
  transition-timing-function: var(--menu-item-transition-mode);
95400
95412
  transition-property: var(--menu-item-transition-property);
95413
+ }
95414
+
95415
+ :host [part="root"] {
95416
+ transition-duration: inherit;
95417
+ transition-timing-function: inherit;
95401
95418
  background-color: var(--menu-item-background-color);
95402
95419
  color: var(--menu-item-foreground-color);
95403
95420
  border: var(--menu-item-border-width) var(--menu-item-border-style) var(--menu-item-border-color);
@@ -95406,6 +95423,7 @@ function mV() {
95406
95423
  min-height: var(--menu-item-height);
95407
95424
  gap: var(--menu-item-gap);
95408
95425
  align-items: center;
95426
+ transition-property: inherit;
95409
95427
  display: flex;
95410
95428
  position: relative;
95411
95429
  overflow: hidden;
@@ -156517,13 +156535,17 @@ let Qx = zn;
156517
156535
  function $rt(o) {
156518
156536
  return k`
156519
156537
  <div part="root">
156538
+ <!-- todo: add busy indicator here -->
156520
156539
  <mosaik-toolbar part="toolbar"
156521
156540
  .appearance="${J.Plain}"
156522
156541
  .dir="${o.dir}"
156523
156542
  .lang="${o.lang}">
156524
- <slot slot="start" name="menu"></slot>
156525
- <slot slot="title" name="logo"></slot>
156526
- <slot slot="end" name="actions"></slot>
156543
+ <slot slot="start"
156544
+ name="menu"></slot>
156545
+ <slot slot="title"
156546
+ name="logo"></slot>
156547
+ <slot slot="end"
156548
+ name="actions"></slot>
156527
156549
  </mosaik-toolbar>
156528
156550
  </div>
156529
156551
  `;
@@ -156616,6 +156638,36 @@ function Trt() {
156616
156638
  right: 0;
156617
156639
  }
156618
156640
 
156641
+ :host([data-shadow]) [part="toolbar"] {
156642
+ box-shadow: var(--joy-elevation-regular);
156643
+ }
156644
+
156645
+ :host([data-visible]) {
156646
+ opacity: 1;
156647
+ visibility: visible;
156648
+ top: 0;
156649
+ }
156650
+
156651
+ :host([data-fixed]) {
156652
+ z-index: 1000;
156653
+ position: sticky;
156654
+ top: 24px;
156655
+ left: 24px;
156656
+ right: 0;
156657
+ }
156658
+
156659
+ :host([data-animated]), :host([data-animated]) [part="toolbar"] {
156660
+ transition-duration: var(--app-header-transition-duration);
156661
+ transition-timing-function: var(--app-header-transition-mode);
156662
+ transition-property: var(--app-header-transition-property);
156663
+ }
156664
+
156665
+ :host(:not([data-visible])) {
156666
+ top: calc((64px + env(safe-area-inset-top)) * -1);
156667
+ opacity: 0;
156668
+ visibility: hidden;
156669
+ }
156670
+
156619
156671
  `;
156620
156672
  }
156621
156673
  function Prt() {
@@ -156942,10 +156994,10 @@ function Lrt() {
156942
156994
  }
156943
156995
 
156944
156996
  :host [part="nav"] {
156997
+ height: 100%;
156998
+ width: var(--drawer-width);
156945
156999
  flex-direction: column;
156946
157000
  flex: 1;
156947
- width: 320px;
156948
- height: 100%;
156949
157001
  display: flex;
156950
157002
  overflow: auto;
156951
157003
  }
@@ -157033,10 +157085,10 @@ function Irt() {
157033
157085
  }
157034
157086
 
157035
157087
  :host [part="nav"] {
157088
+ height: 100%;
157089
+ width: var(--drawer-width);
157036
157090
  flex-direction: column;
157037
157091
  flex: 1;
157038
- width: 320px;
157039
- height: 100%;
157040
157092
  display: flex;
157041
157093
  overflow: auto;
157042
157094
  }
@@ -157124,10 +157176,10 @@ function Hrt() {
157124
157176
  }
157125
157177
 
157126
157178
  :host [part="nav"] {
157179
+ height: 100%;
157180
+ width: var(--drawer-width);
157127
157181
  flex-direction: column;
157128
157182
  flex: 1;
157129
- width: 320px;
157130
- height: 100%;
157131
157183
  display: flex;
157132
157184
  overflow: auto;
157133
157185
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breadstone/mosaik-elements-svelte",
3
- "version": "0.0.62",
3
+ "version": "0.0.63",
4
4
  "description": "Mosaik elements for Svelte.",
5
5
  "license": "MIT",
6
6
  "author": "andre.wehlert <awehlert@breadstone.de> (https://www.breadstone.de)",
@@ -14,8 +14,8 @@
14
14
  "svelte": "^5.34.7"
15
15
  },
16
16
  "dependencies": {
17
- "@breadstone/mosaik-elements": "^0.0.62",
18
- "@breadstone/mosaik-elements-foundation": "^0.0.62",
17
+ "@breadstone/mosaik-elements": "^0.0.63",
18
+ "@breadstone/mosaik-elements-foundation": "^0.0.63",
19
19
  "tslib": "^2.8.1"
20
20
  },
21
21
  "exports": {