@xaui/native 0.1.4 → 0.2.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.
Files changed (130) hide show
  1. package/README.md +109 -113
  2. package/dist/alert/index.cjs +6 -9
  3. package/dist/alert/index.js +4 -7
  4. package/dist/app-bar/index.cjs +4 -4
  5. package/dist/app-bar/index.js +2 -2
  6. package/dist/autocomplete/index.cjs +20 -25
  7. package/dist/autocomplete/index.d.cts +1 -1
  8. package/dist/autocomplete/index.d.ts +1 -1
  9. package/dist/autocomplete/index.js +11 -16
  10. package/dist/avatar/index.cjs +9 -9
  11. package/dist/avatar/index.js +5 -5
  12. package/dist/badge/index.cjs +13 -14
  13. package/dist/badge/index.js +10 -11
  14. package/dist/bottom-sheet/index.cjs +3 -3
  15. package/dist/bottom-sheet/index.js +2 -2
  16. package/dist/bottom-tab-bar/index.cjs +2 -2
  17. package/dist/bottom-tab-bar/index.js +1 -1
  18. package/dist/button/index.cjs +19 -22
  19. package/dist/button/index.d.cts +3 -3
  20. package/dist/button/index.d.ts +3 -3
  21. package/dist/button/index.js +12 -15
  22. package/dist/card/index.cjs +8 -8
  23. package/dist/card/index.js +3 -3
  24. package/dist/carousel/index.cjs +2 -2
  25. package/dist/carousel/index.js +1 -1
  26. package/dist/checkbox/index.cjs +11 -11
  27. package/dist/checkbox/index.js +6 -6
  28. package/dist/chip/index.cjs +11 -11
  29. package/dist/chip/index.js +9 -9
  30. package/dist/{chunk-K24VDBNN.js → chunk-4JFWQ5XT.js} +2 -2
  31. package/dist/{chunk-RZJFCDFS.cjs → chunk-7UFBLUMV.cjs} +13 -19
  32. package/dist/{chunk-M6A23KUM.js → chunk-A45TVXU5.js} +29 -5
  33. package/dist/{chunk-3XWF77Y3.cjs → chunk-BYWUAPC4.cjs} +4 -4
  34. package/dist/{chunk-X5KNZ6YJ.cjs → chunk-DJ4Q37UT.cjs} +2 -2
  35. package/dist/{chunk-LVNBYERF.js → chunk-RBSA4NH4.js} +13 -19
  36. package/dist/{chunk-HYL4EU3Y.cjs → chunk-UGEINZM7.cjs} +14 -13
  37. package/dist/{chunk-WGWXGIZ3.js → chunk-UU4HHBDN.js} +10 -9
  38. package/dist/{chunk-J3BOFXIH.js → chunk-VSZEXOUN.js} +4 -4
  39. package/dist/{chunk-FBTBWI3P.cjs → chunk-YIEUN3G5.cjs} +7 -7
  40. package/dist/{chunk-43I45LX7.cjs → chunk-ZH6ZSV2Q.cjs} +33 -9
  41. package/dist/{chunk-2JKWVIPB.js → chunk-ZY7IUTAT.js} +1 -1
  42. package/dist/color-picker/index.cjs +7 -7
  43. package/dist/color-picker/index.d.cts +1 -1
  44. package/dist/color-picker/index.d.ts +1 -1
  45. package/dist/color-picker/index.js +4 -4
  46. package/dist/core/index.cjs +2 -2
  47. package/dist/core/index.d.cts +1 -2
  48. package/dist/core/index.d.ts +1 -2
  49. package/dist/core/index.js +1 -1
  50. package/dist/datepicker/index.cjs +28 -30
  51. package/dist/datepicker/index.d.cts +1 -1
  52. package/dist/datepicker/index.d.ts +1 -1
  53. package/dist/datepicker/index.js +17 -19
  54. package/dist/dialog/index.cjs +5 -5
  55. package/dist/dialog/index.js +1 -1
  56. package/dist/divider/index.cjs +3 -3
  57. package/dist/divider/index.js +2 -2
  58. package/dist/drawer/index.cjs +4 -4
  59. package/dist/drawer/index.js +3 -3
  60. package/dist/expansion-panel/index.cjs +12 -12
  61. package/dist/expansion-panel/index.js +3 -3
  62. package/dist/fab/index.cjs +4 -4
  63. package/dist/fab/index.js +3 -3
  64. package/dist/fab-menu/index.cjs +8 -8
  65. package/dist/fab-menu/index.js +4 -4
  66. package/dist/feature-discovery/index.cjs +6 -6
  67. package/dist/feature-discovery/index.js +5 -5
  68. package/dist/indicator/index.cjs +3 -3
  69. package/dist/indicator/index.js +2 -2
  70. package/dist/input/index.cjs +38 -20
  71. package/dist/input/index.d.cts +2 -2
  72. package/dist/input/index.d.ts +2 -2
  73. package/dist/input/index.js +36 -18
  74. package/dist/input-trigger/index.cjs +193 -4
  75. package/dist/input-trigger/index.d.cts +5 -3
  76. package/dist/input-trigger/index.d.ts +5 -3
  77. package/dist/input-trigger/index.js +192 -3
  78. package/dist/{input-trigger.type-BL70fHE9.d.cts → input-trigger.type-By_1ZjKd.d.cts} +86 -3
  79. package/dist/{input-trigger.type-BODYStHk.d.ts → input-trigger.type-DlSqg2eG.d.ts} +86 -3
  80. package/dist/list/index.cjs +6 -6
  81. package/dist/list/index.js +2 -2
  82. package/dist/menu/index.cjs +4 -4
  83. package/dist/menu/index.js +2 -2
  84. package/dist/menubox/index.cjs +7 -7
  85. package/dist/menubox/index.d.cts +1 -1
  86. package/dist/menubox/index.d.ts +1 -1
  87. package/dist/menubox/index.js +3 -3
  88. package/dist/picker/index.cjs +7 -7
  89. package/dist/picker/index.d.cts +1 -1
  90. package/dist/picker/index.d.ts +1 -1
  91. package/dist/picker/index.js +4 -4
  92. package/dist/progress/index.cjs +3 -3
  93. package/dist/progress/index.js +2 -2
  94. package/dist/radio/index.cjs +9 -9
  95. package/dist/radio/index.js +3 -3
  96. package/dist/refresh-control/index.cjs +45 -0
  97. package/dist/refresh-control/index.d.cts +55 -0
  98. package/dist/refresh-control/index.d.ts +55 -0
  99. package/dist/refresh-control/index.js +45 -0
  100. package/dist/segment-button/index.cjs +8 -8
  101. package/dist/segment-button/index.js +5 -5
  102. package/dist/select/index.cjs +50 -58
  103. package/dist/select/index.d.cts +2 -2
  104. package/dist/select/index.d.ts +2 -2
  105. package/dist/select/index.js +37 -45
  106. package/dist/skeleton/index.cjs +4 -4
  107. package/dist/skeleton/index.js +3 -3
  108. package/dist/slider/index.cjs +5 -5
  109. package/dist/slider/index.js +1 -1
  110. package/dist/snackbar/index.cjs +6 -6
  111. package/dist/snackbar/index.js +4 -4
  112. package/dist/snippet/index.cjs +4 -4
  113. package/dist/snippet/index.js +2 -2
  114. package/dist/stepper/index.cjs +3 -3
  115. package/dist/stepper/index.js +2 -2
  116. package/dist/switch/index.cjs +8 -8
  117. package/dist/switch/index.js +2 -2
  118. package/dist/tabs/index.cjs +7 -7
  119. package/dist/tabs/index.js +4 -4
  120. package/dist/timepicker/index.cjs +7 -7
  121. package/dist/timepicker/index.js +4 -4
  122. package/dist/toolbar/index.cjs +3 -3
  123. package/dist/toolbar/index.js +2 -2
  124. package/dist/typography/index.cjs +5 -3
  125. package/dist/typography/index.d.cts +4 -0
  126. package/dist/typography/index.d.ts +4 -0
  127. package/dist/typography/index.js +3 -1
  128. package/dist/view/index.cjs +4 -4
  129. package/dist/view/index.js +2 -2
  130. package/package.json +8 -3
package/README.md CHANGED
@@ -25,14 +25,10 @@ The package also relies on `@xaui/core/theme` for the shared tokens.
25
25
 
26
26
  ```tsx
27
27
  import { XUIProvider } from '@xaui/native/core'
28
- import { theme, darkTheme } from '@xaui/core/theme'
28
+ import { theme } from '@xaui/core/theme'
29
29
 
30
30
  export default function App() {
31
- return (
32
- <XUIProvider theme={theme} darkTheme={darkTheme}>
33
- {/* your screens */}
34
- </XUIProvider>
35
- )
31
+ return <XUIProvider theme={theme}>{/* your screens */}</XUIProvider>
36
32
  }
37
33
  ```
38
34
 
@@ -47,8 +43,8 @@ function Banner() {
47
43
  const mode = useColorMode()
48
44
 
49
45
  return (
50
- <View style={{ backgroundColor: theme.colors.primary.background }}>
51
- <Text style={{ color: theme.colors.primary.foreground }}>
46
+ <View style={{ backgroundColor: theme.colors.primary.container }}>
47
+ <Text style={{ color: theme.colors.primary.onContainer }}>
52
48
  Current mode: {mode}
53
49
  </Text>
54
50
  </View>
@@ -60,117 +56,117 @@ function Banner() {
60
56
 
61
57
  This table lists all public components exported by `@xaui/native` and their import path.
62
58
 
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
- | `Dialog` | Modal dialog container component. | `import { Dialog } from '@xaui/native/dialog'` |
80
- | `DialogHeader` | Header section for `Dialog`. | `import { DialogHeader } from '@xaui/native/dialog'` |
81
- | `DialogBody` | Body/content section for `Dialog`. | `import { DialogBody } from '@xaui/native/dialog'` |
82
- | `DialogFooter` | Footer/actions section for `Dialog`. | `import { DialogFooter } from '@xaui/native/dialog'` |
83
- | `Divider` | Horizontal or vertical separator line. | `import { Divider } from '@xaui/native/divider'` |
84
- | `Drawer` | Side sheet / drawer container. | `import { Drawer } from '@xaui/native/drawer'` |
85
- | `Skeleton` | Placeholder loading block. | `import { Skeleton } from '@xaui/native/skeleton'` |
86
- | `Avatar` | User avatar (image, initials, icon). | `import { Avatar } from '@xaui/native/avatar'` |
87
- | `AvatarGroup` | Grouped avatars with overlap/stacking. | `import { AvatarGroup } from '@xaui/native/avatar'` |
88
- | `Badge` | Status/count badge component. | `import { Badge } from '@xaui/native/badge'` |
89
- | `Alert` | Contextual alert/message banner. | `import { Alert } from '@xaui/native/alert'` |
90
- | `Autocomplete` | Input with dynamic suggestions. | `import { Autocomplete } from '@xaui/native/autocomplete'` |
91
- | `AutocompleteItem` | Suggestion item for `Autocomplete`. | `import { AutocompleteItem } from '@xaui/native/autocomplete'` |
92
- | `DatePicker` | Date selection input/picker. | `import { DatePicker } from '@xaui/native/datepicker'` |
93
- | `Typography` | Themed text component with variants. | `import { Typography } from '@xaui/native/typography'` |
94
- | `TextSpan` | Text group primitive that shares inherited styles across nested typography. | `import { TextSpan } from '@xaui/native/typography'` |
95
- | `Column` | Vertical flex layout helper. | `import { Column } from '@xaui/native/view'` |
96
- | `Row` | Horizontal flex layout helper. | `import { Row } from '@xaui/native/view'` |
97
- | `Spacer` | Flexible space element in layouts. | `import { Spacer } from '@xaui/native/view'` |
98
- | `Padding` | Wrapper applying padding shortcuts. | `import { Padding } from '@xaui/native/view'` |
99
- | `Margin` | Wrapper applying margin shortcuts. | `import { Margin } from '@xaui/native/view'` |
100
- | `SizedBox` | Fixed width/height spacing box. | `import { SizedBox } from '@xaui/native/view'` |
101
- | `PositionedView` | Absolute/fixed positioning helper view. | `import { PositionedView } from '@xaui/native/view'` |
102
- | `BlurView` | Blurred background container. | `import { BlurView } from '@xaui/native/view'` |
103
- | `RoundedView` | View with configurable rounded corners. | `import { RoundedView } from '@xaui/native/view'` |
104
- | `AspectRatio` | Maintains a fixed aspect ratio for content. | `import { AspectRatio } from '@xaui/native/view'` |
105
- | `Grid` | Grid layout container. | `import { Grid } from '@xaui/native/view'` |
106
- | `GridItem` | Item element for `Grid`. | `import { GridItem } from '@xaui/native/view'` |
107
- | `GridBuilder` | Builder-based grid rendering helper. | `import { GridBuilder } from '@xaui/native/view'` |
108
- | `ConditionalView` | Conditionally renders with optional animation. | `import { ConditionalView } from '@xaui/native/view'` |
109
- | `MasonryGrid` | Masonry-style responsive grid container. | `import { MasonryGrid } from '@xaui/native/view'` |
110
- | `MasonryGridItem` | Item element for `MasonryGrid`. | `import { MasonryGridItem } from '@xaui/native/view'` |
111
- | `MasonryGridBuilder` | Builder-based masonry rendering helper. | `import { MasonryGridBuilder } from '@xaui/native/view'` |
112
- | `Carousel` | Swipeable carousel for paged content. | `import { Carousel } from '@xaui/native/carousel'` |
113
- | `SegmentButton` | Segmented control container. | `import { SegmentButton } from '@xaui/native/segment-button'` |
114
- | `SegmentButtonItem` | Segment item for `SegmentButton`. | `import { SegmentButtonItem } from '@xaui/native/segment-button'` |
115
- | `Tabs` | Tabs container with active tab state. | `import { Tabs } from '@xaui/native/tabs'` |
116
- | `Tab` | Individual tab item for `Tabs`. | `import { Tab } from '@xaui/native/tabs'` |
117
- | `Pager` | Paged container with swipe navigation. | `import { Pager } from '@xaui/native/pager'` |
118
- | `PagerItem` | Page item for `Pager`. | `import { PagerItem } from '@xaui/native/pager'` |
119
- | `Chip` | Compact labeled action/filter chip. | `import { Chip } from '@xaui/native/chip'` |
120
- | `ChipGroup` | Group manager for chip selection. | `import { ChipGroup } from '@xaui/native/chip'` |
121
- | `ChipItem` | Item variant used inside `ChipGroup`. | `import { ChipItem } from '@xaui/native/chip'` |
122
- | `BottomSheet` | Bottom sheet modal/panel. | `import { BottomSheet } from '@xaui/native/bottom-sheet'` |
123
- | `BottomTabBar` | Bottom navigation tab bar container. | `import { BottomTabBar } from '@xaui/native/bottom-tab-bar'` |
124
- | `BottomTabBarItem` | Tab item for `BottomTabBar`. | `import { BottomTabBarItem } from '@xaui/native/bottom-tab-bar'` |
125
- | `Menu` | Anchored contextual menu. | `import { Menu } from '@xaui/native/menu'` |
126
- | `MenuItem` | Action item for `Menu`. | `import { MenuItem } from '@xaui/native/menu'` |
127
- | `Fab` | Floating action button. | `import { Fab } from '@xaui/native/fab'` |
128
- | `FabMenu` | Expandable floating action menu. | `import { FabMenu } from '@xaui/native/fab-menu'` |
129
- | `FabMenuItem` | Action item for `FabMenu`. | `import { FabMenuItem } from '@xaui/native/fab-menu'` |
130
- | `FeatureDiscovery` | Spotlight/coach-mark discovery overlay. | `import { FeatureDiscovery } from '@xaui/native/feature-discovery'` |
131
- | `Card` | Card container surface. | `import { Card } from '@xaui/native/card'` |
132
- | `CardHeader` | Header section for `Card`. | `import { CardHeader } from '@xaui/native/card'` |
133
- | `CardBody` | Body/content section for `Card`. | `import { CardBody } from '@xaui/native/card'` |
134
- | `CardFooter` | Footer/actions section for `Card`. | `import { CardFooter } from '@xaui/native/card'` |
135
- | `CardTitle` | Title text slot for `Card`. | `import { CardTitle } from '@xaui/native/card'` |
136
- | `CardDescription` | Description text slot for `Card`. | `import { CardDescription } from '@xaui/native/card'` |
137
- | `TextInput` | Standard text input field. | `import { TextInput } from '@xaui/native/input'` |
138
- | `TextArea` | Multiline text input field. | `import { TextArea } from '@xaui/native/input'` |
139
- | `DateInput` | Date-only formatted input. | `import { DateInput } from '@xaui/native/input'` |
140
- | `TimeInput` | Time-only formatted input. | `import { TimeInput } from '@xaui/native/input'` |
141
- | `DateTimeInput` | Combined date-time formatted input. | `import { DateTimeInput } from '@xaui/native/input'` |
142
- | `OTPInput` | One-time password segmented input. | `import { OTPInput } from '@xaui/native/input'` |
143
- | `NumberInput` | Numeric input with controls/formatting. | `import { NumberInput } from '@xaui/native/input'` |
144
- | `List` | List container with selection options. | `import { List } from '@xaui/native/list'` |
145
- | `ListItem` | Item row for `List`. | `import { ListItem } from '@xaui/native/list'` |
146
- | `ListBuilder` | Builder-based dynamic list helper. | `import { ListBuilder } from '@xaui/native/list'` |
147
- | `Radio` | Single radio option control. | `import { Radio } from '@xaui/native/radio'` |
148
- | `RadioGroup` | Group controller for radio options. | `import { RadioGroup } from '@xaui/native/radio'` |
149
- | `Toolbar` | App toolbar/action bar container. | `import { Toolbar } from '@xaui/native/toolbar'` |
150
- | `ToolbarAction` | Action button/item for `Toolbar`. | `import { ToolbarAction } from '@xaui/native/toolbar'` |
151
- | `AppBar` | Top app bar container. | `import { AppBar } from '@xaui/native/app-bar'` |
152
- | `AppBarStartContent` | Leading slot for `AppBar`. | `import { AppBarStartContent } from '@xaui/native/app-bar'` |
153
- | `AppBarContent` | Main content slot for `AppBar`. | `import { AppBarContent } from '@xaui/native/app-bar'` |
154
- | `AppBarEndContent` | Trailing slot for `AppBar`. | `import { AppBarEndContent } from '@xaui/native/app-bar'` |
155
- | `TimePicker` | Time picker main component. | `import { TimePicker } from '@xaui/native/timepicker'` |
156
- | `TimePickerDialog` | Dialog variant for time selection. | `import { TimePickerDialog } from '@xaui/native/timepicker'` |
157
- | `TimePickerTrigger` | Trigger component for opening time picker UI. | `import { TimePickerTrigger } from '@xaui/native/timepicker'` |
158
- | `Stepper` | Multi-step progress/navigation component. | `import { Stepper } from '@xaui/native/stepper'` |
159
- | `StepperItem` | Individual step for `Stepper`. | `import { StepperItem } from '@xaui/native/stepper'` |
160
- | `MenuBox` | Menu box container with animated items. | `import { MenuBox } from '@xaui/native/menubox'` |
161
- | `MenuBoxItem` | Action item for `MenuBox`. | `import { MenuBoxItem } from '@xaui/native/menubox'` |
162
- | `DonutChartCard` | Card component rendering a donut chart. | `import { DonutChartCard } from '@xaui/native/chart'` |
163
- | `VerticalBarChartCard` | Card component rendering vertical bars. | `import { VerticalBarChartCard } from '@xaui/native/chart'` |
164
- | `PieChartCard` | Card component rendering a pie chart. | `import { PieChartCard } from '@xaui/native/chart'` |
165
- | `LineChartCard` | Card component rendering a line chart. | `import { LineChartCard } from '@xaui/native/chart'` |
166
- | `HeatmapChartCard` | Card component rendering a heatmap chart. | `import { HeatmapChartCard } from '@xaui/native/chart'` |
59
+ | Name | Description | Usage |
60
+ | ---------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------- |
61
+ | `XUIProvider` | Theme provider for all XAUI native components. | `import { XUIProvider } from '@xaui/native/core'` |
62
+ | `Portal` | Renders content in a portal host layer. | `import { Portal } from '@xaui/native/core'` |
63
+ | `PortalHost` | Host container for portal content. | `import { PortalHost } from '@xaui/native/core'` |
64
+ | `Button` | Pressable button with variants, sizes, and loading state. | `import { Button } from '@xaui/native/button'` |
65
+ | `IconButton` | Compact icon-only button variant. | `import { IconButton } from '@xaui/native/button'` |
66
+ | `Checkbox` | Selection control with checked/indeterminate states. | `import { Checkbox } from '@xaui/native/checkbox'` |
67
+ | `ExpansionPanel` | Accordion container for expandable sections. | `import { ExpansionPanel } from '@xaui/native/expansion-panel'` |
68
+ | `ExpansionPanelItem` | Expandable item inside `ExpansionPanel`. | `import { ExpansionPanelItem } from '@xaui/native/expansion-panel'` |
69
+ | `Progress` | Progress indicator with linear/circular rendering. | `import { Progress } from '@xaui/native/progress'` |
70
+ | `ActivityIndicator` | Animated loading indicator component. | `import { ActivityIndicator } from '@xaui/native/indicator'` |
71
+ | `Switch` | Toggle switch control. | `import { Switch } from '@xaui/native/switch'` |
72
+ | `Slider` | Draggable value selector slider. | `import { Slider } from '@xaui/native/slider'` |
73
+ | `Select` | Select input with trigger and list behavior. | `import { Select } from '@xaui/native/select'` |
74
+ | `SelectItem` | Select option item for `Select`. | `import { SelectItem } from '@xaui/native/select'` |
75
+ | `Dialog` | Modal dialog container component. | `import { Dialog } from '@xaui/native/dialog'` |
76
+ | `DialogHeader` | Header section for `Dialog`. | `import { DialogHeader } from '@xaui/native/dialog'` |
77
+ | `DialogBody` | Body/content section for `Dialog`. | `import { DialogBody } from '@xaui/native/dialog'` |
78
+ | `DialogFooter` | Footer/actions section for `Dialog`. | `import { DialogFooter } from '@xaui/native/dialog'` |
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
+ | `TextSpan` | Text group primitive that shares inherited styles across nested typography. | `import { TextSpan } from '@xaui/native/typography'` |
91
+ | `Column` | Vertical flex layout helper. | `import { Column } from '@xaui/native/view'` |
92
+ | `Row` | Horizontal flex layout helper. | `import { Row } from '@xaui/native/view'` |
93
+ | `Spacer` | Flexible space element in layouts. | `import { Spacer } from '@xaui/native/view'` |
94
+ | `Padding` | Wrapper applying padding shortcuts. | `import { Padding } from '@xaui/native/view'` |
95
+ | `Margin` | Wrapper applying margin shortcuts. | `import { Margin } from '@xaui/native/view'` |
96
+ | `SizedBox` | Fixed width/height spacing box. | `import { SizedBox } from '@xaui/native/view'` |
97
+ | `PositionedView` | Absolute/fixed positioning helper view. | `import { PositionedView } from '@xaui/native/view'` |
98
+ | `BlurView` | Blurred background container. | `import { BlurView } from '@xaui/native/view'` |
99
+ | `RoundedView` | View with configurable rounded corners. | `import { RoundedView } from '@xaui/native/view'` |
100
+ | `AspectRatio` | Maintains a fixed aspect ratio for content. | `import { AspectRatio } from '@xaui/native/view'` |
101
+ | `Grid` | Grid layout container. | `import { Grid } from '@xaui/native/view'` |
102
+ | `GridItem` | Item element for `Grid`. | `import { GridItem } from '@xaui/native/view'` |
103
+ | `GridBuilder` | Builder-based grid rendering helper. | `import { GridBuilder } from '@xaui/native/view'` |
104
+ | `ConditionalView` | Conditionally renders with optional animation. | `import { ConditionalView } from '@xaui/native/view'` |
105
+ | `MasonryGrid` | Masonry-style responsive grid container. | `import { MasonryGrid } from '@xaui/native/view'` |
106
+ | `MasonryGridItem` | Item element for `MasonryGrid`. | `import { MasonryGridItem } from '@xaui/native/view'` |
107
+ | `MasonryGridBuilder` | Builder-based masonry rendering helper. | `import { MasonryGridBuilder } from '@xaui/native/view'` |
108
+ | `Carousel` | Swipeable carousel for paged content. | `import { Carousel } from '@xaui/native/carousel'` |
109
+ | `SegmentButton` | Segmented control container. | `import { SegmentButton } from '@xaui/native/segment-button'` |
110
+ | `SegmentButtonItem` | Segment item for `SegmentButton`. | `import { SegmentButtonItem } from '@xaui/native/segment-button'` |
111
+ | `Tabs` | Tabs container with active tab state. | `import { Tabs } from '@xaui/native/tabs'` |
112
+ | `Tab` | Individual tab item for `Tabs`. | `import { Tab } from '@xaui/native/tabs'` |
113
+ | `Pager` | Paged container with swipe navigation. | `import { Pager } from '@xaui/native/pager'` |
114
+ | `PagerItem` | Page item for `Pager`. | `import { PagerItem } from '@xaui/native/pager'` |
115
+ | `Chip` | Compact labeled action/filter chip. | `import { Chip } from '@xaui/native/chip'` |
116
+ | `ChipGroup` | Group manager for chip selection. | `import { ChipGroup } from '@xaui/native/chip'` |
117
+ | `ChipItem` | Item variant used inside `ChipGroup`. | `import { ChipItem } from '@xaui/native/chip'` |
118
+ | `BottomSheet` | Bottom sheet modal/panel. | `import { BottomSheet } from '@xaui/native/bottom-sheet'` |
119
+ | `BottomTabBar` | Bottom navigation tab bar container. | `import { BottomTabBar } from '@xaui/native/bottom-tab-bar'` |
120
+ | `BottomTabBarItem` | Tab item for `BottomTabBar`. | `import { BottomTabBarItem } from '@xaui/native/bottom-tab-bar'` |
121
+ | `Menu` | Anchored contextual menu. | `import { Menu } from '@xaui/native/menu'` |
122
+ | `MenuItem` | Action item for `Menu`. | `import { MenuItem } from '@xaui/native/menu'` |
123
+ | `Fab` | Floating action button. | `import { Fab } from '@xaui/native/fab'` |
124
+ | `FabMenu` | Expandable floating action menu. | `import { FabMenu } from '@xaui/native/fab-menu'` |
125
+ | `FabMenuItem` | Action item for `FabMenu`. | `import { FabMenuItem } from '@xaui/native/fab-menu'` |
126
+ | `FeatureDiscovery` | Spotlight/coach-mark discovery overlay. | `import { FeatureDiscovery } from '@xaui/native/feature-discovery'` |
127
+ | `Card` | Card container surface. | `import { Card } from '@xaui/native/card'` |
128
+ | `CardHeader` | Header section for `Card`. | `import { CardHeader } from '@xaui/native/card'` |
129
+ | `CardBody` | Body/content section for `Card`. | `import { CardBody } from '@xaui/native/card'` |
130
+ | `CardFooter` | Footer/actions section for `Card`. | `import { CardFooter } from '@xaui/native/card'` |
131
+ | `CardTitle` | Title text slot for `Card`. | `import { CardTitle } from '@xaui/native/card'` |
132
+ | `CardDescription` | Description text slot for `Card`. | `import { CardDescription } from '@xaui/native/card'` |
133
+ | `TextInput` | Standard text input field. | `import { TextInput } from '@xaui/native/input'` |
134
+ | `TextArea` | Multiline text input field. | `import { TextArea } from '@xaui/native/input'` |
135
+ | `DateInput` | Date-only formatted input. | `import { DateInput } from '@xaui/native/input'` |
136
+ | `TimeInput` | Time-only formatted input. | `import { TimeInput } from '@xaui/native/input'` |
137
+ | `DateTimeInput` | Combined date-time formatted input. | `import { DateTimeInput } from '@xaui/native/input'` |
138
+ | `OTPInput` | One-time password segmented input. | `import { OTPInput } from '@xaui/native/input'` |
139
+ | `NumberInput` | Numeric input with controls/formatting. | `import { NumberInput } from '@xaui/native/input'` |
140
+ | `List` | List container with selection options. | `import { List } from '@xaui/native/list'` |
141
+ | `ListItem` | Item row for `List`. | `import { ListItem } from '@xaui/native/list'` |
142
+ | `ListBuilder` | Builder-based dynamic list helper. | `import { ListBuilder } from '@xaui/native/list'` |
143
+ | `Radio` | Single radio option control. | `import { Radio } from '@xaui/native/radio'` |
144
+ | `RadioGroup` | Group controller for radio options. | `import { RadioGroup } from '@xaui/native/radio'` |
145
+ | `Toolbar` | App toolbar/action bar container. | `import { Toolbar } from '@xaui/native/toolbar'` |
146
+ | `ToolbarAction` | Action button/item for `Toolbar`. | `import { ToolbarAction } from '@xaui/native/toolbar'` |
147
+ | `AppBar` | Top app bar container. | `import { AppBar } from '@xaui/native/app-bar'` |
148
+ | `AppBarStartContent` | Leading slot for `AppBar`. | `import { AppBarStartContent } from '@xaui/native/app-bar'` |
149
+ | `AppBarContent` | Main content slot for `AppBar`. | `import { AppBarContent } from '@xaui/native/app-bar'` |
150
+ | `AppBarEndContent` | Trailing slot for `AppBar`. | `import { AppBarEndContent } from '@xaui/native/app-bar'` |
151
+ | `TimePicker` | Time picker main component. | `import { TimePicker } from '@xaui/native/timepicker'` |
152
+ | `TimePickerDialog` | Dialog variant for time selection. | `import { TimePickerDialog } from '@xaui/native/timepicker'` |
153
+ | `TimePickerTrigger` | Trigger component for opening time picker UI. | `import { TimePickerTrigger } from '@xaui/native/timepicker'` |
154
+ | `Stepper` | Multi-step progress/navigation component. | `import { Stepper } from '@xaui/native/stepper'` |
155
+ | `StepperItem` | Individual step for `Stepper`. | `import { StepperItem } from '@xaui/native/stepper'` |
156
+ | `MenuBox` | Menu box container with animated items. | `import { MenuBox } from '@xaui/native/menubox'` |
157
+ | `MenuBoxItem` | Action item for `MenuBox`. | `import { MenuBoxItem } from '@xaui/native/menubox'` |
158
+ | `DonutChartCard` | Card component rendering a donut chart. | `import { DonutChartCard } from '@xaui/native/chart'` |
159
+ | `VerticalBarChartCard` | Card component rendering vertical bars. | `import { VerticalBarChartCard } from '@xaui/native/chart'` |
160
+ | `PieChartCard` | Card component rendering a pie chart. | `import { PieChartCard } from '@xaui/native/chart'` |
161
+ | `LineChartCard` | Card component rendering a line chart. | `import { LineChartCard } from '@xaui/native/chart'` |
162
+ | `HeatmapChartCard` | Card component rendering a heatmap chart. | `import { HeatmapChartCard } from '@xaui/native/chart'` |
167
163
 
168
164
  ## Theme hooks & utilities
169
165
 
170
166
  - `useXUITheme()` must be used within `XUIProvider`; it throws if the provider is missing.
171
167
  - `useXUIColors()` is a shortcut for reading just the color tokens.
172
168
  - `useColorMode()` returns `light` or `dark` based on React Native's `useColorScheme()`.
173
- - `XUIProvider` accepts `theme` and `darkTheme` as `DeepPartial<XUITheme>` so you can override partial token sets without redefining the entire theme.
169
+ - `XUIProvider` accepts a single `theme` object (`DeepPartial<XUITheme>`) for partial token overrides.
174
170
 
175
171
  ## Testing & build
176
172
 
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkRZJFCDFScjs = require('../chunk-RZJFCDFS.cjs');
5
+ var _chunk7UFBLUMVcjs = require('../chunk-7UFBLUMV.cjs');
6
6
 
7
7
  // src/components/alert/alert.tsx
8
8
 
@@ -64,7 +64,7 @@ var styles = _reactnative.StyleSheet.create({
64
64
 
65
65
  var _core = require('@xaui/core');
66
66
  var useAlertColorScheme = (themeColor) => {
67
- const theme = _chunkRZJFCDFScjs.useXUITheme.call(void 0, );
67
+ const theme = _chunk7UFBLUMVcjs.useXUITheme.call(void 0, );
68
68
  const safeThemeColor = _core.getSafeThemeColor.call(void 0, themeColor);
69
69
  return {
70
70
  theme,
@@ -75,8 +75,7 @@ var useAlertColorScheme = (themeColor) => {
75
75
  var useAlertContainerStyles = (themeColor, variant) => {
76
76
  const { theme, colorScheme, isDefault } = useAlertColorScheme(themeColor);
77
77
  const containerStyles = _react.useMemo.call(void 0, () => {
78
- const isDark = theme.mode === "dark";
79
- const backgroundColor = variant === "solid" ? isDark ? colorScheme.background : colorScheme.main : variant === "flat" ? isDark ? _core.withOpacity.call(void 0, colorScheme.background, 0.5) : colorScheme.background : variant === "faded" ? _core.withOpacity.call(void 0, colorScheme.background, 0.75) : "transparent";
78
+ const backgroundColor = variant === "solid" ? colorScheme.main : variant === "flat" ? colorScheme.container : variant === "faded" ? _core.withOpacity.call(void 0, colorScheme.container, 0.75) : "transparent";
80
79
  const borderWidth = variant === "bordered" || variant === "faded" ? theme.borderWidth.md : 0;
81
80
  const borderColor = variant === "bordered" ? _core.withOpacity.call(void 0, colorScheme.main, 0.75) : variant === "faded" ? _core.withOpacity.call(void 0, isDefault ? theme.colors.foreground : colorScheme.main, 0.25) : "transparent";
82
81
  return {
@@ -92,8 +91,7 @@ var useAlertContainerStyles = (themeColor, variant) => {
92
91
  var useAlertIconWrapperStyles = (themeColor, variant) => {
93
92
  const { theme, colorScheme, isDefault } = useAlertColorScheme(themeColor);
94
93
  const iconWrapperStyles = _react.useMemo.call(void 0, () => {
95
- const isDark = theme.mode === "dark";
96
- const backgroundColor = variant === "solid" ? _core.withOpacity.call(void 0, isDark ? colorScheme.main : colorScheme.foreground, 0.16) : _core.withOpacity.call(void 0, isDefault ? theme.colors.foreground : colorScheme.main, 0.12);
94
+ const backgroundColor = variant === "solid" ? _core.withOpacity.call(void 0, colorScheme.onMain, 0.16) : _core.withOpacity.call(void 0, isDefault ? theme.colors.foreground : colorScheme.main, 0.12);
97
95
  const borderWidth = variant === "bordered" || variant === "faded" ? theme.borderWidth.xs : 0;
98
96
  const borderColor = _core.withOpacity.call(void 0,
99
97
  isDefault ? theme.colors.foreground : colorScheme.main,
@@ -110,8 +108,7 @@ var useAlertIconWrapperStyles = (themeColor, variant) => {
110
108
  var useAlertTextStyles = (themeColor, variant) => {
111
109
  const { theme, colorScheme, isDefault } = useAlertColorScheme(themeColor);
112
110
  const textStyles = _react.useMemo.call(void 0, () => {
113
- const isDark = theme.mode === "dark";
114
- const baseTextColor = variant === "solid" ? isDark ? colorScheme.main : colorScheme.foreground : isDefault ? theme.colors.foreground : colorScheme.main;
111
+ const baseTextColor = variant === "solid" ? colorScheme.onMain : variant === "flat" || variant === "faded" ? isDefault ? theme.colors.foreground : colorScheme.onContainer : isDefault ? theme.colors.foreground : colorScheme.main;
115
112
  return {
116
113
  titleStyles: {
117
114
  color: baseTextColor,
@@ -240,7 +237,7 @@ var Alert = ({
240
237
  const visible = isControlled ? isVisible : internalVisible;
241
238
  const opacity = _reactnativereanimated.useSharedValue.call(void 0, 1);
242
239
  const scale = _reactnativereanimated.useSharedValue.call(void 0, 1);
243
- const radiusStyles = _chunkRZJFCDFScjs.useBorderRadiusStyles.call(void 0, radius);
240
+ const radiusStyles = _chunk7UFBLUMVcjs.useBorderRadiusStyles.call(void 0, radius);
244
241
  const containerStyles = useAlertContainerStyles(themeColor, variant);
245
242
  const iconWrapperStyles = useAlertIconWrapperStyles(themeColor, variant);
246
243
  const { titleStyles, descriptionStyles, iconColor, closeButtonColor } = useAlertTextStyles(themeColor, variant);
@@ -2,7 +2,7 @@ import "../chunk-SHBDANQN.js";
2
2
  import {
3
3
  useBorderRadiusStyles,
4
4
  useXUITheme
5
- } from "../chunk-LVNBYERF.js";
5
+ } from "../chunk-RBSA4NH4.js";
6
6
 
7
7
  // src/components/alert/alert.tsx
8
8
  import React2, {
@@ -75,8 +75,7 @@ var useAlertColorScheme = (themeColor) => {
75
75
  var useAlertContainerStyles = (themeColor, variant) => {
76
76
  const { theme, colorScheme, isDefault } = useAlertColorScheme(themeColor);
77
77
  const containerStyles = useMemo(() => {
78
- const isDark = theme.mode === "dark";
79
- const backgroundColor = variant === "solid" ? isDark ? colorScheme.background : colorScheme.main : variant === "flat" ? isDark ? withOpacity(colorScheme.background, 0.5) : colorScheme.background : variant === "faded" ? withOpacity(colorScheme.background, 0.75) : "transparent";
78
+ const backgroundColor = variant === "solid" ? colorScheme.main : variant === "flat" ? colorScheme.container : variant === "faded" ? withOpacity(colorScheme.container, 0.75) : "transparent";
80
79
  const borderWidth = variant === "bordered" || variant === "faded" ? theme.borderWidth.md : 0;
81
80
  const borderColor = variant === "bordered" ? withOpacity(colorScheme.main, 0.75) : variant === "faded" ? withOpacity(isDefault ? theme.colors.foreground : colorScheme.main, 0.25) : "transparent";
82
81
  return {
@@ -92,8 +91,7 @@ var useAlertContainerStyles = (themeColor, variant) => {
92
91
  var useAlertIconWrapperStyles = (themeColor, variant) => {
93
92
  const { theme, colorScheme, isDefault } = useAlertColorScheme(themeColor);
94
93
  const iconWrapperStyles = useMemo(() => {
95
- const isDark = theme.mode === "dark";
96
- const backgroundColor = variant === "solid" ? withOpacity(isDark ? colorScheme.main : colorScheme.foreground, 0.16) : withOpacity(isDefault ? theme.colors.foreground : colorScheme.main, 0.12);
94
+ const backgroundColor = variant === "solid" ? withOpacity(colorScheme.onMain, 0.16) : withOpacity(isDefault ? theme.colors.foreground : colorScheme.main, 0.12);
97
95
  const borderWidth = variant === "bordered" || variant === "faded" ? theme.borderWidth.xs : 0;
98
96
  const borderColor = withOpacity(
99
97
  isDefault ? theme.colors.foreground : colorScheme.main,
@@ -110,8 +108,7 @@ var useAlertIconWrapperStyles = (themeColor, variant) => {
110
108
  var useAlertTextStyles = (themeColor, variant) => {
111
109
  const { theme, colorScheme, isDefault } = useAlertColorScheme(themeColor);
112
110
  const textStyles = useMemo(() => {
113
- const isDark = theme.mode === "dark";
114
- const baseTextColor = variant === "solid" ? isDark ? colorScheme.main : colorScheme.foreground : isDefault ? theme.colors.foreground : colorScheme.main;
111
+ const baseTextColor = variant === "solid" ? colorScheme.onMain : variant === "flat" || variant === "faded" ? isDefault ? theme.colors.foreground : colorScheme.onContainer : isDefault ? theme.colors.foreground : colorScheme.main;
115
112
  return {
116
113
  titleStyles: {
117
114
  color: baseTextColor,
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }require('../chunk-56RPWZD2.cjs');
2
2
 
3
3
 
4
- var _chunkRZJFCDFScjs = require('../chunk-RZJFCDFS.cjs');
4
+ var _chunk7UFBLUMVcjs = require('../chunk-7UFBLUMV.cjs');
5
5
 
6
6
  // src/components/app-bar/app-bar.tsx
7
7
  var _react = require('react'); var _react2 = _interopRequireDefault(_react);
@@ -23,7 +23,7 @@ var resolveShadowStyle = (elevation, shadows) => {
23
23
  return shadows.xl;
24
24
  };
25
25
  var useAppBarElevationStyles = (elevation = 0) => {
26
- const theme = _chunkRZJFCDFScjs.useXUITheme.call(void 0, );
26
+ const theme = _chunk7UFBLUMVcjs.useXUITheme.call(void 0, );
27
27
  return _react.useMemo.call(void 0, () => {
28
28
  if (elevation <= 0) {
29
29
  return {};
@@ -94,13 +94,13 @@ var AppBar = ({
94
94
  children,
95
95
  style
96
96
  }) => {
97
- const theme = _chunkRZJFCDFScjs.useXUITheme.call(void 0, );
97
+ const theme = _chunk7UFBLUMVcjs.useXUITheme.call(void 0, );
98
98
  const elevationStyles = useAppBarElevationStyles(elevation);
99
99
  const isFloating = variant === "floating";
100
100
  const safeThemeColor = _core.getSafeThemeColor.call(void 0, themeColor);
101
101
  const colorScheme = theme.colors[safeThemeColor];
102
102
  const isDefaultThemeColor = safeThemeColor === "default";
103
- const backgroundColor = isDefaultThemeColor ? theme.mode === "dark" ? theme.colors.default.background : isFloating ? theme.palette.gray[200] : "#FFFFFF" : colorScheme.background;
103
+ const backgroundColor = isDefaultThemeColor ? theme.mode === "dark" ? theme.colors.default.container : isFloating ? theme.palette.gray[200] : "#FFFFFF" : colorScheme.container;
104
104
  const borderBottomColor = isDefaultThemeColor ? theme.mode === "dark" ? "rgba(255, 255, 255, 0.06)" : "rgba(0, 0, 0, 0.08)" : colorScheme.main;
105
105
  return /* @__PURE__ */ _react2.default.createElement(_reactnative.View, { style: [styles.container, isFloating && styles.floatingContainer] }, /* @__PURE__ */ _react2.default.createElement(
106
106
  _reactnative.View,
@@ -1,7 +1,7 @@
1
1
  import "../chunk-SHBDANQN.js";
2
2
  import {
3
3
  useXUITheme
4
- } from "../chunk-LVNBYERF.js";
4
+ } from "../chunk-RBSA4NH4.js";
5
5
 
6
6
  // src/components/app-bar/app-bar.tsx
7
7
  import React from "react";
@@ -100,7 +100,7 @@ var AppBar = ({
100
100
  const safeThemeColor = getSafeThemeColor(themeColor);
101
101
  const colorScheme = theme.colors[safeThemeColor];
102
102
  const isDefaultThemeColor = safeThemeColor === "default";
103
- const backgroundColor = isDefaultThemeColor ? theme.mode === "dark" ? theme.colors.default.background : isFloating ? theme.palette.gray[200] : "#FFFFFF" : colorScheme.background;
103
+ const backgroundColor = isDefaultThemeColor ? theme.mode === "dark" ? theme.colors.default.container : isFloating ? theme.palette.gray[200] : "#FFFFFF" : colorScheme.container;
104
104
  const borderBottomColor = isDefaultThemeColor ? theme.mode === "dark" ? "rgba(255, 255, 255, 0.06)" : "rgba(0, 0, 0, 0.08)" : colorScheme.main;
105
105
  return /* @__PURE__ */ React.createElement(View, { style: [styles.container, isFloating && styles.floatingContainer] }, /* @__PURE__ */ React.createElement(
106
106
  View,
@@ -5,7 +5,7 @@ require('../chunk-56RPWZD2.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkRZJFCDFScjs = require('../chunk-RZJFCDFS.cjs');
8
+ var _chunk7UFBLUMVcjs = require('../chunk-7UFBLUMV.cjs');
9
9
 
10
10
  // src/components/autocomplete/autocomplete.tsx
11
11
  var _react = require('react'); var _react2 = _interopRequireDefault(_react);
@@ -24,13 +24,13 @@ var AutocompleteContext = _react.createContext.call(void 0, {
24
24
  var _core = require('@xaui/core');
25
25
  var _palette = require('@xaui/core/palette');
26
26
  var useAutocompleteColorScheme = (themeColor) => {
27
- const theme = _chunkRZJFCDFScjs.useXUITheme.call(void 0, );
27
+ const theme = _chunk7UFBLUMVcjs.useXUITheme.call(void 0, );
28
28
  const safeThemeColor = _core.getSafeThemeColor.call(void 0, themeColor);
29
29
  const colorScheme = theme.colors[safeThemeColor];
30
30
  return { theme, colorScheme };
31
31
  };
32
32
  var useAutocompleteSizeStyles = (size) => {
33
- const theme = _chunkRZJFCDFScjs.useXUITheme.call(void 0, );
33
+ const theme = _chunk7UFBLUMVcjs.useXUITheme.call(void 0, );
34
34
  return _react.useMemo.call(void 0, () => {
35
35
  const sizes = {
36
36
  xs: {
@@ -66,7 +66,7 @@ var useAutocompleteSizeStyles = (size) => {
66
66
  }, [size, theme]);
67
67
  };
68
68
  var useAutocompleteRadiusStyles = (radius) => {
69
- const theme = _chunkRZJFCDFScjs.useXUITheme.call(void 0, );
69
+ const theme = _chunk7UFBLUMVcjs.useXUITheme.call(void 0, );
70
70
  const radiusStyles = _react.useMemo.call(void 0, () => {
71
71
  const radii = {
72
72
  none: theme.borderRadius.none,
@@ -93,28 +93,23 @@ var useAutocompleteVariantStyles = (themeColor, variant, isInvalid) => {
93
93
  const { theme, colorScheme } = useAutocompleteColorScheme(themeColor);
94
94
  return _react.useMemo.call(void 0, () => {
95
95
  let borderColor = isInvalid ? theme.colors.danger.main : colorScheme.main;
96
- if ((variant === "outlined" || variant === "faded") && themeColor === "default") {
96
+ if (variant === "bordered" && themeColor === "default") {
97
97
  borderColor = _palette.colors.gray[300];
98
98
  }
99
99
  const styles4 = {
100
- outlined: {
100
+ bordered: {
101
101
  backgroundColor: "transparent",
102
102
  borderWidth: theme.borderWidth.md,
103
103
  borderColor
104
104
  },
105
- flat: {
106
- backgroundColor: colorScheme.background,
105
+ colored: {
106
+ backgroundColor: _core.withOpacity.call(void 0, colorScheme.container, 0.5),
107
107
  borderWidth: 0
108
108
  },
109
109
  light: {
110
110
  backgroundColor: "transparent",
111
111
  borderWidth: 0
112
112
  },
113
- faded: {
114
- backgroundColor: `${colorScheme.background}90`,
115
- borderWidth: theme.borderWidth.md,
116
- borderColor
117
- },
118
113
  underlined: {
119
114
  backgroundColor: "transparent",
120
115
  borderBottomWidth: theme.borderWidth.md,
@@ -140,7 +135,7 @@ var useAutocompleteLabelStyle = (themeColor, isInvalid, labelSize) => {
140
135
  }, [isInvalid, labelSize, theme, themeColor, colorScheme]);
141
136
  };
142
137
  var useAutocompleteHelperColor = (isInvalid) => {
143
- const theme = _chunkRZJFCDFScjs.useXUITheme.call(void 0, );
138
+ const theme = _chunk7UFBLUMVcjs.useXUITheme.call(void 0, );
144
139
  return _react.useMemo.call(void 0, () => {
145
140
  if (isInvalid) {
146
141
  return theme.colors.danger.main;
@@ -434,7 +429,7 @@ var AutocompleteDialogHeader = ({
434
429
  onFocus,
435
430
  onBlur
436
431
  }) => {
437
- const theme = _chunkRZJFCDFScjs.useXUITheme.call(void 0, );
432
+ const theme = _chunk7UFBLUMVcjs.useXUITheme.call(void 0, );
438
433
  return /* @__PURE__ */ _react2.default.createElement(_reactnative.View, { style: styles2.header }, title ? /* @__PURE__ */ _react2.default.createElement(_reactnative.View, { style: styles2.titleRow }, /* @__PURE__ */ _react2.default.createElement(
439
434
  _reactnative.Pressable,
440
435
  {
@@ -455,7 +450,7 @@ var AutocompleteDialogHeader = ({
455
450
  style: [
456
451
  styles2.input,
457
452
  {
458
- backgroundColor: theme.colors.default.background,
453
+ backgroundColor: theme.colors.default.container,
459
454
  color: theme.colors.foreground
460
455
  },
461
456
  inputTextStyle
@@ -534,7 +529,7 @@ var AutocompleteDialog = ({
534
529
  onFocus,
535
530
  onBlur
536
531
  }) => {
537
- const theme = _chunkRZJFCDFScjs.useXUITheme.call(void 0, );
532
+ const theme = _chunk7UFBLUMVcjs.useXUITheme.call(void 0, );
538
533
  const { width: screenWidth, height: screenHeight } = _reactnative.useWindowDimensions.call(void 0, );
539
534
  const fadeAnim = _react.useRef.call(void 0, new _reactnative.Animated.Value(0)).current;
540
535
  const slideAnim = _react.useRef.call(void 0, new _reactnative.Animated.Value(0)).current;
@@ -562,7 +557,7 @@ var AutocompleteDialog = ({
562
557
  [children]
563
558
  );
564
559
  const checkmarkColor = theme.colors[themeColor].main;
565
- const checkmarkBackgroundColor = theme.colors[themeColor].background;
560
+ const checkmarkBackgroundColor = theme.colors[themeColor].container;
566
561
  useAutocompleteDialogAnimation({ visible, fadeAnim, slideAnim, scaleAnim });
567
562
  _react.useEffect.call(void 0, () => {
568
563
  if (!visible) return;
@@ -632,7 +627,7 @@ var AutocompleteDialog = ({
632
627
  onBlur
633
628
  }
634
629
  );
635
- return /* @__PURE__ */ _react2.default.createElement(_chunkRZJFCDFScjs.Portal, null, /* @__PURE__ */ _react2.default.createElement(_reactnative.View, { style: [overlayStyle, style] }, /* @__PURE__ */ _react2.default.createElement(_reactnative.Animated.View, { style: [styles2.backdrop, { opacity: fadeAnim }] }), /* @__PURE__ */ _react2.default.createElement(_reactnative.Animated.View, { style: [styles2.dialogContainer, containerAnimatedStyle] }, /* @__PURE__ */ _react2.default.createElement(
630
+ return /* @__PURE__ */ _react2.default.createElement(_chunk7UFBLUMVcjs.Portal, null, /* @__PURE__ */ _react2.default.createElement(_reactnative.View, { style: [overlayStyle, style] }, /* @__PURE__ */ _react2.default.createElement(_reactnative.Animated.View, { style: [styles2.backdrop, { opacity: fadeAnim }] }), /* @__PURE__ */ _react2.default.createElement(_reactnative.Animated.View, { style: [styles2.dialogContainer, containerAnimatedStyle] }, /* @__PURE__ */ _react2.default.createElement(
636
631
  _reactnative.View,
637
632
  {
638
633
  style: [styles2.container, { backgroundColor: theme.colors.background }]
@@ -748,7 +743,7 @@ var AutocompleteTrigger = ({
748
743
  var defaultPlaceholder = "Search...";
749
744
  var Autocomplete = ({
750
745
  children,
751
- variant = "flat",
746
+ variant = "colored",
752
747
  themeColor = "default",
753
748
  size = "md",
754
749
  radius = "md",
@@ -820,7 +815,7 @@ var Autocomplete = ({
820
815
  (item) => defaultFilterFunction(item.labelText, currentInputValue)
821
816
  );
822
817
  }, [disableLocalFilter, items, currentInputValue]);
823
- const theme = _chunkRZJFCDFScjs.useXUITheme.call(void 0, );
818
+ const theme = _chunk7UFBLUMVcjs.useXUITheme.call(void 0, );
824
819
  const sizeStyles = useAutocompleteSizeStyles(size);
825
820
  const { radiusStyles } = useAutocompleteRadiusStyles(radius);
826
821
  const variantStyles = useAutocompleteVariantStyles(themeColor, variant, isInvalid);
@@ -981,7 +976,7 @@ var styles3 = _reactnative.StyleSheet.create({
981
976
 
982
977
 
983
978
  var useAutocompleteItemSizeStyles = (size) => {
984
- const theme = _chunkRZJFCDFScjs.useXUITheme.call(void 0, );
979
+ const theme = _chunk7UFBLUMVcjs.useXUITheme.call(void 0, );
985
980
  return _react.useMemo.call(void 0, () => {
986
981
  const sizes = {
987
982
  xs: {
@@ -1013,7 +1008,7 @@ var useAutocompleteItemSizeStyles = (size) => {
1013
1008
  }, [size, theme]);
1014
1009
  };
1015
1010
  var useAutocompleteItemBackgroundColor = (themeColor, isSelected) => {
1016
- const theme = _chunkRZJFCDFScjs.useXUITheme.call(void 0, );
1011
+ const theme = _chunk7UFBLUMVcjs.useXUITheme.call(void 0, );
1017
1012
  const safeThemeColor = _core.getSafeThemeColor.call(void 0, themeColor);
1018
1013
  const colorScheme = theme.colors[safeThemeColor];
1019
1014
  return _react.useMemo.call(void 0, () => {
@@ -1021,7 +1016,7 @@ var useAutocompleteItemBackgroundColor = (themeColor, isSelected) => {
1021
1016
  }, [isSelected, colorScheme]);
1022
1017
  };
1023
1018
  var useAutocompleteItemTextColors = () => {
1024
- const theme = _chunkRZJFCDFScjs.useXUITheme.call(void 0, );
1019
+ const theme = _chunk7UFBLUMVcjs.useXUITheme.call(void 0, );
1025
1020
  return _react.useMemo.call(void 0, () => {
1026
1021
  return {
1027
1022
  textColor: theme.colors.foreground,
@@ -1030,7 +1025,7 @@ var useAutocompleteItemTextColors = () => {
1030
1025
  }, [theme]);
1031
1026
  };
1032
1027
  var useAutocompleteItemCheckmarkColor = (themeColor) => {
1033
- const theme = _chunkRZJFCDFScjs.useXUITheme.call(void 0, );
1028
+ const theme = _chunk7UFBLUMVcjs.useXUITheme.call(void 0, );
1034
1029
  const safeThemeColor = _core.getSafeThemeColor.call(void 0, themeColor);
1035
1030
  const colorScheme = theme.colors[safeThemeColor];
1036
1031
  return _react.useMemo.call(void 0, () => {