@tap-payments/os-micro-frontend-shared 0.3.228-test.4 → 0.3.228-test.6
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-E54H2MD4.js → chunk-32CPM4J3.js} +1 -1
- package/build/_chunks/{chunk-RYUEVQJU.js → chunk-33C463YL.js} +1 -1
- package/build/_chunks/{chunk-QI64N63S.js → chunk-44UNMXKS.js} +1 -1
- package/build/_chunks/{chunk-XBF2WYZ5.js → chunk-4AFJCOBN.js} +1 -1
- package/build/_chunks/{chunk-IPDUNXKW.js → chunk-4SWNFKMX.js} +1 -1
- package/build/_chunks/chunk-4XXNGLS6.js +1 -0
- package/build/_chunks/{chunk-ZRSUSRXM.js → chunk-545BCGVE.js} +1 -1
- package/build/_chunks/{chunk-Z4JJP2AI.js → chunk-5DLQTR4L.js} +1 -1
- package/build/_chunks/{chunk-Y53JKURM.js → chunk-5EP3LEOE.js} +1 -1
- package/build/_chunks/{chunk-WLJRMDL2.js → chunk-64ILCI3S.js} +1 -1
- package/build/_chunks/{chunk-MIR5LWOK.js → chunk-6VQVT7U4.js} +1 -1
- package/build/_chunks/{chunk-T4EQN7S3.js → chunk-7GVPGH6A.js} +1 -1
- package/build/_chunks/{chunk-SK7L4FPZ.js → chunk-ACYZKBPV.js} +1 -1
- package/build/_chunks/{chunk-W3S7OIS3.js → chunk-AFDB2YM6.js} +1 -1
- package/build/_chunks/{chunk-6WRCJ3JV.js → chunk-AIT2A7YM.js} +1 -1
- package/build/_chunks/chunk-AIUSMEM5.js +1 -0
- package/build/_chunks/{chunk-LACJOZAQ.js → chunk-BIJMWICZ.js} +1 -1
- package/build/_chunks/{chunk-JEMYLMGO.js → chunk-CAKSLKXG.js} +1 -1
- package/build/_chunks/{chunk-B4PTS6YE.js → chunk-DEQ2OTPX.js} +1 -1
- package/build/_chunks/{chunk-57BVC26N.js → chunk-DKMFQFZU.js} +1 -1
- package/build/_chunks/{chunk-PVFADDJD.js → chunk-DPOBKAVX.js} +1 -1
- package/build/_chunks/{chunk-RICZPR7Q.js → chunk-EI4VQCCM.js} +1 -1
- package/build/_chunks/{chunk-LMIQA4BQ.js → chunk-F2LUAXXO.js} +1 -1
- package/build/_chunks/{chunk-XJCQHAUH.js → chunk-FAKPBQH3.js} +1 -1
- package/build/_chunks/chunk-FKG3SYY6.js +1 -0
- package/build/_chunks/{chunk-UW7IPQHO.js → chunk-FNWPZLRV.js} +1 -1
- package/build/_chunks/{chunk-EDB7FWU3.js → chunk-FTG5LY7I.js} +1 -1
- package/build/_chunks/{chunk-KW63NI5X.js → chunk-GAL3X7PR.js} +1 -1
- package/build/_chunks/{chunk-FBZFU4SR.js → chunk-GIUONT72.js} +1 -1
- package/build/_chunks/{chunk-5SDOLBWD.js → chunk-GNNMQUBT.js} +1 -1
- package/build/_chunks/{chunk-RJMMGFXQ.js → chunk-HKQY74IJ.js} +1 -1
- package/build/_chunks/{chunk-FRUIFUX5.js → chunk-J4V7VRJY.js} +1 -1
- package/build/_chunks/{chunk-WBSLKERM.js → chunk-JEYLI22W.js} +1 -1
- package/build/_chunks/{chunk-WUAPKJJD.js → chunk-JORNMG4I.js} +1 -1
- package/build/_chunks/{chunk-TOYCZFK4.js → chunk-JQTHWXQR.js} +1 -1
- package/build/_chunks/{chunk-PWK2Q4XY.js → chunk-KD4RSWN6.js} +1 -1
- package/build/_chunks/{chunk-JATMZKQB.js → chunk-KS7YB4UX.js} +1 -1
- package/build/_chunks/{chunk-AC5FVKRE.js → chunk-KSTOW7O3.js} +1 -1
- package/build/_chunks/{chunk-TKJY4RKT.js → chunk-KV7KQ6MZ.js} +1 -1
- package/build/_chunks/{chunk-A7XZTRW7.js → chunk-LIHS4ZYZ.js} +1 -1
- package/build/_chunks/{chunk-CVVU7LQU.js → chunk-LOGPCQ24.js} +1 -1
- package/build/_chunks/{chunk-NBJVERMO.js → chunk-LQOS3MF6.js} +1 -1
- package/build/_chunks/chunk-LROBJEJT.js +1 -0
- package/build/_chunks/chunk-M572YUHC.js +2 -0
- package/build/_chunks/{chunk-XNEEY5CO.js → chunk-MBTSXCJW.js} +1 -1
- package/build/_chunks/{chunk-AOQLIWPT.js → chunk-MFFVCCTZ.js} +1 -1
- package/build/_chunks/{chunk-X7DIX5Y2.js → chunk-MHZSYMQP.js} +1 -1
- package/build/_chunks/{chunk-MJMESYES.js → chunk-MMFW3YZV.js} +1 -1
- package/build/_chunks/chunk-MQOX7MKN.js +1 -0
- package/build/_chunks/{chunk-XUGHTNTE.js → chunk-O4UZRDVR.js} +1 -1
- package/build/_chunks/{chunk-AYC5LJR4.js → chunk-OAEOQ7AZ.js} +1 -1
- package/build/_chunks/{chunk-7EDX7L2Q.js → chunk-OBHJVUFA.js} +1 -1
- package/build/_chunks/{chunk-C5KT4W73.js → chunk-OYJYQKLK.js} +1 -1
- package/build/_chunks/{chunk-FG5BQBHL.js → chunk-P57UJVYY.js} +1 -1
- package/build/_chunks/{chunk-QDUVPDG5.js → chunk-PHVELRMX.js} +1 -1
- package/build/_chunks/{chunk-X57YOWP2.js → chunk-QGQRTANO.js} +1 -1
- package/build/_chunks/{chunk-6JHWQUVB.js → chunk-QZAVOGKZ.js} +1 -1
- package/build/_chunks/{chunk-WJI2VGZO.js → chunk-R5PUIGMB.js} +1 -1
- package/build/_chunks/{chunk-WSUQM76Y.js → chunk-RZJSME6H.js} +1 -1
- package/build/_chunks/{chunk-IBXQUIGS.js → chunk-S3YBXSFG.js} +1 -1
- package/build/_chunks/{chunk-36UPNYZ2.js → chunk-SWXXEAIZ.js} +1 -1
- package/build/_chunks/{chunk-7RGDRE5N.js → chunk-T5WRDF6Z.js} +1 -1
- package/build/_chunks/{chunk-SHPLL25Y.js → chunk-TH5E43JD.js} +1 -1
- package/build/_chunks/{chunk-VLG2MR3G.js → chunk-TIO3V7XA.js} +1 -1
- package/build/_chunks/{chunk-Z5YTSBNX.js → chunk-TKU4GMEV.js} +1 -1
- package/build/_chunks/{chunk-VX4M7RWB.js → chunk-TY3LDUTP.js} +1 -1
- package/build/_chunks/chunk-U62XSJM5.js +1 -0
- package/build/_chunks/{chunk-NRXZJ3SP.js → chunk-UD33MPJX.js} +1 -1
- package/build/_chunks/chunk-V2RLDP5A.js +2 -0
- package/build/_chunks/{chunk-POBETEXT.js → chunk-VQ4INPUZ.js} +1 -1
- package/build/_chunks/{chunk-GOOCA5DE.js → chunk-VTJJFPK5.js} +1 -1
- package/build/_chunks/{chunk-FTJ66PQ7.js → chunk-W3D5YN4V.js} +1 -1
- package/build/_chunks/{chunk-VC74URMO.js → chunk-W4PURLBP.js} +1 -1
- package/build/_chunks/{chunk-NSTK57XR.js → chunk-WAY7BWQL.js} +1 -1
- package/build/_chunks/{chunk-K7IIZSSP.js → chunk-XBUO2UHM.js} +1 -1
- package/build/_chunks/{chunk-SQQQO7OV.js → chunk-XSRIBZ5H.js} +1 -1
- package/build/_chunks/{chunk-OIPJEXSN.js → chunk-YPVFVBG3.js} +1 -1
- package/build/_chunks/{chunk-L3QTQGRX.js → chunk-ZGZK4AZ3.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/AvatarStackChip.d.ts +4 -0
- package/build/components/AvatarStack/StaticStack.d.ts +4 -0
- package/build/components/AvatarStack/constants.d.ts +29 -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 +51 -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/ExpandableSideBar.d.ts +5 -0
- package/build/components/ExpandableSideBar/constant.d.ts +1 -0
- package/build/components/ExpandableSideBar/index.d.ts +3 -0
- package/build/components/ExpandableSideBar/index.js +1 -0
- package/build/components/ExpandableSideBar/style.d.ts +22 -0
- package/build/components/ExpandableSideBar/type.d.ts +17 -0
- 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 +1 -0
- 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/TooltipAvatar/TooltipAvatar.d.ts +4 -0
- package/build/components/TooltipAvatar/constants.d.ts +6 -0
- package/build/components/TooltipAvatar/index.d.ts +4 -0
- package/build/components/TooltipAvatar/index.js +1 -0
- package/build/components/TooltipAvatar/style.d.ts +8 -0
- package/build/components/TooltipAvatar/type.d.ts +24 -0
- package/build/components/TooltipAvatar/utils.d.ts +10 -0
- 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/WindowSideBar.d.ts +11 -0
- package/build/components/WindowSideBar/constant.d.ts +1 -0
- package/build/components/WindowSideBar/index.d.ts +5 -0
- package/build/components/WindowSideBar/index.js +1 -0
- package/build/components/WindowSideBar/style.d.ts +14 -0
- package/build/components/WindowSideBar/type.d.ts +10 -0
- package/build/components/index.d.ts +6 -2
- package/build/components/index.js +1 -1
- package/build/components/primitives/index.js +1 -1
- package/build/constants/index.js +1 -1
- package/build/constants/style.d.ts +0 -1
- package/build/hooks/index.js +1 -1
- package/build/index.js +1 -1
- package/build/utils/index.js +1 -1
- package/package.json +2 -2
- package/build/_chunks/chunk-A5TVBLMW.js +0 -2
- package/build/_chunks/chunk-DFKVDI3S.js +0 -1
- package/build/_chunks/chunk-F6CKS6UM.js +0 -1
- package/build/_chunks/chunk-I5N5IAEF.js +0 -1
- package/build/_chunks/chunk-TBVDKU6Z.js +0 -1
- package/build/_chunks/chunk-UCMEXZPX.js +0 -1
- package/build/_chunks/chunk-ZQNQIXT7.js +0 -2
- 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/Sidebar/Sidebar.d.ts +0 -4
- package/build/components/Sidebar/constants.d.ts +0 -10
- package/build/components/Sidebar/index.d.ts +0 -3
- package/build/components/Sidebar/index.js +0 -1
- package/build/components/Sidebar/style.d.ts +0 -18
- package/build/components/Sidebar/type.d.ts +0 -35
|
@@ -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,10 +0,0 @@
|
|
|
1
|
-
export declare const sidebarClassNamePrefix: "os-shared-Sidebar";
|
|
2
|
-
export declare const sidebarClassNames: {
|
|
3
|
-
readonly root: "os-shared-Sidebar-root";
|
|
4
|
-
readonly content: "os-shared-Sidebar-content";
|
|
5
|
-
readonly link: "os-shared-Sidebar-link";
|
|
6
|
-
readonly group: "os-shared-Sidebar-group";
|
|
7
|
-
readonly groupHeader: "os-shared-Sidebar-groupHeader";
|
|
8
|
-
readonly groupContent: "os-shared-Sidebar-groupContent";
|
|
9
|
-
readonly subLink: "os-shared-Sidebar-subLink";
|
|
10
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{b as default,a as sidebarClassNames}from'../../_chunks/chunk-DFKVDI3S.js';import'../../_chunks/chunk-VLG2MR3G.js';import'../../_chunks/chunk-I5N5IAEF.js';import'../../_chunks/chunk-ZQNQIXT7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const SidebarRootStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
3
|
-
$isMaximized?: boolean | undefined;
|
|
4
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
5
|
-
export declare const SidebarContentStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
-
export declare const SidebarLinkStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
7
|
-
$isActive?: boolean | undefined;
|
|
8
|
-
}, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
9
|
-
export declare const SidebarGroupStyled: import("@emotion/styled").StyledComponent<Omit<Readonly<import("../primitives").AccordionProps> & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
|
|
10
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
11
|
-
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
12
|
-
export declare const SidebarGroupHeaderStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
13
|
-
$isActive?: boolean | undefined;
|
|
14
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
15
|
-
export declare const SidebarGroupContentStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
16
|
-
export declare const SidebarSubLinkStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
17
|
-
$isActive?: boolean | undefined;
|
|
18
|
-
}, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import type { SxProps, Theme } from '@mui/material/styles';
|
|
2
|
-
import type { sidebarClassNames } from './constants';
|
|
3
|
-
export type SidebarClassNames = (typeof sidebarClassNames)[keyof typeof sidebarClassNames];
|
|
4
|
-
export interface SidebarSubSection {
|
|
5
|
-
/** Stable section id — also used to match `activeSubSection`. */
|
|
6
|
-
id: string;
|
|
7
|
-
/** Already-translated label. The component never calls `t()`. */
|
|
8
|
-
title: string;
|
|
9
|
-
}
|
|
10
|
-
export interface SidebarSection {
|
|
11
|
-
/** Stable section id — also used to match `activeSection`. */
|
|
12
|
-
id: string;
|
|
13
|
-
/** Already-translated label. The component never calls `t()`. */
|
|
14
|
-
title: string;
|
|
15
|
-
/** When present and non-empty the section renders as an expandable group. Omit for a flat link. */
|
|
16
|
-
subSections?: SidebarSubSection[];
|
|
17
|
-
}
|
|
18
|
-
export interface SidebarProps {
|
|
19
|
-
/** Sections in display order. Sections with `subSections` render as expandable groups, others as flat links. */
|
|
20
|
-
sections: SidebarSection[];
|
|
21
|
-
/** Controlled active section id. Falls back to the first section when omitted. */
|
|
22
|
-
activeSection?: string;
|
|
23
|
-
/** Controlled active sub-section id. Falls back to the first sub-section of the active group when omitted. */
|
|
24
|
-
activeSubSection?: string;
|
|
25
|
-
/** Fired with the selected section and, for groups, the selected sub-section. Header clicks select the first sub-section. */
|
|
26
|
-
onSelect?: (section: SidebarSection, subSection?: SidebarSubSection) => void;
|
|
27
|
-
/** When true the top padding matches the title-bar offset (`WINDOW_TOOL_BAR_HEIGHT`). */
|
|
28
|
-
isMaximized?: boolean;
|
|
29
|
-
/** Caller-supplied id — no auto-generated id inside the component. */
|
|
30
|
-
id?: string;
|
|
31
|
-
/** Extra class name merged onto the root. */
|
|
32
|
-
className?: string;
|
|
33
|
-
/** MUI sx style overrides — forwarded to the root. */
|
|
34
|
-
sx?: SxProps<Theme>;
|
|
35
|
-
}
|