sag_components 2.0.0-beta254 → 2.0.0-beta256
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 +69 -59
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +69 -59
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10591,23 +10591,24 @@ const QuarterPopupPicker = ({
|
|
|
10591
10591
|
};
|
|
10592
10592
|
|
|
10593
10593
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
10594
|
-
const QuarterPicker =
|
|
10595
|
-
|
|
10596
|
-
|
|
10597
|
-
|
|
10598
|
-
|
|
10599
|
-
|
|
10600
|
-
|
|
10601
|
-
|
|
10602
|
-
|
|
10603
|
-
|
|
10604
|
-
|
|
10605
|
-
|
|
10606
|
-
|
|
10607
|
-
|
|
10608
|
-
|
|
10609
|
-
|
|
10610
|
-
|
|
10594
|
+
const QuarterPicker = _ref => {
|
|
10595
|
+
let {
|
|
10596
|
+
availableQuarters,
|
|
10597
|
+
// ["Q1-2024"]
|
|
10598
|
+
label,
|
|
10599
|
+
onChange,
|
|
10600
|
+
borderRadius,
|
|
10601
|
+
required,
|
|
10602
|
+
width,
|
|
10603
|
+
height,
|
|
10604
|
+
placeholder,
|
|
10605
|
+
disabled,
|
|
10606
|
+
borderColor,
|
|
10607
|
+
borderColorFocus,
|
|
10608
|
+
textColor,
|
|
10609
|
+
selectedValue,
|
|
10610
|
+
startYear
|
|
10611
|
+
} = _ref;
|
|
10611
10612
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
10612
10613
|
const [isOpen, setIsOpen] = React$1.useState(false);
|
|
10613
10614
|
const [value, setValue] = React$1.useState('');
|
|
@@ -11049,22 +11050,23 @@ const MonthPopupPicker = ({
|
|
|
11049
11050
|
};
|
|
11050
11051
|
|
|
11051
11052
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
11052
|
-
const MonthPicker =
|
|
11053
|
-
|
|
11054
|
-
|
|
11055
|
-
|
|
11056
|
-
|
|
11057
|
-
|
|
11058
|
-
|
|
11059
|
-
|
|
11060
|
-
|
|
11061
|
-
|
|
11062
|
-
|
|
11063
|
-
|
|
11064
|
-
|
|
11065
|
-
|
|
11066
|
-
|
|
11067
|
-
|
|
11053
|
+
const MonthPicker = _ref => {
|
|
11054
|
+
let {
|
|
11055
|
+
availableMonths,
|
|
11056
|
+
label,
|
|
11057
|
+
onChange,
|
|
11058
|
+
borderRadius,
|
|
11059
|
+
required,
|
|
11060
|
+
width,
|
|
11061
|
+
height,
|
|
11062
|
+
placeholder,
|
|
11063
|
+
disabled,
|
|
11064
|
+
borderColor,
|
|
11065
|
+
borderColorFocus,
|
|
11066
|
+
textColor,
|
|
11067
|
+
selectedValue,
|
|
11068
|
+
startYear
|
|
11069
|
+
} = _ref;
|
|
11068
11070
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
11069
11071
|
const [isOpen, setIsOpen] = React$1.useState(false);
|
|
11070
11072
|
const [value, setValue] = React$1.useState('');
|
|
@@ -24175,21 +24177,22 @@ const DeleteIcon = styled__default["default"].div`
|
|
|
24175
24177
|
position: absolute;
|
|
24176
24178
|
`;
|
|
24177
24179
|
|
|
24178
|
-
const QuickFilterDropdownSingle =
|
|
24179
|
-
|
|
24180
|
-
|
|
24181
|
-
|
|
24182
|
-
|
|
24183
|
-
|
|
24184
|
-
|
|
24185
|
-
|
|
24186
|
-
|
|
24187
|
-
|
|
24188
|
-
|
|
24189
|
-
|
|
24190
|
-
|
|
24191
|
-
|
|
24192
|
-
|
|
24180
|
+
const QuickFilterDropdownSingle = _ref => {
|
|
24181
|
+
let {
|
|
24182
|
+
label,
|
|
24183
|
+
hoverColor,
|
|
24184
|
+
options,
|
|
24185
|
+
selectedValue,
|
|
24186
|
+
placeHolder,
|
|
24187
|
+
onChange,
|
|
24188
|
+
disabled,
|
|
24189
|
+
width,
|
|
24190
|
+
error,
|
|
24191
|
+
errorMessage,
|
|
24192
|
+
xIconShow,
|
|
24193
|
+
labelColor,
|
|
24194
|
+
showLabelOnTop
|
|
24195
|
+
} = _ref;
|
|
24193
24196
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
24194
24197
|
const [showOptions, setShowOptions] = React$1.useState(false);
|
|
24195
24198
|
const [inputValue, setInputValue] = React$1.useState("");
|
|
@@ -36174,9 +36177,9 @@ const ToggleSlider = styled__default["default"].span`
|
|
|
36174
36177
|
}
|
|
36175
36178
|
`;
|
|
36176
36179
|
|
|
36177
|
-
/**
|
|
36178
|
-
* ToggleSwitch component for on/off states.
|
|
36179
|
-
* Supports small/large sizes and disabled state.
|
|
36180
|
+
/**
|
|
36181
|
+
* ToggleSwitch component for on/off states.
|
|
36182
|
+
* Supports small/large sizes and disabled state.
|
|
36180
36183
|
*/
|
|
36181
36184
|
function ToggleSwitch(_ref) {
|
|
36182
36185
|
let {
|
|
@@ -36988,13 +36991,13 @@ const NoEventsWrapper = styled__default["default"].div`
|
|
|
36988
36991
|
margin-bottom: 14px;
|
|
36989
36992
|
`;
|
|
36990
36993
|
const NoEventsMessage = styled__default["default"].span`
|
|
36991
|
-
font-size: 18px;
|
|
36994
|
+
font-size: ${props => props.subTitleSize ? props.subTitleSize : '18px'};
|
|
36992
36995
|
font-weight: 400;
|
|
36993
36996
|
margin-bottom: 14px;
|
|
36994
36997
|
text-align: center;
|
|
36995
36998
|
display: block;
|
|
36996
36999
|
> strong {
|
|
36997
|
-
font-size: 24px;
|
|
37000
|
+
font-size: ${props => props.titleSize ? props.titleSize : '24px'};
|
|
36998
37001
|
font-weight: 500;
|
|
36999
37002
|
}
|
|
37000
37003
|
`;
|
|
@@ -37214,8 +37217,8 @@ const NoEvents = ({
|
|
|
37214
37217
|
}));
|
|
37215
37218
|
|
|
37216
37219
|
const NoUpcIcon = ({
|
|
37217
|
-
width = "
|
|
37218
|
-
height = "
|
|
37220
|
+
width = "178",
|
|
37221
|
+
height = "171"
|
|
37219
37222
|
}) => /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
37220
37223
|
width: width,
|
|
37221
37224
|
height: height,
|
|
@@ -42046,6 +42049,7 @@ const EditableCell = styled__default["default"].div`
|
|
|
42046
42049
|
display: flex;
|
|
42047
42050
|
gap: 10px;
|
|
42048
42051
|
align-items: center;
|
|
42052
|
+
justify-content: end;
|
|
42049
42053
|
`;
|
|
42050
42054
|
const PencilButton = styled__default["default"].button`
|
|
42051
42055
|
display: flex;
|
|
@@ -46921,6 +46925,7 @@ const Table = props => {
|
|
|
46921
46925
|
noEventsSubtitle = "Let's get started and create your first one!",
|
|
46922
46926
|
noEventsButtonText = "New Event",
|
|
46923
46927
|
noEventsButtonIcon = "Plus",
|
|
46928
|
+
noEventsButtonHeight,
|
|
46924
46929
|
disableNoEventsButton = false,
|
|
46925
46930
|
showNoEventsButton = true,
|
|
46926
46931
|
indexToShimmer = -1,
|
|
@@ -46945,7 +46950,9 @@ const Table = props => {
|
|
|
46945
46950
|
onEditableClick = () => {},
|
|
46946
46951
|
resetFiltersKey = 0,
|
|
46947
46952
|
// NEW: Add this prop
|
|
46948
|
-
ref = null
|
|
46953
|
+
ref = null,
|
|
46954
|
+
titleSize,
|
|
46955
|
+
subTitleSize
|
|
46949
46956
|
} = props;
|
|
46950
46957
|
const scrollWrapperRef = React$1.useRef(null);
|
|
46951
46958
|
const tableBodyRef = React$1.useRef(null);
|
|
@@ -47084,8 +47091,11 @@ const Table = props => {
|
|
|
47084
47091
|
onEditableClick: onEditableClick,
|
|
47085
47092
|
isEditMode: isEditMode,
|
|
47086
47093
|
editRowIndex: editRowIndex
|
|
47087
|
-
})), data.length === 0 && /*#__PURE__*/React__default["default"].createElement(NoEventsParent, null, /*#__PURE__*/React__default["default"].createElement(NoEventsWrapper, null, showNoDataInSearch ? getNoDataSearchIcon(noDataSearchIcon) : getNoDataIcon(noDataIcon)), /*#__PURE__*/React__default["default"].createElement(NoEventsMessage,
|
|
47088
|
-
|
|
47094
|
+
})), data.length === 0 && /*#__PURE__*/React__default["default"].createElement(NoEventsParent, null, /*#__PURE__*/React__default["default"].createElement(NoEventsWrapper, null, showNoDataInSearch ? getNoDataSearchIcon(noDataSearchIcon) : getNoDataIcon(noDataIcon)), /*#__PURE__*/React__default["default"].createElement(NoEventsMessage, {
|
|
47095
|
+
titleSize: titleSize,
|
|
47096
|
+
subTitleSize: subTitleSize
|
|
47097
|
+
}, showNoDataInSearch ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("strong", null, noDataInSearchTitle), /*#__PURE__*/React__default["default"].createElement("br", null), noDataInSearchMessage) : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("strong", null, noEventsTitle), /*#__PURE__*/React__default["default"].createElement("br", null), noEventsSubtitle)), !showNoDataInSearch && showNoEventsButton && /*#__PURE__*/React__default["default"].createElement(Button$1, {
|
|
47098
|
+
height: noEventsButtonHeight ? noEventsButtonHeight : "45px",
|
|
47089
47099
|
leftIcon: noEventsButtonIcon,
|
|
47090
47100
|
text: noEventsButtonText,
|
|
47091
47101
|
disabled: disableNoEventsButton,
|
|
@@ -58352,7 +58362,7 @@ const QuickFilterCards = _ref => {
|
|
|
58352
58362
|
const StatusCell = styled__default["default"].div`
|
|
58353
58363
|
display: inline-flex;
|
|
58354
58364
|
height: ${props => props.height};
|
|
58355
|
-
padding:
|
|
58365
|
+
padding: 6px 14px;
|
|
58356
58366
|
justify-content: center;
|
|
58357
58367
|
align-items: center;
|
|
58358
58368
|
gap: 14px;
|