@starasia/date 5.2.2 → 5.2.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.
package/dist/date.es.js CHANGED
@@ -244,6 +244,7 @@ const J = `@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wg
244
244
 
245
245
  .sa-calendar-days-today {
246
246
  position: relative;
247
+ isolation: isolate;
247
248
  color: var(--sa-date-brand);
248
249
  font-weight: 700;
249
250
  background: transparent;
@@ -255,13 +256,18 @@ const J = `@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wg
255
256
  top: 50%;
256
257
  left: 50%;
257
258
  transform: translate(-50%, -50%);
258
- width: 32px;
259
- height: 32px;
259
+ width: 26px;
260
+ height: 26px;
260
261
  background: var(--sa-date-brand-secondary);
261
262
  border-radius: 50%;
262
263
  z-index: -1;
263
264
  }
264
265
 
266
+ .sa-calendar-days-number-preivew p.sa-calendar-days-today:hover {
267
+ background: transparent;
268
+ color: var(--sa-date-brand);
269
+ }
270
+
265
271
  /* MONTH STYLING */
266
272
  .sa-calendar-months-preview {
267
273
  display: grid;
@@ -485,8 +491,8 @@ const J = `@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wg
485
491
  height: 26px;
486
492
  }
487
493
  .sa-calendar.sa-calendar-size-sm .sa-calendar-days-today::before {
488
- width: 26px;
489
- height: 26px;
494
+ width: 22px;
495
+ height: 22px;
490
496
  }
491
497
  .sa-calendar.sa-calendar-size-sm .sa-calendar-months-preview p,
492
498
  .sa-calendar.sa-calendar-size-sm .sa-calendar-years-preview p {
@@ -514,8 +520,8 @@ const J = `@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wg
514
520
  height: 36px;
515
521
  }
516
522
  .sa-calendar.sa-calendar-size-lg .sa-calendar-days-today::before {
517
- width: 36px;
518
- height: 36px;
523
+ width: 30px;
524
+ height: 30px;
519
525
  }
520
526
  .sa-calendar.sa-calendar-size-lg .sa-calendar-months-preview p,
521
527
  .sa-calendar.sa-calendar-size-lg .sa-calendar-years-preview p {
package/dist/date.umd.js CHANGED
@@ -242,6 +242,7 @@
242
242
 
243
243
  .sa-calendar-days-today {
244
244
  position: relative;
245
+ isolation: isolate;
245
246
  color: var(--sa-date-brand);
246
247
  font-weight: 700;
247
248
  background: transparent;
@@ -253,13 +254,18 @@
253
254
  top: 50%;
254
255
  left: 50%;
255
256
  transform: translate(-50%, -50%);
256
- width: 32px;
257
- height: 32px;
257
+ width: 26px;
258
+ height: 26px;
258
259
  background: var(--sa-date-brand-secondary);
259
260
  border-radius: 50%;
260
261
  z-index: -1;
261
262
  }
262
263
 
264
+ .sa-calendar-days-number-preivew p.sa-calendar-days-today:hover {
265
+ background: transparent;
266
+ color: var(--sa-date-brand);
267
+ }
268
+
263
269
  /* MONTH STYLING */
264
270
  .sa-calendar-months-preview {
265
271
  display: grid;
@@ -483,8 +489,8 @@
483
489
  height: 26px;
484
490
  }
485
491
  .sa-calendar.sa-calendar-size-sm .sa-calendar-days-today::before {
486
- width: 26px;
487
- height: 26px;
492
+ width: 22px;
493
+ height: 22px;
488
494
  }
489
495
  .sa-calendar.sa-calendar-size-sm .sa-calendar-months-preview p,
490
496
  .sa-calendar.sa-calendar-size-sm .sa-calendar-years-preview p {
@@ -512,8 +518,8 @@
512
518
  height: 36px;
513
519
  }
514
520
  .sa-calendar.sa-calendar-size-lg .sa-calendar-days-today::before {
515
- width: 36px;
516
- height: 36px;
521
+ width: 30px;
522
+ height: 30px;
517
523
  }
518
524
  .sa-calendar.sa-calendar-size-lg .sa-calendar-months-preview p,
519
525
  .sa-calendar.sa-calendar-size-lg .sa-calendar-years-preview p {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@starasia/date",
3
- "version": "5.2.2",
3
+ "version": "5.2.3",
4
4
  "description": "date component for starasia UI",
5
5
  "author": "Prawito Hudoro",
6
6
  "main": "dist/date.umd.js",