sag_components 2.0.0-beta106 → 2.0.0-beta107

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 CHANGED
@@ -3499,6 +3499,7 @@ const TextFieldInput = styled.input`
3499
3499
  font-weight: 400;
3500
3500
  padding: 6px 16px;
3501
3501
  border-radius: 8px;
3502
+ padding-right: ${props => props.position === 'right' ? '30px' : '10px'};
3502
3503
  border: 1px solid #B1B1B1;
3503
3504
  background: transparent;
3504
3505
  text-indent: ${props => props.position === 'left' ? '14px' : '0'};
@@ -23903,22 +23904,21 @@ const DeleteIcon = styled.div`
23903
23904
  position: absolute;
23904
23905
  `;
23905
23906
 
23906
- const QuickFilterDropdownSingle = _ref => {
23907
- let {
23908
- label,
23909
- hoverColor,
23910
- options,
23911
- selectedValue,
23912
- placeHolder,
23913
- onChange,
23914
- disabled,
23915
- width,
23916
- error,
23917
- errorMessage,
23918
- xIconShow,
23919
- labelColor,
23920
- showLabelOnTop
23921
- } = _ref;
23907
+ const QuickFilterDropdownSingle = ({
23908
+ label,
23909
+ hoverColor,
23910
+ options,
23911
+ selectedValue,
23912
+ placeHolder,
23913
+ onChange,
23914
+ disabled,
23915
+ width,
23916
+ error,
23917
+ errorMessage,
23918
+ xIconShow,
23919
+ labelColor,
23920
+ showLabelOnTop
23921
+ }) => {
23922
23922
  const [isFocused, setIsFocused] = useState(false);
23923
23923
  const [showOptions, setShowOptions] = useState(false);
23924
23924
  const [inputValue, setInputValue] = useState("");
@@ -41326,7 +41326,9 @@ const Table = props => {
41326
41326
  onSendClick = () => {},
41327
41327
  showHorizontalScroll = false,
41328
41328
  onDeleteClick = () => {},
41329
- showNoDataInSearch = false
41329
+ showNoDataInSearch = false,
41330
+ noDataInSearchTitle = "No Results Found",
41331
+ noDataInSearchMessage = "Try to refine your query and search again"
41330
41332
  } = props;
41331
41333
  const scrollWrapperRef = useRef(null);
41332
41334
  const [hasTriggered, setHasTriggered] = useState(false);
@@ -41369,7 +41371,7 @@ const Table = props => {
41369
41371
  backgroundColor: sideButtonColor,
41370
41372
  hoverBackgroundColor: sideButtonHoverColor,
41371
41373
  onClick: onSideButtonClick
41372
- })), children, data.length === 0 ? /*#__PURE__*/React$1.createElement(NoEventsParent, null, /*#__PURE__*/React$1.createElement(NoEventsWrapper, null, showNoDataInSearch ? /*#__PURE__*/React$1.createElement(NoDataInSearchIcon, null) : /*#__PURE__*/React$1.createElement(NoEvents, null)), /*#__PURE__*/React$1.createElement(NoEventsMessage, null, showNoDataInSearch ? /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("strong", null, "No Events Found"), /*#__PURE__*/React$1.createElement("br", null), "Try to refine your query and search again") : /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("strong", null, "You haven't created any events yet"), /*#__PURE__*/React$1.createElement("br", null), "Let's get started and create your first one!")), !showNoDataInSearch && /*#__PURE__*/React$1.createElement(Button$1, {
41374
+ })), children, data.length === 0 ? /*#__PURE__*/React$1.createElement(NoEventsParent, null, /*#__PURE__*/React$1.createElement(NoEventsWrapper, null, showNoDataInSearch ? /*#__PURE__*/React$1.createElement(NoDataInSearchIcon, null) : /*#__PURE__*/React$1.createElement(NoEvents, null)), /*#__PURE__*/React$1.createElement(NoEventsMessage, null, showNoDataInSearch ? /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("strong", null, noDataInSearchTitle), /*#__PURE__*/React$1.createElement("br", null), noDataInSearchMessage) : /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("strong", null, "You haven't created any events yet"), /*#__PURE__*/React$1.createElement("br", null), "Let's get started and create your first one!")), !showNoDataInSearch && /*#__PURE__*/React$1.createElement(Button$1, {
41373
41375
  height: "45px",
41374
41376
  leftIcon: "Plus",
41375
41377
  text: "New Event",