bs-ad-calendar-react 1.0.1 → 1.0.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/README.md +12 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
A modern, feature-rich React calendar component supporting both **Bikram Sambat (BS)** and **Gregorian (AD)** calendars with full TypeScript support.
|
|
4
4
|
|
|
5
|
-
[](https://www.npmjs.com/package/bs-ad-calendar)
|
|
5
|
+
[](https://www.npmjs.com/package/bs-ad-calendar-react)
|
|
6
6
|
[](https://opensource.org/licenses/MIT)
|
|
7
7
|
|
|
8
|
+
## 🎯 [Live Demo](https://bibekamatya.github.io/bs-ad-calendar/)
|
|
9
|
+
|
|
8
10
|
## Features
|
|
9
11
|
|
|
10
12
|
✨ **Dual Calendar Support** - Switch between BS (Nepali) and AD (Gregorian) calendars
|
|
@@ -20,15 +22,15 @@ A modern, feature-rich React calendar component supporting both **Bikram Sambat
|
|
|
20
22
|
## Installation
|
|
21
23
|
|
|
22
24
|
```bash
|
|
23
|
-
npm install bs-ad-calendar
|
|
25
|
+
npm install bs-ad-calendar-react
|
|
24
26
|
```
|
|
25
27
|
|
|
26
28
|
```bash
|
|
27
|
-
yarn add bs-ad-calendar
|
|
29
|
+
yarn add bs-ad-calendar-react
|
|
28
30
|
```
|
|
29
31
|
|
|
30
32
|
```bash
|
|
31
|
-
pnpm add bs-ad-calendar
|
|
33
|
+
pnpm add bs-ad-calendar-react
|
|
32
34
|
```
|
|
33
35
|
|
|
34
36
|
## Quick Start
|
|
@@ -36,7 +38,7 @@ pnpm add bs-ad-calendar
|
|
|
36
38
|
### Basic Calendar
|
|
37
39
|
|
|
38
40
|
```tsx
|
|
39
|
-
import { Calendar } from 'bs-ad-calendar'
|
|
41
|
+
import { Calendar } from 'bs-ad-calendar-react'
|
|
40
42
|
|
|
41
43
|
function App() {
|
|
42
44
|
return (
|
|
@@ -51,7 +53,7 @@ function App() {
|
|
|
51
53
|
### DatePicker with Input
|
|
52
54
|
|
|
53
55
|
```tsx
|
|
54
|
-
import { DatePicker } from 'bs-ad-calendar'
|
|
56
|
+
import { DatePicker } from 'bs-ad-calendar-react'
|
|
55
57
|
|
|
56
58
|
function App() {
|
|
57
59
|
return (
|
|
@@ -67,7 +69,7 @@ function App() {
|
|
|
67
69
|
### Range Selection
|
|
68
70
|
|
|
69
71
|
```tsx
|
|
70
|
-
import { Calendar } from 'bs-ad-calendar'
|
|
72
|
+
import { Calendar } from 'bs-ad-calendar-react'
|
|
71
73
|
|
|
72
74
|
function App() {
|
|
73
75
|
return (
|
|
@@ -247,7 +249,7 @@ import type {
|
|
|
247
249
|
DateRange,
|
|
248
250
|
DateOutput,
|
|
249
251
|
CalendarProps
|
|
250
|
-
} from 'bs-ad-calendar'
|
|
252
|
+
} from 'bs-ad-calendar-react'
|
|
251
253
|
```
|
|
252
254
|
|
|
253
255
|
## Contributing
|
|
@@ -261,5 +263,6 @@ MIT © [Bibek Amatya](https://github.com/bibekamatya)
|
|
|
261
263
|
## Links
|
|
262
264
|
|
|
263
265
|
- [GitHub Repository](https://github.com/bibekamatya/bs-ad-calendar)
|
|
264
|
-
- [NPM Package](https://www.npmjs.com/package/bs-ad-calendar)
|
|
266
|
+
- [NPM Package](https://www.npmjs.com/package/bs-ad-calendar-react)
|
|
267
|
+
- [Live Demo](https://bibekamatya.github.io/bs-ad-calendar/)
|
|
265
268
|
- [Report Issues](https://github.com/bibekamatya/bs-ad-calendar/issues)
|