@juspay/svelte-ui-components 2.98.0 → 2.98.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.
@@ -165,7 +165,10 @@
165
165
  <span
166
166
  class="builtin-thumb builtin-thumb-placeholder"
167
167
  data-pw={column.testId ? `${column.testId}-thumb-placeholder` : null}
168
- ></span>
168
+ >{typeof data.text1 === 'string' && data.text1
169
+ ? data.text1.charAt(0).toUpperCase()
170
+ : ''}</span
171
+ >
169
172
  {/if}
170
173
  <div class="builtin-two-line {alignmentClass}">
171
174
  <span class="builtin-primary-text">{typeof data.text1 === 'string' ? data.text1 : '-'}</span>
@@ -600,7 +603,15 @@
600
603
  }
601
604
 
602
605
  .builtin-thumb-placeholder {
606
+ display: flex;
607
+ align-items: center;
608
+ justify-content: center;
603
609
  background-color: var(--table-cell-thumb-placeholder-background, #f3f4f6);
610
+ color: var(--table-cell-thumb-placeholder-color, #6b7280);
611
+ font-size: var(--table-cell-thumb-placeholder-font-size, 14px);
612
+ font-weight: 600;
613
+ line-height: 1;
614
+ text-transform: uppercase;
604
615
  }
605
616
 
606
617
  .builtin-tag-array {
@@ -919,6 +919,7 @@
919
919
  }))}
920
920
  value={[String(effectivePageSize)]}
921
921
  disabled={pagination.isLoading ?? false}
922
+ usePortal
922
923
  testId={pagination.testId && `${pagination.testId}-page-size`}
923
924
  onchange={(selectedSizes) => {
924
925
  if (selectedSizes.length > 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juspay/svelte-ui-components",
3
- "version": "2.98.0",
3
+ "version": "2.98.1",
4
4
  "description": "A themeable Svelte 5 UI component library with CSS custom property driven styling",
5
5
  "keywords": [
6
6
  "svelte",