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.d.ts CHANGED
@@ -273,10 +273,16 @@ declare namespace FilterPanel {
273
273
  label: PropTypes.Requireable<string>;
274
274
  labelEmptyValue: PropTypes.Requireable<string>;
275
275
  name: PropTypes.Requireable<string>;
276
+ periodPickerSelectedValue: PropTypes.Requireable<(PropTypes.InferProps<{
277
+ value: PropTypes.Requireable<string>;
278
+ label: PropTypes.Requireable<string>;
279
+ }> | null | undefined)[]>;
276
280
  selectedValue: PropTypes.Requireable<(PropTypes.InferProps<{
277
281
  value: PropTypes.Requireable<string>;
278
282
  label: PropTypes.Requireable<string>;
279
283
  }> | null | undefined)[]>;
284
+ orderBy: PropTypes.Requireable<string>;
285
+ elementType: PropTypes.Requireable<string>;
280
286
  value: PropTypes.Requireable<number>;
281
287
  color: PropTypes.Requireable<string>;
282
288
  dropdownOptions: PropTypes.Requireable<(PropTypes.InferProps<{
package/dist/index.esm.js CHANGED
@@ -51247,67 +51247,70 @@ const DropdownMain = dt.div`
51247
51247
  `;
51248
51248
 
51249
51249
  /* eslint-disable react/prop-types */
51250
- const DropdownNew = ({
51251
- isMulti,
51252
- label,
51253
- labelEmptyValue,
51254
- options,
51255
- selectedValue,
51256
- placeHolder,
51257
- onChange,
51258
- required,
51259
- disabled,
51260
- width,
51261
- error,
51262
- errorMessage,
51263
- labelColor,
51264
- checkBoxColor,
51265
- xIconShow,
51266
- showLabelOnTop,
51267
- orderBy,
51268
- elementType
51269
- }) => /*#__PURE__*/React__default.createElement(DropdownMain, {
51270
- className: "DropdownMain",
51271
- width: width
51272
- }, isMulti ? /*#__PURE__*/React__default.createElement(DropdownMultiNew, {
51273
- className: "DropdownMultiNew",
51274
- placeHolder: placeHolder,
51275
- label: label,
51276
- labelEmptyValue: labelEmptyValue,
51277
- labelColor: labelColor,
51278
- checkBoxColor: checkBoxColor,
51279
- required: required,
51280
- options: options,
51281
- width: width,
51282
- disabled: disabled,
51283
- error: error,
51284
- errorMessage: errorMessage,
51285
- selectedValue: selectedValue,
51286
- xIconShow: xIconShow,
51287
- onChange: onChange,
51288
- showLabelOnTop: showLabelOnTop,
51289
- orderBy: orderBy,
51290
- elementType: elementType
51291
- }) : /*#__PURE__*/React__default.createElement(DropdownSingleNew, {
51292
- className: "DropdownSingleNew",
51293
- placeHolder: placeHolder,
51294
- label: label,
51295
- labelEmptyValue: labelEmptyValue,
51296
- labelColor: labelColor,
51297
- checkBoxColor: checkBoxColor,
51298
- required: required,
51299
- options: options,
51300
- width: width,
51301
- disabled: disabled,
51302
- error: error,
51303
- errorMessage: errorMessage,
51304
- selectedValue: selectedValue,
51305
- xIconShow: xIconShow,
51306
- onChange: onChange,
51307
- showLabelOnTop: showLabelOnTop,
51308
- orderBy: orderBy,
51309
- elementType: elementType
51310
- }));
51250
+ const DropdownNew = _ref => {
51251
+ let {
51252
+ isMulti,
51253
+ label,
51254
+ labelEmptyValue,
51255
+ options,
51256
+ selectedValue,
51257
+ placeHolder,
51258
+ onChange,
51259
+ required,
51260
+ disabled,
51261
+ width,
51262
+ error,
51263
+ errorMessage,
51264
+ labelColor,
51265
+ checkBoxColor,
51266
+ xIconShow,
51267
+ showLabelOnTop,
51268
+ orderBy,
51269
+ elementType
51270
+ } = _ref;
51271
+ return /*#__PURE__*/React__default.createElement(DropdownMain, {
51272
+ className: "DropdownMain",
51273
+ width: width
51274
+ }, isMulti ? /*#__PURE__*/React__default.createElement(DropdownMultiNew, {
51275
+ className: "DropdownMultiNew",
51276
+ placeHolder: placeHolder,
51277
+ label: label,
51278
+ labelEmptyValue: labelEmptyValue,
51279
+ labelColor: labelColor,
51280
+ checkBoxColor: checkBoxColor,
51281
+ required: required,
51282
+ options: options,
51283
+ width: width,
51284
+ disabled: disabled,
51285
+ error: error,
51286
+ errorMessage: errorMessage,
51287
+ selectedValue: selectedValue,
51288
+ xIconShow: xIconShow,
51289
+ onChange: onChange,
51290
+ showLabelOnTop: showLabelOnTop,
51291
+ orderBy: orderBy,
51292
+ elementType: elementType
51293
+ }) : /*#__PURE__*/React__default.createElement(DropdownSingleNew, {
51294
+ className: "DropdownSingleNew",
51295
+ placeHolder: placeHolder,
51296
+ label: label,
51297
+ labelEmptyValue: labelEmptyValue,
51298
+ labelColor: labelColor,
51299
+ checkBoxColor: checkBoxColor,
51300
+ required: required,
51301
+ options: options,
51302
+ width: width,
51303
+ disabled: disabled,
51304
+ error: error,
51305
+ errorMessage: errorMessage,
51306
+ selectedValue: selectedValue,
51307
+ xIconShow: xIconShow,
51308
+ onChange: onChange,
51309
+ showLabelOnTop: showLabelOnTop,
51310
+ orderBy: orderBy,
51311
+ elementType: elementType
51312
+ }));
51313
+ };
51311
51314
  DropdownNew.propTypes = {
51312
51315
  placeHolder: PropTypes.string,
51313
51316
  label: PropTypes.string,
@@ -51721,20 +51724,21 @@ const DatePicker = ({
51721
51724
  };
51722
51725
 
51723
51726
  /* eslint-disable import/no-extraneous-dependencies */
51724
- const RangePicker = ({
51725
- label,
51726
- onChange,
51727
- borderRadius,
51728
- required,
51729
- width,
51730
- height,
51731
- placeholder,
51732
- disabled,
51733
- borderColor,
51734
- borderColorFocus,
51735
- textColor,
51736
- selectedValue
51737
- }) => {
51727
+ const RangePicker = _ref => {
51728
+ let {
51729
+ label,
51730
+ onChange,
51731
+ borderRadius,
51732
+ required,
51733
+ width,
51734
+ height,
51735
+ placeholder,
51736
+ disabled,
51737
+ borderColor,
51738
+ borderColorFocus,
51739
+ textColor,
51740
+ selectedValue
51741
+ } = _ref;
51738
51742
  const [isFocused, setIsFocused] = useState(false);
51739
51743
  const [isOpen, setIsOpen] = useState(false);
51740
51744
  const [value, setValue] = useState(''); // Added value state
@@ -52166,22 +52170,23 @@ const QuarterPopupPicker = ({
52166
52170
  };
52167
52171
 
52168
52172
  /* eslint-disable import/no-extraneous-dependencies */
52169
- const QuarterPicker = ({
52170
- availableQuarters,
52171
- // ["Q1-2024"]
52172
- label,
52173
- onChange,
52174
- borderRadius,
52175
- required,
52176
- width,
52177
- height,
52178
- placeholder,
52179
- disabled,
52180
- borderColor,
52181
- borderColorFocus,
52182
- textColor,
52183
- selectedValue
52184
- }) => {
52173
+ const QuarterPicker = _ref => {
52174
+ let {
52175
+ availableQuarters,
52176
+ // ["Q1-2024"]
52177
+ label,
52178
+ onChange,
52179
+ borderRadius,
52180
+ required,
52181
+ width,
52182
+ height,
52183
+ placeholder,
52184
+ disabled,
52185
+ borderColor,
52186
+ borderColorFocus,
52187
+ textColor,
52188
+ selectedValue
52189
+ } = _ref;
52185
52190
  const [isFocused, setIsFocused] = useState(false);
52186
52191
  const [isOpen, setIsOpen] = useState(false);
52187
52192
  const [value, setValue] = useState('');
@@ -52620,21 +52625,22 @@ const MonthPopupPicker = ({
52620
52625
  };
52621
52626
 
52622
52627
  /* eslint-disable import/no-extraneous-dependencies */
52623
- const MonthPicker = ({
52624
- availableMonths,
52625
- label,
52626
- onChange,
52627
- borderRadius,
52628
- required,
52629
- width,
52630
- height,
52631
- placeholder,
52632
- disabled,
52633
- borderColor,
52634
- borderColorFocus,
52635
- textColor,
52636
- selectedValue
52637
- }) => {
52628
+ const MonthPicker = _ref => {
52629
+ let {
52630
+ availableMonths,
52631
+ label,
52632
+ onChange,
52633
+ borderRadius,
52634
+ required,
52635
+ width,
52636
+ height,
52637
+ placeholder,
52638
+ disabled,
52639
+ borderColor,
52640
+ borderColorFocus,
52641
+ textColor,
52642
+ selectedValue
52643
+ } = _ref;
52638
52644
  const [isFocused, setIsFocused] = useState(false);
52639
52645
  const [isOpen, setIsOpen] = useState(false);
52640
52646
  const [value, setValue] = useState('');
@@ -53448,10 +53454,16 @@ FilterPanel.propTypes = {
53448
53454
  label: PropTypes.string,
53449
53455
  labelEmptyValue: PropTypes.string,
53450
53456
  name: PropTypes.string,
53457
+ periodPickerSelectedValue: PropTypes.arrayOf(PropTypes.shape({
53458
+ value: PropTypes.string,
53459
+ label: PropTypes.string
53460
+ })),
53451
53461
  selectedValue: PropTypes.arrayOf(PropTypes.shape({
53452
53462
  value: PropTypes.string,
53453
53463
  label: PropTypes.string
53454
53464
  })),
53465
+ orderBy: PropTypes.string,
53466
+ elementType: PropTypes.string,
53455
53467
  value: PropTypes.number,
53456
53468
  color: PropTypes.string,
53457
53469
  dropdownOptions: PropTypes.arrayOf(PropTypes.shape({