sag_components 2.0.0-beta155 → 2.0.0-beta156

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
@@ -1590,10 +1590,11 @@ declare function ToasterMessageBox({ color, messageText, linkText, duration, wid
1590
1590
  onClose?: () => void;
1591
1591
  }): react_jsx_runtime.JSX.Element;
1592
1592
 
1593
- declare function QuickFilterCards({ data, onCardToggle, width, }: {
1593
+ declare function QuickFilterCards({ data, onCardToggle, width, CardsContainerClassName, }: {
1594
1594
  data?: any[];
1595
1595
  onCardToggle?: () => void;
1596
1596
  width?: string;
1597
+ CardsContainerClassName?: string;
1597
1598
  }): react_jsx_runtime.JSX.Element;
1598
1599
 
1599
1600
  declare function RangePicker({ label, onChange, borderRadius, required, width, height, placeholder, disabled, borderColor, borderColorFocus, textColor, selectedValue, }: {
package/dist/index.esm.js CHANGED
@@ -34620,15 +34620,16 @@ css`
34620
34620
  * • onApply(start,end) – callback, both numbers (inclusive)
34621
34621
  * • onCancel() – callback
34622
34622
  */
34623
- const WeeksCalendar = ({
34624
- year,
34625
- defaultStartWeek = null,
34626
- defaultEndWeek = null,
34627
- backgroundColor = "#066768",
34628
- hoverBackgroundColor = "#E6F0F0",
34629
- onApply,
34630
- onCancel
34631
- }) => {
34623
+ const WeeksCalendar = _ref => {
34624
+ let {
34625
+ year,
34626
+ defaultStartWeek = null,
34627
+ defaultEndWeek = null,
34628
+ backgroundColor = "#066768",
34629
+ hoverBackgroundColor = "#E6F0F0",
34630
+ onApply,
34631
+ onCancel
34632
+ } = _ref;
34632
34633
  // state -------------------------------------------------
34633
34634
  const [startWeek, setStartWeek] = useState(defaultStartWeek);
34634
34635
  const [endWeek, setEndWeek] = useState(defaultEndWeek);
@@ -53348,7 +53349,8 @@ const QuickFilterCards = _ref => {
53348
53349
  let {
53349
53350
  data = [],
53350
53351
  onCardToggle = () => {},
53351
- width = "100%"
53352
+ width = "100%",
53353
+ CardsContainerClassName = "QuickFilterCardsContainer"
53352
53354
  } = _ref;
53353
53355
  // local mirror so UI updates immediately even if parent is slow/not controlling
53354
53356
  const [items, setItems] = useState(data);
@@ -53367,7 +53369,7 @@ const QuickFilterCards = _ref => {
53367
53369
  };
53368
53370
  return /*#__PURE__*/React$1.createElement(CardsContainer, {
53369
53371
  width: width,
53370
- className: "QuickFilterCardsContainer"
53372
+ className: CardsContainerClassName
53371
53373
  }, items.map(_ref2 => {
53372
53374
  let {
53373
53375
  status,