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.js
CHANGED
|
@@ -34630,15 +34630,16 @@ styled.css`
|
|
|
34630
34630
|
* • onApply(start,end) – callback, both numbers (inclusive)
|
|
34631
34631
|
* • onCancel() – callback
|
|
34632
34632
|
*/
|
|
34633
|
-
const WeeksCalendar =
|
|
34634
|
-
|
|
34635
|
-
|
|
34636
|
-
|
|
34637
|
-
|
|
34638
|
-
|
|
34639
|
-
|
|
34640
|
-
|
|
34641
|
-
|
|
34633
|
+
const WeeksCalendar = _ref => {
|
|
34634
|
+
let {
|
|
34635
|
+
year,
|
|
34636
|
+
defaultStartWeek = null,
|
|
34637
|
+
defaultEndWeek = null,
|
|
34638
|
+
backgroundColor = "#066768",
|
|
34639
|
+
hoverBackgroundColor = "#E6F0F0",
|
|
34640
|
+
onApply,
|
|
34641
|
+
onCancel
|
|
34642
|
+
} = _ref;
|
|
34642
34643
|
// state -------------------------------------------------
|
|
34643
34644
|
const [startWeek, setStartWeek] = React$1.useState(defaultStartWeek);
|
|
34644
34645
|
const [endWeek, setEndWeek] = React$1.useState(defaultEndWeek);
|
|
@@ -53358,7 +53359,8 @@ const QuickFilterCards = _ref => {
|
|
|
53358
53359
|
let {
|
|
53359
53360
|
data = [],
|
|
53360
53361
|
onCardToggle = () => {},
|
|
53361
|
-
width = "100%"
|
|
53362
|
+
width = "100%",
|
|
53363
|
+
CardsContainerClassName = "QuickFilterCardsContainer"
|
|
53362
53364
|
} = _ref;
|
|
53363
53365
|
// local mirror so UI updates immediately even if parent is slow/not controlling
|
|
53364
53366
|
const [items, setItems] = React$1.useState(data);
|
|
@@ -53377,7 +53379,7 @@ const QuickFilterCards = _ref => {
|
|
|
53377
53379
|
};
|
|
53378
53380
|
return /*#__PURE__*/React__default["default"].createElement(CardsContainer, {
|
|
53379
53381
|
width: width,
|
|
53380
|
-
className:
|
|
53382
|
+
className: CardsContainerClassName
|
|
53381
53383
|
}, items.map(_ref2 => {
|
|
53382
53384
|
let {
|
|
53383
53385
|
status,
|