@mt-gloss/ui 0.1.118 → 0.1.119

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/index.d.ts CHANGED
@@ -372,5 +372,5 @@ export { UIContext, UIContextProvider, useUIContext, ContainerCard, ContainerCar
372
372
  export type { UIContextValue, UIRegion, UIDensity, UIContextProviderProps, ContainerCardProps, ContainerCardVariant, ContainerDialogProps, ContainerDialogHeaderProps, ContainerDialogBodyProps, ContainerDialogActionsProps, ContainerPanelProps, ContainerToolbarProps, ContainerFormSectionProps, ContainerTableProps, } from './lib/containers';
373
373
  export { mergeRefs, mergeHandlers, Actionable, Selectable, Dismissible, Sortable, Expandable, } from './lib/wrappers';
374
374
  export type { ActionableProps, SelectableProps, DismissibleProps, SortableProps, ExpandableProps, } from './lib/wrappers';
375
- export { PanelProvider, usePanelContext, usePanelContextOptional, PanelHost, PanelChrome, usePanelCoordinator, reducer as panelsReducer, initialState as panelsInitialState, deriveSurfaceState as panelsDeriveSurfaceState, COMMITS as PANEL_COMMITS, } from './lib/composites/panels';
375
+ export { PanelProvider, usePanelContext, usePanelContextOptional, PanelHost, PanelChrome, usePanelCoordinator, reducer as panelsReducer, initialState as panelsInitialState, deriveSurfaceState as panelsDeriveSurfaceState, COMMITS as PANEL_COMMITS, NotificationCenterShell, } from './lib/composites/panels';
376
376
  export type { PanelProviderProps, PanelHostProps, PanelChromeProps, PanelShellProps, UsePanelCoordinatorReturn, PanelId, PanelState, PanelAction, CloseReason, SurfaceState, TriggerContext, SideEffect, CloseLogEntry, LockHint, } from './lib/composites/panels';
package/index.js CHANGED
@@ -4,13 +4,13 @@ import { jsxs as f, jsx as a, Fragment as I } from "react/jsx-runtime";
4
4
  import * as $ from "react";
5
5
  import L, { useRef as M, useEffect as E, useState as A, useCallback as _, useId as Be, forwardRef as Ge, useMemo as ce, useLayoutEffect as Ne, createContext as He, useContext as We } from "react";
6
6
  import { motion as B, useMotionValue as Ve, AnimatePresence as je, useDragControls as Ke } from "framer-motion";
7
- import { u as Ue } from "./COMMITS-BxJQwv4H.js";
8
- import { C as kl, d as Sl, c as Dl, P as xl, g as Rl, S as Tl, f as Ml, i as Pl, r as Al, b as El, e as Fl, a as Ll } from "./COMMITS-BxJQwv4H.js";
7
+ import { u as Ue } from "./COMMITS-BkM1Urzh.js";
8
+ import { N as kl, C as Sl, d as Dl, c as xl, P as Rl, g as Tl, S as Ml, f as Pl, i as Al, r as El, b as Fl, e as Ll, a as Il } from "./COMMITS-BkM1Urzh.js";
9
9
  import { createPortal as ke } from "react-dom";
10
10
  import { B as Ye, U as de } from "./UIContext-Dm0GYHFT.js";
11
- import { a as Ol, u as $l } from "./UIContext-Dm0GYHFT.js";
12
- import { B as Bl, D as Gl, M as Hl, O as Wl, a as Vl, S as jl, T as Kl, e as Ul } from "./MetricCard-Cyoxhb_S.js";
13
- import { DEFAULT_MARKET_PRESETS as ql, DEFAULT_PINNED as Ql, PERIOD_OPTIONS as Jl, ROLLING_OPTIONS as Xl, TODAY_PRESET as Zl, findPreset as eo, formatDateRange as to, formatMarketDates as ao, formatTrend as ro, formatValue as no, generateMarketId as so, getAllPresets as io, getDateRangeForPreset as lo, getPresetLabel as oo, isInRange as co, isMarketActive as uo, isSameDay as mo, normalizePresetId as po, toUppercasePresetId as go } from "@mt-gloss/utils";
11
+ import { a as $l, u as zl } from "./UIContext-Dm0GYHFT.js";
12
+ import { B as Gl, D as Hl, M as Wl, O as Vl, a as jl, S as Kl, T as Ul, e as Yl } from "./MetricCard-Cyoxhb_S.js";
13
+ import { DEFAULT_MARKET_PRESETS as Ql, DEFAULT_PINNED as Jl, PERIOD_OPTIONS as Xl, ROLLING_OPTIONS as Zl, TODAY_PRESET as eo, findPreset as to, formatDateRange as ao, formatMarketDates as ro, formatTrend as no, formatValue as so, generateMarketId as io, getAllPresets as lo, getDateRangeForPreset as oo, getPresetLabel as co, isInRange as uo, isMarketActive as mo, isSameDay as po, normalizePresetId as go, toUppercasePresetId as ho } from "@mt-gloss/utils";
14
14
  import qe from "@mui/icons-material/AccessTime";
15
15
  import Qe from "@mui/icons-material/Tune";
16
16
  import Je from "@mui/icons-material/ViewColumn";
@@ -4525,7 +4525,7 @@ export {
4525
4525
  Cn as Autocomplete,
4526
4526
  Nn as Badge,
4527
4527
  kn as BarChartCard,
4528
- Bl as BarsBg,
4528
+ Gl as BarsBg,
4529
4529
  dn as BellCutout,
4530
4530
  cn as BellPopover,
4531
4531
  _a as BodyPortal,
@@ -4571,9 +4571,9 @@ export {
4571
4571
  rs as CreditCardForm,
4572
4572
  ns as DEFAULT_FOOTER_IDS,
4573
4573
  j as DEFAULT_GRID_INTERACTION_PHYSICS,
4574
- ql as DEFAULT_MARKET_PRESETS,
4574
+ Ql as DEFAULT_MARKET_PRESETS,
4575
4575
  ss as DEFAULT_OVERFLOW_IDS,
4576
- Ql as DEFAULT_PINNED,
4576
+ Jl as DEFAULT_PINNED,
4577
4577
  dt as DEFAULT_RESIZE_PHYSICS,
4578
4578
  Se as DEFAULT_RESIZE_PILL_PHYSICS,
4579
4579
  is as DataTable,
@@ -4584,7 +4584,7 @@ export {
4584
4584
  ds as DirectionCard,
4585
4585
  us as Dismissible,
4586
4586
  ms as DistributionCard,
4587
- Gl as DonutChart,
4587
+ Hl as DonutChart,
4588
4588
  Vr as DragGhost,
4589
4589
  Lr as DropAnchorCell,
4590
4590
  ps as Dropdown,
@@ -4636,24 +4636,25 @@ export {
4636
4636
  Ks as MenuGroup,
4637
4637
  Us as MenuItem,
4638
4638
  Ys as MergePrompt,
4639
- Hl as MetricCard,
4639
+ Wl as MetricCard,
4640
4640
  qs as MetricCardGrid,
4641
4641
  Ft as MetricGroupContainer,
4642
4642
  Qs as MiniCalendar,
4643
4643
  Zt as MoreInLensRail,
4644
4644
  Js as MultiSelect,
4645
+ kl as NotificationCenterShell,
4645
4646
  Xs as NumberInput,
4646
- Wl as ObjectArrow,
4647
+ Vl as ObjectArrow,
4647
4648
  Zs as OrderFilterBar,
4648
- kl as PANEL_COMMITS,
4649
- Jl as PERIOD_OPTIONS,
4649
+ Sl as PANEL_COMMITS,
4650
+ Xl as PERIOD_OPTIONS,
4650
4651
  Ur as PaceCard,
4651
4652
  Yr as PaceTilePreview,
4652
4653
  Ct as PageChip,
4653
4654
  Te as PageDropdown,
4654
- Sl as PanelChrome,
4655
- Dl as PanelHost,
4656
- xl as PanelProvider,
4655
+ Dl as PanelChrome,
4656
+ xl as PanelHost,
4657
+ Rl as PanelProvider,
4657
4658
  ei as PasswordInput,
4658
4659
  ti as PaymentForm,
4659
4660
  ai as PaymentMethodSelect,
@@ -4664,7 +4665,7 @@ export {
4664
4665
  ii as ProgressCard,
4665
4666
  li as QuickConfigPanel,
4666
4667
  Tt as RECONFIG_BACKSIDE_LABELS,
4667
- Xl as ROLLING_OPTIONS,
4668
+ Zl as ROLLING_OPTIONS,
4668
4669
  oi as Radio,
4669
4670
  ci as RadioGroup,
4670
4671
  di as RangeSlider,
@@ -4692,7 +4693,7 @@ export {
4692
4693
  bi as SegmentedControl,
4693
4694
  vi as Select,
4694
4695
  yi as Selectable,
4695
- Rl as SettingsTabStrip,
4696
+ Tl as SettingsTabStrip,
4696
4697
  J as SeverityDot,
4697
4698
  wi as SimpleMetricCard,
4698
4699
  _i as SimpleSelector,
@@ -4703,18 +4704,18 @@ export {
4703
4704
  Di as Slider,
4704
4705
  jr as SnapOutline,
4705
4706
  xi as Sortable,
4706
- Tl as SortableZones,
4707
- Vl as SparklineBg,
4707
+ Ml as SortableZones,
4708
+ jl as SparklineBg,
4708
4709
  Ir as SpilloverArc,
4709
4710
  Ri as SplitButton,
4710
4711
  Ti as StackedGroupCard,
4711
4712
  la as StackedGroupTilePreview,
4712
4713
  Xt as StarterRail,
4713
- jl as StatusModeCard,
4714
+ Kl as StatusModeCard,
4714
4715
  ot as StatusSlotChipMenu,
4715
4716
  Mi as Stepper,
4716
4717
  ve as SwingReveal,
4717
- Zl as TODAY_PRESET,
4718
+ eo as TODAY_PRESET,
4718
4719
  W as TUNING_DEFAULTS,
4719
4720
  Ee as TUNING_STORAGE_KEY,
4720
4721
  Pi as TabGroup,
@@ -4731,8 +4732,8 @@ export {
4731
4732
  zi as Transition,
4732
4733
  Bi as TransitionGroup,
4733
4734
  Gi as TrendCard,
4734
- Kl as TrendIndicator,
4735
- Ol as UIContext,
4735
+ Ul as TrendIndicator,
4736
+ $l as UIContext,
4736
4737
  de as UIContextProvider,
4737
4738
  Hi as UnifiedBreakdownTable,
4738
4739
  Wi as UnifiedContextMenu,
@@ -4767,28 +4768,28 @@ export {
4767
4768
  Dt as entityNameActions,
4768
4769
  Ua as entityTabGroup,
4769
4770
  bt as errorFixture,
4770
- Ul as evaluateTintCondition,
4771
+ Yl as evaluateTintCondition,
4771
4772
  hr as filteredState,
4772
- eo as findPreset,
4773
- to as formatDateRange,
4774
- ao as formatMarketDates,
4775
- ro as formatTrend,
4776
- no as formatValue,
4773
+ to as findPreset,
4774
+ ao as formatDateRange,
4775
+ ro as formatMarketDates,
4776
+ no as formatTrend,
4777
+ so as formatValue,
4777
4778
  Tr as fullLayout,
4778
- so as generateMarketId,
4779
+ io as generateMarketId,
4779
4780
  el as generateTabId,
4780
- io as getAllPresets,
4781
- lo as getDateRangeForPreset,
4781
+ lo as getAllPresets,
4782
+ oo as getDateRangeForPreset,
4782
4783
  tl as getMenuActions,
4783
4784
  Fe as getMotionMode,
4784
- oo as getPresetLabel,
4785
+ co as getPresetLabel,
4785
4786
  al as getTransitionStyle,
4786
4787
  Dr as gridCards,
4787
4788
  qr as gridChannels,
4788
4789
  rl as interpolate,
4789
- co as isInRange,
4790
- uo as isMarketActive,
4791
- mo as isSameDay,
4790
+ uo as isInRange,
4791
+ mo as isMarketActive,
4792
+ po as isSameDay,
4792
4793
  gr as itemColumns,
4793
4794
  mr as itemRows,
4794
4795
  ft as loadingFixture,
@@ -4800,7 +4801,7 @@ export {
4800
4801
  ll as mergeRefs,
4801
4802
  Ka as metricTabGroup,
4802
4803
  Pr as mixedTabs,
4803
- po as normalizePresetId,
4804
+ go as normalizePresetId,
4804
4805
  Rt as numericActions,
4805
4806
  pr as orderColumns,
4806
4807
  xt as orderIdActions,
@@ -4808,9 +4809,9 @@ export {
4808
4809
  Mr as ordersTabs,
4809
4810
  Ce as paletteHex,
4810
4811
  V as paletteVars,
4811
- Ml as panelsDeriveSurfaceState,
4812
- Pl as panelsInitialState,
4813
- Al as panelsReducer,
4812
+ Pl as panelsDeriveSurfaceState,
4813
+ Al as panelsInitialState,
4814
+ El as panelsReducer,
4814
4815
  ol as parseNumericValue,
4815
4816
  cl as paymentFormMetadata,
4816
4817
  dl as paymentSchema,
@@ -4843,7 +4844,7 @@ export {
4843
4844
  Za as tableSamples,
4844
4845
  Qa as textSamples,
4845
4846
  Ya as timeFrameTabGroup,
4846
- go as toUppercasePresetId,
4847
+ ho as toUppercasePresetId,
4847
4848
  $e as useAffordanceVisibility,
4848
4849
  Va as useArrowNavigation,
4849
4850
  gl as useCheckboxGroupContext,
@@ -4855,14 +4856,14 @@ export {
4855
4856
  yl as useFocusTrap,
4856
4857
  wl as useFormContext,
4857
4858
  _l as useGestureState,
4858
- El as usePanelContext,
4859
+ Fl as usePanelContext,
4859
4860
  Ue as usePanelContextOptional,
4860
- Fl as usePanelCoordinator,
4861
+ Ll as usePanelCoordinator,
4861
4862
  ya as usePortalAnchor,
4862
4863
  Cl as useRadioGroupContext,
4863
4864
  sn as useResizeChoreography,
4864
4865
  ar as useResizePill,
4865
4866
  Ot as useResizeTuning,
4866
- Ll as useSortableZones,
4867
- $l as useUIContext
4867
+ Il as useSortableZones,
4868
+ zl as useUIContext
4868
4869
  };
@@ -1,4 +1,12 @@
1
1
  import { ReactNode, RefObject } from 'react';
2
+ /**
3
+ * @deprecated Phase 11.6 — replaced by NotificationCenterShell using PanelChromeV2 chassis.
4
+ * Slated for deletion in BACKLOG cleanup phase (symmetric with old PanelChrome per D-17).
5
+ *
6
+ * Migration path: bell click now dispatches transitionToPanel('notification-center', ...)
7
+ * which mounts NotificationCenterShell inside the panel-system. Hover preview is dead;
8
+ * the panel itself is the view (D-16 click-only).
9
+ */
2
10
  export interface BellPopoverProps {
3
11
  anchorRef: RefObject<HTMLElement | null>;
4
12
  isOpen: boolean;
@@ -9,4 +17,8 @@ export interface BellPopoverProps {
9
17
  onPopoverLeave?: () => void;
10
18
  children?: ReactNode;
11
19
  }
20
+ /**
21
+ * @deprecated Phase 11.6 — replaced by NotificationCenterShell using PanelChromeV2 chassis.
22
+ * Slated for deletion in BACKLOG cleanup phase (symmetric with old PanelChrome per D-17).
23
+ */
12
24
  export declare function BellPopover(props: BellPopoverProps): import("react/jsx-runtime").JSX.Element | null;
@@ -9,9 +9,9 @@ export interface PanelSlotProps {
9
9
  panelComponents?: Partial<Record<PanelId, ComponentType<PanelShellProps>>>;
10
10
  /**
11
11
  * Phase 16 P4 — test-friendly children fallback. When `panelComponents` is omitted,
12
- * PanelSlot renders `children` inside the standard PanelChrome wrap so unit tests
13
- * can render a specific shell (e.g. SettingsShell) directly without registering a
14
- * full per-panelId map. Production callers continue to pass `panelComponents`.
12
+ * PanelSlot renders `children` inside <PanelMount> so unit tests can render a
13
+ * specific shell (e.g. SettingsShell) directly without registering a full
14
+ * per-panelId map. Production callers continue to pass `panelComponents`.
15
15
  */
16
16
  children?: ReactNode;
17
17
  }
@@ -10,6 +10,7 @@
10
10
  export { PanelProvider, usePanelContext, usePanelContextOptional } from './PanelProvider';
11
11
  export { useEditingCardId } from './hooks/useEditingCardId';
12
12
  export { SettingsShell } from './shells/SettingsShell';
13
+ export { NotificationCenterShell } from './shells/NotificationCenterShell';
13
14
  export { CatalogAddShell } from './shells/CatalogAddShell';
14
15
  export type { CatalogAddShellProps } from './shells/CatalogAddShell';
15
16
  export { CatalogReplaceShell } from './shells/CatalogReplaceShell';
@@ -11,13 +11,13 @@ export interface CatalogAddShellProps extends PanelShellProps {
11
11
  /** Per-lens H2 + helper + beta-chip metadata. */
12
12
  lensMeta?: Readonly<Record<string, CatalogLensMeta>>;
13
13
  /**
14
- * Optional footer slot rendered as a SIBLING of the body, INSIDE the shell's
15
- * CatalogStateContext.Provider. PanelSlot passes <CatalogFooter/> here so it
16
- * can read live selectedTileId/description from this shell instance.
17
- * Standalone tests (no PanelSlot) leave undefined no footer.
14
+ * Phase 11.6 P3 DEPRECATED. Footer is now chassis-slotted directly by the
15
+ * shell; PanelSlot no longer passes a footerSlot. Prop retained on the public
16
+ * type for back-compat with consumers that may still pass it; value ignored.
17
+ * @deprecated Phase 11.6 P3 chassis-slotted footer renders Cancel + Add internally.
18
18
  */
19
19
  footerSlot?: ReactNode;
20
20
  /** PHASE 17.1 D-08 — forwarded to inner CatalogTileGrid (both primary + secondary instances). */
21
21
  renderTile?: (tile: CatalogTile) => ReactNode;
22
22
  }
23
- export declare function CatalogAddShell({ isOpen, lenses, defaultLens, tilesByLens, lensMeta, footerSlot, renderTile, }: CatalogAddShellProps): import("react/jsx-runtime").JSX.Element;
23
+ export declare function CatalogAddShell({ isOpen, lenses, defaultLens, tilesByLens, lensMeta, renderTile, }: CatalogAddShellProps): import("react/jsx-runtime").JSX.Element;
@@ -7,9 +7,12 @@ export interface CatalogReplaceShellProps extends PanelShellProps {
7
7
  lenses?: readonly string[];
8
8
  defaultLens?: string;
9
9
  tilesByLens?: Readonly<Record<string, CatalogLensTiles>>;
10
- /** See CatalogAddShellProps.footerSlot — sibling slot inside Provider. */
10
+ /**
11
+ * Phase 11.6 P3 — DEPRECATED. Footer is chassis-slotted by the shell now.
12
+ * @deprecated Phase 11.6 P3 — chassis-slotted footer renders Cancel + Replace internally.
13
+ */
11
14
  footerSlot?: ReactNode;
12
15
  /** PHASE 17.1 D-08 — forwarded to inner CatalogTileGrid. */
13
16
  renderTile?: (tile: CatalogTile) => ReactNode;
14
17
  }
15
- export declare function CatalogReplaceShell({ isOpen, replacingLabel, lenses, defaultLens, tilesByLens, footerSlot, renderTile, }: CatalogReplaceShellProps): import("react/jsx-runtime").JSX.Element;
18
+ export declare function CatalogReplaceShell({ isOpen, replacingLabel, lenses, defaultLens, tilesByLens, renderTile, }: CatalogReplaceShellProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { PanelShellProps } from '../PanelHost';
2
+ export declare function NotificationCenterShell({ isOpen }: PanelShellProps): import("react/jsx-runtime").JSX.Element;
@@ -4,7 +4,12 @@ import { PageEntry } from './internals/page-mgmt-mocks';
4
4
  export interface PageMgmtShellProps extends PanelShellProps {
5
5
  /** Initial page list; defaults to MOCK_PAGES (§6.4.3 verbatim). */
6
6
  pages?: readonly PageEntry[];
7
- /** See CatalogAddShellProps.footerSlot — sibling slot inside Provider. */
7
+ /**
8
+ * Phase 11.6 P3 — DEPRECATED. Footer is chassis-slotted by the shell now.
9
+ * Tests that previously passed `<PageMgmtFooter />` may drop the prop;
10
+ * shell auto-renders PageMgmtFooter into PanelChromeV2.footer.right.
11
+ * @deprecated Phase 11.6 P3 — chassis owns the footer slot.
12
+ */
8
13
  footerSlot?: ReactNode;
9
14
  /**
10
15
  * When provided, the shell renders this external list verbatim (active flag
@@ -27,4 +32,4 @@ export interface PageMgmtShellProps extends PanelShellProps {
27
32
  /** Optional: switch active page when a row name is clicked. */
28
33
  onSwitchPage?: (id: string) => void;
29
34
  }
30
- export declare function PageMgmtShell({ isOpen, pages: initialPages, footerSlot, externalPages, activePageId, onRename, onDuplicate, onDelete, onReorder, onCreatePage, onSwitchPage, }: PageMgmtShellProps): import("react/jsx-runtime").JSX.Element;
35
+ export declare function PageMgmtShell({ isOpen, pages: initialPages, externalPages, activePageId, onRename, onDuplicate, onDelete, onReorder, onCreatePage, onSwitchPage, }: PageMgmtShellProps): import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mt-gloss/ui",
3
- "version": "0.1.118",
3
+ "version": "0.1.119",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "restricted"