@juspay/svelte-ui-components 2.18.0 → 2.18.1

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.
@@ -39,7 +39,7 @@
39
39
  </div>
40
40
  {/if}
41
41
  </div>
42
- <div class="additional-content">
42
+ <div class="additional-content" class:hidden={!(typeof additionalContent === 'function')}>
43
43
  {#if typeof additionalContent === 'function'}
44
44
  {@render additionalContent()}
45
45
  {/if}
@@ -82,6 +82,10 @@
82
82
  visibility: var(--toolbar-additional-content-visibility, visible);
83
83
  }
84
84
 
85
+ .hidden {
86
+ display: none;
87
+ }
88
+
85
89
  .back {
86
90
  height: var(--toolbar-back-button-height, 20px);
87
91
  width: var(--toolbar-back-button-width, 20px);
@@ -100,6 +104,6 @@
100
104
  }
101
105
 
102
106
  .text {
103
- font-size: 18px;
107
+ font-size: var(--toolbar-text-font-size, 18px);
104
108
  }
105
109
  </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juspay/svelte-ui-components",
3
- "version": "2.18.0",
3
+ "version": "2.18.1",
4
4
  "description": "A themeable Svelte 5 UI component library with CSS custom property driven styling",
5
5
  "keywords": [
6
6
  "svelte",