@tap-payments/os-micro-frontend-shared 0.3.284 → 0.3.286
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/build/_chunks/chunk-2IOTEGXO.js +2 -0
- package/build/_chunks/{chunk-VTF7IHDJ.js → chunk-54STY6MC.js} +1 -1
- package/build/_chunks/chunk-D7SCPBNH.js +1 -0
- package/build/_chunks/chunk-FS7JHQ4B.js +2 -0
- package/build/_chunks/{chunk-7EIZDPRX.js → chunk-MEM7VSBN.js} +1 -1
- package/build/_chunks/{chunk-CZZIV6U2.js → chunk-QP4V7L7P.js} +1 -1
- package/build/_chunks/{chunk-YHRFQZCJ.js → chunk-SVHOBX55.js} +1 -1
- package/build/_chunks/{chunk-VBB5WMVK.js → chunk-ZA7JORR7.js} +1 -1
- package/build/components/ColumnViews/index.js +1 -1
- package/build/components/DateFilter/index.js +1 -1
- package/build/components/ExpandableChip/ExpandableChip.d.ts +4 -0
- package/build/components/ExpandableChip/constants.d.ts +44 -0
- package/build/components/ExpandableChip/hooks/useExpandableChip.d.ts +23 -0
- package/build/components/ExpandableChip/index.d.ts +3 -0
- package/build/components/ExpandableChip/index.js +1 -0
- package/build/components/{LeftPeekRightExpandingChip → ExpandableChip}/style.d.ts +564 -10
- package/build/components/ExpandableChip/type.d.ts +87 -0
- package/build/components/ExpandableChip/utils.d.ts +16 -0
- package/build/components/FilterDropdown/components/MerchantsFilterItem/type.d.ts +4 -0
- package/build/components/FilterDropdown/components/MerchantsFilterItem/utils.d.ts +15 -2
- package/build/components/FilterDropdown/index.js +1 -1
- package/build/components/ListColumnFilter/index.js +1 -1
- package/build/components/ListHeader/index.js +1 -1
- package/build/components/MultiLevelMenu/MultiLevelMenu.d.ts +10 -0
- package/build/components/MultiLevelMenu/MultiLevelMenuItem.d.ts +6 -0
- package/build/components/MultiLevelMenu/MultiLevelMenuPanel.d.ts +6 -0
- package/build/components/MultiLevelMenu/constants.d.ts +56 -0
- package/build/components/MultiLevelMenu/hooks/useMultiLevelMenuContext.d.ts +24 -0
- package/build/components/MultiLevelMenu/hooks/useMultiLevelMenuSearch.d.ts +11 -0
- package/build/components/MultiLevelMenu/hooks/useMultiLevelMenuSelection.d.ts +25 -0
- package/build/components/MultiLevelMenu/hooks/useSubmenu.d.ts +12 -0
- package/build/components/MultiLevelMenu/icons.d.ts +7 -0
- package/build/components/MultiLevelMenu/index.d.ts +3 -0
- package/build/components/MultiLevelMenu/index.js +1 -0
- package/build/components/MultiLevelMenu/style.d.ts +58 -0
- package/build/components/MultiLevelMenu/type.d.ts +239 -0
- package/build/components/MultiLevelMenu/utils.d.ts +122 -0
- package/build/components/PhoneFilter/index.js +1 -1
- package/build/components/StatusFilter/index.js +1 -1
- package/build/components/StatusIcons/index.js +1 -1
- package/build/components/TableCells/index.js +1 -1
- package/build/components/TableReports/index.js +1 -1
- package/build/components/VirtualTables/index.js +1 -1
- package/build/components/WindowServices/index.js +1 -1
- package/build/components/index.d.ts +4 -4
- package/build/components/index.js +1 -1
- package/build/components/modules/JSONViewWindow/index.js +1 -1
- package/build/components/modules/VirtualTables/index.js +1 -1
- package/build/components/modules/WindowShell/index.js +1 -1
- package/build/components/modules/index.js +1 -1
- package/build/datetime/components/index.js +1 -1
- package/build/index.js +1 -1
- package/package.json +1 -1
- package/build/_chunks/chunk-24FDQ7SG.js +0 -2
- package/build/_chunks/chunk-VRPTMDSJ.js +0 -1
- package/build/_chunks/chunk-W2HSCMPT.js +0 -1
- package/build/_chunks/chunk-Z2ELLNWM.js +0 -1
- package/build/components/LeftPeekRightExpandingChip/LeftPeekRightExpandingChip.d.ts +0 -13
- package/build/components/LeftPeekRightExpandingChip/index.d.ts +0 -2
- package/build/components/LeftPeekRightExpandingChip/index.js +0 -1
- package/build/components/LeftPeekRightExpandingChip/type.d.ts +0 -7
- package/build/components/LeftPeekRightExpandingChip/useLeftPeekRightExpandingChip.d.ts +0 -26
- package/build/components/RightLeftExpandingCenterChip/RightLeftExpandingCenterChip.d.ts +0 -36
- package/build/components/RightLeftExpandingCenterChip/index.d.ts +0 -2
- package/build/components/RightLeftExpandingCenterChip/index.js +0 -1
- package/build/components/RightLeftExpandingCenterChip/style.d.ts +0 -3417
- package/build/components/RightLeftExpandingCenterChip/type.d.ts +0 -11
- package/build/components/RightLeftExpandingCenterChip/useRightLeftExpandingCenterChip.d.ts +0 -41
- package/build/components/TreeDropdown/TreeDropdown.d.ts +0 -4
- package/build/components/TreeDropdown/TreeNodeItem/SelectionControl.d.ts +0 -8
- package/build/components/TreeDropdown/TreeNodeItem/TreeNodeItem.d.ts +0 -13
- package/build/components/TreeDropdown/TreeNodeItem/index.d.ts +0 -2
- package/build/components/TreeDropdown/TreeNodeItem/style.d.ts +0 -18
- package/build/components/TreeDropdown/TreeNodeList/List.d.ts +0 -6
- package/build/components/TreeDropdown/TreeNodeList/TreeNodeList.d.ts +0 -17
- package/build/components/TreeDropdown/TreeNodeList/style.d.ts +0 -6
- package/build/components/TreeDropdown/context/TreeDropdownProvider.d.ts +0 -15
- package/build/components/TreeDropdown/hooks/useSearch.d.ts +0 -18
- package/build/components/TreeDropdown/hooks/useTreeDropdown.d.ts +0 -12
- package/build/components/TreeDropdown/index.d.ts +0 -4
- package/build/components/TreeDropdown/index.js +0 -1
- package/build/components/TreeDropdown/style.d.ts +0 -13
- package/build/components/TreeDropdown/type.d.ts +0 -96
- package/build/components/TreeDropdown/utils.d.ts +0 -36
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { type LeftPeekRightExpandingChipProps } from './type';
|
|
3
|
-
/**
|
|
4
|
-
* LeftPeekRightExpandingChip
|
|
5
|
-
*
|
|
6
|
-
* Renders the last item of `icons` in a main chip and the remaining items as a vertical,
|
|
7
|
-
* left‑aligned peek stack (collapsed to 24px). Hovering the main chip reveals and expands
|
|
8
|
-
* the peek chips to the right and shifts the main chip accordingly. The top‑most peek chip
|
|
9
|
-
* stays anchored while the rest slide out to the right preserving the original order.
|
|
10
|
-
* Uses Framer Motion for smooth enter/leave and x‑translation, with z-index control via `expandedZIndex`.
|
|
11
|
-
* Peek chip content is rendered only on hover to minimize layout work.
|
|
12
|
-
*/
|
|
13
|
-
export default function LeftPeekRightExpandingChip({ icons, expandedZIndex, sx }: LeftPeekRightExpandingChipProps): import("react").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as LeftPeekRightExpandingChip}from'../../_chunks/chunk-VRPTMDSJ.js';import'../../_chunks/chunk-Z2DUFVI5.js';import'../../_chunks/chunk-3M2GZVQW.js';import'../../_chunks/chunk-LS57WE6K.js';
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
2
|
-
export interface UseLeftPeekRightExpandingChipArgs {
|
|
3
|
-
icons: ReactNode[];
|
|
4
|
-
}
|
|
5
|
-
export interface PeekChipComputedItem {
|
|
6
|
-
key: string;
|
|
7
|
-
rIdx: number;
|
|
8
|
-
origIdx: number;
|
|
9
|
-
offX: number;
|
|
10
|
-
hoverX: number;
|
|
11
|
-
zIndex: number;
|
|
12
|
-
refCb: (el: HTMLDivElement | null) => void;
|
|
13
|
-
content: ReactNode;
|
|
14
|
-
}
|
|
15
|
-
export declare function useLeftPeekRightExpandingChip({ icons }: UseLeftPeekRightExpandingChipArgs): {
|
|
16
|
-
isHovering: boolean;
|
|
17
|
-
handleMouseEnter: () => void;
|
|
18
|
-
handleRootMouseLeave: () => void;
|
|
19
|
-
rootRef: import("react").MutableRefObject<HTMLDivElement | null>;
|
|
20
|
-
mainChipRef: import("react").MutableRefObject<HTMLDivElement | null>;
|
|
21
|
-
peekItems: PeekChipComputedItem[];
|
|
22
|
-
mainShiftX: number;
|
|
23
|
-
mainIcon: ReactNode;
|
|
24
|
-
guardLeft: number;
|
|
25
|
-
guardWidth: number;
|
|
26
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { RightLeftExpandingCenterChipProps } from './type';
|
|
3
|
-
/**
|
|
4
|
-
* Component: RightLeftExpandingCenterChip
|
|
5
|
-
*
|
|
6
|
-
* Renders a center chip with optional inline expandable content and animated
|
|
7
|
-
* stacks of chips that expand to the left and right when hovering the center.
|
|
8
|
-
*
|
|
9
|
-
* Behavior
|
|
10
|
-
* - Hover activation: Only when the pointer enters the CenterChip. Hover persists
|
|
11
|
-
* across expanded icons and the gaps between them via transparent HoverBridge overlays.
|
|
12
|
-
* Hover ends when the pointer leaves the main wrapper (with a small debounce handled
|
|
13
|
-
* inside the useRightLeftExpandingCenterChip hook).
|
|
14
|
-
* - Anchoring: Left/Right expanded sections are anchored to the start/end of the center
|
|
15
|
-
* content using measured anchors from the hook.
|
|
16
|
-
* - Motion & layout:
|
|
17
|
-
* - ExpandableContainer width is driven by a MotionValue (expandedMV) based on measured
|
|
18
|
-
* width of the expandable content; AnimatePresence provides smooth mount/unmount.
|
|
19
|
-
* - The whole center group shifts by shiftX to visually compensate the inline expansion.
|
|
20
|
-
* - Left/Right chips slide out using computed offsets derived from measured chip widths.
|
|
21
|
-
* - Overlay order: expandedZIndex controls the base z-index for expanded sections; individual
|
|
22
|
-
* chips stack above this base so later items appear beneath earlier items.
|
|
23
|
-
*
|
|
24
|
-
* Props
|
|
25
|
-
* @param leftIcons - Icons/chips to show expanding to the left while hovering.
|
|
26
|
-
* @param rightIcons - Icons/chips to show expanding to the right while hovering.
|
|
27
|
-
* @param centerIcon - Static content inside the center chip.
|
|
28
|
-
* @param expandableCenterRight - Optional inline content that expands to the right within the center chip.
|
|
29
|
-
* @param expandableCenterLeft - Optional inline content that expands to the left within the center chip.
|
|
30
|
-
* @param expandedZIndex - Base z-index for expanded sections and icons (default 1000).
|
|
31
|
-
* @param props - Additional Box props forwarded to the root container.
|
|
32
|
-
*
|
|
33
|
-
* @returns Root Box containing the motion-driven chip UI.
|
|
34
|
-
*/
|
|
35
|
-
declare function RightLeftExpandingCenterChip({ leftIcons, rightIcons, centerIcon, expandableCenterRight, expandableCenterLeft, expandedZIndex, ...props }: Readonly<RightLeftExpandingCenterChipProps>): import("react").JSX.Element;
|
|
36
|
-
export default RightLeftExpandingCenterChip;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as RightLeftExpandingCenterChip}from'../../_chunks/chunk-W2HSCMPT.js';import'../../_chunks/chunk-Z2DUFVI5.js';import'../../_chunks/chunk-3M2GZVQW.js';import'../../_chunks/chunk-LS57WE6K.js';
|