sestek-component 0.0.13 → 0.0.14
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 +21 -21
- package/dist/index.es.d.ts +25 -0
- package/dist/index.es.js +6672 -4049
- package/dist/style.css +1 -1
- package/package.json +3 -2
package/dist/index.es.d.ts
CHANGED
|
@@ -172,6 +172,13 @@ declare const icons: {
|
|
|
172
172
|
Bell: FunctionComponent<SVGAttributes<SVGElement>>;
|
|
173
173
|
Star: FunctionComponent<SVGAttributes<SVGElement>>;
|
|
174
174
|
Chat: FunctionComponent<SVGAttributes<SVGElement>>;
|
|
175
|
+
Fail: FunctionComponent<SVGAttributes<SVGElement>>;
|
|
176
|
+
Enrolled: FunctionComponent<SVGAttributes<SVGElement>>;
|
|
177
|
+
NotEnrolled: FunctionComponent<SVGAttributes<SVGElement>>;
|
|
178
|
+
Unknown: FunctionComponent<SVGAttributes<SVGElement>>;
|
|
179
|
+
Play: FunctionComponent<SVGAttributes<SVGElement>>;
|
|
180
|
+
Cycle: FunctionComponent<SVGAttributes<SVGElement>>;
|
|
181
|
+
Camera: FunctionComponent<SVGAttributes<SVGElement>>;
|
|
175
182
|
};
|
|
176
183
|
|
|
177
184
|
declare interface IIcon extends SVGProps<SVGSVGElement> {
|
|
@@ -367,6 +374,24 @@ export declare interface SidebarProps {
|
|
|
367
374
|
onClickItem: (id: string) => void;
|
|
368
375
|
}
|
|
369
376
|
|
|
377
|
+
export declare const StatusBadge: ({ enrollmentStatus, acceptance, id, onPlay, onCancelled, onRefresh, authenticateStatus }: StatusBadgeProps) => JSX.Element;
|
|
378
|
+
|
|
379
|
+
export declare interface StatusBadgeProps {
|
|
380
|
+
enrollmentStatus: 'enrolled' | 'not_enrolled' | 'cancelled' | 'failed';
|
|
381
|
+
acceptance: {
|
|
382
|
+
status: 'accepted' | 'unknown';
|
|
383
|
+
rate?: number;
|
|
384
|
+
};
|
|
385
|
+
id: string;
|
|
386
|
+
onPlay?: () => void;
|
|
387
|
+
onCancelled?: () => void;
|
|
388
|
+
onRefresh?: () => void;
|
|
389
|
+
authenticateStatus?: {
|
|
390
|
+
isAuthenticating: boolean;
|
|
391
|
+
percentage?: number;
|
|
392
|
+
};
|
|
393
|
+
}
|
|
394
|
+
|
|
370
395
|
export declare const Support: ({ title, className, tabs, onClickClose, }: SupportProps) => JSX.Element;
|
|
371
396
|
|
|
372
397
|
export declare interface SupportProps {
|