-
Notifications
You must be signed in to change notification settings - Fork 4.2k
/
private-apis.ts
50 lines (49 loc) · 1.46 KB
/
private-apis.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/**
* Internal dependencies
*/
import {
Composite as CompositeV2,
CompositeGroup as CompositeGroupV2,
CompositeItem as CompositeItemV2,
CompositeRow as CompositeRowV2,
useCompositeStore as useCompositeStoreV2,
} from './composite/v2';
import { positionToPlacement as __experimentalPopoverLegacyPositionToPlacement } from './popover/utils';
import { createPrivateSlotFill } from './slot-fill';
import {
DropdownMenu as DropdownMenuV2,
DropdownMenuGroup as DropdownMenuGroupV2,
DropdownMenuItem as DropdownMenuItemV2,
DropdownMenuCheckboxItem as DropdownMenuCheckboxItemV2,
DropdownMenuRadioItem as DropdownMenuRadioItemV2,
DropdownMenuSeparator as DropdownMenuSeparatorV2,
DropdownMenuItemLabel as DropdownMenuItemLabelV2,
DropdownMenuItemHelpText as DropdownMenuItemHelpTextV2,
} from './dropdown-menu-v2';
import { ComponentsContext } from './context/context-system-provider';
import Theme from './theme';
import Tabs from './tabs';
import { kebabCase } from './utils/strings';
import { lock } from './lock-unlock';
export const privateApis = {};
lock( privateApis, {
CompositeV2,
CompositeGroupV2,
CompositeItemV2,
CompositeRowV2,
useCompositeStoreV2,
__experimentalPopoverLegacyPositionToPlacement,
createPrivateSlotFill,
ComponentsContext,
Tabs,
Theme,
DropdownMenuV2,
DropdownMenuGroupV2,
DropdownMenuItemV2,
DropdownMenuCheckboxItemV2,
DropdownMenuRadioItemV2,
DropdownMenuSeparatorV2,
DropdownMenuItemLabelV2,
DropdownMenuItemHelpTextV2,
kebabCase,
} );