@g9tm/lynxcontrols-calendar 2.3.0 → 2.4.0

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.
@@ -0,0 +1,14 @@
1
+ # G9AgendaView
2
+
3
+ `import { G9AgendaView } from '@g9tm/lynxcontrols-calendar';`
4
+
5
+ Days with events, each a sticky header over its events (time, title), on the recycler.
6
+
7
+ Props:
8
+ - `events`: object[]
9
+ - `today`: object
10
+ - `onSelectEvent?`: (event: G9CalendarEvent) => void
11
+ - `allDayText?`: string
12
+ - `empty?`: ReactNode
13
+
14
+ Example: `<G9AgendaView events={events} today={today} />`
@@ -0,0 +1,16 @@
1
+ # G9DateInput
2
+
3
+ `import { G9DateInput } from '@g9tm/lynxcontrols-calendar';`
4
+
5
+ A date typed the way people say it — «فردا», «۱۵ مهر», «2026-03-21», «next friday» — read on blur (parseNaturalDate), with a month to tap under it.
6
+
7
+ Props:
8
+ - `label`: string
9
+ - `onChange`: (date: G9LocalDate | null) => void
10
+ - `today`: object
11
+ - `value`: object
12
+ - `invalidText?`: string
13
+ - `max?`: object
14
+ - `min?`: object
15
+
16
+ Example: `<G9DateInput label="Label" onChange={() => {}} today={today} value={value} />`
@@ -0,0 +1,17 @@
1
+ # G9MiniMonth
2
+
3
+ `import { G9MiniMonth } from '@g9tm/lynxcontrols-calendar';`
4
+
5
+ A compact month: header with arrows, weekday initials, 6×7 days; today ringed, the value filled, a range tinted.
6
+
7
+ Props:
8
+ - `today`: object
9
+ - `value?`: object
10
+ - `onSelect?`: (date: G9LocalDate) => void
11
+ - `marked?`: (date: G9LocalDate) => void
12
+ - `initialMonth?`: object
13
+ - `max?`: object
14
+ - `min?`: object
15
+ - `range?`: object
16
+
17
+ Example: `<G9MiniMonth today={today} />`
@@ -0,0 +1,11 @@
1
+ # G9MonthDayPicker
2
+
3
+ `import { G9MonthDayPicker } from '@g9tm/lynxcontrols-calendar';`
4
+
5
+ Two rows of chips: the twelve months of the culture's calendar, then the chosen month's days.
6
+
7
+ Props:
8
+ - `onChange`: (value: G9MonthDay | null) => void
9
+ - `value`: object
10
+
11
+ Example: `<G9MonthDayPicker onChange={() => {}} value={value} />`
@@ -0,0 +1,15 @@
1
+ # G9MonthView
2
+
3
+ `import { G9MonthView } from '@g9tm/lynxcontrols-calendar';`
4
+
5
+ A full month with each day's first events as chips and «+n» for the rest.
6
+
7
+ Props:
8
+ - `events`: object[]
9
+ - `month`: object
10
+ - `today`: object
11
+ - `onSelectDay?`: (date: G9LocalDate) => void
12
+ - `onSelectEvent?`: (event: G9CalendarEvent) => void
13
+ - `perDay?`: number = 2
14
+
15
+ Example: `<G9MonthView events={events} month={month} today={today} />`
@@ -0,0 +1,12 @@
1
+ # G9RepeatPicker
2
+
3
+ `import { G9RepeatPicker } from '@g9tm/lynxcontrols-calendar';`
4
+
5
+ Never / daily / weekly (with weekday chips) / monthly / yearly.
6
+
7
+ Props:
8
+ - `labels`: object
9
+ - `onChange`: (rule: G9Recurrence | null) => void
10
+ - `value`: object
11
+
12
+ Example: `<G9RepeatPicker labels={labels} onChange={() => {}} value={value} />`
@@ -0,0 +1,17 @@
1
+ # G9TimeGrid
2
+
3
+ `import { G9TimeGrid } from '@g9tm/lynxcontrols-calendar';`
4
+
5
+ Hours down the side, a column per day, timed events packed into lanes where they overlap, the now line.
6
+
7
+ Props:
8
+ - `events`: object[]
9
+ - `start`: object
10
+ - `today`: object
11
+ - `onSelectEvent?`: (event: G9CalendarEvent) => void
12
+ - `onSelectSlot?`: (date: G9LocalDate, minutes: number) => void
13
+ - `hourHeight?`: number
14
+ - `days?`: number
15
+ - `fromHour?`: number
16
+
17
+ Example: `<G9TimeGrid events={events} start={start} today={today} />`
@@ -0,0 +1,17 @@
1
+ # G9ZonePicker
2
+
3
+ `import { G9ZonePicker } from '@g9tm/lynxcontrols-calendar';`
4
+
5
+ A searchable time-zone picker: the rows are windowed, so ~420 zones open as fast as ten.
6
+
7
+ Props:
8
+ - `onChange`: (zone: string) => void
9
+ - `value`: string
10
+ - `zones`: string[]
11
+ - `label?`: string
12
+ - `leadingIcon?`: icon
13
+ - `placeholder?`: string
14
+ - `disabled?`: boolean = false
15
+ - `offsetOf?`: (zone: string) => void
16
+
17
+ Example: `<G9ZonePicker onChange={() => {}} value="value" zones={zones} />`