@flamingo-stack/openframe-frontend-core 0.0.314 → 0.0.315-snapshot.20260624135932
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/{chunk-NH2RY6VM.js → chunk-2Y4DLBFO.js} +108 -97
- package/dist/{chunk-NH2RY6VM.js.map → chunk-2Y4DLBFO.js.map} +1 -1
- package/dist/{chunk-VCJOLKED.cjs → chunk-4MCMPYEM.cjs} +12 -12
- package/dist/{chunk-VCJOLKED.cjs.map → chunk-4MCMPYEM.cjs.map} +1 -1
- package/dist/{chunk-E2LC43T3.js → chunk-4NVA6W3J.js} +27 -22
- package/dist/chunk-4NVA6W3J.js.map +1 -0
- package/dist/chunk-4V3TCOFC.cjs +394 -0
- package/dist/chunk-4V3TCOFC.cjs.map +1 -0
- package/dist/{chunk-46UZAYUT.cjs → chunk-63A53WQN.cjs} +33 -33
- package/dist/{chunk-46UZAYUT.cjs.map → chunk-63A53WQN.cjs.map} +1 -1
- package/dist/{chunk-L7BROXZ7.js → chunk-64DZ2J7Q.js} +5 -5
- package/dist/{chunk-OD3BEWDQ.js → chunk-6KERXOFE.js} +3 -3
- package/dist/{chunk-JALO4TAZ.js → chunk-AI5X5JTD.js} +4 -4
- package/dist/chunk-CSLMCBZV.js +1464 -0
- package/dist/chunk-CSLMCBZV.js.map +1 -0
- package/dist/{chunk-2LFQJYLQ.cjs → chunk-CUNMBP3A.cjs} +13 -13
- package/dist/{chunk-2LFQJYLQ.cjs.map → chunk-CUNMBP3A.cjs.map} +1 -1
- package/dist/{chunk-DD35H7HA.cjs → chunk-DHVL36CA.cjs} +40 -40
- package/dist/{chunk-DD35H7HA.cjs.map → chunk-DHVL36CA.cjs.map} +1 -1
- package/dist/chunk-FCEVVNWY.cjs +1916 -0
- package/dist/chunk-FCEVVNWY.cjs.map +1 -0
- package/dist/chunk-FOVX3W3C.cjs +1464 -0
- package/dist/chunk-FOVX3W3C.cjs.map +1 -0
- package/dist/{chunk-BJ6JXN5Z.js → chunk-GHVVOST5.js} +95 -116
- package/dist/chunk-GHVVOST5.js.map +1 -0
- package/dist/{chunk-TRSDXD23.js → chunk-JAZM3A7E.js} +2 -2
- package/dist/{chunk-XKVSR3IV.js → chunk-JEBL5PQK.js} +21 -35
- package/dist/{chunk-XKVSR3IV.js.map → chunk-JEBL5PQK.js.map} +1 -1
- package/dist/{chunk-5ATH263N.cjs → chunk-L5JSGNT3.cjs} +35 -35
- package/dist/{chunk-5ATH263N.cjs.map → chunk-L5JSGNT3.cjs.map} +1 -1
- package/dist/{chunk-WJCOWYAP.cjs → chunk-LAMDFGE3.cjs} +41 -36
- package/dist/chunk-LAMDFGE3.cjs.map +1 -0
- package/dist/{chunk-V4IIBNTA.js → chunk-LQHMXPOJ.js} +5 -5
- package/dist/{chunk-LGLPNWS6.cjs → chunk-LWNPMLIH.cjs} +3 -3
- package/dist/{chunk-LGLPNWS6.cjs.map → chunk-LWNPMLIH.cjs.map} +1 -1
- package/dist/chunk-M3NULYCR.js +1916 -0
- package/dist/chunk-M3NULYCR.js.map +1 -0
- package/dist/{chunk-UO27TVAO.js → chunk-OKGZK6TT.js} +3 -3
- package/dist/{chunk-BHOGI57O.cjs → chunk-OLEW7FYZ.cjs} +123 -144
- package/dist/chunk-OLEW7FYZ.cjs.map +1 -0
- package/dist/chunk-PIJ4JLJU.js +394 -0
- package/dist/chunk-PIJ4JLJU.js.map +1 -0
- package/dist/{chunk-E4CQ4RUG.js → chunk-Q4AMYLKX.js} +11 -11
- package/dist/{chunk-FQOTC3UU.cjs → chunk-QJGRP2YE.cjs} +4 -4
- package/dist/{chunk-FQOTC3UU.cjs.map → chunk-QJGRP2YE.cjs.map} +1 -1
- package/dist/{chunk-ZPK5HW7B.cjs → chunk-UGDGUO26.cjs} +3 -3
- package/dist/{chunk-ZPK5HW7B.cjs.map → chunk-UGDGUO26.cjs.map} +1 -1
- package/dist/{chunk-AD7TII2A.cjs → chunk-VCE3ZEN3.cjs} +5 -5
- package/dist/{chunk-AD7TII2A.cjs.map → chunk-VCE3ZEN3.cjs.map} +1 -1
- package/dist/{chunk-EC4DGRN6.cjs → chunk-XAQJ4ZLY.cjs} +459 -448
- package/dist/chunk-XAQJ4ZLY.cjs.map +1 -0
- package/dist/{chunk-ZW3NHMG7.js → chunk-YFGDZFUG.js} +4 -4
- package/dist/{chunk-JWX6NIQ4.js → chunk-Z3YORGG4.js} +2 -2
- package/dist/{chunk-UNKIRZVY.cjs → chunk-ZYGVJXJ5.cjs} +33 -47
- package/dist/chunk-ZYGVJXJ5.cjs.map +1 -0
- package/dist/components/case-studies/index.cjs +18 -18
- package/dist/components/case-studies/index.cjs.map +1 -1
- package/dist/components/case-studies/index.js +8 -8
- package/dist/components/chat/index.cjs +8 -8
- package/dist/components/chat/index.js +7 -7
- package/dist/components/contact/index.cjs +9 -9
- package/dist/components/contact/index.js +8 -8
- package/dist/components/docs/doc-viewer.d.ts +4 -0
- package/dist/components/docs/doc-viewer.d.ts.map +1 -1
- package/dist/components/docs/index.cjs +11 -11
- package/dist/components/docs/index.js +10 -10
- package/dist/components/embeds/index.cjs +9 -9
- package/dist/components/embeds/index.js +8 -8
- package/dist/components/faq/faq-document-page.d.ts +18 -20
- package/dist/components/faq/faq-document-page.d.ts.map +1 -1
- package/dist/components/faq/index.cjs +10 -10
- package/dist/components/faq/index.js +9 -9
- package/dist/components/features/index.cjs +8 -8
- package/dist/components/features/index.js +7 -7
- package/dist/components/features/push-button-selector.d.ts +1 -0
- package/dist/components/features/push-button-selector.d.ts.map +1 -1
- package/dist/components/help-center-pages/delivery-page.d.ts +27 -0
- package/dist/components/help-center-pages/delivery-page.d.ts.map +1 -0
- package/dist/components/help-center-pages/index.cjs +164 -0
- package/dist/components/help-center-pages/index.cjs.map +1 -0
- package/dist/components/help-center-pages/index.d.ts +25 -0
- package/dist/components/help-center-pages/index.d.ts.map +1 -0
- package/dist/components/help-center-pages/index.js +164 -0
- package/dist/components/help-center-pages/index.js.map +1 -0
- package/dist/components/help-center-pages/onboarding-guides-catalog-page.d.ts +41 -0
- package/dist/components/help-center-pages/onboarding-guides-catalog-page.d.ts.map +1 -0
- package/dist/components/help-center-pages/product-releases-list-page.d.ts +34 -0
- package/dist/components/help-center-pages/product-releases-list-page.d.ts.map +1 -0
- package/dist/components/help-center-pages/roadmap-page.d.ts +40 -0
- package/dist/components/help-center-pages/roadmap-page.d.ts.map +1 -0
- package/dist/components/icons/index.cjs +3 -3
- package/dist/components/icons/index.js +2 -2
- package/dist/components/index.cjs +177 -1555
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +348 -1726
- package/dist/components/index.js.map +1 -1
- package/dist/components/layout/page-layout.d.ts +4 -1
- package/dist/components/layout/page-layout.d.ts.map +1 -1
- package/dist/components/layout/title-block.d.ts +5 -1
- package/dist/components/layout/title-block.d.ts.map +1 -1
- package/dist/components/navigation/index.cjs +8 -8
- package/dist/components/navigation/index.js +7 -7
- package/dist/components/onboarding-guides/index.cjs +15 -364
- package/dist/components/onboarding-guides/index.cjs.map +1 -1
- package/dist/components/onboarding-guides/index.js +20 -369
- package/dist/components/onboarding-guides/index.js.map +1 -1
- package/dist/components/onboarding-guides/onboarding-guide-detail-view.d.ts +9 -1
- package/dist/components/onboarding-guides/onboarding-guide-detail-view.d.ts.map +1 -1
- package/dist/components/related-content/index.cjs +10 -10
- package/dist/components/related-content/index.js +9 -9
- package/dist/components/shared/dev-section/dev-section-page.d.ts +7 -1
- package/dist/components/shared/dev-section/dev-section-page.d.ts.map +1 -1
- package/dist/components/shared/dev-section/dev-section-view.d.ts +7 -1
- package/dist/components/shared/dev-section/dev-section-view.d.ts.map +1 -1
- package/dist/components/shared/legal-document/legal-document-page.d.ts +5 -1
- package/dist/components/shared/legal-document/legal-document-page.d.ts.map +1 -1
- package/dist/components/shared/product-release/release-detail-page.d.ts +11 -2
- package/dist/components/shared/product-release/release-detail-page.d.ts.map +1 -1
- package/dist/components/tickets/help-center-list.d.ts +5 -1
- package/dist/components/tickets/help-center-list.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +15 -1882
- package/dist/components/tickets/index.cjs.map +1 -1
- package/dist/components/tickets/index.js +28 -1895
- package/dist/components/tickets/index.js.map +1 -1
- package/dist/components/ui/file-manager/index.cjs +53 -53
- package/dist/components/ui/file-manager/index.cjs.map +1 -1
- package/dist/components/ui/file-manager/index.js +4 -4
- package/dist/components/ui/index.cjs +8 -8
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +7 -7
- package/dist/hooks/index.cjs +5 -5
- package/dist/hooks/index.js +4 -4
- package/dist/index.cjs +10 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -9
- package/package.json +7 -1
- package/src/components/docs/doc-viewer.tsx +21 -34
- package/src/components/faq/faq-document-page.tsx +33 -60
- package/src/components/features/push-button-selector.tsx +21 -3
- package/src/components/help-center-pages/delivery-page.tsx +45 -0
- package/src/components/help-center-pages/index.ts +41 -0
- package/src/components/help-center-pages/onboarding-guides-catalog-page.tsx +66 -0
- package/src/components/help-center-pages/product-releases-list-page.tsx +58 -0
- package/src/components/help-center-pages/roadmap-page.tsx +68 -0
- package/src/components/layout/page-layout.tsx +11 -0
- package/src/components/layout/title-block.tsx +15 -2
- package/src/components/onboarding-guides/onboarding-guide-detail-view.tsx +30 -19
- package/src/components/shared/dev-section/dev-section-page.tsx +29 -19
- package/src/components/shared/dev-section/dev-section-view.tsx +26 -19
- package/src/components/shared/legal-document/legal-document-page.tsx +19 -23
- package/src/components/shared/product-release/release-detail-page.tsx +36 -36
- package/src/components/tickets/help-center-list.tsx +11 -3
- package/dist/chunk-BHOGI57O.cjs.map +0 -1
- package/dist/chunk-BJ6JXN5Z.js.map +0 -1
- package/dist/chunk-E2LC43T3.js.map +0 -1
- package/dist/chunk-EC4DGRN6.cjs.map +0 -1
- package/dist/chunk-UNKIRZVY.cjs.map +0 -1
- package/dist/chunk-WJCOWYAP.cjs.map +0 -1
- /package/dist/{chunk-L7BROXZ7.js.map → chunk-64DZ2J7Q.js.map} +0 -0
- /package/dist/{chunk-OD3BEWDQ.js.map → chunk-6KERXOFE.js.map} +0 -0
- /package/dist/{chunk-JALO4TAZ.js.map → chunk-AI5X5JTD.js.map} +0 -0
- /package/dist/{chunk-TRSDXD23.js.map → chunk-JAZM3A7E.js.map} +0 -0
- /package/dist/{chunk-V4IIBNTA.js.map → chunk-LQHMXPOJ.js.map} +0 -0
- /package/dist/{chunk-UO27TVAO.js.map → chunk-OKGZK6TT.js.map} +0 -0
- /package/dist/{chunk-E4CQ4RUG.js.map → chunk-Q4AMYLKX.js.map} +0 -0
- /package/dist/{chunk-ZW3NHMG7.js.map → chunk-YFGDZFUG.js.map} +0 -0
- /package/dist/{chunk-JWX6NIQ4.js.map → chunk-Z3YORGG4.js.map} +0 -0
|
@@ -25,92 +25,7 @@ import {
|
|
|
25
25
|
useOgPlaceholderUrl,
|
|
26
26
|
useOnboardingState,
|
|
27
27
|
useToast
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import {
|
|
30
|
-
useChatRuntime,
|
|
31
|
-
useRequiredChatRuntime
|
|
32
|
-
} from "./chunk-2FI3USTC.js";
|
|
33
|
-
import {
|
|
34
|
-
dynamic
|
|
35
|
-
} from "./chunk-EL5YVPD5.js";
|
|
36
|
-
import {
|
|
37
|
-
init_next_navigation,
|
|
38
|
-
usePathname,
|
|
39
|
-
useRouter,
|
|
40
|
-
useSearchParams
|
|
41
|
-
} from "./chunk-PLJLE4A4.js";
|
|
42
|
-
import {
|
|
43
|
-
next_image_default
|
|
44
|
-
} from "./chunk-LXC6P2EO.js";
|
|
45
|
-
import {
|
|
46
|
-
Button,
|
|
47
|
-
Checkbox,
|
|
48
|
-
DropdownMenu,
|
|
49
|
-
DropdownMenuContent,
|
|
50
|
-
DropdownMenuItem,
|
|
51
|
-
DropdownMenuTrigger,
|
|
52
|
-
FieldWrapper,
|
|
53
|
-
Input,
|
|
54
|
-
PortalContainerContext,
|
|
55
|
-
Skeleton,
|
|
56
|
-
SplitButton,
|
|
57
|
-
buttonVariants,
|
|
58
|
-
init_button,
|
|
59
|
-
init_button2,
|
|
60
|
-
init_split_button,
|
|
61
|
-
usePortalContainer
|
|
62
|
-
} from "./chunk-JALO4TAZ.js";
|
|
63
|
-
import {
|
|
64
|
-
init_next_link,
|
|
65
|
-
next_link_default
|
|
66
|
-
} from "./chunk-OHPI2HRK.js";
|
|
67
|
-
import {
|
|
68
|
-
BashIcon,
|
|
69
|
-
ClickUpIcon,
|
|
70
|
-
CmdIcon,
|
|
71
|
-
CustomExternalLinkIcon,
|
|
72
|
-
DenoIcon,
|
|
73
|
-
ErrorIcon,
|
|
74
|
-
EyeIcon as EyeIcon2,
|
|
75
|
-
FacebookIcon,
|
|
76
|
-
FigmaIcon as FigmaIcon2,
|
|
77
|
-
GitHubIcon,
|
|
78
|
-
GoogleLogo,
|
|
79
|
-
GridViewIcon,
|
|
80
|
-
HubspotIcon,
|
|
81
|
-
ImageIcon,
|
|
82
|
-
InstagramIcon,
|
|
83
|
-
LinkedInIcon,
|
|
84
|
-
LinuxIcon,
|
|
85
|
-
LogOutIcon,
|
|
86
|
-
MacOSIcon,
|
|
87
|
-
MiamiCyberGangLogoFaceOnly,
|
|
88
|
-
MicrosoftIcon,
|
|
89
|
-
MingoIcon,
|
|
90
|
-
NushellIcon,
|
|
91
|
-
OpenFrameLogo,
|
|
92
|
-
OpenFrameText,
|
|
93
|
-
PackageIcon,
|
|
94
|
-
RedditIcon,
|
|
95
|
-
ShapeCircleDashIcon,
|
|
96
|
-
ShellIcon,
|
|
97
|
-
SlackIcon,
|
|
98
|
-
SparklesIcon,
|
|
99
|
-
TableViewIcon,
|
|
100
|
-
ThumbsDownIcon,
|
|
101
|
-
ThumbsUpIcon,
|
|
102
|
-
UserIcon as UserIcon2,
|
|
103
|
-
WhatsAppIcon,
|
|
104
|
-
WindowsIcon,
|
|
105
|
-
XLogo,
|
|
106
|
-
YouTubeIcon
|
|
107
|
-
} from "./chunk-V4IIBNTA.js";
|
|
108
|
-
import {
|
|
109
|
-
cn,
|
|
110
|
-
getBaseUrl,
|
|
111
|
-
init_cn,
|
|
112
|
-
init_platform_domains
|
|
113
|
-
} from "./chunk-XTCBRQN2.js";
|
|
28
|
+
} from "./chunk-Q4AMYLKX.js";
|
|
114
29
|
import {
|
|
115
30
|
AlertCircleIcon,
|
|
116
31
|
AnthropicLogoGreyIcon,
|
|
@@ -223,14 +138,99 @@ import {
|
|
|
223
138
|
XmarkIcon,
|
|
224
139
|
icons_v2_generated_exports
|
|
225
140
|
} from "./chunk-J7AV6H63.js";
|
|
141
|
+
import {
|
|
142
|
+
useChatRuntime,
|
|
143
|
+
useRequiredChatRuntime
|
|
144
|
+
} from "./chunk-2FI3USTC.js";
|
|
145
|
+
import {
|
|
146
|
+
dynamic
|
|
147
|
+
} from "./chunk-EL5YVPD5.js";
|
|
148
|
+
import {
|
|
149
|
+
init_next_navigation,
|
|
150
|
+
usePathname,
|
|
151
|
+
useRouter,
|
|
152
|
+
useSearchParams
|
|
153
|
+
} from "./chunk-PLJLE4A4.js";
|
|
154
|
+
import {
|
|
155
|
+
next_image_default
|
|
156
|
+
} from "./chunk-LXC6P2EO.js";
|
|
157
|
+
import {
|
|
158
|
+
Button,
|
|
159
|
+
Checkbox,
|
|
160
|
+
DropdownMenu,
|
|
161
|
+
DropdownMenuContent,
|
|
162
|
+
DropdownMenuItem,
|
|
163
|
+
DropdownMenuTrigger,
|
|
164
|
+
FieldWrapper,
|
|
165
|
+
Input,
|
|
166
|
+
PortalContainerContext,
|
|
167
|
+
Skeleton,
|
|
168
|
+
SplitButton,
|
|
169
|
+
buttonVariants,
|
|
170
|
+
init_button,
|
|
171
|
+
init_button2,
|
|
172
|
+
init_split_button,
|
|
173
|
+
usePortalContainer
|
|
174
|
+
} from "./chunk-AI5X5JTD.js";
|
|
226
175
|
import {
|
|
227
176
|
CheckboxCheckmarkIcon,
|
|
228
177
|
SearchIcon
|
|
229
178
|
} from "./chunk-6U3IUD57.js";
|
|
179
|
+
import {
|
|
180
|
+
init_next_link,
|
|
181
|
+
next_link_default
|
|
182
|
+
} from "./chunk-OHPI2HRK.js";
|
|
183
|
+
import {
|
|
184
|
+
BashIcon,
|
|
185
|
+
ClickUpIcon,
|
|
186
|
+
CmdIcon,
|
|
187
|
+
CustomExternalLinkIcon,
|
|
188
|
+
DenoIcon,
|
|
189
|
+
ErrorIcon,
|
|
190
|
+
EyeIcon as EyeIcon2,
|
|
191
|
+
FacebookIcon,
|
|
192
|
+
FigmaIcon as FigmaIcon2,
|
|
193
|
+
GitHubIcon,
|
|
194
|
+
GoogleLogo,
|
|
195
|
+
GridViewIcon,
|
|
196
|
+
HubspotIcon,
|
|
197
|
+
ImageIcon,
|
|
198
|
+
InstagramIcon,
|
|
199
|
+
LinkedInIcon,
|
|
200
|
+
LinuxIcon,
|
|
201
|
+
LogOutIcon,
|
|
202
|
+
MacOSIcon,
|
|
203
|
+
MiamiCyberGangLogoFaceOnly,
|
|
204
|
+
MicrosoftIcon,
|
|
205
|
+
MingoIcon,
|
|
206
|
+
NushellIcon,
|
|
207
|
+
OpenFrameLogo,
|
|
208
|
+
OpenFrameText,
|
|
209
|
+
PackageIcon,
|
|
210
|
+
RedditIcon,
|
|
211
|
+
ShapeCircleDashIcon,
|
|
212
|
+
ShellIcon,
|
|
213
|
+
SlackIcon,
|
|
214
|
+
SparklesIcon,
|
|
215
|
+
TableViewIcon,
|
|
216
|
+
ThumbsDownIcon,
|
|
217
|
+
ThumbsUpIcon,
|
|
218
|
+
UserIcon as UserIcon2,
|
|
219
|
+
WhatsAppIcon,
|
|
220
|
+
WindowsIcon,
|
|
221
|
+
XLogo,
|
|
222
|
+
YouTubeIcon
|
|
223
|
+
} from "./chunk-LQHMXPOJ.js";
|
|
230
224
|
import {
|
|
231
225
|
LaptopIcon,
|
|
232
226
|
MonitorIcon
|
|
233
227
|
} from "./chunk-W72U7OU7.js";
|
|
228
|
+
import {
|
|
229
|
+
cn,
|
|
230
|
+
getBaseUrl,
|
|
231
|
+
init_cn,
|
|
232
|
+
init_platform_domains
|
|
233
|
+
} from "./chunk-XTCBRQN2.js";
|
|
234
234
|
import {
|
|
235
235
|
acquireClient,
|
|
236
236
|
releaseClient,
|
|
@@ -18908,10 +18908,12 @@ function TitleBlock({
|
|
|
18908
18908
|
menuActions,
|
|
18909
18909
|
selector,
|
|
18910
18910
|
variant = "plain",
|
|
18911
|
-
className
|
|
18911
|
+
className,
|
|
18912
|
+
titleSize = "h2"
|
|
18912
18913
|
}) {
|
|
18913
18914
|
const hasActions = actions && actions.length > 0;
|
|
18914
18915
|
const hasMenuActions = !!menuActions && menuActions.some((g) => g.items.length > 0);
|
|
18916
|
+
const titleClass = titleSize === "h1" ? "text-h1" : "text-h2";
|
|
18915
18917
|
return /* @__PURE__ */ jsxs111(
|
|
18916
18918
|
"div",
|
|
18917
18919
|
{
|
|
@@ -18948,10 +18950,10 @@ function TitleBlock({
|
|
|
18948
18950
|
}
|
|
18949
18951
|
),
|
|
18950
18952
|
/* @__PURE__ */ jsxs111("div", { className: "flex flex-col justify-center min-w-0 flex-1", children: [
|
|
18951
|
-
title && /* @__PURE__ */ jsx139("h1", { className: "text-
|
|
18953
|
+
title && /* @__PURE__ */ jsx139("h1", { className: cn(titleClass, "text-ods-text-primary truncate"), title, children: title }),
|
|
18952
18954
|
subtitle && /* @__PURE__ */ jsx139("p", { className: "text-h6 text-ods-text-secondary truncate", title: subtitle, children: subtitle })
|
|
18953
18955
|
] })
|
|
18954
|
-
] }) : title && /* @__PURE__ */ jsx139("h1", { className: "text-
|
|
18956
|
+
] }) : title && /* @__PURE__ */ jsx139("h1", { className: cn(titleClass, "text-ods-text-primary"), children: title })
|
|
18955
18957
|
] }),
|
|
18956
18958
|
(hasActions || hasMenuActions || selector) && /* @__PURE__ */ jsx139("div", { className: "flex gap-2 items-center shrink-0", children: /* @__PURE__ */ jsx139(
|
|
18957
18959
|
PageActions,
|
|
@@ -18982,7 +18984,8 @@ function PageLayout({
|
|
|
18982
18984
|
headerVariant,
|
|
18983
18985
|
className,
|
|
18984
18986
|
contentClassName,
|
|
18985
|
-
showHeader = true
|
|
18987
|
+
showHeader = true,
|
|
18988
|
+
titleSize
|
|
18986
18989
|
}) {
|
|
18987
18990
|
const hasActions = actions && actions.length > 0;
|
|
18988
18991
|
const needsBottomPadding = hasActions && actionsVariant === "primary-buttons";
|
|
@@ -18999,7 +19002,8 @@ function PageLayout({
|
|
|
18999
19002
|
actionsVariant,
|
|
19000
19003
|
menuActions,
|
|
19001
19004
|
selector,
|
|
19002
|
-
variant: headerVariant
|
|
19005
|
+
variant: headerVariant,
|
|
19006
|
+
titleSize
|
|
19003
19007
|
}
|
|
19004
19008
|
),
|
|
19005
19009
|
/* @__PURE__ */ jsx140("div", { className: cn("flex flex-col flex-1 gap-[var(--spacing-system-l)]", needsBottomPadding && "pb-28 md:pb-0", contentClassName), children })
|
|
@@ -24864,14 +24868,14 @@ function PushButtonSelector({
|
|
|
24864
24868
|
const getSelectedOptions = () => options.filter((option) => validSelectedIds.includes(option.id));
|
|
24865
24869
|
const renderOption = (option) => {
|
|
24866
24870
|
const isSelected = validSelectedIds.includes(option.id);
|
|
24867
|
-
|
|
24871
|
+
const optionEl = /* @__PURE__ */ jsx186(
|
|
24868
24872
|
"div",
|
|
24869
24873
|
{
|
|
24870
24874
|
className: `
|
|
24871
24875
|
p-4 rounded-lg border transition-all duration-200 group
|
|
24872
|
-
${option.disabled ? "cursor-not-allowed opacity-40 bg-ods-card border-ods-border
|
|
24876
|
+
${option.disabled ? `${isSelected ? "cursor-pointer" : "cursor-not-allowed"} opacity-40 bg-ods-card border-ods-border` : isSelected ? "cursor-pointer bg-ods-bg-secondary border-ods-accent shadow-sm" : "cursor-pointer bg-ods-bg-primary border-ods-border hover:border-ods-border-hover hover:bg-ods-bg-hover"}
|
|
24873
24877
|
`,
|
|
24874
|
-
onClick: () => !option.disabled && toggleSelection(option.id),
|
|
24878
|
+
onClick: () => (!option.disabled || isSelected) && toggleSelection(option.id),
|
|
24875
24879
|
children: /* @__PURE__ */ jsxs145("div", { className: "flex items-center justify-between gap-4", children: [
|
|
24876
24880
|
/* @__PURE__ */ jsxs145("div", { className: "flex items-center gap-3 flex-1 min-w-0", children: [
|
|
24877
24881
|
option.icon && /* @__PURE__ */ jsx186("div", { className: `flex-shrink-0 transition-transform duration-200 ${isSelected ? "scale-110" : "group-hover:scale-105"}`, children: option.icon }),
|
|
@@ -24888,6 +24892,13 @@ function PushButtonSelector({
|
|
|
24888
24892
|
},
|
|
24889
24893
|
option.id
|
|
24890
24894
|
);
|
|
24895
|
+
if (option.disabled && option.disabledReason) {
|
|
24896
|
+
return /* @__PURE__ */ jsxs145(Tooltip, { children: [
|
|
24897
|
+
/* @__PURE__ */ jsx186(TooltipTrigger, { asChild: true, children: optionEl }),
|
|
24898
|
+
/* @__PURE__ */ jsx186(TooltipContent, { className: "max-w-xs", children: option.disabledReason })
|
|
24899
|
+
] }, option.id);
|
|
24900
|
+
}
|
|
24901
|
+
return optionEl;
|
|
24891
24902
|
};
|
|
24892
24903
|
const renderOptionsContent = () => {
|
|
24893
24904
|
if (!sections || sections.length === 0) {
|
|
@@ -24921,7 +24932,7 @@ function PushButtonSelector({
|
|
|
24921
24932
|
ungroupedOptions.length > 0 && /* @__PURE__ */ jsx186("div", { className: "space-y-2", children: ungroupedOptions.map(renderOption) })
|
|
24922
24933
|
] });
|
|
24923
24934
|
};
|
|
24924
|
-
return /* @__PURE__ */ jsxs145("div", { className: `space-y-4 ${className}`, children: [
|
|
24935
|
+
return /* @__PURE__ */ jsx186(TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ jsxs145("div", { className: `space-y-4 ${className}`, children: [
|
|
24925
24936
|
title && /* @__PURE__ */ jsx186("h3", { className: "text-h5 text-ods-text-primary", children: title }),
|
|
24926
24937
|
renderOptionsContent(),
|
|
24927
24938
|
selectionSummary && validSelectedIds.length > 0 && /* @__PURE__ */ jsxs145("div", { className: "p-4 bg-ods-attention-green-success-secondary border border-ods-attention-green-success/30 rounded-lg", children: [
|
|
@@ -24945,7 +24956,7 @@ function PushButtonSelector({
|
|
|
24945
24956
|
] }),
|
|
24946
24957
|
helpText && /* @__PURE__ */ jsx186("div", { className: "text-[12px] text-ods-text-secondary font-['DM_Sans']", children: helpText }),
|
|
24947
24958
|
validSelectedIds.length === 0 && title && !optional && /* @__PURE__ */ jsx186("div", { className: "p-3 bg-ods-attention-red-error-secondary border border-ods-attention-red-error/30 rounded-lg", children: /* @__PURE__ */ jsx186("div", { className: "font-['DM_Sans'] text-[12px] text-ods-attention-red-error", children: "\u26A0\uFE0F Please select at least one option" }) })
|
|
24948
|
-
] });
|
|
24959
|
+
] }) });
|
|
24949
24960
|
}
|
|
24950
24961
|
|
|
24951
24962
|
// src/components/features/release-media-manager.tsx
|
|
@@ -49077,4 +49088,4 @@ export {
|
|
|
49077
49088
|
LogsList,
|
|
49078
49089
|
assets
|
|
49079
49090
|
};
|
|
49080
|
-
//# sourceMappingURL=chunk-
|
|
49091
|
+
//# sourceMappingURL=chunk-2Y4DLBFO.js.map
|