ngx-np-datepicker 2.7.1 → 2.7.2
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/README.md +18 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -71,9 +71,9 @@ dateSelected
|
|
|
71
71
|
></np-datepicker>
|
|
72
72
|
```
|
|
73
73
|
|
|
74
|
-
###
|
|
74
|
+
### Date Limiter
|
|
75
75
|
|
|
76
|
-
Change date limiter
|
|
76
|
+
Change date limiter using attribute 'lm'
|
|
77
77
|
```
|
|
78
78
|
<np-datepicker
|
|
79
79
|
[(ngModel)]="nepaliDate"
|
|
@@ -81,20 +81,18 @@ Change date limiter to '-' using attribute 'lm'
|
|
|
81
81
|
|
|
82
82
|
```
|
|
83
83
|
|
|
84
|
-
###
|
|
84
|
+
### Change calendar theme
|
|
85
85
|
|
|
86
|
-
|
|
86
|
+
Change theme to light, lightblue, dark
|
|
87
87
|
```
|
|
88
88
|
<np-datepicker
|
|
89
|
-
|
|
90
|
-
label="Date"
|
|
89
|
+
|
|
91
90
|
[(ngModel)]="nepaliDate"
|
|
92
91
|
theme="light"
|
|
93
92
|
></np-datepicker>
|
|
94
93
|
|
|
95
94
|
```
|
|
96
95
|
|
|
97
|
-
|
|
98
96
|
### Material Style with floating label
|
|
99
97
|
|
|
100
98
|
Add material style with floating label
|
|
@@ -108,6 +106,19 @@ Add material style with floating label
|
|
|
108
106
|
|
|
109
107
|
```
|
|
110
108
|
|
|
109
|
+
### Disable future dates
|
|
110
|
+
|
|
111
|
+
Disable future dates
|
|
112
|
+
```
|
|
113
|
+
<np-datepicker
|
|
114
|
+
hasFuture="false"
|
|
115
|
+
[(ngModel)]="nepaliDate"
|
|
116
|
+
theme="light"
|
|
117
|
+
></np-datepicker>
|
|
118
|
+
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
|
|
111
122
|
### License
|
|
112
123
|
|
|
113
124
|
MIT License
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-np-datepicker",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.2",
|
|
4
4
|
"description": "A lightweight and customizable Nepali (Bikram Sambat) date picker for Angular with support for reactive forms, date conversion, and modern UI customization.",
|
|
5
5
|
"homepage": "https://wwwbijay.github.io/angular-nepali-datepicker/",
|
|
6
6
|
"keywords": [
|