@juspay/svelte-ui-components 2.69.1 → 2.69.3

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.
@@ -393,9 +393,15 @@
393
393
  --button-hover-color: var(--calendar-nav-button-hover-background, #f0f0f0);
394
394
  }
395
395
 
396
+ /* Size the columns to the cell, not 1fr, and centre the whole grid. With 1fr
397
+ columns the fixed-width cells sat centred inside wider tracks, leaving
398
+ horizontal gaps between days — which broke the range highlight into
399
+ disconnected boxes instead of one continuous pill. The day-name header must
400
+ use the same track sizing so it stays aligned with the day grid below. */
396
401
  .day-names {
397
402
  display: grid;
398
- grid-template-columns: repeat(7, 1fr);
403
+ grid-template-columns: repeat(7, var(--calendar-cell-size, 36px));
404
+ justify-content: center;
399
405
  text-align: center;
400
406
  }
401
407
 
@@ -408,8 +414,8 @@
408
414
 
409
415
  .grid {
410
416
  display: grid;
411
- grid-template-columns: repeat(7, 1fr);
412
- justify-items: center;
417
+ grid-template-columns: repeat(7, var(--calendar-cell-size, 36px));
418
+ justify-content: center;
413
419
  row-gap: 2px;
414
420
  }
415
421
 
@@ -516,7 +516,7 @@
516
516
  <div bind:this={triggerRef} class="drp-trigger-wrapper">
517
517
  <Button
518
518
  onclick={togglePicker}
519
- ariaLabel="Open date picker"
519
+ ariaLabel={isOpen ? 'Close date picker' : 'Open date picker'}
520
520
  classes="drp-trigger {isOpen ? 'drp-trigger-open' : ''}"
521
521
  >
522
522
  {#if typeof triggerSnippet === 'function'}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juspay/svelte-ui-components",
3
- "version": "2.69.1",
3
+ "version": "2.69.3",
4
4
  "description": "A themeable Svelte 5 UI component library with CSS custom property driven styling",
5
5
  "keywords": [
6
6
  "svelte",