@tap-payments/os-micro-frontend-shared 0.3.230 → 0.3.232
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-TIO3V7XA.js → chunk-33NPK7L4.js} +1 -1
- package/build/_chunks/{chunk-DBFH6OKQ.js → chunk-3ERKQT35.js} +1 -1
- package/build/_chunks/{chunk-64ILCI3S.js → chunk-47BLRAGH.js} +1 -1
- package/build/_chunks/{chunk-P57UJVYY.js → chunk-47TT64VM.js} +1 -1
- package/build/_chunks/{chunk-545BCGVE.js → chunk-4CY5E5KI.js} +1 -1
- package/build/_chunks/{chunk-BIJMWICZ.js → chunk-54A5A27T.js} +1 -1
- package/build/_chunks/{chunk-OYJYQKLK.js → chunk-6FRAT2PK.js} +1 -1
- package/build/_chunks/{chunk-GNNMQUBT.js → chunk-74JSTX22.js} +1 -1
- package/build/_chunks/{chunk-O4UZRDVR.js → chunk-7GLSF5H5.js} +1 -1
- package/build/_chunks/{chunk-VQ4INPUZ.js → chunk-7O3IA5L2.js} +1 -1
- package/build/_chunks/{chunk-TY3LDUTP.js → chunk-7R4AEKZV.js} +1 -1
- package/build/_chunks/chunk-AD4POZAV.js +2 -0
- package/build/_chunks/{chunk-5DLQTR4L.js → chunk-BA2QROIW.js} +1 -1
- package/build/_chunks/{chunk-LIHS4ZYZ.js → chunk-BGHXV64M.js} +1 -1
- package/build/_chunks/{chunk-4AFJCOBN.js → chunk-BKAYX6OY.js} +1 -1
- package/build/_chunks/{chunk-KS7YB4UX.js → chunk-BUWDMZ63.js} +1 -1
- package/build/_chunks/{chunk-UD33MPJX.js → chunk-C7GJOSBE.js} +1 -1
- package/build/_chunks/{chunk-QZAVOGKZ.js → chunk-CDHCKHOL.js} +1 -1
- package/build/_chunks/{chunk-TJMTDLBH.js → chunk-CO7JWTSL.js} +1 -1
- package/build/_chunks/{chunk-MMFW3YZV.js → chunk-CQXBEH4L.js} +1 -1
- package/build/_chunks/{chunk-KV7KQ6MZ.js → chunk-DCSIDBPW.js} +1 -1
- package/build/_chunks/{chunk-33C463YL.js → chunk-DQK2X63H.js} +1 -1
- package/build/_chunks/{chunk-WAY7BWQL.js → chunk-DSCMG7LA.js} +1 -1
- package/build/_chunks/{chunk-KSTOW7O3.js → chunk-EAA474AR.js} +1 -1
- package/build/_chunks/{chunk-TH5E43JD.js → chunk-EB3F4BQJ.js} +1 -1
- package/build/_chunks/{chunk-W3D5YN4V.js → chunk-F6BUM2ZG.js} +1 -1
- package/build/_chunks/{chunk-S3YBXSFG.js → chunk-GD6CZBNB.js} +1 -1
- package/build/_chunks/{chunk-44UNMXKS.js → chunk-HGGYKBU7.js} +1 -1
- package/build/_chunks/{chunk-FAKPBQH3.js → chunk-HPPILGDK.js} +1 -1
- package/build/_chunks/{chunk-PHVELRMX.js → chunk-IOAE2ON2.js} +1 -1
- package/build/_chunks/{chunk-DKMFQFZU.js → chunk-J3D5ZSBA.js} +1 -1
- package/build/_chunks/{chunk-4XXNGLS6.js → chunk-JG25IYWT.js} +1 -1
- package/build/_chunks/{chunk-J4V7VRJY.js → chunk-KNVVEENK.js} +1 -1
- package/build/_chunks/{chunk-4QF66SHZ.js → chunk-KR2HAPNH.js} +1 -1
- package/build/_chunks/{chunk-JORNMG4I.js → chunk-LEMACZSK.js} +1 -1
- package/build/_chunks/{chunk-6VQVT7U4.js → chunk-LIBSGIH6.js} +1 -1
- package/build/_chunks/{chunk-DPOBKAVX.js → chunk-LJUTAKJL.js} +1 -1
- package/build/_chunks/{chunk-DEQ2OTPX.js → chunk-LQYVMFQQ.js} +1 -1
- package/build/_chunks/{chunk-JQTHWXQR.js → chunk-MTGZZYCH.js} +1 -1
- package/build/_chunks/{chunk-4SWNFKMX.js → chunk-MTOIGJQJ.js} +1 -1
- package/build/_chunks/{chunk-JEYLI22W.js → chunk-NEVIXD22.js} +1 -1
- package/build/_chunks/{chunk-LQOS3MF6.js → chunk-NZ4ESRHK.js} +1 -1
- package/build/_chunks/{chunk-FKG3SYY6.js → chunk-O2OKD546.js} +1 -1
- package/build/_chunks/{chunk-GIUONT72.js → chunk-O7L7H4DA.js} +1 -1
- package/build/_chunks/{chunk-7GVPGH6A.js → chunk-P3FFXZOI.js} +1 -1
- package/build/_chunks/{chunk-XBUO2UHM.js → chunk-P3PETOQ7.js} +1 -1
- package/build/_chunks/chunk-PHZUDNLB.js +1 -0
- package/build/_chunks/{chunk-5EP3LEOE.js → chunk-PV67RD6C.js} +1 -1
- package/build/_chunks/{chunk-OBHJVUFA.js → chunk-PV74LL7W.js} +1 -1
- package/build/_chunks/{chunk-VTJJFPK5.js → chunk-PXVI3YMK.js} +1 -1
- package/build/_chunks/{chunk-FTG5LY7I.js → chunk-QFJOMSZS.js} +1 -1
- package/build/_chunks/{chunk-U62XSJM5.js → chunk-QLUZXWK2.js} +1 -1
- package/build/_chunks/{chunk-32CPM4J3.js → chunk-QR2EKYDX.js} +1 -1
- package/build/_chunks/{chunk-YPVFVBG3.js → chunk-QYWW7RX3.js} +1 -1
- package/build/_chunks/{chunk-MQOX7MKN.js → chunk-R4ZH3EXL.js} +1 -1
- package/build/_chunks/{chunk-EI4VQCCM.js → chunk-SU7ER6UI.js} +1 -1
- package/build/_chunks/{chunk-FNWPZLRV.js → chunk-TTEOHSAS.js} +1 -1
- package/build/_chunks/{chunk-LOGPCQ24.js → chunk-U3C5OOL7.js} +1 -1
- package/build/_chunks/{chunk-T5WRDF6Z.js → chunk-U3W7OXFM.js} +1 -1
- package/build/_chunks/{chunk-TKU4GMEV.js → chunk-UG4TXVS2.js} +1 -1
- package/build/_chunks/{chunk-MBTSXCJW.js → chunk-UI4RDOOP.js} +1 -1
- package/build/_chunks/{chunk-MHZSYMQP.js → chunk-UPYAYUEO.js} +1 -1
- package/build/_chunks/{chunk-AIT2A7YM.js → chunk-VMZBZQUB.js} +1 -1
- package/build/_chunks/{chunk-GAL3X7PR.js → chunk-VPXC2WTF.js} +1 -1
- package/build/_chunks/{chunk-F2LUAXXO.js → chunk-VWME2ITD.js} +1 -1
- package/build/_chunks/{chunk-AFDB2YM6.js → chunk-W2AVFZIZ.js} +1 -1
- package/build/_chunks/{chunk-SWXXEAIZ.js → chunk-W5CXR7M5.js} +1 -1
- package/build/_chunks/{chunk-OAEOQ7AZ.js → chunk-WFFD3ZTQ.js} +1 -1
- package/build/_chunks/chunk-YGH3HP53.js +2 -0
- package/build/_chunks/{chunk-RZJSME6H.js → chunk-YKLJWCIN.js} +1 -1
- package/build/_chunks/{chunk-QGQRTANO.js → chunk-YVUQOABN.js} +1 -1
- package/build/_chunks/{chunk-ZGZK4AZ3.js → chunk-YXOFMBCZ.js} +1 -1
- package/build/_chunks/{chunk-CAKSLKXG.js → chunk-ZAL4ULKW.js} +1 -1
- package/build/_chunks/{chunk-R5PUIGMB.js → chunk-ZDZP7FFZ.js} +1 -1
- package/build/_chunks/{chunk-W4PURLBP.js → chunk-ZREEGA6V.js} +1 -1
- package/build/_chunks/{chunk-KD4RSWN6.js → chunk-ZRYFTL5I.js} +1 -1
- package/build/_chunks/{chunk-XSRIBZ5H.js → chunk-ZSPTIP2Y.js} +1 -1
- package/build/components/ActionsDropdownMenu/index.js +1 -1
- package/build/components/ActiveFilterChip/index.js +1 -1
- package/build/components/AnimatedSpinnerIcon/index.js +1 -1
- package/build/components/AppServices/index.js +1 -1
- package/build/components/AppServicesBar/index.js +1 -1
- package/build/components/AppWindowWrapper/index.js +1 -1
- package/build/components/AreaChart/index.js +1 -1
- package/build/components/Autocomplete/index.js +1 -1
- package/build/components/AvatarStack/AnimatedStack.d.ts +9 -0
- package/build/components/AvatarStack/AvatarStack.d.ts +5 -0
- package/build/components/AvatarStack/AvatarStackItem.d.ts +4 -0
- package/build/components/AvatarStack/StaticStack.d.ts +4 -0
- package/build/components/AvatarStack/constants.d.ts +40 -0
- package/build/components/AvatarStack/hooks/useAnimatedStack.d.ts +25 -0
- package/build/components/AvatarStack/index.d.ts +4 -0
- package/build/components/AvatarStack/index.js +1 -0
- package/build/components/AvatarStack/style.d.ts +303 -0
- package/build/components/AvatarStack/type.d.ts +122 -0
- package/build/components/AvatarStack/utils.d.ts +63 -0
- package/build/components/BrandLogo/index.js +1 -1
- package/build/components/Calender/index.js +1 -1
- package/build/components/ColorPicker/index.js +1 -1
- package/build/components/ColumnViews/index.js +1 -1
- package/build/components/ConfirmDialog/index.js +1 -1
- package/build/components/CountryFilter/index.js +1 -1
- package/build/components/CountryFlag/index.js +1 -1
- package/build/components/CurrenciesMenu/index.js +1 -1
- package/build/components/CurrencyAmount/index.js +1 -1
- package/build/components/CurrencyAmountInput/index.js +1 -1
- package/build/components/CurrencySymbol/index.js +1 -1
- package/build/components/CustomBackdrop/index.js +1 -1
- package/build/components/DateFilter/index.js +1 -1
- package/build/components/DeviceIcon/index.js +1 -1
- package/build/components/DropdownMenu/index.js +1 -1
- package/build/components/EmptyState/index.js +1 -1
- package/build/components/Error/index.js +1 -1
- package/build/components/ErrorToast/index.js +1 -1
- package/build/components/ExpandableSideBar/index.js +1 -1
- package/build/components/FileInputPreview/index.js +1 -1
- package/build/components/FilePreview/index.js +1 -1
- package/build/components/FileUpload/index.js +1 -1
- package/build/components/FileUploader/index.js +1 -1
- package/build/components/FilterDropdown/index.js +1 -1
- package/build/components/Filters/index.js +1 -1
- package/build/components/FlippingCard/index.js +1 -1
- package/build/components/FormSelect/index.js +1 -1
- package/build/components/GroupedSelect/index.js +1 -1
- package/build/components/HeatMap/index.js +1 -1
- package/build/components/IconWithBadge/index.js +1 -1
- package/build/components/InputBase/index.js +1 -1
- package/build/components/Inputs/index.js +1 -1
- package/build/components/JSONViewer/index.js +1 -1
- package/build/components/LeftPeekRightExpandingChip/index.js +1 -1
- package/build/components/ListColumnFilter/index.js +1 -1
- package/build/components/ListHeader/index.js +1 -1
- package/build/components/ListLayout/index.js +1 -1
- package/build/components/Loader/index.js +1 -1
- package/build/components/MFWidgetLoader/index.js +1 -1
- package/build/components/MaskedText/index.js +1 -1
- package/build/components/MerchantLogo/index.js +1 -1
- package/build/components/MultiSelect/index.js +1 -1
- package/build/components/NestedDropdown/index.js +1 -1
- package/build/components/NestedMultiSelect/index.js +1 -1
- package/build/components/OpenFileInNewTab/index.js +1 -1
- package/build/components/PaymentSourceFilter/index.js +1 -1
- package/build/components/PhoneFilter/index.js +1 -1
- package/build/components/PhoneInput/index.js +1 -1
- package/build/components/ProgressRing/index.js +1 -1
- package/build/components/RHFGroupedSelect/index.js +1 -1
- package/build/components/RHFInput/index.js +1 -1
- package/build/components/RHFPhoneInput/index.js +1 -1
- package/build/components/RHFSwitch/index.js +1 -1
- package/build/components/RadioGroup/index.js +1 -1
- package/build/components/RangeCalender/index.js +1 -1
- package/build/components/RatingCount/index.js +1 -1
- package/build/components/ReferenceTypeFilter/index.js +1 -1
- package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
- package/build/components/SearchButton/index.js +1 -1
- package/build/components/SearchInput/index.js +1 -1
- package/build/components/SheetViewChip/index.js +1 -1
- package/build/components/StatusBar/index.js +1 -1
- package/build/components/StatusButton/index.js +1 -1
- package/build/components/StatusFilter/index.js +1 -1
- package/build/components/StatusIcons/index.js +1 -1
- package/build/components/StatusLabel/index.js +1 -1
- package/build/components/TableCells/index.js +1 -1
- package/build/components/TableReports/index.js +1 -1
- package/build/components/TextInput/index.js +1 -1
- package/build/components/Timepicker/index.js +1 -1
- package/build/components/ToggleView/index.js +1 -1
- package/build/components/Toolbar/index.js +1 -1
- package/build/components/ToolbarIcon/index.js +1 -1
- package/build/components/TreeDropdown/index.js +1 -1
- package/build/components/VerificationIcon/index.js +1 -1
- package/build/components/ViewColumnRadioFilter/index.js +1 -1
- package/build/components/VirtualTables/index.js +1 -1
- package/build/components/Widget/index.js +1 -1
- package/build/components/WindowSideBar/index.js +1 -1
- package/build/components/index.d.ts +2 -1
- package/build/components/index.js +1 -1
- package/build/components/primitives/index.js +1 -1
- package/build/constants/apps.d.ts +3 -0
- package/build/constants/index.js +1 -1
- package/build/hooks/index.js +1 -1
- package/build/index.js +1 -1
- package/build/utils/index.js +1 -1
- package/package.json +1 -1
- package/build/_chunks/chunk-OF3Z5SNR.js +0 -2
- package/build/_chunks/chunk-V2RLDP5A.js +0 -2
- package/build/_chunks/chunk-WE7NB24K.js +0 -1
- package/build/components/ChipStack/ChipStack.d.ts +0 -67
- package/build/components/ChipStack/components/AnimatedStack.d.ts +0 -24
- package/build/components/ChipStack/components/ChipStackFaceSlot.d.ts +0 -11
- package/build/components/ChipStack/components/OverlapChip.d.ts +0 -9
- package/build/components/ChipStack/components/StaticStack.d.ts +0 -12
- package/build/components/ChipStack/constants.d.ts +0 -14
- package/build/components/ChipStack/hooks/useAnimatedStack.d.ts +0 -28
- package/build/components/ChipStack/index.d.ts +0 -10
- package/build/components/ChipStack/index.js +0 -1
- package/build/components/ChipStack/style.d.ts +0 -31
- package/build/components/ChipStack/types.d.ts +0 -127
- package/build/components/ChipStack/util.d.ts +0 -74
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import type { MutableRefObject, ReactNode } from 'react';
|
|
2
|
-
import type { ChipStackFaceItem, ChipStackFanOutDirection, ChipStackOverflowRenderArgs, ChipStackVariant } from './types';
|
|
3
|
-
type ChipStackAnimatedLayout = {
|
|
4
|
-
size: number;
|
|
5
|
-
stackStep: number;
|
|
6
|
-
gap: number;
|
|
7
|
-
minTrackWidth: number;
|
|
8
|
-
};
|
|
9
|
-
type ChipStackAnimatedLayoutOverrides = Partial<ChipStackAnimatedLayout>;
|
|
10
|
-
export type ChipStackSlotModel = {
|
|
11
|
-
key: string;
|
|
12
|
-
render: () => ReactNode;
|
|
13
|
-
};
|
|
14
|
-
/** Three exclusive render paths resolved from props. */
|
|
15
|
-
export declare enum ChipStackRenderMode {
|
|
16
|
-
StaticChildren = "static-children",
|
|
17
|
-
StaticItems = "static-items",
|
|
18
|
-
AnimatedChildren = "animated-children",
|
|
19
|
-
AnimatedItems = "animated-items"
|
|
20
|
-
}
|
|
21
|
-
/** Returns true when the variant is any of the animated variants. */
|
|
22
|
-
export declare function isAnimatedVariant(variant: ChipStackVariant): boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Extracts the fan-out direction from the variant string.
|
|
25
|
-
* Only meaningful for fanout variants.
|
|
26
|
-
*/
|
|
27
|
-
export declare function getFanOutDirection(variant: ChipStackVariant): ChipStackFanOutDirection;
|
|
28
|
-
/**
|
|
29
|
-
* Resolves which render path `ChipStack` should take.
|
|
30
|
-
* Returns `null` when there is nothing to render.
|
|
31
|
-
*/
|
|
32
|
-
export declare function resolveChipStackMode(variant: ChipStackVariant, hasChildren: boolean, hasItems: boolean): ChipStackRenderMode | null;
|
|
33
|
-
export declare function getChipStackAnimatedLayout({ size: sizeProp, stackStep: stackStepProp, gap: gapProp, minTrackWidth: minTrackWidthProp, }: ChipStackAnimatedLayoutOverrides): ChipStackAnimatedLayout;
|
|
34
|
-
export declare function getFanOutAnchorIndex(slotCount: number, direction: ChipStackFanOutDirection): number;
|
|
35
|
-
/** True when `maxItems` forces overflow handling. */
|
|
36
|
-
export declare function isChipStackAnimatedCapped(sourceCount: number, maxItems: number | undefined): boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Splits `items` into visible and hidden slices based on `maxItems`.
|
|
39
|
-
*
|
|
40
|
-
* Overflow triggers when `items.length >= maxItems` and `maxItems >= 1`.
|
|
41
|
-
* The first `maxItems - 1` items are visible; the rest are hidden.
|
|
42
|
-
* When `maxItems` is undefined or `< 1`, all items are visible and hidden is empty.
|
|
43
|
-
*/
|
|
44
|
-
export declare function splitChipStackOverflow<T>(items: readonly T[], maxItems: number | undefined): {
|
|
45
|
-
visibleItems: readonly T[];
|
|
46
|
-
hiddenItems: readonly T[];
|
|
47
|
-
};
|
|
48
|
-
export declare function getReactChildKey(child: unknown, index: number): string;
|
|
49
|
-
export declare function buildChipStackSlots<T>({ items, maxItems, getItemKey, renderItem, renderOverflow, slotSize, }: {
|
|
50
|
-
items: readonly T[];
|
|
51
|
-
maxItems: number | undefined;
|
|
52
|
-
getItemKey: (item: T, sourceIndex: number) => string;
|
|
53
|
-
renderItem: (item: T, sourceIndex: number, ctx: {
|
|
54
|
-
slotSize: number;
|
|
55
|
-
}) => ReactNode;
|
|
56
|
-
renderOverflow: (args: ChipStackOverflowRenderArgs<T>) => ReactNode;
|
|
57
|
-
slotSize: number;
|
|
58
|
-
}): ChipStackSlotModel[];
|
|
59
|
-
export declare function buildChipStackSlotsFromChildren({ children, maxItems, slotSize, renderOverflow, }: {
|
|
60
|
-
children: ReactNode;
|
|
61
|
-
maxItems: number | undefined;
|
|
62
|
-
slotSize: number;
|
|
63
|
-
renderOverflow: (args: ChipStackOverflowRenderArgs<ReactNode>) => ReactNode;
|
|
64
|
-
}): ChipStackSlotModel[];
|
|
65
|
-
export declare function areSlotWidthArraysEqual(a: number[], b: number[]): boolean;
|
|
66
|
-
export declare function computeFannedOutLeftPositionsPx(slotCount: number, anchorIndex: number, slotWidthsPx: number[], gap: number, stackStep: number, fallbackSlotWidthPx: number): number[];
|
|
67
|
-
export declare function computeCollapsedStackWidthPx(slotCount: number, stackStep: number, faceSize: number): number;
|
|
68
|
-
export declare function computeFanOutTranslateXPx(slotCount: number, isHovering: boolean, fannedLeftPositionsPx: number[], stackStep: number): number[];
|
|
69
|
-
export declare function computeFannedRowWidthPx(slotCount: number, fannedLeftPositionsPx: number[], slotWidthsPx: number[], collapsedWidthPx: number, fallbackSlotWidthPx: number): number;
|
|
70
|
-
export declare function readMeasuredSlotWidthsPx(slotCount: number, slotRefs: MutableRefObject<Array<HTMLDivElement | null>>, fallbackSlotWidthPx: number): number[];
|
|
71
|
-
export declare function getChipStackFaceItemKey(item: ChipStackFaceItem, index: number): string;
|
|
72
|
-
export declare function getChipStackFaceInitials(item: ChipStackFaceItem): string;
|
|
73
|
-
export declare function getChipStackFaceItemTooltipContent(item: ChipStackFaceItem): ReactNode | null;
|
|
74
|
-
export {};
|