@flamingo-stack/openframe-frontend-core 0.0.627 → 0.0.628-snapshot.20260914045040
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-RAPPN6MN.cjs → chunk-2MMEPNSX.cjs} +3 -3
- package/dist/{chunk-RAPPN6MN.cjs.map → chunk-2MMEPNSX.cjs.map} +1 -1
- package/dist/{chunk-HIZAMJPT.js → chunk-2MXKO5BN.js} +12 -12
- package/dist/{chunk-QCSWM3VU.cjs → chunk-2ZSGDKZI.cjs} +9 -9
- package/dist/{chunk-QCSWM3VU.cjs.map → chunk-2ZSGDKZI.cjs.map} +1 -1
- package/dist/{chunk-P7UT2YSC.cjs → chunk-3IXDZI3R.cjs} +3 -3
- package/dist/{chunk-P7UT2YSC.cjs.map → chunk-3IXDZI3R.cjs.map} +1 -1
- package/dist/{chunk-VUAEDAUN.cjs → chunk-3ZY4CE7N.cjs} +6 -6
- package/dist/{chunk-VUAEDAUN.cjs.map → chunk-3ZY4CE7N.cjs.map} +1 -1
- package/dist/{chunk-PKSH6PAK.js → chunk-4NMVDTHA.js} +8 -10
- package/dist/{chunk-PKSH6PAK.js.map → chunk-4NMVDTHA.js.map} +1 -1
- package/dist/{chunk-CAQ5MNLJ.js → chunk-4VPCIREO.js} +3 -3
- package/dist/{chunk-4E3UZZ2J.cjs → chunk-5JAB5LVO.cjs} +34 -34
- package/dist/{chunk-4E3UZZ2J.cjs.map → chunk-5JAB5LVO.cjs.map} +1 -1
- package/dist/{chunk-JRYS4VMV.js → chunk-5LIDR7HL.js} +79 -4
- package/dist/{chunk-JRYS4VMV.js.map → chunk-5LIDR7HL.js.map} +1 -1
- package/dist/{chunk-G46NJNTL.cjs → chunk-5OMBSMRI.cjs} +26 -28
- package/dist/chunk-5OMBSMRI.cjs.map +1 -0
- package/dist/{chunk-SLT5C3PQ.cjs → chunk-7P6M5G3W.cjs} +25 -25
- package/dist/{chunk-SLT5C3PQ.cjs.map → chunk-7P6M5G3W.cjs.map} +1 -1
- package/dist/{chunk-ZOMGXH7C.js → chunk-BVQEU5JB.js} +2 -2
- package/dist/{chunk-VOZZQ6HQ.cjs → chunk-CCWI3622.cjs} +4 -4
- package/dist/{chunk-VOZZQ6HQ.cjs.map → chunk-CCWI3622.cjs.map} +1 -1
- package/dist/{chunk-BJGAFPG5.cjs → chunk-CKMJQ46H.cjs} +42 -42
- package/dist/{chunk-BJGAFPG5.cjs.map → chunk-CKMJQ46H.cjs.map} +1 -1
- package/dist/{chunk-OAXASIVG.cjs → chunk-CV2SESZT.cjs} +7 -7
- package/dist/{chunk-OAXASIVG.cjs.map → chunk-CV2SESZT.cjs.map} +1 -1
- package/dist/{chunk-Y3MIFC5M.js → chunk-D5CKXMMC.js} +4 -4
- package/dist/{chunk-ZGZ7YAJH.js → chunk-DGY4NVIB.js} +8 -10
- package/dist/{chunk-ZGZ7YAJH.js.map → chunk-DGY4NVIB.js.map} +1 -1
- package/dist/{chunk-4SXZT7JP.cjs → chunk-DLHGJYYA.cjs} +83 -83
- package/dist/{chunk-4SXZT7JP.cjs.map → chunk-DLHGJYYA.cjs.map} +1 -1
- package/dist/{chunk-4E7XCEV3.cjs → chunk-EHAYNUOL.cjs} +2 -77
- package/dist/chunk-EHAYNUOL.cjs.map +1 -0
- package/dist/{chunk-X5NN4NJM.js → chunk-F2KBCLUG.js} +2 -2
- package/dist/{chunk-USIRWQJ3.js → chunk-FKBM6U43.js} +1 -76
- package/dist/{chunk-USIRWQJ3.js.map → chunk-FKBM6U43.js.map} +1 -1
- package/dist/{chunk-CK2CPZXB.js → chunk-GR3WOOM7.js} +12 -12
- package/dist/{chunk-GQ7267OV.cjs → chunk-HVWNOPDV.cjs} +5 -5
- package/dist/{chunk-GQ7267OV.cjs.map → chunk-HVWNOPDV.cjs.map} +1 -1
- package/dist/{chunk-QIVX7F3N.cjs → chunk-JJUV7Z4L.cjs} +27 -27
- package/dist/{chunk-QIVX7F3N.cjs.map → chunk-JJUV7Z4L.cjs.map} +1 -1
- package/dist/{chunk-53ARMJHM.cjs → chunk-JONR3BDJ.cjs} +37 -37
- package/dist/{chunk-53ARMJHM.cjs.map → chunk-JONR3BDJ.cjs.map} +1 -1
- package/dist/{chunk-ZCQVUIPH.cjs → chunk-K7EJ7HYJ.cjs} +18 -18
- package/dist/{chunk-ZCQVUIPH.cjs.map → chunk-K7EJ7HYJ.cjs.map} +1 -1
- package/dist/{chunk-VZQ3VVFH.cjs → chunk-KO52PXL4.cjs} +20 -22
- package/dist/chunk-KO52PXL4.cjs.map +1 -0
- package/dist/{chunk-BC726XIQ.cjs → chunk-LHYRLL64.cjs} +47 -49
- package/dist/chunk-LHYRLL64.cjs.map +1 -0
- package/dist/{chunk-4PIHIFJM.js → chunk-LQLL4S4V.js} +4 -4
- package/dist/{chunk-KXDYBRRR.js → chunk-MOB5AA3X.js} +7 -7
- package/dist/{chunk-DH3YH3TV.js → chunk-MTLDYBXK.js} +8 -8
- package/dist/{chunk-L5FEAOGJ.js → chunk-ON7663OW.js} +354 -8
- package/dist/chunk-ON7663OW.js.map +1 -0
- package/dist/{chunk-55X46LKR.cjs → chunk-OQHFHKUG.cjs} +100 -450
- package/dist/chunk-OQHFHKUG.cjs.map +1 -0
- package/dist/{chunk-WZ6CUZMM.js → chunk-OXTV63QO.js} +4 -4
- package/dist/{chunk-NLADJ4IX.js → chunk-PFBMVQ5R.js} +6 -6
- package/dist/{chunk-5E55S5SI.js → chunk-PJZYJDR7.js} +4 -4
- package/dist/{chunk-PTP5LSYM.js → chunk-QGWBMPQY.js} +61 -22
- package/dist/chunk-QGWBMPQY.js.map +1 -0
- package/dist/{chunk-2J7EFH4V.js → chunk-QS2QCXBH.js} +30 -380
- package/dist/chunk-QS2QCXBH.js.map +1 -0
- package/dist/{chunk-76HB456V.js → chunk-S6WBBSII.js} +5 -5
- package/dist/{chunk-G47XRVZA.js → chunk-SCPJ53CM.js} +3 -3
- package/dist/{chunk-25UWKNII.js → chunk-T46STYS2.js} +8 -10
- package/dist/{chunk-25UWKNII.js.map → chunk-T46STYS2.js.map} +1 -1
- package/dist/{chunk-6I3KNDBF.cjs → chunk-U7TTQV4N.cjs} +3 -3
- package/dist/{chunk-6I3KNDBF.cjs.map → chunk-U7TTQV4N.cjs.map} +1 -1
- package/dist/{chunk-ZYDNPUSH.cjs → chunk-UNI3POHU.cjs} +625 -279
- package/dist/chunk-UNI3POHU.cjs.map +1 -0
- package/dist/{chunk-N6XNJX25.cjs → chunk-W523NIJ6.cjs} +15 -15
- package/dist/{chunk-N6XNJX25.cjs.map → chunk-W523NIJ6.cjs.map} +1 -1
- package/dist/{chunk-J6ATJUEE.js → chunk-WBZ4HP7D.js} +4 -4
- package/dist/{chunk-R3SJ6PMI.cjs → chunk-WR67VM2J.cjs} +463 -424
- package/dist/chunk-WR67VM2J.cjs.map +1 -0
- package/dist/{chunk-32P6KUZP.js → chunk-X3LC6R37.js} +2 -2
- package/dist/{chunk-FR6EDA3P.cjs → chunk-XNC37UQP.cjs} +105 -105
- package/dist/{chunk-FR6EDA3P.cjs.map → chunk-XNC37UQP.cjs.map} +1 -1
- package/dist/{chunk-CMUNJZWN.js → chunk-YQCA4ZEJ.js} +2 -2
- package/dist/{chunk-ZI27ALYX.cjs → chunk-YXWGSDK4.cjs} +80 -5
- package/dist/chunk-YXWGSDK4.cjs.map +1 -0
- package/dist/components/case-studies/index.cjs +14 -14
- package/dist/components/case-studies/index.js +8 -8
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/chat/index.js +4 -4
- package/dist/components/contact/index.cjs +9 -9
- package/dist/components/contact/index.js +8 -8
- package/dist/components/docs/index.cjs +12 -12
- package/dist/components/docs/index.js +11 -11
- package/dist/components/embeds/index.cjs +9 -9
- package/dist/components/embeds/index.js +8 -8
- package/dist/components/faq/index.cjs +10 -10
- package/dist/components/faq/index.js +9 -9
- package/dist/components/features/changelog-manager.d.ts +17 -1
- package/dist/components/features/changelog-manager.d.ts.map +1 -1
- package/dist/components/features/index.cjs +8 -8
- package/dist/components/features/index.js +7 -7
- package/dist/components/help-center-pages/index.cjs +31 -31
- package/dist/components/help-center-pages/index.js +22 -22
- package/dist/components/index.cjs +69 -71
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +24 -26
- package/dist/components/index.js.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +49 -49
- package/dist/components/meeting-scheduler/index.js +9 -9
- package/dist/components/navigation/index.cjs +11 -11
- package/dist/components/navigation/index.js +10 -10
- package/dist/components/onboarding-guides/index.cjs +12 -12
- package/dist/components/onboarding-guides/index.js +11 -11
- package/dist/components/related-content/index.cjs +6 -6
- package/dist/components/related-content/index.js +5 -5
- package/dist/components/tickets/index.cjs +13 -13
- package/dist/components/tickets/index.js +12 -12
- package/dist/components/ui/color-preset-select.d.ts +5 -4
- package/dist/components/ui/color-preset-select.d.ts.map +1 -1
- package/dist/components/ui/department-badge.d.ts +3 -3
- package/dist/components/ui/index.cjs +8 -10
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +7 -9
- package/dist/components/ui/palette-badge.d.ts +6 -8
- package/dist/components/ui/palette-badge.d.ts.map +1 -1
- package/dist/components/ui/status-badge.d.ts +1 -1
- package/dist/components/ui/status-badge.d.ts.map +1 -1
- package/dist/hooks/index.cjs +5 -5
- package/dist/hooks/index.js +4 -4
- package/dist/index.cjs +18 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +46 -46
- package/dist/types/department.d.ts +1 -1
- package/dist/types/department.d.ts.map +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/product-release.d.ts +5 -0
- package/dist/types/product-release.d.ts.map +1 -1
- package/dist/utils/badge-palette.d.ts +18 -0
- package/dist/utils/badge-palette.d.ts.map +1 -0
- package/dist/utils/index.cjs +21 -24
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +19 -22
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/features/__tests__/changelog-manager-tags.test.tsx +57 -0
- package/src/components/features/changelog-manager.tsx +69 -5
- package/src/components/ui/.department-badge.md +2 -2
- package/src/components/ui/.palette-badge.md +2 -2
- package/src/components/ui/.status-badge.md +2 -2
- package/src/components/ui/__tests__/department-badge.test.tsx +23 -21
- package/src/components/ui/color-preset-select.tsx +21 -5
- package/src/components/ui/department-badge.tsx +3 -3
- package/src/components/ui/palette-badge.tsx +8 -13
- package/src/components/ui/status-badge.tsx +5 -0
- package/src/types/department.ts +1 -1
- package/src/types/product-release.ts +5 -0
- package/src/utils/.badge-palette.md +2 -0
- package/src/utils/badge-palette.ts +38 -0
- package/src/utils/index.ts +2 -1
- package/dist/chunk-2J7EFH4V.js.map +0 -1
- package/dist/chunk-4E7XCEV3.cjs.map +0 -1
- package/dist/chunk-55X46LKR.cjs.map +0 -1
- package/dist/chunk-BC726XIQ.cjs.map +0 -1
- package/dist/chunk-G46NJNTL.cjs.map +0 -1
- package/dist/chunk-L5FEAOGJ.js.map +0 -1
- package/dist/chunk-PTP5LSYM.js.map +0 -1
- package/dist/chunk-R3SJ6PMI.cjs.map +0 -1
- package/dist/chunk-VZQ3VVFH.cjs.map +0 -1
- package/dist/chunk-ZI27ALYX.cjs.map +0 -1
- package/dist/chunk-ZYDNPUSH.cjs.map +0 -1
- package/dist/utils/color-presets.d.ts +0 -24
- package/dist/utils/color-presets.d.ts.map +0 -1
- package/src/utils/.color-presets.md +0 -2
- package/src/utils/color-presets.ts +0 -48
- /package/dist/{chunk-HIZAMJPT.js.map → chunk-2MXKO5BN.js.map} +0 -0
- /package/dist/{chunk-CAQ5MNLJ.js.map → chunk-4VPCIREO.js.map} +0 -0
- /package/dist/{chunk-ZOMGXH7C.js.map → chunk-BVQEU5JB.js.map} +0 -0
- /package/dist/{chunk-Y3MIFC5M.js.map → chunk-D5CKXMMC.js.map} +0 -0
- /package/dist/{chunk-X5NN4NJM.js.map → chunk-F2KBCLUG.js.map} +0 -0
- /package/dist/{chunk-CK2CPZXB.js.map → chunk-GR3WOOM7.js.map} +0 -0
- /package/dist/{chunk-4PIHIFJM.js.map → chunk-LQLL4S4V.js.map} +0 -0
- /package/dist/{chunk-KXDYBRRR.js.map → chunk-MOB5AA3X.js.map} +0 -0
- /package/dist/{chunk-DH3YH3TV.js.map → chunk-MTLDYBXK.js.map} +0 -0
- /package/dist/{chunk-WZ6CUZMM.js.map → chunk-OXTV63QO.js.map} +0 -0
- /package/dist/{chunk-NLADJ4IX.js.map → chunk-PFBMVQ5R.js.map} +0 -0
- /package/dist/{chunk-5E55S5SI.js.map → chunk-PJZYJDR7.js.map} +0 -0
- /package/dist/{chunk-76HB456V.js.map → chunk-S6WBBSII.js.map} +0 -0
- /package/dist/{chunk-G47XRVZA.js.map → chunk-SCPJ53CM.js.map} +0 -0
- /package/dist/{chunk-J6ATJUEE.js.map → chunk-WBZ4HP7D.js.map} +0 -0
- /package/dist/{chunk-32P6KUZP.js.map → chunk-X3LC6R37.js.map} +0 -0
- /package/dist/{chunk-CMUNJZWN.js.map → chunk-YQCA4ZEJ.js.map} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
createSseSubscription
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QGWBMPQY.js";
|
|
5
5
|
import {
|
|
6
6
|
useChatIdentity
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ON7663OW.js";
|
|
8
8
|
import {
|
|
9
9
|
embedAuthedFetch
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FKBM6U43.js";
|
|
11
11
|
import {
|
|
12
12
|
useChatRuntime
|
|
13
13
|
} from "./chunk-YB6FI2G3.js";
|
|
@@ -275,4 +275,4 @@ export {
|
|
|
275
275
|
TICKET_MARK_READ_DEBOUNCE_MS,
|
|
276
276
|
TOAST_COPY
|
|
277
277
|
};
|
|
278
|
-
//# sourceMappingURL=chunk-
|
|
278
|
+
//# sourceMappingURL=chunk-OXTV63QO.js.map
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
SearchInput
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QGWBMPQY.js";
|
|
5
5
|
import {
|
|
6
6
|
contentFetch
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BVQEU5JB.js";
|
|
8
8
|
import {
|
|
9
9
|
NEW_TAB_FEATURES,
|
|
10
10
|
resolveExternalNavigation,
|
|
11
11
|
resolveSourceIcon,
|
|
12
12
|
stripSameOriginToPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ON7663OW.js";
|
|
14
14
|
import {
|
|
15
15
|
useDebounce
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-5LIDR7HL.js";
|
|
17
17
|
import {
|
|
18
18
|
useRouter
|
|
19
19
|
} from "./chunk-XXMHLZ3Y.js";
|
|
20
20
|
import {
|
|
21
21
|
decideNewTab
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-QS2QCXBH.js";
|
|
23
23
|
import {
|
|
24
24
|
useChatRuntime
|
|
25
25
|
} from "./chunk-YB6FI2G3.js";
|
|
@@ -381,4 +381,4 @@ export {
|
|
|
381
381
|
resolveSearchResultAction,
|
|
382
382
|
useDocSearch
|
|
383
383
|
};
|
|
384
|
-
//# sourceMappingURL=chunk-
|
|
384
|
+
//# sourceMappingURL=chunk-PFBMVQ5R.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
EmptyState
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-X3LC6R37.js";
|
|
5
5
|
import {
|
|
6
6
|
OPENFRAME_DEV_SECTIONS,
|
|
7
7
|
PageLayout,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
StatusFilterComponent,
|
|
11
11
|
TASK_TYPE_LABELS,
|
|
12
12
|
TASK_TYPE_TEXT_COLORS
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QGWBMPQY.js";
|
|
14
14
|
import {
|
|
15
15
|
usePathname,
|
|
16
16
|
useRouter,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
AvatarStack,
|
|
21
21
|
StatusBadge,
|
|
22
22
|
getStatusColorScheme
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-QS2QCXBH.js";
|
|
24
24
|
import {
|
|
25
25
|
next_link_default
|
|
26
26
|
} from "./chunk-BTROSBHF.js";
|
|
@@ -302,4 +302,4 @@ export {
|
|
|
302
302
|
DevCardRowSkeletonList,
|
|
303
303
|
DeliveryRow
|
|
304
304
|
};
|
|
305
|
-
//# sourceMappingURL=chunk-
|
|
305
|
+
//# sourceMappingURL=chunk-PJZYJDR7.js.map
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
useLocalStorage,
|
|
23
23
|
useNotificationPermission,
|
|
24
24
|
useToast
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-S6WBBSII.js";
|
|
26
26
|
import {
|
|
27
27
|
Pagination
|
|
28
28
|
} from "./chunk-X7LJRNMJ.js";
|
|
@@ -48,6 +48,7 @@ import {
|
|
|
48
48
|
DrawerTitle,
|
|
49
49
|
ExpandChevron,
|
|
50
50
|
FloatingTooltip,
|
|
51
|
+
HEX_PATTERN,
|
|
51
52
|
MarkdownEngine,
|
|
52
53
|
Modal,
|
|
53
54
|
ModalContent,
|
|
@@ -77,18 +78,24 @@ import {
|
|
|
77
78
|
formatTicketFullTimestamp,
|
|
78
79
|
formatTicketRelativeTime,
|
|
79
80
|
formatTime,
|
|
81
|
+
getReadableTextColor,
|
|
80
82
|
hasRenderableSrc,
|
|
83
|
+
hexToRgb,
|
|
84
|
+
hslToRgb,
|
|
81
85
|
resolveTextSizeConfig,
|
|
82
86
|
resolveTicketStatus,
|
|
87
|
+
rgbToHex,
|
|
88
|
+
rgbToHsl,
|
|
83
89
|
stripInlineMarkdown,
|
|
84
90
|
useCaptions,
|
|
85
91
|
useCollapsible,
|
|
86
92
|
useIsHydrated,
|
|
87
93
|
useScrollFade
|
|
88
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-ON7663OW.js";
|
|
89
95
|
import {
|
|
90
96
|
NEAR_VIEWPORT_ROOT_MARGIN,
|
|
91
97
|
ToolIcon,
|
|
98
|
+
clamp,
|
|
92
99
|
createHeadingIdDeduper,
|
|
93
100
|
scanHeadings,
|
|
94
101
|
slugifyHeadingBase,
|
|
@@ -101,7 +108,7 @@ import {
|
|
|
101
108
|
useMdUp,
|
|
102
109
|
useMediaQuery,
|
|
103
110
|
useNearViewport
|
|
104
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-5LIDR7HL.js";
|
|
105
112
|
import {
|
|
106
113
|
usePathname,
|
|
107
114
|
useRouter,
|
|
@@ -215,33 +222,25 @@ import {
|
|
|
215
222
|
} from "./chunk-W72U7OU7.js";
|
|
216
223
|
import {
|
|
217
224
|
AvatarStack,
|
|
218
|
-
COLOR_PRESETS,
|
|
219
225
|
Card,
|
|
220
226
|
DEFAULT_VIDEO_BITES_TITLE,
|
|
221
|
-
HEX_PATTERN,
|
|
222
227
|
SquareAvatar,
|
|
223
228
|
StatusBadge,
|
|
224
229
|
canonicalContentRefType,
|
|
225
230
|
formatLargeNumber,
|
|
226
|
-
getReadableTextColor,
|
|
227
|
-
hexToRgb,
|
|
228
|
-
hslToRgb,
|
|
229
231
|
isVideoMedia,
|
|
230
232
|
personFirstName,
|
|
231
|
-
personInitials
|
|
232
|
-
|
|
233
|
-
rgbToHsl
|
|
234
|
-
} from "./chunk-2J7EFH4V.js";
|
|
233
|
+
personInitials
|
|
234
|
+
} from "./chunk-QS2QCXBH.js";
|
|
235
235
|
import {
|
|
236
236
|
next_image_default
|
|
237
237
|
} from "./chunk-MDKCTSDS.js";
|
|
238
238
|
import {
|
|
239
|
-
clamp,
|
|
240
239
|
createLocalStorageAdapter,
|
|
241
240
|
embedAuthedFetch,
|
|
242
241
|
useAuthedImageSrc,
|
|
243
242
|
useImageEdgeColor
|
|
244
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-FKBM6U43.js";
|
|
245
244
|
import {
|
|
246
245
|
OpenFrameLogo
|
|
247
246
|
} from "./chunk-OTX6XNSA.js";
|
|
@@ -16574,7 +16573,20 @@ PopoverContent.displayName = PopoverPrimitive6.Content.displayName;
|
|
|
16574
16573
|
|
|
16575
16574
|
// src/components/ui/color-preset-select.tsx
|
|
16576
16575
|
import { Fragment as Fragment24, jsx as jsx145, jsxs as jsxs113 } from "react/jsx-runtime";
|
|
16577
|
-
var TICKET_STATUS_COLOR_PRESETS =
|
|
16576
|
+
var TICKET_STATUS_COLOR_PRESETS = [
|
|
16577
|
+
{ key: "green", label: "Green", color: "#5ea62e" },
|
|
16578
|
+
{ key: "lime", label: "Lime", color: "#8bc34a" },
|
|
16579
|
+
{ key: "teal", label: "Teal", color: "#4db6ac" },
|
|
16580
|
+
{ key: "sky", label: "Sky", color: "#4fc3f7" },
|
|
16581
|
+
{ key: "periwinkle", label: "Periwinkle", color: "#7e9cd8" },
|
|
16582
|
+
{ key: "lavender", label: "Lavender", color: "#b39ddb" },
|
|
16583
|
+
{ key: "yellow", label: "Yellow", color: "#e1b32f" },
|
|
16584
|
+
{ key: "sand", label: "Sand", color: "#f0c674" },
|
|
16585
|
+
{ key: "peach", label: "Peach", color: "#f39c7a" },
|
|
16586
|
+
{ key: "red", label: "Red", color: "#f36666" },
|
|
16587
|
+
{ key: "pink", label: "Pink", color: "#e988a8" },
|
|
16588
|
+
{ key: "neutral", label: "Neutral", color: "#b0b0b0" }
|
|
16589
|
+
];
|
|
16578
16590
|
var CUSTOM_PRESET_KEY = "custom";
|
|
16579
16591
|
var DEFAULT_CUSTOM_STATUS_COLOR = "#888888";
|
|
16580
16592
|
function TriggerChevron() {
|
|
@@ -19318,8 +19330,15 @@ function ChangelogManager({
|
|
|
19318
19330
|
onChange,
|
|
19319
19331
|
className = "",
|
|
19320
19332
|
expandAll = false,
|
|
19321
|
-
showVisibilityToggle = false
|
|
19333
|
+
showVisibilityToggle = false,
|
|
19334
|
+
tagOptions,
|
|
19335
|
+
tagLabel = "Tag",
|
|
19336
|
+
titleLabel = "Title",
|
|
19337
|
+
titlePlaceholder = "e.g., New dark mode theme support",
|
|
19338
|
+
descriptionLabel = "Description",
|
|
19339
|
+
descriptionPlaceholder = "Detailed explanation of the change..."
|
|
19322
19340
|
}) {
|
|
19341
|
+
const tagLabelOf = (value) => tagOptions?.find((o) => o.value === value)?.label;
|
|
19323
19342
|
const entryCount = entries.length;
|
|
19324
19343
|
const allExpanded = () => new Set(Array.from({ length: entryCount }, (_, i) => i));
|
|
19325
19344
|
const [expandedIndices, setExpandedIndices] = useState49(
|
|
@@ -19336,7 +19355,8 @@ function ChangelogManager({
|
|
|
19336
19355
|
const newEntry = {
|
|
19337
19356
|
title: "",
|
|
19338
19357
|
description: "",
|
|
19339
|
-
...showVisibilityToggle && { visibility: "public" }
|
|
19358
|
+
...showVisibilityToggle && { visibility: "public" },
|
|
19359
|
+
...tagOptions?.length && { tag: tagOptions[0].value }
|
|
19340
19360
|
};
|
|
19341
19361
|
onChange([...entries, newEntry]);
|
|
19342
19362
|
setExpandedIndices((prev) => /* @__PURE__ */ new Set([...prev, entries.length]));
|
|
@@ -19407,6 +19427,15 @@ function ChangelogManager({
|
|
|
19407
19427
|
}
|
|
19408
19428
|
),
|
|
19409
19429
|
/* @__PURE__ */ jsx181("div", { className: "min-w-0 flex-1", children: hasContent ? /* @__PURE__ */ jsx181("p", { className: "truncate text-ods-text-primary text-h6", children: entry.title }) : /* @__PURE__ */ jsx181("p", { className: "italic text-ods-text-secondary text-h6", children: "New entry (click to edit)" }) }),
|
|
19430
|
+
tagOptions && tagLabelOf(entry.tag) && /* @__PURE__ */ jsx181(
|
|
19431
|
+
StatusBadge,
|
|
19432
|
+
{
|
|
19433
|
+
variant: "button",
|
|
19434
|
+
singleLine: true,
|
|
19435
|
+
text: tagLabelOf(entry.tag),
|
|
19436
|
+
className: "shrink-0 whitespace-nowrap"
|
|
19437
|
+
}
|
|
19438
|
+
),
|
|
19410
19439
|
showVisibilityToggle && /* @__PURE__ */ jsx181(
|
|
19411
19440
|
Button,
|
|
19412
19441
|
{
|
|
@@ -19433,11 +19462,14 @@ function ChangelogManager({
|
|
|
19433
19462
|
] }),
|
|
19434
19463
|
isExpanded && /* @__PURE__ */ jsxs143("div", { className: "space-y-3 border-t border-ods-border px-3 pb-3 pt-3", children: [
|
|
19435
19464
|
/* @__PURE__ */ jsxs143("div", { className: "space-y-1", children: [
|
|
19436
|
-
/* @__PURE__ */
|
|
19465
|
+
/* @__PURE__ */ jsxs143(Label, { className: "text-ods-text-secondary", children: [
|
|
19466
|
+
titleLabel,
|
|
19467
|
+
" *"
|
|
19468
|
+
] }),
|
|
19437
19469
|
/* @__PURE__ */ jsx181(
|
|
19438
19470
|
Input,
|
|
19439
19471
|
{
|
|
19440
|
-
placeholder:
|
|
19472
|
+
placeholder: titlePlaceholder,
|
|
19441
19473
|
value: entry.title,
|
|
19442
19474
|
onChange: (e) => updateEntry(index, "title", e.target.value),
|
|
19443
19475
|
onKeyDown: (e) => e.key === "Enter" && e.preventDefault(),
|
|
@@ -19446,17 +19478,24 @@ function ChangelogManager({
|
|
|
19446
19478
|
)
|
|
19447
19479
|
] }),
|
|
19448
19480
|
/* @__PURE__ */ jsxs143("div", { className: "space-y-1", children: [
|
|
19449
|
-
/* @__PURE__ */ jsx181(Label, { className: "text-ods-text-secondary", children:
|
|
19481
|
+
/* @__PURE__ */ jsx181(Label, { className: "text-ods-text-secondary", children: descriptionLabel }),
|
|
19450
19482
|
/* @__PURE__ */ jsx181(
|
|
19451
19483
|
Textarea,
|
|
19452
19484
|
{
|
|
19453
|
-
placeholder:
|
|
19485
|
+
placeholder: descriptionPlaceholder,
|
|
19454
19486
|
value: entry.description || "",
|
|
19455
19487
|
onChange: (e) => updateEntry(index, "description", e.target.value),
|
|
19456
19488
|
rows: 2,
|
|
19457
19489
|
className: "bg-ods-bg"
|
|
19458
19490
|
}
|
|
19459
19491
|
)
|
|
19492
|
+
] }),
|
|
19493
|
+
tagOptions && /* @__PURE__ */ jsxs143("div", { className: "space-y-1", children: [
|
|
19494
|
+
/* @__PURE__ */ jsx181(Label, { className: "text-ods-text-secondary", children: tagLabel }),
|
|
19495
|
+
/* @__PURE__ */ jsxs143(Select, { value: entry.tag ?? "", onValueChange: (value) => updateEntry(index, "tag", value), children: [
|
|
19496
|
+
/* @__PURE__ */ jsx181(SelectTrigger, { className: "bg-ods-bg", children: /* @__PURE__ */ jsx181(SelectValue, { placeholder: tagLabel }) }),
|
|
19497
|
+
/* @__PURE__ */ jsx181(SelectContent, { children: tagOptions.map((option) => /* @__PURE__ */ jsx181(SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
19498
|
+
] })
|
|
19460
19499
|
] })
|
|
19461
19500
|
] })
|
|
19462
19501
|
] }, index);
|
|
@@ -31073,4 +31112,4 @@ export {
|
|
|
31073
31112
|
LazyMount,
|
|
31074
31113
|
IconTile
|
|
31075
31114
|
};
|
|
31076
|
-
//# sourceMappingURL=chunk-
|
|
31115
|
+
//# sourceMappingURL=chunk-QGWBMPQY.js.map
|