nectiasw 0.0.110 → 0.0.112

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,4 @@
1
+ import { default as React } from 'react';
2
+ import { WeekdayBarProps } from './types';
3
+
4
+ export declare const WeekdayBar: React.FunctionComponent<WeekdayBarProps>;
@@ -0,0 +1,10 @@
1
+ interface ButtonProps {
2
+ color: string;
3
+ hoverColor: string;
4
+ activeColor?: string;
5
+ isActive: boolean;
6
+ onClick: () => void;
7
+ }
8
+ export declare const WeekdayButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ButtonProps>> & string;
9
+ export declare const ButtonBar: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
10
+ export {};
@@ -0,0 +1,14 @@
1
+ export interface Day {
2
+ name: string;
3
+ color: string;
4
+ hoverColor: string;
5
+ id: number;
6
+ }
7
+ export interface WeekdayBarProps {
8
+ activeDays: number[];
9
+ days: Day[];
10
+ activeColor?: string;
11
+ hoverColor?: string;
12
+ isActive?: boolean;
13
+ setActiveDays: (activeDays: number[]) => void;
14
+ }
package/dist/index.d.ts CHANGED
@@ -66,6 +66,8 @@ export type { PaginationProps } from './components/Pagination/types';
66
66
  export { Card, DangerTitle, AlertTitle, CheckTitle } from './components/Card';
67
67
  export type { CardProps, CardTitleProps } from './components/Card/types';
68
68
  export { Button } from './components/Button';
69
+ export { WeekdayBar } from './components/Button/variants/Weekday';
70
+ export type { WeekdayBarProps } from './components/Button/variants/Weekday/types';
69
71
  export type { ButtonProps, ButtonStyledProps } from './components/Button/types';
70
72
  export { TotalHours } from './components/Totalhours';
71
73
  export type { TotalHoursProps } from './components/Totalhours';