design-system-silkhaus 0.0.84 → 0.0.85-beta.2
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.
- package/dist/index.cjs +58 -11
- package/dist/index.d.ts +47 -0
- package/dist/index.js +18532 -1287
- package/dist/style.css +1 -1
- package/package.json +5 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ClassProp } from 'class-variance-authority/types';
|
|
2
2
|
import { default as default_2 } from 'react';
|
|
3
3
|
import { HTMLAttributes } from 'react';
|
|
4
|
+
import { Moment } from 'moment';
|
|
4
5
|
import * as React_2 from 'react';
|
|
5
6
|
import { ReactNode } from 'react';
|
|
6
7
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -20,6 +21,20 @@ export declare interface AccordionProps {
|
|
|
20
21
|
isExpanded?: boolean;
|
|
21
22
|
}
|
|
22
23
|
|
|
24
|
+
export declare const ActionFooter: default_2.ForwardRefExoticComponent<ActionFooterProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
25
|
+
|
|
26
|
+
export declare interface ActionFooterProps {
|
|
27
|
+
className?: string;
|
|
28
|
+
secondaryBtnClick?: () => void;
|
|
29
|
+
primaryBtnClick: () => void;
|
|
30
|
+
primaryBtnDisabled?: boolean;
|
|
31
|
+
secondaryBtnDisabled?: boolean;
|
|
32
|
+
primaryBtnTxt: string | default_2.ReactNode;
|
|
33
|
+
secondaryBtnTxt?: string | default_2.ReactNode;
|
|
34
|
+
thirdColumn?: default_2.ReactNode;
|
|
35
|
+
relevance: 'primary' | 'secondary';
|
|
36
|
+
}
|
|
37
|
+
|
|
23
38
|
export declare const AlertDialog: default_2.ForwardRefExoticComponent<AlertDialogProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
24
39
|
|
|
25
40
|
export declare interface AlertDialogProps {
|
|
@@ -99,6 +114,28 @@ declare const cardVariants: (props?: ({
|
|
|
99
114
|
cardType?: "default" | "shadowCard" | null | undefined;
|
|
100
115
|
} & ClassProp) | undefined) => string;
|
|
101
116
|
|
|
117
|
+
export declare const DateRangePicker: default_2.ForwardRefExoticComponent<DateRangePickerProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
118
|
+
|
|
119
|
+
declare interface DateRangePickerProps {
|
|
120
|
+
startDatePlaceholderText?: string;
|
|
121
|
+
endDatePlaceholderText?: string;
|
|
122
|
+
onDatesChange?: (dates: {
|
|
123
|
+
startDate: Moment | null;
|
|
124
|
+
endDate: Moment | null;
|
|
125
|
+
}) => void;
|
|
126
|
+
initialStartDate?: Moment | null;
|
|
127
|
+
initialEndDate?: Moment | null;
|
|
128
|
+
focusedInput?: 'startDate' | 'endDate' | null;
|
|
129
|
+
onFocusChange?: (focusedInput: 'startDate' | 'endDate' | null) => void;
|
|
130
|
+
lTBannerImage?: string;
|
|
131
|
+
lTBannerTitle?: string | default_2.ReactNode;
|
|
132
|
+
lTBannerDesc?: string | default_2.ReactNode;
|
|
133
|
+
onMobileCloseClick?: () => void;
|
|
134
|
+
onOutsideClick?: (e: any) => void;
|
|
135
|
+
onPrevMonthClick?: (e: any) => void;
|
|
136
|
+
onNextMonthClick?: (e: any) => void;
|
|
137
|
+
}
|
|
138
|
+
|
|
102
139
|
export declare const Dialog: default_2.ForwardRefExoticComponent<DialogProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
103
140
|
|
|
104
141
|
export declare interface DialogProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -153,6 +190,16 @@ export declare interface InputProps extends default_2.InputHTMLAttributes<HTMLIn
|
|
|
153
190
|
captionClass?: string | undefined;
|
|
154
191
|
}
|
|
155
192
|
|
|
193
|
+
export declare const LongTermBanner: default_2.ForwardRefExoticComponent<LongTermBannerProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
194
|
+
|
|
195
|
+
export declare interface LongTermBannerProps {
|
|
196
|
+
image: string;
|
|
197
|
+
title: string | default_2.ReactNode;
|
|
198
|
+
desc: string | default_2.ReactNode;
|
|
199
|
+
size: 'small' | 'large';
|
|
200
|
+
bgColor: string;
|
|
201
|
+
}
|
|
202
|
+
|
|
156
203
|
export declare const RoundedProgressBar: default_2.ForwardRefExoticComponent<RoundedProgressBarProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
157
204
|
|
|
158
205
|
export declare interface RoundedProgressBarProps {
|