@tap-payments/os-micro-frontend-shared 0.3.284 → 0.3.285

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.
Files changed (43) hide show
  1. package/build/_chunks/{chunk-VTF7IHDJ.js → chunk-CKJ63TJ5.js} +1 -1
  2. package/build/_chunks/chunk-D7SCPBNH.js +1 -0
  3. package/build/_chunks/chunk-E6SXZOXX.js +2 -0
  4. package/build/_chunks/{chunk-CZZIV6U2.js → chunk-R7AVLGCS.js} +1 -1
  5. package/build/components/ColumnViews/index.js +1 -1
  6. package/build/components/DateFilter/index.js +1 -1
  7. package/build/components/ExpandableChip/ExpandableChip.d.ts +4 -0
  8. package/build/components/ExpandableChip/constants.d.ts +44 -0
  9. package/build/components/ExpandableChip/hooks/useExpandableChip.d.ts +23 -0
  10. package/build/components/ExpandableChip/index.d.ts +3 -0
  11. package/build/components/ExpandableChip/index.js +1 -0
  12. package/build/components/{LeftPeekRightExpandingChip → ExpandableChip}/style.d.ts +564 -10
  13. package/build/components/ExpandableChip/type.d.ts +87 -0
  14. package/build/components/ExpandableChip/utils.d.ts +16 -0
  15. package/build/components/FilterDropdown/index.js +1 -1
  16. package/build/components/ListColumnFilter/index.js +1 -1
  17. package/build/components/ListHeader/index.js +1 -1
  18. package/build/components/PhoneFilter/index.js +1 -1
  19. package/build/components/StatusFilter/index.js +1 -1
  20. package/build/components/StatusIcons/index.js +1 -1
  21. package/build/components/TableCells/index.js +1 -1
  22. package/build/components/index.d.ts +2 -2
  23. package/build/components/index.js +1 -1
  24. package/build/components/modules/JSONViewWindow/index.js +1 -1
  25. package/build/components/modules/WindowShell/index.js +1 -1
  26. package/build/components/modules/index.js +1 -1
  27. package/build/datetime/components/index.js +1 -1
  28. package/build/index.js +1 -1
  29. package/package.json +1 -1
  30. package/build/_chunks/chunk-24FDQ7SG.js +0 -2
  31. package/build/_chunks/chunk-VRPTMDSJ.js +0 -1
  32. package/build/_chunks/chunk-W2HSCMPT.js +0 -1
  33. package/build/components/LeftPeekRightExpandingChip/LeftPeekRightExpandingChip.d.ts +0 -13
  34. package/build/components/LeftPeekRightExpandingChip/index.d.ts +0 -2
  35. package/build/components/LeftPeekRightExpandingChip/index.js +0 -1
  36. package/build/components/LeftPeekRightExpandingChip/type.d.ts +0 -7
  37. package/build/components/LeftPeekRightExpandingChip/useLeftPeekRightExpandingChip.d.ts +0 -26
  38. package/build/components/RightLeftExpandingCenterChip/RightLeftExpandingCenterChip.d.ts +0 -36
  39. package/build/components/RightLeftExpandingCenterChip/index.d.ts +0 -2
  40. package/build/components/RightLeftExpandingCenterChip/index.js +0 -1
  41. package/build/components/RightLeftExpandingCenterChip/style.d.ts +0 -3417
  42. package/build/components/RightLeftExpandingCenterChip/type.d.ts +0 -11
  43. package/build/components/RightLeftExpandingCenterChip/useRightLeftExpandingCenterChip.d.ts +0 -41
@@ -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,2 +0,0 @@
1
- export { default as RightLeftExpandingCenterChip } from './RightLeftExpandingCenterChip';
2
- export * from './type';
@@ -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';