pdm-ui-kit 0.1.33 → 0.1.34
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/fesm2020/pdm-ui-kit.mjs
CHANGED
|
@@ -791,8 +791,12 @@ class PdmCalendarComponent {
|
|
|
791
791
|
}
|
|
792
792
|
dayButtonClasses(cell) {
|
|
793
793
|
return [
|
|
794
|
-
'relative z-10 flex h-8 w-8 appearance-none items-center justify-center rounded-md border-0
|
|
795
|
-
cell.selected
|
|
794
|
+
'relative z-10 flex h-8 w-8 appearance-none items-center justify-center rounded-md border-0 p-0 text-sm leading-5',
|
|
795
|
+
cell.selected
|
|
796
|
+
? 'bg-primary text-primary-foreground'
|
|
797
|
+
: cell.rangeFill
|
|
798
|
+
? 'bg-transparent text-accent-foreground'
|
|
799
|
+
: 'bg-transparent text-foreground',
|
|
796
800
|
cell.muted && !cell.rangeFill ? 'opacity-50' : '',
|
|
797
801
|
cell.disabled ? 'cursor-not-allowed opacity-40' : '',
|
|
798
802
|
!cell.disabled && !this.readonly && !cell.selected ? 'hover:bg-accent/70' : ''
|