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.js
CHANGED
|
@@ -585,6 +585,24 @@ const PackageSendIcon = () => /*#__PURE__*/React__default["default"].createEleme
|
|
|
585
585
|
fill: "#B1B1B1"
|
|
586
586
|
}));
|
|
587
587
|
|
|
588
|
+
const MenuItemOpenIcon = _ref => {
|
|
589
|
+
let {
|
|
590
|
+
width = '16',
|
|
591
|
+
height = '16',
|
|
592
|
+
color = '#7E7E7E'
|
|
593
|
+
} = _ref;
|
|
594
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
595
|
+
width: width,
|
|
596
|
+
height: height,
|
|
597
|
+
viewBox: "0 0 16 10",
|
|
598
|
+
fill: "none",
|
|
599
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
600
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
601
|
+
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",
|
|
602
|
+
fill: color
|
|
603
|
+
}));
|
|
604
|
+
};
|
|
605
|
+
|
|
588
606
|
const ChervronRightIcon = _ref => {
|
|
589
607
|
let {
|
|
590
608
|
width = "8",
|
|
@@ -3191,24 +3209,6 @@ const IconWrapper$4 = styled__default["default"].div`
|
|
|
3191
3209
|
align-content: center;
|
|
3192
3210
|
`;
|
|
3193
3211
|
|
|
3194
|
-
const MenuItemOpenIcon = _ref => {
|
|
3195
|
-
let {
|
|
3196
|
-
width = '16',
|
|
3197
|
-
height = '16',
|
|
3198
|
-
color = '#7E7E7E'
|
|
3199
|
-
} = _ref;
|
|
3200
|
-
return /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
3201
|
-
width: width,
|
|
3202
|
-
height: height,
|
|
3203
|
-
viewBox: "0 0 16 10",
|
|
3204
|
-
fill: "none",
|
|
3205
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
3206
|
-
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
3207
|
-
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",
|
|
3208
|
-
fill: color
|
|
3209
|
-
}));
|
|
3210
|
-
};
|
|
3211
|
-
|
|
3212
3212
|
const MenuItemRightIcon = _ref => {
|
|
3213
3213
|
let {
|
|
3214
3214
|
clicked,
|
|
@@ -35645,6 +35645,18 @@ const getIcon = (icon, iconHeight, iconWidth, color, disabled, pointer, callBack
|
|
|
35645
35645
|
color: newColor,
|
|
35646
35646
|
onClick: callBackOnClick
|
|
35647
35647
|
}));
|
|
35648
|
+
case 'openicon':
|
|
35649
|
+
return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
|
|
35650
|
+
className: "MenuItemOpenIcon",
|
|
35651
|
+
pointer: pointer,
|
|
35652
|
+
disabled: disabled,
|
|
35653
|
+
onClick: callBackOnClick
|
|
35654
|
+
}, /*#__PURE__*/React__default["default"].createElement(MenuItemOpenIcon, {
|
|
35655
|
+
height: newIconHeight,
|
|
35656
|
+
width: newIconWidth,
|
|
35657
|
+
color: newColor,
|
|
35658
|
+
onClick: callBackOnClick
|
|
35659
|
+
}));
|
|
35648
35660
|
default:
|
|
35649
35661
|
return '';
|
|
35650
35662
|
}
|
|
@@ -44442,6 +44454,7 @@ const Table = props => {
|
|
|
44442
44454
|
noEventsSubtitle = "Let's get started and create your first one!",
|
|
44443
44455
|
noEventsButtonText = "New Event",
|
|
44444
44456
|
noEventsButtonIcon = "Plus",
|
|
44457
|
+
disableNoEventsButton = false,
|
|
44445
44458
|
showNoEventsButton = true,
|
|
44446
44459
|
indexToShimmer = -1,
|
|
44447
44460
|
resetFocusIndex,
|
|
@@ -44625,6 +44638,7 @@ const Table = props => {
|
|
|
44625
44638
|
height: "45px",
|
|
44626
44639
|
leftIcon: noEventsButtonIcon,
|
|
44627
44640
|
text: noEventsButtonText,
|
|
44641
|
+
disabled: disableNoEventsButton,
|
|
44628
44642
|
borderRadius: "12px",
|
|
44629
44643
|
borderColor: buttonColor,
|
|
44630
44644
|
hoverBorderColor: buttonHoverColor,
|