sag_components 2.0.0-beta7 → 2.0.0-beta8

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
@@ -44316,18 +44316,19 @@ const InfoIcon = _ref => {
44316
44316
  }));
44317
44317
  };
44318
44318
 
44319
- const LinkButton = ({
44320
- text = '',
44321
- type = 'primary',
44322
- size = 'small',
44323
- height = '',
44324
- width = '',
44325
- disabled = false,
44326
- textColor = '',
44327
- onClick,
44328
- leftIcon = 'none',
44329
- rightIcon = 'none'
44330
- }) => {
44319
+ const LinkButton = _ref => {
44320
+ let {
44321
+ text = '',
44322
+ type = 'primary',
44323
+ size = 'small',
44324
+ height = '',
44325
+ width = '',
44326
+ disabled = false,
44327
+ textColor = '',
44328
+ onClick,
44329
+ leftIcon = 'none',
44330
+ rightIcon = 'none'
44331
+ } = _ref;
44331
44332
  // const {
44332
44333
  // text,
44333
44334
  // type,
@@ -51274,70 +51275,67 @@ const DropdownMain = dt.div`
51274
51275
  `;
51275
51276
 
51276
51277
  /* eslint-disable react/prop-types */
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
- };
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
+ }));
51341
51339
  DropdownNew.propTypes = {
51342
51340
  placeHolder: PropTypes.string,
51343
51341
  label: PropTypes.string,
@@ -52197,23 +52195,22 @@ const QuarterPopupPicker = ({
52197
52195
  };
52198
52196
 
52199
52197
  /* eslint-disable import/no-extraneous-dependencies */
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;
52198
+ const QuarterPicker = ({
52199
+ availableQuarters,
52200
+ // ["Q1-2024"]
52201
+ label,
52202
+ onChange,
52203
+ borderRadius,
52204
+ required,
52205
+ width,
52206
+ height,
52207
+ placeholder,
52208
+ disabled,
52209
+ borderColor,
52210
+ borderColorFocus,
52211
+ textColor,
52212
+ selectedValue
52213
+ }) => {
52217
52214
  const [isFocused, setIsFocused] = React.useState(false);
52218
52215
  const [isOpen, setIsOpen] = React.useState(false);
52219
52216
  const [value, setValue] = React.useState('');
@@ -52652,22 +52649,21 @@ const MonthPopupPicker = ({
52652
52649
  };
52653
52650
 
52654
52651
  /* eslint-disable import/no-extraneous-dependencies */
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;
52652
+ const MonthPicker = ({
52653
+ availableMonths,
52654
+ label,
52655
+ onChange,
52656
+ borderRadius,
52657
+ required,
52658
+ width,
52659
+ height,
52660
+ placeholder,
52661
+ disabled,
52662
+ borderColor,
52663
+ borderColorFocus,
52664
+ textColor,
52665
+ selectedValue
52666
+ }) => {
52671
52667
  const [isFocused, setIsFocused] = React.useState(false);
52672
52668
  const [isOpen, setIsOpen] = React.useState(false);
52673
52669
  const [value, setValue] = React.useState('');
@@ -53493,6 +53489,10 @@ FilterPanel.propTypes = {
53493
53489
  elementType: PropTypes.string,
53494
53490
  value: PropTypes.number,
53495
53491
  color: PropTypes.string,
53492
+ defaultValueYears: PropTypes.shape({
53493
+ value: PropTypes.string,
53494
+ label: PropTypes.string
53495
+ }),
53496
53496
  dropdownOptions: PropTypes.arrayOf(PropTypes.shape({
53497
53497
  value: PropTypes.string,
53498
53498
  label: PropTypes.string