sag_components 2.0.0-beta224 → 2.0.0-beta226
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.esm.js +32 -18
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +32 -18
- package/dist/index.js.map +1 -1
- package/dist/types/icons/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -575,6 +575,24 @@ const PackageSendIcon = () => /*#__PURE__*/React$1.createElement("svg", {
|
|
|
575
575
|
fill: "#B1B1B1"
|
|
576
576
|
}));
|
|
577
577
|
|
|
578
|
+
const MenuItemOpenIcon = _ref => {
|
|
579
|
+
let {
|
|
580
|
+
width = '16',
|
|
581
|
+
height = '16',
|
|
582
|
+
color = '#7E7E7E'
|
|
583
|
+
} = _ref;
|
|
584
|
+
return /*#__PURE__*/React$1.createElement("svg", {
|
|
585
|
+
width: width,
|
|
586
|
+
height: height,
|
|
587
|
+
viewBox: "0 0 16 10",
|
|
588
|
+
fill: "none",
|
|
589
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
590
|
+
}, /*#__PURE__*/React$1.createElement("path", {
|
|
591
|
+
d: "M7.40234 8.84766L0.652344 2.09766C0.300781 1.78125 0.300781 1.25391 0.652344 0.902344C0.96875 0.585938 1.49609 0.585938 1.84766 0.902344L8 7.08984L14.1523 0.9375C14.4688 0.585938 14.9961 0.585938 15.3477 0.9375C15.6641 1.25391 15.6641 1.78125 15.3477 2.09766L8.5625 8.84766C8.24609 9.19922 7.71875 9.19922 7.40234 8.84766Z",
|
|
592
|
+
fill: color
|
|
593
|
+
}));
|
|
594
|
+
};
|
|
595
|
+
|
|
578
596
|
const ChervronRightIcon = _ref => {
|
|
579
597
|
let {
|
|
580
598
|
width = "8",
|
|
@@ -3181,24 +3199,6 @@ const IconWrapper$4 = styled.div`
|
|
|
3181
3199
|
align-content: center;
|
|
3182
3200
|
`;
|
|
3183
3201
|
|
|
3184
|
-
const MenuItemOpenIcon = _ref => {
|
|
3185
|
-
let {
|
|
3186
|
-
width = '16',
|
|
3187
|
-
height = '16',
|
|
3188
|
-
color = '#7E7E7E'
|
|
3189
|
-
} = _ref;
|
|
3190
|
-
return /*#__PURE__*/React$1.createElement("svg", {
|
|
3191
|
-
width: width,
|
|
3192
|
-
height: height,
|
|
3193
|
-
viewBox: "0 0 16 10",
|
|
3194
|
-
fill: "none",
|
|
3195
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
3196
|
-
}, /*#__PURE__*/React$1.createElement("path", {
|
|
3197
|
-
d: "M7.40234 8.84766L0.652344 2.09766C0.300781 1.78125 0.300781 1.25391 0.652344 0.902344C0.96875 0.585938 1.49609 0.585938 1.84766 0.902344L8 7.08984L14.1523 0.9375C14.4688 0.585938 14.9961 0.585938 15.3477 0.9375C15.6641 1.25391 15.6641 1.78125 15.3477 2.09766L8.5625 8.84766C8.24609 9.19922 7.71875 9.19922 7.40234 8.84766Z",
|
|
3198
|
-
fill: color
|
|
3199
|
-
}));
|
|
3200
|
-
};
|
|
3201
|
-
|
|
3202
3202
|
const MenuItemRightIcon = _ref => {
|
|
3203
3203
|
let {
|
|
3204
3204
|
clicked,
|
|
@@ -35635,6 +35635,18 @@ const getIcon = (icon, iconHeight, iconWidth, color, disabled, pointer, callBack
|
|
|
35635
35635
|
color: newColor,
|
|
35636
35636
|
onClick: callBackOnClick
|
|
35637
35637
|
}));
|
|
35638
|
+
case 'openicon':
|
|
35639
|
+
return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
|
|
35640
|
+
className: "MenuItemOpenIcon",
|
|
35641
|
+
pointer: pointer,
|
|
35642
|
+
disabled: disabled,
|
|
35643
|
+
onClick: callBackOnClick
|
|
35644
|
+
}, /*#__PURE__*/React$1.createElement(MenuItemOpenIcon, {
|
|
35645
|
+
height: newIconHeight,
|
|
35646
|
+
width: newIconWidth,
|
|
35647
|
+
color: newColor,
|
|
35648
|
+
onClick: callBackOnClick
|
|
35649
|
+
}));
|
|
35638
35650
|
default:
|
|
35639
35651
|
return '';
|
|
35640
35652
|
}
|
|
@@ -44432,6 +44444,7 @@ const Table = props => {
|
|
|
44432
44444
|
noEventsSubtitle = "Let's get started and create your first one!",
|
|
44433
44445
|
noEventsButtonText = "New Event",
|
|
44434
44446
|
noEventsButtonIcon = "Plus",
|
|
44447
|
+
disableNoEventsButton = false,
|
|
44435
44448
|
showNoEventsButton = true,
|
|
44436
44449
|
indexToShimmer = -1,
|
|
44437
44450
|
resetFocusIndex,
|
|
@@ -44615,6 +44628,7 @@ const Table = props => {
|
|
|
44615
44628
|
height: "45px",
|
|
44616
44629
|
leftIcon: noEventsButtonIcon,
|
|
44617
44630
|
text: noEventsButtonText,
|
|
44631
|
+
disabled: disableNoEventsButton,
|
|
44618
44632
|
borderRadius: "12px",
|
|
44619
44633
|
borderColor: buttonColor,
|
|
44620
44634
|
hoverBorderColor: buttonHoverColor,
|