@xaui/native 0.0.27 → 0.0.29
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/LICENSE +21 -0
- package/README.md +105 -228
- package/dist/alert/index.cjs +92 -166
- package/dist/alert/index.js +2 -1
- package/dist/app-bar/index.cjs +24 -98
- package/dist/app-bar/index.js +2 -1
- package/dist/autocomplete/index.cjs +192 -281
- package/dist/autocomplete/index.js +36 -48
- package/dist/avatar/index.cjs +59 -133
- package/dist/avatar/index.js +2 -1
- package/dist/badge/index.cjs +26 -99
- package/dist/badge/index.js +2 -1
- package/dist/bottom-sheet/index.cjs +5 -456
- package/dist/bottom-sheet/index.js +4 -363
- package/dist/bottom-tab-bar/index.cjs +93 -167
- package/dist/bottom-tab-bar/index.js +2 -2
- package/dist/button/index.cjs +73 -525
- package/dist/button/index.js +3 -2
- package/dist/card/index.cjs +76 -169
- package/dist/card/index.js +2 -2
- package/dist/carousel/index.cjs +68 -145
- package/dist/carousel/index.js +1 -1
- package/dist/chart/index.cjs +132 -173
- package/dist/checkbox/index.cjs +70 -143
- package/dist/checkbox/index.js +2 -1
- package/dist/chip/index.cjs +89 -164
- package/dist/chip/index.js +2 -1
- package/dist/chunk-BD72HIPR.cjs +75 -0
- package/dist/chunk-DHSTKO3K.cjs +19 -0
- package/dist/{chunk-CZFDZPAS.js → chunk-DXXNBF5P.js} +5 -0
- package/dist/{chunk-UI5L26KD.js → chunk-F7WH4DMG.js} +1 -1
- package/dist/chunk-GBHQCAKW.js +19 -0
- package/dist/chunk-HC2SSHNU.js +368 -0
- package/dist/chunk-HSPTLUFA.cjs +7 -0
- package/dist/chunk-JEGEPGVU.js +287 -0
- package/dist/chunk-KTLGDLCB.cjs +287 -0
- package/dist/{chunk-GHCVNQET.js → chunk-LTKYHG5V.js} +5 -12
- package/dist/{chunk-ULJSCNPE.js → chunk-LUBWRVI2.js} +1 -1
- package/dist/chunk-OQ2BLOOG.cjs +138 -0
- package/dist/chunk-QMYWIWSX.cjs +384 -0
- package/dist/chunk-XFPPR2VB.cjs +368 -0
- package/dist/core/index.cjs +22 -168
- package/dist/core/index.d.cts +1 -1
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.js +5 -3
- package/dist/datepicker/index.cjs +239 -320
- package/dist/datepicker/index.js +2 -1
- package/dist/divider/index.cjs +5 -145
- package/dist/divider/index.js +3 -2
- package/dist/drawer/index.cjs +39 -112
- package/dist/drawer/index.js +2 -1
- package/dist/expansion-panel/index.cjs +91 -230
- package/dist/expansion-panel/index.js +3 -2
- package/dist/fab/index.cjs +6 -722
- package/dist/fab/index.js +4 -3
- package/dist/fab-menu/index.cjs +81 -814
- package/dist/fab-menu/index.js +4 -3
- package/dist/feature-discovery/index.cjs +72 -139
- package/dist/feature-discovery/index.js +2 -2
- package/dist/index.cjs +1 -18
- package/dist/indicator/index.cjs +5 -445
- package/dist/indicator/index.js +3 -2
- package/dist/input/index.cjs +214 -282
- package/dist/input/index.js +2 -2
- package/dist/list/index.cjs +71 -146
- package/dist/list/index.js +2 -1
- package/dist/menu/index.cjs +71 -127
- package/dist/menu/index.d.cts +8 -0
- package/dist/menu/index.d.ts +8 -0
- package/dist/menu/index.js +15 -3
- package/dist/menubox/index.cjs +60 -132
- package/dist/menubox/index.js +2 -1
- package/dist/pager/index.cjs +42 -80
- package/dist/progress/index.cjs +43 -114
- package/dist/progress/index.js +2 -1
- package/dist/radio/index.cjs +82 -154
- package/dist/radio/index.js +2 -1
- package/dist/segment-button/index.cjs +60 -147
- package/dist/segment-button/index.js +2 -2
- package/dist/select/index.cjs +149 -224
- package/dist/select/index.js +10 -22
- package/dist/skeleton/index.cjs +23 -94
- package/dist/skeleton/index.js +2 -2
- package/dist/slider/index.cjs +77 -156
- package/dist/slider/index.js +2 -1
- package/dist/snackbar/index.cjs +420 -0
- package/dist/snackbar/index.d.cts +175 -0
- package/dist/snackbar/index.d.ts +175 -0
- package/dist/snackbar/index.js +420 -0
- package/dist/stepper/index.cjs +121 -195
- package/dist/stepper/index.js +2 -1
- package/dist/switch/index.cjs +48 -121
- package/dist/switch/index.js +2 -1
- package/dist/tabs/index.cjs +67 -151
- package/dist/tabs/index.js +2 -1
- package/dist/timepicker/index.cjs +135 -593
- package/dist/timepicker/index.js +24 -383
- package/dist/toolbar/index.cjs +59 -128
- package/dist/toolbar/index.js +2 -1
- package/dist/typography/index.cjs +37 -92
- package/dist/typography/index.d.cts +1 -1
- package/dist/typography/index.d.ts +1 -1
- package/dist/typography/index.js +20 -1
- package/dist/view/index.cjs +178 -223
- package/package.json +6 -1
- package/dist/chunk-3XSXTM3G.js +0 -661
- package/dist/chunk-4KSZLONZ.js +0 -79
- package/dist/chunk-I4V5Y5GD.js +0 -76
- package/dist/chunk-URBEEDFX.js +0 -79
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 bamory grams
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
React Native components and hooks that extend the core `@xaui/core` theme system. This mobile layer ships animated primitives (buttons, indicators, hooks) ready to use with `XUIProvider`.
|
|
4
4
|
|
|
5
|
+
**[Full documentation → ui.xtartapp.com](https://ui.xtartapp.com)**
|
|
6
|
+
|
|
5
7
|
## Installation
|
|
6
8
|
|
|
7
9
|
```bash
|
|
@@ -54,234 +56,109 @@ function Banner() {
|
|
|
54
56
|
}
|
|
55
57
|
```
|
|
56
58
|
|
|
57
|
-
##
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
import {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
import {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
import {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
import { Checkbox } from '@xaui/native/checkbox'
|
|
161
|
-
;<Checkbox
|
|
162
|
-
isSelected={isChecked}
|
|
163
|
-
onValueChange={setIsChecked}
|
|
164
|
-
themeColor="primary"
|
|
165
|
-
size="md"
|
|
166
|
-
>
|
|
167
|
-
Accept terms and conditions
|
|
168
|
-
</Checkbox>
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
### `Chip`
|
|
172
|
-
|
|
173
|
-
- Variants: `solid`, `outlined`, `flat`, `light`, `faded`
|
|
174
|
-
- Sizes: `xs`, `sm`, `md`, `lg`
|
|
175
|
-
- Supports start/end content, close button, and selection state
|
|
176
|
-
|
|
177
|
-
```tsx
|
|
178
|
-
import { Chip } onPress={() => console.log('Chip pressed')}>
|
|
179
|
-
Tag Label
|
|
180
|
-
</Chip>
|
|
181
|
-
```
|
|
182
|
-
|
|
183
|
-
### `Divider`
|
|
184
|
-
|
|
185
|
-
- Orientations: `horizontal`, `vertical`
|
|
186
|
-
- Supports custom color and size
|
|
187
|
-
|
|
188
|
-
```tsx
|
|
189
|
-
import { Divider } from '@xaui/native/divider'
|
|
190
|
-
|
|
191
|
-
<Divider orientation="horizontal" size={2} />
|
|
192
|
-
<Divider orientation="vertical" size={1} color="#E5E7EB" />
|
|
193
|
-
```
|
|
194
|
-
|
|
195
|
-
### `Radio` & `RadioGroup`
|
|
196
|
-
|
|
197
|
-
- Variants: `solid`, `outlined`, `flat`
|
|
198
|
-
- Sizes: `xs`, `sm`, `md`, `lg`
|
|
199
|
-
- Group support with controlled state
|
|
200
|
-
|
|
201
|
-
```tsx
|
|
202
|
-
import { Radio, RadioGroup } from '@xaui/native/radio'
|
|
203
|
-
;<RadioGroup value={selected} onValueChange={setSelected}>
|
|
204
|
-
<Radio value="option1" themeColor="primary">
|
|
205
|
-
Option 1
|
|
206
|
-
</Radio>
|
|
207
|
-
<Radio value="option2" themeColor="primary">
|
|
208
|
-
Option 2
|
|
209
|
-
</Radio>
|
|
210
|
-
</RadioGroup>
|
|
211
|
-
```
|
|
212
|
-
|
|
213
|
-
### `Switch`
|
|
214
|
-
|
|
215
|
-
- Sizes: `xs`, `sm`, `md`, `lg`
|
|
216
|
-
- Supports icons inside the thumb
|
|
217
|
-
|
|
218
|
-
```tsx
|
|
219
|
-
import { Switch } from '@xaui/native/switch'
|
|
220
|
-
;<Switch
|
|
221
|
-
isSelected={isEnabled}
|
|
222
|
-
onValueChange={setIsEnabled}
|
|
223
|
-
size="md"
|
|
224
|
-
themeColor="success"
|
|
225
|
-
/>
|
|
226
|
-
```
|
|
227
|
-
|
|
228
|
-
### View Components
|
|
229
|
-
|
|
230
|
-
#### `Center`
|
|
231
|
-
|
|
232
|
-
Centers its child both vertically and horizontally.
|
|
233
|
-
|
|
234
|
-
```tsx
|
|
235
|
-
import { Center } from '@xaui/native/center'
|
|
236
|
-
;<Center style={{ flex: 1 }}>
|
|
237
|
-
<Text>Centered content</Text>
|
|
238
|
-
</Center>
|
|
239
|
-
```
|
|
240
|
-
|
|
241
|
-
#### `Column` & `Row`
|
|
242
|
-
|
|
243
|
-
Flexbox layout helpers with Flutter-like API.
|
|
244
|
-
|
|
245
|
-
```tsx
|
|
246
|
-
import { Column, Row } from '@xaui/native/view'
|
|
247
|
-
|
|
248
|
-
<Column mainAxisAlignment="center" crossAxisAlignment="stretch" gap={16}>
|
|
249
|
-
<Text>Item 1</Text>
|
|
250
|
-
<Text>Item 2</Text>
|
|
251
|
-
</Column>
|
|
252
|
-
|
|
253
|
-
<Row mainAxisAlignment="space-between" crossAxisAlignment="center">
|
|
254
|
-
<Text>Left</Text>
|
|
255
|
-
<Text>Right</Text>
|
|
256
|
-
</Row>
|
|
257
|
-
```
|
|
258
|
-
|
|
259
|
-
#### `Spacer` & `SizedBox`
|
|
260
|
-
|
|
261
|
-
Utility components for spacing.
|
|
262
|
-
|
|
263
|
-
```tsx
|
|
264
|
-
import { Spacer, SizedBox } from '@xaui/native/view'
|
|
265
|
-
|
|
266
|
-
<Row>
|
|
267
|
-
<Text>Left</Text>
|
|
268
|
-
<Spacer />
|
|
269
|
-
<Text>Right</Text>
|
|
270
|
-
</Row>
|
|
271
|
-
|
|
272
|
-
<SizedBox height={20} width={10} />
|
|
273
|
-
```
|
|
274
|
-
|
|
275
|
-
#### `RoundedView`
|
|
276
|
-
|
|
277
|
-
View with rounded corners and optional border.
|
|
278
|
-
|
|
279
|
-
```tsx
|
|
280
|
-
import { RoundedView } from '@xaui/native/rounded-view'
|
|
281
|
-
;<RoundedView borderRadius={16} borderWidth={2} borderColor="#E5E7EB" padding={20}>
|
|
282
|
-
<Text>Content with rounded corners</Text>
|
|
283
|
-
</RoundedView>
|
|
284
|
-
```
|
|
59
|
+
## Components (exhaustive)
|
|
60
|
+
|
|
61
|
+
This table lists all public components exported by `@xaui/native` and their import path.
|
|
62
|
+
|
|
63
|
+
| Name | Description | Usage |
|
|
64
|
+
| --- | --- | --- |
|
|
65
|
+
| `XUIProvider` | Theme provider for all XAUI native components. | `import { XUIProvider } from '@xaui/native/core'` |
|
|
66
|
+
| `Portal` | Renders content in a portal host layer. | `import { Portal } from '@xaui/native/core'` |
|
|
67
|
+
| `PortalHost` | Host container for portal content. | `import { PortalHost } from '@xaui/native/core'` |
|
|
68
|
+
| `Button` | Pressable button with variants, sizes, and loading state. | `import { Button } from '@xaui/native/button'` |
|
|
69
|
+
| `IconButton` | Compact icon-only button variant. | `import { IconButton } from '@xaui/native/button'` |
|
|
70
|
+
| `Checkbox` | Selection control with checked/indeterminate states. | `import { Checkbox } from '@xaui/native/checkbox'` |
|
|
71
|
+
| `ExpansionPanel` | Accordion container for expandable sections. | `import { ExpansionPanel } from '@xaui/native/expansion-panel'` |
|
|
72
|
+
| `ExpansionPanelItem` | Expandable item inside `ExpansionPanel`. | `import { ExpansionPanelItem } from '@xaui/native/expansion-panel'` |
|
|
73
|
+
| `Progress` | Progress indicator with linear/circular rendering. | `import { Progress } from '@xaui/native/progress'` |
|
|
74
|
+
| `ActivityIndicator` | Animated loading indicator component. | `import { ActivityIndicator } from '@xaui/native/indicator'` |
|
|
75
|
+
| `Switch` | Toggle switch control. | `import { Switch } from '@xaui/native/switch'` |
|
|
76
|
+
| `Slider` | Draggable value selector slider. | `import { Slider } from '@xaui/native/slider'` |
|
|
77
|
+
| `Select` | Select input with trigger and list behavior. | `import { Select } from '@xaui/native/select'` |
|
|
78
|
+
| `SelectItem` | Select option item for `Select`. | `import { SelectItem } from '@xaui/native/select'` |
|
|
79
|
+
| `Divider` | Horizontal or vertical separator line. | `import { Divider } from '@xaui/native/divider'` |
|
|
80
|
+
| `Drawer` | Side sheet / drawer container. | `import { Drawer } from '@xaui/native/drawer'` |
|
|
81
|
+
| `Skeleton` | Placeholder loading block. | `import { Skeleton } from '@xaui/native/skeleton'` |
|
|
82
|
+
| `Avatar` | User avatar (image, initials, icon). | `import { Avatar } from '@xaui/native/avatar'` |
|
|
83
|
+
| `AvatarGroup` | Grouped avatars with overlap/stacking. | `import { AvatarGroup } from '@xaui/native/avatar'` |
|
|
84
|
+
| `Badge` | Status/count badge component. | `import { Badge } from '@xaui/native/badge'` |
|
|
85
|
+
| `Alert` | Contextual alert/message banner. | `import { Alert } from '@xaui/native/alert'` |
|
|
86
|
+
| `Autocomplete` | Input with dynamic suggestions. | `import { Autocomplete } from '@xaui/native/autocomplete'` |
|
|
87
|
+
| `AutocompleteItem` | Suggestion item for `Autocomplete`. | `import { AutocompleteItem } from '@xaui/native/autocomplete'` |
|
|
88
|
+
| `DatePicker` | Date selection input/picker. | `import { DatePicker } from '@xaui/native/datepicker'` |
|
|
89
|
+
| `Typography` | Themed text component with variants. | `import { Typography } from '@xaui/native/typography'` |
|
|
90
|
+
| `Column` | Vertical flex layout helper. | `import { Column } from '@xaui/native/view'` |
|
|
91
|
+
| `Row` | Horizontal flex layout helper. | `import { Row } from '@xaui/native/view'` |
|
|
92
|
+
| `Spacer` | Flexible space element in layouts. | `import { Spacer } from '@xaui/native/view'` |
|
|
93
|
+
| `Padding` | Wrapper applying padding shortcuts. | `import { Padding } from '@xaui/native/view'` |
|
|
94
|
+
| `Margin` | Wrapper applying margin shortcuts. | `import { Margin } from '@xaui/native/view'` |
|
|
95
|
+
| `SizedBox` | Fixed width/height spacing box. | `import { SizedBox } from '@xaui/native/view'` |
|
|
96
|
+
| `PositionedView` | Absolute/fixed positioning helper view. | `import { PositionedView } from '@xaui/native/view'` |
|
|
97
|
+
| `BlurView` | Blurred background container. | `import { BlurView } from '@xaui/native/view'` |
|
|
98
|
+
| `RoundedView` | View with configurable rounded corners. | `import { RoundedView } from '@xaui/native/view'` |
|
|
99
|
+
| `AspectRatio` | Maintains a fixed aspect ratio for content. | `import { AspectRatio } from '@xaui/native/view'` |
|
|
100
|
+
| `Grid` | Grid layout container. | `import { Grid } from '@xaui/native/view'` |
|
|
101
|
+
| `GridItem` | Item element for `Grid`. | `import { GridItem } from '@xaui/native/view'` |
|
|
102
|
+
| `GridBuilder` | Builder-based grid rendering helper. | `import { GridBuilder } from '@xaui/native/view'` |
|
|
103
|
+
| `ConditionalView` | Conditionally renders with optional animation. | `import { ConditionalView } from '@xaui/native/view'` |
|
|
104
|
+
| `MasonryGrid` | Masonry-style responsive grid container. | `import { MasonryGrid } from '@xaui/native/view'` |
|
|
105
|
+
| `MasonryGridItem` | Item element for `MasonryGrid`. | `import { MasonryGridItem } from '@xaui/native/view'` |
|
|
106
|
+
| `MasonryGridBuilder` | Builder-based masonry rendering helper. | `import { MasonryGridBuilder } from '@xaui/native/view'` |
|
|
107
|
+
| `Carousel` | Swipeable carousel for paged content. | `import { Carousel } from '@xaui/native/carousel'` |
|
|
108
|
+
| `SegmentButton` | Segmented control container. | `import { SegmentButton } from '@xaui/native/segment-button'` |
|
|
109
|
+
| `SegmentButtonItem` | Segment item for `SegmentButton`. | `import { SegmentButtonItem } from '@xaui/native/segment-button'` |
|
|
110
|
+
| `Tabs` | Tabs container with active tab state. | `import { Tabs } from '@xaui/native/tabs'` |
|
|
111
|
+
| `Tab` | Individual tab item for `Tabs`. | `import { Tab } from '@xaui/native/tabs'` |
|
|
112
|
+
| `Pager` | Paged container with swipe navigation. | `import { Pager } from '@xaui/native/pager'` |
|
|
113
|
+
| `PagerItem` | Page item for `Pager`. | `import { PagerItem } from '@xaui/native/pager'` |
|
|
114
|
+
| `Chip` | Compact labeled action/filter chip. | `import { Chip } from '@xaui/native/chip'` |
|
|
115
|
+
| `ChipGroup` | Group manager for chip selection. | `import { ChipGroup } from '@xaui/native/chip'` |
|
|
116
|
+
| `ChipItem` | Item variant used inside `ChipGroup`. | `import { ChipItem } from '@xaui/native/chip'` |
|
|
117
|
+
| `BottomSheet` | Bottom sheet modal/panel. | `import { BottomSheet } from '@xaui/native/bottom-sheet'` |
|
|
118
|
+
| `BottomTabBar` | Bottom navigation tab bar container. | `import { BottomTabBar } from '@xaui/native/bottom-tab-bar'` |
|
|
119
|
+
| `BottomTabBarItem` | Tab item for `BottomTabBar`. | `import { BottomTabBarItem } from '@xaui/native/bottom-tab-bar'` |
|
|
120
|
+
| `Menu` | Anchored contextual menu. | `import { Menu } from '@xaui/native/menu'` |
|
|
121
|
+
| `MenuItem` | Action item for `Menu`. | `import { MenuItem } from '@xaui/native/menu'` |
|
|
122
|
+
| `Fab` | Floating action button. | `import { Fab } from '@xaui/native/fab'` |
|
|
123
|
+
| `FabMenu` | Expandable floating action menu. | `import { FabMenu } from '@xaui/native/fab-menu'` |
|
|
124
|
+
| `FabMenuItem` | Action item for `FabMenu`. | `import { FabMenuItem } from '@xaui/native/fab-menu'` |
|
|
125
|
+
| `FeatureDiscovery` | Spotlight/coach-mark discovery overlay. | `import { FeatureDiscovery } from '@xaui/native/feature-discovery'` |
|
|
126
|
+
| `Card` | Card container surface. | `import { Card } from '@xaui/native/card'` |
|
|
127
|
+
| `CardHeader` | Header section for `Card`. | `import { CardHeader } from '@xaui/native/card'` |
|
|
128
|
+
| `CardBody` | Body/content section for `Card`. | `import { CardBody } from '@xaui/native/card'` |
|
|
129
|
+
| `CardFooter` | Footer/actions section for `Card`. | `import { CardFooter } from '@xaui/native/card'` |
|
|
130
|
+
| `CardTitle` | Title text slot for `Card`. | `import { CardTitle } from '@xaui/native/card'` |
|
|
131
|
+
| `CardDescription` | Description text slot for `Card`. | `import { CardDescription } from '@xaui/native/card'` |
|
|
132
|
+
| `TextInput` | Standard text input field. | `import { TextInput } from '@xaui/native/input'` |
|
|
133
|
+
| `TextArea` | Multiline text input field. | `import { TextArea } from '@xaui/native/input'` |
|
|
134
|
+
| `DateInput` | Date-only formatted input. | `import { DateInput } from '@xaui/native/input'` |
|
|
135
|
+
| `TimeInput` | Time-only formatted input. | `import { TimeInput } from '@xaui/native/input'` |
|
|
136
|
+
| `DateTimeInput` | Combined date-time formatted input. | `import { DateTimeInput } from '@xaui/native/input'` |
|
|
137
|
+
| `OTPInput` | One-time password segmented input. | `import { OTPInput } from '@xaui/native/input'` |
|
|
138
|
+
| `NumberInput` | Numeric input with controls/formatting. | `import { NumberInput } from '@xaui/native/input'` |
|
|
139
|
+
| `List` | List container with selection options. | `import { List } from '@xaui/native/list'` |
|
|
140
|
+
| `ListItem` | Item row for `List`. | `import { ListItem } from '@xaui/native/list'` |
|
|
141
|
+
| `ListBuilder` | Builder-based dynamic list helper. | `import { ListBuilder } from '@xaui/native/list'` |
|
|
142
|
+
| `Radio` | Single radio option control. | `import { Radio } from '@xaui/native/radio'` |
|
|
143
|
+
| `RadioGroup` | Group controller for radio options. | `import { RadioGroup } from '@xaui/native/radio'` |
|
|
144
|
+
| `Toolbar` | App toolbar/action bar container. | `import { Toolbar } from '@xaui/native/toolbar'` |
|
|
145
|
+
| `ToolbarAction` | Action button/item for `Toolbar`. | `import { ToolbarAction } from '@xaui/native/toolbar'` |
|
|
146
|
+
| `AppBar` | Top app bar container. | `import { AppBar } from '@xaui/native/app-bar'` |
|
|
147
|
+
| `AppBarStartContent` | Leading slot for `AppBar`. | `import { AppBarStartContent } from '@xaui/native/app-bar'` |
|
|
148
|
+
| `AppBarContent` | Main content slot for `AppBar`. | `import { AppBarContent } from '@xaui/native/app-bar'` |
|
|
149
|
+
| `AppBarEndContent` | Trailing slot for `AppBar`. | `import { AppBarEndContent } from '@xaui/native/app-bar'` |
|
|
150
|
+
| `TimePicker` | Time picker main component. | `import { TimePicker } from '@xaui/native/timepicker'` |
|
|
151
|
+
| `TimePickerDialog` | Dialog variant for time selection. | `import { TimePickerDialog } from '@xaui/native/timepicker'` |
|
|
152
|
+
| `TimePickerTrigger` | Trigger component for opening time picker UI. | `import { TimePickerTrigger } from '@xaui/native/timepicker'` |
|
|
153
|
+
| `Stepper` | Multi-step progress/navigation component. | `import { Stepper } from '@xaui/native/stepper'` |
|
|
154
|
+
| `StepperItem` | Individual step for `Stepper`. | `import { StepperItem } from '@xaui/native/stepper'` |
|
|
155
|
+
| `MenuBox` | Menu box container with animated items. | `import { MenuBox } from '@xaui/native/menubox'` |
|
|
156
|
+
| `MenuBoxItem` | Action item for `MenuBox`. | `import { MenuBoxItem } from '@xaui/native/menubox'` |
|
|
157
|
+
| `DonutChartCard` | Card component rendering a donut chart. | `import { DonutChartCard } from '@xaui/native/chart'` |
|
|
158
|
+
| `VerticalBarChartCard` | Card component rendering vertical bars. | `import { VerticalBarChartCard } from '@xaui/native/chart'` |
|
|
159
|
+
| `PieChartCard` | Card component rendering a pie chart. | `import { PieChartCard } from '@xaui/native/chart'` |
|
|
160
|
+
| `LineChartCard` | Card component rendering a line chart. | `import { LineChartCard } from '@xaui/native/chart'` |
|
|
161
|
+
| `HeatmapChartCard` | Card component rendering a heatmap chart. | `import { HeatmapChartCard } from '@xaui/native/chart'` |
|
|
285
162
|
|
|
286
163
|
## Theme hooks & utilities
|
|
287
164
|
|