Skip to content

Commit 39163ce

Browse files
author
Hector Arce De Las Heras
committed
Improve codebase structure by reorganizing exports and modifying type definitions
This commit improves the structure of the codebase by reorganizing the exports in the calendar, input, pageControl, and pagination components. Additional types have been exported from various index files, and the type definitions for specific components have been modified. The `header`, `calendar`, and `selector` components in the calendar directory, the `pageControl` component, and the `pagination` component have all had additional types and components exported. The `argtypes` file in the input stories directory and the `IInputUnControlled` type in the input types directory have both been updated to accept `RegExp` in addition to `string`. These changes aim to make the codebase more maintainable and easier to navigate, improving the developer experience.
1 parent bf07e4e commit 39163ce

File tree

11 files changed

+19
-0
lines changed

11 files changed

+19
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
export { Header } from './header';
2+
export * from './types';
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './header';

src/components/calendar/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
export { Calendar } from './calendar';
22
export * from './types';
33
export * from './constants/constants';
4+
export * from './selector';
5+
export * from './list';

src/components/calendar/list/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './types';
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export * from './state';
2+
export * from './listTheme';
3+
export * from './list';
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
export { Selector } from './selector';
2+
export * from './monthSelector';
3+
export * from './types';
4+
export * from './yearSelector';
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './types';
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export * from './monthSelector';
2+
export * from './state';
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export * from './selector';
2+
export * from './state';
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './types';

0 commit comments

Comments
 (0)