@orderly.network/ui 2.10.1-alpha.0 → 2.10.2-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.css +214 -242
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +249 -54
- package/dist/index.d.ts +249 -54
- package/dist/index.js +1004 -616
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1002 -617
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +3 -3
- package/src/tailwind/index.ts +1 -1
- package/src/tailwind/theme/darkTheme.ts +109 -0
- package/src/tailwind/theme/index.ts +2 -0
- package/src/tailwind/theme/lightTheme.ts +108 -0
- package/tailwind.config.js +31 -11
- package/src/tailwind/theme.ts +0 -102
package/dist/index.d.ts
CHANGED
|
@@ -28,12 +28,12 @@ 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 * as tailwindcss_types_config from 'tailwindcss/types/config';
|
|
31
32
|
export * from 'embla-carousel-auto-scroll';
|
|
32
33
|
export { default as AutoScroll } from 'embla-carousel-auto-scroll';
|
|
33
34
|
export * from 'embla-carousel-autoplay';
|
|
34
35
|
export { default as Autoplay } from 'embla-carousel-autoplay';
|
|
35
36
|
export * from 'embla-carousel';
|
|
36
|
-
import * as tailwindcss_types_config from 'tailwindcss/types/config';
|
|
37
37
|
import * as date_fns from 'date-fns';
|
|
38
38
|
import * as date_fns_locale from 'date-fns/locale';
|
|
39
39
|
|
|
@@ -5267,7 +5267,7 @@ declare const sheetVariants: tailwind_variants.TVReturnType<{
|
|
|
5267
5267
|
left: string;
|
|
5268
5268
|
right: string;
|
|
5269
5269
|
};
|
|
5270
|
-
}, undefined, "oui-fixed oui-z-50 oui-gap-4 oui-bg-base-8 oui-px-4 oui-shadow-lg oui-transition oui-ease-in-out data-[state=closed]:oui-duration-260 data-[state=open]:oui-duration-300 data-[state=open]:oui-animate-in data-[state=closed]:oui-animate-out", tailwind_variants_dist_config.TVConfig<{
|
|
5270
|
+
}, undefined, "oui-sheet-content oui-fixed oui-z-50 oui-gap-4 oui-bg-base-8 oui-px-4 oui-shadow-lg oui-transition oui-ease-in-out data-[state=closed]:oui-duration-260 data-[state=open]:oui-duration-300 data-[state=open]:oui-animate-in data-[state=closed]:oui-animate-out", tailwind_variants_dist_config.TVConfig<{
|
|
5271
5271
|
side: {
|
|
5272
5272
|
top: string;
|
|
5273
5273
|
bottom: string;
|
|
@@ -5295,7 +5295,7 @@ declare const sheetVariants: tailwind_variants.TVReturnType<{
|
|
|
5295
5295
|
left: string;
|
|
5296
5296
|
right: string;
|
|
5297
5297
|
};
|
|
5298
|
-
}, undefined, "oui-fixed oui-z-50 oui-gap-4 oui-bg-base-8 oui-px-4 oui-shadow-lg oui-transition oui-ease-in-out data-[state=closed]:oui-duration-260 data-[state=open]:oui-duration-300 data-[state=open]:oui-animate-in data-[state=closed]:oui-animate-out", tailwind_variants_dist_config.TVConfig<{
|
|
5298
|
+
}, undefined, "oui-sheet-content oui-fixed oui-z-50 oui-gap-4 oui-bg-base-8 oui-px-4 oui-shadow-lg oui-transition oui-ease-in-out data-[state=closed]:oui-duration-260 data-[state=open]:oui-duration-300 data-[state=open]:oui-animate-in data-[state=closed]:oui-animate-out", tailwind_variants_dist_config.TVConfig<{
|
|
5299
5299
|
side: {
|
|
5300
5300
|
top: string;
|
|
5301
5301
|
bottom: string;
|
|
@@ -6247,6 +6247,10 @@ interface TabPanelProps {
|
|
|
6247
6247
|
icon?: React__default.ReactElement;
|
|
6248
6248
|
testid?: string;
|
|
6249
6249
|
className?: string;
|
|
6250
|
+
classNames?: {
|
|
6251
|
+
content?: string;
|
|
6252
|
+
trigger?: string;
|
|
6253
|
+
};
|
|
6250
6254
|
style?: React__default.CSSProperties;
|
|
6251
6255
|
}
|
|
6252
6256
|
declare const TabPanel: FC<PropsWithChildren<TabPanelProps>>;
|
|
@@ -8610,53 +8614,6 @@ interface SlotProps {
|
|
|
8610
8614
|
}
|
|
8611
8615
|
declare const ExtensionSlot: React__default.FC<SlotProps>;
|
|
8612
8616
|
|
|
8613
|
-
type ComponentOverrides = {
|
|
8614
|
-
tabs: {
|
|
8615
|
-
variant: "text" | "contained";
|
|
8616
|
-
};
|
|
8617
|
-
chainSelector: {
|
|
8618
|
-
/**
|
|
8619
|
-
* show testnet chains list
|
|
8620
|
-
* @default true
|
|
8621
|
-
* */
|
|
8622
|
-
showTestnet: boolean;
|
|
8623
|
-
};
|
|
8624
|
-
};
|
|
8625
|
-
type GetComponentTheme = <T extends keyof ComponentOverrides>(component: T, defaultValue?: ComponentOverrides[T]) => ComponentOverrides[T];
|
|
8626
|
-
type OrderlyThemeContextState = {
|
|
8627
|
-
getComponentTheme: GetComponentTheme;
|
|
8628
|
-
};
|
|
8629
|
-
declare const useOrderlyTheme: () => OrderlyThemeContextState;
|
|
8630
|
-
|
|
8631
|
-
type OrderlyThemeProviderProps = {
|
|
8632
|
-
components?: {
|
|
8633
|
-
[position in ExtensionPosition]: ComponentType;
|
|
8634
|
-
};
|
|
8635
|
-
overrides?: Partial<ComponentOverrides>;
|
|
8636
|
-
};
|
|
8637
|
-
declare const OrderlyThemeProvider: FC<PropsWithChildren<OrderlyThemeProviderProps>>;
|
|
8638
|
-
|
|
8639
|
-
type Props = {
|
|
8640
|
-
value: boolean | (() => boolean);
|
|
8641
|
-
left?: ReactNode;
|
|
8642
|
-
};
|
|
8643
|
-
declare const Either: React$1.NamedExoticComponent<PropsWithChildren<Props>>;
|
|
8644
|
-
|
|
8645
|
-
/**
|
|
8646
|
-
* capitalize the first letter
|
|
8647
|
-
* @param str
|
|
8648
|
-
* @returns string
|
|
8649
|
-
*/
|
|
8650
|
-
declare const capitalizeFirstLetter: (str: string, fallback?: string) => undefined | string;
|
|
8651
|
-
|
|
8652
|
-
declare function startViewTransition(callback: () => void): void;
|
|
8653
|
-
|
|
8654
|
-
declare const tv: tailwind_variants.CreateTV<{
|
|
8655
|
-
twMergeConfig: {
|
|
8656
|
-
prefix: string;
|
|
8657
|
-
};
|
|
8658
|
-
}>;
|
|
8659
|
-
|
|
8660
8617
|
declare const basePlugin: () => {
|
|
8661
8618
|
handler: tailwindcss_types_config.PluginCreator;
|
|
8662
8619
|
config?: Partial<tailwindcss_types_config.Config>;
|
|
@@ -8692,23 +8649,255 @@ declare const sizePlugin: () => {
|
|
|
8692
8649
|
config?: Partial<tailwindcss_types_config.Config>;
|
|
8693
8650
|
};
|
|
8694
8651
|
|
|
8695
|
-
declare const
|
|
8652
|
+
declare const DARK_THEME_CSS_VARS: {
|
|
8653
|
+
"--oui-font-family": string;
|
|
8654
|
+
"--oui-color-primary": string;
|
|
8655
|
+
"--oui-color-primary-light": string;
|
|
8656
|
+
"--oui-color-primary-darken": string;
|
|
8657
|
+
"--oui-color-primary-contrast": string;
|
|
8658
|
+
"--oui-color-link": string;
|
|
8659
|
+
"--oui-color-link-light": string;
|
|
8660
|
+
"--oui-color-secondary": string;
|
|
8661
|
+
"--oui-color-tertiary": string;
|
|
8662
|
+
"--oui-color-quaternary": string;
|
|
8663
|
+
"--oui-color-danger": string;
|
|
8664
|
+
"--oui-color-danger-light": string;
|
|
8665
|
+
"--oui-color-danger-darken": string;
|
|
8666
|
+
"--oui-color-danger-contrast": string;
|
|
8667
|
+
"--oui-color-success": string;
|
|
8668
|
+
"--oui-color-success-light": string;
|
|
8669
|
+
"--oui-color-success-darken": string;
|
|
8670
|
+
"--oui-color-success-contrast": string;
|
|
8671
|
+
"--oui-color-warning": string;
|
|
8672
|
+
"--oui-color-warning-light": string;
|
|
8673
|
+
"--oui-color-warning-darken": string;
|
|
8674
|
+
"--oui-color-warning-contrast": string;
|
|
8675
|
+
"--oui-color-fill": string;
|
|
8676
|
+
"--oui-color-fill-active": string;
|
|
8677
|
+
"--oui-color-base-1": string;
|
|
8678
|
+
"--oui-color-base-2": string;
|
|
8679
|
+
"--oui-color-base-3": string;
|
|
8680
|
+
"--oui-color-base-4": string;
|
|
8681
|
+
"--oui-color-base-5": string;
|
|
8682
|
+
"--oui-color-base-6": string;
|
|
8683
|
+
"--oui-color-base-7": string;
|
|
8684
|
+
"--oui-color-base-8": string;
|
|
8685
|
+
"--oui-color-base-9": string;
|
|
8686
|
+
"--oui-color-base-10": string;
|
|
8687
|
+
"--oui-color-base-foreground": string;
|
|
8688
|
+
"--oui-color-line": string;
|
|
8689
|
+
"--oui-color-base-static": string;
|
|
8690
|
+
"--oui-color-base-static-contrast": string;
|
|
8691
|
+
"--oui-color-trading-loss": string;
|
|
8692
|
+
"--oui-color-trading-loss-contrast": string;
|
|
8693
|
+
"--oui-color-trading-profit": string;
|
|
8694
|
+
"--oui-color-trading-profit-contrast": string;
|
|
8695
|
+
"--oui-gradient-primary-start": string;
|
|
8696
|
+
"--oui-gradient-primary-end": string;
|
|
8697
|
+
"--oui-gradient-secondary-start": string;
|
|
8698
|
+
"--oui-gradient-secondary-end": string;
|
|
8699
|
+
"--oui-gradient-success-start": string;
|
|
8700
|
+
"--oui-gradient-success-end": string;
|
|
8701
|
+
"--oui-gradient-danger-start": string;
|
|
8702
|
+
"--oui-gradient-danger-end": string;
|
|
8703
|
+
"--oui-gradient-brand-start": string;
|
|
8704
|
+
"--oui-gradient-brand-end": string;
|
|
8705
|
+
"--oui-gradient-brand-stop-start": string;
|
|
8706
|
+
"--oui-gradient-brand-stop-end": string;
|
|
8707
|
+
"--oui-gradient-brand-angle": string;
|
|
8708
|
+
"--oui-gradient-warning-start": string;
|
|
8709
|
+
"--oui-gradient-warning-end": string;
|
|
8710
|
+
"--oui-gradient-neutral-start": string;
|
|
8711
|
+
"--oui-gradient-neutral-end": string;
|
|
8712
|
+
"--oui-rounded-sm": string;
|
|
8713
|
+
"--oui-rounded": string;
|
|
8714
|
+
"--oui-rounded-md": string;
|
|
8715
|
+
"--oui-rounded-lg": string;
|
|
8716
|
+
"--oui-rounded-xl": string;
|
|
8717
|
+
"--oui-rounded-2xl": string;
|
|
8718
|
+
"--oui-rounded-full": string;
|
|
8719
|
+
"--oui-spacing-xs": string;
|
|
8720
|
+
"--oui-spacing-sm": string;
|
|
8721
|
+
"--oui-spacing-md": string;
|
|
8722
|
+
"--oui-spacing-lg": string;
|
|
8723
|
+
"--oui-spacing-xl": string;
|
|
8724
|
+
};
|
|
8725
|
+
type ThemeCssVars = typeof DARK_THEME_CSS_VARS;
|
|
8726
|
+
declare const darkThemePlugin: () => {
|
|
8696
8727
|
handler: tailwindcss_types_config.PluginCreator;
|
|
8697
8728
|
config?: Partial<tailwindcss_types_config.Config>;
|
|
8698
8729
|
};
|
|
8699
8730
|
|
|
8731
|
+
declare const LIGHT_THEME_CSS_VARS: {
|
|
8732
|
+
"--oui-font-family": string;
|
|
8733
|
+
"--oui-color-primary": string;
|
|
8734
|
+
"--oui-color-primary-light": string;
|
|
8735
|
+
"--oui-color-primary-darken": string;
|
|
8736
|
+
"--oui-color-primary-contrast": string;
|
|
8737
|
+
"--oui-color-link": string;
|
|
8738
|
+
"--oui-color-link-light": string;
|
|
8739
|
+
"--oui-color-secondary": string;
|
|
8740
|
+
"--oui-color-tertiary": string;
|
|
8741
|
+
"--oui-color-quaternary": string;
|
|
8742
|
+
"--oui-color-danger": string;
|
|
8743
|
+
"--oui-color-danger-light": string;
|
|
8744
|
+
"--oui-color-danger-darken": string;
|
|
8745
|
+
"--oui-color-danger-contrast": string;
|
|
8746
|
+
"--oui-color-success": string;
|
|
8747
|
+
"--oui-color-success-light": string;
|
|
8748
|
+
"--oui-color-success-darken": string;
|
|
8749
|
+
"--oui-color-success-contrast": string;
|
|
8750
|
+
"--oui-color-warning": string;
|
|
8751
|
+
"--oui-color-warning-light": string;
|
|
8752
|
+
"--oui-color-warning-darken": string;
|
|
8753
|
+
"--oui-color-warning-contrast": string;
|
|
8754
|
+
"--oui-color-fill": string;
|
|
8755
|
+
"--oui-color-fill-active": string;
|
|
8756
|
+
"--oui-color-base-1": string;
|
|
8757
|
+
"--oui-color-base-2": string;
|
|
8758
|
+
"--oui-color-base-3": string;
|
|
8759
|
+
"--oui-color-base-4": string;
|
|
8760
|
+
"--oui-color-base-5": string;
|
|
8761
|
+
"--oui-color-base-6": string;
|
|
8762
|
+
"--oui-color-base-7": string;
|
|
8763
|
+
"--oui-color-base-8": string;
|
|
8764
|
+
"--oui-color-base-9": string;
|
|
8765
|
+
"--oui-color-base-10": string;
|
|
8766
|
+
"--oui-color-base-foreground": string;
|
|
8767
|
+
"--oui-color-line": string;
|
|
8768
|
+
"--oui-color-base-static": string;
|
|
8769
|
+
"--oui-color-base-static-contrast": string;
|
|
8770
|
+
"--oui-color-trading-loss": string;
|
|
8771
|
+
"--oui-color-trading-loss-contrast": string;
|
|
8772
|
+
"--oui-color-trading-profit": string;
|
|
8773
|
+
"--oui-color-trading-profit-contrast": string;
|
|
8774
|
+
"--oui-gradient-primary-start": string;
|
|
8775
|
+
"--oui-gradient-primary-end": string;
|
|
8776
|
+
"--oui-gradient-secondary-start": string;
|
|
8777
|
+
"--oui-gradient-secondary-end": string;
|
|
8778
|
+
"--oui-gradient-success-start": string;
|
|
8779
|
+
"--oui-gradient-success-end": string;
|
|
8780
|
+
"--oui-gradient-danger-start": string;
|
|
8781
|
+
"--oui-gradient-danger-end": string;
|
|
8782
|
+
"--oui-gradient-warning-start": string;
|
|
8783
|
+
"--oui-gradient-warning-end": string;
|
|
8784
|
+
"--oui-gradient-neutral-start": string;
|
|
8785
|
+
"--oui-gradient-neutral-end": string;
|
|
8786
|
+
"--oui-gradient-brand-stop-start": string;
|
|
8787
|
+
"--oui-gradient-brand-stop-end": string;
|
|
8788
|
+
"--oui-gradient-brand-angle": string;
|
|
8789
|
+
"--oui-gradient-brand-start": string;
|
|
8790
|
+
"--oui-gradient-brand-end": string;
|
|
8791
|
+
"--oui-rounded-sm": string;
|
|
8792
|
+
"--oui-rounded": string;
|
|
8793
|
+
"--oui-rounded-md": string;
|
|
8794
|
+
"--oui-rounded-lg": string;
|
|
8795
|
+
"--oui-rounded-xl": string;
|
|
8796
|
+
"--oui-rounded-2xl": string;
|
|
8797
|
+
"--oui-rounded-full": string;
|
|
8798
|
+
"--oui-spacing-xs": string;
|
|
8799
|
+
"--oui-spacing-sm": string;
|
|
8800
|
+
"--oui-spacing-md": string;
|
|
8801
|
+
"--oui-spacing-lg": string;
|
|
8802
|
+
"--oui-spacing-xl": string;
|
|
8803
|
+
};
|
|
8804
|
+
declare const lightThemePlugin: () => {
|
|
8805
|
+
handler: tailwindcss_types_config.PluginCreator;
|
|
8806
|
+
config?: Partial<tailwindcss_types_config.Config>;
|
|
8807
|
+
};
|
|
8808
|
+
|
|
8809
|
+
declare const index_DARK_THEME_CSS_VARS: typeof DARK_THEME_CSS_VARS;
|
|
8810
|
+
declare const index_LIGHT_THEME_CSS_VARS: typeof LIGHT_THEME_CSS_VARS;
|
|
8811
|
+
type index_ThemeCssVars = ThemeCssVars;
|
|
8700
8812
|
declare const index_basePlugin: typeof basePlugin;
|
|
8701
8813
|
declare const index_chartPlugin: typeof chartPlugin;
|
|
8702
8814
|
declare const index_componentsPlugin: typeof componentsPlugin;
|
|
8815
|
+
declare const index_darkThemePlugin: typeof darkThemePlugin;
|
|
8703
8816
|
declare const index_gradientPlugin: typeof gradientPlugin;
|
|
8817
|
+
declare const index_lightThemePlugin: typeof lightThemePlugin;
|
|
8704
8818
|
declare const index_positionPlugin: typeof positionPlugin;
|
|
8705
8819
|
declare const index_scrollBarPlugin: typeof scrollBarPlugin;
|
|
8706
8820
|
declare const index_sizePlugin: typeof sizePlugin;
|
|
8707
|
-
declare const index_themePlugin: typeof themePlugin;
|
|
8708
8821
|
declare namespace index {
|
|
8709
|
-
export { index_basePlugin as basePlugin, index_chartPlugin as chartPlugin, index_componentsPlugin as componentsPlugin, index_gradientPlugin as gradientPlugin, index_positionPlugin as positionPlugin, index_scrollBarPlugin as scrollBarPlugin, index_sizePlugin as sizePlugin
|
|
8822
|
+
export { index_DARK_THEME_CSS_VARS as DARK_THEME_CSS_VARS, index_LIGHT_THEME_CSS_VARS as LIGHT_THEME_CSS_VARS, type index_ThemeCssVars as ThemeCssVars, index_basePlugin as basePlugin, index_chartPlugin as chartPlugin, index_componentsPlugin as componentsPlugin, index_darkThemePlugin as darkThemePlugin, index_gradientPlugin as gradientPlugin, index_lightThemePlugin as lightThemePlugin, index_positionPlugin as positionPlugin, index_scrollBarPlugin as scrollBarPlugin, index_sizePlugin as sizePlugin };
|
|
8710
8823
|
}
|
|
8711
8824
|
|
|
8825
|
+
type ComponentOverrides = {
|
|
8826
|
+
tabs: {
|
|
8827
|
+
variant: "text" | "contained";
|
|
8828
|
+
};
|
|
8829
|
+
chainSelector: {
|
|
8830
|
+
/**
|
|
8831
|
+
* show testnet chains list
|
|
8832
|
+
* @default true
|
|
8833
|
+
* */
|
|
8834
|
+
showTestnet: boolean;
|
|
8835
|
+
};
|
|
8836
|
+
};
|
|
8837
|
+
type ThemeConfig = {
|
|
8838
|
+
/**
|
|
8839
|
+
* Unique theme identifier.
|
|
8840
|
+
* Will also be used as the value of `data-oui-theme`.
|
|
8841
|
+
*/
|
|
8842
|
+
id: string;
|
|
8843
|
+
/**
|
|
8844
|
+
* Display name for this theme. Used in UI (e.g. settings page).
|
|
8845
|
+
*/
|
|
8846
|
+
displayName: string;
|
|
8847
|
+
/**
|
|
8848
|
+
* Theme mode.
|
|
8849
|
+
*/
|
|
8850
|
+
mode: "dark" | "light";
|
|
8851
|
+
/**
|
|
8852
|
+
* Optional CSS variables overrides for this theme.
|
|
8853
|
+
* Keys should be full CSS variable names, e.g. "--oui-color-primary".
|
|
8854
|
+
* These are applied at runtime via document.documentElement.style.setProperty.
|
|
8855
|
+
*/
|
|
8856
|
+
cssVars?: Partial<ThemeCssVars>;
|
|
8857
|
+
};
|
|
8858
|
+
type GetComponentTheme = <T extends keyof ComponentOverrides>(component: T, defaultValue?: ComponentOverrides[T]) => ComponentOverrides[T];
|
|
8859
|
+
type OrderlyThemeContextState = {
|
|
8860
|
+
getComponentTheme: GetComponentTheme;
|
|
8861
|
+
themes: ThemeConfig[];
|
|
8862
|
+
currentThemeId?: string;
|
|
8863
|
+
currentTheme?: ThemeConfig;
|
|
8864
|
+
setCurrentThemeId?: (id: string) => void;
|
|
8865
|
+
};
|
|
8866
|
+
declare const useOrderlyTheme: () => OrderlyThemeContextState;
|
|
8867
|
+
|
|
8868
|
+
type OrderlyThemeProviderProps = {
|
|
8869
|
+
components?: {
|
|
8870
|
+
[position in ExtensionPosition]: ComponentType;
|
|
8871
|
+
};
|
|
8872
|
+
overrides?: Partial<ComponentOverrides>;
|
|
8873
|
+
themes?: ThemeConfig[];
|
|
8874
|
+
currentThemeId?: string;
|
|
8875
|
+
currentTheme?: ThemeConfig;
|
|
8876
|
+
setCurrentThemeId?: (id: string) => void;
|
|
8877
|
+
};
|
|
8878
|
+
declare const OrderlyThemeProvider: FC<PropsWithChildren<OrderlyThemeProviderProps>>;
|
|
8879
|
+
|
|
8880
|
+
type Props = {
|
|
8881
|
+
value: boolean | (() => boolean);
|
|
8882
|
+
left?: ReactNode;
|
|
8883
|
+
};
|
|
8884
|
+
declare const Either: React$1.NamedExoticComponent<PropsWithChildren<Props>>;
|
|
8885
|
+
|
|
8886
|
+
/**
|
|
8887
|
+
* capitalize the first letter
|
|
8888
|
+
* @param str
|
|
8889
|
+
* @returns string
|
|
8890
|
+
*/
|
|
8891
|
+
declare const capitalizeFirstLetter: (str: string, fallback?: string) => undefined | string;
|
|
8892
|
+
|
|
8893
|
+
declare function startViewTransition(callback: () => void): void;
|
|
8894
|
+
|
|
8895
|
+
declare const tv: tailwind_variants.CreateTV<{
|
|
8896
|
+
twMergeConfig: {
|
|
8897
|
+
prefix: string;
|
|
8898
|
+
};
|
|
8899
|
+
}>;
|
|
8900
|
+
|
|
8712
8901
|
declare function useScreen(): {
|
|
8713
8902
|
isMobile: boolean;
|
|
8714
8903
|
isDesktop: boolean;
|
|
@@ -8734,6 +8923,12 @@ interface LongPressHandlers {
|
|
|
8734
8923
|
}
|
|
8735
8924
|
declare function useLongPress(callback: () => void, longPressTime?: number): LongPressHandlers;
|
|
8736
8925
|
|
|
8926
|
+
/**
|
|
8927
|
+
* get the data-oui-theme attribute from the <html> element
|
|
8928
|
+
* @returns the data-oui-theme attribute
|
|
8929
|
+
*/
|
|
8930
|
+
declare const useThemeAttribute: () => string;
|
|
8931
|
+
|
|
8737
8932
|
type TipsProps = {
|
|
8738
8933
|
/** Content shown in desktop Tooltip and mobile dialog body (same for both). */
|
|
8739
8934
|
content: React__default.ReactNode;
|
|
@@ -9123,4 +9318,4 @@ declare const DotStatus: {
|
|
|
9123
9318
|
displayName: string;
|
|
9124
9319
|
};
|
|
9125
9320
|
|
|
9126
|
-
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, 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, type IconType, InfoCircleIcon, Input, InputAdditional, type InputFormatter, type InputFormatterOptions, type InputProps, type InputWithTooltipProps, 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, 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, index$2 as inputFormatter, installExtension, modal, parseNumber, registerSimpleDialog, registerSimpleSheet, scrollAreaVariants, setExtensionBuilder, startViewTransition, statisticVariants, textVariants, tv, useLocale, useLongPress, useMediaQuery, useModal, useMultiSort, useObserverElement, useOrderlyTheme, usePagination, useScreen };
|
|
9321
|
+
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, 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, 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 };
|