@flamingo-stack/openframe-frontend-core 0.0.300 → 0.0.302-snapshot.20260622120731
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-XTQFETF6.cjs → chunk-3GYV6RP7.cjs} +9 -9
- package/dist/{chunk-XTQFETF6.cjs.map → chunk-3GYV6RP7.cjs.map} +1 -1
- package/dist/{chunk-735DLFS4.cjs → chunk-4JK3ZFMD.cjs} +26 -26
- package/dist/{chunk-735DLFS4.cjs.map → chunk-4JK3ZFMD.cjs.map} +1 -1
- package/dist/{chunk-FM7OPH5J.cjs → chunk-6D53QFBF.cjs} +12 -12
- package/dist/{chunk-FM7OPH5J.cjs.map → chunk-6D53QFBF.cjs.map} +1 -1
- package/dist/{chunk-KNX4OEU5.js → chunk-FG4XA6NA.js} +2 -2
- package/dist/{chunk-K3F3AXCC.js → chunk-JEHWEKWA.js} +2 -2
- package/dist/{chunk-LXXZDZGG.cjs → chunk-KZGSVTRP.cjs} +11 -9
- package/dist/chunk-KZGSVTRP.cjs.map +1 -0
- package/dist/{chunk-E2XQ5AX7.cjs → chunk-LTDGGKOW.cjs} +29 -29
- package/dist/{chunk-E2XQ5AX7.cjs.map → chunk-LTDGGKOW.cjs.map} +1 -1
- package/dist/{chunk-ZLLGC2RZ.js → chunk-OFLTDHC2.js} +2 -2
- package/dist/{chunk-APWW3GPU.js → chunk-OZSU6S6U.js} +4 -4
- package/dist/{chunk-7EMOBUB2.js → chunk-R2NVJUOB.js} +2 -2
- package/dist/{chunk-CZ2EJKPA.js → chunk-SLRDPGGS.js} +11 -9
- package/dist/{chunk-CZ2EJKPA.js.map → chunk-SLRDPGGS.js.map} +1 -1
- package/dist/{chunk-MFZP6ZJ5.cjs → chunk-SYTHAQRP.cjs} +7 -7
- package/dist/{chunk-MFZP6ZJ5.cjs.map → chunk-SYTHAQRP.cjs.map} +1 -1
- package/dist/{chunk-OZW6GJKN.js → chunk-UMYWG5C3.js} +2 -2
- package/dist/{chunk-K2LINTWC.cjs → chunk-UNWVMS3E.cjs} +37 -37
- package/dist/{chunk-K2LINTWC.cjs.map → chunk-UNWVMS3E.cjs.map} +1 -1
- package/dist/{chunk-QSPEFQSN.js → chunk-VAH46QQO.js} +2 -2
- package/dist/{chunk-JCU4YVFY.cjs → chunk-YKP7UXWT.cjs} +16 -16
- package/dist/{chunk-JCU4YVFY.cjs.map → chunk-YKP7UXWT.cjs.map} +1 -1
- package/dist/{chunk-5VVNE6I5.cjs → chunk-ZCXABON3.cjs} +5 -5
- package/dist/{chunk-5VVNE6I5.cjs.map → chunk-ZCXABON3.cjs.map} +1 -1
- package/dist/{chunk-SYNOZPQC.js → chunk-ZRSS67EY.js} +2 -2
- package/dist/components/case-studies/index.cjs +8 -8
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/docs/index.cjs +5 -5
- package/dist/components/docs/index.js +4 -4
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/embeds/index.js +2 -2
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/features/time-tracker/time-tracker-panel.d.ts.map +1 -1
- package/dist/components/index.cjs +172 -172
- package/dist/components/index.js +8 -8
- package/dist/components/layout/article-detail-layout.d.ts +9 -0
- package/dist/components/layout/article-detail-layout.d.ts.map +1 -1
- package/dist/components/layout/page-with-header.d.ts +1 -1
- package/dist/components/navigation/index.cjs +2 -2
- package/dist/components/navigation/index.js +1 -1
- package/dist/components/onboarding-guides/index.cjs +23 -23
- package/dist/components/onboarding-guides/index.js +3 -3
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +60 -60
- package/dist/components/tickets/index.js +3 -3
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/features/time-tracker/time-tracker-header-button.tsx +1 -1
- package/src/components/features/time-tracker/time-tracker-panel.tsx +9 -4
- package/src/components/layout/.article-detail-layout.md +1 -1
- package/src/components/layout/article-detail-layout.tsx +11 -2
- package/src/components/layout/page-with-header.tsx +1 -1
- package/dist/chunk-LXXZDZGG.cjs.map +0 -1
- /package/dist/{chunk-KNX4OEU5.js.map → chunk-FG4XA6NA.js.map} +0 -0
- /package/dist/{chunk-K3F3AXCC.js.map → chunk-JEHWEKWA.js.map} +0 -0
- /package/dist/{chunk-ZLLGC2RZ.js.map → chunk-OFLTDHC2.js.map} +0 -0
- /package/dist/{chunk-APWW3GPU.js.map → chunk-OZSU6S6U.js.map} +0 -0
- /package/dist/{chunk-7EMOBUB2.js.map → chunk-R2NVJUOB.js.map} +0 -0
- /package/dist/{chunk-OZW6GJKN.js.map → chunk-UMYWG5C3.js.map} +0 -0
- /package/dist/{chunk-QSPEFQSN.js.map → chunk-VAH46QQO.js.map} +0 -0
- /package/dist/{chunk-SYNOZPQC.js.map → chunk-ZRSS67EY.js.map} +0 -0
|
@@ -92,7 +92,7 @@ export function TimeTrackerPanel({
|
|
|
92
92
|
size="icon-sm"
|
|
93
93
|
onClick={onClose}
|
|
94
94
|
aria-label="Close time tracker"
|
|
95
|
-
className="absolute right-[var(--spacing-system-sf)] top-[var(--spacing-system-sf)] text-ods-text-secondary hover:text-ods-text-primary [&_svg]:!size-6"
|
|
95
|
+
className="absolute right-[var(--spacing-system-sf)] top-[var(--spacing-system-sf)] hidden text-ods-text-secondary hover:text-ods-text-primary md:inline-flex [&_svg]:!size-6"
|
|
96
96
|
>
|
|
97
97
|
<XmarkIcon />
|
|
98
98
|
</Button>
|
|
@@ -105,7 +105,7 @@ export function TimeTrackerPanel({
|
|
|
105
105
|
<Button
|
|
106
106
|
variant="transparent"
|
|
107
107
|
onClick={onCancel}
|
|
108
|
-
className="h-auto p-0 text-h6 font-medium text-ods-text-secondary underline hover:bg-transparent hover:text-ods-text-primary"
|
|
108
|
+
className="h-auto p-0 text-h6 font-medium text-ods-text-secondary underline hover:bg-transparent hover:text-ods-text-primary md:h-auto"
|
|
109
109
|
>
|
|
110
110
|
Cancel Entry
|
|
111
111
|
</Button>
|
|
@@ -130,7 +130,7 @@ export function TimeTrackerPanel({
|
|
|
130
130
|
onClick={status === 'tracking' ? onPause : status === 'paused' ? onResume : onStart}
|
|
131
131
|
disabled={isStarting}
|
|
132
132
|
aria-label={isRunning ? 'Pause tracking' : isActive ? 'Resume tracking' : 'Start tracking'}
|
|
133
|
-
className="h-auto w-auto rounded-none [&_svg]:!size-6"
|
|
133
|
+
className="h-auto w-auto rounded-none transition-none [&_svg]:!size-6"
|
|
134
134
|
>
|
|
135
135
|
{isRunning ? <PauseIcon /> : <PlayIcon />}
|
|
136
136
|
</Button>
|
|
@@ -157,7 +157,7 @@ export function TimeTrackerPanel({
|
|
|
157
157
|
placeholder="Assign Ticket"
|
|
158
158
|
loading={ticketsLoading}
|
|
159
159
|
invalid={showFieldError}
|
|
160
|
-
error={showFieldError ? '
|
|
160
|
+
error={showFieldError ? 'Required if no notes added' : undefined}
|
|
161
161
|
disableClientFilter={!!onTicketSearch}
|
|
162
162
|
onInputChange={(value, reason) => {
|
|
163
163
|
if (reason === 'input') onTicketSearch?.(value)
|
|
@@ -169,6 +169,7 @@ export function TimeTrackerPanel({
|
|
|
169
169
|
value={notes}
|
|
170
170
|
onChange={(e) => onNotesChange(e.target.value)}
|
|
171
171
|
invalid={showFieldError}
|
|
172
|
+
error={showFieldError ? 'Required if no ticket assigned' : undefined}
|
|
172
173
|
placeholder="Additional Notes (optional if ticket selected)"
|
|
173
174
|
className="max-h-[280px]"
|
|
174
175
|
/>
|
|
@@ -217,6 +218,10 @@ export function TimeTrackerPanel({
|
|
|
217
218
|
</SplitButton>
|
|
218
219
|
</div>
|
|
219
220
|
</div>
|
|
221
|
+
|
|
222
|
+
<Button variant="outline" fullWidth onClick={onClose} className="md:hidden">
|
|
223
|
+
Close
|
|
224
|
+
</Button>
|
|
220
225
|
</div>
|
|
221
226
|
)
|
|
222
227
|
}
|
|
@@ -12,7 +12,7 @@ Unified page layout components providing two layout variants for consistent page
|
|
|
12
12
|
- `children` — page content (no additional layout wrappers needed)
|
|
13
13
|
- `schemas?` — optional JSON-LD `<script>` elements (breadcrumbs, article schema, etc.)
|
|
14
14
|
|
|
15
|
-
Both components render a `<main>` element with `bg-ods-bg`,
|
|
15
|
+
Both components render a `<main>` element with `bg-ods-bg`, responsive horizontal padding (`px-6` / `md:px-20`), and vertical padding (`py-6` / `md:py-10`). Neither forces `min-h-screen` — the root layout's `flex min-h-screen flex-col` → `flex-1` chain already anchors the footer to the bottom of the viewport on short pages.
|
|
16
16
|
|
|
17
17
|
## Usage Example
|
|
18
18
|
|
|
@@ -30,10 +30,19 @@ interface LayoutProps {
|
|
|
30
30
|
/**
|
|
31
31
|
* Full-width page shell for list pages, dashboards, and other wide layouts.
|
|
32
32
|
* Max width: 1920px.
|
|
33
|
+
*
|
|
34
|
+
* No `min-h-screen` here on purpose: the root layout already wraps page
|
|
35
|
+
* content in a `flex min-h-screen flex-col` → `flex-1` chain (app/layout.tsx),
|
|
36
|
+
* so the footer is pushed to the bottom of the viewport on short pages without
|
|
37
|
+
* this shell forcing its own 100vh. Adding `min-h-screen` here stacks a second
|
|
38
|
+
* full viewport INSIDE that growing `flex-1`, which only manifests as dead
|
|
39
|
+
* space when the shell is a hero section above sibling content
|
|
40
|
+
* (roadmap-and-releases). There is no case where the shell itself should fill
|
|
41
|
+
* the viewport.
|
|
33
42
|
*/
|
|
34
43
|
export function PageShell({ children, schemas, contentClassName }: LayoutProps) {
|
|
35
44
|
return (
|
|
36
|
-
<main className="bg-ods-bg
|
|
45
|
+
<main className="bg-ods-bg">
|
|
37
46
|
{schemas}
|
|
38
47
|
<div className={cn('page-shell-content max-w-[1920px] mx-auto', contentClassName)}>
|
|
39
48
|
{children}
|
|
@@ -51,7 +60,7 @@ export function PageShell({ children, schemas, contentClassName }: LayoutProps)
|
|
|
51
60
|
*/
|
|
52
61
|
export function ArticleDetailLayout({ children, schemas, contentClassName }: LayoutProps) {
|
|
53
62
|
return (
|
|
54
|
-
<main className="bg-ods-bg
|
|
63
|
+
<main className="bg-ods-bg">
|
|
55
64
|
{schemas}
|
|
56
65
|
<div className={cn('max-w-[1280px] mx-auto px-6 md:px-20 py-6 md:py-10', contentClassName)}>
|
|
57
66
|
{children}
|
|
@@ -15,7 +15,7 @@ import { PageHeader, type PageHeaderProps } from './page-header'
|
|
|
15
15
|
* Renders the same JSX tree every consumer was hand-rolling individually
|
|
16
16
|
* before this helper landed:
|
|
17
17
|
*
|
|
18
|
-
* PageShell ← bg-ods-bg,
|
|
18
|
+
* PageShell ← bg-ods-bg, max-w-[1920px],
|
|
19
19
|
* page-shell-px/pt/pb gutters
|
|
20
20
|
* PageLayout backButton ← TitleBlock → PageHeader #1 (back-btn row
|
|
21
21
|
* only, pt-l + mb-l)
|