@openmrs/esm-styleguide 6.3.1-pre.3012 → 6.3.1-pre.3016
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/.turbo/turbo-build.log +1 -1
- package/dist/left-nav/index.d.ts +1 -19
- package/dist/openmrs-esm-styleguide.js +1 -1
- package/dist/openmrs-esm-styleguide.js.map +1 -1
- package/package.json +12 -12
- package/src/left-nav/index.tsx +19 -42
- package/src/workspaces/container/workspace-container.component.tsx +2 -4
package/.turbo/turbo-build.log
CHANGED
|
@@ -12,6 +12,6 @@
|
|
|
12
12
|
[0] │ You can limit the size of your bundles by using import() to lazy load some parts of your application.
|
|
13
13
|
[0] │ For more info visit https://www.rspack.dev/guide/optimization/code-splitting
|
|
14
14
|
[0]
|
|
15
|
-
[0] Rspack compiled with 3 warnings in 6.
|
|
15
|
+
[0] Rspack compiled with 3 warnings in 6.70 s
|
|
16
16
|
[0] rspack --mode=production exited with code 0
|
|
17
17
|
[1] tsc --project tsconfig.build.json exited with code 0
|
package/dist/left-nav/index.d.ts
CHANGED
|
@@ -1,23 +1,6 @@
|
|
|
1
1
|
/** @module @category UI */
|
|
2
|
-
import { type SideNavProps } from '@carbon/react';
|
|
3
2
|
import React from 'react';
|
|
4
|
-
|
|
5
|
-
slotName: string | null;
|
|
6
|
-
basePath: string;
|
|
7
|
-
mode: 'normal' | 'collapsed';
|
|
8
|
-
}
|
|
9
|
-
interface SetLeftNavParams {
|
|
10
|
-
name: string;
|
|
11
|
-
basePath: string;
|
|
12
|
-
/**
|
|
13
|
-
* In normal mode, the left nav is shown in desktop mode, and collapse into hamburger menu button in tablet mode
|
|
14
|
-
* In collapsed mode, the left nav is always collapsed, regardless of desktop / tablet mode
|
|
15
|
-
*/
|
|
16
|
-
mode?: 'normal' | 'collapsed';
|
|
17
|
-
}
|
|
18
|
-
export declare function setLeftNav({ name, basePath, mode }: SetLeftNavParams): void;
|
|
19
|
-
export declare function unsetLeftNav(name: string): void;
|
|
20
|
-
export declare function useLeftNavStore(): LeftNavStore;
|
|
3
|
+
import { type SideNavProps } from '@carbon/react';
|
|
21
4
|
/**
|
|
22
5
|
* This component renders the left nav in desktop mode. It's also used to render the same
|
|
23
6
|
* nav when the hamburger menu is clicked on in tablet mode. See side-menu-panel.component.tsx
|
|
@@ -26,4 +9,3 @@ export declare function useLeftNavStore(): LeftNavStore;
|
|
|
26
9
|
* is deprecated; it simply renders nothing.
|
|
27
10
|
*/
|
|
28
11
|
export declare const LeftNavMenu: React.ForwardRefExoticComponent<SideNavProps & React.RefAttributes<HTMLElement>>;
|
|
29
|
-
export {};
|