sag_components 2.0.0-beta98 → 2.0.0-beta99
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 +3 -1
- package/dist/index.esm.js +103 -80
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +103 -79
- package/dist/index.js.map +1 -1
- package/dist/types/components/Input/Input.stories.d.ts +84 -76
- package/dist/types/components/SearchInput/SearchInput.d.ts +0 -22
- package/dist/types/components/SearchInput/SearchInput.stories.d.ts +59 -5
- package/dist/types/components/SearchInput/SearchInput.style.d.ts +1 -0
- package/dist/types/components/TabMenu/TabMenu.style.d.ts +1 -17
- package/dist/types/components/Table/Table.stories.d.ts +70 -1
- package/dist/types/components/Table/Table.style.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1430,4 +1430,6 @@ declare function Execute({ width, height, fill }: {
|
|
|
1430
1430
|
|
|
1431
1431
|
declare function Table(props: any): react_jsx_runtime.JSX.Element;
|
|
1432
1432
|
|
|
1433
|
-
|
|
1433
|
+
declare function SearchInput(props: any): react_jsx_runtime.JSX.Element;
|
|
1434
|
+
|
|
1435
|
+
export { AreaChart, BannerEventBoxList, BarChart, BarChartTwoRows, BarChartWithAreaChart, BarChartsByWeeks, BatteryChart, BreakdownPanel, BrushChart, BubbleChart, Build, Button, CollapseData, CollapseHeader, ContainerTable, DialogOverlay, DoubleBarSingleLine, DoublePanelDataRow, DownloadProgress, DropdownNew, EventDetailsCard, EventList, Execute, FilterPanel, Heatmap, IconButton, Input, InsightsCarousel, LinkButton, LinnerDataBox, MarketShareDescription, MenuRoute, ModalWithOverlay, OneColumnContainer, PerformanceAnalyticsLegend, PieChart, PopupCharts, QuickFilter, ReportTable, SearchInput, SingleBarLineCharts, TabMenu, Table, ToggleSwitch, TopToggleList, TotalDoughnutChart, TotalHorizontalCharts, Track, TwoBarCharts, WeeksPicker };
|
package/dist/index.esm.js
CHANGED
|
@@ -61,7 +61,7 @@ const Label$8 = styled.label`
|
|
|
61
61
|
pointer-events: none;
|
|
62
62
|
user-select: none;
|
|
63
63
|
`;
|
|
64
|
-
const IconWrapper$
|
|
64
|
+
const IconWrapper$4 = styled.div`
|
|
65
65
|
display: flex;
|
|
66
66
|
align-items: center;
|
|
67
67
|
justify-content: center;
|
|
@@ -321,20 +321,23 @@ const ReselectIcon = ({
|
|
|
321
321
|
fill: color
|
|
322
322
|
}));
|
|
323
323
|
|
|
324
|
-
const SearchIcon =
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
324
|
+
const SearchIcon = _ref => {
|
|
325
|
+
let {
|
|
326
|
+
width = '13',
|
|
327
|
+
height = '13',
|
|
328
|
+
color = '#212121'
|
|
329
|
+
} = _ref;
|
|
330
|
+
return /*#__PURE__*/React$1.createElement("svg", {
|
|
331
|
+
width: width,
|
|
332
|
+
height: height,
|
|
333
|
+
viewBox: "0 0 13 13",
|
|
334
|
+
fill: "none",
|
|
335
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
336
|
+
}, /*#__PURE__*/React$1.createElement("path", {
|
|
337
|
+
d: "M8.625 4.875C8.625 3.53906 7.89844 2.32031 6.75 1.64062C5.57812 0.960938 4.14844 0.960938 3 1.64062C1.82812 2.32031 1.125 3.53906 1.125 4.875C1.125 6.23438 1.82812 7.45312 3 8.13281C4.14844 8.8125 5.57812 8.8125 6.75 8.13281C7.89844 7.45312 8.625 6.23438 8.625 4.875ZM7.89844 8.71875C7.05469 9.375 6 9.75 4.875 9.75C2.17969 9.75 0 7.57031 0 4.875C0 2.20312 2.17969 0 4.875 0C7.54688 0 9.75 2.20312 9.75 4.875C9.75 6.02344 9.35156 7.07812 8.69531 7.92188L11.8359 11.0391C12.0469 11.2734 12.0469 11.625 11.8359 11.8359C11.6016 12.0703 11.25 12.0703 11.0391 11.8359L7.89844 8.71875Z",
|
|
338
|
+
fill: color
|
|
339
|
+
}));
|
|
340
|
+
};
|
|
338
341
|
|
|
339
342
|
const PlusIcon = ({
|
|
340
343
|
width = '17',
|
|
@@ -418,7 +421,7 @@ const Button$1 = props => {
|
|
|
418
421
|
width: "16px",
|
|
419
422
|
color: disabled ? disabledTextColor || "#B1B1B1" : hover ? hoverTextColor || (type === "secondary" ? "#229E38" : "#ffffff") : textColor || (type === "secondary" ? "#212121" : "#ffffff")
|
|
420
423
|
};
|
|
421
|
-
return /*#__PURE__*/React$1.createElement(IconWrapper$
|
|
424
|
+
return /*#__PURE__*/React$1.createElement(IconWrapper$4, null, /*#__PURE__*/React$1.createElement(IconComponent, iconProps));
|
|
422
425
|
};
|
|
423
426
|
const commonProps = {
|
|
424
427
|
width: width || null,
|
|
@@ -2901,7 +2904,7 @@ const Label$7 = styled.label`
|
|
|
2901
2904
|
user-select: none;
|
|
2902
2905
|
pointer-events: none;
|
|
2903
2906
|
`;
|
|
2904
|
-
const IconWrapper$
|
|
2907
|
+
const IconWrapper$3 = styled.div`
|
|
2905
2908
|
display: flex;
|
|
2906
2909
|
align-items: center;
|
|
2907
2910
|
justify-content: center;
|
|
@@ -3025,7 +3028,7 @@ const LinkButton = _ref => {
|
|
|
3025
3028
|
const color = disabled ? '#B1B1B1' : newTextColor;
|
|
3026
3029
|
switch (icon.toLowerCase()) {
|
|
3027
3030
|
case 'filter':
|
|
3028
|
-
return /*#__PURE__*/React$1.createElement(IconWrapper$
|
|
3031
|
+
return /*#__PURE__*/React$1.createElement(IconWrapper$3, {
|
|
3029
3032
|
className: "FilterIcon"
|
|
3030
3033
|
}, /*#__PURE__*/React$1.createElement(FilterIcon, {
|
|
3031
3034
|
height: iconHeight,
|
|
@@ -3033,7 +3036,7 @@ const LinkButton = _ref => {
|
|
|
3033
3036
|
color: color
|
|
3034
3037
|
}));
|
|
3035
3038
|
case 'plus':
|
|
3036
|
-
return /*#__PURE__*/React$1.createElement(IconWrapper$
|
|
3039
|
+
return /*#__PURE__*/React$1.createElement(IconWrapper$3, {
|
|
3037
3040
|
className: "PlusIcon"
|
|
3038
3041
|
}, /*#__PURE__*/React$1.createElement(PlusIcon, {
|
|
3039
3042
|
height: iconHeight,
|
|
@@ -3041,7 +3044,7 @@ const LinkButton = _ref => {
|
|
|
3041
3044
|
color: color
|
|
3042
3045
|
}));
|
|
3043
3046
|
case 'options':
|
|
3044
|
-
return /*#__PURE__*/React$1.createElement(IconWrapper$
|
|
3047
|
+
return /*#__PURE__*/React$1.createElement(IconWrapper$3, {
|
|
3045
3048
|
className: "OptionsIcon"
|
|
3046
3049
|
}, /*#__PURE__*/React$1.createElement(OptionsIcon, {
|
|
3047
3050
|
height: iconHeight,
|
|
@@ -3049,7 +3052,7 @@ const LinkButton = _ref => {
|
|
|
3049
3052
|
color: color
|
|
3050
3053
|
}));
|
|
3051
3054
|
case 'download':
|
|
3052
|
-
return /*#__PURE__*/React$1.createElement(IconWrapper$
|
|
3055
|
+
return /*#__PURE__*/React$1.createElement(IconWrapper$3, {
|
|
3053
3056
|
className: "DownloadIcon"
|
|
3054
3057
|
}, /*#__PURE__*/React$1.createElement(DownloadIcon, {
|
|
3055
3058
|
height: iconHeight,
|
|
@@ -3057,7 +3060,7 @@ const LinkButton = _ref => {
|
|
|
3057
3060
|
color: color
|
|
3058
3061
|
}));
|
|
3059
3062
|
case 'document':
|
|
3060
|
-
return /*#__PURE__*/React$1.createElement(IconWrapper$
|
|
3063
|
+
return /*#__PURE__*/React$1.createElement(IconWrapper$3, {
|
|
3061
3064
|
className: "DocumentIcon"
|
|
3062
3065
|
}, /*#__PURE__*/React$1.createElement(DocumentIcon, {
|
|
3063
3066
|
height: iconHeight,
|
|
@@ -3065,7 +3068,7 @@ const LinkButton = _ref => {
|
|
|
3065
3068
|
color: color
|
|
3066
3069
|
}));
|
|
3067
3070
|
case 'fly':
|
|
3068
|
-
return /*#__PURE__*/React$1.createElement(IconWrapper$
|
|
3071
|
+
return /*#__PURE__*/React$1.createElement(IconWrapper$3, {
|
|
3069
3072
|
className: "FlyIcon"
|
|
3070
3073
|
}, /*#__PURE__*/React$1.createElement(FlyIcon, {
|
|
3071
3074
|
height: iconHeight,
|
|
@@ -3073,7 +3076,7 @@ const LinkButton = _ref => {
|
|
|
3073
3076
|
color: color
|
|
3074
3077
|
}));
|
|
3075
3078
|
case 'bell':
|
|
3076
|
-
return /*#__PURE__*/React$1.createElement(IconWrapper$
|
|
3079
|
+
return /*#__PURE__*/React$1.createElement(IconWrapper$3, {
|
|
3077
3080
|
className: "BellIcon"
|
|
3078
3081
|
}, /*#__PURE__*/React$1.createElement(BellIcon, {
|
|
3079
3082
|
height: iconHeight,
|
|
@@ -3081,7 +3084,7 @@ const LinkButton = _ref => {
|
|
|
3081
3084
|
color: color
|
|
3082
3085
|
}));
|
|
3083
3086
|
case 'maintenance':
|
|
3084
|
-
return /*#__PURE__*/React$1.createElement(IconWrapper$
|
|
3087
|
+
return /*#__PURE__*/React$1.createElement(IconWrapper$3, {
|
|
3085
3088
|
className: "MaintenanceIcon"
|
|
3086
3089
|
}, /*#__PURE__*/React$1.createElement(MaintenanceIcon, {
|
|
3087
3090
|
height: iconHeight,
|
|
@@ -3089,7 +3092,7 @@ const LinkButton = _ref => {
|
|
|
3089
3092
|
color: color
|
|
3090
3093
|
}));
|
|
3091
3094
|
case 'exit':
|
|
3092
|
-
return /*#__PURE__*/React$1.createElement(IconWrapper$
|
|
3095
|
+
return /*#__PURE__*/React$1.createElement(IconWrapper$3, {
|
|
3093
3096
|
className: "ExitIcon"
|
|
3094
3097
|
}, /*#__PURE__*/React$1.createElement(ExitIcon, {
|
|
3095
3098
|
height: iconHeight,
|
|
@@ -3097,7 +3100,7 @@ const LinkButton = _ref => {
|
|
|
3097
3100
|
color: color
|
|
3098
3101
|
}));
|
|
3099
3102
|
case 'eye':
|
|
3100
|
-
return /*#__PURE__*/React$1.createElement(IconWrapper$
|
|
3103
|
+
return /*#__PURE__*/React$1.createElement(IconWrapper$3, {
|
|
3101
3104
|
className: "EyeIcon"
|
|
3102
3105
|
}, /*#__PURE__*/React$1.createElement(EyeIcon, {
|
|
3103
3106
|
height: iconHeight,
|
|
@@ -3105,7 +3108,7 @@ const LinkButton = _ref => {
|
|
|
3105
3108
|
color: color
|
|
3106
3109
|
}));
|
|
3107
3110
|
case 'arrowdown':
|
|
3108
|
-
return /*#__PURE__*/React$1.createElement(IconWrapper$
|
|
3111
|
+
return /*#__PURE__*/React$1.createElement(IconWrapper$3, {
|
|
3109
3112
|
className: "ArrowDownIcon"
|
|
3110
3113
|
}, /*#__PURE__*/React$1.createElement(MenuItemOpenIcon, {
|
|
3111
3114
|
height: iconHeight,
|
|
@@ -3113,7 +3116,7 @@ const LinkButton = _ref => {
|
|
|
3113
3116
|
color: color
|
|
3114
3117
|
}));
|
|
3115
3118
|
case 'arrowright':
|
|
3116
|
-
return /*#__PURE__*/React$1.createElement(IconWrapper$
|
|
3119
|
+
return /*#__PURE__*/React$1.createElement(IconWrapper$3, {
|
|
3117
3120
|
className: "ArrowRightIcon"
|
|
3118
3121
|
}, /*#__PURE__*/React$1.createElement(MenuItemRightIcon, {
|
|
3119
3122
|
height: iconHeight,
|
|
@@ -3121,7 +3124,7 @@ const LinkButton = _ref => {
|
|
|
3121
3124
|
color: color
|
|
3122
3125
|
}));
|
|
3123
3126
|
case 'select':
|
|
3124
|
-
return /*#__PURE__*/React$1.createElement(IconWrapper$
|
|
3127
|
+
return /*#__PURE__*/React$1.createElement(IconWrapper$3, {
|
|
3125
3128
|
className: "SelectRightIcon"
|
|
3126
3129
|
}, /*#__PURE__*/React$1.createElement(ArrowSelectIcon, {
|
|
3127
3130
|
height: "16px",
|
|
@@ -3129,7 +3132,7 @@ const LinkButton = _ref => {
|
|
|
3129
3132
|
color: color
|
|
3130
3133
|
}));
|
|
3131
3134
|
case 'info':
|
|
3132
|
-
return /*#__PURE__*/React$1.createElement(IconWrapper$
|
|
3135
|
+
return /*#__PURE__*/React$1.createElement(IconWrapper$3, {
|
|
3133
3136
|
className: "InfoIcon"
|
|
3134
3137
|
}, /*#__PURE__*/React$1.createElement(InfoIcon, {
|
|
3135
3138
|
height: iconHeight,
|
|
@@ -3418,13 +3421,14 @@ const LinnerDataBox = props => {
|
|
|
3418
3421
|
const TextFieldContainer = styled.div`
|
|
3419
3422
|
position: relative;
|
|
3420
3423
|
width: ${props => props.width};
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3424
|
+
`;
|
|
3425
|
+
const IconWrapper$2 = styled.div`
|
|
3426
|
+
position: absolute;
|
|
3427
|
+
top: 50%;
|
|
3428
|
+
transform: translateY(-50%);
|
|
3429
|
+
left: ${props => props.position === 'left' ? '10px' : 'unset'};
|
|
3430
|
+
right: ${props => props.position === 'right' ? '10px' : 'unset'};
|
|
3431
|
+
cursor: pointer;
|
|
3428
3432
|
`;
|
|
3429
3433
|
const TextFieldInput = styled.input`
|
|
3430
3434
|
width: 100%;
|
|
@@ -3435,7 +3439,7 @@ const TextFieldInput = styled.input`
|
|
|
3435
3439
|
border-radius: 8px;
|
|
3436
3440
|
border: 1px solid #B1B1B1;
|
|
3437
3441
|
background: transparent;
|
|
3438
|
-
text-indent: 14px;
|
|
3442
|
+
text-indent: ${props => props.position === 'left' ? '14px' : '0'};
|
|
3439
3443
|
&:hover,
|
|
3440
3444
|
&:focus {
|
|
3441
3445
|
border: 1px solid #212121;
|
|
@@ -3447,10 +3451,12 @@ const TextFieldInput = styled.input`
|
|
|
3447
3451
|
|
|
3448
3452
|
const SearchInput = props => {
|
|
3449
3453
|
const {
|
|
3450
|
-
placeholder,
|
|
3454
|
+
placeholder = 'Search',
|
|
3451
3455
|
onTyping,
|
|
3452
|
-
width,
|
|
3453
|
-
height,
|
|
3456
|
+
width = '100%',
|
|
3457
|
+
height = '40px',
|
|
3458
|
+
position = 'left',
|
|
3459
|
+
iconColor = '#212121',
|
|
3454
3460
|
className
|
|
3455
3461
|
} = props;
|
|
3456
3462
|
const handleInputChange = e => {
|
|
@@ -3459,26 +3465,18 @@ const SearchInput = props => {
|
|
|
3459
3465
|
return /*#__PURE__*/React$1.createElement(TextFieldContainer, {
|
|
3460
3466
|
className: className,
|
|
3461
3467
|
width: width
|
|
3462
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
3468
|
+
}, /*#__PURE__*/React$1.createElement(IconWrapper$2, {
|
|
3469
|
+
position: position
|
|
3470
|
+
}, /*#__PURE__*/React$1.createElement(SearchIcon, {
|
|
3471
|
+
color: iconColor
|
|
3472
|
+
})), /*#__PURE__*/React$1.createElement(TextFieldInput, {
|
|
3463
3473
|
type: "search",
|
|
3474
|
+
id: "search-input",
|
|
3464
3475
|
height: height,
|
|
3465
3476
|
placeholder: placeholder,
|
|
3466
|
-
onChange: handleInputChange
|
|
3467
|
-
|
|
3468
|
-
};
|
|
3469
|
-
SearchInput.propTypes = {
|
|
3470
|
-
placeholder: PropTypes.string,
|
|
3471
|
-
width: PropTypes.string,
|
|
3472
|
-
height: PropTypes.string,
|
|
3473
|
-
onTyping: PropTypes.func,
|
|
3474
|
-
className: PropTypes.string
|
|
3475
|
-
};
|
|
3476
|
-
SearchInput.defaultProps = {
|
|
3477
|
-
placeholder: 'Search',
|
|
3478
|
-
width: '100%',
|
|
3479
|
-
height: '40px',
|
|
3480
|
-
onTyping: () => {},
|
|
3481
|
-
className: ''
|
|
3477
|
+
onChange: handleInputChange,
|
|
3478
|
+
position: position
|
|
3479
|
+
}));
|
|
3482
3480
|
};
|
|
3483
3481
|
|
|
3484
3482
|
const scrollableStyles$c = `
|
|
@@ -23871,22 +23869,21 @@ const DeleteIcon = styled.div`
|
|
|
23871
23869
|
position: absolute;
|
|
23872
23870
|
`;
|
|
23873
23871
|
|
|
23874
|
-
const QuickFilterDropdownSingle =
|
|
23875
|
-
|
|
23876
|
-
|
|
23877
|
-
|
|
23878
|
-
|
|
23879
|
-
|
|
23880
|
-
|
|
23881
|
-
|
|
23882
|
-
|
|
23883
|
-
|
|
23884
|
-
|
|
23885
|
-
|
|
23886
|
-
|
|
23887
|
-
|
|
23888
|
-
|
|
23889
|
-
} = _ref;
|
|
23872
|
+
const QuickFilterDropdownSingle = ({
|
|
23873
|
+
label,
|
|
23874
|
+
hoverColor,
|
|
23875
|
+
options,
|
|
23876
|
+
selectedValue,
|
|
23877
|
+
placeHolder,
|
|
23878
|
+
onChange,
|
|
23879
|
+
disabled,
|
|
23880
|
+
width,
|
|
23881
|
+
error,
|
|
23882
|
+
errorMessage,
|
|
23883
|
+
xIconShow,
|
|
23884
|
+
labelColor,
|
|
23885
|
+
showLabelOnTop
|
|
23886
|
+
}) => {
|
|
23890
23887
|
const [isFocused, setIsFocused] = useState(false);
|
|
23891
23888
|
const [showOptions, setShowOptions] = useState(false);
|
|
23892
23889
|
const [inputValue, setInputValue] = useState("");
|
|
@@ -35097,7 +35094,6 @@ const InputSubContainer = styled.div`
|
|
|
35097
35094
|
const StyledInput = styled.input`
|
|
35098
35095
|
width: calc(100% - 10px);
|
|
35099
35096
|
height: 20px;
|
|
35100
|
-
font-family: Poppins;
|
|
35101
35097
|
font-weight: 400;
|
|
35102
35098
|
font-size: 14px;
|
|
35103
35099
|
outline: none;
|
|
@@ -35421,6 +35417,7 @@ const TableWrapper$1 = styled.div`
|
|
|
35421
35417
|
padding: 20px;
|
|
35422
35418
|
background-color: #fff;
|
|
35423
35419
|
box-sizing: border-box;
|
|
35420
|
+
position: relative;
|
|
35424
35421
|
`;
|
|
35425
35422
|
const Table$1 = styled.table`
|
|
35426
35423
|
width: 100%;
|
|
@@ -35700,6 +35697,11 @@ const NoInfoFound = styled.div`
|
|
|
35700
35697
|
color: #212121;
|
|
35701
35698
|
position: relative;
|
|
35702
35699
|
`;
|
|
35700
|
+
const TableTop = styled.div`
|
|
35701
|
+
display: flex;
|
|
35702
|
+
align-items: center;
|
|
35703
|
+
justify-content: space-between;
|
|
35704
|
+
`;
|
|
35703
35705
|
const Title = styled.h2`
|
|
35704
35706
|
font-size: 24px;
|
|
35705
35707
|
font-weight: 500;
|
|
@@ -35804,14 +35806,27 @@ const Table = props => {
|
|
|
35804
35806
|
height = 'auto',
|
|
35805
35807
|
tableTitle = 'All Events',
|
|
35806
35808
|
data = [],
|
|
35809
|
+
counter = 0,
|
|
35807
35810
|
onButtonClick = () => {},
|
|
35808
35811
|
buttonColor = '#066768',
|
|
35809
|
-
buttonHoverColor = '#388586'
|
|
35812
|
+
buttonHoverColor = '#388586',
|
|
35813
|
+
showSideButton = true,
|
|
35814
|
+
onSideButtonClick = () => {},
|
|
35815
|
+
sideButtonColor = '#066768',
|
|
35816
|
+
sideButtonHoverColor = '#388586'
|
|
35810
35817
|
} = props;
|
|
35811
35818
|
return /*#__PURE__*/React$1.createElement(TableWrapper, {
|
|
35812
35819
|
width: width,
|
|
35813
35820
|
height: height
|
|
35814
|
-
}, data.length === 0 ? /*#__PURE__*/React$1.createElement(NoInfoFound, null, /*#__PURE__*/React$1.createElement(
|
|
35821
|
+
}, data.length === 0 ? /*#__PURE__*/React$1.createElement(NoInfoFound, null, /*#__PURE__*/React$1.createElement(TableTop, null, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Title, null, tableTitle), /*#__PURE__*/React$1.createElement(SubTitle, null, "No Events")), showSideButton && /*#__PURE__*/React$1.createElement(Button$1, {
|
|
35822
|
+
height: "45px",
|
|
35823
|
+
leftIcon: "Plus",
|
|
35824
|
+
text: "New Event",
|
|
35825
|
+
borderRadius: "12px",
|
|
35826
|
+
backgroundColor: sideButtonColor,
|
|
35827
|
+
hoverBackgroundColor: sideButtonHoverColor,
|
|
35828
|
+
onClick: onSideButtonClick
|
|
35829
|
+
})), /*#__PURE__*/React$1.createElement(NoEventsWrapper, null, /*#__PURE__*/React$1.createElement(NoEvents, null)), /*#__PURE__*/React$1.createElement(NoEventsMessage, null, /*#__PURE__*/React$1.createElement("strong", null, "You haven\u2019t created any events yet"), /*#__PURE__*/React$1.createElement("br", null), "Let\u2019s get started and create your first one!"), /*#__PURE__*/React$1.createElement(Button$1, {
|
|
35815
35830
|
height: "45px",
|
|
35816
35831
|
leftIcon: "Plus",
|
|
35817
35832
|
text: "New Event",
|
|
@@ -35819,8 +35834,16 @@ const Table = props => {
|
|
|
35819
35834
|
backgroundColor: buttonColor,
|
|
35820
35835
|
hoverBackgroundColor: buttonHoverColor,
|
|
35821
35836
|
onClick: onButtonClick
|
|
35822
|
-
})) : /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Title, null, tableTitle), /*#__PURE__*/React$1.createElement(SubTitle, null,
|
|
35837
|
+
})) : /*#__PURE__*/React$1.createElement(TableTop, null, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Title, null, tableTitle), /*#__PURE__*/React$1.createElement(SubTitle, null, counter === 0 ? 'No' : counter, " Events")), showSideButton && /*#__PURE__*/React$1.createElement(Button$1, {
|
|
35838
|
+
height: "45px",
|
|
35839
|
+
leftIcon: "Plus",
|
|
35840
|
+
text: "New Event",
|
|
35841
|
+
borderRadius: "12px",
|
|
35842
|
+
backgroundColor: sideButtonColor,
|
|
35843
|
+
hoverBackgroundColor: sideButtonHoverColor,
|
|
35844
|
+
onClick: onSideButtonClick
|
|
35845
|
+
})));
|
|
35823
35846
|
};
|
|
35824
35847
|
|
|
35825
|
-
export { AreaChart, BannerEventBoxList, BarChart, BarChartTwoRows, BarChartWithAreaChart, BarChartsByWeeks, BatteryChart, BreakdownPanel, BrushChart, BubbleChart, Build, Button$1 as Button, CollapseData, CollapseHeader, ContainerTable, DialogOverlay, DoubleBarSingleLine, DoublePanelDataRow, DownloadProgress, DropdownNew, EventDetailsCard, EventList, Execute, FilterPanel, Heatmap, IconButton, Input, InsightsCarousel, LinkButton, LinnerDataBox, MarketShareDescription, MenuRoute, ModalWithOverlay, OneColumnContainer, PerformanceAnalyticsLegend, PieChart, PopupCharts, QuickFilter, ReportTable, SingleBarLineCharts, TabMenu, Table, ToggleSwitch, TopToggleList, TotalDoughnutChart, TotalHorizontalCharts, Track, TwoBarCharts, WeeksPicker };
|
|
35848
|
+
export { AreaChart, BannerEventBoxList, BarChart, BarChartTwoRows, BarChartWithAreaChart, BarChartsByWeeks, BatteryChart, BreakdownPanel, BrushChart, BubbleChart, Build, Button$1 as Button, CollapseData, CollapseHeader, ContainerTable, DialogOverlay, DoubleBarSingleLine, DoublePanelDataRow, DownloadProgress, DropdownNew, EventDetailsCard, EventList, Execute, FilterPanel, Heatmap, IconButton, Input, InsightsCarousel, LinkButton, LinnerDataBox, MarketShareDescription, MenuRoute, ModalWithOverlay, OneColumnContainer, PerformanceAnalyticsLegend, PieChart, PopupCharts, QuickFilter, ReportTable, SearchInput, SingleBarLineCharts, TabMenu, Table, ToggleSwitch, TopToggleList, TotalDoughnutChart, TotalHorizontalCharts, Track, TwoBarCharts, WeeksPicker };
|
|
35826
35849
|
//# sourceMappingURL=index.esm.js.map
|