@kodiak-finance/orderly-ui-scaffold 2.8.21-alpha.0 → 2.8.21-rc.1
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 +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -3658,7 +3658,7 @@ var isExternalUrl = (href) => {
|
|
|
3658
3658
|
}
|
|
3659
3659
|
};
|
|
3660
3660
|
var NotificationUI = (props) => {
|
|
3661
|
-
const { dataSource,
|
|
3661
|
+
const { dataSource, className } = props;
|
|
3662
3662
|
const { routerAdapter } = useScaffoldContext();
|
|
3663
3663
|
const onItemClick = (url) => {
|
|
3664
3664
|
if (!url)
|
|
@@ -3677,7 +3677,7 @@ var NotificationUI = (props) => {
|
|
|
3677
3677
|
orderlyUiNotification.AnnouncementBannerUI,
|
|
3678
3678
|
{
|
|
3679
3679
|
dataSource,
|
|
3680
|
-
showAnnouncement,
|
|
3680
|
+
showAnnouncement: len > 0,
|
|
3681
3681
|
onClose: props.onClose,
|
|
3682
3682
|
onItemClick,
|
|
3683
3683
|
className: orderlyUi.cn("oui-mx-auto", className)
|
|
@@ -3730,7 +3730,7 @@ var MobileScaffold = (props) => {
|
|
|
3730
3730
|
classNames?.root
|
|
3731
3731
|
),
|
|
3732
3732
|
children: [
|
|
3733
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "oui-mx-1 oui-
|
|
3733
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "oui-mx-1 oui-mt-1", children: /* @__PURE__ */ jsxRuntime.jsx(NotificationWidget, {}) }),
|
|
3734
3734
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3735
3735
|
"header",
|
|
3736
3736
|
{
|
|
@@ -4254,7 +4254,7 @@ var DesktopScaffold = (props) => {
|
|
|
4254
4254
|
classNames?.container
|
|
4255
4255
|
),
|
|
4256
4256
|
children: [
|
|
4257
|
-
/* @__PURE__ */ jsxRuntime.jsxs(orderlyUi.Box, { px: 2, ref: announcementRef, className: "oui-space-y-2", children: [
|
|
4257
|
+
/* @__PURE__ */ jsxRuntime.jsxs(orderlyUi.Box, { px: 2, ref: announcementRef, className: orderlyUi.cn("oui-space-y-2", "oui-mt-2"), children: [
|
|
4258
4258
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4259
4259
|
exports.RestrictedInfoWidget,
|
|
4260
4260
|
{
|