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