@orderly.network/ui 2.11.0 → 3.0.0-beta.1

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';
@@ -4409,10 +4411,14 @@ declare function useMultiSort(props: {
4409
4411
  } | undefined;
4410
4412
  };
4411
4413
 
4412
- declare const EmptyDataState: FC<{
4414
+ /** Props for Table.EmptyDataIdentifier injectable; used by plugins for typed interceptor */
4415
+ interface EmptyDataStateProps {
4413
4416
  title?: string;
4414
4417
  className?: string;
4415
- }>;
4418
+ }
4419
+ declare const EmptyDataState: FC<EmptyDataStateProps>;
4420
+ /** Injectable default for Table.EmptyDataIdentifier slot - plugins can intercept via OrderlyPluginProvider */
4421
+ declare const InjectableEmptyDataState: React$1.ComponentType<EmptyDataStateProps>;
4416
4422
 
4417
4423
  type MultiSortHeaderProps = {
4418
4424
  column: Column<any>;
@@ -8650,61 +8656,25 @@ type IconType = typeof BaseIcon & {
8650
8656
  };
8651
8657
  declare const Icon: IconType;
8652
8658
 
8653
- type ExtensionPosition = ExtensionPositionEnum | string;
8654
- declare enum ExtensionPositionEnum {
8655
- DepositForm = "depositForm",
8656
- WithdrawForm = "withdrawForm",
8657
- /**
8658
- * Wallet button
8659
- */
8660
- AccountMenu = "accountMenu",
8661
- MobileAccountMenu = "mobileAccountMenu",
8662
- MainMenus = "mainMenus",
8663
- EmptyDataIdentifier = "emptyDataIdentifier"
8659
+ /** Props for Deposit.DepositForm injectable; used by plugins for typed interceptor */
8660
+ interface DepositFormProps {
8661
+ onOk?: () => void;
8662
+ position?: string;
8663
+ [k: string]: unknown;
8664
8664
  }
8665
8665
 
8666
8666
  /**
8667
- * @name ExtensionOptions
8668
- * @description Extension meta data
8667
+ * Module augmentation: maps interceptor target paths to their component props types.
8668
+ * Import this file (or import from @orderly.network/ui) to enable typed props in
8669
+ * createInterceptor('Deposit.DepositForm', (Original, props, api) => ...).
8669
8670
  */
8670
- type ExtensionOptions<Props> = {
8671
- name: string;
8672
- /**
8673
- * which ctx data the extension available to use
8674
- */
8675
- scope?: string[];
8676
- /**
8677
- * @description define the extension require @orderly.network/hook version, optional
8678
- * @default "*"
8679
- */
8680
- engines?: string;
8681
- positions: ExtensionPosition[];
8682
- builder?: (props: any) => Props;
8683
- __isInternal?: boolean;
8684
- entry?: string[];
8685
- /**
8686
- * fire when the extension is installed
8687
- * @returns
8688
- */
8689
- installed?: () => Promise<void>;
8690
- onInit?: () => void;
8691
- activate?: () => Promise<void>;
8692
- deactivate?: () => Promise<void>;
8693
- };
8694
- type ExtensionRenderComponentType<Props> = ElementType<Props> | ((props: Props) => ReactElement);
8695
- declare const installExtension: <Props>(options: ExtensionOptions<Props>) => ((component: ExtensionRenderComponentType<Props>) => void);
8696
- /**
8697
- * update the extension builder function
8698
- */
8699
- declare const setExtensionBuilder: <Props extends unknown = {}>(position: ExtensionPosition, builder: () => Props) => void;
8700
8671
 
8701
- interface SlotProps {
8702
- position: ExtensionPosition;
8703
- defaultWidget?: React__default.FC;
8704
- scope?: string[];
8705
- [key: string]: any;
8672
+ declare module "@orderly.network/plugin-core" {
8673
+ interface InterceptorTargetPropsMap {
8674
+ "Deposit.DepositForm": DepositFormProps;
8675
+ "Table.EmptyDataIdentifier": EmptyDataStateProps;
8676
+ }
8706
8677
  }
8707
- declare const ExtensionSlot: React__default.FC<SlotProps>;
8708
8678
 
8709
8679
  declare const basePlugin: () => {
8710
8680
  handler: tailwindcss_types_config.PluginCreator;
@@ -9410,4 +9380,4 @@ declare const DotStatus: {
9410
9380
  displayName: string;
9411
9381
  };
9412
9382
 
9413
- export { ActionSheet, type ActionSheetItem, AddCircleIcon, AffiliateIcon, AlertDialog, type AlertDialogProps, ArrowDownShortIcon, ArrowDownSquareFillIcon, ArrowDownUpIcon, ArrowLeftRightIcon, ArrowLeftRightSquareFill, ArrowLeftShortIcon, ArrowRightShortIcon, ArrowRightUpSquareFillIcon, ArrowUpShortIcon, ArrowUpSquareFillIcon, AssetIcon, Avatar, Badge, 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, 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 };
9383
+ export { ActionSheet, type ActionSheetItem, AddCircleIcon, AffiliateIcon, AlertDialog, type AlertDialogProps, ArrowDownShortIcon, ArrowDownSquareFillIcon, ArrowDownUpIcon, ArrowLeftRightIcon, ArrowLeftRightSquareFill, ArrowLeftShortIcon, ArrowRightShortIcon, ArrowRightUpSquareFillIcon, ArrowUpShortIcon, ArrowUpSquareFillIcon, AssetIcon, Avatar, Badge, 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, 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';
@@ -4409,10 +4411,14 @@ declare function useMultiSort(props: {
4409
4411
  } | undefined;
4410
4412
  };
4411
4413
 
4412
- declare const EmptyDataState: FC<{
4414
+ /** Props for Table.EmptyDataIdentifier injectable; used by plugins for typed interceptor */
4415
+ interface EmptyDataStateProps {
4413
4416
  title?: string;
4414
4417
  className?: string;
4415
- }>;
4418
+ }
4419
+ declare const EmptyDataState: FC<EmptyDataStateProps>;
4420
+ /** Injectable default for Table.EmptyDataIdentifier slot - plugins can intercept via OrderlyPluginProvider */
4421
+ declare const InjectableEmptyDataState: React$1.ComponentType<EmptyDataStateProps>;
4416
4422
 
4417
4423
  type MultiSortHeaderProps = {
4418
4424
  column: Column<any>;
@@ -8650,61 +8656,25 @@ type IconType = typeof BaseIcon & {
8650
8656
  };
8651
8657
  declare const Icon: IconType;
8652
8658
 
8653
- type ExtensionPosition = ExtensionPositionEnum | string;
8654
- declare enum ExtensionPositionEnum {
8655
- DepositForm = "depositForm",
8656
- WithdrawForm = "withdrawForm",
8657
- /**
8658
- * Wallet button
8659
- */
8660
- AccountMenu = "accountMenu",
8661
- MobileAccountMenu = "mobileAccountMenu",
8662
- MainMenus = "mainMenus",
8663
- EmptyDataIdentifier = "emptyDataIdentifier"
8659
+ /** Props for Deposit.DepositForm injectable; used by plugins for typed interceptor */
8660
+ interface DepositFormProps {
8661
+ onOk?: () => void;
8662
+ position?: string;
8663
+ [k: string]: unknown;
8664
8664
  }
8665
8665
 
8666
8666
  /**
8667
- * @name ExtensionOptions
8668
- * @description Extension meta data
8667
+ * Module augmentation: maps interceptor target paths to their component props types.
8668
+ * Import this file (or import from @orderly.network/ui) to enable typed props in
8669
+ * createInterceptor('Deposit.DepositForm', (Original, props, api) => ...).
8669
8670
  */
8670
- type ExtensionOptions<Props> = {
8671
- name: string;
8672
- /**
8673
- * which ctx data the extension available to use
8674
- */
8675
- scope?: string[];
8676
- /**
8677
- * @description define the extension require @orderly.network/hook version, optional
8678
- * @default "*"
8679
- */
8680
- engines?: string;
8681
- positions: ExtensionPosition[];
8682
- builder?: (props: any) => Props;
8683
- __isInternal?: boolean;
8684
- entry?: string[];
8685
- /**
8686
- * fire when the extension is installed
8687
- * @returns
8688
- */
8689
- installed?: () => Promise<void>;
8690
- onInit?: () => void;
8691
- activate?: () => Promise<void>;
8692
- deactivate?: () => Promise<void>;
8693
- };
8694
- type ExtensionRenderComponentType<Props> = ElementType<Props> | ((props: Props) => ReactElement);
8695
- declare const installExtension: <Props>(options: ExtensionOptions<Props>) => ((component: ExtensionRenderComponentType<Props>) => void);
8696
- /**
8697
- * update the extension builder function
8698
- */
8699
- declare const setExtensionBuilder: <Props extends unknown = {}>(position: ExtensionPosition, builder: () => Props) => void;
8700
8671
 
8701
- interface SlotProps {
8702
- position: ExtensionPosition;
8703
- defaultWidget?: React__default.FC;
8704
- scope?: string[];
8705
- [key: string]: any;
8672
+ declare module "@orderly.network/plugin-core" {
8673
+ interface InterceptorTargetPropsMap {
8674
+ "Deposit.DepositForm": DepositFormProps;
8675
+ "Table.EmptyDataIdentifier": EmptyDataStateProps;
8676
+ }
8706
8677
  }
8707
- declare const ExtensionSlot: React__default.FC<SlotProps>;
8708
8678
 
8709
8679
  declare const basePlugin: () => {
8710
8680
  handler: tailwindcss_types_config.PluginCreator;
@@ -9410,4 +9380,4 @@ declare const DotStatus: {
9410
9380
  displayName: string;
9411
9381
  };
9412
9382
 
9413
- export { ActionSheet, type ActionSheetItem, AddCircleIcon, AffiliateIcon, AlertDialog, type AlertDialogProps, ArrowDownShortIcon, ArrowDownSquareFillIcon, ArrowDownUpIcon, ArrowLeftRightIcon, ArrowLeftRightSquareFill, ArrowLeftShortIcon, ArrowRightShortIcon, ArrowRightUpSquareFillIcon, ArrowUpShortIcon, ArrowUpSquareFillIcon, AssetIcon, Avatar, Badge, 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, 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 };
9383
+ export { ActionSheet, type ActionSheetItem, AddCircleIcon, AffiliateIcon, AlertDialog, type AlertDialogProps, ArrowDownShortIcon, ArrowDownSquareFillIcon, ArrowDownUpIcon, ArrowLeftRightIcon, ArrowLeftRightSquareFill, ArrowLeftShortIcon, ArrowRightShortIcon, ArrowRightUpSquareFillIcon, ArrowUpShortIcon, ArrowUpSquareFillIcon, AssetIcon, Avatar, Badge, 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, 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
@@ -16,7 +16,7 @@ var CheckboxPrimitive = require('@radix-ui/react-checkbox');
16
16
  var SwitchPrimitives = require('@radix-ui/react-switch');
17
17
  var reactTable = require('@tanstack/react-table');
18
18
  var locale = require('date-fns/locale');
19
- var reactErrorBoundary = require('react-error-boundary');
19
+ var pluginCore = require('@orderly.network/plugin-core');
20
20
  var reactDayPicker = require('react-day-picker');
21
21
  var DialogPrimitive = require('@radix-ui/react-dialog');
22
22
  var TabsPrimitive = require('@radix-ui/react-tabs');
@@ -7464,139 +7464,26 @@ var TablePagination = (props) => {
7464
7464
  }
7465
7465
  ) });
7466
7466
  };
7467
- var OrderlyExtensionRegistry = class _OrderlyExtensionRegistry {
7468
- // private static _instance: OrderlyExtensionRegistry;
7469
- static getInstance() {
7470
- const globalObject = utils.getGlobalObject();
7471
- if (!globalObject.__ORDERLY_EXTENSION_REGISTRY__) {
7472
- globalObject.__ORDERLY_EXTENSION_REGISTRY__ = new _OrderlyExtensionRegistry();
7473
- }
7474
- return globalObject.__ORDERLY_EXTENSION_REGISTRY__;
7475
- }
7476
- extensionMap = /* @__PURE__ */ new Map();
7477
- // private formatterMap: Map<string, Function> = new Map();
7478
- register(plugin3) {
7479
- if (!plugin3.builder) ;
7480
- for (let index = 0; index < plugin3.positions.length; index++) {
7481
- if (typeof plugin3.builder !== "function") {
7482
- const builder = this.extensionMap.get(plugin3.positions[index])?.builder;
7483
- plugin3.builder = typeof builder === "undefined" ? (
7484
- // ? DEFAULT_BUILDER
7485
- void 0
7486
- ) : builder;
7487
- }
7488
- const pos = plugin3.positions[index];
7489
- this.registerToPosition(pos, plugin3);
7490
- }
7491
- }
7492
- registerToPosition(position, plugin3) {
7493
- if (this.extensionMap.has(position)) {
7494
- const existingPlugin = this.extensionMap.get(position);
7495
- if (!existingPlugin?.__isInternal) {
7496
- if (!existingPlugin?.builder && plugin3.__isInternal) {
7497
- this.setBuilder(position, plugin3.builder);
7498
- }
7499
- return;
7500
- }
7501
- if (!plugin3.builder) {
7502
- plugin3.builder = existingPlugin.builder;
7503
- }
7504
- }
7505
- this.extensionMap.set(position, plugin3);
7506
- }
7507
- setBuilder(position, builder) {
7508
- const plugin3 = this.extensionMap.get(position);
7509
- if (plugin3) {
7510
- plugin3.builder = builder;
7511
- }
7512
- }
7513
- unregister(plugin3) {
7514
- for (let index = 0; index < plugin3.positions.length; index++) {
7515
- const pos = plugin3.positions[index];
7516
- this.unregisterFromPosition(pos);
7517
- }
7518
- }
7519
- unregisterFromPosition(position) {
7520
- this.extensionMap.delete(position);
7521
- }
7522
- getPluginsByPosition(position) {
7523
- return this.extensionMap.get(position);
7524
- }
7525
- /**
7526
- * get the registered formatter by position
7527
- * @param position
7528
- */
7529
- getFormatterByPosition(position) {
7530
- return this.extensionMap.get(position);
7531
- }
7532
- };
7533
-
7534
- // src/plugin/install.tsx
7535
- var installExtension = (options) => {
7536
- return (component) => {
7537
- const registry = OrderlyExtensionRegistry.getInstance();
7538
- registry.register({
7539
- name: options.name,
7540
- positions: options.positions,
7541
- __isInternal: !!options.__isInternal,
7542
- builder: options.builder,
7543
- render: component
7544
- });
7545
- };
7546
- };
7547
- var setExtensionBuilder = (position, builder) => {
7548
- const registry = OrderlyExtensionRegistry.getInstance();
7549
- registry.setBuilder(position, builder);
7550
- };
7551
- var NotFound = (props) => {
7552
- const { position } = props;
7553
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "oui-text-danger", children: [
7554
- /* @__PURE__ */ jsxRuntime.jsx("strong", { children: `[${position}] ` }),
7555
- /* @__PURE__ */ jsxRuntime.jsx("span", { children: "Not found!" })
7556
- ] });
7557
- };
7558
-
7559
- // src/plugin/useBuilder.ts
7560
- var useBuilder = (position, props) => {
7561
- const registry = OrderlyExtensionRegistry.getInstance();
7562
- const plugin3 = registry.getPluginsByPosition(position);
7563
- return () => {
7564
- return plugin3?.builder?.(props) || props;
7565
- };
7566
- };
7567
-
7568
- // src/plugin/useExtensionBuilder.ts
7569
- var useExtensionBuilder = (position, props) => {
7570
- const builder = useBuilder(position, props);
7571
- return builder();
7572
- };
7573
- var ExtensionSlot = (props) => {
7574
- const { position, scope, defaultWidget: defaultValue, ...rest } = props;
7575
- const elementProps = useExtensionBuilder(position, rest);
7576
- const Ele = React71.useMemo(() => {
7577
- const registry = OrderlyExtensionRegistry.getInstance();
7578
- const plugin3 = registry.getPluginsByPosition(position);
7579
- return plugin3?.render ?? defaultValue ?? NotFound;
7580
- }, []);
7581
- return /* @__PURE__ */ jsxRuntime.jsx(
7582
- reactErrorBoundary.ErrorBoundary,
7467
+ var EmptyDataState = (props) => {
7468
+ const [locale] = useLocale("empty");
7469
+ return /* @__PURE__ */ jsxRuntime.jsxs(
7470
+ Flex,
7583
7471
  {
7584
- fallback: /* @__PURE__ */ jsxRuntime.jsx("div", { children: `Component: [${position}] went wrong` }),
7585
- children: /* @__PURE__ */ jsxRuntime.jsx(reactSlot.Slot, { ...elementProps, position, children: /* @__PURE__ */ jsxRuntime.jsx(Ele, {}) })
7472
+ itemAlign: "center",
7473
+ direction: "column",
7474
+ gapY: 4,
7475
+ className: props.className,
7476
+ children: [
7477
+ /* @__PURE__ */ jsxRuntime.jsx(Box, { children: /* @__PURE__ */ jsxRuntime.jsx(emptyData_default, {}) }),
7478
+ /* @__PURE__ */ jsxRuntime.jsx(Text2, { as: "div", intensity: 36, size: "2xs", children: props.title ?? locale.description })
7479
+ ]
7586
7480
  }
7587
7481
  );
7588
7482
  };
7589
-
7590
- // src/plugin/types.ts
7591
- var ExtensionPositionEnum = /* @__PURE__ */ ((ExtensionPositionEnum2) => {
7592
- ExtensionPositionEnum2["DepositForm"] = "depositForm";
7593
- ExtensionPositionEnum2["WithdrawForm"] = "withdrawForm";
7594
- ExtensionPositionEnum2["AccountMenu"] = "accountMenu";
7595
- ExtensionPositionEnum2["MobileAccountMenu"] = "mobileAccountMenu";
7596
- ExtensionPositionEnum2["MainMenus"] = "mainMenus";
7597
- ExtensionPositionEnum2["EmptyDataIdentifier"] = "emptyDataIdentifier";
7598
- return ExtensionPositionEnum2;
7599
- })(ExtensionPositionEnum || {});
7483
+ var InjectableEmptyDataState = pluginCore.injectable(
7484
+ EmptyDataState,
7485
+ "Table.EmptyDataIdentifier"
7486
+ );
7600
7487
  var TablePlaceholder = (props) => {
7601
7488
  const { visible, loading, emptyView, className } = props;
7602
7489
  if (!visible) {
@@ -7614,7 +7501,7 @@ var TablePlaceholder = (props) => {
7614
7501
  "oui-flex oui-items-center oui-justify-center",
7615
7502
  className
7616
7503
  ),
7617
- children: loading ? /* @__PURE__ */ jsxRuntime.jsx(Spinner, {}) : emptyView || /* @__PURE__ */ jsxRuntime.jsx(ExtensionSlot, { position: "emptyDataIdentifier" /* EmptyDataIdentifier */ })
7504
+ children: loading ? /* @__PURE__ */ jsxRuntime.jsx(Spinner, {}) : emptyView || /* @__PURE__ */ jsxRuntime.jsx(InjectableEmptyDataState, {})
7618
7505
  }
7619
7506
  );
7620
7507
  };
@@ -9875,26 +9762,6 @@ var usePagination = (initial) => {
9875
9762
  parsePagination
9876
9763
  };
9877
9764
  };
9878
- var EmptyDataState = (props) => {
9879
- const [locale] = useLocale("empty");
9880
- return /* @__PURE__ */ jsxRuntime.jsxs(
9881
- Flex,
9882
- {
9883
- itemAlign: "center",
9884
- direction: "column",
9885
- gapY: 4,
9886
- className: props.className,
9887
- children: [
9888
- /* @__PURE__ */ jsxRuntime.jsx(Box, { children: /* @__PURE__ */ jsxRuntime.jsx(emptyData_default, {}) }),
9889
- /* @__PURE__ */ jsxRuntime.jsx(Text2, { as: "div", intensity: 36, size: "2xs", children: props.title ?? locale.description })
9890
- ]
9891
- }
9892
- );
9893
- };
9894
- installExtension({
9895
- name: "emptyDataIdentifier",
9896
- positions: ["emptyDataIdentifier" /* EmptyDataIdentifier */]
9897
- })(EmptyDataState);
9898
9765
 
9899
9766
  // src/table/features/index.ts
9900
9767
  var features_exports = {};
@@ -11589,19 +11456,23 @@ var SimpleDropdownMenu = (props) => {
11589
11456
  ) })
11590
11457
  ] });
11591
11458
  };
11459
+
11460
+ // src/provider/componentProvider.tsx
11461
+ var COMPONENTS_PLUGIN_ID = "orderly-components-provider-overrides";
11592
11462
  var ComponentsProvider = (props) => {
11593
11463
  React71.useEffect(() => {
11594
11464
  if (props.components && Object.keys(props.components).length) {
11595
- for (const position in props.components) {
11596
- const Element = props.components[position];
11597
- installExtension({
11598
- name: Element.displayName ?? `custom-component-${position}`,
11599
- positions: [position],
11600
- __isInternal: false
11601
- })((props2) => {
11602
- return /* @__PURE__ */ jsxRuntime.jsx(Element, { ...props2 });
11603
- });
11604
- }
11465
+ const interceptors = Object.entries(props.components).map(
11466
+ ([position, Element]) => ({
11467
+ target: pluginCore.positionToPath(position),
11468
+ component: (_Original, slotProps) => React71.createElement(Element, slotProps)
11469
+ })
11470
+ );
11471
+ pluginCore.OrderlyPluginRegistry.register({
11472
+ id: COMPONENTS_PLUGIN_ID,
11473
+ name: "ComponentsProvider",
11474
+ interceptors
11475
+ });
11605
11476
  }
11606
11477
  }, [props.components]);
11607
11478
  return props.children;
@@ -11963,6 +11834,82 @@ Object.defineProperty(exports, "cn", {
11963
11834
  enumerable: true,
11964
11835
  get: function () { return tailwindVariants.cnBase; }
11965
11836
  });
11837
+ Object.defineProperty(exports, "ExtensionPositionEnum", {
11838
+ enumerable: true,
11839
+ get: function () { return pluginCore.ExtensionPositionEnum; }
11840
+ });
11841
+ Object.defineProperty(exports, "ExtensionProvider", {
11842
+ enumerable: true,
11843
+ get: function () { return pluginCore.ExtensionProvider; }
11844
+ });
11845
+ Object.defineProperty(exports, "ExtensionSlot", {
11846
+ enumerable: true,
11847
+ get: function () { return pluginCore.ExtensionSlot; }
11848
+ });
11849
+ Object.defineProperty(exports, "OrderlyExtensionRegistry", {
11850
+ enumerable: true,
11851
+ get: function () { return pluginCore.OrderlyExtensionRegistry; }
11852
+ });
11853
+ Object.defineProperty(exports, "OrderlyPluginProvider", {
11854
+ enumerable: true,
11855
+ get: function () { return pluginCore.OrderlyPluginProvider; }
11856
+ });
11857
+ Object.defineProperty(exports, "OrderlyPluginRegistry", {
11858
+ enumerable: true,
11859
+ get: function () { return pluginCore.OrderlyPluginRegistry; }
11860
+ });
11861
+ Object.defineProperty(exports, "PluginErrorBoundary", {
11862
+ enumerable: true,
11863
+ get: function () { return pluginCore.PluginErrorBoundary; }
11864
+ });
11865
+ Object.defineProperty(exports, "PluginScopeContext", {
11866
+ enumerable: true,
11867
+ get: function () { return pluginCore.PluginScopeContext; }
11868
+ });
11869
+ Object.defineProperty(exports, "PluginScopeProvider", {
11870
+ enumerable: true,
11871
+ get: function () { return pluginCore.PluginScopeProvider; }
11872
+ });
11873
+ Object.defineProperty(exports, "createInterceptor", {
11874
+ enumerable: true,
11875
+ get: function () { return pluginCore.createInterceptor; }
11876
+ });
11877
+ Object.defineProperty(exports, "createOrderlySDK", {
11878
+ enumerable: true,
11879
+ get: function () { return pluginCore.createOrderlySDK; }
11880
+ });
11881
+ Object.defineProperty(exports, "injectable", {
11882
+ enumerable: true,
11883
+ get: function () { return pluginCore.injectable; }
11884
+ });
11885
+ Object.defineProperty(exports, "installExtension", {
11886
+ enumerable: true,
11887
+ get: function () { return pluginCore.installExtension; }
11888
+ });
11889
+ Object.defineProperty(exports, "positionToPath", {
11890
+ enumerable: true,
11891
+ get: function () { return pluginCore.positionToPath; }
11892
+ });
11893
+ Object.defineProperty(exports, "setExtensionBuilder", {
11894
+ enumerable: true,
11895
+ get: function () { return pluginCore.setExtensionBuilder; }
11896
+ });
11897
+ Object.defineProperty(exports, "useExtensionContext", {
11898
+ enumerable: true,
11899
+ get: function () { return pluginCore.useExtensionContext; }
11900
+ });
11901
+ Object.defineProperty(exports, "useInjectedComponent", {
11902
+ enumerable: true,
11903
+ get: function () { return pluginCore.useInjectedComponent; }
11904
+ });
11905
+ Object.defineProperty(exports, "useOrderlyPluginContext", {
11906
+ enumerable: true,
11907
+ get: function () { return pluginCore.useOrderlyPluginContext; }
11908
+ });
11909
+ Object.defineProperty(exports, "usePluginScope", {
11910
+ enumerable: true,
11911
+ get: function () { return pluginCore.usePluginScope; }
11912
+ });
11966
11913
  Object.defineProperty(exports, "toast", {
11967
11914
  enumerable: true,
11968
11915
  get: function () { return reactHotToast__default.default; }
@@ -12078,8 +12025,6 @@ exports.EmptyDataState = EmptyDataState;
12078
12025
  exports.EmptyStateIcon = EmptyStateIcon;
12079
12026
  exports.EsOrderlyIcon = EsOrderlyIcon;
12080
12027
  exports.ExclamationFillIcon = ExclamationFillIcon;
12081
- exports.ExtensionPositionEnum = ExtensionPositionEnum;
12082
- exports.ExtensionSlot = ExtensionSlot;
12083
12028
  exports.EyeCloseIcon = EyeCloseIcon;
12084
12029
  exports.EyeIcon = EyeIcon;
12085
12030
  exports.FeeTierIcon = FeeTierIcon;
@@ -12093,6 +12038,7 @@ exports.HoverCardTrigger = HoverCardTrigger;
12093
12038
  exports.Icon = Icon;
12094
12039
  exports.IconButton = IconButton;
12095
12040
  exports.InfoCircleIcon = InfoCircleIcon;
12041
+ exports.InjectableEmptyDataState = InjectableEmptyDataState;
12096
12042
  exports.Input = Input2;
12097
12043
  exports.InputAdditional = InputAdditional;
12098
12044
  exports.LIGHT_THEME_CSS_VARS = LIGHT_THEME_CSS_VARS;
@@ -12212,13 +12158,11 @@ exports.formatAddress = formatAddress;
12212
12158
  exports.gradientTextVariants = gradientTextVariants;
12213
12159
  exports.iconButtonVariants = iconButtonVariants;
12214
12160
  exports.inputFormatter = formatter_exports;
12215
- exports.installExtension = installExtension;
12216
12161
  exports.modal = modal;
12217
12162
  exports.parseNumber = parseNumber;
12218
12163
  exports.registerSimpleDialog = registerSimpleDialog;
12219
12164
  exports.registerSimpleSheet = registerSimpleSheet;
12220
12165
  exports.scrollAreaVariants = scrollAreaVariants;
12221
- exports.setExtensionBuilder = setExtensionBuilder;
12222
12166
  exports.startViewTransition = startViewTransition;
12223
12167
  exports.statisticVariants = statisticVariants;
12224
12168
  exports.textVariants = textVariants;