@orderly.network/ui 2.8.0-alpha.0 → 2.8.1-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 +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +15 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +242 -242
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -16
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -2637,6 +2637,16 @@ type NumeralProps = TextProps & {
|
|
|
2637
2637
|
};
|
|
2638
2638
|
declare const Numeral: FC<NumeralProps>;
|
|
2639
2639
|
|
|
2640
|
+
type NumTypeProps = Omit<NumeralProps, "ignoreDP" | "rm" | "tick"> & {
|
|
2641
|
+
numType: "roi" | "pnl" | "notional" | "assetValue" | "collateral";
|
|
2642
|
+
};
|
|
2643
|
+
type NumTypeComponentProps = Omit<NumTypeProps, "numType">;
|
|
2644
|
+
declare const NumTypeRoi: React.FC<NumTypeComponentProps>;
|
|
2645
|
+
declare const NumTypePnl: React.FC<NumTypeComponentProps>;
|
|
2646
|
+
declare const NumTypeNotional: React.FC<NumTypeComponentProps>;
|
|
2647
|
+
declare const NumTypeAssetValue: React.FC<NumTypeComponentProps>;
|
|
2648
|
+
declare const NumTypeCollateral: React.FC<NumTypeComponentProps>;
|
|
2649
|
+
|
|
2640
2650
|
declare const statisticVariants: tailwind_variants.TVReturnType<{
|
|
2641
2651
|
align: {
|
|
2642
2652
|
start: {
|
|
@@ -2850,6 +2860,11 @@ type TextType = typeof Text$1 & {
|
|
|
2850
2860
|
formatted: typeof FormattedText;
|
|
2851
2861
|
numeral: typeof Numeral;
|
|
2852
2862
|
gradient: typeof GradientText;
|
|
2863
|
+
roi: typeof NumTypeRoi;
|
|
2864
|
+
pnl: typeof NumTypePnl;
|
|
2865
|
+
notional: typeof NumTypeNotional;
|
|
2866
|
+
assetValue: typeof NumTypeAssetValue;
|
|
2867
|
+
collateral: typeof NumTypeCollateral;
|
|
2853
2868
|
};
|
|
2854
2869
|
declare const Text: TextType;
|
|
2855
2870
|
|
package/dist/index.d.ts
CHANGED
|
@@ -2637,6 +2637,16 @@ type NumeralProps = TextProps & {
|
|
|
2637
2637
|
};
|
|
2638
2638
|
declare const Numeral: FC<NumeralProps>;
|
|
2639
2639
|
|
|
2640
|
+
type NumTypeProps = Omit<NumeralProps, "ignoreDP" | "rm" | "tick"> & {
|
|
2641
|
+
numType: "roi" | "pnl" | "notional" | "assetValue" | "collateral";
|
|
2642
|
+
};
|
|
2643
|
+
type NumTypeComponentProps = Omit<NumTypeProps, "numType">;
|
|
2644
|
+
declare const NumTypeRoi: React.FC<NumTypeComponentProps>;
|
|
2645
|
+
declare const NumTypePnl: React.FC<NumTypeComponentProps>;
|
|
2646
|
+
declare const NumTypeNotional: React.FC<NumTypeComponentProps>;
|
|
2647
|
+
declare const NumTypeAssetValue: React.FC<NumTypeComponentProps>;
|
|
2648
|
+
declare const NumTypeCollateral: React.FC<NumTypeComponentProps>;
|
|
2649
|
+
|
|
2640
2650
|
declare const statisticVariants: tailwind_variants.TVReturnType<{
|
|
2641
2651
|
align: {
|
|
2642
2652
|
start: {
|
|
@@ -2850,6 +2860,11 @@ type TextType = typeof Text$1 & {
|
|
|
2850
2860
|
formatted: typeof FormattedText;
|
|
2851
2861
|
numeral: typeof Numeral;
|
|
2852
2862
|
gradient: typeof GradientText;
|
|
2863
|
+
roi: typeof NumTypeRoi;
|
|
2864
|
+
pnl: typeof NumTypePnl;
|
|
2865
|
+
notional: typeof NumTypeNotional;
|
|
2866
|
+
assetValue: typeof NumTypeAssetValue;
|
|
2867
|
+
collateral: typeof NumTypeCollateral;
|
|
2853
2868
|
};
|
|
2854
2869
|
declare const Text: TextType;
|
|
2855
2870
|
|