sag_components 2.0.0-beta136 → 2.0.0-beta138
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.d.ts +4 -18
- package/dist/index.esm.js +74 -90
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +74 -90
- package/dist/index.js.map +1 -1
- package/dist/types/components/QuickFilterCards/QuickFilterCards.d.ts +6 -0
- package/dist/types/components/{EventStatusCards/EventStatusCards.stories.d.ts → QuickFilterCards/QuickFilterCards.stories.d.ts} +4 -19
- package/dist/types/components/{EventStatusCards/EventStatusCards.style.d.ts → QuickFilterCards/QuickFilterCards.style.d.ts} +2 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/types/components/EventStatusCards/EventStatusCards.d.ts +0 -21
|
@@ -3,14 +3,14 @@ declare namespace _default {
|
|
|
3
3
|
export { EventStatusCards as component };
|
|
4
4
|
export const tags: string[];
|
|
5
5
|
export namespace argTypes {
|
|
6
|
-
namespace
|
|
6
|
+
namespace data {
|
|
7
7
|
const name: string;
|
|
8
8
|
const description: string;
|
|
9
9
|
namespace control {
|
|
10
10
|
const type: any;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
-
namespace
|
|
13
|
+
namespace onCardToggle {
|
|
14
14
|
const name_1: string;
|
|
15
15
|
export { name_1 as name };
|
|
16
16
|
const description_1: string;
|
|
@@ -21,7 +21,7 @@ declare namespace _default {
|
|
|
21
21
|
}
|
|
22
22
|
export { control_1 as control };
|
|
23
23
|
}
|
|
24
|
-
namespace
|
|
24
|
+
namespace width {
|
|
25
25
|
const name_2: string;
|
|
26
26
|
export { name_2 as name };
|
|
27
27
|
const description_2: string;
|
|
@@ -32,26 +32,11 @@ declare namespace _default {
|
|
|
32
32
|
}
|
|
33
33
|
export { control_2 as control };
|
|
34
34
|
}
|
|
35
|
-
namespace width {
|
|
36
|
-
const name_3: string;
|
|
37
|
-
export { name_3 as name };
|
|
38
|
-
const description_3: string;
|
|
39
|
-
export { description_3 as description };
|
|
40
|
-
export namespace control_3 {
|
|
41
|
-
const type_3: string;
|
|
42
|
-
export { type_3 as type };
|
|
43
|
-
}
|
|
44
|
-
export { control_3 as control };
|
|
45
|
-
}
|
|
46
35
|
}
|
|
47
36
|
}
|
|
48
37
|
export default _default;
|
|
49
38
|
export const Default: any;
|
|
50
39
|
export const PartialSelection: any;
|
|
51
|
-
export const NoSelection: any;
|
|
52
|
-
export const LargeNumbers: any;
|
|
53
40
|
export const ZeroValues: any;
|
|
54
|
-
export const Disabled: any;
|
|
55
41
|
export const CustomWidth: any;
|
|
56
|
-
|
|
57
|
-
import EventStatusCards from "./EventStatusCards";
|
|
42
|
+
import EventStatusCards from "./QuickFilterCards";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export const CardsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
2
|
export const StatusCard: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
3
|
export const CardHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
|
+
export const CheckmarkContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
5
|
export const Circle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
6
|
export const CardTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>> & string;
|
|
6
7
|
export const Checkmark: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never>> & string;
|
|
7
8
|
export const CardContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
8
|
-
export const StatusCount: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<
|
|
9
|
+
export const StatusCount: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -57,5 +57,5 @@ export { default as ModalDrawer } from "./components/ModalDrawer/ModalDrawer.jsx
|
|
|
57
57
|
export { default as OverlayDropdown } from "./components/OverlayDropdown/OverlayDropdown.jsx";
|
|
58
58
|
export { default as MessageBox } from "./components/MessageBox/MessageBox.jsx";
|
|
59
59
|
export { default as ToasterMessageBox } from "./components/ToasterMessageBox/ToasterMessageBox.jsx";
|
|
60
|
-
export { default as EventStatusCards } from "./components/
|
|
60
|
+
export { default as EventStatusCards } from "./components/QuickFilterCards/QuickFilterCards.jsx";
|
|
61
61
|
export { default as RangePicker } from "./components/RangePicker/RangePicker.jsx";
|
package/package.json
CHANGED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export function EventStatusCards({ statusData, onStatusToggle, disabled, width, }: {
|
|
2
|
-
statusData?: any[];
|
|
3
|
-
onStatusToggle?: () => void;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
width?: string;
|
|
6
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export namespace EventStatusCards {
|
|
8
|
-
namespace propTypes {
|
|
9
|
-
const statusData: PropTypes.Requireable<PropTypes.InferProps<{
|
|
10
|
-
status: PropTypes.Validator<string>;
|
|
11
|
-
count: PropTypes.Validator<number>;
|
|
12
|
-
checked: PropTypes.Validator<boolean>;
|
|
13
|
-
color: PropTypes.Validator<string>;
|
|
14
|
-
}>[]>;
|
|
15
|
-
const onStatusToggle: PropTypes.Requireable<(...args: any[]) => any>;
|
|
16
|
-
const disabled: PropTypes.Requireable<boolean>;
|
|
17
|
-
const width: PropTypes.Requireable<string>;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
export default EventStatusCards;
|
|
21
|
-
import PropTypes from "prop-types";
|