sag_components 2.0.0-beta73 → 2.0.0-beta74
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 +126 -153
- package/dist/index.esm.js +786 -2340
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +359 -1918
- package/dist/index.js.map +1 -1
- package/dist/types/components/BannerEventBox/BannerEventBox.d.ts +37 -0
- package/dist/types/components/BannerEventBoxList/BannerEventBoxList.d.ts +69 -0
- package/dist/types/components/BannerEventBoxList/BannerEventBoxList.style.d.ts +12 -13
- package/dist/types/components/BarChart/BarChart.d.ts +0 -3
- package/dist/types/components/BarChartTwoRows/BarChartTwoRows.d.ts +80 -0
- package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.d.ts +64 -0
- package/dist/types/components/CollapseData/CollapseData.d.ts +0 -6
- package/dist/types/components/MonthPicker/MonthPicker.d.ts +2 -1
- package/dist/types/components/MonthPicker/MonthPopupPicker.d.ts +2 -1
- package/dist/types/components/MonthPicker/MonthPopupPicker.style.d.ts +7 -0
- package/dist/types/components/QuarterPicker/QuarterPicker.d.ts +2 -1
- package/dist/types/components/QuarterPicker/QuarterPopupPicker.d.ts +2 -1
- package/dist/types/components/QuarterPicker/QuarterPopupPicker.style.d.ts +6 -0
- package/dist/types/components/QuickFilter/QuickFilter.stories.d.ts +154 -99
- package/dist/types/components/TabMenu/TabMenu.d.ts +57 -1
- package/dist/types/components/TwoBarCharts/TwoBarCharts.d.ts +0 -3
- package/dist/types/components/TwoBarCharts/TwoBarCharts.stories.d.ts +0 -8
- package/dist/types/index.d.ts +0 -5
- package/package.json +1 -1
- package/dist/types/icons/BarcodeIcon.d.ts +0 -6
- package/dist/types/icons/ChevronIcon.d.ts +0 -7
- package/dist/types/icons/FolderIcon.d.ts +0 -6
- package/dist/types/icons/PeopleIcon.d.ts +0 -6
- /package/dist/types/components/{SagIconButton → QuickFilterDropdownSingle/SagIconButton}/SagIconButton.d.ts +0 -0
- /package/dist/types/components/{SagIconButton → QuickFilterDropdownSingle/SagIconButton}/SagIconButton.stories.d.ts +0 -0
- /package/dist/types/components/{SagIconButton → QuickFilterDropdownSingle/SagIconButton}/SagIconButton.style.d.ts +0 -0
|
@@ -18,168 +18,223 @@ declare namespace _default {
|
|
|
18
18
|
export { type_1 as type };
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
namespace
|
|
21
|
+
namespace labelColor {
|
|
22
22
|
const name_2: string;
|
|
23
23
|
export { name_2 as name };
|
|
24
24
|
const description_1: string;
|
|
25
25
|
export { description_1 as description };
|
|
26
|
+
export namespace control_1 {
|
|
27
|
+
const type_2: string;
|
|
28
|
+
export { type_2 as type };
|
|
29
|
+
export const presetColors: string[];
|
|
30
|
+
}
|
|
31
|
+
export { control_1 as control };
|
|
26
32
|
}
|
|
27
|
-
namespace
|
|
33
|
+
namespace checkBoxColor {
|
|
28
34
|
const name_3: string;
|
|
29
35
|
export { name_3 as name };
|
|
30
36
|
const description_2: string;
|
|
31
37
|
export { description_2 as description };
|
|
38
|
+
export namespace control_2 {
|
|
39
|
+
const type_3: string;
|
|
40
|
+
export { type_3 as type };
|
|
41
|
+
const presetColors_1: string[];
|
|
42
|
+
export { presetColors_1 as presetColors };
|
|
43
|
+
}
|
|
44
|
+
export { control_2 as control };
|
|
32
45
|
}
|
|
33
|
-
namespace
|
|
46
|
+
namespace hoverColor {
|
|
34
47
|
const name_4: string;
|
|
35
48
|
export { name_4 as name };
|
|
36
|
-
export namespace type_2 {
|
|
37
|
-
const name_5: string;
|
|
38
|
-
export { name_5 as name };
|
|
39
|
-
}
|
|
40
|
-
export { type_2 as type };
|
|
41
49
|
const description_3: string;
|
|
42
50
|
export { description_3 as description };
|
|
43
|
-
export namespace
|
|
44
|
-
const
|
|
45
|
-
export {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
export namespace control_1 {
|
|
49
|
-
const type_3: any;
|
|
50
|
-
export { type_3 as type };
|
|
51
|
+
export namespace control_3 {
|
|
52
|
+
const type_4: string;
|
|
53
|
+
export { type_4 as type };
|
|
54
|
+
const presetColors_2: string[];
|
|
55
|
+
export { presetColors_2 as presetColors };
|
|
51
56
|
}
|
|
52
|
-
export {
|
|
57
|
+
export { control_3 as control };
|
|
53
58
|
}
|
|
54
|
-
namespace
|
|
55
|
-
const
|
|
56
|
-
export {
|
|
59
|
+
namespace options {
|
|
60
|
+
const name_5: string;
|
|
61
|
+
export { name_5 as name };
|
|
57
62
|
const description_4: string;
|
|
58
63
|
export { description_4 as description };
|
|
59
|
-
export namespace control_2 {
|
|
60
|
-
const type_4: string;
|
|
61
|
-
export { type_4 as type };
|
|
62
|
-
export const presetColors: string[];
|
|
63
|
-
}
|
|
64
|
-
export { control_2 as control };
|
|
65
64
|
}
|
|
66
|
-
namespace
|
|
67
|
-
const
|
|
68
|
-
export {
|
|
65
|
+
namespace selectedValue {
|
|
66
|
+
const name_6: string;
|
|
67
|
+
export { name_6 as name };
|
|
69
68
|
const description_5: string;
|
|
70
69
|
export { description_5 as description };
|
|
71
|
-
export namespace control_3 {
|
|
72
|
-
const type_5: string;
|
|
73
|
-
export { type_5 as type };
|
|
74
|
-
const presetColors_1: string[];
|
|
75
|
-
export { presetColors_1 as presetColors };
|
|
76
|
-
}
|
|
77
|
-
export { control_3 as control };
|
|
78
70
|
}
|
|
79
|
-
namespace
|
|
80
|
-
const
|
|
81
|
-
export {
|
|
82
|
-
export namespace
|
|
83
|
-
const
|
|
84
|
-
export {
|
|
71
|
+
namespace multipleSelection {
|
|
72
|
+
const name_7: string;
|
|
73
|
+
export { name_7 as name };
|
|
74
|
+
export namespace type_5 {
|
|
75
|
+
const name_8: string;
|
|
76
|
+
export { name_8 as name };
|
|
85
77
|
}
|
|
86
|
-
export {
|
|
78
|
+
export { type_5 as type };
|
|
87
79
|
const description_6: string;
|
|
88
80
|
export { description_6 as description };
|
|
89
|
-
export namespace
|
|
90
|
-
const
|
|
91
|
-
export {
|
|
81
|
+
export namespace defaultValue_1 {
|
|
82
|
+
const summary_1: boolean;
|
|
83
|
+
export { summary_1 as summary };
|
|
92
84
|
}
|
|
93
|
-
export {
|
|
85
|
+
export { defaultValue_1 as defaultValue };
|
|
94
86
|
export namespace control_4 {
|
|
95
|
-
const
|
|
96
|
-
export {
|
|
87
|
+
const type_6: string;
|
|
88
|
+
export { type_6 as type };
|
|
97
89
|
}
|
|
98
90
|
export { control_4 as control };
|
|
99
91
|
}
|
|
100
|
-
namespace
|
|
101
|
-
const
|
|
102
|
-
export {
|
|
103
|
-
export namespace
|
|
104
|
-
const
|
|
105
|
-
export {
|
|
92
|
+
namespace placeHolder {
|
|
93
|
+
const name_9: string;
|
|
94
|
+
export { name_9 as name };
|
|
95
|
+
export namespace type_7 {
|
|
96
|
+
const name_10: string;
|
|
97
|
+
export { name_10 as name };
|
|
106
98
|
}
|
|
107
|
-
export {
|
|
99
|
+
export { type_7 as type };
|
|
108
100
|
const description_7: string;
|
|
109
101
|
export { description_7 as description };
|
|
110
|
-
export namespace
|
|
111
|
-
const
|
|
112
|
-
export {
|
|
102
|
+
export namespace defaultValue_2 {
|
|
103
|
+
const summary_2: string;
|
|
104
|
+
export { summary_2 as summary };
|
|
113
105
|
}
|
|
114
|
-
export {
|
|
106
|
+
export { defaultValue_2 as defaultValue };
|
|
115
107
|
export namespace control_5 {
|
|
116
|
-
const
|
|
117
|
-
export {
|
|
108
|
+
const type_8: string;
|
|
109
|
+
export { type_8 as type };
|
|
118
110
|
}
|
|
119
111
|
export { control_5 as control };
|
|
120
112
|
}
|
|
121
|
-
namespace
|
|
122
|
-
const
|
|
123
|
-
export {
|
|
124
|
-
export namespace
|
|
125
|
-
const
|
|
126
|
-
export {
|
|
113
|
+
namespace width {
|
|
114
|
+
const name_11: string;
|
|
115
|
+
export { name_11 as name };
|
|
116
|
+
export namespace type_9 {
|
|
117
|
+
const name_12: string;
|
|
118
|
+
export { name_12 as name };
|
|
127
119
|
}
|
|
128
|
-
export {
|
|
120
|
+
export { type_9 as type };
|
|
129
121
|
const description_8: string;
|
|
130
122
|
export { description_8 as description };
|
|
131
|
-
export namespace
|
|
132
|
-
const
|
|
133
|
-
export {
|
|
123
|
+
export namespace defaultValue_3 {
|
|
124
|
+
const summary_3: string;
|
|
125
|
+
export { summary_3 as summary };
|
|
134
126
|
}
|
|
135
|
-
export {
|
|
127
|
+
export { defaultValue_3 as defaultValue };
|
|
136
128
|
export namespace control_6 {
|
|
137
|
-
const
|
|
138
|
-
export {
|
|
129
|
+
const type_10: string;
|
|
130
|
+
export { type_10 as type };
|
|
139
131
|
}
|
|
140
132
|
export { control_6 as control };
|
|
141
133
|
}
|
|
142
|
-
namespace
|
|
143
|
-
const
|
|
144
|
-
export {
|
|
145
|
-
export namespace
|
|
146
|
-
const
|
|
147
|
-
export {
|
|
134
|
+
namespace disabled {
|
|
135
|
+
const name_13: string;
|
|
136
|
+
export { name_13 as name };
|
|
137
|
+
export namespace type_11 {
|
|
138
|
+
const name_14: string;
|
|
139
|
+
export { name_14 as name };
|
|
148
140
|
}
|
|
149
|
-
export {
|
|
141
|
+
export { type_11 as type };
|
|
150
142
|
const description_9: string;
|
|
151
143
|
export { description_9 as description };
|
|
152
|
-
export namespace
|
|
153
|
-
const
|
|
154
|
-
export {
|
|
144
|
+
export namespace defaultValue_4 {
|
|
145
|
+
const summary_4: boolean;
|
|
146
|
+
export { summary_4 as summary };
|
|
155
147
|
}
|
|
156
|
-
export {
|
|
148
|
+
export { defaultValue_4 as defaultValue };
|
|
157
149
|
export namespace control_7 {
|
|
158
|
-
const
|
|
159
|
-
export {
|
|
150
|
+
const type_12: string;
|
|
151
|
+
export { type_12 as type };
|
|
160
152
|
}
|
|
161
153
|
export { control_7 as control };
|
|
162
154
|
}
|
|
163
|
-
namespace
|
|
164
|
-
const
|
|
165
|
-
export {
|
|
166
|
-
export namespace
|
|
167
|
-
const
|
|
168
|
-
export {
|
|
155
|
+
namespace error {
|
|
156
|
+
const name_15: string;
|
|
157
|
+
export { name_15 as name };
|
|
158
|
+
export namespace type_13 {
|
|
159
|
+
const name_16: string;
|
|
160
|
+
export { name_16 as name };
|
|
169
161
|
}
|
|
170
|
-
export {
|
|
162
|
+
export { type_13 as type };
|
|
171
163
|
const description_10: string;
|
|
172
164
|
export { description_10 as description };
|
|
165
|
+
export namespace defaultValue_5 {
|
|
166
|
+
const summary_5: boolean;
|
|
167
|
+
export { summary_5 as summary };
|
|
168
|
+
}
|
|
169
|
+
export { defaultValue_5 as defaultValue };
|
|
170
|
+
export namespace control_8 {
|
|
171
|
+
const type_14: string;
|
|
172
|
+
export { type_14 as type };
|
|
173
|
+
}
|
|
174
|
+
export { control_8 as control };
|
|
175
|
+
}
|
|
176
|
+
namespace errorMessage {
|
|
177
|
+
const name_17: string;
|
|
178
|
+
export { name_17 as name };
|
|
179
|
+
export namespace type_15 {
|
|
180
|
+
const name_18: string;
|
|
181
|
+
export { name_18 as name };
|
|
182
|
+
}
|
|
183
|
+
export { type_15 as type };
|
|
184
|
+
const description_11: string;
|
|
185
|
+
export { description_11 as description };
|
|
173
186
|
export namespace defaultValue_6 {
|
|
174
187
|
const summary_6: string;
|
|
175
188
|
export { summary_6 as summary };
|
|
176
189
|
}
|
|
177
190
|
export { defaultValue_6 as defaultValue };
|
|
178
|
-
export namespace
|
|
179
|
-
const
|
|
180
|
-
export {
|
|
191
|
+
export namespace control_9 {
|
|
192
|
+
const type_16: string;
|
|
193
|
+
export { type_16 as type };
|
|
181
194
|
}
|
|
182
|
-
export {
|
|
195
|
+
export { control_9 as control };
|
|
196
|
+
}
|
|
197
|
+
namespace xIconShow {
|
|
198
|
+
const name_19: string;
|
|
199
|
+
export { name_19 as name };
|
|
200
|
+
export namespace type_17 {
|
|
201
|
+
const name_20: string;
|
|
202
|
+
export { name_20 as name };
|
|
203
|
+
}
|
|
204
|
+
export { type_17 as type };
|
|
205
|
+
const description_12: string;
|
|
206
|
+
export { description_12 as description };
|
|
207
|
+
export namespace defaultValue_7 {
|
|
208
|
+
const summary_7: boolean;
|
|
209
|
+
export { summary_7 as summary };
|
|
210
|
+
}
|
|
211
|
+
export { defaultValue_7 as defaultValue };
|
|
212
|
+
export namespace control_10 {
|
|
213
|
+
const type_18: string;
|
|
214
|
+
export { type_18 as type };
|
|
215
|
+
}
|
|
216
|
+
export { control_10 as control };
|
|
217
|
+
}
|
|
218
|
+
namespace onChange {
|
|
219
|
+
const name_21: string;
|
|
220
|
+
export { name_21 as name };
|
|
221
|
+
export namespace type_19 {
|
|
222
|
+
const name_22: string;
|
|
223
|
+
export { name_22 as name };
|
|
224
|
+
}
|
|
225
|
+
export { type_19 as type };
|
|
226
|
+
const description_13: string;
|
|
227
|
+
export { description_13 as description };
|
|
228
|
+
export namespace defaultValue_8 {
|
|
229
|
+
const summary_8: string;
|
|
230
|
+
export { summary_8 as summary };
|
|
231
|
+
}
|
|
232
|
+
export { defaultValue_8 as defaultValue };
|
|
233
|
+
export namespace control_11 {
|
|
234
|
+
const type_20: any;
|
|
235
|
+
export { type_20 as type };
|
|
236
|
+
}
|
|
237
|
+
export { control_11 as control };
|
|
183
238
|
}
|
|
184
239
|
}
|
|
185
240
|
}
|
|
@@ -1,2 +1,58 @@
|
|
|
1
1
|
export default TabMenu;
|
|
2
|
-
declare function TabMenu(
|
|
2
|
+
declare function TabMenu({ color, currentTab, headlineInsteadTabs, headlineText, headlineContent, className, children, tabs, inputWidth, onFilterButtonClick, onSearchFieldTyping, onTabChange, onTopButtonClick, panelIsOpen, setBackground, showActions, showFilterButton, showLabel, showSearchInput, showViewOptionsButton, disabledButton, setTopRightButton, rightButtonText, rightButtonIcon, }: {
|
|
3
|
+
color?: string;
|
|
4
|
+
currentTab?: number;
|
|
5
|
+
headlineInsteadTabs?: boolean;
|
|
6
|
+
headlineText?: string;
|
|
7
|
+
headlineContent?: import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
className?: string;
|
|
9
|
+
children?: any;
|
|
10
|
+
tabs?: any[];
|
|
11
|
+
inputWidth?: string;
|
|
12
|
+
onFilterButtonClick?: () => void;
|
|
13
|
+
onSearchFieldTyping?: () => void;
|
|
14
|
+
onTabChange?: () => void;
|
|
15
|
+
onTopButtonClick?: () => void;
|
|
16
|
+
panelIsOpen?: boolean;
|
|
17
|
+
setBackground?: boolean;
|
|
18
|
+
showActions?: boolean;
|
|
19
|
+
showFilterButton?: boolean;
|
|
20
|
+
showLabel?: boolean;
|
|
21
|
+
showSearchInput?: boolean;
|
|
22
|
+
showViewOptionsButton?: boolean;
|
|
23
|
+
disabledButton?: boolean;
|
|
24
|
+
setTopRightButton?: boolean;
|
|
25
|
+
rightButtonText?: string;
|
|
26
|
+
rightButtonIcon?: string;
|
|
27
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
declare namespace TabMenu {
|
|
29
|
+
namespace propTypes {
|
|
30
|
+
const children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
31
|
+
const className: PropTypes.Requireable<string>;
|
|
32
|
+
const color: PropTypes.Requireable<string>;
|
|
33
|
+
const currentTab: PropTypes.Requireable<number>;
|
|
34
|
+
const headlineInsteadTabs: PropTypes.Requireable<boolean>;
|
|
35
|
+
const headlineText: PropTypes.Requireable<string>;
|
|
36
|
+
const inputWidth: PropTypes.Requireable<string>;
|
|
37
|
+
const onFilterButtonClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
38
|
+
const onSearchFieldTyping: PropTypes.Requireable<(...args: any[]) => any>;
|
|
39
|
+
const onTabChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
40
|
+
const panelIsOpen: PropTypes.Requireable<boolean>;
|
|
41
|
+
const setBackground: PropTypes.Requireable<boolean>;
|
|
42
|
+
const showActions: PropTypes.Requireable<boolean>;
|
|
43
|
+
const showFilterButton: PropTypes.Requireable<boolean>;
|
|
44
|
+
const showLabel: PropTypes.Requireable<boolean>;
|
|
45
|
+
const showSearchInput: PropTypes.Requireable<boolean>;
|
|
46
|
+
const showViewOptionsButton: PropTypes.Requireable<boolean>;
|
|
47
|
+
const disabledButton: PropTypes.Requireable<boolean>;
|
|
48
|
+
const setTopRightButton: PropTypes.Requireable<boolean>;
|
|
49
|
+
const rightButtonText: PropTypes.Requireable<string>;
|
|
50
|
+
const rightButtonIcon: PropTypes.Requireable<string>;
|
|
51
|
+
const onTopButtonClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
52
|
+
const tabs: PropTypes.Requireable<PropTypes.InferProps<{
|
|
53
|
+
title: PropTypes.Requireable<string>;
|
|
54
|
+
content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
55
|
+
}>[]>;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
import PropTypes from "prop-types";
|
|
@@ -25,7 +25,6 @@ export namespace TwoBarCharts {
|
|
|
25
25
|
const referenceLinePoint: PropTypes.Requireable<number>;
|
|
26
26
|
const referenceLineColor: PropTypes.Requireable<string>;
|
|
27
27
|
const referenceLineDashed: PropTypes.Requireable<string>;
|
|
28
|
-
const showTooltip: PropTypes.Requireable<boolean>;
|
|
29
28
|
}
|
|
30
29
|
namespace defaultProps {
|
|
31
30
|
const title_1: string;
|
|
@@ -69,8 +68,6 @@ export namespace TwoBarCharts {
|
|
|
69
68
|
export { referenceLineColor_1 as referenceLineColor };
|
|
70
69
|
const referenceLineDashed_1: string;
|
|
71
70
|
export { referenceLineDashed_1 as referenceLineDashed };
|
|
72
|
-
const showTooltip_1: boolean;
|
|
73
|
-
export { showTooltip_1 as showTooltip };
|
|
74
71
|
}
|
|
75
72
|
}
|
|
76
73
|
export default TwoBarCharts;
|
|
@@ -102,12 +102,6 @@ declare namespace _default {
|
|
|
102
102
|
const description_16: string;
|
|
103
103
|
export { description_16 as description };
|
|
104
104
|
}
|
|
105
|
-
export namespace showTooltip {
|
|
106
|
-
const control_16: string;
|
|
107
|
-
export { control_16 as control };
|
|
108
|
-
const description_17: string;
|
|
109
|
-
export { description_17 as description };
|
|
110
|
-
}
|
|
111
105
|
}
|
|
112
106
|
}
|
|
113
107
|
export default _default;
|
|
@@ -143,8 +137,6 @@ export namespace SalesDollars {
|
|
|
143
137
|
export { isDollar_1 as isDollar };
|
|
144
138
|
const showDollarSign_1: boolean;
|
|
145
139
|
export { showDollarSign_1 as showDollarSign };
|
|
146
|
-
const showTooltip_1: boolean;
|
|
147
|
-
export { showTooltip_1 as showTooltip };
|
|
148
140
|
const showReferenceLine_1: boolean;
|
|
149
141
|
export { showReferenceLine_1 as showReferenceLine };
|
|
150
142
|
const referenceLinePoint_1: number;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -29,9 +29,4 @@ export { default as BubbleChart } from "./components/BubbleChart/BubbleChart.jsx
|
|
|
29
29
|
export { default as BatteryChart } from "./components/BatteryChart/BatteryChart.jsx";
|
|
30
30
|
export { default as PerformanceAnalyticsLegend } from "./components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.jsx";
|
|
31
31
|
export { default as BrushChart } from "./components/BrushChart/BrushChart.jsx";
|
|
32
|
-
export { default as SingleBarLineCharts } from "./components/SingleBarLineCharts/SingleBarLineCharts.jsx";
|
|
33
|
-
export { default as BarChartWithAreaChart } from "./components/BarChartWithAreaChart/BarChartWithAreaChart.jsx";
|
|
34
|
-
export { default as BarChartTwoRows } from "./components/BarChartTwoRows/BarChartTwoRows.jsx";
|
|
35
|
-
export { default as TwoBarCharts } from "./components/TwoBarCharts/TwoBarCharts.jsx";
|
|
36
|
-
export { default as CollapseData } from "./components/CollapseData/CollapseData.jsx";
|
|
37
32
|
export { default as InsightsCarousel } from "./components/InsightsCarousel/InsightsCarousel.jsx";
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|