@ssa-ui-kit/widgets 3.24.0 → 3.24.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/ai/source-map.md +216 -0
- package/dist/tsbuildcache +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
# @ssa-ui-kit/widgets — AI source map
|
|
2
|
+
|
|
3
|
+
Generated from the TypeScript program at build time — do not edit by hand.
|
|
4
|
+
|
|
5
|
+
**Everything below is imported from the package root:** `import { X } from '@ssa-ui-kit/widgets'`
|
|
6
|
+
|
|
7
|
+
17 components · 1 hook · 40 exported types
|
|
8
|
+
|
|
9
|
+
## Reading this file
|
|
10
|
+
|
|
11
|
+
- Only props **declared by this library** are listed. Components that also accept native element attributes say so explicitly.
|
|
12
|
+
- `prop?:` means optional. `= value` is the default. Long literal unions are truncated — the full union is enforced by the type checker.
|
|
13
|
+
- Every component additionally accepts `className`, `css`, `as`, `theme`, `key`, `ref`; these are omitted below.
|
|
14
|
+
- To look a component up, search this file for `#### <Name>`.
|
|
15
|
+
- This is an index, not a reference. For full documentation and usage examples, read the matching `.d.ts` in `dist/`.
|
|
16
|
+
|
|
17
|
+
## Component roster
|
|
18
|
+
|
|
19
|
+
**Other** — AccountBalance, Activity, BalancePieChart, BalancePieChartTitle, Bmi, Calories, HeartRate, ListGoals, MarginInfo, MealNutrients, MealPlanner, StepsCounter, TradingInfoCard, TradingScoreboard, UpcomingWorkouts, UserCard, WaterConsume
|
|
20
|
+
|
|
21
|
+
## Components
|
|
22
|
+
|
|
23
|
+
### Other
|
|
24
|
+
|
|
25
|
+
#### AccountBalance
|
|
26
|
+
|
|
27
|
+
- `activeHighlight?: boolean`
|
|
28
|
+
- `currency: string`
|
|
29
|
+
- `fullscreenModeFeature?: boolean`
|
|
30
|
+
- `link?: To`
|
|
31
|
+
- `title?: ReactNode`
|
|
32
|
+
- `tooltip?: { config, content, classNames }`
|
|
33
|
+
- `total: string | number`
|
|
34
|
+
- `variant?: 'valueList' | 'withoutValueList'`
|
|
35
|
+
- `widgetMaxWidth?: string`
|
|
36
|
+
- `onClick?: () => void`
|
|
37
|
+
- `legendColorPalette?: string[]`
|
|
38
|
+
- `chartColorPalette?: string[]`
|
|
39
|
+
- `data: { id, value, label }`
|
|
40
|
+
|
|
41
|
+
#### Activity
|
|
42
|
+
|
|
43
|
+
- `data: ActivityResp`
|
|
44
|
+
|
|
45
|
+
#### BalancePieChart
|
|
46
|
+
|
|
47
|
+
- `data: { id, value, label }`
|
|
48
|
+
- `activeHighlight?: boolean`
|
|
49
|
+
- `legendColorPalette?: string[]`
|
|
50
|
+
- `chartColorPalette?: string[]`
|
|
51
|
+
- `pieChartProps?: Partial<PieChartProps>`
|
|
52
|
+
- `onFullscreenModeChange?: (isFullscreenMode: boolean) => void`
|
|
53
|
+
|
|
54
|
+
#### BalancePieChartTitle
|
|
55
|
+
|
|
56
|
+
_No library-specific props._
|
|
57
|
+
|
|
58
|
+
#### Bmi
|
|
59
|
+
UI Component that calculates the Body Mass Index of the user
|
|
60
|
+
|
|
61
|
+
- `height?: number`
|
|
62
|
+
- `weight?: number`
|
|
63
|
+
|
|
64
|
+
#### Calories
|
|
65
|
+
UI Component that shows how many calories the user has burned
|
|
66
|
+
|
|
67
|
+
- `max: number`
|
|
68
|
+
- `currentValue: number`
|
|
69
|
+
|
|
70
|
+
#### HeartRate
|
|
71
|
+
UI Component that shows the heart rate of the user
|
|
72
|
+
|
|
73
|
+
- `data: LineSeries`
|
|
74
|
+
- `caption?: string`
|
|
75
|
+
- `color?: string`
|
|
76
|
+
|
|
77
|
+
#### ListGoals
|
|
78
|
+
UI Component that uses CardList to render a list of goals
|
|
79
|
+
|
|
80
|
+
- `goals: Goal[]`
|
|
81
|
+
- `avatarBorder?: boolean` `= false` — Shows a border around the avatar in each goal card.
|
|
82
|
+
|
|
83
|
+
#### MarginInfo
|
|
84
|
+
|
|
85
|
+
- `title?: string`
|
|
86
|
+
- `base: ReactNode`
|
|
87
|
+
- `quote: ReactNode`
|
|
88
|
+
- `baseBorrowed: ReactNode`
|
|
89
|
+
- `quoteBorrowed: ReactNode`
|
|
90
|
+
- `baseTotalInterest: ReactNode`
|
|
91
|
+
- `quoteTotalInterest: ReactNode`
|
|
92
|
+
- `borrowedLabel?: string`
|
|
93
|
+
- `interestRateLabel?: string`
|
|
94
|
+
- `totalInterestLabel?: string`
|
|
95
|
+
- `showInterestRate?: boolean`
|
|
96
|
+
- `baseInterestRate?: ReactNode`
|
|
97
|
+
- `quoteInterestRate?: ReactNode`
|
|
98
|
+
- `disableBorrow?: boolean`
|
|
99
|
+
- `disableRepay?: boolean`
|
|
100
|
+
- `onBorrow?: () => void`
|
|
101
|
+
- `onRepay?: () => void`
|
|
102
|
+
- `wrapperClassName?: string`
|
|
103
|
+
- `headerClassName?: string`
|
|
104
|
+
- `contentClassName?: string`
|
|
105
|
+
|
|
106
|
+
#### MealNutrients
|
|
107
|
+
UI Component that shows the nutrients consumed by the user
|
|
108
|
+
|
|
109
|
+
- `caption?: string`
|
|
110
|
+
- `options: OptionType[]`
|
|
111
|
+
- `data: readonly LineSeries[]`
|
|
112
|
+
- `onOptionChange?: (option: OptionType) => void`
|
|
113
|
+
|
|
114
|
+
#### MealPlanner
|
|
115
|
+
|
|
116
|
+
- `data: { [mealName: string]: MealPlannerItem; }`
|
|
117
|
+
- `avatarBorder?: boolean` `= false` — Shows a border around the avatar in each meal card.
|
|
118
|
+
|
|
119
|
+
#### StepsCounter
|
|
120
|
+
UI Component with a Card that shows the steps count of the user
|
|
121
|
+
|
|
122
|
+
- `max: number`
|
|
123
|
+
- `currentValue: number`
|
|
124
|
+
|
|
125
|
+
#### TradingInfoCard
|
|
126
|
+
|
|
127
|
+
- `value: React.ReactNode`
|
|
128
|
+
- `title: string`
|
|
129
|
+
- `unit?: string`
|
|
130
|
+
- `icon?: React.ReactNode`
|
|
131
|
+
- `onClick?: () => void`
|
|
132
|
+
- `link?: string`
|
|
133
|
+
- `showTooltip?: boolean`
|
|
134
|
+
|
|
135
|
+
#### TradingScoreboard
|
|
136
|
+
|
|
137
|
+
- `itemsPerRow: number`
|
|
138
|
+
- `items: TradingScoreboardItem[]`
|
|
139
|
+
- `onClick?: (item: TradingScoreboardItem) => void`
|
|
140
|
+
- `renderCard?: (item: TradingScoreboardItem, onClick?: (item: TradingScoreboardItem) =…`
|
|
141
|
+
|
|
142
|
+
#### UpcomingWorkouts
|
|
143
|
+
|
|
144
|
+
- `workouts: Workout[]`
|
|
145
|
+
- `avatarBorder?: boolean` `= false` — Shows a border around the avatar in each workout card.
|
|
146
|
+
|
|
147
|
+
#### UserCard
|
|
148
|
+
|
|
149
|
+
- `user: User | null`
|
|
150
|
+
- `avatarBorder?: boolean` `= false` — Shows a border around the avatar.
|
|
151
|
+
|
|
152
|
+
#### WaterConsume
|
|
153
|
+
UI Component shows the water consumption objective of the user
|
|
154
|
+
|
|
155
|
+
- `minValue?: number`
|
|
156
|
+
- `maxValue?: number`
|
|
157
|
+
- `unit?: string`
|
|
158
|
+
- `active: number`
|
|
159
|
+
- `currentValue: number`
|
|
160
|
+
- `steps: { title: string; caption: string; }[]`
|
|
161
|
+
|
|
162
|
+
## Compound components
|
|
163
|
+
|
|
164
|
+
_Namespace exports. Import the namespace, then use its parts: `import { Drawer } from '@ssa-ui-kit/core'` → `<Drawer.Root>`._
|
|
165
|
+
|
|
166
|
+
### ExchangeAccount
|
|
167
|
+
|
|
168
|
+
#### ExchangeAccount.Header
|
|
169
|
+
|
|
170
|
+
- `children?: ReactNode`
|
|
171
|
+
|
|
172
|
+
#### ExchangeAccount.Platform
|
|
173
|
+
|
|
174
|
+
- `children?: ReactNode`
|
|
175
|
+
|
|
176
|
+
#### ExchangeAccount.Title
|
|
177
|
+
|
|
178
|
+
- `children?: ReactNode`
|
|
179
|
+
|
|
180
|
+
#### ExchangeAccount.Status
|
|
181
|
+
|
|
182
|
+
- `isActive?: boolean`
|
|
183
|
+
- `children?: ReactNode | …(1 more)`
|
|
184
|
+
|
|
185
|
+
#### ExchangeAccount.Content
|
|
186
|
+
|
|
187
|
+
- `pieChartProps?: Partial<Omit<PieChartProps, 'data'>>`
|
|
188
|
+
|
|
189
|
+
### AccountKeys
|
|
190
|
+
|
|
191
|
+
#### AccountKeys.Header
|
|
192
|
+
|
|
193
|
+
- `children?: ReactNode`
|
|
194
|
+
|
|
195
|
+
#### AccountKeys.Content
|
|
196
|
+
|
|
197
|
+
- `children?: ReactNode`
|
|
198
|
+
|
|
199
|
+
## Hooks
|
|
200
|
+
|
|
201
|
+
- `useAccountKeys`
|
|
202
|
+
|
|
203
|
+
## Exported types
|
|
204
|
+
|
|
205
|
+
_Names only — read the `.d.ts` for their shape._
|
|
206
|
+
|
|
207
|
+
`AccountBalanceProps` · `AccountKeysProps` · `ActivityItemProps` · `ActivityResp` · `BMPProps`
|
|
208
|
+
`BalancePieChartProps` · `BmiProps` · `CaloriesProps` · `CustomPointLayerProps`
|
|
209
|
+
`ExchangeAccountProps` · `Goal` · `HeartRateCaptionProps` · `HeartRateProps` · `ItemCardProps`
|
|
210
|
+
`ListGoalsProps` · `MarginInfoProps` · `MarginInfoTableRowProps` · `MealNutrientsProps`
|
|
211
|
+
`MealNutrientsTooltipProps` · `MealPlannerCardProps` · `MealPlannerData` · `MealPlannerItem`
|
|
212
|
+
`MealPlannerProps` · `OptionType` · `ProgressProps` · `ScaleSpec` · `StepsCounterProps`
|
|
213
|
+
`TradingInfoCardProps` · `TradingInfoCardTooltipProps` · `TradingInfoCardWrapperProps`
|
|
214
|
+
`TradingInfoContent` · `TradingScoreboardProps` · `UpcomingWorkoutCardProps`
|
|
215
|
+
`UpcomingWorkoutsProps` · `UseAccountKeysOptions` · `UseAccountKeysStore` · `UseChartConfig`
|
|
216
|
+
`User` · `WaterConsumeProps` · `Workout`
|