@one_deploy/sdk 1.0.5 → 1.0.7

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.
@@ -9,8 +9,8 @@ import React from 'react';
9
9
  import { ViewStyle, TextStyle } from 'react-native';
10
10
 
11
11
  /**
12
- * OneChainSelector - Multi-chain selection component for AI trading
13
- * Part of ONE Ecosystem SDK - can be used by any ecosystem partner
12
+ * OneChainSelector - Multi-chain selection component with dropdown style
13
+ * Part of ONE Ecosystem SDK - Responsive design for desktop and mobile
14
14
  */
15
15
 
16
16
  declare const CHAIN_CONFIG: Record<string, {
@@ -35,6 +35,8 @@ interface OneChainSelectorProps {
35
35
  subtitle?: string;
36
36
  /** Minimum required selections (for multi-select) */
37
37
  minSelections?: number;
38
+ /** Placeholder text */
39
+ placeholder?: string;
38
40
  /** Custom styles */
39
41
  style?: ViewStyle;
40
42
  /** Custom title style */
@@ -114,15 +116,15 @@ interface OneCycleSelectorProps {
114
116
  declare const OneCycleSelector: React.FC<OneCycleSelectorProps>;
115
117
 
116
118
  /**
117
- * OnePairSelector - Trading pair selection component for AI trading
118
- * Part of ONE Ecosystem SDK - can be used by any ecosystem partner
119
+ * OnePairSelector - Trading pair selection component with dropdown style
120
+ * Part of ONE Ecosystem SDK - Responsive design for desktop and mobile
119
121
  */
120
122
 
121
123
  declare const PAIR_ICONS: Record<string, string>;
122
124
  interface OnePairSelectorProps {
123
- /** List of supported trading pairs */
125
+ /** List of supported trading pair IDs (e.g., 'BTC', 'ETH') */
124
126
  supportedPairs: string[];
125
- /** Currently selected pairs */
127
+ /** Currently selected pair IDs */
126
128
  selectedPairs: string[];
127
129
  /** Callback when pair selection changes */
128
130
  onTogglePair: (pair: string) => void;
@@ -136,6 +138,8 @@ interface OnePairSelectorProps {
136
138
  minSelections?: number;
137
139
  /** Maximum allowed selections (0 = unlimited) */
138
140
  maxSelections?: number;
141
+ /** Placeholder text */
142
+ placeholder?: string;
139
143
  /** Custom styles */
140
144
  style?: ViewStyle;
141
145
  /** Custom title style */
@@ -9,8 +9,8 @@ import React from 'react';
9
9
  import { ViewStyle, TextStyle } from 'react-native';
10
10
 
11
11
  /**
12
- * OneChainSelector - Multi-chain selection component for AI trading
13
- * Part of ONE Ecosystem SDK - can be used by any ecosystem partner
12
+ * OneChainSelector - Multi-chain selection component with dropdown style
13
+ * Part of ONE Ecosystem SDK - Responsive design for desktop and mobile
14
14
  */
15
15
 
16
16
  declare const CHAIN_CONFIG: Record<string, {
@@ -35,6 +35,8 @@ interface OneChainSelectorProps {
35
35
  subtitle?: string;
36
36
  /** Minimum required selections (for multi-select) */
37
37
  minSelections?: number;
38
+ /** Placeholder text */
39
+ placeholder?: string;
38
40
  /** Custom styles */
39
41
  style?: ViewStyle;
40
42
  /** Custom title style */
@@ -114,15 +116,15 @@ interface OneCycleSelectorProps {
114
116
  declare const OneCycleSelector: React.FC<OneCycleSelectorProps>;
115
117
 
116
118
  /**
117
- * OnePairSelector - Trading pair selection component for AI trading
118
- * Part of ONE Ecosystem SDK - can be used by any ecosystem partner
119
+ * OnePairSelector - Trading pair selection component with dropdown style
120
+ * Part of ONE Ecosystem SDK - Responsive design for desktop and mobile
119
121
  */
120
122
 
121
123
  declare const PAIR_ICONS: Record<string, string>;
122
124
  interface OnePairSelectorProps {
123
- /** List of supported trading pairs */
125
+ /** List of supported trading pair IDs (e.g., 'BTC', 'ETH') */
124
126
  supportedPairs: string[];
125
- /** Currently selected pairs */
127
+ /** Currently selected pair IDs */
126
128
  selectedPairs: string[];
127
129
  /** Callback when pair selection changes */
128
130
  onTogglePair: (pair: string) => void;
@@ -136,6 +138,8 @@ interface OnePairSelectorProps {
136
138
  minSelections?: number;
137
139
  /** Maximum allowed selections (0 = unlimited) */
138
140
  maxSelections?: number;
141
+ /** Placeholder text */
142
+ placeholder?: string;
139
143
  /** Custom styles */
140
144
  style?: ViewStyle;
141
145
  /** Custom title style */