sag_components 2.0.0-beta164 → 2.0.0-beta166
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 -2
- package/dist/index.esm.js +95 -23
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +95 -22
- package/dist/index.js.map +1 -1
- package/dist/types/components/ModalDrawer/ModalDrawer.d.ts +1 -1
- package/dist/types/components/Tag/Tag.d.ts +2 -0
- package/dist/types/components/Tag/Tag.stories.d.ts +112 -0
- package/dist/types/components/Tag/Tag.style.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @param {React.ReactNode} props.children - Drawer content
|
|
7
7
|
* @param {number} [props.widthPercent=70] - Width of the drawer as a percentage of the viewport width
|
|
8
8
|
*/
|
|
9
|
-
export default function ModalDrawer({ open, onClose, children, widthPercent }: {
|
|
9
|
+
export default function ModalDrawer({ open, height, onClose, children, widthPercent }: {
|
|
10
10
|
open: boolean;
|
|
11
11
|
onClose: Function;
|
|
12
12
|
children: React.ReactNode;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
export const title: string;
|
|
3
|
+
export { Tag as component };
|
|
4
|
+
export const tags: string[];
|
|
5
|
+
export namespace argTypes {
|
|
6
|
+
namespace type {
|
|
7
|
+
const name: string;
|
|
8
|
+
const options: string[];
|
|
9
|
+
namespace control {
|
|
10
|
+
const type_1: string;
|
|
11
|
+
export { type_1 as type };
|
|
12
|
+
}
|
|
13
|
+
const description: string;
|
|
14
|
+
}
|
|
15
|
+
namespace size {
|
|
16
|
+
const name_1: string;
|
|
17
|
+
export { name_1 as name };
|
|
18
|
+
export namespace control_1 {
|
|
19
|
+
const type_2: string;
|
|
20
|
+
export { type_2 as type };
|
|
21
|
+
}
|
|
22
|
+
export { control_1 as control };
|
|
23
|
+
const options_1: string[];
|
|
24
|
+
export { options_1 as options };
|
|
25
|
+
const description_1: string;
|
|
26
|
+
export { description_1 as description };
|
|
27
|
+
}
|
|
28
|
+
namespace text {
|
|
29
|
+
const name_2: string;
|
|
30
|
+
export { name_2 as name };
|
|
31
|
+
export namespace control_2 {
|
|
32
|
+
const type_3: string;
|
|
33
|
+
export { type_3 as type };
|
|
34
|
+
}
|
|
35
|
+
export { control_2 as control };
|
|
36
|
+
const description_2: string;
|
|
37
|
+
export { description_2 as description };
|
|
38
|
+
}
|
|
39
|
+
namespace backgroundColor {
|
|
40
|
+
const name_3: string;
|
|
41
|
+
export { name_3 as name };
|
|
42
|
+
export namespace control_3 {
|
|
43
|
+
const type_4: string;
|
|
44
|
+
export { type_4 as type };
|
|
45
|
+
}
|
|
46
|
+
export { control_3 as control };
|
|
47
|
+
const description_3: string;
|
|
48
|
+
export { description_3 as description };
|
|
49
|
+
}
|
|
50
|
+
namespace borderColor {
|
|
51
|
+
const name_4: string;
|
|
52
|
+
export { name_4 as name };
|
|
53
|
+
export namespace control_4 {
|
|
54
|
+
const type_5: string;
|
|
55
|
+
export { type_5 as type };
|
|
56
|
+
}
|
|
57
|
+
export { control_4 as control };
|
|
58
|
+
const description_4: string;
|
|
59
|
+
export { description_4 as description };
|
|
60
|
+
}
|
|
61
|
+
namespace textColor {
|
|
62
|
+
const name_5: string;
|
|
63
|
+
export { name_5 as name };
|
|
64
|
+
export namespace control_5 {
|
|
65
|
+
const type_6: string;
|
|
66
|
+
export { type_6 as type };
|
|
67
|
+
}
|
|
68
|
+
export { control_5 as control };
|
|
69
|
+
const description_5: string;
|
|
70
|
+
export { description_5 as description };
|
|
71
|
+
}
|
|
72
|
+
namespace width {
|
|
73
|
+
const name_6: string;
|
|
74
|
+
export { name_6 as name };
|
|
75
|
+
export namespace control_6 {
|
|
76
|
+
const type_7: string;
|
|
77
|
+
export { type_7 as type };
|
|
78
|
+
}
|
|
79
|
+
export { control_6 as control };
|
|
80
|
+
const description_6: string;
|
|
81
|
+
export { description_6 as description };
|
|
82
|
+
}
|
|
83
|
+
namespace height {
|
|
84
|
+
const name_7: string;
|
|
85
|
+
export { name_7 as name };
|
|
86
|
+
export namespace control_7 {
|
|
87
|
+
const type_8: string;
|
|
88
|
+
export { type_8 as type };
|
|
89
|
+
}
|
|
90
|
+
export { control_7 as control };
|
|
91
|
+
const description_7: string;
|
|
92
|
+
export { description_7 as description };
|
|
93
|
+
}
|
|
94
|
+
namespace borderRadius {
|
|
95
|
+
const name_8: string;
|
|
96
|
+
export { name_8 as name };
|
|
97
|
+
export namespace control_8 {
|
|
98
|
+
const type_9: string;
|
|
99
|
+
export { type_9 as type };
|
|
100
|
+
}
|
|
101
|
+
export { control_8 as control };
|
|
102
|
+
const description_8: string;
|
|
103
|
+
export { description_8 as description };
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
export default _default;
|
|
108
|
+
export const Pending: any;
|
|
109
|
+
export const Received: any;
|
|
110
|
+
export const Approved: any;
|
|
111
|
+
export const Canceled: any;
|
|
112
|
+
import { Tag } from "./Tag";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const StatusCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -71,3 +71,4 @@ export { default as MessageBox } from "./components/MessageBox/MessageBox.jsx";
|
|
|
71
71
|
export { default as ToasterMessageBox } from "./components/ToasterMessageBox/ToasterMessageBox.jsx";
|
|
72
72
|
export { default as QuickFilterCards } from "./components/QuickFilterCards/QuickFilterCards.jsx";
|
|
73
73
|
export { default as RangePicker } from "./components/RangePicker/RangePicker.jsx";
|
|
74
|
+
export { default as Tag } from "./components/Tag/Tag.jsx";
|