calendar-simple 2.0.0 → 2.1.0-beta.1

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,10 @@
1
+ import { default as React } from 'react';
2
+ import { CalendarProps } from '../../';
3
+ interface ControlPanelProps {
4
+ value: Partial<CalendarProps>;
5
+ onChange: (next: Partial<CalendarProps>) => void;
6
+ fixtureIndex: number;
7
+ onFixtureChange: (i: number) => void;
8
+ }
9
+ export declare function ControlPanel({ onChange, fixtureIndex, onFixtureChange, }: ControlPanelProps): React.JSX.Element;
10
+ export {};
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { default as Calendar } from '../../';
3
+ declare const meta: Meta<typeof Calendar>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Calendar>;
6
+ export declare const KitchenSink: Story;
@@ -0,0 +1,20 @@
1
+ import { CalendarEvent } from '../../';
2
+ export declare const edgeCaseEvents: () => CalendarEvent[];
3
+ export declare const emptyEvents: () => CalendarEvent[];
4
+ export declare const singleTimedEvent: () => CalendarEvent[];
5
+ export declare const singleAllDayEvent: () => CalendarEvent[];
6
+ export declare const allDayBannerStress: () => CalendarEvent[];
7
+ export declare const monthOverflow: () => CalendarEvent[];
8
+ export declare const largeDataset_1k: () => CalendarEvent[];
9
+ export declare const largeDataset_10k: () => CalendarEvent[];
10
+ export declare const dstSpring: () => CalendarEvent[];
11
+ export declare const dstFall: () => CalendarEvent[];
12
+ export declare const yearBoundary: () => CalendarEvent[];
13
+ export declare const monthBoundary: () => CalendarEvent[];
14
+ export declare const unicodeTitles: () => CalendarEvent[];
15
+ export declare const customMetadata: () => CalendarEvent[];
16
+ export declare const htmlInjection: () => CalendarEvent[];
17
+ export declare const fixtureList: Array<{
18
+ name: string;
19
+ fn: () => CalendarEvent[];
20
+ }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "calendar-simple",
3
- "version": "2.0.0",
3
+ "version": "2.1.0-beta.1",
4
4
  "type": "module",
5
5
  "description": "A user-friendly calendar app for viewing, selecting, and managing dates with data management capabilities.",
6
6
  "main": "./dist/index.cjs.js",