@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.mjs
CHANGED
|
@@ -3651,7 +3651,7 @@ var isExternalUrl = (href) => {
|
|
|
3651
3651
|
}
|
|
3652
3652
|
};
|
|
3653
3653
|
var NotificationUI = (props) => {
|
|
3654
|
-
const { dataSource,
|
|
3654
|
+
const { dataSource, className } = props;
|
|
3655
3655
|
const { routerAdapter } = useScaffoldContext();
|
|
3656
3656
|
const onItemClick = (url) => {
|
|
3657
3657
|
if (!url)
|
|
@@ -3670,7 +3670,7 @@ var NotificationUI = (props) => {
|
|
|
3670
3670
|
AnnouncementBannerUI,
|
|
3671
3671
|
{
|
|
3672
3672
|
dataSource,
|
|
3673
|
-
showAnnouncement,
|
|
3673
|
+
showAnnouncement: len > 0,
|
|
3674
3674
|
onClose: props.onClose,
|
|
3675
3675
|
onItemClick,
|
|
3676
3676
|
className: cn("oui-mx-auto", className)
|
|
@@ -3723,7 +3723,7 @@ var MobileScaffold = (props) => {
|
|
|
3723
3723
|
classNames?.root
|
|
3724
3724
|
),
|
|
3725
3725
|
children: [
|
|
3726
|
-
/* @__PURE__ */ jsx("div", { className: "oui-mx-1 oui-
|
|
3726
|
+
/* @__PURE__ */ jsx("div", { className: "oui-mx-1 oui-mt-1", children: /* @__PURE__ */ jsx(NotificationWidget, {}) }),
|
|
3727
3727
|
/* @__PURE__ */ jsx(
|
|
3728
3728
|
"header",
|
|
3729
3729
|
{
|
|
@@ -4247,7 +4247,7 @@ var DesktopScaffold = (props) => {
|
|
|
4247
4247
|
classNames?.container
|
|
4248
4248
|
),
|
|
4249
4249
|
children: [
|
|
4250
|
-
/* @__PURE__ */ jsxs(Box, { px: 2, ref: announcementRef, className: "oui-space-y-2", children: [
|
|
4250
|
+
/* @__PURE__ */ jsxs(Box, { px: 2, ref: announcementRef, className: cn("oui-space-y-2", "oui-mt-2"), children: [
|
|
4251
4251
|
/* @__PURE__ */ jsx(
|
|
4252
4252
|
RestrictedInfoWidget,
|
|
4253
4253
|
{
|