sag_components 2.0.0-beta3 → 2.0.0-beta5

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