@orderly.network/ui 2.12.4-alpha.0 → 3.0.0-alpha.0

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.d.mts CHANGED
@@ -28,6 +28,8 @@ export * from 'embla-carousel-react';
28
28
  export { default as useEmblaCarousel } from 'embla-carousel-react';
29
29
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
30
30
  import { DropdownMenuContentProps } from '@radix-ui/react-dropdown-menu';
31
+ import { ExtensionPosition } from '@orderly.network/plugin-core';
32
+ export { Extension, ExtensionBuilder, ExtensionOptions, ExtensionPosition, ExtensionPositionEnum, ExtensionProvider, ExtensionSlot, InterceptorTargetPropsMap, KnownInterceptorTarget, OrderlyExtensionRegistry, OrderlyPlugin, OrderlyPluginAPI, OrderlyPluginContextValue, OrderlyPluginProvider, OrderlyPluginRegistry, OrderlySDK, PluginErrorBoundary, PluginInterceptor, PluginInterceptorComponent, PluginRegistrationFn, PluginScopeContext, PluginScopeProvider, PluginScopeValue, createInterceptor, createOrderlySDK, injectable, installExtension, positionToPath, setExtensionBuilder, useExtensionContext, useInjectedComponent, useOrderlyPluginContext, usePluginScope } from '@orderly.network/plugin-core';
31
33
  import * as tailwindcss_types_config from 'tailwindcss/types/config';
32
34
  export * from 'embla-carousel-auto-scroll';
33
35
  export { default as AutoScroll } from 'embla-carousel-auto-scroll';
@@ -4425,10 +4427,14 @@ declare function useMultiSort(props: {
4425
4427
  } | undefined;
4426
4428
  };
4427
4429
 
4428
- declare const EmptyDataState: FC<{
4430
+ /** Props for Table.EmptyDataIdentifier injectable; used by plugins for typed interceptor */
4431
+ interface EmptyDataStateProps {
4429
4432
  title?: string;
4430
4433
  className?: string;
4431
- }>;
4434
+ }
4435
+ declare const EmptyDataState: FC<EmptyDataStateProps>;
4436
+ /** Injectable default for Table.EmptyDataIdentifier slot - plugins can intercept via OrderlyPluginProvider */
4437
+ declare const InjectableEmptyDataState: React$1.ComponentType<EmptyDataStateProps>;
4432
4438
 
4433
4439
  type MultiSortHeaderProps = {
4434
4440
  column: Column<any>;
@@ -8678,61 +8684,25 @@ type IconType = typeof BaseIcon & {
8678
8684
  };
8679
8685
  declare const Icon: IconType;
8680
8686
 
8681
- type ExtensionPosition = ExtensionPositionEnum | string;
8682
- declare enum ExtensionPositionEnum {
8683
- DepositForm = "depositForm",
8684
- WithdrawForm = "withdrawForm",
8685
- /**
8686
- * Wallet button
8687
- */
8688
- AccountMenu = "accountMenu",
8689
- MobileAccountMenu = "mobileAccountMenu",
8690
- MainMenus = "mainMenus",
8691
- EmptyDataIdentifier = "emptyDataIdentifier"
8687
+ /** Props for Deposit.DepositForm injectable; used by plugins for typed interceptor */
8688
+ interface DepositFormProps {
8689
+ onOk?: () => void;
8690
+ position?: string;
8691
+ [k: string]: unknown;
8692
8692
  }
8693
8693
 
8694
8694
  /**
8695
- * @name ExtensionOptions
8696
- * @description Extension meta data
8695
+ * Module augmentation: maps interceptor target paths to their component props types.
8696
+ * Import this file (or import from @orderly.network/ui) to enable typed props in
8697
+ * createInterceptor('Deposit.DepositForm', (Original, props, api) => ...).
8697
8698
  */
8698
- type ExtensionOptions<Props> = {
8699
- name: string;
8700
- /**
8701
- * which ctx data the extension available to use
8702
- */
8703
- scope?: string[];
8704
- /**
8705
- * @description define the extension require @orderly.network/hook version, optional
8706
- * @default "*"
8707
- */
8708
- engines?: string;
8709
- positions: ExtensionPosition[];
8710
- builder?: (props: any) => Props;
8711
- __isInternal?: boolean;
8712
- entry?: string[];
8713
- /**
8714
- * fire when the extension is installed
8715
- * @returns
8716
- */
8717
- installed?: () => Promise<void>;
8718
- onInit?: () => void;
8719
- activate?: () => Promise<void>;
8720
- deactivate?: () => Promise<void>;
8721
- };
8722
- type ExtensionRenderComponentType<Props> = ElementType<Props> | ((props: Props) => ReactElement);
8723
- declare const installExtension: <Props>(options: ExtensionOptions<Props>) => ((component: ExtensionRenderComponentType<Props>) => void);
8724
- /**
8725
- * update the extension builder function
8726
- */
8727
- declare const setExtensionBuilder: <Props extends unknown = {}>(position: ExtensionPosition, builder: () => Props) => void;
8728
8699
 
8729
- interface SlotProps {
8730
- position: ExtensionPosition;
8731
- defaultWidget?: React__default.FC;
8732
- scope?: string[];
8733
- [key: string]: any;
8700
+ declare module "@orderly.network/plugin-core" {
8701
+ interface InterceptorTargetPropsMap {
8702
+ "Deposit.DepositForm": DepositFormProps;
8703
+ "Table.EmptyDataIdentifier": EmptyDataStateProps;
8704
+ }
8734
8705
  }
8735
- declare const ExtensionSlot: React__default.FC<SlotProps>;
8736
8706
 
8737
8707
  declare const basePlugin: () => {
8738
8708
  handler: tailwindcss_types_config.PluginCreator;
@@ -9438,4 +9408,4 @@ declare const DotStatus: {
9438
9408
  displayName: string;
9439
9409
  };
9440
9410
 
9441
- export { ActionSheet, type ActionSheetItem, AddCircleIcon, AffiliateIcon, AlertDialog, type AlertDialogProps, ArrowDownShortIcon, ArrowDownSquareFillIcon, ArrowDownUpIcon, ArrowLeftRightIcon, ArrowLeftRightSquareFill, ArrowLeftShortIcon, ArrowRightShortIcon, ArrowRightUpSquareFillIcon, ArrowUpShortIcon, ArrowUpSquareFillIcon, AssetIcon, Avatar, Badge, type BadgeProps, BarChartIcon, type BaseActionSheetItem, type BaseIconProps, BattleActiveIcon, BattleIcon, BattleInactiveIcon, BattleSolidActiveIcon, BattleSolidInactiveIcon, BellIcon, Box, type BoxProps, Button, type ButtonProps, Calendar, CalendarIcon, CalendarMinusIcon, Card, CardBase, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDownIcon, CaretLeftIcon, CaretRightIcon, CaretUpIcon, ChainIcon, type ChainSelectProps, CheckIcon, CheckSquareEmptyIcon, Checkbox, CheckedCircleFillIcon, CheckedSquareFillIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleOutlinedIcon, CloseCircleFillIcon, CloseIcon, CloseRoundFillIcon, CloseSquareFillIcon, Collapse, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, type ColumnFixed, ConfirmDialog, type ConfirmProps, CopyIcon, DARK_THEME_CSS_VARS, DataFilter, type DataFilterItem, DataTable, type DataTableClassNames, type DataTableProps, DatePicker, type DatePickerProps, Dialog, type DialogAction, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Divider, type DividerProps, DotStatus, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuTrigger, EVMAvatar, EarnActiveIcon, EarnIcon, EarnInactiveIcon, EditIcon, Either, EmptyDataState, EmptyStateIcon, EsOrderlyIcon, ExclamationFillIcon, type ExtensionPosition, ExtensionPositionEnum, ExtensionSlot, EyeCloseIcon, EyeIcon, FeeTierIcon, Flex, type FlexProps, type FormattedTextProps, GradientText, Grid, HoverCard, HoverCardContent, type HoverCardProps, HoverCardRoot, HoverCardTrigger, Icon, IconButton, type IconButtonProps, type IconType, InfoCircleIcon, Input, InputAdditional, type InputFormatter, type InputFormatterOptions, type InputProps, type InputWithTooltipProps, LIGHT_THEME_CSS_VARS, LeaderboardActiveIcon, LeaderboardInactiveIcon, LeftNavVaultsIcon, ListView, type Locale, LocaleContext, LocaleProvider, Logo, type LogoProps, MarketsActiveIcon, MarketsInactiveIcon, Marquee, type MarqueeProps, type MenuItem, ModalContext, type ModalHocProps, ModalIdContext, ModalProvider, type MultiFieldSort, type MultiSortField, MultiSortHeader, type MultiSortHeaderProps, NewsFillIcon, type NumeralProps, index as OUITailwind, OrderlyIcon, OrderlyThemeProvider, type OrderlyThemeProviderProps, PaginationItems, type PaginationMeta, PeopleIcon, PerpsIcon, PersonIcon, Picker, PlusIcon, Popover, PopoverAnchor, PopoverContent, PopoverRoot, PopoverTrigger, PopupUnionIcon, PortfolioActiveIcon, PortfolioInactiveIcon, QuestionFillIcon, ReduceIcon, ReferralSolidIcon, RefreshIcon, RwaIcon, ScrollArea, ScrollBar, ScrollIndicator, type ScrollIndicatorProps, Select, SelectItem, type SelectOption, type SelectProps, SelectedChoicesFillIcon, ServerFillIcon, SettingFillIcon, SettingIcon, ShareIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SimpleDialog, SimpleDialogFooter, type SimpleDialogFooterProps, type SimpleDialogProps, SimpleDropdownMenu, SimpleSheet, type SizeType, Slider, type SliderMarks, type SortOrder, SortingAscIcon, SortingDescIcon, SortingIcon, Spinner, type SpinnerProps, SpotIcon, SquareOutlinedIcon, StarChildChatActiveIcon, StarChildChatInactiveIcon, Statistic, StatisticLabel, SwapHorizIcon, Switch, SymbolBadge, type SymbolBadgeTextProps, TabPanel, type TabPanelProps, type TableCellContext, type TableCellFormatter, type TableCellPlainTextRenderer, type TableCellRenderer, index$1 as TableFeatures, type TableSort, Tabs, TabsBase, TabsContent, TabsList, TabsTrigger, Text, TextField, type TextFieldProps, type TextProps, type TextType, type ThemeConfig, type ThemeCssVars, ThrottledButton, Tips, type TipsProps, ToastTile, Toaster, TokenIcon, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipProvider, TooltipRoot, TooltipTrigger, TraderMobileIcon, TradingActiveIcon, TradingIcon, TradingInactiveIcon, TradingLeftNavIcon, TradingRewardsIcon, TriggerDialog, type TriggerDialogProps, VaultsIcon, VectorIcon, WalletIcon, WarningIcon, WoofiStakeIcon, boxVariants, buttonVariants, capitalizeFirstLetter, convertValueToPercentage, dotStatusVariants, formatAddress, gradientTextVariants, iconButtonVariants, index$2 as inputFormatter, installExtension, modal, parseNumber, registerSimpleDialog, registerSimpleSheet, scrollAreaVariants, setExtensionBuilder, startViewTransition, statisticVariants, textVariants, tv, useLocale, useLongPress, useMediaQuery, useModal, useMultiSort, useObserverElement, useOrderlyTheme, usePagination, useScreen, useThemeAttribute };
9411
+ export { ActionSheet, type ActionSheetItem, AddCircleIcon, AffiliateIcon, AlertDialog, type AlertDialogProps, ArrowDownShortIcon, ArrowDownSquareFillIcon, ArrowDownUpIcon, ArrowLeftRightIcon, ArrowLeftRightSquareFill, ArrowLeftShortIcon, ArrowRightShortIcon, ArrowRightUpSquareFillIcon, ArrowUpShortIcon, ArrowUpSquareFillIcon, AssetIcon, Avatar, Badge, type BadgeProps, BarChartIcon, type BaseActionSheetItem, type BaseIconProps, BattleActiveIcon, BattleIcon, BattleInactiveIcon, BattleSolidActiveIcon, BattleSolidInactiveIcon, BellIcon, Box, type BoxProps, Button, type ButtonProps, Calendar, CalendarIcon, CalendarMinusIcon, Card, CardBase, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDownIcon, CaretLeftIcon, CaretRightIcon, CaretUpIcon, ChainIcon, type ChainSelectProps, CheckIcon, CheckSquareEmptyIcon, Checkbox, CheckedCircleFillIcon, CheckedSquareFillIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleOutlinedIcon, CloseCircleFillIcon, CloseIcon, CloseRoundFillIcon, CloseSquareFillIcon, Collapse, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, type ColumnFixed, ConfirmDialog, type ConfirmProps, CopyIcon, DARK_THEME_CSS_VARS, DataFilter, type DataFilterItem, DataTable, type DataTableClassNames, type DataTableProps, DatePicker, type DatePickerProps, type DepositFormProps, Dialog, type DialogAction, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Divider, type DividerProps, DotStatus, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuTrigger, EVMAvatar, EarnActiveIcon, EarnIcon, EarnInactiveIcon, EditIcon, Either, EmptyDataState, type EmptyDataStateProps, EmptyStateIcon, EsOrderlyIcon, ExclamationFillIcon, EyeCloseIcon, EyeIcon, FeeTierIcon, Flex, type FlexProps, type FormattedTextProps, GradientText, Grid, HoverCard, HoverCardContent, type HoverCardProps, HoverCardRoot, HoverCardTrigger, Icon, IconButton, type IconButtonProps, type IconType, InfoCircleIcon, InjectableEmptyDataState, Input, InputAdditional, type InputFormatter, type InputFormatterOptions, type InputProps, type InputWithTooltipProps, LIGHT_THEME_CSS_VARS, LeaderboardActiveIcon, LeaderboardInactiveIcon, LeftNavVaultsIcon, ListView, type Locale, LocaleContext, LocaleProvider, Logo, type LogoProps, MarketsActiveIcon, MarketsInactiveIcon, Marquee, type MarqueeProps, type MenuItem, ModalContext, type ModalHocProps, ModalIdContext, ModalProvider, type MultiFieldSort, type MultiSortField, MultiSortHeader, type MultiSortHeaderProps, NewsFillIcon, type NumeralProps, index as OUITailwind, OrderlyIcon, OrderlyThemeProvider, type OrderlyThemeProviderProps, PaginationItems, type PaginationMeta, PeopleIcon, PerpsIcon, PersonIcon, Picker, PlusIcon, Popover, PopoverAnchor, PopoverContent, PopoverRoot, PopoverTrigger, PopupUnionIcon, PortfolioActiveIcon, PortfolioInactiveIcon, QuestionFillIcon, ReduceIcon, ReferralSolidIcon, RefreshIcon, RwaIcon, ScrollArea, ScrollBar, ScrollIndicator, type ScrollIndicatorProps, Select, SelectItem, type SelectOption, type SelectProps, SelectedChoicesFillIcon, ServerFillIcon, SettingFillIcon, SettingIcon, ShareIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SimpleDialog, SimpleDialogFooter, type SimpleDialogFooterProps, type SimpleDialogProps, SimpleDropdownMenu, SimpleSheet, type SizeType, Slider, type SliderMarks, type SortOrder, SortingAscIcon, SortingDescIcon, SortingIcon, Spinner, type SpinnerProps, SpotIcon, SquareOutlinedIcon, StarChildChatActiveIcon, StarChildChatInactiveIcon, Statistic, StatisticLabel, SwapHorizIcon, Switch, SymbolBadge, type SymbolBadgeTextProps, TabPanel, type TabPanelProps, type TableCellContext, type TableCellFormatter, type TableCellPlainTextRenderer, type TableCellRenderer, index$1 as TableFeatures, type TableSort, Tabs, TabsBase, TabsContent, TabsList, TabsTrigger, Text, TextField, type TextFieldProps, type TextProps, type TextType, type ThemeConfig, type ThemeCssVars, ThrottledButton, Tips, type TipsProps, ToastTile, Toaster, TokenIcon, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipProvider, TooltipRoot, TooltipTrigger, TraderMobileIcon, TradingActiveIcon, TradingIcon, TradingInactiveIcon, TradingLeftNavIcon, TradingRewardsIcon, TriggerDialog, type TriggerDialogProps, VaultsIcon, VectorIcon, WalletIcon, WarningIcon, WoofiStakeIcon, boxVariants, buttonVariants, capitalizeFirstLetter, convertValueToPercentage, dotStatusVariants, formatAddress, gradientTextVariants, iconButtonVariants, index$2 as inputFormatter, modal, parseNumber, registerSimpleDialog, registerSimpleSheet, scrollAreaVariants, startViewTransition, statisticVariants, textVariants, tv, useLocale, useLongPress, useMediaQuery, useModal, useMultiSort, useObserverElement, useOrderlyTheme, usePagination, useScreen, useThemeAttribute };
package/dist/index.d.ts CHANGED
@@ -28,6 +28,8 @@ export * from 'embla-carousel-react';
28
28
  export { default as useEmblaCarousel } from 'embla-carousel-react';
29
29
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
30
30
  import { DropdownMenuContentProps } from '@radix-ui/react-dropdown-menu';
31
+ import { ExtensionPosition } from '@orderly.network/plugin-core';
32
+ export { Extension, ExtensionBuilder, ExtensionOptions, ExtensionPosition, ExtensionPositionEnum, ExtensionProvider, ExtensionSlot, InterceptorTargetPropsMap, KnownInterceptorTarget, OrderlyExtensionRegistry, OrderlyPlugin, OrderlyPluginAPI, OrderlyPluginContextValue, OrderlyPluginProvider, OrderlyPluginRegistry, OrderlySDK, PluginErrorBoundary, PluginInterceptor, PluginInterceptorComponent, PluginRegistrationFn, PluginScopeContext, PluginScopeProvider, PluginScopeValue, createInterceptor, createOrderlySDK, injectable, installExtension, positionToPath, setExtensionBuilder, useExtensionContext, useInjectedComponent, useOrderlyPluginContext, usePluginScope } from '@orderly.network/plugin-core';
31
33
  import * as tailwindcss_types_config from 'tailwindcss/types/config';
32
34
  export * from 'embla-carousel-auto-scroll';
33
35
  export { default as AutoScroll } from 'embla-carousel-auto-scroll';
@@ -4425,10 +4427,14 @@ declare function useMultiSort(props: {
4425
4427
  } | undefined;
4426
4428
  };
4427
4429
 
4428
- declare const EmptyDataState: FC<{
4430
+ /** Props for Table.EmptyDataIdentifier injectable; used by plugins for typed interceptor */
4431
+ interface EmptyDataStateProps {
4429
4432
  title?: string;
4430
4433
  className?: string;
4431
- }>;
4434
+ }
4435
+ declare const EmptyDataState: FC<EmptyDataStateProps>;
4436
+ /** Injectable default for Table.EmptyDataIdentifier slot - plugins can intercept via OrderlyPluginProvider */
4437
+ declare const InjectableEmptyDataState: React$1.ComponentType<EmptyDataStateProps>;
4432
4438
 
4433
4439
  type MultiSortHeaderProps = {
4434
4440
  column: Column<any>;
@@ -8678,61 +8684,25 @@ type IconType = typeof BaseIcon & {
8678
8684
  };
8679
8685
  declare const Icon: IconType;
8680
8686
 
8681
- type ExtensionPosition = ExtensionPositionEnum | string;
8682
- declare enum ExtensionPositionEnum {
8683
- DepositForm = "depositForm",
8684
- WithdrawForm = "withdrawForm",
8685
- /**
8686
- * Wallet button
8687
- */
8688
- AccountMenu = "accountMenu",
8689
- MobileAccountMenu = "mobileAccountMenu",
8690
- MainMenus = "mainMenus",
8691
- EmptyDataIdentifier = "emptyDataIdentifier"
8687
+ /** Props for Deposit.DepositForm injectable; used by plugins for typed interceptor */
8688
+ interface DepositFormProps {
8689
+ onOk?: () => void;
8690
+ position?: string;
8691
+ [k: string]: unknown;
8692
8692
  }
8693
8693
 
8694
8694
  /**
8695
- * @name ExtensionOptions
8696
- * @description Extension meta data
8695
+ * Module augmentation: maps interceptor target paths to their component props types.
8696
+ * Import this file (or import from @orderly.network/ui) to enable typed props in
8697
+ * createInterceptor('Deposit.DepositForm', (Original, props, api) => ...).
8697
8698
  */
8698
- type ExtensionOptions<Props> = {
8699
- name: string;
8700
- /**
8701
- * which ctx data the extension available to use
8702
- */
8703
- scope?: string[];
8704
- /**
8705
- * @description define the extension require @orderly.network/hook version, optional
8706
- * @default "*"
8707
- */
8708
- engines?: string;
8709
- positions: ExtensionPosition[];
8710
- builder?: (props: any) => Props;
8711
- __isInternal?: boolean;
8712
- entry?: string[];
8713
- /**
8714
- * fire when the extension is installed
8715
- * @returns
8716
- */
8717
- installed?: () => Promise<void>;
8718
- onInit?: () => void;
8719
- activate?: () => Promise<void>;
8720
- deactivate?: () => Promise<void>;
8721
- };
8722
- type ExtensionRenderComponentType<Props> = ElementType<Props> | ((props: Props) => ReactElement);
8723
- declare const installExtension: <Props>(options: ExtensionOptions<Props>) => ((component: ExtensionRenderComponentType<Props>) => void);
8724
- /**
8725
- * update the extension builder function
8726
- */
8727
- declare const setExtensionBuilder: <Props extends unknown = {}>(position: ExtensionPosition, builder: () => Props) => void;
8728
8699
 
8729
- interface SlotProps {
8730
- position: ExtensionPosition;
8731
- defaultWidget?: React__default.FC;
8732
- scope?: string[];
8733
- [key: string]: any;
8700
+ declare module "@orderly.network/plugin-core" {
8701
+ interface InterceptorTargetPropsMap {
8702
+ "Deposit.DepositForm": DepositFormProps;
8703
+ "Table.EmptyDataIdentifier": EmptyDataStateProps;
8704
+ }
8734
8705
  }
8735
- declare const ExtensionSlot: React__default.FC<SlotProps>;
8736
8706
 
8737
8707
  declare const basePlugin: () => {
8738
8708
  handler: tailwindcss_types_config.PluginCreator;
@@ -9438,4 +9408,4 @@ declare const DotStatus: {
9438
9408
  displayName: string;
9439
9409
  };
9440
9410
 
9441
- export { ActionSheet, type ActionSheetItem, AddCircleIcon, AffiliateIcon, AlertDialog, type AlertDialogProps, ArrowDownShortIcon, ArrowDownSquareFillIcon, ArrowDownUpIcon, ArrowLeftRightIcon, ArrowLeftRightSquareFill, ArrowLeftShortIcon, ArrowRightShortIcon, ArrowRightUpSquareFillIcon, ArrowUpShortIcon, ArrowUpSquareFillIcon, AssetIcon, Avatar, Badge, type BadgeProps, BarChartIcon, type BaseActionSheetItem, type BaseIconProps, BattleActiveIcon, BattleIcon, BattleInactiveIcon, BattleSolidActiveIcon, BattleSolidInactiveIcon, BellIcon, Box, type BoxProps, Button, type ButtonProps, Calendar, CalendarIcon, CalendarMinusIcon, Card, CardBase, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDownIcon, CaretLeftIcon, CaretRightIcon, CaretUpIcon, ChainIcon, type ChainSelectProps, CheckIcon, CheckSquareEmptyIcon, Checkbox, CheckedCircleFillIcon, CheckedSquareFillIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleOutlinedIcon, CloseCircleFillIcon, CloseIcon, CloseRoundFillIcon, CloseSquareFillIcon, Collapse, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, type ColumnFixed, ConfirmDialog, type ConfirmProps, CopyIcon, DARK_THEME_CSS_VARS, DataFilter, type DataFilterItem, DataTable, type DataTableClassNames, type DataTableProps, DatePicker, type DatePickerProps, Dialog, type DialogAction, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Divider, type DividerProps, DotStatus, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuTrigger, EVMAvatar, EarnActiveIcon, EarnIcon, EarnInactiveIcon, EditIcon, Either, EmptyDataState, EmptyStateIcon, EsOrderlyIcon, ExclamationFillIcon, type ExtensionPosition, ExtensionPositionEnum, ExtensionSlot, EyeCloseIcon, EyeIcon, FeeTierIcon, Flex, type FlexProps, type FormattedTextProps, GradientText, Grid, HoverCard, HoverCardContent, type HoverCardProps, HoverCardRoot, HoverCardTrigger, Icon, IconButton, type IconButtonProps, type IconType, InfoCircleIcon, Input, InputAdditional, type InputFormatter, type InputFormatterOptions, type InputProps, type InputWithTooltipProps, LIGHT_THEME_CSS_VARS, LeaderboardActiveIcon, LeaderboardInactiveIcon, LeftNavVaultsIcon, ListView, type Locale, LocaleContext, LocaleProvider, Logo, type LogoProps, MarketsActiveIcon, MarketsInactiveIcon, Marquee, type MarqueeProps, type MenuItem, ModalContext, type ModalHocProps, ModalIdContext, ModalProvider, type MultiFieldSort, type MultiSortField, MultiSortHeader, type MultiSortHeaderProps, NewsFillIcon, type NumeralProps, index as OUITailwind, OrderlyIcon, OrderlyThemeProvider, type OrderlyThemeProviderProps, PaginationItems, type PaginationMeta, PeopleIcon, PerpsIcon, PersonIcon, Picker, PlusIcon, Popover, PopoverAnchor, PopoverContent, PopoverRoot, PopoverTrigger, PopupUnionIcon, PortfolioActiveIcon, PortfolioInactiveIcon, QuestionFillIcon, ReduceIcon, ReferralSolidIcon, RefreshIcon, RwaIcon, ScrollArea, ScrollBar, ScrollIndicator, type ScrollIndicatorProps, Select, SelectItem, type SelectOption, type SelectProps, SelectedChoicesFillIcon, ServerFillIcon, SettingFillIcon, SettingIcon, ShareIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SimpleDialog, SimpleDialogFooter, type SimpleDialogFooterProps, type SimpleDialogProps, SimpleDropdownMenu, SimpleSheet, type SizeType, Slider, type SliderMarks, type SortOrder, SortingAscIcon, SortingDescIcon, SortingIcon, Spinner, type SpinnerProps, SpotIcon, SquareOutlinedIcon, StarChildChatActiveIcon, StarChildChatInactiveIcon, Statistic, StatisticLabel, SwapHorizIcon, Switch, SymbolBadge, type SymbolBadgeTextProps, TabPanel, type TabPanelProps, type TableCellContext, type TableCellFormatter, type TableCellPlainTextRenderer, type TableCellRenderer, index$1 as TableFeatures, type TableSort, Tabs, TabsBase, TabsContent, TabsList, TabsTrigger, Text, TextField, type TextFieldProps, type TextProps, type TextType, type ThemeConfig, type ThemeCssVars, ThrottledButton, Tips, type TipsProps, ToastTile, Toaster, TokenIcon, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipProvider, TooltipRoot, TooltipTrigger, TraderMobileIcon, TradingActiveIcon, TradingIcon, TradingInactiveIcon, TradingLeftNavIcon, TradingRewardsIcon, TriggerDialog, type TriggerDialogProps, VaultsIcon, VectorIcon, WalletIcon, WarningIcon, WoofiStakeIcon, boxVariants, buttonVariants, capitalizeFirstLetter, convertValueToPercentage, dotStatusVariants, formatAddress, gradientTextVariants, iconButtonVariants, index$2 as inputFormatter, installExtension, modal, parseNumber, registerSimpleDialog, registerSimpleSheet, scrollAreaVariants, setExtensionBuilder, startViewTransition, statisticVariants, textVariants, tv, useLocale, useLongPress, useMediaQuery, useModal, useMultiSort, useObserverElement, useOrderlyTheme, usePagination, useScreen, useThemeAttribute };
9411
+ export { ActionSheet, type ActionSheetItem, AddCircleIcon, AffiliateIcon, AlertDialog, type AlertDialogProps, ArrowDownShortIcon, ArrowDownSquareFillIcon, ArrowDownUpIcon, ArrowLeftRightIcon, ArrowLeftRightSquareFill, ArrowLeftShortIcon, ArrowRightShortIcon, ArrowRightUpSquareFillIcon, ArrowUpShortIcon, ArrowUpSquareFillIcon, AssetIcon, Avatar, Badge, type BadgeProps, BarChartIcon, type BaseActionSheetItem, type BaseIconProps, BattleActiveIcon, BattleIcon, BattleInactiveIcon, BattleSolidActiveIcon, BattleSolidInactiveIcon, BellIcon, Box, type BoxProps, Button, type ButtonProps, Calendar, CalendarIcon, CalendarMinusIcon, Card, CardBase, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CaretDownIcon, CaretLeftIcon, CaretRightIcon, CaretUpIcon, ChainIcon, type ChainSelectProps, CheckIcon, CheckSquareEmptyIcon, Checkbox, CheckedCircleFillIcon, CheckedSquareFillIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleOutlinedIcon, CloseCircleFillIcon, CloseIcon, CloseRoundFillIcon, CloseSquareFillIcon, Collapse, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, type ColumnFixed, ConfirmDialog, type ConfirmProps, CopyIcon, DARK_THEME_CSS_VARS, DataFilter, type DataFilterItem, DataTable, type DataTableClassNames, type DataTableProps, DatePicker, type DatePickerProps, type DepositFormProps, Dialog, type DialogAction, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Divider, type DividerProps, DotStatus, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuTrigger, EVMAvatar, EarnActiveIcon, EarnIcon, EarnInactiveIcon, EditIcon, Either, EmptyDataState, type EmptyDataStateProps, EmptyStateIcon, EsOrderlyIcon, ExclamationFillIcon, EyeCloseIcon, EyeIcon, FeeTierIcon, Flex, type FlexProps, type FormattedTextProps, GradientText, Grid, HoverCard, HoverCardContent, type HoverCardProps, HoverCardRoot, HoverCardTrigger, Icon, IconButton, type IconButtonProps, type IconType, InfoCircleIcon, InjectableEmptyDataState, Input, InputAdditional, type InputFormatter, type InputFormatterOptions, type InputProps, type InputWithTooltipProps, LIGHT_THEME_CSS_VARS, LeaderboardActiveIcon, LeaderboardInactiveIcon, LeftNavVaultsIcon, ListView, type Locale, LocaleContext, LocaleProvider, Logo, type LogoProps, MarketsActiveIcon, MarketsInactiveIcon, Marquee, type MarqueeProps, type MenuItem, ModalContext, type ModalHocProps, ModalIdContext, ModalProvider, type MultiFieldSort, type MultiSortField, MultiSortHeader, type MultiSortHeaderProps, NewsFillIcon, type NumeralProps, index as OUITailwind, OrderlyIcon, OrderlyThemeProvider, type OrderlyThemeProviderProps, PaginationItems, type PaginationMeta, PeopleIcon, PerpsIcon, PersonIcon, Picker, PlusIcon, Popover, PopoverAnchor, PopoverContent, PopoverRoot, PopoverTrigger, PopupUnionIcon, PortfolioActiveIcon, PortfolioInactiveIcon, QuestionFillIcon, ReduceIcon, ReferralSolidIcon, RefreshIcon, RwaIcon, ScrollArea, ScrollBar, ScrollIndicator, type ScrollIndicatorProps, Select, SelectItem, type SelectOption, type SelectProps, SelectedChoicesFillIcon, ServerFillIcon, SettingFillIcon, SettingIcon, ShareIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SimpleDialog, SimpleDialogFooter, type SimpleDialogFooterProps, type SimpleDialogProps, SimpleDropdownMenu, SimpleSheet, type SizeType, Slider, type SliderMarks, type SortOrder, SortingAscIcon, SortingDescIcon, SortingIcon, Spinner, type SpinnerProps, SpotIcon, SquareOutlinedIcon, StarChildChatActiveIcon, StarChildChatInactiveIcon, Statistic, StatisticLabel, SwapHorizIcon, Switch, SymbolBadge, type SymbolBadgeTextProps, TabPanel, type TabPanelProps, type TableCellContext, type TableCellFormatter, type TableCellPlainTextRenderer, type TableCellRenderer, index$1 as TableFeatures, type TableSort, Tabs, TabsBase, TabsContent, TabsList, TabsTrigger, Text, TextField, type TextFieldProps, type TextProps, type TextType, type ThemeConfig, type ThemeCssVars, ThrottledButton, Tips, type TipsProps, ToastTile, Toaster, TokenIcon, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipProvider, TooltipRoot, TooltipTrigger, TraderMobileIcon, TradingActiveIcon, TradingIcon, TradingInactiveIcon, TradingLeftNavIcon, TradingRewardsIcon, TriggerDialog, type TriggerDialogProps, VaultsIcon, VectorIcon, WalletIcon, WarningIcon, WoofiStakeIcon, boxVariants, buttonVariants, capitalizeFirstLetter, convertValueToPercentage, dotStatusVariants, formatAddress, gradientTextVariants, iconButtonVariants, index$2 as inputFormatter, modal, parseNumber, registerSimpleDialog, registerSimpleSheet, scrollAreaVariants, startViewTransition, statisticVariants, textVariants, tv, useLocale, useLongPress, useMediaQuery, useModal, useMultiSort, useObserverElement, useOrderlyTheme, usePagination, useScreen, useThemeAttribute };
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ var ScrollAreaPrimitive = require('@radix-ui/react-scroll-area');
17
17
  var CheckboxPrimitive = require('@radix-ui/react-checkbox');
18
18
  var SwitchPrimitives = require('@radix-ui/react-switch');
19
19
  var reactTable = require('@tanstack/react-table');
20
- var reactErrorBoundary = require('react-error-boundary');
20
+ var pluginCore = require('@orderly.network/plugin-core');
21
21
  var reactDayPicker = require('react-day-picker');
22
22
  var TabsPrimitive = require('@radix-ui/react-tabs');
23
23
  var HoverCardPrimitive = require('@radix-ui/react-hover-card');
@@ -8842,139 +8842,26 @@ var TablePagination = (props) => {
8842
8842
  }
8843
8843
  ) });
8844
8844
  };
8845
- var OrderlyExtensionRegistry = class _OrderlyExtensionRegistry {
8846
- // private static _instance: OrderlyExtensionRegistry;
8847
- static getInstance() {
8848
- const globalObject = utils.getGlobalObject();
8849
- if (!globalObject.__ORDERLY_EXTENSION_REGISTRY__) {
8850
- globalObject.__ORDERLY_EXTENSION_REGISTRY__ = new _OrderlyExtensionRegistry();
8851
- }
8852
- return globalObject.__ORDERLY_EXTENSION_REGISTRY__;
8853
- }
8854
- extensionMap = /* @__PURE__ */ new Map();
8855
- // private formatterMap: Map<string, Function> = new Map();
8856
- register(plugin3) {
8857
- if (!plugin3.builder) ;
8858
- for (let index = 0; index < plugin3.positions.length; index++) {
8859
- if (typeof plugin3.builder !== "function") {
8860
- const builder = this.extensionMap.get(plugin3.positions[index])?.builder;
8861
- plugin3.builder = typeof builder === "undefined" ? (
8862
- // ? DEFAULT_BUILDER
8863
- void 0
8864
- ) : builder;
8865
- }
8866
- const pos = plugin3.positions[index];
8867
- this.registerToPosition(pos, plugin3);
8868
- }
8869
- }
8870
- registerToPosition(position, plugin3) {
8871
- if (this.extensionMap.has(position)) {
8872
- const existingPlugin = this.extensionMap.get(position);
8873
- if (!existingPlugin?.__isInternal) {
8874
- if (!existingPlugin?.builder && plugin3.__isInternal) {
8875
- this.setBuilder(position, plugin3.builder);
8876
- }
8877
- return;
8878
- }
8879
- if (!plugin3.builder) {
8880
- plugin3.builder = existingPlugin.builder;
8881
- }
8882
- }
8883
- this.extensionMap.set(position, plugin3);
8884
- }
8885
- setBuilder(position, builder) {
8886
- const plugin3 = this.extensionMap.get(position);
8887
- if (plugin3) {
8888
- plugin3.builder = builder;
8889
- }
8890
- }
8891
- unregister(plugin3) {
8892
- for (let index = 0; index < plugin3.positions.length; index++) {
8893
- const pos = plugin3.positions[index];
8894
- this.unregisterFromPosition(pos);
8895
- }
8896
- }
8897
- unregisterFromPosition(position) {
8898
- this.extensionMap.delete(position);
8899
- }
8900
- getPluginsByPosition(position) {
8901
- return this.extensionMap.get(position);
8902
- }
8903
- /**
8904
- * get the registered formatter by position
8905
- * @param position
8906
- */
8907
- getFormatterByPosition(position) {
8908
- return this.extensionMap.get(position);
8909
- }
8910
- };
8911
-
8912
- // src/plugin/install.tsx
8913
- var installExtension = (options) => {
8914
- return (component) => {
8915
- const registry = OrderlyExtensionRegistry.getInstance();
8916
- registry.register({
8917
- name: options.name,
8918
- positions: options.positions,
8919
- __isInternal: !!options.__isInternal,
8920
- builder: options.builder,
8921
- render: component
8922
- });
8923
- };
8924
- };
8925
- var setExtensionBuilder = (position, builder) => {
8926
- const registry = OrderlyExtensionRegistry.getInstance();
8927
- registry.setBuilder(position, builder);
8928
- };
8929
- var NotFound = (props) => {
8930
- const { position } = props;
8931
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "oui-text-danger", children: [
8932
- /* @__PURE__ */ jsxRuntime.jsx("strong", { children: `[${position}] ` }),
8933
- /* @__PURE__ */ jsxRuntime.jsx("span", { children: "Not found!" })
8934
- ] });
8935
- };
8936
-
8937
- // src/plugin/useBuilder.ts
8938
- var useBuilder = (position, props) => {
8939
- const registry = OrderlyExtensionRegistry.getInstance();
8940
- const plugin3 = registry.getPluginsByPosition(position);
8941
- return () => {
8942
- return plugin3?.builder?.(props) || props;
8943
- };
8944
- };
8945
-
8946
- // src/plugin/useExtensionBuilder.ts
8947
- var useExtensionBuilder = (position, props) => {
8948
- const builder = useBuilder(position, props);
8949
- return builder();
8950
- };
8951
- var ExtensionSlot = (props) => {
8952
- const { position, scope, defaultWidget: defaultValue, ...rest } = props;
8953
- const elementProps = useExtensionBuilder(position, rest);
8954
- const Ele = React79.useMemo(() => {
8955
- const registry = OrderlyExtensionRegistry.getInstance();
8956
- const plugin3 = registry.getPluginsByPosition(position);
8957
- return plugin3?.render ?? defaultValue ?? NotFound;
8958
- }, []);
8959
- return /* @__PURE__ */ jsxRuntime.jsx(
8960
- reactErrorBoundary.ErrorBoundary,
8845
+ var EmptyDataState = (props) => {
8846
+ const [locale] = useLocale("empty");
8847
+ return /* @__PURE__ */ jsxRuntime.jsxs(
8848
+ Flex,
8961
8849
  {
8962
- fallback: /* @__PURE__ */ jsxRuntime.jsx("div", { children: `Component: [${position}] went wrong` }),
8963
- children: /* @__PURE__ */ jsxRuntime.jsx(reactSlot.Slot, { ...elementProps, position, children: /* @__PURE__ */ jsxRuntime.jsx(Ele, {}) })
8850
+ itemAlign: "center",
8851
+ direction: "column",
8852
+ gapY: 4,
8853
+ className: props.className,
8854
+ children: [
8855
+ /* @__PURE__ */ jsxRuntime.jsx(Box, { children: /* @__PURE__ */ jsxRuntime.jsx(emptyData_default, {}) }),
8856
+ /* @__PURE__ */ jsxRuntime.jsx(Text2, { as: "div", intensity: 36, size: "2xs", children: props.title ?? locale.description })
8857
+ ]
8964
8858
  }
8965
8859
  );
8966
8860
  };
8967
-
8968
- // src/plugin/types.ts
8969
- var ExtensionPositionEnum = /* @__PURE__ */ ((ExtensionPositionEnum2) => {
8970
- ExtensionPositionEnum2["DepositForm"] = "depositForm";
8971
- ExtensionPositionEnum2["WithdrawForm"] = "withdrawForm";
8972
- ExtensionPositionEnum2["AccountMenu"] = "accountMenu";
8973
- ExtensionPositionEnum2["MobileAccountMenu"] = "mobileAccountMenu";
8974
- ExtensionPositionEnum2["MainMenus"] = "mainMenus";
8975
- ExtensionPositionEnum2["EmptyDataIdentifier"] = "emptyDataIdentifier";
8976
- return ExtensionPositionEnum2;
8977
- })(ExtensionPositionEnum || {});
8861
+ var InjectableEmptyDataState = pluginCore.injectable(
8862
+ EmptyDataState,
8863
+ "Table.EmptyDataIdentifier"
8864
+ );
8978
8865
  var TablePlaceholder = (props) => {
8979
8866
  const { visible, loading, emptyView, className } = props;
8980
8867
  if (!visible) {
@@ -8992,7 +8879,7 @@ var TablePlaceholder = (props) => {
8992
8879
  "oui-flex oui-items-center oui-justify-center",
8993
8880
  className
8994
8881
  ),
8995
- children: loading ? /* @__PURE__ */ jsxRuntime.jsx(Spinner, {}) : emptyView || /* @__PURE__ */ jsxRuntime.jsx(ExtensionSlot, { position: "emptyDataIdentifier" /* EmptyDataIdentifier */ })
8882
+ children: loading ? /* @__PURE__ */ jsxRuntime.jsx(Spinner, {}) : emptyView || /* @__PURE__ */ jsxRuntime.jsx(InjectableEmptyDataState, {})
8996
8883
  }
8997
8884
  );
8998
8885
  };
@@ -9909,26 +9796,6 @@ var usePagination = (initial) => {
9909
9796
  parsePagination
9910
9797
  };
9911
9798
  };
9912
- var EmptyDataState = (props) => {
9913
- const [locale] = useLocale("empty");
9914
- return /* @__PURE__ */ jsxRuntime.jsxs(
9915
- Flex,
9916
- {
9917
- itemAlign: "center",
9918
- direction: "column",
9919
- gapY: 4,
9920
- className: props.className,
9921
- children: [
9922
- /* @__PURE__ */ jsxRuntime.jsx(Box, { children: /* @__PURE__ */ jsxRuntime.jsx(emptyData_default, {}) }),
9923
- /* @__PURE__ */ jsxRuntime.jsx(Text2, { as: "div", intensity: 36, size: "2xs", children: props.title ?? locale.description })
9924
- ]
9925
- }
9926
- );
9927
- };
9928
- installExtension({
9929
- name: "emptyDataIdentifier",
9930
- positions: ["emptyDataIdentifier" /* EmptyDataIdentifier */]
9931
- })(EmptyDataState);
9932
9799
 
9933
9800
  // src/table/features/index.ts
9934
9801
  var features_exports = {};
@@ -11623,19 +11490,23 @@ var SimpleDropdownMenu = (props) => {
11623
11490
  ) })
11624
11491
  ] });
11625
11492
  };
11493
+
11494
+ // src/provider/componentProvider.tsx
11495
+ var COMPONENTS_PLUGIN_ID = "orderly-components-provider-overrides";
11626
11496
  var ComponentsProvider = (props) => {
11627
11497
  React79.useEffect(() => {
11628
11498
  if (props.components && Object.keys(props.components).length) {
11629
- for (const position in props.components) {
11630
- const Element = props.components[position];
11631
- installExtension({
11632
- name: Element.displayName ?? `custom-component-${position}`,
11633
- positions: [position],
11634
- __isInternal: false
11635
- })((props2) => {
11636
- return /* @__PURE__ */ jsxRuntime.jsx(Element, { ...props2 });
11637
- });
11638
- }
11499
+ const interceptors = Object.entries(props.components).map(
11500
+ ([position, Element]) => ({
11501
+ target: pluginCore.positionToPath(position),
11502
+ component: (_Original, slotProps) => React79.createElement(Element, slotProps)
11503
+ })
11504
+ );
11505
+ pluginCore.OrderlyPluginRegistry.register({
11506
+ id: COMPONENTS_PLUGIN_ID,
11507
+ name: "ComponentsProvider",
11508
+ interceptors
11509
+ });
11639
11510
  }
11640
11511
  }, [props.components]);
11641
11512
  return props.children;
@@ -11997,6 +11868,82 @@ Object.defineProperty(exports, "cn", {
11997
11868
  enumerable: true,
11998
11869
  get: function () { return tailwindVariants.cnBase; }
11999
11870
  });
11871
+ Object.defineProperty(exports, "ExtensionPositionEnum", {
11872
+ enumerable: true,
11873
+ get: function () { return pluginCore.ExtensionPositionEnum; }
11874
+ });
11875
+ Object.defineProperty(exports, "ExtensionProvider", {
11876
+ enumerable: true,
11877
+ get: function () { return pluginCore.ExtensionProvider; }
11878
+ });
11879
+ Object.defineProperty(exports, "ExtensionSlot", {
11880
+ enumerable: true,
11881
+ get: function () { return pluginCore.ExtensionSlot; }
11882
+ });
11883
+ Object.defineProperty(exports, "OrderlyExtensionRegistry", {
11884
+ enumerable: true,
11885
+ get: function () { return pluginCore.OrderlyExtensionRegistry; }
11886
+ });
11887
+ Object.defineProperty(exports, "OrderlyPluginProvider", {
11888
+ enumerable: true,
11889
+ get: function () { return pluginCore.OrderlyPluginProvider; }
11890
+ });
11891
+ Object.defineProperty(exports, "OrderlyPluginRegistry", {
11892
+ enumerable: true,
11893
+ get: function () { return pluginCore.OrderlyPluginRegistry; }
11894
+ });
11895
+ Object.defineProperty(exports, "PluginErrorBoundary", {
11896
+ enumerable: true,
11897
+ get: function () { return pluginCore.PluginErrorBoundary; }
11898
+ });
11899
+ Object.defineProperty(exports, "PluginScopeContext", {
11900
+ enumerable: true,
11901
+ get: function () { return pluginCore.PluginScopeContext; }
11902
+ });
11903
+ Object.defineProperty(exports, "PluginScopeProvider", {
11904
+ enumerable: true,
11905
+ get: function () { return pluginCore.PluginScopeProvider; }
11906
+ });
11907
+ Object.defineProperty(exports, "createInterceptor", {
11908
+ enumerable: true,
11909
+ get: function () { return pluginCore.createInterceptor; }
11910
+ });
11911
+ Object.defineProperty(exports, "createOrderlySDK", {
11912
+ enumerable: true,
11913
+ get: function () { return pluginCore.createOrderlySDK; }
11914
+ });
11915
+ Object.defineProperty(exports, "injectable", {
11916
+ enumerable: true,
11917
+ get: function () { return pluginCore.injectable; }
11918
+ });
11919
+ Object.defineProperty(exports, "installExtension", {
11920
+ enumerable: true,
11921
+ get: function () { return pluginCore.installExtension; }
11922
+ });
11923
+ Object.defineProperty(exports, "positionToPath", {
11924
+ enumerable: true,
11925
+ get: function () { return pluginCore.positionToPath; }
11926
+ });
11927
+ Object.defineProperty(exports, "setExtensionBuilder", {
11928
+ enumerable: true,
11929
+ get: function () { return pluginCore.setExtensionBuilder; }
11930
+ });
11931
+ Object.defineProperty(exports, "useExtensionContext", {
11932
+ enumerable: true,
11933
+ get: function () { return pluginCore.useExtensionContext; }
11934
+ });
11935
+ Object.defineProperty(exports, "useInjectedComponent", {
11936
+ enumerable: true,
11937
+ get: function () { return pluginCore.useInjectedComponent; }
11938
+ });
11939
+ Object.defineProperty(exports, "useOrderlyPluginContext", {
11940
+ enumerable: true,
11941
+ get: function () { return pluginCore.useOrderlyPluginContext; }
11942
+ });
11943
+ Object.defineProperty(exports, "usePluginScope", {
11944
+ enumerable: true,
11945
+ get: function () { return pluginCore.usePluginScope; }
11946
+ });
12000
11947
  Object.defineProperty(exports, "toast", {
12001
11948
  enumerable: true,
12002
11949
  get: function () { return reactHotToast__default.default; }
@@ -12112,8 +12059,6 @@ exports.EmptyDataState = EmptyDataState;
12112
12059
  exports.EmptyStateIcon = EmptyStateIcon;
12113
12060
  exports.EsOrderlyIcon = EsOrderlyIcon;
12114
12061
  exports.ExclamationFillIcon = ExclamationFillIcon;
12115
- exports.ExtensionPositionEnum = ExtensionPositionEnum;
12116
- exports.ExtensionSlot = ExtensionSlot;
12117
12062
  exports.EyeCloseIcon = EyeCloseIcon;
12118
12063
  exports.EyeIcon = EyeIcon;
12119
12064
  exports.FeeTierIcon = FeeTierIcon;
@@ -12127,6 +12072,7 @@ exports.HoverCardTrigger = HoverCardTrigger;
12127
12072
  exports.Icon = Icon;
12128
12073
  exports.IconButton = IconButton;
12129
12074
  exports.InfoCircleIcon = InfoCircleIcon;
12075
+ exports.InjectableEmptyDataState = InjectableEmptyDataState;
12130
12076
  exports.Input = Input2;
12131
12077
  exports.InputAdditional = InputAdditional;
12132
12078
  exports.LIGHT_THEME_CSS_VARS = LIGHT_THEME_CSS_VARS;
@@ -12247,13 +12193,11 @@ exports.formatAddress = formatAddress;
12247
12193
  exports.gradientTextVariants = gradientTextVariants;
12248
12194
  exports.iconButtonVariants = iconButtonVariants;
12249
12195
  exports.inputFormatter = formatter_exports;
12250
- exports.installExtension = installExtension;
12251
12196
  exports.modal = modal;
12252
12197
  exports.parseNumber = parseNumber;
12253
12198
  exports.registerSimpleDialog = registerSimpleDialog;
12254
12199
  exports.registerSimpleSheet = registerSimpleSheet;
12255
12200
  exports.scrollAreaVariants = scrollAreaVariants;
12256
- exports.setExtensionBuilder = setExtensionBuilder;
12257
12201
  exports.startViewTransition = startViewTransition;
12258
12202
  exports.statisticVariants = statisticVariants;
12259
12203
  exports.textVariants = textVariants;