@cagatayfdn/flora-components 0.0.44 → 0.0.46
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.js +33 -33
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +14 -0
- package/dist/index.es.js +1603 -1595
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +31 -31
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -546,6 +546,14 @@ declare type InfoBoxListProps = {
|
|
|
546
546
|
className?: string;
|
|
547
547
|
};
|
|
548
548
|
|
|
549
|
+
export declare const InfoDate: (props: InfoDateProps) => JSX_2.Element;
|
|
550
|
+
|
|
551
|
+
declare interface InfoDateProps {
|
|
552
|
+
date: string | Date;
|
|
553
|
+
time?: boolean;
|
|
554
|
+
fromNow?: boolean | any;
|
|
555
|
+
}
|
|
556
|
+
|
|
549
557
|
export declare const InfoText: ({ text, className }: InfoTextProps) => JSX_2.Element;
|
|
550
558
|
|
|
551
559
|
declare type InfoTextProps = {
|
|
@@ -998,6 +1006,12 @@ declare type Props_3 = {
|
|
|
998
1006
|
tooltipText?: string;
|
|
999
1007
|
} & CanProps;
|
|
1000
1008
|
|
|
1009
|
+
export declare function Provider({ children }: Provider_2): JSX_2.Element;
|
|
1010
|
+
|
|
1011
|
+
declare type Provider_2 = {
|
|
1012
|
+
children: React.ReactNode;
|
|
1013
|
+
};
|
|
1014
|
+
|
|
1001
1015
|
export declare const Radio: ({ name, label, isDisabled, checked, isInline, onChange: onChangeProp, setContext, suffixBtn, ...restProps }: RadioProps) => JSX.Element;
|
|
1002
1016
|
|
|
1003
1017
|
export declare const RadioList: ({ name, items, value, label, isInline, setContext, error, className, ...restProps }: RadioListProps) => JSX.Element;
|