sag_components 2.0.0-beta6 → 2.0.0-beta7

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.js CHANGED
@@ -51274,67 +51274,70 @@ const DropdownMain = dt.div`
51274
51274
  `;
51275
51275
 
51276
51276
  /* eslint-disable react/prop-types */
51277
- const DropdownNew = ({
51278
- isMulti,
51279
- label,
51280
- labelEmptyValue,
51281
- options,
51282
- selectedValue,
51283
- placeHolder,
51284
- onChange,
51285
- required,
51286
- disabled,
51287
- width,
51288
- error,
51289
- errorMessage,
51290
- labelColor,
51291
- checkBoxColor,
51292
- xIconShow,
51293
- showLabelOnTop,
51294
- orderBy,
51295
- elementType
51296
- }) => /*#__PURE__*/React__default["default"].createElement(DropdownMain, {
51297
- className: "DropdownMain",
51298
- width: width
51299
- }, isMulti ? /*#__PURE__*/React__default["default"].createElement(DropdownMultiNew, {
51300
- className: "DropdownMultiNew",
51301
- placeHolder: placeHolder,
51302
- label: label,
51303
- labelEmptyValue: labelEmptyValue,
51304
- labelColor: labelColor,
51305
- checkBoxColor: checkBoxColor,
51306
- required: required,
51307
- options: options,
51308
- width: width,
51309
- disabled: disabled,
51310
- error: error,
51311
- errorMessage: errorMessage,
51312
- selectedValue: selectedValue,
51313
- xIconShow: xIconShow,
51314
- onChange: onChange,
51315
- showLabelOnTop: showLabelOnTop,
51316
- orderBy: orderBy,
51317
- elementType: elementType
51318
- }) : /*#__PURE__*/React__default["default"].createElement(DropdownSingleNew, {
51319
- className: "DropdownSingleNew",
51320
- placeHolder: placeHolder,
51321
- label: label,
51322
- labelEmptyValue: labelEmptyValue,
51323
- labelColor: labelColor,
51324
- checkBoxColor: checkBoxColor,
51325
- required: required,
51326
- options: options,
51327
- width: width,
51328
- disabled: disabled,
51329
- error: error,
51330
- errorMessage: errorMessage,
51331
- selectedValue: selectedValue,
51332
- xIconShow: xIconShow,
51333
- onChange: onChange,
51334
- showLabelOnTop: showLabelOnTop,
51335
- orderBy: orderBy,
51336
- elementType: elementType
51337
- }));
51277
+ const DropdownNew = _ref => {
51278
+ let {
51279
+ isMulti,
51280
+ label,
51281
+ labelEmptyValue,
51282
+ options,
51283
+ selectedValue,
51284
+ placeHolder,
51285
+ onChange,
51286
+ required,
51287
+ disabled,
51288
+ width,
51289
+ error,
51290
+ errorMessage,
51291
+ labelColor,
51292
+ checkBoxColor,
51293
+ xIconShow,
51294
+ showLabelOnTop,
51295
+ orderBy,
51296
+ elementType
51297
+ } = _ref;
51298
+ return /*#__PURE__*/React__default["default"].createElement(DropdownMain, {
51299
+ className: "DropdownMain",
51300
+ width: width
51301
+ }, isMulti ? /*#__PURE__*/React__default["default"].createElement(DropdownMultiNew, {
51302
+ className: "DropdownMultiNew",
51303
+ placeHolder: placeHolder,
51304
+ label: label,
51305
+ labelEmptyValue: labelEmptyValue,
51306
+ labelColor: labelColor,
51307
+ checkBoxColor: checkBoxColor,
51308
+ required: required,
51309
+ options: options,
51310
+ width: width,
51311
+ disabled: disabled,
51312
+ error: error,
51313
+ errorMessage: errorMessage,
51314
+ selectedValue: selectedValue,
51315
+ xIconShow: xIconShow,
51316
+ onChange: onChange,
51317
+ showLabelOnTop: showLabelOnTop,
51318
+ orderBy: orderBy,
51319
+ elementType: elementType
51320
+ }) : /*#__PURE__*/React__default["default"].createElement(DropdownSingleNew, {
51321
+ className: "DropdownSingleNew",
51322
+ placeHolder: placeHolder,
51323
+ label: label,
51324
+ labelEmptyValue: labelEmptyValue,
51325
+ labelColor: labelColor,
51326
+ checkBoxColor: checkBoxColor,
51327
+ required: required,
51328
+ options: options,
51329
+ width: width,
51330
+ disabled: disabled,
51331
+ error: error,
51332
+ errorMessage: errorMessage,
51333
+ selectedValue: selectedValue,
51334
+ xIconShow: xIconShow,
51335
+ onChange: onChange,
51336
+ showLabelOnTop: showLabelOnTop,
51337
+ orderBy: orderBy,
51338
+ elementType: elementType
51339
+ }));
51340
+ };
51338
51341
  DropdownNew.propTypes = {
51339
51342
  placeHolder: PropTypes.string,
51340
51343
  label: PropTypes.string,
@@ -51748,20 +51751,21 @@ const DatePicker = ({
51748
51751
  };
51749
51752
 
51750
51753
  /* eslint-disable import/no-extraneous-dependencies */
51751
- const RangePicker = ({
51752
- label,
51753
- onChange,
51754
- borderRadius,
51755
- required,
51756
- width,
51757
- height,
51758
- placeholder,
51759
- disabled,
51760
- borderColor,
51761
- borderColorFocus,
51762
- textColor,
51763
- selectedValue
51764
- }) => {
51754
+ const RangePicker = _ref => {
51755
+ let {
51756
+ label,
51757
+ onChange,
51758
+ borderRadius,
51759
+ required,
51760
+ width,
51761
+ height,
51762
+ placeholder,
51763
+ disabled,
51764
+ borderColor,
51765
+ borderColorFocus,
51766
+ textColor,
51767
+ selectedValue
51768
+ } = _ref;
51765
51769
  const [isFocused, setIsFocused] = React.useState(false);
51766
51770
  const [isOpen, setIsOpen] = React.useState(false);
51767
51771
  const [value, setValue] = React.useState(''); // Added value state
@@ -52193,22 +52197,23 @@ const QuarterPopupPicker = ({
52193
52197
  };
52194
52198
 
52195
52199
  /* eslint-disable import/no-extraneous-dependencies */
52196
- const QuarterPicker = ({
52197
- availableQuarters,
52198
- // ["Q1-2024"]
52199
- label,
52200
- onChange,
52201
- borderRadius,
52202
- required,
52203
- width,
52204
- height,
52205
- placeholder,
52206
- disabled,
52207
- borderColor,
52208
- borderColorFocus,
52209
- textColor,
52210
- selectedValue
52211
- }) => {
52200
+ const QuarterPicker = _ref => {
52201
+ let {
52202
+ availableQuarters,
52203
+ // ["Q1-2024"]
52204
+ label,
52205
+ onChange,
52206
+ borderRadius,
52207
+ required,
52208
+ width,
52209
+ height,
52210
+ placeholder,
52211
+ disabled,
52212
+ borderColor,
52213
+ borderColorFocus,
52214
+ textColor,
52215
+ selectedValue
52216
+ } = _ref;
52212
52217
  const [isFocused, setIsFocused] = React.useState(false);
52213
52218
  const [isOpen, setIsOpen] = React.useState(false);
52214
52219
  const [value, setValue] = React.useState('');
@@ -52647,21 +52652,22 @@ const MonthPopupPicker = ({
52647
52652
  };
52648
52653
 
52649
52654
  /* eslint-disable import/no-extraneous-dependencies */
52650
- const MonthPicker = ({
52651
- availableMonths,
52652
- label,
52653
- onChange,
52654
- borderRadius,
52655
- required,
52656
- width,
52657
- height,
52658
- placeholder,
52659
- disabled,
52660
- borderColor,
52661
- borderColorFocus,
52662
- textColor,
52663
- selectedValue
52664
- }) => {
52655
+ const MonthPicker = _ref => {
52656
+ let {
52657
+ availableMonths,
52658
+ label,
52659
+ onChange,
52660
+ borderRadius,
52661
+ required,
52662
+ width,
52663
+ height,
52664
+ placeholder,
52665
+ disabled,
52666
+ borderColor,
52667
+ borderColorFocus,
52668
+ textColor,
52669
+ selectedValue
52670
+ } = _ref;
52665
52671
  const [isFocused, setIsFocused] = React.useState(false);
52666
52672
  const [isOpen, setIsOpen] = React.useState(false);
52667
52673
  const [value, setValue] = React.useState('');
@@ -53475,10 +53481,16 @@ FilterPanel.propTypes = {
53475
53481
  label: PropTypes.string,
53476
53482
  labelEmptyValue: PropTypes.string,
53477
53483
  name: PropTypes.string,
53484
+ periodPickerSelectedValue: PropTypes.arrayOf(PropTypes.shape({
53485
+ value: PropTypes.string,
53486
+ label: PropTypes.string
53487
+ })),
53478
53488
  selectedValue: PropTypes.arrayOf(PropTypes.shape({
53479
53489
  value: PropTypes.string,
53480
53490
  label: PropTypes.string
53481
53491
  })),
53492
+ orderBy: PropTypes.string,
53493
+ elementType: PropTypes.string,
53482
53494
  value: PropTypes.number,
53483
53495
  color: PropTypes.string,
53484
53496
  dropdownOptions: PropTypes.arrayOf(PropTypes.shape({