@flamingo-stack/openframe-frontend-core 0.0.714 → 0.0.716
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/README.md +1 -1
- package/dist/{chunk-W4CS6UJS.cjs → chunk-2V7D5GJX.cjs} +3 -3
- package/dist/{chunk-AQI74KC7.js → chunk-3AJIQPFG.js} +3 -3
- package/dist/{chunk-EORJFB2Z.cjs → chunk-5IJXM3RU.cjs} +2 -2
- package/dist/{chunk-DI5VLY3G.js → chunk-64F6OEEV.js} +1 -1
- package/dist/{chunk-JHSPIDV5.js → chunk-BVZ7W4HW.js} +1 -1
- package/dist/{chunk-2LZ3IYGT.js → chunk-C5AGSZBT.js} +2268 -2209
- package/dist/{chunk-S66W6HNZ.cjs → chunk-DHMO5GI4.cjs} +10 -10
- package/dist/{chunk-WEEZSGFD.cjs → chunk-DLEO53NX.cjs} +23 -23
- package/dist/{chunk-4GFAKUHF.js → chunk-DPX6244M.js} +1 -1
- package/dist/{chunk-GXHWSAV6.cjs → chunk-I5F2OTFE.cjs} +15 -15
- package/dist/{chunk-VBDGMXZO.js → chunk-JCA5MBVY.js} +1 -1
- package/dist/{chunk-XFFIUXVI.cjs → chunk-KNOZVVCU.cjs} +2 -2
- package/dist/{chunk-OQVGA3YE.js → chunk-KYFNFRSV.js} +1 -1
- package/dist/{chunk-BIFUUH4K.js → chunk-MXPQMQI3.js} +3 -3
- package/dist/{chunk-U4WCFIYB.cjs → chunk-NKILEG3Y.cjs} +22 -22
- package/dist/{chunk-QW7KTWLB.js → chunk-P7IL4CX3.js} +2 -2
- package/dist/{chunk-ZSJ6WWFH.cjs → chunk-S2VWQX6T.cjs} +190 -131
- package/dist/{chunk-LTLHCAZY.cjs → chunk-STCJYO2Z.cjs} +4 -4
- package/dist/{chunk-KSEOIICU.js → chunk-V36WGIYR.js} +2 -2
- package/dist/{chunk-E25A235W.cjs → chunk-X2MNNV5H.cjs} +3 -3
- package/dist/{chunk-5MMCYJAJ.cjs → chunk-YO5JB3WE.cjs} +11 -11
- package/dist/{chunk-VKIRTB7K.js → chunk-YTMV4OBY.js} +1 -1
- package/dist/{cloud-tenants-MI7APZJD.cjs → cloud-tenants-2J7CPTKT.cjs} +2 -2
- package/dist/{cloud-tenants-NSEVWC26.js → cloud-tenants-YOY2WLGC.js} +1 -1
- package/dist/components/case-studies/index.cjs +10 -10
- package/dist/components/case-studies/index.js +2 -2
- 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/approval-level.d.ts +30 -22
- package/dist/components/features/approval-level.d.ts.map +1 -1
- package/dist/components/features/index.cjs +2 -4
- package/dist/components/features/index.js +3 -5
- package/dist/components/help-center-pages/index.cjs +39 -39
- package/dist/components/help-center-pages/index.js +10 -10
- package/dist/components/index.cjs +18 -18
- package/dist/components/index.js +12 -12
- package/dist/components/meeting-scheduler/index.cjs +11 -11
- package/dist/components/meeting-scheduler/index.js +1 -1
- package/dist/components/navigation/index.cjs +3 -3
- package/dist/components/navigation/index.js +2 -2
- package/dist/components/onboarding-guides/index.cjs +4 -4
- package/dist/components/onboarding-guides/index.js +3 -3
- package/dist/components/product-demo/index.cjs +6 -6
- package/dist/components/product-demo/index.js +6 -6
- package/dist/components/tickets/index.cjs +5 -5
- package/dist/components/tickets/index.js +4 -4
- package/dist/components/ui/analyzing-state.d.ts +17 -0
- package/dist/components/ui/analyzing-state.d.ts.map +1 -0
- package/dist/components/ui/feature-list.d.ts +4 -4
- package/dist/components/ui/feature-list.d.ts.map +1 -1
- package/dist/components/ui/incident-feed.d.ts +4 -1
- package/dist/components/ui/incident-feed.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +4 -2
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +3 -1
- package/dist/components/ui/playback-toggle.d.ts +10 -4
- package/dist/components/ui/playback-toggle.d.ts.map +1 -1
- package/dist/components/ui/tab-navigation.d.ts +7 -1
- package/dist/components/ui/tab-navigation.d.ts.map +1 -1
- package/dist/{devices-6NMK4EXV.cjs → devices-5NADSKDZ.cjs} +3 -3
- package/dist/{devices-W3VKQEVZ.js → devices-EQXXILXW.js} +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.js +6 -6
- package/dist/{knowledge-GDMGHFEC.cjs → knowledge-LHQYZJE7.cjs} +2 -2
- package/dist/{knowledge-YWCB7HNC.js → knowledge-YCQITBJB.js} +1 -1
- package/dist/{logs-7QDRV3GN.cjs → logs-DUVKSQU3.cjs} +10 -10
- package/dist/{logs-E742S5A2.js → logs-LZNXGOSW.js} +1 -1
- package/dist/{policies-BEVF6AEM.cjs → policies-5H74FS4S.cjs} +6 -6
- package/dist/{policies-XTPAKRHI.js → policies-VYWOJ7IF.js} +1 -1
- package/dist/{software-update-FXWIEKSW.js → software-update-MSDY3OLX.js} +1 -1
- package/dist/{software-update-KPHX4XQ7.cjs → software-update-VRRX5U4W.cjs} +6 -6
- package/package.json +1 -1
- package/src/components/features/approval-level.tsx +62 -44
- package/src/components/ui/analyzing-state.tsx +57 -0
- package/src/components/ui/feature-list.tsx +26 -16
- package/src/components/ui/incident-feed.tsx +6 -2
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/playback-toggle.tsx +12 -6
- package/src/components/ui/tab-navigation.tsx +12 -1
|
@@ -84,6 +84,12 @@ interface TabNavigationProps {
|
|
|
84
84
|
/** Tabs grow to share the bar's full width equally (Figma segmented-underline
|
|
85
85
|
* look, e.g. the 480px homepage strip switcher). Default: natural width. */
|
|
86
86
|
stretchTabs?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Where a tab's content sits inside the tab. `center` (default) suits tabs of
|
|
89
|
+
* natural width; `start` reads better when `stretchTabs` makes each tab wide
|
|
90
|
+
* (a timed demo's tabs: avatar, name and caption from the left edge).
|
|
91
|
+
*/
|
|
92
|
+
tabAlign?: 'center' | 'start';
|
|
87
93
|
/** How long the underline takes to reach a new `TabItem.progress` value. Default 200. */
|
|
88
94
|
progressTransitionMs?: number;
|
|
89
95
|
|
|
@@ -130,6 +136,7 @@ interface TabBarProps {
|
|
|
130
136
|
showLeftGradient: boolean;
|
|
131
137
|
showRightGradient: boolean;
|
|
132
138
|
stretchTabs: boolean;
|
|
139
|
+
tabAlign: 'center' | 'start';
|
|
133
140
|
progressTransitionMs: number;
|
|
134
141
|
}
|
|
135
142
|
|
|
@@ -154,6 +161,7 @@ const TabBar = memo(function TabBarImpl({
|
|
|
154
161
|
showLeftGradient,
|
|
155
162
|
showRightGradient,
|
|
156
163
|
stretchTabs,
|
|
164
|
+
tabAlign,
|
|
157
165
|
progressTransitionMs,
|
|
158
166
|
}: TabBarProps) {
|
|
159
167
|
const scrollRef = useRef<HTMLDivElement>(null);
|
|
@@ -367,7 +375,8 @@ const TabBar = memo(function TabBarImpl({
|
|
|
367
375
|
onClick={() => onTabChange(tab.id)}
|
|
368
376
|
aria-label={tab.badge ? `${tab.label} (${tab.badge})` : undefined}
|
|
369
377
|
className={cn(
|
|
370
|
-
'relative flex shrink-0 cursor-pointer items-center
|
|
378
|
+
'relative flex shrink-0 cursor-pointer items-center gap-[var(--spacing-system-xxs)] p-[var(--spacing-system-m)]',
|
|
379
|
+
tabAlign === 'start' ? 'justify-start text-left' : 'justify-center',
|
|
371
380
|
// Named rather than `transition-all`: the only thing that moves
|
|
372
381
|
// here is colour. `all` also made the browser re-check every
|
|
373
382
|
// property each frame, including the background GRADIENT — which
|
|
@@ -503,6 +512,7 @@ export function TabNavigation({
|
|
|
503
512
|
showRightGradient = false,
|
|
504
513
|
showLeftGradient = false,
|
|
505
514
|
stretchTabs = false,
|
|
515
|
+
tabAlign = 'center',
|
|
506
516
|
progressTransitionMs = 200,
|
|
507
517
|
urlSync = false,
|
|
508
518
|
defaultTab,
|
|
@@ -677,6 +687,7 @@ export function TabNavigation({
|
|
|
677
687
|
showLeftGradient={showLeftGradient}
|
|
678
688
|
showRightGradient={showRightGradient}
|
|
679
689
|
stretchTabs={stretchTabs}
|
|
690
|
+
tabAlign={tabAlign}
|
|
680
691
|
progressTransitionMs={progressTransitionMs}
|
|
681
692
|
/>
|
|
682
693
|
|