@commercelayer/app-elements 0.0.2 → 0.0.4
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/{Async-3438eb73.js → Async-211432aa.js} +2 -2
- package/dist/{InputDateComponent-5ebcc687.js → InputDateComponent-1bd24e52.js} +2724 -3944
- package/dist/{Select-78485e35.js → Select-9632cb14.js} +2 -2
- package/dist/helpers/date.d.ts +14 -4
- package/dist/main-a1e1dc18.js +6615 -0
- package/dist/main.d.ts +1 -1
- package/dist/main.js +32 -32
- package/dist/{overrides-f8861d03.js → overrides-18663ab9.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/ui/atoms/Avatar.d.ts +25 -0
- package/dist/ui/atoms/FlexRow.d.ts +14 -0
- package/dist/ui/atoms/Text.d.ts +1 -1
- package/dist/ui/lists/ListItem.d.ts +16 -6
- package/package.json +3 -1
- package/dist/main-2d19ae00.js +0 -5009
- package/dist/ui/lists/ListItemTask.d.ts +0 -33
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { StatusUI } from '../atoms/StatusIcon';
|
|
3
|
-
export interface ListItemTaskProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
/**
|
|
5
|
-
* define the status to show the proper icon
|
|
6
|
-
*/
|
|
7
|
-
status: StatusUI;
|
|
8
|
-
/**
|
|
9
|
-
* Only accepted if status is `progress'
|
|
10
|
-
*/
|
|
11
|
-
progressPercentage?: number;
|
|
12
|
-
/**
|
|
13
|
-
* Main text to show
|
|
14
|
-
*/
|
|
15
|
-
title: string;
|
|
16
|
-
/**
|
|
17
|
-
* Optional text to display below the title
|
|
18
|
-
*/
|
|
19
|
-
description?: React.ReactNode;
|
|
20
|
-
/**
|
|
21
|
-
* When set, this will render a `Cancel` button to cancel the current task
|
|
22
|
-
*/
|
|
23
|
-
onCancelRequest?: () => void;
|
|
24
|
-
/**
|
|
25
|
-
* Disable hover effect
|
|
26
|
-
*/
|
|
27
|
-
noHover?: boolean;
|
|
28
|
-
}
|
|
29
|
-
declare function ListItemTask({ status, progressPercentage, title, onCancelRequest, description, className, noHover, ...rest }: ListItemTaskProps): JSX.Element;
|
|
30
|
-
declare namespace ListItemTask {
|
|
31
|
-
var displayName: string;
|
|
32
|
-
}
|
|
33
|
-
export { ListItemTask };
|