@admin-layout/gluestack-ui-mobile 10.0.9-alpha.9 → 10.1.1-alpha.8
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/CHANGELOG.md +2 -6
- package/lib/components/ui/accordion/index.web.d.ts +209 -0
- package/lib/components/ui/accordion/index.web.js +156 -0
- package/lib/components/ui/accordion/index.web.js.map +1 -0
- package/lib/components/ui/actionsheet/index.web.d.ts +872 -0
- package/lib/components/ui/actionsheet/index.web.js +286 -0
- package/lib/components/ui/actionsheet/index.web.js.map +1 -0
- package/lib/components/ui/alert/index.web.d.ts +135 -0
- package/lib/components/ui/alert/index.web.js +38 -0
- package/lib/components/ui/alert/index.web.js.map +1 -0
- package/lib/components/ui/alert-dialog/index.web.d.ts +64 -0
- package/lib/components/ui/alert-dialog/index.web.js +139 -0
- package/lib/components/ui/alert-dialog/index.web.js.map +1 -0
- package/lib/components/ui/avatar/index.web.d.ts +21 -0
- package/lib/components/ui/avatar/index.web.js +92 -0
- package/lib/components/ui/avatar/index.web.js.map +1 -0
- package/lib/components/ui/badge/index.web.d.ts +382 -0
- package/lib/components/ui/badge/index.web.js +138 -0
- package/lib/components/ui/badge/index.web.js.map +1 -0
- package/lib/components/ui/button/index.web.d.ts +247 -0
- package/lib/components/ui/button/index.web.js +57 -0
- package/lib/components/ui/button/index.web.js.map +1 -0
- package/lib/components/ui/checkbox/index.web.d.ts +265 -0
- package/lib/components/ui/checkbox/index.web.js +77 -0
- package/lib/components/ui/checkbox/index.web.js.map +1 -0
- package/lib/components/ui/divider/index.web.d.ts +53 -0
- package/lib/components/ui/divider/index.web.js +21 -0
- package/lib/components/ui/divider/index.web.js.map +1 -0
- package/lib/components/ui/drawer/index.web.d.ts +174 -0
- package/lib/components/ui/drawer/index.web.js +65 -0
- package/lib/components/ui/drawer/index.web.js.map +1 -0
- package/lib/components/ui/fab/index.web.d.ts +520 -0
- package/lib/components/ui/fab/index.web.js +146 -0
- package/lib/components/ui/fab/index.web.js.map +1 -0
- package/lib/components/ui/flat-list/index.web.d.ts +21 -0
- package/lib/components/ui/flat-list/index.web.js +41 -0
- package/lib/components/ui/flat-list/index.web.js.map +1 -0
- package/lib/components/ui/form-control/index.web.d.ts +2071 -0
- package/lib/components/ui/form-control/index.web.js +290 -0
- package/lib/components/ui/form-control/index.web.js.map +1 -0
- package/lib/components/ui/image/index.web.d.ts +142 -0
- package/lib/components/ui/image/index.web.js +29 -0
- package/lib/components/ui/image/index.web.js.map +1 -0
- package/lib/components/ui/image-background/index.web.d.ts +8 -0
- package/lib/components/ui/image-background/index.web.js +23 -0
- package/lib/components/ui/image-background/index.web.js.map +1 -0
- package/lib/components/ui/input/index.web.d.ts +163 -0
- package/lib/components/ui/input/index.web.js +50 -0
- package/lib/components/ui/input/index.web.js.map +1 -0
- package/lib/components/ui/input-accessory-view/index.web.d.ts +9 -0
- package/lib/components/ui/input-accessory-view/index.web.js +16 -0
- package/lib/components/ui/input-accessory-view/index.web.js.map +1 -0
- package/lib/components/ui/keyboard-avoiding-view/index.web.d.ts +9 -0
- package/lib/components/ui/keyboard-avoiding-view/index.web.js +8 -0
- package/lib/components/ui/keyboard-avoiding-view/index.web.js.map +1 -0
- package/lib/components/ui/link/index.web.d.ts +365 -0
- package/lib/components/ui/link/index.web.js +70 -0
- package/lib/components/ui/link/index.web.js.map +1 -0
- package/lib/components/ui/menu/index.web.d.ts +142 -0
- package/lib/components/ui/menu/index.web.js +83 -0
- package/lib/components/ui/menu/index.web.js.map +1 -0
- package/lib/components/ui/modal/index.web.d.ts +111 -0
- package/lib/components/ui/modal/index.web.js +58 -0
- package/lib/components/ui/modal/index.web.js.map +1 -0
- package/lib/components/ui/popover/index.web.d.ts +309 -0
- package/lib/components/ui/popover/index.web.js +184 -0
- package/lib/components/ui/popover/index.web.js.map +1 -0
- package/lib/components/ui/portal/index.web.d.ts +9 -0
- package/lib/components/ui/portal/index.web.js +16 -0
- package/lib/components/ui/portal/index.web.js.map +1 -0
- package/lib/components/ui/pressable/index.web.d.ts +8 -0
- package/lib/components/ui/pressable/index.web.js +44 -0
- package/lib/components/ui/pressable/index.web.js.map +1 -0
- package/lib/components/ui/progress/index.web.d.ts +237 -0
- package/lib/components/ui/progress/index.web.js +73 -0
- package/lib/components/ui/progress/index.web.js.map +1 -0
- package/lib/components/ui/radio/index.web.d.ts +224 -0
- package/lib/components/ui/radio/index.web.js +69 -0
- package/lib/components/ui/radio/index.web.js.map +1 -0
- package/lib/components/ui/refresh-control/index.web.d.ts +14 -0
- package/lib/components/ui/refresh-control/index.web.js +69 -0
- package/lib/components/ui/refresh-control/index.web.js.map +1 -0
- package/lib/components/ui/safe-area-view/index.web.d.ts +6 -0
- package/lib/components/ui/safe-area-view/index.web.js +10 -0
- package/lib/components/ui/safe-area-view/index.web.js.map +1 -0
- package/lib/components/ui/scroll-view/index.web.d.ts +44 -0
- package/lib/components/ui/scroll-view/index.web.js +41 -0
- package/lib/components/ui/scroll-view/index.web.js.map +1 -0
- package/lib/components/ui/section-list/index.web.d.ts +26 -0
- package/lib/components/ui/section-list/index.web.js +35 -0
- package/lib/components/ui/section-list/index.web.js.map +1 -0
- package/lib/components/ui/select/index.web.d.ts +162 -0
- package/lib/components/ui/select/index.web.js +51 -0
- package/lib/components/ui/select/index.web.js.map +1 -0
- package/lib/components/ui/slider/index.web.d.ts +223 -0
- package/lib/components/ui/slider/index.web.js +189 -0
- package/lib/components/ui/slider/index.web.js.map +1 -0
- package/lib/components/ui/spinner/index.web.d.ts +176 -0
- package/lib/components/ui/spinner/index.web.js +55 -0
- package/lib/components/ui/spinner/index.web.js.map +1 -0
- package/lib/components/ui/status-bar/index.web.d.ts +14 -0
- package/lib/components/ui/status-bar/index.web.js +7 -0
- package/lib/components/ui/status-bar/index.web.js.map +1 -0
- package/lib/components/ui/switch/index.web.d.ts +71 -0
- package/lib/components/ui/switch/index.web.js +27 -0
- package/lib/components/ui/switch/index.web.js.map +1 -0
- package/lib/components/ui/tabs/index.web.d.ts +351 -0
- package/lib/components/ui/tabs/index.web.js +120 -0
- package/lib/components/ui/tabs/index.web.js.map +1 -0
- package/lib/components/ui/textarea/index.web.d.ts +162 -0
- package/lib/components/ui/textarea/index.web.js +50 -0
- package/lib/components/ui/textarea/index.web.js.map +1 -0
- package/lib/components/ui/toast/index.web.d.ts +225 -0
- package/lib/components/ui/toast/index.web.js +80 -0
- package/lib/components/ui/toast/index.web.js.map +1 -0
- package/lib/components/ui/tooltip/index.web.d.ts +86 -0
- package/lib/components/ui/tooltip/index.web.js +110 -0
- package/lib/components/ui/tooltip/index.web.js.map +1 -0
- package/lib/components/ui/view/index.web.d.ts +2 -0
- package/lib/components/ui/view/index.web.js +7 -0
- package/lib/components/ui/view/index.web.js.map +1 -0
- package/lib/components/ui/virtualized-list/index.web.d.ts +19 -0
- package/lib/components/ui/virtualized-list/index.web.js +30 -0
- package/lib/components/ui/virtualized-list/index.web.js.map +1 -0
- package/lib/components/usePermissionAutoFetch.d.ts +7 -19
- package/lib/containers/layout/DrawerBottomNavigationConfig.d.ts +47 -47
- package/lib/containers/layout/DrawerConfig.d.ts +31 -31
- package/lib/redux/settings.d.ts +3 -9
- package/package.json +9 -5
- package/src/components/ui/accordion/index.web.tsx +294 -0
- package/src/components/ui/actionsheet/index.web.tsx +555 -0
- package/src/components/ui/alert/index.web.tsx +71 -0
- package/src/components/ui/alert-dialog/index.web.tsx +241 -0
- package/src/components/ui/avatar/index.web.tsx +150 -0
- package/src/components/ui/badge/index.web.tsx +188 -0
- package/src/components/ui/button/index.web.tsx +86 -0
- package/src/components/ui/checkbox/index.web.tsx +151 -0
- package/src/components/ui/divider/index.web.tsx +37 -0
- package/src/components/ui/drawer/index.web.tsx +144 -0
- package/src/components/ui/fab/index.web.tsx +201 -0
- package/src/components/ui/flat-list/index.web.tsx +89 -0
- package/src/components/ui/form-control/index.web.tsx +451 -0
- package/src/components/ui/image/index.web.tsx +43 -0
- package/src/components/ui/image-background/index.web.tsx +43 -0
- package/src/components/ui/input/index.web.tsx +80 -0
- package/src/components/ui/input-accessory-view/index.web.tsx +31 -0
- package/src/components/ui/keyboard-avoiding-view/index.web.tsx +23 -0
- package/src/components/ui/link/index.web.tsx +103 -0
- package/src/components/ui/menu/index.web.tsx +159 -0
- package/src/components/ui/modal/index.web.tsx +135 -0
- package/src/components/ui/popover/index.web.tsx +326 -0
- package/src/components/ui/portal/index.web.tsx +34 -0
- package/src/components/ui/pressable/index.web.tsx +73 -0
- package/src/components/ui/progress/index.web.tsx +123 -0
- package/src/components/ui/radio/index.web.tsx +130 -0
- package/src/components/ui/refresh-control/index.web.tsx +104 -0
- package/src/components/ui/safe-area-view/index.web.tsx +24 -0
- package/src/components/ui/scroll-view/index.web.tsx +142 -0
- package/src/components/ui/section-list/index.web.tsx +93 -0
- package/src/components/ui/select/index.web.tsx +83 -0
- package/src/components/ui/slider/index.web.tsx +283 -0
- package/src/components/ui/spinner/index.web.tsx +81 -0
- package/src/components/ui/status-bar/index.web.tsx +20 -0
- package/src/components/ui/switch/index.web.tsx +44 -0
- package/src/components/ui/tabs/index.web.tsx +205 -0
- package/src/components/ui/textarea/index.web.tsx +86 -0
- package/src/components/ui/toast/index.web.tsx +132 -0
- package/src/components/ui/tooltip/index.web.tsx +155 -0
- package/src/components/ui/view/index.web.tsx +15 -0
- package/src/components/ui/virtualized-list/index.web.tsx +84 -0
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { createActionsheet } from '@gluestack-ui/actionsheet';
|
|
4
|
+
import { PrimitiveIcon, UIIcon } from '@gluestack-ui/icon';
|
|
5
|
+
import { tva } from '@gluestack-ui/nativewind-utils/tva';
|
|
6
|
+
import { cssInterop } from 'nativewind';
|
|
7
|
+
import { Motion, AnimatePresence, createMotionAnimatedComponent } from '@legendapp/motion';
|
|
8
|
+
// Web-specific components
|
|
9
|
+
const ItemWrapper = React.forwardRef(({ ...props }, ref) => {
|
|
10
|
+
return React.createElement("div", { ...props, ref: ref });
|
|
11
|
+
});
|
|
12
|
+
const AnimatedDiv = createMotionAnimatedComponent(({ children, ...props }) => React.createElement("div", { ...props }, children));
|
|
13
|
+
const WebRoot = React.forwardRef(({ children, ...props }, ref) => (React.createElement("div", { ref: ref, ...props }, children)));
|
|
14
|
+
const WebContent = Motion.View;
|
|
15
|
+
const WebItemText = React.forwardRef(({ children, ...props }, ref) => (React.createElement("span", { ref: ref, ...props }, children)));
|
|
16
|
+
const WebDragIndicator = React.forwardRef(({ children, ...props }, ref) => (React.createElement("div", { ref: ref, ...props }, children)));
|
|
17
|
+
const WebIndicatorWrapper = React.forwardRef(({ children, ...props }, ref) => (React.createElement("div", { ref: ref, ...props }, children)));
|
|
18
|
+
const WebScrollView = React.forwardRef(({ children, ...props }, ref) => (React.createElement("div", { ref: ref, ...props }, children)));
|
|
19
|
+
const WebVirtualizedList = React.forwardRef(({ children, ...props }, ref) => (React.createElement("div", { ref: ref, ...props }, children)));
|
|
20
|
+
const WebFlatList = React.forwardRef(({ children, ...props }, ref) => (React.createElement("div", { ref: ref, ...props }, children)));
|
|
21
|
+
const WebSectionList = React.forwardRef(({ children, ...props }, ref) => (React.createElement("div", { ref: ref, ...props }, children)));
|
|
22
|
+
const WebSectionHeaderText = React.forwardRef(({ children, ...props }, ref) => (React.createElement("h4", { ref: ref, ...props }, children)));
|
|
23
|
+
export const UIActionsheet = createActionsheet({
|
|
24
|
+
Root: WebRoot,
|
|
25
|
+
Content: WebContent,
|
|
26
|
+
Item: ItemWrapper,
|
|
27
|
+
ItemText: WebItemText,
|
|
28
|
+
DragIndicator: WebDragIndicator,
|
|
29
|
+
IndicatorWrapper: WebIndicatorWrapper,
|
|
30
|
+
Backdrop: AnimatedDiv,
|
|
31
|
+
ScrollView: WebScrollView,
|
|
32
|
+
VirtualizedList: WebVirtualizedList,
|
|
33
|
+
FlatList: WebFlatList,
|
|
34
|
+
SectionList: WebSectionList,
|
|
35
|
+
SectionHeaderText: WebSectionHeaderText,
|
|
36
|
+
Icon: UIIcon,
|
|
37
|
+
AnimatePresence: AnimatePresence,
|
|
38
|
+
});
|
|
39
|
+
cssInterop(UIActionsheet, { target: 'style', className: true });
|
|
40
|
+
cssInterop(UIActionsheet.Content, { target: 'style', className: true });
|
|
41
|
+
cssInterop(ItemWrapper, { target: 'style', className: true });
|
|
42
|
+
cssInterop(UIActionsheet.ItemText, { target: 'style', className: true });
|
|
43
|
+
cssInterop(UIActionsheet.DragIndicator, { target: 'style', className: true });
|
|
44
|
+
cssInterop(UIActionsheet.DragIndicatorWrapper, { target: 'style', className: true });
|
|
45
|
+
cssInterop(UIActionsheet.Backdrop, { target: 'style', className: true });
|
|
46
|
+
cssInterop(UIActionsheet.ScrollView, {
|
|
47
|
+
target: 'style',
|
|
48
|
+
className: true,
|
|
49
|
+
contentContainerStyle: true,
|
|
50
|
+
indicatorStyle: true,
|
|
51
|
+
});
|
|
52
|
+
cssInterop(UIActionsheet.VirtualizedList, {
|
|
53
|
+
target: 'style',
|
|
54
|
+
className: true,
|
|
55
|
+
ListFooterComponentStyle: true,
|
|
56
|
+
ListHeaderComponentStyle: true,
|
|
57
|
+
contentContainerStyle: true,
|
|
58
|
+
indicatorStyle: true,
|
|
59
|
+
});
|
|
60
|
+
cssInterop(UIActionsheet.FlatList, {
|
|
61
|
+
target: 'style',
|
|
62
|
+
className: true,
|
|
63
|
+
ListFooterComponentStyle: true,
|
|
64
|
+
ListHeaderComponentStyle: true,
|
|
65
|
+
columnWrapperStyle: true,
|
|
66
|
+
contentContainerStyle: true,
|
|
67
|
+
indicatorStyle: true,
|
|
68
|
+
});
|
|
69
|
+
cssInterop(UIActionsheet.SectionList, { target: 'style', className: true });
|
|
70
|
+
cssInterop(UIActionsheet.SectionHeaderText, { target: 'style', className: true });
|
|
71
|
+
cssInterop(PrimitiveIcon, {
|
|
72
|
+
className: {
|
|
73
|
+
target: 'style',
|
|
74
|
+
nativeStyleToProp: {
|
|
75
|
+
height: true,
|
|
76
|
+
width: true,
|
|
77
|
+
fill: true,
|
|
78
|
+
color: 'classNameColor',
|
|
79
|
+
stroke: true,
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
});
|
|
83
|
+
const actionsheetStyle = tva({ base: 'w-full h-full pointer-events-none' });
|
|
84
|
+
const actionsheetContentStyle = tva({
|
|
85
|
+
base: 'items-center rounded-tl-3xl rounded-tr-3xl p-5 pt-2 bg-background-0 pointer-events-auto select-none shadow-hard-5 border border-b-0 border-outline-100',
|
|
86
|
+
});
|
|
87
|
+
const actionsheetItemStyle = tva({
|
|
88
|
+
base: 'w-full flex-row items-center p-3 rounded-sm cursor-pointer data-[disabled=true]:opacity-40 data-[disabled=true]:pointer-events-auto data-[disabled=true]:cursor-not-allowed hover:bg-background-50 active:bg-background-100 data-[focus=true]:bg-background-100 data-[focus-visible=true]:bg-background-100 data-[focus-visible=true]:outline-indicator-primary gap-2',
|
|
89
|
+
});
|
|
90
|
+
const actionsheetItemTextStyle = tva({
|
|
91
|
+
base: 'text-typography-700 font-normal font-body',
|
|
92
|
+
variants: {
|
|
93
|
+
isTruncated: {
|
|
94
|
+
true: 'truncate',
|
|
95
|
+
},
|
|
96
|
+
bold: {
|
|
97
|
+
true: 'font-bold',
|
|
98
|
+
},
|
|
99
|
+
underline: {
|
|
100
|
+
true: 'underline',
|
|
101
|
+
},
|
|
102
|
+
strikeThrough: {
|
|
103
|
+
true: 'line-through',
|
|
104
|
+
},
|
|
105
|
+
size: {
|
|
106
|
+
'2xs': 'text-2xs',
|
|
107
|
+
xs: 'text-xs',
|
|
108
|
+
sm: 'text-sm',
|
|
109
|
+
md: 'text-base',
|
|
110
|
+
lg: 'text-lg',
|
|
111
|
+
xl: 'text-xl',
|
|
112
|
+
'2xl': 'text-2xl',
|
|
113
|
+
'3xl': 'text-3xl',
|
|
114
|
+
'4xl': 'text-4xl',
|
|
115
|
+
'5xl': 'text-5xl',
|
|
116
|
+
'6xl': 'text-6xl',
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
});
|
|
120
|
+
const actionsheetDragIndicatorStyle = tva({
|
|
121
|
+
base: 'w-16 h-1 bg-background-400 rounded-full',
|
|
122
|
+
});
|
|
123
|
+
const actionsheetDragIndicatorWrapperStyle = tva({
|
|
124
|
+
base: 'w-full py-1 items-center',
|
|
125
|
+
});
|
|
126
|
+
const actionsheetBackdropStyle = tva({
|
|
127
|
+
base: 'absolute left-0 top-0 right-0 bottom-0 bg-background-dark cursor-default pointer-events-auto',
|
|
128
|
+
});
|
|
129
|
+
const actionsheetScrollViewStyle = tva({
|
|
130
|
+
base: 'w-full h-auto overflow-auto',
|
|
131
|
+
});
|
|
132
|
+
const actionsheetVirtualizedListStyle = tva({
|
|
133
|
+
base: 'w-full h-auto overflow-auto',
|
|
134
|
+
});
|
|
135
|
+
const actionsheetFlatListStyle = tva({
|
|
136
|
+
base: 'w-full h-auto overflow-auto',
|
|
137
|
+
});
|
|
138
|
+
const actionsheetSectionListStyle = tva({
|
|
139
|
+
base: 'w-full h-auto overflow-auto',
|
|
140
|
+
});
|
|
141
|
+
const actionsheetSectionHeaderTextStyle = tva({
|
|
142
|
+
base: 'leading-5 font-bold font-heading my-0 text-typography-500 p-3 uppercase',
|
|
143
|
+
variants: {
|
|
144
|
+
isTruncated: {
|
|
145
|
+
true: 'truncate',
|
|
146
|
+
},
|
|
147
|
+
bold: {
|
|
148
|
+
true: 'font-bold',
|
|
149
|
+
},
|
|
150
|
+
underline: {
|
|
151
|
+
true: 'underline',
|
|
152
|
+
},
|
|
153
|
+
strikeThrough: {
|
|
154
|
+
true: 'line-through',
|
|
155
|
+
},
|
|
156
|
+
size: {
|
|
157
|
+
'5xl': 'text-5xl',
|
|
158
|
+
'4xl': 'text-4xl',
|
|
159
|
+
'3xl': 'text-3xl',
|
|
160
|
+
'2xl': 'text-2xl',
|
|
161
|
+
xl: 'text-xl',
|
|
162
|
+
lg: 'text-lg',
|
|
163
|
+
md: 'text-base',
|
|
164
|
+
sm: 'text-sm',
|
|
165
|
+
xs: 'text-xs',
|
|
166
|
+
},
|
|
167
|
+
sub: {
|
|
168
|
+
true: 'text-xs',
|
|
169
|
+
},
|
|
170
|
+
italic: {
|
|
171
|
+
true: 'italic',
|
|
172
|
+
},
|
|
173
|
+
highlight: {
|
|
174
|
+
true: 'bg-yellow500',
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
defaultVariants: {
|
|
178
|
+
size: 'xs',
|
|
179
|
+
},
|
|
180
|
+
});
|
|
181
|
+
const actionsheetIconStyle = tva({
|
|
182
|
+
base: 'text-background-500 fill-none',
|
|
183
|
+
variants: {
|
|
184
|
+
size: {
|
|
185
|
+
'2xs': 'h-3 w-3',
|
|
186
|
+
xs: 'h-3.5 w-3.5',
|
|
187
|
+
sm: 'h-4 w-4',
|
|
188
|
+
md: 'w-[18px] h-[18px]',
|
|
189
|
+
lg: 'h-5 w-5',
|
|
190
|
+
xl: 'h-6 w-6',
|
|
191
|
+
},
|
|
192
|
+
},
|
|
193
|
+
});
|
|
194
|
+
const Actionsheet = React.forwardRef(({ className, ...props }, ref) => {
|
|
195
|
+
return (React.createElement(UIActionsheet, { className: actionsheetStyle({
|
|
196
|
+
class: className,
|
|
197
|
+
}), ref: ref, ...props }));
|
|
198
|
+
});
|
|
199
|
+
const ActionsheetContent = React.forwardRef(({ className, ...props }, ref) => {
|
|
200
|
+
return (React.createElement(UIActionsheet.Content, { className: actionsheetContentStyle({
|
|
201
|
+
class: className,
|
|
202
|
+
}), ref: ref, ...props }));
|
|
203
|
+
});
|
|
204
|
+
const ActionsheetItem = React.forwardRef(({ className, ...props }, ref) => {
|
|
205
|
+
return (React.createElement(UIActionsheet.Item, { className: actionsheetItemStyle({
|
|
206
|
+
class: className,
|
|
207
|
+
}), ref: ref, ...props }));
|
|
208
|
+
});
|
|
209
|
+
const ActionsheetItemText = React.forwardRef(({ isTruncated, bold, underline, strikeThrough, size = 'sm', className, ...props }, ref) => {
|
|
210
|
+
return (React.createElement(UIActionsheet.ItemText, { className: actionsheetItemTextStyle({
|
|
211
|
+
class: className,
|
|
212
|
+
isTruncated,
|
|
213
|
+
bold,
|
|
214
|
+
underline,
|
|
215
|
+
strikeThrough,
|
|
216
|
+
size,
|
|
217
|
+
}), ref: ref, ...props }));
|
|
218
|
+
});
|
|
219
|
+
const ActionsheetDragIndicator = React.forwardRef(({ className, ...props }, ref) => {
|
|
220
|
+
return (React.createElement(UIActionsheet.DragIndicator, { className: actionsheetDragIndicatorStyle({
|
|
221
|
+
class: className,
|
|
222
|
+
}), ref: ref, ...props }));
|
|
223
|
+
});
|
|
224
|
+
const ActionsheetDragIndicatorWrapper = React.forwardRef(({ className, ...props }, ref) => {
|
|
225
|
+
return (React.createElement(UIActionsheet.DragIndicatorWrapper, { className: actionsheetDragIndicatorWrapperStyle({
|
|
226
|
+
class: className,
|
|
227
|
+
}), ref: ref, ...props }));
|
|
228
|
+
});
|
|
229
|
+
const ActionsheetBackdrop = React.forwardRef(({ className, ...props }, ref) => {
|
|
230
|
+
return (React.createElement(UIActionsheet.Backdrop, { initial: {
|
|
231
|
+
opacity: 0,
|
|
232
|
+
}, animate: {
|
|
233
|
+
opacity: 0.5,
|
|
234
|
+
}, exit: {
|
|
235
|
+
opacity: 0,
|
|
236
|
+
}, ...props, className: actionsheetBackdropStyle({
|
|
237
|
+
class: className,
|
|
238
|
+
}), ref: ref }));
|
|
239
|
+
});
|
|
240
|
+
const ActionsheetScrollView = React.forwardRef(({ className, ...props }, ref) => {
|
|
241
|
+
return (React.createElement(UIActionsheet.ScrollView, { className: actionsheetScrollViewStyle({
|
|
242
|
+
class: className,
|
|
243
|
+
}), ref: ref, ...props }));
|
|
244
|
+
});
|
|
245
|
+
const ActionsheetVirtualizedList = React.forwardRef(({ className, ...props }, ref) => {
|
|
246
|
+
return (React.createElement(UIActionsheet.VirtualizedList, { className: actionsheetVirtualizedListStyle({
|
|
247
|
+
class: className,
|
|
248
|
+
}), ref: ref, ...props }));
|
|
249
|
+
});
|
|
250
|
+
const ActionsheetFlatList = React.forwardRef(({ className, ...props }, ref) => {
|
|
251
|
+
return (React.createElement(UIActionsheet.FlatList, { className: actionsheetFlatListStyle({
|
|
252
|
+
class: className,
|
|
253
|
+
}), ref: ref, ...props }));
|
|
254
|
+
});
|
|
255
|
+
const ActionsheetSectionList = React.forwardRef(({ className, ...props }, ref) => {
|
|
256
|
+
return (React.createElement(UIActionsheet.SectionList, { className: actionsheetSectionListStyle({
|
|
257
|
+
class: className,
|
|
258
|
+
}), ref: ref, ...props }));
|
|
259
|
+
});
|
|
260
|
+
const ActionsheetSectionHeaderText = React.forwardRef(({ className, isTruncated, bold, underline, strikeThrough, size, sub, italic, highlight, ...props }, ref) => {
|
|
261
|
+
return (React.createElement(UIActionsheet.SectionHeaderText, { className: actionsheetSectionHeaderTextStyle({
|
|
262
|
+
class: className,
|
|
263
|
+
isTruncated,
|
|
264
|
+
bold,
|
|
265
|
+
underline,
|
|
266
|
+
strikeThrough,
|
|
267
|
+
size,
|
|
268
|
+
sub,
|
|
269
|
+
italic,
|
|
270
|
+
highlight,
|
|
271
|
+
}), ref: ref, ...props }));
|
|
272
|
+
});
|
|
273
|
+
const ActionsheetIcon = React.forwardRef(({ className, size = 'sm', ...props }, ref) => {
|
|
274
|
+
if (typeof size === 'number') {
|
|
275
|
+
return (React.createElement(UIActionsheet.Icon, { ref: ref, ...props, className: actionsheetIconStyle({ class: className }), size: size }));
|
|
276
|
+
}
|
|
277
|
+
else if ((props.height !== undefined || props.width !== undefined) && size === undefined) {
|
|
278
|
+
return React.createElement(UIActionsheet.Icon, { ref: ref, ...props, className: actionsheetIconStyle({ class: className }) });
|
|
279
|
+
}
|
|
280
|
+
return (React.createElement(UIActionsheet.Icon, { className: actionsheetIconStyle({
|
|
281
|
+
class: className,
|
|
282
|
+
size,
|
|
283
|
+
}), ref: ref, ...props }));
|
|
284
|
+
});
|
|
285
|
+
export { Actionsheet, ActionsheetContent, ActionsheetItem, ActionsheetItemText, ActionsheetDragIndicator, ActionsheetDragIndicatorWrapper, ActionsheetBackdrop, ActionsheetScrollView, ActionsheetVirtualizedList, ActionsheetFlatList, ActionsheetSectionList, ActionsheetSectionHeaderText, ActionsheetIcon, };
|
|
286
|
+
//# sourceMappingURL=index.web.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.web.js","sourceRoot":"","sources":["../../../../src/components/ui/actionsheet/index.web.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AACb,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,GAAG,EAAE,MAAM,oCAAoC,CAAC;AAEzD,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;AAE3F,0BAA0B;AAC1B,MAAM,WAAW,GAAG,KAAK,CAAC,UAAU,CAAuD,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IAC7G,OAAO,gCAAS,KAAK,EAAE,GAAG,EAAE,GAAG,GAAI,CAAC;AACxC,CAAC,CAAC,CAAC;AAEH,MAAM,WAAW,GAAG,6BAA6B,CAAC,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,EAAE,CAAC,gCAAS,KAAK,IAAG,QAAQ,CAAO,CAAC,CAAC;AAShH,MAAM,OAAO,GAAG,KAAK,CAAC,UAAU,CAAoC,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CACjG,6BAAK,GAAG,EAAE,GAAG,KAAM,KAAK,IACnB,QAAQ,CACP,CACT,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC;AAE/B,MAAM,W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;YAChB,IAAI;SACP,CAAC,EACF,GAAG,EAAE,GAAG,KACJ,KAAK,GACX,CACL,CAAC;AACN,CAAC,CACJ,CAAC;AAEF,OAAO,EACH,WAAW,EACX,kBAAkB,EAClB,eAAe,EACf,mBAAmB,EACnB,wBAAwB,EACxB,+BAA+B,EAC/B,mBAAmB,EACnB,qBAAqB,EACrB,0BAA0B,EAC1B,mBAAmB,EACnB,sBAAsB,EACtB,4BAA4B,EAC5B,eAAe,GAClB,CAAC"}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { VariantProps } from '@gluestack-ui/nativewind-utils';
|
|
3
|
+
declare const alertStyle: import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
|
|
4
|
+
variant: {
|
|
5
|
+
solid: string;
|
|
6
|
+
outline: string;
|
|
7
|
+
accent: string;
|
|
8
|
+
};
|
|
9
|
+
status: {
|
|
10
|
+
info: string;
|
|
11
|
+
success: string;
|
|
12
|
+
warning: string;
|
|
13
|
+
error: string;
|
|
14
|
+
};
|
|
15
|
+
} | ({
|
|
16
|
+
variant: {
|
|
17
|
+
solid: string;
|
|
18
|
+
outline: string;
|
|
19
|
+
accent: string;
|
|
20
|
+
};
|
|
21
|
+
status: {
|
|
22
|
+
info: string;
|
|
23
|
+
success: string;
|
|
24
|
+
warning: string;
|
|
25
|
+
error: string;
|
|
26
|
+
};
|
|
27
|
+
} & {
|
|
28
|
+
variant: {
|
|
29
|
+
solid: import("tailwind-merge").ClassNameValue | {
|
|
30
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
31
|
+
};
|
|
32
|
+
outline: import("tailwind-merge").ClassNameValue | {
|
|
33
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
34
|
+
};
|
|
35
|
+
accent: import("tailwind-merge").ClassNameValue | {
|
|
36
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
status: {
|
|
40
|
+
info: import("tailwind-merge").ClassNameValue | {
|
|
41
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
42
|
+
};
|
|
43
|
+
success: import("tailwind-merge").ClassNameValue | {
|
|
44
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
45
|
+
};
|
|
46
|
+
warning: import("tailwind-merge").ClassNameValue | {
|
|
47
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
48
|
+
};
|
|
49
|
+
error: import("tailwind-merge").ClassNameValue | {
|
|
50
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}), undefined, "rounded-lg p-4 mb-4", import("tailwind-variants/dist/config").TVConfig<{
|
|
54
|
+
variant: {
|
|
55
|
+
solid: string;
|
|
56
|
+
outline: string;
|
|
57
|
+
accent: string;
|
|
58
|
+
};
|
|
59
|
+
status: {
|
|
60
|
+
info: string;
|
|
61
|
+
success: string;
|
|
62
|
+
warning: string;
|
|
63
|
+
error: string;
|
|
64
|
+
};
|
|
65
|
+
}, {
|
|
66
|
+
variant: {
|
|
67
|
+
solid: string;
|
|
68
|
+
outline: string;
|
|
69
|
+
accent: string;
|
|
70
|
+
};
|
|
71
|
+
status: {
|
|
72
|
+
info: string;
|
|
73
|
+
success: string;
|
|
74
|
+
warning: string;
|
|
75
|
+
error: string;
|
|
76
|
+
};
|
|
77
|
+
}>, {
|
|
78
|
+
variant: {
|
|
79
|
+
solid: string;
|
|
80
|
+
outline: string;
|
|
81
|
+
accent: string;
|
|
82
|
+
};
|
|
83
|
+
status: {
|
|
84
|
+
info: string;
|
|
85
|
+
success: string;
|
|
86
|
+
warning: string;
|
|
87
|
+
error: string;
|
|
88
|
+
};
|
|
89
|
+
}, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
|
|
90
|
+
variant: {
|
|
91
|
+
solid: string;
|
|
92
|
+
outline: string;
|
|
93
|
+
accent: string;
|
|
94
|
+
};
|
|
95
|
+
status: {
|
|
96
|
+
info: string;
|
|
97
|
+
success: string;
|
|
98
|
+
warning: string;
|
|
99
|
+
error: string;
|
|
100
|
+
};
|
|
101
|
+
}, undefined, "rounded-lg p-4 mb-4", import("tailwind-variants/dist/config").TVConfig<{
|
|
102
|
+
variant: {
|
|
103
|
+
solid: string;
|
|
104
|
+
outline: string;
|
|
105
|
+
accent: string;
|
|
106
|
+
};
|
|
107
|
+
status: {
|
|
108
|
+
info: string;
|
|
109
|
+
success: string;
|
|
110
|
+
warning: string;
|
|
111
|
+
error: string;
|
|
112
|
+
};
|
|
113
|
+
}, {
|
|
114
|
+
variant: {
|
|
115
|
+
solid: string;
|
|
116
|
+
outline: string;
|
|
117
|
+
accent: string;
|
|
118
|
+
};
|
|
119
|
+
status: {
|
|
120
|
+
info: string;
|
|
121
|
+
success: string;
|
|
122
|
+
warning: string;
|
|
123
|
+
error: string;
|
|
124
|
+
};
|
|
125
|
+
}>, unknown, unknown, undefined>>;
|
|
126
|
+
export declare const AlertIcon: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
127
|
+
export declare const AlertText: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
128
|
+
export declare const AlertTitle: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
129
|
+
export declare const AlertDescription: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
130
|
+
type IAlertProps = React.ComponentProps<'div'> & {
|
|
131
|
+
variant?: VariantProps<typeof alertStyle>['variant'];
|
|
132
|
+
status?: VariantProps<typeof alertStyle>['status'];
|
|
133
|
+
};
|
|
134
|
+
declare const Alert: React.ForwardRefExoticComponent<Omit<IAlertProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
135
|
+
export { Alert };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import React, { forwardRef } from 'react';
|
|
3
|
+
import { tva } from '@gluestack-ui/nativewind-utils/tva';
|
|
4
|
+
const SCOPE = 'ALERT';
|
|
5
|
+
const alertStyle = tva({
|
|
6
|
+
base: 'rounded-lg p-4 mb-4',
|
|
7
|
+
variants: {
|
|
8
|
+
variant: {
|
|
9
|
+
solid: '',
|
|
10
|
+
outline: 'border',
|
|
11
|
+
accent: 'border-l-4',
|
|
12
|
+
},
|
|
13
|
+
status: {
|
|
14
|
+
info: 'bg-blue-50 text-blue-700 border-blue-500',
|
|
15
|
+
success: 'bg-green-50 text-green-700 border-green-500',
|
|
16
|
+
warning: 'bg-yellow-50 text-yellow-700 border-yellow-500',
|
|
17
|
+
error: 'bg-red-50 text-red-700 border-red-500',
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
defaultVariants: {
|
|
21
|
+
variant: 'solid',
|
|
22
|
+
status: 'info',
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
export const AlertIcon = forwardRef(({ className, children, ...props }, ref) => (React.createElement("div", { ref: ref, className: `mr-3 flex-shrink-0 ${className || ''}`, ...props }, children)));
|
|
26
|
+
AlertIcon.displayName = 'AlertIcon';
|
|
27
|
+
export const AlertText = forwardRef(({ className, ...props }, ref) => (React.createElement("div", { ref: ref, className: `flex-1 ${className || ''}`, ...props })));
|
|
28
|
+
AlertText.displayName = 'AlertText';
|
|
29
|
+
export const AlertTitle = forwardRef(({ className, ...props }, ref) => (React.createElement("div", { ref: ref, className: `font-semibold mb-1 ${className || ''}`, ...props })));
|
|
30
|
+
AlertTitle.displayName = 'AlertTitle';
|
|
31
|
+
export const AlertDescription = forwardRef(({ className, ...props }, ref) => React.createElement("div", { ref: ref, className: className, ...props }));
|
|
32
|
+
AlertDescription.displayName = 'AlertDescription';
|
|
33
|
+
const Alert = forwardRef(({ className, variant, status, ...props }, ref) => {
|
|
34
|
+
return React.createElement("div", { ref: ref, role: "alert", className: alertStyle({ variant, status, class: className }), ...props });
|
|
35
|
+
});
|
|
36
|
+
Alert.displayName = 'Alert';
|
|
37
|
+
export { Alert };
|
|
38
|
+
//# sourceMappingURL=index.web.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.web.js","sourceRoot":"","sources":["../../../../src/components/ui/alert/index.web.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AACb,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,GAAG,EAAE,MAAM,oCAAoC,CAAC;AAKzD,MAAM,KAAK,GAAG,OAAO,CAAC;AAEtB,MAAM,UAAU,GAAG,GAAG,CAAC;IACnB,IAAI,EAAE,qBAAqB;IAC3B,QAAQ,EAAE;QACN,OAAO,EAAE;YACL,KAAK,EAAE,EAAE;YACT,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,YAAY;SACvB;QACD,MAAM,EAAE;YACJ,IAAI,EAAE,0CAA0C;YAChD,OAAO,EAAE,6CAA6C;YACtD,OAAO,EAAE,gDAAgD;YACzD,KAAK,EAAE,uCAAuC;SACjD;KACJ;IACD,eAAe,EAAE;QACb,OAAO,EAAE,OAAO;QAChB,MAAM,EAAE,MAAM;KACjB;CACJ,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,SAAS,GAAG,UAAU,CAC/B,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CACxC,6BAAK,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,sBAAsB,SAAS,IAAI,EAAE,EAAE,KAAM,KAAK,IACvE,QAAQ,CACP,CACT,CACJ,CAAC;AAEF,SAAS,CAAC,WAAW,GAA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AAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { VariantProps } from '@gluestack-ui/nativewind-utils';
|
|
3
|
+
interface BaseProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
className?: string;
|
|
5
|
+
}
|
|
6
|
+
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const AlertDialog: React.ForwardRefExoticComponent<Omit<React.RefAttributes<Omit<BaseProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
10
|
+
context?: any;
|
|
11
|
+
} & React.RefAttributes<React.ForwardRefExoticComponent<BaseProps & React.RefAttributes<HTMLDivElement>>>> & Omit<Omit<BaseProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
12
|
+
context?: any;
|
|
13
|
+
} & React.RefAttributes<React.ForwardRefExoticComponent<BaseProps & React.RefAttributes<HTMLDivElement>>> & import("@gluestack-ui/alert-dialog/lib/types").InterfaceAlertDialogProps, "ref">, "ref"> & VariantProps<import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
|
|
14
|
+
size: {
|
|
15
|
+
xs: string;
|
|
16
|
+
sm: string;
|
|
17
|
+
md: string;
|
|
18
|
+
lg: string;
|
|
19
|
+
full: string;
|
|
20
|
+
};
|
|
21
|
+
} | ({} & {
|
|
22
|
+
size: {
|
|
23
|
+
xs: string;
|
|
24
|
+
sm: string;
|
|
25
|
+
md: string;
|
|
26
|
+
lg: string;
|
|
27
|
+
full: string;
|
|
28
|
+
};
|
|
29
|
+
}), undefined, "group/modal w-full h-full justify-center items-center pointer-events-none", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<unknown, undefined, "group/modal w-full h-full justify-center items-center pointer-events-none", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, unknown, undefined>>> & React.RefAttributes<Omit<BaseProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
30
|
+
context?: any;
|
|
31
|
+
} & React.RefAttributes<React.ForwardRefExoticComponent<BaseProps & React.RefAttributes<HTMLDivElement>>>>>;
|
|
32
|
+
declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<React.RefAttributes<import("react-native").Animated.AnimatedProps<import("react-native").ViewProps & React.RefAttributes<import("react-native").View>> & import("@legendapp/motion").MotionComponentProps<typeof import("react-native").View, import("react-native").ViewStyle, unknown, unknown, unknown>> & Omit<import("@gluestack-ui/alert-dialog/lib/types").IAlertDialogContentProps & import("react-native").Animated.AnimatedProps<import("react-native").ViewProps & React.RefAttributes<import("react-native").View>> & import("@legendapp/motion").MotionComponentProps<typeof import("react-native").View, import("react-native").ViewStyle, unknown, unknown, unknown>, "ref">, "ref"> & VariantProps<import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
|
|
33
|
+
size: {
|
|
34
|
+
xs: string;
|
|
35
|
+
sm: string;
|
|
36
|
+
md: string;
|
|
37
|
+
lg: string;
|
|
38
|
+
full: string;
|
|
39
|
+
};
|
|
40
|
+
} | ({} & {
|
|
41
|
+
size: {
|
|
42
|
+
xs: string;
|
|
43
|
+
sm: string;
|
|
44
|
+
md: string;
|
|
45
|
+
lg: string;
|
|
46
|
+
full: string;
|
|
47
|
+
};
|
|
48
|
+
}), undefined, "bg-background-0 rounded-lg overflow-hidden border border-outline-100 p-6", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<unknown, undefined, "bg-background-0 rounded-lg overflow-hidden border border-outline-100 p-6", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, unknown, undefined>>> & {
|
|
49
|
+
className?: string;
|
|
50
|
+
} & React.RefAttributes<import("react-native").Animated.AnimatedProps<import("react-native").ViewProps & React.RefAttributes<import("react-native").View>> & import("@legendapp/motion").MotionComponentProps<typeof import("react-native").View, import("react-native").ViewStyle, unknown, unknown, unknown>>>;
|
|
51
|
+
declare const AlertDialogCloseButton: React.ForwardRefExoticComponent<Omit<React.RefAttributes<ButtonProps & React.RefAttributes<HTMLButtonElement>> & Omit<ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref">, "ref"> & VariantProps<import("@gluestack-ui/nativewind-utils/types").TVReturnType<{} | {}, undefined, "group/alert-dialog-close-button z-10 rounded-sm p-2 data-[focus-visible=true]:bg-background-100 cursor-pointer outline-0", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<unknown, undefined, "group/alert-dialog-close-button z-10 rounded-sm p-2 data-[focus-visible=true]:bg-background-100 cursor-pointer outline-0", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, unknown, undefined>>> & React.RefAttributes<ButtonProps & React.RefAttributes<HTMLButtonElement>>>;
|
|
52
|
+
declare const AlertDialogHeader: React.ForwardRefExoticComponent<Omit<React.RefAttributes<BaseProps & React.RefAttributes<HTMLDivElement>> & Omit<BaseProps & React.RefAttributes<HTMLDivElement>, "ref">, "ref"> & VariantProps<import("@gluestack-ui/nativewind-utils/types").TVReturnType<{} | {}, undefined, "justify-between items-center flex-row", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<unknown, undefined, "justify-between items-center flex-row", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, unknown, undefined>>> & React.RefAttributes<BaseProps & React.RefAttributes<HTMLDivElement>>>;
|
|
53
|
+
declare const AlertDialogFooter: React.ForwardRefExoticComponent<Omit<React.RefAttributes<BaseProps & React.RefAttributes<HTMLDivElement>> & Omit<BaseProps & React.RefAttributes<HTMLDivElement>, "ref">, "ref"> & VariantProps<import("@gluestack-ui/nativewind-utils/types").TVReturnType<{} | {}, undefined, "flex-row justify-end items-center gap-3", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<unknown, undefined, "flex-row justify-end items-center gap-3", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, unknown, undefined>>> & React.RefAttributes<BaseProps & React.RefAttributes<HTMLDivElement>>>;
|
|
54
|
+
declare const AlertDialogBody: React.ForwardRefExoticComponent<Omit<React.RefAttributes<BaseProps & React.RefAttributes<HTMLDivElement>> & Omit<BaseProps & React.RefAttributes<HTMLDivElement>, "ref">, "ref"> & VariantProps<import("@gluestack-ui/nativewind-utils/types").TVReturnType<{} | {}, undefined, "", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<unknown, undefined, "", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, unknown, undefined>>> & React.RefAttributes<BaseProps & React.RefAttributes<HTMLDivElement>>>;
|
|
55
|
+
declare const AlertDialogBackdrop: React.ForwardRefExoticComponent<Omit<React.RefAttributes<import("react-native").Animated.AnimatedProps<Omit<BaseProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
56
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
57
|
+
}> & import("@legendapp/motion").MotionComponentProps<React.ForwardRefExoticComponent<BaseProps & React.RefAttributes<HTMLDivElement>>, React.CSSProperties, unknown, unknown, unknown>> & Omit<import("react-native").Animated.AnimatedProps<Omit<BaseProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
58
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
59
|
+
}> & import("@legendapp/motion").MotionComponentProps<React.ForwardRefExoticComponent<BaseProps & React.RefAttributes<HTMLDivElement>>, React.CSSProperties, unknown, unknown, unknown>, "ref">, "ref"> & VariantProps<import("@gluestack-ui/nativewind-utils/types").TVReturnType<{} | {}, undefined, "absolute left-0 top-0 right-0 bottom-0 bg-background-dark cursor-default", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<unknown, undefined, "absolute left-0 top-0 right-0 bottom-0 bg-background-dark cursor-default", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, unknown, undefined>>> & {
|
|
60
|
+
className?: string;
|
|
61
|
+
} & React.RefAttributes<import("react-native").Animated.AnimatedProps<Omit<BaseProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
62
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
63
|
+
}> & import("@legendapp/motion").MotionComponentProps<React.ForwardRefExoticComponent<BaseProps & React.RefAttributes<HTMLDivElement>>, React.CSSProperties, unknown, unknown, unknown>>>;
|
|
64
|
+
export { AlertDialog, AlertDialogContent, AlertDialogCloseButton, AlertDialogHeader, AlertDialogFooter, AlertDialogBody, AlertDialogBackdrop, };
|