@tap-payments/os-micro-frontend-shared 0.3.230 → 0.3.231-test.3
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-O4UZRDVR.js → chunk-2CFJDRNN.js} +1 -1
- package/build/_chunks/{chunk-DKMFQFZU.js → chunk-2DO3S6CR.js} +1 -1
- package/build/_chunks/chunk-2GCV2QGO.js +1 -0
- package/build/_chunks/{chunk-JEYLI22W.js → chunk-2LXD3KW3.js} +1 -1
- package/build/_chunks/{chunk-TY3LDUTP.js → chunk-34WBIZS4.js} +1 -1
- package/build/_chunks/{chunk-FAKPBQH3.js → chunk-36EQOLOI.js} +1 -1
- package/build/_chunks/{chunk-545BCGVE.js → chunk-3N5C5EHR.js} +1 -1
- package/build/_chunks/{chunk-VTJJFPK5.js → chunk-4AT66FAZ.js} +1 -1
- package/build/_chunks/{chunk-W3D5YN4V.js → chunk-4FXYCB2G.js} +1 -1
- package/build/_chunks/{chunk-W4PURLBP.js → chunk-54YKDFJR.js} +1 -1
- package/build/_chunks/{chunk-5DLQTR4L.js → chunk-5MXKPAWT.js} +1 -1
- package/build/_chunks/{chunk-MBTSXCJW.js → chunk-5O5AZFVS.js} +1 -1
- package/build/_chunks/chunk-5QJLTM3A.js +2 -0
- package/build/_chunks/{chunk-JORNMG4I.js → chunk-5ZOZEDO7.js} +1 -1
- package/build/_chunks/{chunk-KV7KQ6MZ.js → chunk-65T5SO3C.js} +1 -1
- package/build/_chunks/{chunk-UD33MPJX.js → chunk-6BYD6AAC.js} +1 -1
- package/build/_chunks/{chunk-QZAVOGKZ.js → chunk-6QN3UC7E.js} +1 -1
- package/build/_chunks/{chunk-LIHS4ZYZ.js → chunk-6XIQX2CT.js} +1 -1
- package/build/_chunks/{chunk-CAKSLKXG.js → chunk-7A6ONTBG.js} +1 -1
- package/build/_chunks/{chunk-AIT2A7YM.js → chunk-7EI76QZP.js} +1 -1
- package/build/_chunks/{chunk-5EP3LEOE.js → chunk-A3KQZ3FZ.js} +1 -1
- package/build/_chunks/{chunk-FNWPZLRV.js → chunk-A7XTZT7S.js} +1 -1
- package/build/_chunks/{chunk-J4V7VRJY.js → chunk-AKUEQCIL.js} +1 -1
- package/build/_chunks/{chunk-VQ4INPUZ.js → chunk-BJGXVCQA.js} +1 -1
- package/build/_chunks/{chunk-7GVPGH6A.js → chunk-COYXLMJQ.js} +1 -1
- package/build/_chunks/{chunk-MMFW3YZV.js → chunk-CWZZGLQK.js} +1 -1
- package/build/_chunks/{chunk-GIUONT72.js → chunk-DGCFTXF7.js} +1 -1
- package/build/_chunks/{chunk-TH5E43JD.js → chunk-DKK2FDF6.js} +1 -1
- package/build/_chunks/chunk-DX2QPWW3.js +1 -0
- package/build/_chunks/{chunk-P57UJVYY.js → chunk-DZDKHLMV.js} +1 -1
- package/build/_chunks/{chunk-DPOBKAVX.js → chunk-EYXAB442.js} +1 -1
- package/build/_chunks/{chunk-DEQ2OTPX.js → chunk-FVEBYLO6.js} +1 -1
- package/build/_chunks/{chunk-4SWNFKMX.js → chunk-FVMDYSZO.js} +1 -1
- package/build/_chunks/{chunk-F2LUAXXO.js → chunk-FXM43QJ6.js} +1 -1
- package/build/_chunks/{chunk-KSTOW7O3.js → chunk-GH4CX2DA.js} +1 -1
- package/build/_chunks/{chunk-6VQVT7U4.js → chunk-GKRBJO4D.js} +1 -1
- package/build/_chunks/{chunk-T5WRDF6Z.js → chunk-H3LIK3OI.js} +1 -1
- package/build/_chunks/chunk-H4GGHBYG.js +1 -0
- package/build/_chunks/{chunk-32CPM4J3.js → chunk-H4SPBDKI.js} +1 -1
- package/build/_chunks/{chunk-JQTHWXQR.js → chunk-HHKYHDOJ.js} +1 -1
- package/build/_chunks/{chunk-BIJMWICZ.js → chunk-IKVA7QMC.js} +1 -1
- package/build/_chunks/{chunk-XSRIBZ5H.js → chunk-IM6VQO45.js} +1 -1
- package/build/_chunks/{chunk-EI4VQCCM.js → chunk-ITFUR3BG.js} +1 -1
- package/build/_chunks/{chunk-OBHJVUFA.js → chunk-J45BSGPS.js} +1 -1
- package/build/_chunks/{chunk-4AFJCOBN.js → chunk-J56XF4LW.js} +1 -1
- package/build/_chunks/{chunk-AFDB2YM6.js → chunk-J6MTBQ2Y.js} +1 -1
- package/build/_chunks/{chunk-KS7YB4UX.js → chunk-JEOCBURK.js} +1 -1
- package/build/_chunks/{chunk-SWXXEAIZ.js → chunk-KCBCOFXG.js} +1 -1
- package/build/_chunks/{chunk-FTG5LY7I.js → chunk-KT4LK4OP.js} +1 -1
- package/build/_chunks/chunk-LGOBWVPJ.js +2 -0
- package/build/_chunks/{chunk-QGQRTANO.js → chunk-N2GIJ5VD.js} +1 -1
- package/build/_chunks/{chunk-ZGZK4AZ3.js → chunk-N4YV342A.js} +1 -1
- package/build/_chunks/{chunk-64ILCI3S.js → chunk-NR5LUI2H.js} +1 -1
- package/build/_chunks/{chunk-OAEOQ7AZ.js → chunk-OIKVZRLM.js} +1 -1
- package/build/_chunks/{chunk-TJMTDLBH.js → chunk-OLMDFRVN.js} +1 -1
- package/build/_chunks/{chunk-XBUO2UHM.js → chunk-OPRPEPCN.js} +1 -1
- package/build/_chunks/chunk-PIBMVEP6.js +1 -0
- package/build/_chunks/{chunk-R5PUIGMB.js → chunk-PYA3WRGL.js} +1 -1
- package/build/_chunks/{chunk-DBFH6OKQ.js → chunk-PZF7H3GF.js} +1 -1
- package/build/_chunks/{chunk-TKU4GMEV.js → chunk-Q7D6LBXP.js} +1 -1
- package/build/_chunks/chunk-QBNNRDS4.js +1 -0
- package/build/_chunks/{chunk-44UNMXKS.js → chunk-RHRIPQC4.js} +1 -1
- package/build/_chunks/{chunk-RZJSME6H.js → chunk-RNNPAR2K.js} +1 -1
- package/build/_chunks/{chunk-33C463YL.js → chunk-S2PJVK7F.js} +1 -1
- package/build/_chunks/{chunk-TIO3V7XA.js → chunk-SG7TXVQB.js} +1 -1
- package/build/_chunks/chunk-THYUB3QC.js +1 -0
- package/build/_chunks/{chunk-4QF66SHZ.js → chunk-UKQ7HQSN.js} +1 -1
- package/build/_chunks/{chunk-GNNMQUBT.js → chunk-UVFLY3VX.js} +1 -1
- package/build/_chunks/{chunk-S3YBXSFG.js → chunk-VENWDCC2.js} +1 -1
- package/build/_chunks/{chunk-LQOS3MF6.js → chunk-VGXJIBBQ.js} +1 -1
- package/build/_chunks/{chunk-LOGPCQ24.js → chunk-VJ7WF65J.js} +1 -1
- package/build/_chunks/{chunk-PHVELRMX.js → chunk-WQ3LEL6S.js} +1 -1
- package/build/_chunks/{chunk-KD4RSWN6.js → chunk-XZHYIGXT.js} +1 -1
- package/build/_chunks/{chunk-WAY7BWQL.js → chunk-YUNZ6N3Z.js} +1 -1
- package/build/_chunks/{chunk-OYJYQKLK.js → chunk-ZSJB76QS.js} +1 -1
- package/build/_chunks/{chunk-MHZSYMQP.js → chunk-ZWSYJEHH.js} +1 -1
- package/build/_chunks/{chunk-YPVFVBG3.js → chunk-ZZVT2QWP.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/AppWindow/constant.d.ts +1 -5
- package/build/components/AppWindowWrapper/AppWindow/index.d.ts +1 -1
- package/build/components/AppWindowWrapper/index.d.ts +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/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/JSONViewer/style.d.ts +0 -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/Sidebar/Sidebar.d.ts +4 -0
- package/build/components/Sidebar/constants.d.ts +10 -0
- package/build/components/Sidebar/index.d.ts +3 -0
- package/build/components/Sidebar/index.js +1 -0
- package/build/components/Sidebar/style.d.ts +18 -0
- package/build/components/Sidebar/type.d.ts +35 -0
- 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/index.d.ts +4 -4
- package/build/components/index.js +1 -1
- package/build/components/primitives/index.js +1 -1
- package/build/constants/index.d.ts +1 -0
- package/build/constants/index.js +1 -1
- package/build/constants/style.d.ts +1 -0
- package/build/constants/window.d.ts +5 -0
- 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-4XXNGLS6.js +0 -1
- package/build/_chunks/chunk-FKG3SYY6.js +0 -1
- package/build/_chunks/chunk-GAL3X7PR.js +0 -1
- package/build/_chunks/chunk-MQOX7MKN.js +0 -1
- package/build/_chunks/chunk-OF3Z5SNR.js +0 -2
- package/build/_chunks/chunk-U62XSJM5.js +0 -1
- 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
- package/build/components/ExpandableSideBar/ExpandableSideBar.d.ts +0 -5
- package/build/components/ExpandableSideBar/constant.d.ts +0 -1
- package/build/components/ExpandableSideBar/index.d.ts +0 -3
- package/build/components/ExpandableSideBar/index.js +0 -1
- package/build/components/ExpandableSideBar/style.d.ts +0 -22
- package/build/components/ExpandableSideBar/type.d.ts +0 -17
- package/build/components/WindowSideBar/WindowSideBar.d.ts +0 -11
- package/build/components/WindowSideBar/constant.d.ts +0 -1
- package/build/components/WindowSideBar/index.d.ts +0 -5
- package/build/components/WindowSideBar/index.js +0 -1
- package/build/components/WindowSideBar/style.d.ts +0 -14
- package/build/components/WindowSideBar/type.d.ts +0 -10
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import type { BoxProps } from '@mui/material/Box';
|
|
2
|
-
import type { HTMLAttributes, ReactNode } from 'react';
|
|
3
|
-
/**
|
|
4
|
-
* Controls both the render mode and (for fanout variants) the fan-out direction.
|
|
5
|
-
*
|
|
6
|
-
* - `"static"` — overlapping row, no hover animation **(default)**
|
|
7
|
-
* - `"fanout-right"` — fans right on hover (anchor: leftmost chip)
|
|
8
|
-
* - `"fanout-left"` — fans left on hover (anchor: rightmost chip)
|
|
9
|
-
* - `"fanout-center"` — fans both ways on hover (anchor: middle chip)
|
|
10
|
-
*/
|
|
11
|
-
export type ChipStackVariant = 'static' | 'fanout-right' | 'fanout-left' | 'fanout-center';
|
|
12
|
-
/** All variant values — useful for building selects/controls. */
|
|
13
|
-
export declare const CHIP_STACK_VARIANTS: readonly ["static", "fanout-right", "fanout-left", "fanout-center"];
|
|
14
|
-
/** Default variant when `variant` is omitted. */
|
|
15
|
-
export declare const DEFAULT_CHIP_STACK_VARIANT: ChipStackVariant;
|
|
16
|
-
/** Resolved internally from `variant` — not exposed as a prop. */
|
|
17
|
-
export type ChipStackFanOutDirection = 'right' | 'left' | 'center';
|
|
18
|
-
/** Passed to `renderItem` so the callback knows how large to render each chip. */
|
|
19
|
-
export type ChipStackItemRenderContext = {
|
|
20
|
-
slotSize: number;
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* Passed to `renderOverflow` when items exceed `maxItems`.
|
|
24
|
-
*
|
|
25
|
-
* @template T — matches the `items` array type on `ChipStackProps<T>`.
|
|
26
|
-
* `ReactNode` for compositional (children) usage.
|
|
27
|
-
*/
|
|
28
|
-
export type ChipStackOverflowRenderArgs<T = unknown> = {
|
|
29
|
-
/** The full `items` array passed to `ChipStack`. */
|
|
30
|
-
items: readonly T[];
|
|
31
|
-
/** The hidden items that overflowed past `maxItems`. */
|
|
32
|
-
overflowItems: readonly T[];
|
|
33
|
-
/** Chip diameter in px — size your overflow chip to this value. */
|
|
34
|
-
size: number;
|
|
35
|
-
};
|
|
36
|
-
export type ChipStackFaceItem = {
|
|
37
|
-
/** Optional stable key — defaults to `first-last-index`. */
|
|
38
|
-
id?: string;
|
|
39
|
-
first: string;
|
|
40
|
-
last: string;
|
|
41
|
-
/** Omitted or broken → initials on gradient. */
|
|
42
|
-
logo?: string;
|
|
43
|
-
/** Custom tooltip content — defaults to `"First Last"`. Pass `null` to disable. */
|
|
44
|
-
tooltip?: ReactNode | null;
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
|
-
* Fine-grained style/prop overrides for internal slots.
|
|
48
|
-
*/
|
|
49
|
-
export type ChipStackSlotProps = {
|
|
50
|
-
/** Outer flex shell wrapping the chip track (`Box`). */
|
|
51
|
-
shell?: BoxProps;
|
|
52
|
-
/** Positioned `<div>` holding all chip slots — use for `aria-label` and other HTML attributes. */
|
|
53
|
-
track?: HTMLAttributes<HTMLDivElement>;
|
|
54
|
-
/**
|
|
55
|
-
* Layout dimensions for the animated track.
|
|
56
|
-
* Pass here instead of as top-level props to keep the component surface clean.
|
|
57
|
-
*/
|
|
58
|
-
layout?: {
|
|
59
|
-
/** Z-index of the track while hovered. @default 1000 */
|
|
60
|
-
zIndex?: number;
|
|
61
|
-
/** Chip diameter in px. @default 24 */
|
|
62
|
-
size?: number;
|
|
63
|
-
/** Horizontal distance between stacked chips in px. */
|
|
64
|
-
stackStep?: number;
|
|
65
|
-
/** Space between chips when fully expanded in px. */
|
|
66
|
-
gap?: number;
|
|
67
|
-
/** Minimum width of the chip track container in px. */
|
|
68
|
-
minTrackWidth?: number;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
* Props for `ChipStack`.
|
|
73
|
-
*
|
|
74
|
-
* Two input styles:
|
|
75
|
-
* - **Data-driven** — `items` + `getItemKey` + `renderItem`
|
|
76
|
-
* - **Compositional** — `children` (wrap in `OverlapChip` for static, or pass raw nodes)
|
|
77
|
-
*
|
|
78
|
-
* When both are provided, `children` takes precedence and `items` is ignored.
|
|
79
|
-
*/
|
|
80
|
-
export type ChipStackProps<T = unknown> = {
|
|
81
|
-
/**
|
|
82
|
-
* Controls render mode and fan-out direction.
|
|
83
|
-
*
|
|
84
|
-
* - `"static"` — overlapping row, no animation **(default)**
|
|
85
|
-
* - `"fanout-right"` — fans right on hover
|
|
86
|
-
* - `"fanout-left"` — fans left on hover
|
|
87
|
-
* - `"fanout-center"` — fans both ways on hover
|
|
88
|
-
*/
|
|
89
|
-
variant?: ChipStackVariant;
|
|
90
|
-
/** Data array. Requires `getItemKey` and `renderItem`. */
|
|
91
|
-
items?: readonly T[];
|
|
92
|
-
getItemKey?: (item: T, index: number) => string;
|
|
93
|
-
renderItem?: (item: T, index: number, ctx: ChipStackItemRenderContext) => ReactNode;
|
|
94
|
-
/** Rendered as-is. Wrap in `OverlapChip` for static variants. */
|
|
95
|
-
children?: ReactNode;
|
|
96
|
-
/** Cap visible chips; collapse the rest into a `+N` indicator. */
|
|
97
|
-
maxItems?: number;
|
|
98
|
-
/**
|
|
99
|
-
* **Fanout variants only.** When `true`, only the anchor chip is visible while idle.
|
|
100
|
-
* Hovering reveals all chips with the fan-out animation defined by `variant`.
|
|
101
|
-
*
|
|
102
|
-
* Pairs with any `fanout-*` variant:
|
|
103
|
-
* ```tsx
|
|
104
|
-
* <ChipStack variant="fanout-right" compact items={apps} ... />
|
|
105
|
-
* ```
|
|
106
|
-
*
|
|
107
|
-
* @default false
|
|
108
|
-
*/
|
|
109
|
-
compact?: boolean;
|
|
110
|
-
/**
|
|
111
|
-
* Fully replace the `+N` overflow slot.
|
|
112
|
-
* Receives `{ items, overflowItems, size }` where `items` is the full data array
|
|
113
|
-
* and `overflowItems` is the hidden slice.
|
|
114
|
-
*
|
|
115
|
-
* ```tsx
|
|
116
|
-
* renderOverflow={({ items, overflowItems, size }) => (
|
|
117
|
-
* <MyPopover trigger={`+${overflowItems.length}`} chipSize={size} data={items} />
|
|
118
|
-
* )}
|
|
119
|
-
* ```
|
|
120
|
-
*/
|
|
121
|
-
renderOverflow?: (args: ChipStackOverflowRenderArgs<T>) => ReactNode;
|
|
122
|
-
sx?: BoxProps['sx'];
|
|
123
|
-
className?: string;
|
|
124
|
-
/** Style/prop overrides for internal slots and layout dimensions. */
|
|
125
|
-
slotProps?: ChipStackSlotProps;
|
|
126
|
-
'data-testid'?: string;
|
|
127
|
-
};
|
|
@@ -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 {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ExpandableSideBarProps } from './type';
|
|
3
|
-
declare function ExpandableSideBar({ sections, isMaximized, onClick, activeSection, activeSubSection }: ExpandableSideBarProps): import("react").JSX.Element;
|
|
4
|
-
declare const _default: import("react").MemoExoticComponent<typeof ExpandableSideBar>;
|
|
5
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const TITLE_BAR_HEIGHT = "32px";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as default}from'../../_chunks/chunk-U62XSJM5.js';import'../../_chunks/chunk-GAL3X7PR.js';import'../../_chunks/chunk-FTG5LY7I.js';import'../../_chunks/chunk-JQTHWXQR.js';import'../../_chunks/chunk-TIO3V7XA.js';import'../../_chunks/chunk-OBHJVUFA.js';import'../../_chunks/chunk-4XXNGLS6.js';import'../../_chunks/chunk-V2RLDP5A.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const SideBar: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
5
|
-
isMaximized?: boolean | undefined;
|
|
6
|
-
}, {}, {}>;
|
|
7
|
-
export declare const Content: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
8
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
9
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
10
|
-
export declare const SubMenuLink: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
11
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
12
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
13
|
-
isActive?: boolean | undefined;
|
|
14
|
-
}, {}, {}>;
|
|
15
|
-
export declare const MenuHeader: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
16
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
17
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
18
|
-
isActive?: boolean | undefined;
|
|
19
|
-
}, {}, {}>;
|
|
20
|
-
export declare const SideBarAccordion: import("@emotion/styled").StyledComponent<Omit<Readonly<import("../primitives").AccordionProps> & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
|
|
21
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
22
|
-
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export interface Section {
|
|
2
|
-
id: string;
|
|
3
|
-
title: string;
|
|
4
|
-
icon?: string;
|
|
5
|
-
subSections?: {
|
|
6
|
-
id: string;
|
|
7
|
-
title: string;
|
|
8
|
-
icon?: string;
|
|
9
|
-
}[];
|
|
10
|
-
}
|
|
11
|
-
export interface ExpandableSideBarProps {
|
|
12
|
-
sections: Section[];
|
|
13
|
-
isMaximized?: boolean;
|
|
14
|
-
onClick: (sectionId: string, subSectionId?: string) => void;
|
|
15
|
-
activeSection?: string;
|
|
16
|
-
activeSubSection?: string;
|
|
17
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Section } from './type';
|
|
3
|
-
interface WindowSideBarProps {
|
|
4
|
-
sections: Section[];
|
|
5
|
-
isMaximized?: boolean;
|
|
6
|
-
onClick?: (section: Section) => void;
|
|
7
|
-
activeSection?: string;
|
|
8
|
-
}
|
|
9
|
-
declare function WindowSideBar({ sections, isMaximized, onClick, activeSection }: WindowSideBarProps): import("react").JSX.Element;
|
|
10
|
-
declare const _default: import("react").MemoExoticComponent<typeof WindowSideBar>;
|
|
11
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const TITLE_BAR_HEIGHT = "32px";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{c as Content,b as SideBar,a as TITLE_BAR_HEIGHT,d as default}from'../../_chunks/chunk-OF3Z5SNR.js';import'../../_chunks/chunk-FKG3SYY6.js';import'../../_chunks/chunk-33C463YL.js';import'../../_chunks/chunk-XB7FBOZY.js';import'../../_chunks/chunk-JEYLI22W.js';import'../../_chunks/chunk-TH5E43JD.js';import'../../_chunks/chunk-QGQRTANO.js';import'../../_chunks/chunk-KV7KQ6MZ.js';import'../../_chunks/chunk-545BCGVE.js';import'../../_chunks/chunk-W4PURLBP.js';import'../../_chunks/chunk-XSRIBZ5H.js';import'../../_chunks/chunk-MMFW3YZV.js';import'../../_chunks/chunk-ZGZK4AZ3.js';import'../../_chunks/chunk-XBUO2UHM.js';import'../../_chunks/chunk-4SWNFKMX.js';import'../../_chunks/chunk-DPOBKAVX.js';import'../../_chunks/chunk-PHVELRMX.js';import'../../_chunks/chunk-FNWPZLRV.js';import'../../_chunks/chunk-GIUONT72.js';import'../../_chunks/chunk-MBTSXCJW.js';import'../../_chunks/chunk-WAY7BWQL.js';import'../../_chunks/chunk-EI4VQCCM.js';import'../../_chunks/chunk-GNNMQUBT.js';import'../../_chunks/chunk-AFDB2YM6.js';import'../../_chunks/chunk-MAZVGT6F.js';import'../../_chunks/chunk-DKMFQFZU.js';import'../../_chunks/chunk-KD4RSWN6.js';import'../../_chunks/chunk-OAEOQ7AZ.js';import'../../_chunks/chunk-DEQ2OTPX.js';import'../../_chunks/chunk-P57UJVYY.js';import'../../_chunks/chunk-RZJSME6H.js';import'../../_chunks/chunk-O4UZRDVR.js';import'../../_chunks/chunk-MQOX7MKN.js';import'../../_chunks/chunk-YPVFVBG3.js';import'../../_chunks/chunk-KS7YB4UX.js';import'../../_chunks/chunk-F2LUAXXO.js';import'../../_chunks/chunk-J4V7VRJY.js';import'../../_chunks/chunk-LOGPCQ24.js';import'../../_chunks/chunk-VTJJFPK5.js';import'../../_chunks/chunk-DBFH6OKQ.js';import'../../_chunks/chunk-SWXXEAIZ.js';import'../../_chunks/chunk-TY3LDUTP.js';import'../../_chunks/chunk-KSTOW7O3.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-7GVPGH6A.js';import'../../_chunks/chunk-R5PUIGMB.js';import'../../_chunks/chunk-ZONDSLTR.js';import'../../_chunks/chunk-5DLQTR4L.js';import'../../_chunks/chunk-TJMTDLBH.js';import'../../_chunks/chunk-U62XSJM5.js';import'../../_chunks/chunk-OYJYQKLK.js';import'../../_chunks/chunk-AIT2A7YM.js';import'../../_chunks/chunk-32CPM4J3.js';import'../../_chunks/chunk-S3YBXSFG.js';import'../../_chunks/chunk-LQOS3MF6.js';import'../../_chunks/chunk-VQ4INPUZ.js';import'../../_chunks/chunk-6VQVT7U4.js';import'../../_chunks/chunk-FAKPBQH3.js';import'../../_chunks/chunk-64ILCI3S.js';import'../../_chunks/chunk-CAKSLKXG.js';import'../../_chunks/chunk-WE7NB24K.js';import'../../_chunks/chunk-5EP3LEOE.js';import'../../_chunks/chunk-4AFJCOBN.js';import'../../_chunks/chunk-JORNMG4I.js';import'../../_chunks/chunk-T5WRDF6Z.js';import'../../_chunks/chunk-4QF66SHZ.js';import'../../_chunks/chunk-TKU4GMEV.js';import'../../_chunks/chunk-QZAVOGKZ.js';import'../../_chunks/chunk-UD33MPJX.js';import'../../_chunks/chunk-MHZSYMQP.js';import'../../_chunks/chunk-GAL3X7PR.js';import'../../_chunks/chunk-FTG5LY7I.js';import'../../_chunks/chunk-JQTHWXQR.js';import'../../_chunks/chunk-TIO3V7XA.js';import'../../_chunks/chunk-W3D5YN4V.js';import'../../_chunks/chunk-FQ2VMVUY.js';import'../../_chunks/chunk-44UNMXKS.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-OBHJVUFA.js';import'../../_chunks/chunk-BIJMWICZ.js';import'../../_chunks/chunk-LIHS4ZYZ.js';import'../../_chunks/chunk-4XXNGLS6.js';import'../../_chunks/chunk-V2RLDP5A.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const SideBar: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
5
|
-
isMaximized?: boolean | undefined;
|
|
6
|
-
}, {}, {}>;
|
|
7
|
-
export declare const Content: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
8
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
9
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
10
|
-
export declare const StyledMenuLink: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
11
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
12
|
-
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
13
|
-
isActive?: boolean | undefined;
|
|
14
|
-
}, {}, {}>;
|