@flamingo-stack/openframe-frontend-core 0.0.408-snapshot.20260711133945 → 0.0.408
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/components/announcement-bar.d.ts.map +1 -1
- package/dist/components/index.cjs +4 -10
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +4 -10
- package/dist/components/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/announcement-bar.tsx +10 -18
package/dist/components/index.js
CHANGED
|
@@ -99,7 +99,6 @@ import {
|
|
|
99
99
|
AIRequiredBadge,
|
|
100
100
|
AIStatusIndicator,
|
|
101
101
|
AIWarningsSection,
|
|
102
|
-
ANNOUNCEMENT_CTA_DEFAULTS,
|
|
103
102
|
ANTHROPIC_SUPPORTED_IMAGE_MIME,
|
|
104
103
|
APPROVAL_BLOCK_VARIANT,
|
|
105
104
|
APPROVAL_STATUS,
|
|
@@ -1222,18 +1221,13 @@ function AnnouncementBar({
|
|
|
1222
1221
|
displayAnnouncement.description
|
|
1223
1222
|
] })
|
|
1224
1223
|
] }),
|
|
1225
|
-
hasCta && displayAnnouncement.cta_text && /* @__PURE__ */ jsx("div", { className: "hidden md:flex flex-shrink-0 ml-
|
|
1224
|
+
hasCta && displayAnnouncement.cta_text && /* @__PURE__ */ jsx("div", { className: "hidden md:flex flex-shrink-0 ml-1", children: /* @__PURE__ */ jsx(
|
|
1226
1225
|
Button,
|
|
1227
1226
|
{
|
|
1228
1227
|
onClick: handleCtaClick,
|
|
1229
|
-
variant: "
|
|
1228
|
+
variant: "transparent",
|
|
1230
1229
|
size: "small",
|
|
1231
|
-
className:
|
|
1232
|
-
style: {
|
|
1233
|
-
backgroundColor: displayAnnouncement.cta_button_background_color || ANNOUNCEMENT_CTA_DEFAULTS.background,
|
|
1234
|
-
color: displayAnnouncement.cta_button_text_color || ANNOUNCEMENT_CTA_DEFAULTS.text,
|
|
1235
|
-
borderColor: displayAnnouncement.cta_button_background_color || ANNOUNCEMENT_CTA_DEFAULTS.background
|
|
1236
|
-
},
|
|
1230
|
+
className: barButtonClasses,
|
|
1237
1231
|
tabIndex: expanded ? 0 : -1,
|
|
1238
1232
|
leftIcon: displayAnnouncement.cta_show_icon && displayAnnouncement.cta_icon_name ? /* @__PURE__ */ jsx(
|
|
1239
1233
|
EntityIcon,
|
|
@@ -1249,7 +1243,7 @@ function AnnouncementBar({
|
|
|
1249
1243
|
]
|
|
1250
1244
|
}
|
|
1251
1245
|
),
|
|
1252
|
-
/* @__PURE__ */ jsx("div", { className: "flex-shrink-0
|
|
1246
|
+
/* @__PURE__ */ jsx("div", { className: "flex-shrink-0 mr-1 md:mr-3", children: /* @__PURE__ */ jsx(
|
|
1253
1247
|
Button,
|
|
1254
1248
|
{
|
|
1255
1249
|
onClick: (e) => {
|