@medixdeck/ui 0.1.28 → 0.1.29
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/dist/index.cjs +32 -32
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +16 -1
- package/dist/index.js +4102 -3999
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -930,7 +930,7 @@ export declare type DashboardEnvironmentBannerStatus = 'warning' | 'info' | 'err
|
|
|
930
930
|
* }
|
|
931
931
|
* ```
|
|
932
932
|
*/
|
|
933
|
-
export declare function DashboardLayout({ children, logo, navGroups, user, greeting, greetingSubtext, onLogout, renderLink, dropdownItems, topBarSlot, sidebarWidth, collapsedSidebarWidth, collapsible, defaultCollapsed, isCollapsed: controlledIsCollapsed, onCollapseChange, collapsedLogo, collapseTogglePlacement, colorScheme, mobileNavItems, scoreCard, environment, showEnvironmentBanner, environmentBanner, environmentBannerSlot, ...rest }: DashboardLayoutProps): JSX_2.Element;
|
|
933
|
+
export declare function DashboardLayout({ children, logo, navGroups, user, greeting, greetingSubtext, onLogout, renderLink, dropdownItems, topBarSlot, sidebarWidth, collapsedSidebarWidth, collapsible, defaultCollapsed, isCollapsed: controlledIsCollapsed, onCollapseChange, collapsedLogo, collapseTogglePlacement, colorScheme, mobileNavItems, scoreCard, environment, showEnvironmentBanner, environmentBanner, environmentBannerSlot, haptic, disableHaptic, ...rest }: DashboardLayoutProps): JSX_2.Element;
|
|
934
934
|
|
|
935
935
|
export declare namespace DashboardLayout {
|
|
936
936
|
var displayName: string;
|
|
@@ -1109,6 +1109,17 @@ export declare interface DashboardLayoutProps extends Omit<BoxProps, 'children'>
|
|
|
1109
1109
|
* Custom slot to completely override the environment banner UI while preserving layout flow.
|
|
1110
1110
|
*/
|
|
1111
1111
|
environmentBannerSlot?: default_2.ReactNode;
|
|
1112
|
+
/**
|
|
1113
|
+
* Haptic feedback intent/pattern for dashboard sidebar and mobile menu interactions.
|
|
1114
|
+
* Set `false` to disable menu haptics for this layout instance.
|
|
1115
|
+
* @default "selection"
|
|
1116
|
+
*/
|
|
1117
|
+
haptic?: HapticInput;
|
|
1118
|
+
/**
|
|
1119
|
+
* Disable haptic feedback for dashboard sidebar and mobile menu interactions.
|
|
1120
|
+
* @default false
|
|
1121
|
+
*/
|
|
1122
|
+
disableHaptic?: boolean;
|
|
1112
1123
|
}
|
|
1113
1124
|
|
|
1114
1125
|
/**
|
|
@@ -3728,6 +3739,10 @@ export declare type ToastOptions = {
|
|
|
3728
3739
|
description?: string | default_2.ReactNode;
|
|
3729
3740
|
type?: AlertStatus;
|
|
3730
3741
|
duration?: number;
|
|
3742
|
+
/** Haptic feedback intent/pattern when this toast appears. Set `false` to disable. */
|
|
3743
|
+
haptic?: HapticInput;
|
|
3744
|
+
/** Disable haptic feedback for this toast. */
|
|
3745
|
+
disableHaptic?: boolean;
|
|
3731
3746
|
};
|
|
3732
3747
|
|
|
3733
3748
|
export declare type ToastType = AlertStatus;
|