@hybr1d-tech/charizard 0.6.34 → 0.6.36

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,28 @@
1
+ import { DayPickerSingleProps } from 'react-day-picker';
2
+ import { Placement } from '@popperjs/core';
3
+ import { BUTTON_VARIANT } from '../index';
4
+ import * as React from 'react';
5
+ interface DatePickerProps extends DayPickerSingleProps {
6
+ value?: Date | string;
7
+ onChange: (value?: Date | string) => void;
8
+ mode: 'single';
9
+ variant?: 'default' | 'form';
10
+ /**
11
+ * @default 'do LLL y'
12
+ * 'do LLL y' => 1st Jan 2021
13
+ * 'dd LLL y' => 01 Jan 2021
14
+ * 'yyyy-MM-dd' => 2021-01-01
15
+ * 'dd/MM/yyyy' => 01/01/2021
16
+ */
17
+ displayDateFormat?: 'do LLL y' | 'dd LLL y' | 'yyyy-MM-dd' | 'dd/MM/yyyy';
18
+ disableDatepicker?: boolean;
19
+ errorMsg?: string;
20
+ isError?: boolean;
21
+ buttonVariant?: BUTTON_VARIANT;
22
+ customContainerStyles?: React.CSSProperties;
23
+ popoverConfig?: {
24
+ placement?: Placement;
25
+ };
26
+ }
27
+ export declare function DatePicker({ value, onChange, mode, variant, displayDateFormat, errorMsg, disableDatepicker, disabled, buttonVariant, customContainerStyles, popoverConfig, isError, ...props }: DatePickerProps): import("react/jsx-runtime").JSX.Element;
28
+ export {};
@@ -0,0 +1 @@
1
+ export * from './DatePicker';
@@ -32,3 +32,4 @@ export * from './badge';
32
32
  export * from './pill';
33
33
  export * from './table-v3';
34
34
  export * from './select-v2';
35
+ export * from './skeleton';
@@ -1 +1 @@
1
- export { Skeleton } from './Skeleton';
1
+ export * from './Skeleton';
@@ -0,0 +1,5 @@
1
+ import { Task } from '../../types';
2
+
3
+ export default function Card({ data }: {
4
+ data: Task;
5
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ export default function Header({ headers }: {
2
+ headers: string[];
3
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,20 @@
1
+ export interface Value {
2
+ first_name: string;
3
+ middle_name: string | null;
4
+ last_name: string | null;
5
+ profile_img_url: string;
6
+ work_email: string;
7
+ }
8
+ export interface Detail {
9
+ key: string;
10
+ value: Value | string | null;
11
+ }
12
+ export interface Task {
13
+ id: string;
14
+ type: string;
15
+ name: string;
16
+ date: string;
17
+ details: Detail[];
18
+ status: string;
19
+ details_path: string;
20
+ }