@admin-layout/gluestack-ui-mobile 11.0.4-alpha.0 → 12.0.16-alpha.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 (204) hide show
  1. package/CHANGELOG.md +60 -4
  2. package/lib/__tests__/prolayout-layout-feature.test.js +1 -1
  3. package/lib/__tests__/prolayout-layout-feature.test.js.map +1 -1
  4. package/lib/components/AuthWrapper.js +5 -3
  5. package/lib/components/AuthWrapper.js.map +1 -1
  6. package/lib/components/ErrorBounday.js.map +1 -1
  7. package/lib/components/NavigationComponent.js.map +1 -1
  8. package/lib/components/UnAuthenticatedComponent.js.map +1 -1
  9. package/lib/components/WithConfiguration.js +4 -4
  10. package/lib/components/WithConfiguration.js.map +1 -1
  11. package/lib/components/WithPermission.js +1 -1
  12. package/lib/components/WithPermission.js.map +1 -1
  13. package/lib/components/WithPolicy.js +2 -2
  14. package/lib/components/WithPolicy.js.map +1 -1
  15. package/lib/components/ui/accordion/index.web.d.ts +209 -0
  16. package/lib/components/ui/accordion/index.web.js +156 -0
  17. package/lib/components/ui/accordion/index.web.js.map +1 -0
  18. package/lib/components/ui/actionsheet/index.web.d.ts +872 -0
  19. package/lib/components/ui/actionsheet/index.web.js +286 -0
  20. package/lib/components/ui/actionsheet/index.web.js.map +1 -0
  21. package/lib/components/ui/alert/index.web.d.ts +135 -0
  22. package/lib/components/ui/alert/index.web.js +38 -0
  23. package/lib/components/ui/alert/index.web.js.map +1 -0
  24. package/lib/components/ui/alert-dialog/index.web.d.ts +64 -0
  25. package/lib/components/ui/alert-dialog/index.web.js +139 -0
  26. package/lib/components/ui/alert-dialog/index.web.js.map +1 -0
  27. package/lib/components/ui/avatar/index.web.d.ts +21 -0
  28. package/lib/components/ui/avatar/index.web.js +92 -0
  29. package/lib/components/ui/avatar/index.web.js.map +1 -0
  30. package/lib/components/ui/badge/index.web.d.ts +382 -0
  31. package/lib/components/ui/badge/index.web.js +138 -0
  32. package/lib/components/ui/badge/index.web.js.map +1 -0
  33. package/lib/components/ui/button/index.web.d.ts +247 -0
  34. package/lib/components/ui/button/index.web.js +57 -0
  35. package/lib/components/ui/button/index.web.js.map +1 -0
  36. package/lib/components/ui/checkbox/index.web.d.ts +265 -0
  37. package/lib/components/ui/checkbox/index.web.js +77 -0
  38. package/lib/components/ui/checkbox/index.web.js.map +1 -0
  39. package/lib/components/ui/divider/index.web.d.ts +53 -0
  40. package/lib/components/ui/divider/index.web.js +21 -0
  41. package/lib/components/ui/divider/index.web.js.map +1 -0
  42. package/lib/components/ui/drawer/index.web.d.ts +174 -0
  43. package/lib/components/ui/drawer/index.web.js +65 -0
  44. package/lib/components/ui/drawer/index.web.js.map +1 -0
  45. package/lib/components/ui/fab/index.web.d.ts +520 -0
  46. package/lib/components/ui/fab/index.web.js +146 -0
  47. package/lib/components/ui/fab/index.web.js.map +1 -0
  48. package/lib/components/ui/flat-list/index.web.d.ts +21 -0
  49. package/lib/components/ui/flat-list/index.web.js +41 -0
  50. package/lib/components/ui/flat-list/index.web.js.map +1 -0
  51. package/lib/components/ui/form-control/index.web.d.ts +2071 -0
  52. package/lib/components/ui/form-control/index.web.js +290 -0
  53. package/lib/components/ui/form-control/index.web.js.map +1 -0
  54. package/lib/components/ui/image/index.web.d.ts +142 -0
  55. package/lib/components/ui/image/index.web.js +29 -0
  56. package/lib/components/ui/image/index.web.js.map +1 -0
  57. package/lib/components/ui/image-background/index.web.d.ts +8 -0
  58. package/lib/components/ui/image-background/index.web.js +23 -0
  59. package/lib/components/ui/image-background/index.web.js.map +1 -0
  60. package/lib/components/ui/input/index.web.d.ts +163 -0
  61. package/lib/components/ui/input/index.web.js +50 -0
  62. package/lib/components/ui/input/index.web.js.map +1 -0
  63. package/lib/components/ui/input-accessory-view/index.web.d.ts +9 -0
  64. package/lib/components/ui/input-accessory-view/index.web.js +16 -0
  65. package/lib/components/ui/input-accessory-view/index.web.js.map +1 -0
  66. package/lib/components/ui/keyboard-avoiding-view/index.web.d.ts +9 -0
  67. package/lib/components/ui/keyboard-avoiding-view/index.web.js +8 -0
  68. package/lib/components/ui/keyboard-avoiding-view/index.web.js.map +1 -0
  69. package/lib/components/ui/link/index.web.d.ts +365 -0
  70. package/lib/components/ui/link/index.web.js +70 -0
  71. package/lib/components/ui/link/index.web.js.map +1 -0
  72. package/lib/components/ui/menu/index.web.d.ts +142 -0
  73. package/lib/components/ui/menu/index.web.js +83 -0
  74. package/lib/components/ui/menu/index.web.js.map +1 -0
  75. package/lib/components/ui/modal/index.web.d.ts +111 -0
  76. package/lib/components/ui/modal/index.web.js +58 -0
  77. package/lib/components/ui/modal/index.web.js.map +1 -0
  78. package/lib/components/ui/popover/index.web.d.ts +309 -0
  79. package/lib/components/ui/popover/index.web.js +184 -0
  80. package/lib/components/ui/popover/index.web.js.map +1 -0
  81. package/lib/components/ui/portal/index.web.d.ts +9 -0
  82. package/lib/components/ui/portal/index.web.js +16 -0
  83. package/lib/components/ui/portal/index.web.js.map +1 -0
  84. package/lib/components/ui/pressable/index.web.d.ts +8 -0
  85. package/lib/components/ui/pressable/index.web.js +44 -0
  86. package/lib/components/ui/pressable/index.web.js.map +1 -0
  87. package/lib/components/ui/progress/index.web.d.ts +237 -0
  88. package/lib/components/ui/progress/index.web.js +73 -0
  89. package/lib/components/ui/progress/index.web.js.map +1 -0
  90. package/lib/components/ui/radio/index.web.d.ts +224 -0
  91. package/lib/components/ui/radio/index.web.js +69 -0
  92. package/lib/components/ui/radio/index.web.js.map +1 -0
  93. package/lib/components/ui/refresh-control/index.web.d.ts +14 -0
  94. package/lib/components/ui/refresh-control/index.web.js +69 -0
  95. package/lib/components/ui/refresh-control/index.web.js.map +1 -0
  96. package/lib/components/ui/safe-area-view/index.web.d.ts +6 -0
  97. package/lib/components/ui/safe-area-view/index.web.js +10 -0
  98. package/lib/components/ui/safe-area-view/index.web.js.map +1 -0
  99. package/lib/components/ui/scroll-view/index.web.d.ts +44 -0
  100. package/lib/components/ui/scroll-view/index.web.js +41 -0
  101. package/lib/components/ui/scroll-view/index.web.js.map +1 -0
  102. package/lib/components/ui/section-list/index.web.d.ts +26 -0
  103. package/lib/components/ui/section-list/index.web.js +35 -0
  104. package/lib/components/ui/section-list/index.web.js.map +1 -0
  105. package/lib/components/ui/select/index.web.d.ts +162 -0
  106. package/lib/components/ui/select/index.web.js +51 -0
  107. package/lib/components/ui/select/index.web.js.map +1 -0
  108. package/lib/components/ui/slider/index.web.d.ts +223 -0
  109. package/lib/components/ui/slider/index.web.js +189 -0
  110. package/lib/components/ui/slider/index.web.js.map +1 -0
  111. package/lib/components/ui/spinner/index.web.d.ts +176 -0
  112. package/lib/components/ui/spinner/index.web.js +55 -0
  113. package/lib/components/ui/spinner/index.web.js.map +1 -0
  114. package/lib/components/ui/status-bar/index.web.d.ts +14 -0
  115. package/lib/components/ui/status-bar/index.web.js +7 -0
  116. package/lib/components/ui/status-bar/index.web.js.map +1 -0
  117. package/lib/components/ui/switch/index.web.d.ts +71 -0
  118. package/lib/components/ui/switch/index.web.js +27 -0
  119. package/lib/components/ui/switch/index.web.js.map +1 -0
  120. package/lib/components/ui/tabs/index.web.d.ts +351 -0
  121. package/lib/components/ui/tabs/index.web.js +120 -0
  122. package/lib/components/ui/tabs/index.web.js.map +1 -0
  123. package/lib/components/ui/textarea/index.web.d.ts +162 -0
  124. package/lib/components/ui/textarea/index.web.js +50 -0
  125. package/lib/components/ui/textarea/index.web.js.map +1 -0
  126. package/lib/components/ui/toast/index.web.d.ts +225 -0
  127. package/lib/components/ui/toast/index.web.js +80 -0
  128. package/lib/components/ui/toast/index.web.js.map +1 -0
  129. package/lib/components/ui/tooltip/index.web.d.ts +86 -0
  130. package/lib/components/ui/tooltip/index.web.js +110 -0
  131. package/lib/components/ui/tooltip/index.web.js.map +1 -0
  132. package/lib/components/ui/view/index.web.d.ts +2 -0
  133. package/lib/components/ui/view/index.web.js +7 -0
  134. package/lib/components/ui/view/index.web.js.map +1 -0
  135. package/lib/components/ui/virtualized-list/index.web.d.ts +19 -0
  136. package/lib/components/ui/virtualized-list/index.web.js +30 -0
  137. package/lib/components/ui/virtualized-list/index.web.js.map +1 -0
  138. package/lib/components/usePermissionAutoFetch.d.ts +7 -19
  139. package/lib/components/with-interactions-lifecycle-managed.js.map +1 -1
  140. package/lib/components/with-interactions-managed.js +2 -3
  141. package/lib/components/with-interactions-managed.js.map +1 -1
  142. package/lib/containers/layout/DrawerBottomNavigationConfig.d.ts +47 -47
  143. package/lib/containers/layout/DrawerConfig.d.ts +31 -31
  144. package/lib/containers/layout/module.js +1 -1
  145. package/lib/containers/layout/module.js.map +1 -1
  146. package/lib/interfaces/settings.d.ts +1 -0
  147. package/lib/redux/settings.d.ts +4 -9
  148. package/lib/utils/routeConfigKeyReplace.test.js +1 -1
  149. package/lib/utils/routeConfigKeyReplace.test.js.map +1 -1
  150. package/package.json +7 -4
  151. package/src/__tests__/prolayout-layout-feature.test.tsx +2 -2
  152. package/src/components/AuthWrapper.tsx +6 -3
  153. package/src/components/ErrorBounday.tsx +18 -19
  154. package/src/components/NavigationComponent.tsx +1 -1
  155. package/src/components/UnAuthenticatedComponent.tsx +1 -3
  156. package/src/components/WithConfiguration.tsx +5 -8
  157. package/src/components/WithPermission.tsx +1 -1
  158. package/src/components/WithPolicy.tsx +4 -3
  159. package/src/components/ui/accordion/index.web.tsx +294 -0
  160. package/src/components/ui/actionsheet/index.web.tsx +555 -0
  161. package/src/components/ui/alert/index.web.tsx +71 -0
  162. package/src/components/ui/alert-dialog/index.web.tsx +241 -0
  163. package/src/components/ui/avatar/index.web.tsx +150 -0
  164. package/src/components/ui/badge/index.web.tsx +188 -0
  165. package/src/components/ui/button/index.web.tsx +86 -0
  166. package/src/components/ui/checkbox/index.web.tsx +151 -0
  167. package/src/components/ui/divider/index.web.tsx +37 -0
  168. package/src/components/ui/drawer/index.web.tsx +144 -0
  169. package/src/components/ui/fab/index.web.tsx +201 -0
  170. package/src/components/ui/flat-list/index.web.tsx +89 -0
  171. package/src/components/ui/form-control/index.web.tsx +451 -0
  172. package/src/components/ui/image/index.web.tsx +43 -0
  173. package/src/components/ui/image-background/index.web.tsx +43 -0
  174. package/src/components/ui/input/index.web.tsx +80 -0
  175. package/src/components/ui/input-accessory-view/index.web.tsx +31 -0
  176. package/src/components/ui/keyboard-avoiding-view/index.web.tsx +23 -0
  177. package/src/components/ui/link/index.web.tsx +103 -0
  178. package/src/components/ui/menu/index.web.tsx +159 -0
  179. package/src/components/ui/modal/index.web.tsx +135 -0
  180. package/src/components/ui/popover/index.web.tsx +326 -0
  181. package/src/components/ui/portal/index.web.tsx +34 -0
  182. package/src/components/ui/pressable/index.web.tsx +73 -0
  183. package/src/components/ui/progress/index.web.tsx +123 -0
  184. package/src/components/ui/radio/index.web.tsx +130 -0
  185. package/src/components/ui/refresh-control/index.web.tsx +104 -0
  186. package/src/components/ui/safe-area-view/index.web.tsx +24 -0
  187. package/src/components/ui/scroll-view/index.web.tsx +142 -0
  188. package/src/components/ui/section-list/index.web.tsx +93 -0
  189. package/src/components/ui/select/index.web.tsx +83 -0
  190. package/src/components/ui/slider/index.web.tsx +283 -0
  191. package/src/components/ui/spinner/index.web.tsx +81 -0
  192. package/src/components/ui/status-bar/index.web.tsx +20 -0
  193. package/src/components/ui/switch/index.web.tsx +44 -0
  194. package/src/components/ui/tabs/index.web.tsx +205 -0
  195. package/src/components/ui/textarea/index.web.tsx +86 -0
  196. package/src/components/ui/toast/index.web.tsx +132 -0
  197. package/src/components/ui/tooltip/index.web.tsx +155 -0
  198. package/src/components/ui/view/index.web.tsx +15 -0
  199. package/src/components/ui/virtualized-list/index.web.tsx +84 -0
  200. package/src/components/with-interactions-lifecycle-managed.tsx +0 -4
  201. package/src/components/with-interactions-managed.tsx +3 -4
  202. package/src/containers/layout/module.ts +1 -1
  203. package/src/interfaces/settings.ts +1 -0
  204. package/src/utils/routeConfigKeyReplace.test.ts +4 -4
@@ -0,0 +1,162 @@
1
+ import React from 'react';
2
+ import type { VariantProps } from '@gluestack-ui/nativewind-utils';
3
+ declare const StyledSelect: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLSelectElement>>;
4
+ declare const selectStyle: import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
5
+ size: {
6
+ sm: string;
7
+ md: string;
8
+ lg: string;
9
+ };
10
+ variant: {
11
+ outline: string;
12
+ filled: string;
13
+ unstyled: string;
14
+ };
15
+ state: {
16
+ error: string;
17
+ success: string;
18
+ };
19
+ } | ({
20
+ size: {
21
+ sm: string;
22
+ md: string;
23
+ lg: string;
24
+ };
25
+ variant: {
26
+ outline: string;
27
+ filled: string;
28
+ unstyled: string;
29
+ };
30
+ state: {
31
+ error: string;
32
+ success: string;
33
+ };
34
+ } & {
35
+ size: {
36
+ sm: import("tailwind-merge").ClassNameValue | {
37
+ base?: import("tailwind-merge").ClassNameValue;
38
+ };
39
+ md: import("tailwind-merge").ClassNameValue | {
40
+ base?: import("tailwind-merge").ClassNameValue;
41
+ };
42
+ lg: import("tailwind-merge").ClassNameValue | {
43
+ base?: import("tailwind-merge").ClassNameValue;
44
+ };
45
+ };
46
+ variant: {
47
+ outline: import("tailwind-merge").ClassNameValue | {
48
+ base?: import("tailwind-merge").ClassNameValue;
49
+ };
50
+ filled: import("tailwind-merge").ClassNameValue | {
51
+ base?: import("tailwind-merge").ClassNameValue;
52
+ };
53
+ unstyled: import("tailwind-merge").ClassNameValue | {
54
+ base?: import("tailwind-merge").ClassNameValue;
55
+ };
56
+ };
57
+ state: {
58
+ error: import("tailwind-merge").ClassNameValue | {
59
+ base?: import("tailwind-merge").ClassNameValue;
60
+ };
61
+ success: import("tailwind-merge").ClassNameValue | {
62
+ base?: import("tailwind-merge").ClassNameValue;
63
+ };
64
+ };
65
+ }), undefined, "px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent appearance-none bg-white", import("tailwind-variants/dist/config").TVConfig<{
66
+ size: {
67
+ sm: string;
68
+ md: string;
69
+ lg: string;
70
+ };
71
+ variant: {
72
+ outline: string;
73
+ filled: string;
74
+ unstyled: string;
75
+ };
76
+ state: {
77
+ error: string;
78
+ success: string;
79
+ };
80
+ }, {
81
+ size: {
82
+ sm: string;
83
+ md: string;
84
+ lg: string;
85
+ };
86
+ variant: {
87
+ outline: string;
88
+ filled: string;
89
+ unstyled: string;
90
+ };
91
+ state: {
92
+ error: string;
93
+ success: string;
94
+ };
95
+ }>, {
96
+ size: {
97
+ sm: string;
98
+ md: string;
99
+ lg: string;
100
+ };
101
+ variant: {
102
+ outline: string;
103
+ filled: string;
104
+ unstyled: string;
105
+ };
106
+ state: {
107
+ error: string;
108
+ success: string;
109
+ };
110
+ }, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
111
+ size: {
112
+ sm: string;
113
+ md: string;
114
+ lg: string;
115
+ };
116
+ variant: {
117
+ outline: string;
118
+ filled: string;
119
+ unstyled: string;
120
+ };
121
+ state: {
122
+ error: string;
123
+ success: string;
124
+ };
125
+ }, undefined, "px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent appearance-none bg-white", import("tailwind-variants/dist/config").TVConfig<{
126
+ size: {
127
+ sm: string;
128
+ md: string;
129
+ lg: string;
130
+ };
131
+ variant: {
132
+ outline: string;
133
+ filled: string;
134
+ unstyled: string;
135
+ };
136
+ state: {
137
+ error: string;
138
+ success: string;
139
+ };
140
+ }, {
141
+ size: {
142
+ sm: string;
143
+ md: string;
144
+ lg: string;
145
+ };
146
+ variant: {
147
+ outline: string;
148
+ filled: string;
149
+ unstyled: string;
150
+ };
151
+ state: {
152
+ error: string;
153
+ success: string;
154
+ };
155
+ }>, unknown, unknown, undefined>>;
156
+ export declare const SelectOption: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.OptionHTMLAttributes<HTMLOptionElement>, HTMLOptionElement>, "ref"> & React.RefAttributes<HTMLOptionElement>>;
157
+ type ISelectProps = React.ComponentProps<typeof StyledSelect> & VariantProps<typeof selectStyle> & {
158
+ className?: string;
159
+ onValueChange?: (value: string) => void;
160
+ };
161
+ declare const Select: React.ForwardRefExoticComponent<Omit<ISelectProps, "ref"> & React.RefAttributes<HTMLSelectElement>>;
162
+ export { Select };
@@ -0,0 +1,51 @@
1
+ 'use client';
2
+ import React, { forwardRef } from 'react';
3
+ import { tva } from '@gluestack-ui/nativewind-utils/tva';
4
+ const SCOPE = 'SELECT';
5
+ const StyledSelect = forwardRef(({ onValueChange, onChange, placeholder, children, ...props }, ref) => {
6
+ const handleChange = (e) => {
7
+ if (onChange) {
8
+ onChange(e);
9
+ }
10
+ if (onValueChange) {
11
+ onValueChange(e.target.value);
12
+ }
13
+ };
14
+ return (React.createElement("select", { ref: ref, onChange: handleChange, ...props },
15
+ placeholder && (React.createElement("option", { value: "", disabled: true }, placeholder)),
16
+ children));
17
+ });
18
+ StyledSelect.displayName = 'StyledSelect';
19
+ const selectStyle = tva({
20
+ base: 'px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent appearance-none bg-white',
21
+ variants: {
22
+ size: {
23
+ sm: 'text-sm h-8',
24
+ md: 'text-base h-10',
25
+ lg: 'text-lg h-12',
26
+ },
27
+ variant: {
28
+ outline: 'bg-transparent',
29
+ filled: 'bg-gray-100',
30
+ unstyled: '',
31
+ },
32
+ state: {
33
+ error: 'border-red-500 focus:ring-red-500',
34
+ success: 'border-green-500 focus:ring-green-500',
35
+ },
36
+ },
37
+ defaultVariants: {
38
+ size: 'md',
39
+ variant: 'outline',
40
+ },
41
+ });
42
+ export const SelectOption = forwardRef((props, ref) => {
43
+ return React.createElement("option", { ref: ref, ...props });
44
+ });
45
+ SelectOption.displayName = 'SelectOption';
46
+ const Select = React.forwardRef(({ className, size, variant, state, ...props }, ref) => {
47
+ return (React.createElement(StyledSelect, { ref: ref, className: selectStyle({ size, variant, state, class: className }), ...props }));
48
+ });
49
+ Select.displayName = 'Select';
50
+ export { Select };
51
+ //# sourceMappingURL=index.web.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.web.js","sourceRoot":"","sources":["../../../../src/components/ui/select/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,QAAQ,CAAC;AAEvB,MAAM,YAAY,GAAG,UAAU,CAC3B,CAAC,EAAE,aAAa,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IAClE,MAAM,YAAY,GAAG,CAAC,CAAuC,EAAE,EAAE;QAC7D,IAAI,QAAQ,EAAE,CAAC;YACX,QAAQ,CAAC,CAAC,CAAC,CAAC;QAChB,CAAC;QACD,IAAI,aAAa,EAAE,CAAC;YAChB,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAClC,CAAC;IACL,CAAC,CAAC;IAEF,OAAO,CACH,gCAAQ,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,YAAY,KAAM,KAAK;QAC9C,WAAW,IAAI,CACZ,gCAAQ,KAAK,EAAC,EAAE,EAAC,QAAQ,UACpB,WAAW,CACP,CACZ;QACA,QAAQ,CACJ,CACZ,CAAC;AACN,CAAC,CACJ,CAAC;AAEF,YAAY,CAAC,WAAW,GAAG,cAAc,CAAC;AAE1C,MAAM,WAAW,GAAG,GAAG,CAAC;IACpB,IAAI,EAAE,mJAAmJ;IACzJ,QAAQ,EAAE;QACN,IAAI,EAAE;YACF,EAAE,EAAE,aAAa;YACjB,EAAE,EAAE,gBAAgB;YACpB,EAAE,EAAE,cAAc;SACrB;QACD,OAAO,EAAE;YACL,OAAO,EAAE,gBAAgB;YACzB,MAAM,EAAE,aAAa;YACrB,QAAQ,EAAE,EAAE;SACf;QACD,KAAK,EAAE;YACH,KAAK,EAAE,mCAAmC;YAC1C,OAAO,EAAE,uCAAuC;SACnD;KACJ;IACD,eAAe,EAAE;QACb,IAAI,EAAE,IAAI;QACV,OAAO,EAAE,SAAS;KACrB;CACJ,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,CAAoD,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;IACrG,OAAO,gCAAQ,GAAG,EAAE,GAAG,KAAM,KAAK,GAAI,CAAC;AAC3C,CAAC,CAAC,CAAC;AAEH,YAAY,CAAC,WAAW,GAAG,cAAc,CAAC;AAQ1C,MAAM,MAAM,GAAG,KAAK,CAAC,UAAU,CAC3B,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IACnD,OAAO,CACH,oBAAC,YAAY,IAAC,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,WAAW,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,KAAM,KAAK,GAAI,CAC5G,CAAC;AACN,CAAC,CACJ,CAAC;AAEF,MAAM,CAAC,WAAW,GAAG,QAAQ,CAAC;AAE9B,OAAO,EAAE,MAAM,EAAE,CAAC"}
@@ -0,0 +1,223 @@
1
+ import React from 'react';
2
+ import type { VariantProps } from '@gluestack-ui/nativewind-utils';
3
+ export declare const UISlider: import("@gluestack-ui/slider/lib/types").ISliderComponentType<Omit<Omit<React.HTMLProps<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & {
4
+ context?: any;
5
+ } & React.RefAttributes<React.ForwardRefExoticComponent<Omit<React.HTMLProps<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>>, Omit<React.HTMLProps<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, Omit<React.HTMLProps<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, Omit<React.HTMLProps<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
6
+ declare const sliderStyle: import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
7
+ orientation: {
8
+ horizontal: string;
9
+ vertical: string;
10
+ };
11
+ size: {
12
+ sm: string;
13
+ md: string;
14
+ lg: string;
15
+ };
16
+ isReversed: {
17
+ true: string;
18
+ false: string;
19
+ };
20
+ } | ({
21
+ orientation: {
22
+ horizontal: string;
23
+ vertical: string;
24
+ };
25
+ size: {
26
+ sm: string;
27
+ md: string;
28
+ lg: string;
29
+ };
30
+ isReversed: {
31
+ true: string;
32
+ false: string;
33
+ };
34
+ } & {
35
+ orientation: {
36
+ horizontal: import("tailwind-merge").ClassNameValue | {
37
+ base?: import("tailwind-merge").ClassNameValue;
38
+ };
39
+ vertical: import("tailwind-merge").ClassNameValue | {
40
+ base?: import("tailwind-merge").ClassNameValue;
41
+ };
42
+ };
43
+ size: {
44
+ sm: import("tailwind-merge").ClassNameValue | {
45
+ base?: import("tailwind-merge").ClassNameValue;
46
+ };
47
+ md: import("tailwind-merge").ClassNameValue | {
48
+ base?: import("tailwind-merge").ClassNameValue;
49
+ };
50
+ lg: import("tailwind-merge").ClassNameValue | {
51
+ base?: import("tailwind-merge").ClassNameValue;
52
+ };
53
+ };
54
+ isReversed: {
55
+ true: import("tailwind-merge").ClassNameValue | {
56
+ base?: import("tailwind-merge").ClassNameValue;
57
+ };
58
+ false: import("tailwind-merge").ClassNameValue | {
59
+ base?: import("tailwind-merge").ClassNameValue;
60
+ };
61
+ };
62
+ }), undefined, "justify-center items-center data-[disabled=true]:opacity-40 data-[disabled=true]:pointer-events-none", import("tailwind-variants/dist/config").TVConfig<{
63
+ orientation: {
64
+ horizontal: string;
65
+ vertical: string;
66
+ };
67
+ size: {
68
+ sm: string;
69
+ md: string;
70
+ lg: string;
71
+ };
72
+ isReversed: {
73
+ true: string;
74
+ false: string;
75
+ };
76
+ }, {
77
+ orientation: {
78
+ horizontal: string;
79
+ vertical: string;
80
+ };
81
+ size: {
82
+ sm: string;
83
+ md: string;
84
+ lg: string;
85
+ };
86
+ isReversed: {
87
+ true: string;
88
+ false: string;
89
+ };
90
+ }>, {
91
+ orientation: {
92
+ horizontal: string;
93
+ vertical: string;
94
+ };
95
+ size: {
96
+ sm: string;
97
+ md: string;
98
+ lg: string;
99
+ };
100
+ isReversed: {
101
+ true: string;
102
+ false: string;
103
+ };
104
+ }, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
105
+ orientation: {
106
+ horizontal: string;
107
+ vertical: string;
108
+ };
109
+ size: {
110
+ sm: string;
111
+ md: string;
112
+ lg: string;
113
+ };
114
+ isReversed: {
115
+ true: string;
116
+ false: string;
117
+ };
118
+ }, undefined, "justify-center items-center data-[disabled=true]:opacity-40 data-[disabled=true]:pointer-events-none", import("tailwind-variants/dist/config").TVConfig<{
119
+ orientation: {
120
+ horizontal: string;
121
+ vertical: string;
122
+ };
123
+ size: {
124
+ sm: string;
125
+ md: string;
126
+ lg: string;
127
+ };
128
+ isReversed: {
129
+ true: string;
130
+ false: string;
131
+ };
132
+ }, {
133
+ orientation: {
134
+ horizontal: string;
135
+ vertical: string;
136
+ };
137
+ size: {
138
+ sm: string;
139
+ md: string;
140
+ lg: string;
141
+ };
142
+ isReversed: {
143
+ true: string;
144
+ false: string;
145
+ };
146
+ }>, unknown, unknown, undefined>>;
147
+ declare const sliderThumbStyle: import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
148
+ size: {
149
+ sm: string;
150
+ md: string;
151
+ lg: string;
152
+ };
153
+ } | ({} & {
154
+ size: {
155
+ sm: string;
156
+ md: string;
157
+ lg: string;
158
+ };
159
+ }), undefined, "bg-primary-500 absolute rounded-full data-[focus=true]:bg-primary-600 data-[active=true]:bg-primary-600 data-[hover=true]:bg-primary-600 data-[disabled=true]:bg-primary-500 cursor-pointer data-[active=true]:outline data-[active=true]:outline-4 data-[active=true]:outline-primary-400 shadow-hard-1", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<unknown, undefined, "bg-primary-500 absolute rounded-full data-[focus=true]:bg-primary-600 data-[active=true]:bg-primary-600 data-[hover=true]:bg-primary-600 data-[disabled=true]:bg-primary-500 cursor-pointer data-[active=true]:outline data-[active=true]:outline-4 data-[active=true]:outline-primary-400 shadow-hard-1", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, unknown, undefined>>;
160
+ declare const sliderTrackStyle: import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
161
+ orientation: {
162
+ horizontal: string;
163
+ vertical: string;
164
+ };
165
+ isReversed: {
166
+ true: string;
167
+ false: string;
168
+ };
169
+ size: {
170
+ sm: string;
171
+ md: string;
172
+ lg: string;
173
+ };
174
+ } | ({} & {
175
+ orientation: {
176
+ horizontal: string;
177
+ vertical: string;
178
+ };
179
+ isReversed: {
180
+ true: string;
181
+ false: string;
182
+ };
183
+ size: {
184
+ sm: string;
185
+ md: string;
186
+ lg: string;
187
+ };
188
+ }), undefined, "bg-background-300 rounded-lg overflow-hidden", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<unknown, undefined, "bg-background-300 rounded-lg overflow-hidden", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, unknown, undefined>>;
189
+ declare const sliderFilledTrackStyle: import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
190
+ orientation: {
191
+ horizontal: string;
192
+ vertical: string;
193
+ };
194
+ } | ({} & {
195
+ orientation: {
196
+ horizontal: string;
197
+ vertical: string;
198
+ };
199
+ }), undefined, "bg-primary-500 data-[focus=true]:bg-primary-600 data-[active=true]:bg-primary-600 data-[hover=true]:bg-primary-600", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<unknown, undefined, "bg-primary-500 data-[focus=true]:bg-primary-600 data-[active=true]:bg-primary-600 data-[hover=true]:bg-primary-600", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, unknown, undefined>>;
200
+ interface BaseSliderProps {
201
+ className?: string;
202
+ size?: 'sm' | 'md' | 'lg';
203
+ orientation?: 'horizontal' | 'vertical';
204
+ isReversed?: boolean;
205
+ style?: React.CSSProperties;
206
+ children?: React.ReactNode;
207
+ onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
208
+ onMouseDown?: (event: React.MouseEvent<HTMLDivElement>) => void;
209
+ onMouseUp?: (event: React.MouseEvent<HTMLDivElement>) => void;
210
+ onMouseEnter?: (event: React.MouseEvent<HTMLDivElement>) => void;
211
+ onMouseLeave?: (event: React.MouseEvent<HTMLDivElement>) => void;
212
+ }
213
+ type ISliderProps = React.ComponentProps<typeof UISlider> & VariantProps<typeof sliderStyle> & BaseSliderProps;
214
+ declare const Slider: React.ForwardRefExoticComponent<Omit<ISliderProps, "ref"> & React.RefAttributes<Omit<Omit<React.HTMLProps<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & {
215
+ context?: any;
216
+ } & React.RefAttributes<React.ForwardRefExoticComponent<Omit<React.HTMLProps<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>>>>;
217
+ type ISliderThumbProps = React.ComponentProps<typeof UISlider.Thumb> & VariantProps<typeof sliderThumbStyle> & BaseSliderProps;
218
+ declare const SliderThumb: React.ForwardRefExoticComponent<Omit<ISliderThumbProps, "ref"> & React.RefAttributes<Omit<React.HTMLProps<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>>;
219
+ type ISliderTrackProps = React.ComponentProps<typeof UISlider.Track> & VariantProps<typeof sliderTrackStyle> & BaseSliderProps;
220
+ declare const SliderTrack: React.ForwardRefExoticComponent<Omit<ISliderTrackProps, "ref"> & React.RefAttributes<Omit<React.HTMLProps<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>>;
221
+ type ISliderFilledTrackProps = React.ComponentProps<typeof UISlider.FilledTrack> & VariantProps<typeof sliderFilledTrackStyle> & BaseSliderProps;
222
+ declare const SliderFilledTrack: React.ForwardRefExoticComponent<Omit<ISliderFilledTrackProps, "ref"> & React.RefAttributes<Omit<React.HTMLProps<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>>;
223
+ export { Slider, SliderThumb, SliderTrack, SliderFilledTrack };
@@ -0,0 +1,189 @@
1
+ 'use client';
2
+ import { createSlider } from '@gluestack-ui/slider';
3
+ import React from 'react';
4
+ import { tva } from '@gluestack-ui/nativewind-utils/tva';
5
+ import { withStyleContext, useStyleContext } from '@gluestack-ui/nativewind-utils/withStyleContext';
6
+ const SCOPE = 'SLIDER';
7
+ // Create styled components for web
8
+ const StyledRoot = React.forwardRef((props, ref) => (React.createElement("div", { ref: ref, ...props })));
9
+ const StyledThumb = React.forwardRef((props, ref) => (React.createElement("div", { ref: ref, ...props })));
10
+ const StyledTrack = React.forwardRef((props, ref) => (React.createElement("div", { ref: ref, ...props })));
11
+ const StyledFilledTrack = React.forwardRef((props, ref) => (React.createElement("div", { ref: ref, ...props })));
12
+ const StyledThumbInteraction = React.forwardRef((props, ref) => (React.createElement("div", { ref: ref, ...props })));
13
+ const Root = withStyleContext(StyledRoot, SCOPE);
14
+ export const UISlider = createSlider({
15
+ Root,
16
+ Thumb: StyledThumb,
17
+ Track: StyledTrack,
18
+ FilledTrack: StyledFilledTrack,
19
+ ThumbInteraction: StyledThumbInteraction,
20
+ });
21
+ // Remove problematic cssInterop for now as it's causing type issues
22
+ // cssInterop(UISlider.Track, {
23
+ // target: false,
24
+ // nativeStyleToProp: {
25
+ // style: true,
26
+ // },
27
+ // });
28
+ const sliderStyle = tva({
29
+ base: 'justify-center items-center data-[disabled=true]:opacity-40 data-[disabled=true]:pointer-events-none',
30
+ variants: {
31
+ orientation: {
32
+ horizontal: 'w-full',
33
+ vertical: 'h-full',
34
+ },
35
+ size: {
36
+ sm: '',
37
+ md: '',
38
+ lg: '',
39
+ },
40
+ isReversed: {
41
+ true: '',
42
+ false: '',
43
+ },
44
+ },
45
+ });
46
+ const sliderThumbStyle = tva({
47
+ base: 'bg-primary-500 absolute rounded-full data-[focus=true]:bg-primary-600 data-[active=true]:bg-primary-600 data-[hover=true]:bg-primary-600 data-[disabled=true]:bg-primary-500 cursor-pointer data-[active=true]:outline data-[active=true]:outline-4 data-[active=true]:outline-primary-400 shadow-hard-1',
48
+ parentVariants: {
49
+ size: {
50
+ sm: 'h-4 w-4',
51
+ md: 'h-5 w-5',
52
+ lg: 'h-6 w-6',
53
+ },
54
+ },
55
+ });
56
+ const sliderTrackStyle = tva({
57
+ base: 'bg-background-300 rounded-lg overflow-hidden',
58
+ parentVariants: {
59
+ orientation: {
60
+ horizontal: 'w-full',
61
+ vertical: 'h-full',
62
+ },
63
+ isReversed: {
64
+ true: '',
65
+ false: '',
66
+ },
67
+ size: {
68
+ sm: '',
69
+ md: '',
70
+ lg: '',
71
+ },
72
+ },
73
+ parentCompoundVariants: [
74
+ {
75
+ orientation: 'horizontal',
76
+ size: 'sm',
77
+ class: 'h-1 flex-row',
78
+ },
79
+ {
80
+ orientation: 'horizontal',
81
+ size: 'sm',
82
+ isReversed: true,
83
+ class: 'h-1 flex-row-reverse',
84
+ },
85
+ {
86
+ orientation: 'horizontal',
87
+ size: 'md',
88
+ class: 'h-1 flex-row',
89
+ },
90
+ {
91
+ orientation: 'horizontal',
92
+ size: 'md',
93
+ isReversed: true,
94
+ class: 'h-[5px] flex-row-reverse',
95
+ },
96
+ {
97
+ orientation: 'horizontal',
98
+ size: 'lg',
99
+ class: 'h-1.5 flex-row',
100
+ },
101
+ {
102
+ orientation: 'horizontal',
103
+ size: 'lg',
104
+ isReversed: true,
105
+ class: 'h-1.5 flex-row-reverse',
106
+ },
107
+ {
108
+ orientation: 'vertical',
109
+ size: 'sm',
110
+ class: 'w-1 flex-col-reverse',
111
+ },
112
+ {
113
+ orientation: 'vertical',
114
+ size: 'sm',
115
+ isReversed: true,
116
+ class: 'w-1 flex-col',
117
+ },
118
+ {
119
+ orientation: 'vertical',
120
+ size: 'md',
121
+ class: 'w-[5px] flex-col-reverse',
122
+ },
123
+ {
124
+ orientation: 'vertical',
125
+ size: 'md',
126
+ isReversed: true,
127
+ class: 'w-[5px] flex-col',
128
+ },
129
+ {
130
+ orientation: 'vertical',
131
+ size: 'lg',
132
+ class: 'w-1.5 flex-col-reverse',
133
+ },
134
+ {
135
+ orientation: 'vertical',
136
+ size: 'lg',
137
+ isReversed: true,
138
+ class: 'w-1.5 flex-col',
139
+ },
140
+ ],
141
+ });
142
+ const sliderFilledTrackStyle = tva({
143
+ base: 'bg-primary-500 data-[focus=true]:bg-primary-600 data-[active=true]:bg-primary-600 data-[hover=true]:bg-primary-600',
144
+ parentVariants: {
145
+ orientation: {
146
+ horizontal: 'h-full',
147
+ vertical: 'w-full',
148
+ },
149
+ },
150
+ });
151
+ const Slider = React.forwardRef(({ className, size = 'md', orientation = 'horizontal', isReversed = false, ...props }, ref) => {
152
+ return (React.createElement(UISlider, { ref: ref, isReversed: isReversed, orientation: orientation, ...props, className: sliderStyle({
153
+ orientation,
154
+ isReversed,
155
+ class: className,
156
+ }), context: { size, orientation, isReversed } }));
157
+ });
158
+ const SliderThumb = React.forwardRef(({ className, size, ...props }, ref) => {
159
+ const { size: parentSize } = useStyleContext(SCOPE);
160
+ return (React.createElement(UISlider.Thumb, { ref: ref, ...props, className: sliderThumbStyle({
161
+ parentVariants: {
162
+ size: parentSize,
163
+ },
164
+ size,
165
+ class: className,
166
+ }) }));
167
+ });
168
+ const SliderTrack = React.forwardRef(({ className, ...props }, ref) => {
169
+ const { orientation: parentOrientation, size: parentSize, isReversed } = useStyleContext(SCOPE);
170
+ return (React.createElement(UISlider.Track, { ref: ref, ...props, className: sliderTrackStyle({
171
+ parentVariants: {
172
+ orientation: parentOrientation,
173
+ size: parentSize,
174
+ isReversed,
175
+ },
176
+ class: className,
177
+ }) }));
178
+ });
179
+ const SliderFilledTrack = React.forwardRef(({ className, ...props }, ref) => {
180
+ const { orientation: parentOrientation } = useStyleContext(SCOPE);
181
+ return (React.createElement(UISlider.FilledTrack, { ref: ref, ...props, className: sliderFilledTrackStyle({
182
+ parentVariants: {
183
+ orientation: parentOrientation,
184
+ },
185
+ class: className,
186
+ }) }));
187
+ });
188
+ export { Slider, SliderThumb, SliderTrack, SliderFilledTrack };
189
+ //# sourceMappingURL=index.web.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.web.js","sourceRoot":"","sources":["../../../../src/components/ui/slider/index.web.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AACb,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,MAAM,oCAAoC,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,iDAAiD,CAAC;AAIpG,MAAM,KAAK,GAAG,QAAQ,CAAC;AAEvB,mCAAmC;AACnC,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,CAAkD,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,CAAC,CACjG,6BAAK,GAAG,EAAE,GAAG,KAAM,KAAK,GAAI,CAC/B,CAAC,CAAC;AAEH,MAAM,WAAW,GAAG,KAAK,CAAC,UAAU,CAAkD,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,CAAC,CAClG,6BAAK,GAAG,EAAE,GAAG,KAAM,KAAK,GAAI,CAC/B,CAAC,CAAC;AAEH,MAAM,WAAW,GAAG,KAAK,CAAC,UAAU,CAAkD,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,CAAC,CAClG,6BAAK,GAAG,EAAE,GAAG,KAAM,KAAK,GAAI,CAC/B,CAAC,CAAC;AAEH,MAAM,iBAAiB,GAAG,KAAK,CAAC,UAAU,CAAkD,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,CAAC,CACxG,6B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