@bbl-digital/snorre 4.2.72 → 4.2.74
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/bundle.js +2 -50
- package/esm/core/Calendar/CalendarEvent/index.js +15 -7
- package/esm/core/Calendar/CalendarEvent/styles.js +6 -5
- package/esm/core/Calendar/CalendarSmallEvent/index.js +20 -9
- package/esm/core/Calendar/CalendarSmallEvent/styles.js +2 -1
- package/esm/core/InfoButton/index.js +18 -7
- package/esm/core/InfoButton/styles.js +6 -5
- package/esm/core/Modal/index.js +15 -7
- package/esm/core/Modal/styles.js +10 -10
- package/esm/core/NotificationsMenu/index.js +2 -2
- package/esm/core/SearchFilter/index.js +30 -7
- package/esm/core/SearchFilter/styles.js +15 -35
- package/esm/layout/Submenu/SubmenuItem/index.js +14 -5
- package/esm/layout/Submenu/SubmenuItem/styles.js +3 -22
- package/lib/app-shell/theme.d.ts.map +1 -1
- package/lib/core/Autocomplete/hooks/useAutocomplete.d.ts.map +1 -1
- package/lib/core/Autocomplete/styles.d.ts.map +1 -1
- package/lib/core/BoxedTable/HeaderCell/styles.d.ts.map +1 -1
- package/lib/core/Calendar/CalendarEvent/index.d.ts.map +1 -1
- package/lib/core/Calendar/CalendarEvent/index.js +15 -7
- package/lib/core/Calendar/CalendarEvent/styles.d.ts +2 -3
- package/lib/core/Calendar/CalendarEvent/styles.d.ts.map +1 -1
- package/lib/core/Calendar/CalendarEvent/styles.js +6 -5
- package/lib/core/Calendar/CalendarSmallEvent/index.d.ts.map +1 -1
- package/lib/core/Calendar/CalendarSmallEvent/index.js +20 -9
- package/lib/core/Calendar/CalendarSmallEvent/styles.d.ts +2 -3
- package/lib/core/Calendar/CalendarSmallEvent/styles.d.ts.map +1 -1
- package/lib/core/Calendar/CalendarSmallEvent/styles.js +2 -1
- package/lib/core/Calendar/util.d.ts.map +1 -1
- package/lib/core/DropdownMenu/styles.d.ts.map +1 -1
- package/lib/core/FileInput/index.d.ts.map +1 -1
- package/lib/core/Html/index.d.ts.map +1 -1
- package/lib/core/ImagePicker/IconWithBackground.d.ts.map +1 -1
- package/lib/core/ImagePicker/UploadButton.d.ts.map +1 -1
- package/lib/core/ImagePicker/index.d.ts.map +1 -1
- package/lib/core/ImageViewer/index.d.ts.map +1 -1
- package/lib/core/InfoButton/index.d.ts.map +1 -1
- package/lib/core/InfoButton/index.js +18 -7
- package/lib/core/InfoButton/styles.d.ts +2 -3
- package/lib/core/InfoButton/styles.d.ts.map +1 -1
- package/lib/core/InfoButton/styles.js +6 -5
- package/lib/core/Link/styles.d.ts.map +1 -1
- package/lib/core/ListPager/styles.d.ts.map +1 -1
- package/lib/core/MediaCarousel/index.d.ts.map +1 -1
- package/lib/core/Modal/ActionButtons/index.d.ts.map +1 -1
- package/lib/core/Modal/index.d.ts.map +1 -1
- package/lib/core/Modal/index.js +15 -7
- package/lib/core/Modal/styles.d.ts +2 -3
- package/lib/core/Modal/styles.d.ts.map +1 -1
- package/lib/core/Modal/styles.js +10 -10
- package/lib/core/NoticeCard/utils.d.ts.map +1 -1
- package/lib/core/NotificationsMenu/NotificationRow/index.d.ts.map +1 -1
- package/lib/core/NotificationsMenu/index.d.ts.map +1 -1
- package/lib/core/NotificationsMenu/index.js +2 -2
- package/lib/core/PieChart/ActiveShape/index.d.ts.map +1 -1
- package/lib/core/PieChart/renderTextContent/index.d.ts.map +1 -1
- package/lib/core/SearchFilter/index.d.ts.map +1 -1
- package/lib/core/SearchFilter/index.js +30 -7
- package/lib/core/SearchFilter/styles.d.ts +4 -6
- package/lib/core/SearchFilter/styles.d.ts.map +1 -1
- package/lib/core/SearchFilter/styles.js +15 -35
- package/lib/core/SearchSelect/hooks/useSelectSearch.d.ts.map +1 -1
- package/lib/core/Select/styles.d.ts.map +1 -1
- package/lib/core/Stepper/MobileStep/index.d.ts.map +1 -1
- package/lib/core/TabNav/utils/useContainerDimensions.d.ts.map +1 -1
- package/lib/core/UserMenu/styles.d.ts.map +1 -1
- package/lib/core/YearWheel/styles.d.ts.map +1 -1
- package/lib/core/private/preemption.d.ts.map +1 -1
- package/lib/core/utils/debounce.d.ts.map +1 -1
- package/lib/hooks/useIsMobile.d.ts.map +1 -1
- package/lib/icons/withIcon.d.ts.map +1 -1
- package/lib/illustrations/styles.d.ts.map +1 -1
- package/lib/illustrations/withIllustration.d.ts.map +1 -1
- package/lib/layout/Footer/styles.d.ts.map +1 -1
- package/lib/layout/LayoutShell/styles.d.ts.map +1 -1
- package/lib/layout/Submenu/SubmenuItem/index.d.ts.map +1 -1
- package/lib/layout/Submenu/SubmenuItem/index.js +14 -5
- package/lib/layout/Submenu/SubmenuItem/styles.d.ts +1 -1
- package/lib/layout/Submenu/SubmenuItem/styles.d.ts.map +1 -1
- package/lib/layout/Submenu/SubmenuItem/styles.js +3 -22
- package/lib/layout/Submenu/styles.d.ts.map +1 -1
- package/lib/utils/accountNumber.d.ts.map +1 -1
- package/lib/utils/array.d.ts.map +1 -1
- package/lib/utils/dates.d.ts.map +1 -1
- package/lib/utils/file.d.ts.map +1 -1
- package/lib/utils/format.d.ts +7 -1
- package/lib/utils/format.d.ts.map +1 -1
- package/lib/utils/image.d.ts.map +1 -1
- package/lib/utils/pagination.d.ts.map +1 -1
- package/lib/utils/phone.d.ts.map +1 -1
- package/lib/utils/time.d.ts.map +1 -1
- package/lib/utils/url.d.ts.map +1 -1
- package/lib/utils/useSnorreTheme.d.ts.map +1 -1
- package/lib/v2/core/BoxedTable/HeaderCell/styles.d.ts.map +1 -1
- package/lib/v2/core/TabNav/utils/useContainerDimensions.d.ts.map +1 -1
- package/lib/v2/hooks/useOverflow.d.ts.map +1 -1
- package/package.json +4 -9
- package/rollup.config.js +1 -9
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
exports.default = void 0;
|
7
7
|
var _react = _interopRequireWildcard(require("react"));
|
8
8
|
var _styles = require("./styles");
|
9
|
-
var _reactTransitionGroup = require("react-transition-group");
|
10
9
|
var _Text = _interopRequireDefault(require("../../Text"));
|
11
10
|
var _react2 = require("@emotion/react");
|
12
11
|
var _format = require("../../../utils/format");
|
13
12
|
var _Header = _interopRequireDefault(require("../../Header"));
|
14
13
|
var _dates = require("../../../utils/dates");
|
14
|
+
var _react3 = require("motion/react");
|
15
15
|
var _jsxRuntime = require("react/jsx-runtime");
|
16
16
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
17
17
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
@@ -52,12 +52,20 @@ const CalendarEvent = ({
|
|
52
52
|
onClick: handleClick,
|
53
53
|
background: theme.illustrationPrimary10,
|
54
54
|
children: event.title
|
55
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
55
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_react3.AnimatePresence, {
|
56
|
+
children: showTooltip && /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.InformationBox, {
|
57
|
+
initial: {
|
58
|
+
opacity: 0
|
59
|
+
},
|
60
|
+
animate: {
|
61
|
+
opacity: 1
|
62
|
+
},
|
63
|
+
exit: {
|
64
|
+
opacity: 0
|
65
|
+
},
|
66
|
+
transition: {
|
67
|
+
duration: 0.1
|
68
|
+
},
|
61
69
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.EventContent, {
|
62
70
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Header.default, {
|
63
71
|
level: 5,
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
exports.InformationWrapper = exports.InformationBox = exports.EventContent = exports.Div = exports.CalendarEventBtn = void 0;
|
7
7
|
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
8
8
|
var _react = require("@emotion/react");
|
9
|
+
var _react2 = require("motion/react");
|
9
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
10
11
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
11
12
|
const CalendarEventBtn = exports.CalendarEventBtn = /*#__PURE__*/(0, _base.default)("button", process.env.NODE_ENV === "production" ? {
|
@@ -27,17 +28,17 @@ const InformationWrapper = exports.InformationWrapper = /*#__PURE__*/(0, _base.d
|
|
27
28
|
styles: "display:block;position:relative;font-weight:400",
|
28
29
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
29
30
|
});
|
30
|
-
const InformationBox = exports.InformationBox = /*#__PURE__*/(0, _base.default)(
|
31
|
+
const InformationBox = exports.InformationBox = /*#__PURE__*/(0, _base.default)(_react2.motion.div, process.env.NODE_ENV === "production" ? {
|
31
32
|
target: "emupss02"
|
32
33
|
} : {
|
33
34
|
target: "emupss02",
|
34
35
|
label: "InformationBox"
|
35
36
|
})(process.env.NODE_ENV === "production" ? {
|
36
|
-
name: "
|
37
|
-
styles: "position:absolute;width:22vw;text-align:center;border-radius:10px;background-color:white;z-index:1;top:-20px;left:calc(100% + 10px);box-shadow:0px 10px 15px 0px rgba(0, 0, 0, 0.2)
|
37
|
+
name: "1nkktzb",
|
38
|
+
styles: "position:absolute;width:22vw;text-align:center;border-radius:10px;background-color:white;z-index:1;top:-20px;left:calc(100% + 10px);box-shadow:0px 10px 15px 0px rgba(0, 0, 0, 0.2);&::after{content:'';position:absolute;border-width:12px;border-style:solid;top:20px;right:100%;margin-left:-5px;border-color:transparent white transparent transparent;}"
|
38
39
|
} : {
|
39
|
-
name: "
|
40
|
-
styles: "position:absolute;width:22vw;text-align:center;border-radius:10px;background-color:white;z-index:1;top:-20px;left:calc(100% + 10px);box-shadow:0px 10px 15px 0px rgba(0, 0, 0, 0.2)
|
40
|
+
name: "1nkktzb",
|
41
|
+
styles: "position:absolute;width:22vw;text-align:center;border-radius:10px;background-color:white;z-index:1;top:-20px;left:calc(100% + 10px);box-shadow:0px 10px 15px 0px rgba(0, 0, 0, 0.2);&::after{content:'';position:absolute;border-width:12px;border-style:solid;top:20px;right:100%;margin-left:-5px;border-color:transparent white transparent transparent;}",
|
41
42
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
42
43
|
});
|
43
44
|
const EventContent = exports.EventContent = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
|
@@ -6,9 +6,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
exports.default = void 0;
|
7
7
|
var _react = _interopRequireWildcard(require("react"));
|
8
8
|
var _styles = require("./styles");
|
9
|
-
var
|
9
|
+
var _react2 = require("motion/react");
|
10
10
|
var _Text = _interopRequireDefault(require("../../Text"));
|
11
|
-
var
|
11
|
+
var _react3 = require("@emotion/react");
|
12
12
|
var _format = require("../../../utils/format");
|
13
13
|
var _Header = _interopRequireDefault(require("../../Header"));
|
14
14
|
var _dates = require("../../../utils/dates");
|
@@ -20,7 +20,7 @@ const CalendarSmallEvent = ({
|
|
20
20
|
trackingName,
|
21
21
|
events
|
22
22
|
}) => {
|
23
|
-
const theme = (0,
|
23
|
+
const theme = (0, _react3.useTheme)();
|
24
24
|
const ref = /*#__PURE__*/(0, _react.createRef)();
|
25
25
|
const [showTooltip, setShowTooltip] = (0, _react.useState)(false);
|
26
26
|
const handleClick = e => {
|
@@ -50,12 +50,23 @@ const CalendarSmallEvent = ({
|
|
50
50
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.CalendarSmallEventBtn, {
|
51
51
|
trackingName: trackingName,
|
52
52
|
background: theme.primary
|
53
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
53
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_react2.AnimatePresence, {
|
54
|
+
children: showTooltip && /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.InformationBox, {
|
55
|
+
initial: {
|
56
|
+
opacity: 0,
|
57
|
+
scale: 0.9
|
58
|
+
},
|
59
|
+
animate: {
|
60
|
+
opacity: 1,
|
61
|
+
scale: 1
|
62
|
+
},
|
63
|
+
exit: {
|
64
|
+
opacity: 0,
|
65
|
+
scale: 0.9
|
66
|
+
},
|
67
|
+
transition: {
|
68
|
+
duration: 0.1
|
69
|
+
},
|
59
70
|
children: events.length > 0 && events.map((event, i) => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.EventContent, {
|
60
71
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Header.default, {
|
61
72
|
level: 5,
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
exports.InformationWrapper = exports.InformationBox = exports.EventContent = exports.Div = exports.CalendarSmallEventBtn = void 0;
|
7
7
|
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
8
8
|
var _react = require("@emotion/react");
|
9
|
+
var _react2 = require("motion/react");
|
9
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
10
11
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
11
12
|
const CalendarSmallEventBtn = exports.CalendarSmallEventBtn = /*#__PURE__*/(0, _base.default)("button", process.env.NODE_ENV === "production" ? {
|
@@ -27,7 +28,7 @@ const InformationWrapper = exports.InformationWrapper = /*#__PURE__*/(0, _base.d
|
|
27
28
|
styles: "display:block;font-weight:400;height:50px;margin-top:-22px;cursor:pointer;&:active{outline:none;}",
|
28
29
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
29
30
|
});
|
30
|
-
const InformationBox = exports.InformationBox = /*#__PURE__*/(0, _base.default)(
|
31
|
+
const InformationBox = exports.InformationBox = /*#__PURE__*/(0, _base.default)(_react2.motion.div, process.env.NODE_ENV === "production" ? {
|
31
32
|
target: "e1xd50go2"
|
32
33
|
} : {
|
33
34
|
target: "e1xd50go2",
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
exports.default = void 0;
|
7
7
|
var _react = _interopRequireWildcard(require("react"));
|
8
8
|
var _styles = require("./styles");
|
9
|
-
var _reactTransitionGroup = require("react-transition-group");
|
10
9
|
var _Text = _interopRequireDefault(require("../Text"));
|
10
|
+
var _react2 = require("motion/react");
|
11
11
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
12
12
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
13
13
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
@@ -56,12 +56,23 @@ const InfoButton = ({
|
|
56
56
|
nostyle: true,
|
57
57
|
onClick: handleClick,
|
58
58
|
children: icon ? icon : ''
|
59
|
-
}), (0, _jsxRuntime.jsx)(
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
59
|
+
}), (0, _jsxRuntime.jsx)(_react2.AnimatePresence, {
|
60
|
+
children: showTooltip && (0, _jsxRuntime.jsx)(_styles.Tooltip, {
|
61
|
+
initial: {
|
62
|
+
opacity: 0,
|
63
|
+
scale: 0.9
|
64
|
+
},
|
65
|
+
animate: {
|
66
|
+
opacity: 1,
|
67
|
+
scale: 1
|
68
|
+
},
|
69
|
+
exit: {
|
70
|
+
opacity: 0,
|
71
|
+
scale: 0.9
|
72
|
+
},
|
73
|
+
transition: {
|
74
|
+
duration: 0.1
|
75
|
+
},
|
65
76
|
role: "tooltip",
|
66
77
|
id: "info-tooltip",
|
67
78
|
"aria-hidden": !showTooltip,
|
@@ -8,6 +8,7 @@ var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
8
8
|
var _react = require("@emotion/react");
|
9
9
|
var _breakpoints = _interopRequireDefault(require("../../globals/styles/breakpoints"));
|
10
10
|
var _Button = _interopRequireDefault(require("../Button"));
|
11
|
+
var _react2 = require("motion/react");
|
11
12
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
12
13
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
13
14
|
const StyledButton = exports.StyledButton = /*#__PURE__*/(0, _base.default)(_Button.default, process.env.NODE_ENV === "production" ? {
|
@@ -38,17 +39,17 @@ const styles = exports.styles = {
|
|
38
39
|
left: /*#__PURE__*/(0, _react.css)("top:0;right:calc(24px + 3px);box-shadow:1px 0px 4px 0px rgba(0, 0, 0, 0.2);@media screen and (max-width: ", _breakpoints.default.small, "){width:50vw;}@media screen and (max-width: ", _breakpoints.default.large, ") and (orientation: landscape){width:50vw;}&::after{top:8px;left:100%;border-color:transparent transparent transparent white;}" + (process.env.NODE_ENV === "production" ? "" : ";label:left;")),
|
39
40
|
width: (width, place) => /*#__PURE__*/(0, _react.css)("width:", width, "!important;left:", place === 'top' || place === 'bottom' ? `calc((-${width} / 2) + 9px) !important` : place === 'right' ? '35px' : 'initial', ";" + (process.env.NODE_ENV === "production" ? "" : ";label:width;"))
|
40
41
|
};
|
41
|
-
const Tooltip = exports.Tooltip = /*#__PURE__*/(0, _base.default)(
|
42
|
+
const Tooltip = exports.Tooltip = /*#__PURE__*/(0, _base.default)(_react2.motion.div, process.env.NODE_ENV === "production" ? {
|
42
43
|
target: "e169bjpw1"
|
43
44
|
} : {
|
44
45
|
target: "e169bjpw1",
|
45
46
|
label: "Tooltip"
|
46
47
|
})(process.env.NODE_ENV === "production" ? {
|
47
|
-
name: "
|
48
|
-
styles: "position:absolute;width:22vw;text-align:center;padding:0.5em;border-radius:10px;background-color:white;z-index:9999
|
48
|
+
name: "gsdyt8",
|
49
|
+
styles: "position:absolute;width:22vw;text-align:center;padding:0.5em;border-radius:10px;background-color:white;z-index:9999;&::after{content:'';position:absolute;border-width:5px;border-style:solid;}"
|
49
50
|
} : {
|
50
|
-
name: "
|
51
|
-
styles: "position:absolute;width:22vw;text-align:center;padding:0.5em;border-radius:10px;background-color:white;z-index:9999
|
51
|
+
name: "gsdyt8",
|
52
|
+
styles: "position:absolute;width:22vw;text-align:center;padding:0.5em;border-radius:10px;background-color:white;z-index:9999;&::after{content:'';position:absolute;border-width:5px;border-style:solid;}",
|
52
53
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
53
54
|
});
|
54
55
|
const Wrapper = exports.Wrapper = /*#__PURE__*/(0, _base.default)("span", process.env.NODE_ENV === "production" ? {
|
package/esm/core/Modal/index.js
CHANGED
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.default = void 0;
|
7
7
|
var _react = _interopRequireWildcard(require("react"));
|
8
|
-
var
|
8
|
+
var _react2 = require("motion/react");
|
9
9
|
var _bodyScrollLock = require("body-scroll-lock");
|
10
10
|
var _styles = require("./styles");
|
11
11
|
var _IconClose = _interopRequireDefault(require("../../icons/General/IconClose"));
|
@@ -101,13 +101,21 @@ function Modal({
|
|
101
101
|
if (disableOutsideClick) return;
|
102
102
|
setClose();
|
103
103
|
};
|
104
|
-
return (0, _jsxRuntime.jsx)(
|
105
|
-
|
106
|
-
unmountOnExit: true,
|
107
|
-
timeout: 190,
|
108
|
-
classNames: "overlay",
|
109
|
-
children: (0, _jsxRuntime.jsx)(_styles.Overlay, {
|
104
|
+
return (0, _jsxRuntime.jsx)(_react2.AnimatePresence, {
|
105
|
+
children: isOpen && (0, _jsxRuntime.jsx)(_styles.Overlay, {
|
110
106
|
onClick: onOutsideClick,
|
107
|
+
initial: {
|
108
|
+
opacity: 0
|
109
|
+
},
|
110
|
+
animate: {
|
111
|
+
opacity: 1
|
112
|
+
},
|
113
|
+
exit: {
|
114
|
+
opacity: 0
|
115
|
+
},
|
116
|
+
transition: {
|
117
|
+
duration: 0.1
|
118
|
+
},
|
111
119
|
children: (0, _jsxRuntime.jsxs)(_styles.Content, {
|
112
120
|
open: isOpen,
|
113
121
|
"aria-modal": "true",
|
package/esm/core/Modal/styles.js
CHANGED
@@ -7,22 +7,22 @@ exports.ScrollableDiv = exports.Overlay = exports.ModalContent = exports.HeaderW
|
|
7
7
|
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
8
8
|
var _react = require("@emotion/react");
|
9
9
|
var _breakpoints = _interopRequireDefault(require("../../globals/styles/breakpoints"));
|
10
|
+
var _react2 = require("motion/react");
|
10
11
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
11
12
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
12
|
-
const
|
13
|
-
from { background: rgba(0, 0, 0, 0); }
|
14
|
-
to { background: rgba(0, 0, 0, 0.27); }
|
15
|
-
`;
|
16
|
-
const fadeOut = (0, _react.keyframes)`
|
17
|
-
from { background: rgba(0, 0, 0, 0.27); }
|
18
|
-
to { background: rgba(0, 0, 0, 0); }
|
19
|
-
`;
|
20
|
-
const Overlay = exports.Overlay = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
|
13
|
+
const Overlay = exports.Overlay = /*#__PURE__*/(0, _base.default)(_react2.motion.div, process.env.NODE_ENV === "production" ? {
|
21
14
|
target: "e1pqvfqt6"
|
22
15
|
} : {
|
23
16
|
target: "e1pqvfqt6",
|
24
17
|
label: "Overlay"
|
25
|
-
})(
|
18
|
+
})(process.env.NODE_ENV === "production" ? {
|
19
|
+
name: "3ficsf",
|
20
|
+
styles: "position:fixed;-webkit-overflow-scrolling:touch;top:0;left:0;right:0;bottom:0;z-index:1001;background:rgba(0, 0, 0, 0.27);overflow:auto;height:100%;display:flex;justify-content:center;align-items:center;&.filter-overlay-exit{background:rgba(0, 0, 0, 0);}"
|
21
|
+
} : {
|
22
|
+
name: "3ficsf",
|
23
|
+
styles: "position:fixed;-webkit-overflow-scrolling:touch;top:0;left:0;right:0;bottom:0;z-index:1001;background:rgba(0, 0, 0, 0.27);overflow:auto;height:100%;display:flex;justify-content:center;align-items:center;&.filter-overlay-exit{background:rgba(0, 0, 0, 0);}",
|
24
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
25
|
+
});
|
26
26
|
var _ref = process.env.NODE_ENV === "production" ? {
|
27
27
|
name: "1oys671",
|
28
28
|
styles: "transition:width 200ms,min-height 50ms"
|
@@ -10,7 +10,7 @@ var _Button = _interopRequireDefault(require("../Button"));
|
|
10
10
|
var _IconBellOutline = _interopRequireDefault(require("../../icons/General/IconBellOutline"));
|
11
11
|
var _IconBellFilled = _interopRequireDefault(require("../../icons/General/IconBellFilled"));
|
12
12
|
var _Text = _interopRequireDefault(require("../Text"));
|
13
|
-
var
|
13
|
+
var _react2 = require("motion/react");
|
14
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
15
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
16
16
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
@@ -64,7 +64,7 @@ const NotificationsMenu = ({
|
|
64
64
|
none: {}
|
65
65
|
};
|
66
66
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.NotificationsWrapper, {
|
67
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(
|
67
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_react2.motion.div, {
|
68
68
|
animate: animationActive ? 'initial' : 'none',
|
69
69
|
variants: variant,
|
70
70
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_Button.default, {
|
@@ -7,7 +7,6 @@ exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireWildcard(require("react"));
|
8
8
|
var _reactPopper = require("react-popper");
|
9
9
|
var _useIsMobile = require("../../hooks/useIsMobile");
|
10
|
-
var _reactTransitionGroup = require("react-transition-group");
|
11
10
|
var _IconSliders = _interopRequireDefault(require("../../icons/General/IconSliders"));
|
12
11
|
var _Button = _interopRequireDefault(require("../Button"));
|
13
12
|
var _Divider = _interopRequireDefault(require("../Divider"));
|
@@ -15,6 +14,7 @@ var _Link = _interopRequireDefault(require("../Link"));
|
|
15
14
|
var _Text = _interopRequireDefault(require("../Text"));
|
16
15
|
var _styles = require("./styles");
|
17
16
|
var _bodyScrollLock = require("body-scroll-lock");
|
17
|
+
var _react2 = require("motion/react");
|
18
18
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
19
19
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
20
20
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
@@ -132,15 +132,38 @@ const SearchFilter = ({
|
|
132
132
|
primary: true
|
133
133
|
})
|
134
134
|
})
|
135
|
-
}), isMobile ? (0, _jsxRuntime.jsx)(
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
135
|
+
}), isMobile ? (0, _jsxRuntime.jsx)(_react2.AnimatePresence, {
|
136
|
+
children: open && (0, _jsxRuntime.jsx)(_styles.Overlay, {
|
137
|
+
initial: {
|
138
|
+
opacity: 0
|
139
|
+
},
|
140
|
+
animate: {
|
141
|
+
opacity: 1
|
142
|
+
},
|
143
|
+
exit: {
|
144
|
+
opacity: 0
|
145
|
+
},
|
146
|
+
transition: {
|
147
|
+
duration: 0.2
|
148
|
+
},
|
141
149
|
onClick: handleClose,
|
142
150
|
children: (0, _jsxRuntime.jsx)(_styles.MobileWrapper, {
|
143
151
|
onClick: e => e.stopPropagation(),
|
152
|
+
initial: {
|
153
|
+
y: '100%'
|
154
|
+
},
|
155
|
+
animate: {
|
156
|
+
y: '0%'
|
157
|
+
},
|
158
|
+
exit: {
|
159
|
+
y: '100%'
|
160
|
+
},
|
161
|
+
transition: {
|
162
|
+
duration: 0.3,
|
163
|
+
delay: 0.1,
|
164
|
+
// Delay the entry animation
|
165
|
+
ease: 'easeOut'
|
166
|
+
},
|
144
167
|
children: Content
|
145
168
|
})
|
146
169
|
})
|
@@ -6,36 +6,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
exports.styles = exports.PopperWrapper = exports.Overlay = exports.MobileWrapper = exports.HeaderWrapper = exports.ContentWrapper = exports.ActionButtons = void 0;
|
7
7
|
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
8
8
|
var _react = require("@emotion/react");
|
9
|
+
var _react2 = require("motion/react");
|
9
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
10
11
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
11
|
-
const fadeIn = (0, _react.keyframes)`
|
12
|
-
from {
|
13
|
-
background: rgba(0, 0, 0, 0);
|
14
|
-
}
|
15
|
-
to {
|
16
|
-
background: rgba(0, 0, 0, 0.27);
|
17
|
-
}
|
18
|
-
`;
|
19
|
-
const moveUp = (0, _react.keyframes)`
|
20
|
-
from {
|
21
|
-
top: 100vh;
|
22
|
-
}
|
23
|
-
to {
|
24
|
-
top: 40vh;
|
25
|
-
}
|
26
|
-
`;
|
27
|
-
const fadeOut = (0, _react.keyframes)`
|
28
|
-
from {
|
29
|
-
background: rgba(0, 0, 0, 0.27);
|
30
|
-
}
|
31
|
-
to {
|
32
|
-
background: rgba(0, 0, 0, 0);
|
33
|
-
}
|
34
|
-
`;
|
35
|
-
const moveDown = (0, _react.keyframes)`
|
36
|
-
from {top: 40vh;}
|
37
|
-
to {top: 100vh;}
|
38
|
-
`;
|
39
12
|
const arrowDefaultStyle = process.env.NODE_ENV === "production" ? {
|
40
13
|
name: "2bhmfv",
|
41
14
|
styles: "content:'';position:absolute;border:10px solid"
|
@@ -107,22 +80,29 @@ const ActionButtons = exports.ActionButtons = /*#__PURE__*/(0, _base.default)("d
|
|
107
80
|
styles: "width:100%;display:flex;justify-content:flex-end;align-items:center;padding-top:0.5em;gap:1em;button:last-of-type{min-width:100px;}",
|
108
81
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
109
82
|
});
|
110
|
-
const Overlay = exports.Overlay = /*#__PURE__*/(0, _base.default)(
|
83
|
+
const Overlay = exports.Overlay = /*#__PURE__*/(0, _base.default)(_react2.motion.div, process.env.NODE_ENV === "production" ? {
|
111
84
|
target: "e1a8jgkt1"
|
112
85
|
} : {
|
113
86
|
target: "e1a8jgkt1",
|
114
87
|
label: "Overlay"
|
115
|
-
})(
|
116
|
-
|
88
|
+
})(process.env.NODE_ENV === "production" ? {
|
89
|
+
name: "x8x934",
|
90
|
+
styles: "position:fixed;top:0;left:0;right:0;bottom:0;z-index:1001;background:rgba(0, 0, 0, 0.27);overflow:auto"
|
91
|
+
} : {
|
92
|
+
name: "x8x934",
|
93
|
+
styles: "position:fixed;top:0;left:0;right:0;bottom:0;z-index:1001;background:rgba(0, 0, 0, 0.27);overflow:auto",
|
94
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
95
|
+
});
|
96
|
+
const MobileWrapper = exports.MobileWrapper = /*#__PURE__*/(0, _base.default)(_react2.motion.div, process.env.NODE_ENV === "production" ? {
|
117
97
|
target: "e1a8jgkt0"
|
118
98
|
} : {
|
119
99
|
target: "e1a8jgkt0",
|
120
100
|
label: "MobileWrapper"
|
121
101
|
})(process.env.NODE_ENV === "production" ? {
|
122
|
-
name: "
|
123
|
-
styles: "position:absolute;left:0;right:0;
|
102
|
+
name: "1xpklsy",
|
103
|
+
styles: "position:absolute;left:0;right:0;bottom:0;min-height:60vh;z-index:1002;background-color:white;border-radius:10px 10px 0 0;padding:1em"
|
124
104
|
} : {
|
125
|
-
name: "
|
126
|
-
styles: "position:absolute;left:0;right:0;
|
105
|
+
name: "1xpklsy",
|
106
|
+
styles: "position:absolute;left:0;right:0;bottom:0;min-height:60vh;z-index:1002;background-color:white;border-radius:10px 10px 0 0;padding:1em",
|
127
107
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
128
108
|
});
|
@@ -8,10 +8,10 @@ var _react = _interopRequireWildcard(require("react"));
|
|
8
8
|
var _styles = require("./styles");
|
9
9
|
var _Text = _interopRequireDefault(require("../../../core/Text"));
|
10
10
|
var _react2 = require("@emotion/react");
|
11
|
-
var _reactTransitionGroup = require("react-transition-group");
|
12
11
|
var _useIsMobile = require("../../../hooks/useIsMobile");
|
13
12
|
var _Item = _interopRequireDefault(require("../../../core/List/Item"));
|
14
13
|
var _Button = _interopRequireDefault(require("../../../core/Button"));
|
14
|
+
var _react3 = require("motion/react");
|
15
15
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
16
16
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
17
17
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
@@ -52,14 +52,23 @@ const SubmenuItem = ({
|
|
52
52
|
trackingName: "Submenu",
|
53
53
|
trackingEvent: 'Submenu click: ' + label,
|
54
54
|
className: className,
|
55
|
-
children: (0, _jsxRuntime.jsx)(
|
56
|
-
in: active,
|
57
|
-
classNames: "submenu-item",
|
58
|
-
timeout: 250,
|
55
|
+
children: (0, _jsxRuntime.jsx)(_react3.AnimatePresence, {
|
59
56
|
children: (0, _jsxRuntime.jsx)(_styles.Wrapper, {
|
60
57
|
active: active,
|
61
58
|
lightTheme: lightTheme,
|
62
59
|
background: lightTheme ? '#ffffff' : theme.submenuItemColor,
|
60
|
+
initial: {
|
61
|
+
opacity: 0
|
62
|
+
},
|
63
|
+
animate: {
|
64
|
+
opacity: 1
|
65
|
+
},
|
66
|
+
exit: {
|
67
|
+
opacity: 0
|
68
|
+
},
|
69
|
+
transition: {
|
70
|
+
duration: 0.1
|
71
|
+
},
|
63
72
|
children: (0, _jsxRuntime.jsx)(_Text.default, {
|
64
73
|
color: labelColor,
|
65
74
|
semibold: true,
|
@@ -6,34 +6,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
exports.optionButton = exports.Wrapper = exports.FocusState = void 0;
|
7
7
|
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
8
8
|
var _react = require("@emotion/react");
|
9
|
+
var _react2 = require("motion/react");
|
9
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
10
11
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
11
|
-
const Wrapper = exports.Wrapper = /*#__PURE__*/(0, _base.default)(
|
12
|
+
const Wrapper = exports.Wrapper = /*#__PURE__*/(0, _base.default)(_react2.motion.div, process.env.NODE_ENV === "production" ? {
|
12
13
|
target: "egkzt9c0"
|
13
14
|
} : {
|
14
15
|
target: "egkzt9c0",
|
15
16
|
label: "Wrapper"
|
16
|
-
})(props => /*#__PURE__*/(0, _react.css)("padding:0.65em 1em;border-radius:", props.lightTheme ? '19px' : '7px', ";border:1px solid transparent;transition:border-color 0.1s ease-in-out;background:", props.active ? props.background : 'transparent', ";box-shadow:", props.active ? '0 2px 4px 0 rgba(9, 28, 68, 0.2)' : 'none', "
|
17
|
-
const fadeIn = background => (0, _react.keyframes)`
|
18
|
-
0% {
|
19
|
-
background: transparent;
|
20
|
-
box-shadow: none;
|
21
|
-
}
|
22
|
-
100% {
|
23
|
-
box-shadow: 0 2px 4px 0 rgba(9, 28, 68, 0.2);
|
24
|
-
background: ${background};
|
25
|
-
}
|
26
|
-
`;
|
27
|
-
const fadeOut = background => (0, _react.keyframes)`
|
28
|
-
0% {
|
29
|
-
box-shadow: 0 2px 4px 0 rgba(9, 28, 68, 0.2);
|
30
|
-
background: ${background};
|
31
|
-
}
|
32
|
-
100% {
|
33
|
-
background: transparent;
|
34
|
-
box-shadow: none;
|
35
|
-
}
|
36
|
-
`;
|
17
|
+
})(props => /*#__PURE__*/(0, _react.css)("padding:0.65em 1em;border-radius:", props.lightTheme ? '19px' : '7px', ";border:1px solid transparent;transition:border-color 0.1s ease-in-out;background:", props.active ? props.background : 'transparent', ";box-shadow:", props.active ? '0 2px 4px 0 rgba(9, 28, 68, 0.2)' : 'none', ";&>span{font-size:14px;}" + (process.env.NODE_ENV === "production" ? "" : ";label:Wrapper;")));
|
37
18
|
const optionButton = exports.optionButton = process.env.NODE_ENV === "production" ? {
|
38
19
|
name: "m3111f",
|
39
20
|
styles: "padding-left:8px;justify-content:flex-start;height:100%;width:100%"
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/packages/app-shell/theme.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IAExB,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,YAAY,EAAE,MAAM,CAAA;IACpB,YAAY,EAAE,MAAM,CAAA;IACpB,cAAc,EAAE,MAAM,CAAA;IACtB,gBAAgB,EAAE,MAAM,CAAA;IAGxB,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,iBAAiB,EAAE,MAAM,CAAA;IAGzB,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAGhB,UAA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MAAM;gBACD,MAAM;iBACL,MAAM;UACb,MAAM;gBACA,MAAM;eACP,MAAM;gBACL,MAAM;aACT,MAAM;mBACA,MAAM;kBACP,MAAM;mBACL,MAAM;YAGb,MAAM;YACN,MAAM;YACN,MAAM;cACJ,MAAM;iBAGH,MAAM;uBACA,MAAM;eACd,MAAM;sBAGC,MAAM;2BACD,MAAM;2BACN,MAAM;2BACN,MAAM;2BACN,MAAM;0BACP,MAAM;6BACH,MAAM;6BAGN,MAAM,GAAG,IAAI;2BAGf,MAAM;0BACP,MAAM;+BACD,MAAM;oCACD,MAAM;qCACL,MAAM;8BACb,MAAM;kCACF,MAAM;yBACf,MAAM;wBACP,MAAM;4BACF,MAAM;6BACL,MAAM;kCACD,MAAM;mCACL,MAAM;4BACb,MAAM;gCACF,MAAM;kBACpB,MAAM;sBACF,MAAM;sBACN,MAAM;4BACA,MAAM;gCAEF,MAAM;+BACP,MAAM;yCACI,MAAM;qCACV,MAAM;sCACL,MAAM;qCACP,MAAM;+CACI,MAAM;8BACvB,MAAM;6BACP,MAAM;6BACN,MAAM;kCACD,MAAM;mCACL,MAAM;oCACL,MAAM;mCACP,MAAM;wCACD,MAAM;2BAEnB,MAAM;qBACZ,MAAM;gCACK,MAAM;gBAGtB,MAAM;gBACN,MAAM;gBACN,MAAM;gBACN,MAAM;gBACN,MAAM;gBACN,MAAM;gBACN,MAAM;gBACN,MAAM;gBACN,MAAM;eACP,MAAM;gBACL,MAAM;gBACN,MAAM;gBACN,MAAM;gBACN,MAAM;gBACN,MAAM;gBACN,MAAM;gBACN,MAAM;gBACN,MAAM;gBACN,MAAM;cACR,MAAM;iBACH,MAAM;iBACN,MAAM;kBACL,MAAM;eACT,MAAM;gBACL,MAAM;CASnB,CAAA;AAED,eAAe,SAAS,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useAutocomplete.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/Autocomplete/hooks/useAutocomplete.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAE1D,QAAA,MAAM,eAAe,
|
1
|
+
{"version":3,"file":"useAutocomplete.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/Autocomplete/hooks/useAutocomplete.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAE1D,QAAA,MAAM,eAAe,GAAI,OAAO,MAAM;;;8BAcH;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE;uBAa3B,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC;yBA6IjC,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC;+BAZ/B,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC;;qBA7G/C,KAAK,CAAC,UAAU,CAAC,gBAAgB,EAAE,OAAO,CAAC;;;;;;CAuMpE,CAAA;AAED,eAAe,eAAe,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Autocomplete/styles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAIjD,QAAA,MAAM,MAAM;qBACO,SAAS;;;0BA2DJ,SAAS;;;;kBAuCjB,SAAS;6BA2BE,SAAS;yBAGb,MAAM;iCAOE,MAAM;kCAGL,MAAM;qBAGnB,SAAS;4BAYF,SAAS;qBA4BhB,MAAM;sBAKL,SAAS;CAM5B,CAAA;AAED,eAAO,MAAM,YAAY,
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/packages/core/Autocomplete/styles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAIjD,QAAA,MAAM,MAAM;qBACO,SAAS;;;0BA2DJ,SAAS;;;;kBAuCjB,SAAS;6BA2BE,SAAS;yBAGb,MAAM;iCAOE,MAAM;kCAGL,MAAM;qBAGnB,SAAS;4BAYF,SAAS;qBA4BhB,MAAM;sBAKL,SAAS;CAM5B,CAAA;AAED,eAAO,MAAM,YAAY,GAAI,OAAO,SAAS,8CAM5C,CAAA;AAED,eAAO,MAAM,KAAK;gBAvMG,MAAO,SAAS;iBAI5B,MAAO,SAAS;0BAIW,MAC9B,SAEJ;;;;sBAS6B,MACzB,UAEH;wBAKe,MAAO,UACpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAwLJ,CAAA;AAED,eAAe,MAAM,CAAA;AAErB,OAAO,EAAE,MAAM,EAAE,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/BoxedTable/HeaderCell/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,uJAOnB,CAAA;AAED,eAAO,MAAM,eAAe,
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/BoxedTable/HeaderCell/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,uJAOnB,CAAA;AAED,eAAO,MAAM,eAAe,GAAI,QAAQ,OAAO,8CAG9C,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/Calendar/CalendarEvent/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAA;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/packages/core/Calendar/CalendarEvent/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAA;AAY7D,OAAO,EAAE,MAAM,EAAE,MAAM,KAAK,CAAA;AAK5B,UAAU,MAAM;IACd,KAAK,EAAE,MAAM,CAAA;IACb,yCAAyC;IACzC,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAmEnC,CAAA;AAED,eAAe,aAAa,CAAA"}
|
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
exports.default = void 0;
|
7
7
|
var _react = _interopRequireWildcard(require("react"));
|
8
8
|
var _styles = require("./styles");
|
9
|
-
var _reactTransitionGroup = require("react-transition-group");
|
10
9
|
var _Text = _interopRequireDefault(require("../../Text"));
|
11
10
|
var _react2 = require("@emotion/react");
|
12
11
|
var _format = require("../../../utils/format");
|
13
12
|
var _Header = _interopRequireDefault(require("../../Header"));
|
14
13
|
var _dates = require("../../../utils/dates");
|
14
|
+
var _react3 = require("motion/react");
|
15
15
|
var _jsxRuntime = require("react/jsx-runtime");
|
16
16
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
17
17
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
@@ -52,12 +52,20 @@ const CalendarEvent = ({
|
|
52
52
|
onClick: handleClick,
|
53
53
|
background: theme.illustrationPrimary10,
|
54
54
|
children: event.title
|
55
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
55
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_react3.AnimatePresence, {
|
56
|
+
children: showTooltip && /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.InformationBox, {
|
57
|
+
initial: {
|
58
|
+
opacity: 0
|
59
|
+
},
|
60
|
+
animate: {
|
61
|
+
opacity: 1
|
62
|
+
},
|
63
|
+
exit: {
|
64
|
+
opacity: 0
|
65
|
+
},
|
66
|
+
transition: {
|
67
|
+
duration: 0.1
|
68
|
+
},
|
61
69
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.EventContent, {
|
62
70
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Header.default, {
|
63
71
|
level: 5,
|