@juspay/svelte-ui-components 1.26.1 → 1.27.0

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.
@@ -15,6 +15,11 @@
15
15
  <div>{properties.text}</div>
16
16
  {/if}
17
17
  </div>
18
+ {#if $$slots.rightContent}
19
+ <div class="right-content">
20
+ <slot name="rightContent" />
21
+ </div>
22
+ {/if}
18
23
  </div>
19
24
  {/if}
20
25
 
@@ -42,6 +47,8 @@
42
47
  }
43
48
 
44
49
  .banner-text {
50
+ flex: var(--banner-text-flex);
51
+ order: var(--banner-text-order);
45
52
  size: var(--banner-text-size, 14px);
46
53
  font-family: var(--banner-font-family, Euclid Circular A);
47
54
  font-style: var(--banner-font-style, normal);
@@ -58,4 +65,9 @@
58
65
  .link-text {
59
66
  color: var(--banner-linktext-color, #0099ff);
60
67
  }
68
+
69
+ .right-content {
70
+ order: var(--banner-right-content-order);
71
+ display: var(--banner-right-content-display, flex);
72
+ }
61
73
  </style>
@@ -10,7 +10,9 @@ declare const __propDef: {
10
10
  } & {
11
11
  [evt: string]: CustomEvent<any>;
12
12
  };
13
- slots: {};
13
+ slots: {
14
+ rightContent: {};
15
+ };
14
16
  exports?: {} | undefined;
15
17
  bindings?: string | undefined;
16
18
  };
@@ -242,6 +242,7 @@ onDestroy(() => {
242
242
  }
243
243
 
244
244
  .select:hover {
245
+ color: var(--select-hover-color, #000);
245
246
  background-color: var(--select-hover-bgcolor, #ffffff);
246
247
  }
247
248
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juspay/svelte-ui-components",
3
- "version": "1.26.1",
3
+ "version": "1.27.0",
4
4
  "scripts": {
5
5
  "dev": "vite dev --host",
6
6
  "build": "vite build && npm run package",