@admin-layout/gluestack-ui-mobile 11.0.4-alpha.4 → 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.
- package/CHANGELOG.md +63 -13
- package/lib/components/AuthWrapper.js +5 -3
- package/lib/components/AuthWrapper.js.map +1 -1
- package/lib/components/WithConfiguration.js +1 -1
- package/lib/components/WithConfiguration.js.map +1 -1
- 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/containers/layout/DrawerBottomNavigationConfig.d.ts +47 -47
- package/lib/containers/layout/DrawerConfig.d.ts +31 -31
- package/lib/interfaces/settings.d.ts +1 -0
- package/lib/redux/settings.d.ts +4 -9
- package/lib/utils/generateMobileNavigations.js +8 -8
- package/lib/utils/generateMobileNavigations.js.map +1 -1
- package/package.json +8 -4
- package/src/components/AuthWrapper.tsx +6 -3
- package/src/components/WithConfiguration.tsx +1 -1
- 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
- package/src/interfaces/settings.ts +1 -0
- package/src/utils/generateMobileNavigations.ts +23 -23
package/CHANGELOG.md
CHANGED
|
@@ -3,25 +3,75 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [
|
|
6
|
+
## [12.0.16-alpha.0](https://github.com/CDEBase/admin-layout/compare/v10.1.1-alpha.29...v12.0.16-alpha.0) (2025-07-30)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
9
9
|
|
|
10
|
+
## [10.1.1-alpha.28](https://github.com/CDEBase/admin-layout/compare/v10.1.1-alpha.27...v10.1.1-alpha.28) (2025-07-22)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
13
|
+
|
|
14
|
+
## [10.1.1-alpha.27](https://github.com/CDEBase/admin-layout/compare/v10.1.1-alpha.26...v10.1.1-alpha.27) (2025-07-21)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
17
|
+
|
|
18
|
+
## [10.1.1-alpha.25](https://github.com/CDEBase/admin-layout/compare/v10.1.1-alpha.24...v10.1.1-alpha.25) (2025-07-18)
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
21
|
+
|
|
22
|
+
## [10.1.1-alpha.24](https://github.com/CDEBase/admin-layout/compare/v10.1.1-alpha.23...v10.1.1-alpha.24) (2025-07-18)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
25
|
+
|
|
26
|
+
## [10.1.1-alpha.23](https://github.com/CDEBase/admin-layout/compare/v10.1.1-alpha.22...v10.1.1-alpha.23) (2025-07-18)
|
|
27
|
+
|
|
28
|
+
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
29
|
+
|
|
30
|
+
## [10.1.1-alpha.21](https://github.com/CDEBase/admin-layout/compare/v10.1.1-alpha.20...v10.1.1-alpha.21) (2025-07-04)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
33
|
+
|
|
34
|
+
## [10.1.1-alpha.14](https://github.com/CDEBase/admin-layout/compare/v10.1.1-alpha.13...v10.1.1-alpha.14) (2025-06-16)
|
|
35
|
+
|
|
36
|
+
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
37
|
+
|
|
38
|
+
## [10.1.1-alpha.12](https://github.com/CDEBase/admin-layout/compare/v10.1.1-alpha.11...v10.1.1-alpha.12) (2025-06-16)
|
|
39
|
+
|
|
40
|
+
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
41
|
+
|
|
42
|
+
## [10.1.1-alpha.11](https://github.com/CDEBase/admin-layout/compare/v10.1.1-alpha.10...v10.1.1-alpha.11) (2025-06-13)
|
|
43
|
+
|
|
44
|
+
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
45
|
+
|
|
46
|
+
## [10.1.1-alpha.10](https://github.com/CDEBase/admin-layout/compare/v10.1.1-alpha.9...v10.1.1-alpha.10) (2025-06-11)
|
|
47
|
+
|
|
48
|
+
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
49
|
+
|
|
50
|
+
## [10.1.1-alpha.9](https://github.com/CDEBase/admin-layout/compare/v10.1.1-alpha.8...v10.1.1-alpha.9) (2025-06-11)
|
|
51
|
+
|
|
52
|
+
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
53
|
+
|
|
54
|
+
## [10.1.1-alpha.8](https://github.com/CDEBase/admin-layout/compare/v10.1.1-alpha.7...v10.1.1-alpha.8) (2025-06-10)
|
|
55
|
+
|
|
56
|
+
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
57
|
+
|
|
58
|
+
## [10.1.1-alpha.0](https://github.com/CDEBase/admin-layout/compare/v10.0.8-alpha.2...v10.1.1-alpha.0) (2025-05-22)
|
|
59
|
+
|
|
10
60
|
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
11
61
|
|
|
12
|
-
## [
|
|
62
|
+
## [10.0.8-alpha.2](https://github.com/CDEBase/admin-layout/compare/v10.0.8-alpha.1...v10.0.8-alpha.2) (2025-04-11)
|
|
13
63
|
|
|
14
64
|
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
15
65
|
|
|
16
|
-
## [
|
|
66
|
+
## [10.0.8-alpha.0](https://github.com/CDEBase/admin-layout/compare/v3.0.0-alpha.50...v10.0.8-alpha.0) (2025-04-11)
|
|
17
67
|
|
|
18
68
|
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
19
69
|
|
|
20
|
-
## [
|
|
70
|
+
## [10.0.6-alpha.0](https://github.com/CDEBase/admin-layout/compare/v3.0.0-alpha.50...v10.0.6-alpha.0) (2025-04-11)
|
|
21
71
|
|
|
22
72
|
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
23
73
|
|
|
24
|
-
## [
|
|
74
|
+
## [10.0.4-alpha.0](https://github.com/CDEBase/admin-layout/compare/v3.0.0-alpha.50...v10.0.4-alpha.0) (2025-04-11)
|
|
25
75
|
|
|
26
76
|
**Note:** Version bump only for package @admin-layout/gluestack-ui-mobile
|
|
27
77
|
|
|
@@ -41,7 +91,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
41
91
|
|
|
42
92
|
### Bug Fixes
|
|
43
93
|
|
|
44
|
-
-
|
|
94
|
+
- refactored app error handler for mobile ([556ba7c](https://github.com/CDEBase/admin-layout/commit/556ba7c8452c50cc0dc6e3a1552aea6523e77d7c))
|
|
45
95
|
|
|
46
96
|
# [3.0.0-alpha.44](https://github.com/CDEBase/admin-layout/compare/v3.0.0-alpha.43...v3.0.0-alpha.44) (2023-02-04)
|
|
47
97
|
|
|
@@ -55,7 +105,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
55
105
|
|
|
56
106
|
### Bug Fixes
|
|
57
107
|
|
|
58
|
-
-
|
|
108
|
+
- trigger locationchange epic only on route change ([098a3d0](https://github.com/cdmbase/admin-layout/commit/098a3d092d562642c6adc7d20af1c8b7bfb9033d))
|
|
59
109
|
|
|
60
110
|
# [3.0.0-alpha.40](https://github.com/CDEBase/admin-layout/compare/v3.0.0-alpha.39...v3.0.0-alpha.40) (2023-01-26)
|
|
61
111
|
|
|
@@ -113,8 +163,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
113
163
|
|
|
114
164
|
### Bug Fixes
|
|
115
165
|
|
|
116
|
-
-
|
|
117
|
-
-
|
|
166
|
+
- added toast for mobile ([ca38f5c](https://github.com/cdebase/admin-layout/commit/ca38f5c2c5ba16d3e512ad690bb80257d511c74a))
|
|
167
|
+
- issue with toast for react navigation ([f2397cc](https://github.com/cdebase/admin-layout/commit/f2397cc433c1627e3af7ecc31ff949606bc9eac1))
|
|
118
168
|
|
|
119
169
|
# [3.0.0-alpha.3](https://github.com/cdmbase/admin-layout/compare/v3.0.0-alpha.2...v3.0.0-alpha.3) (2022-11-22)
|
|
120
170
|
|
|
@@ -124,12 +174,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
124
174
|
|
|
125
175
|
### Bug Fixes
|
|
126
176
|
|
|
127
|
-
-
|
|
128
|
-
-
|
|
177
|
+
- added toast for mobile ([ca38f5c](https://github.com/cdmbase/admin-layout/commit/ca38f5c2c5ba16d3e512ad690bb80257d511c74a))
|
|
178
|
+
- issue with toast for react navigation ([f2397cc](https://github.com/cdmbase/admin-layout/commit/f2397cc433c1627e3af7ecc31ff949606bc9eac1))
|
|
129
179
|
|
|
130
180
|
# 3.0.0-alpha.0 (2022-11-09)
|
|
131
181
|
|
|
132
182
|
### Bug Fixes
|
|
133
183
|
|
|
134
|
-
-
|
|
135
|
-
-
|
|
184
|
+
- added toast for mobile ([ca38f5c](https://github.com/cdmbase/admin-layout/commit/ca38f5c2c5ba16d3e512ad690bb80257d511c74a))
|
|
185
|
+
- issue with toast for react navigation ([f2397cc](https://github.com/cdmbase/admin-layout/commit/f2397cc433c1627e3af7ecc31ff949606bc9eac1))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { isUserAuthenticated } from '@adminide-stack/user-auth0-client';
|
|
3
|
-
import { useNavigation } from '@react-navigation/native';
|
|
3
|
+
import { useNavigation, useRoute } from '@react-navigation/native';
|
|
4
4
|
import { useSelector } from 'react-redux';
|
|
5
5
|
import DefaultAuthComponent from './UnAuthenticatedComponent';
|
|
6
6
|
import { withLifeCycleManaged, withInteractionsManaged, withLifeCycleInteractionsManaged, } from './with-interactions-lifecycle-managed';
|
|
@@ -8,10 +8,12 @@ export const AuthWrapper = ({ auth = false, component, unauthenticatedComponent
|
|
|
8
8
|
const user = useSelector((state) => state.user);
|
|
9
9
|
const { authenticated } = isUserAuthenticated();
|
|
10
10
|
const navigation = useNavigation();
|
|
11
|
+
const route = useRoute();
|
|
11
12
|
React.useEffect(() => {
|
|
12
|
-
if (auth && !user?.profile)
|
|
13
|
+
if ((auth === true || route?.params?.auth === true) && !user?.profile) {
|
|
13
14
|
navigation.navigate('MainStack.Login');
|
|
14
|
-
|
|
15
|
+
}
|
|
16
|
+
}, [auth, route.params.auth]);
|
|
15
17
|
const wrapperComponent = withLifeCycle
|
|
16
18
|
? withLifeCycleManaged(component, authority)
|
|
17
19
|
: withInteraction
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthWrapper.js","sourceRoot":"","sources":["../../src/components/AuthWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"AuthWrapper.js","sourceRoot":"","sources":["../../src/components/AuthWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;A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AAI,EAAE,SAAS,CAAC;YAClF,CAAC,CAAC,wBAAwB;gBAC1B,CAAC,CAAC,gCAAgC,CAAC,SAAS,EAAE,wBAAwB,EAAE,QAAQ,IAAI,IAAI,EAAE,SAAS,CAAC;gBACpG,CAAC,CAAC,SAAS,CAAC;IAEhB,IAAI,IAAI,IAAI,CAAC,IAAI,EAAE,OAAO;QAAE,OAAO,wBAAwB,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,oBAAC,oBAAoB,OAAG,CAAC;;QAC7G,OAAO,gBAAgB,CAAC;AACjC,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC"}
|
|
@@ -11,7 +11,7 @@ export const WithConfiguration = (props) => {
|
|
|
11
11
|
});
|
|
12
12
|
// const { data: permissions, loading: permissionLoading } = usePermissionAutoFetch();
|
|
13
13
|
const { permissions, loading: permissionLoading } = usePermissionAutoFetch();
|
|
14
|
-
const isPrivate = React.useMemo(() => Visibility.Private === config
|
|
14
|
+
const isPrivate = React.useMemo(() => Visibility.Private === config, [config]);
|
|
15
15
|
const hasPermission = React.useMemo(() => {
|
|
16
16
|
if (isPrivate && permissions && Array.isArray(permissionKeys)) {
|
|
17
17
|
return permissionKeys.some((key) => permissionTypes.includes(get(permissions?.resolveConfiguration, key)));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WithConfiguration.js","sourceRoot":"","sources":["../../src/components/WithConfiguration.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAgC,cAAc,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAElF,OAAO,EAAE,UAAU,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACrF,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAEhC,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CA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AAG,CAAQ,CACnG,CACT,CAAC;IACN,CAAC;IACD,OAAO,CACH,oBAAC,GAAG;QACA,oBAAC,OAAO,QAAE,WAAW,YAAY,IAAI,UAAU,EAAE,CAAW;QAC5D,oBAAC,IAAI,QAAE,oCAAoC,YAAY,IAAI,UAAU,GAAG,CAAQ,CAC9E,CACT,CAAC;AACN,CAAC,CAAC;AAEF,iBAAiB,CAAC,YAAY,GAAG;IAC7B,eAAe,EAAE,CAAC,cAAc,CAAC,KAAK,CAAC;CAC1C,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,KAA8B,EAAE,EAAE,CAAC,oBAAC,iBAAiB,OAAK,KAAK,GAAI,CAAC"}
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { VariantProps } from '@gluestack-ui/nativewind-utils';
|
|
3
|
+
/** Styles */
|
|
4
|
+
declare const accordionStyle: import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
|
|
5
|
+
variant: {
|
|
6
|
+
filled: string;
|
|
7
|
+
unfilled: string;
|
|
8
|
+
};
|
|
9
|
+
size: {
|
|
10
|
+
sm: string;
|
|
11
|
+
md: string;
|
|
12
|
+
lg: string;
|
|
13
|
+
};
|
|
14
|
+
} | ({
|
|
15
|
+
variant: {
|
|
16
|
+
filled: string;
|
|
17
|
+
unfilled: string;
|
|
18
|
+
};
|
|
19
|
+
size: {
|
|
20
|
+
sm: string;
|
|
21
|
+
md: string;
|
|
22
|
+
lg: string;
|
|
23
|
+
};
|
|
24
|
+
} & {
|
|
25
|
+
variant: {
|
|
26
|
+
filled: import("tailwind-merge").ClassNameValue | {
|
|
27
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
28
|
+
};
|
|
29
|
+
unfilled: import("tailwind-merge").ClassNameValue | {
|
|
30
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
size: {
|
|
34
|
+
sm: import("tailwind-merge").ClassNameValue | {
|
|
35
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
36
|
+
};
|
|
37
|
+
md: import("tailwind-merge").ClassNameValue | {
|
|
38
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
39
|
+
};
|
|
40
|
+
lg: import("tailwind-merge").ClassNameValue | {
|
|
41
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
}), undefined, "w-full", import("tailwind-variants/dist/config").TVConfig<{
|
|
45
|
+
variant: {
|
|
46
|
+
filled: string;
|
|
47
|
+
unfilled: string;
|
|
48
|
+
};
|
|
49
|
+
size: {
|
|
50
|
+
sm: string;
|
|
51
|
+
md: string;
|
|
52
|
+
lg: string;
|
|
53
|
+
};
|
|
54
|
+
}, {
|
|
55
|
+
variant: {
|
|
56
|
+
filled: string;
|
|
57
|
+
unfilled: string;
|
|
58
|
+
};
|
|
59
|
+
size: {
|
|
60
|
+
sm: string;
|
|
61
|
+
md: string;
|
|
62
|
+
lg: string;
|
|
63
|
+
};
|
|
64
|
+
}>, {
|
|
65
|
+
variant: {
|
|
66
|
+
filled: string;
|
|
67
|
+
unfilled: string;
|
|
68
|
+
};
|
|
69
|
+
size: {
|
|
70
|
+
sm: string;
|
|
71
|
+
md: string;
|
|
72
|
+
lg: string;
|
|
73
|
+
};
|
|
74
|
+
}, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
|
|
75
|
+
variant: {
|
|
76
|
+
filled: string;
|
|
77
|
+
unfilled: string;
|
|
78
|
+
};
|
|
79
|
+
size: {
|
|
80
|
+
sm: string;
|
|
81
|
+
md: string;
|
|
82
|
+
lg: string;
|
|
83
|
+
};
|
|
84
|
+
}, undefined, "w-full", import("tailwind-variants/dist/config").TVConfig<{
|
|
85
|
+
variant: {
|
|
86
|
+
filled: string;
|
|
87
|
+
unfilled: string;
|
|
88
|
+
};
|
|
89
|
+
size: {
|
|
90
|
+
sm: string;
|
|
91
|
+
md: string;
|
|
92
|
+
lg: string;
|
|
93
|
+
};
|
|
94
|
+
}, {
|
|
95
|
+
variant: {
|
|
96
|
+
filled: string;
|
|
97
|
+
unfilled: string;
|
|
98
|
+
};
|
|
99
|
+
size: {
|
|
100
|
+
sm: string;
|
|
101
|
+
md: string;
|
|
102
|
+
lg: string;
|
|
103
|
+
};
|
|
104
|
+
}>, unknown, unknown, undefined>>;
|
|
105
|
+
declare const accordionItemStyle: import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
|
|
106
|
+
variant: {
|
|
107
|
+
filled: string;
|
|
108
|
+
unfilled: string;
|
|
109
|
+
};
|
|
110
|
+
} | ({} & {
|
|
111
|
+
variant: {
|
|
112
|
+
filled: string;
|
|
113
|
+
unfilled: string;
|
|
114
|
+
};
|
|
115
|
+
}), 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>>;
|
|
116
|
+
declare const accordionTitleTextStyle: import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
|
|
117
|
+
size: {
|
|
118
|
+
sm: string;
|
|
119
|
+
md: string;
|
|
120
|
+
lg: string;
|
|
121
|
+
};
|
|
122
|
+
} | ({} & {
|
|
123
|
+
size: {
|
|
124
|
+
sm: string;
|
|
125
|
+
md: string;
|
|
126
|
+
lg: string;
|
|
127
|
+
};
|
|
128
|
+
}), undefined, "text-typography-900 font-bold flex-1 text-left", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<unknown, undefined, "text-typography-900 font-bold flex-1 text-left", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, unknown, undefined>>;
|
|
129
|
+
declare const accordionIconStyle: import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
|
|
130
|
+
size: {
|
|
131
|
+
'2xs': string;
|
|
132
|
+
xs: string;
|
|
133
|
+
sm: string;
|
|
134
|
+
md: string;
|
|
135
|
+
lg: string;
|
|
136
|
+
xl: string;
|
|
137
|
+
};
|
|
138
|
+
} | ({} & {
|
|
139
|
+
size: {
|
|
140
|
+
'2xs': string;
|
|
141
|
+
xs: string;
|
|
142
|
+
sm: string;
|
|
143
|
+
md: string;
|
|
144
|
+
lg: string;
|
|
145
|
+
xl: string;
|
|
146
|
+
};
|
|
147
|
+
}), undefined, "text-typography-900 fill-none", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<unknown, undefined, "text-typography-900 fill-none", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, unknown, undefined>>;
|
|
148
|
+
declare const accordionContentTextStyle: import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
|
|
149
|
+
size: {
|
|
150
|
+
sm: string;
|
|
151
|
+
md: string;
|
|
152
|
+
lg: string;
|
|
153
|
+
};
|
|
154
|
+
} | ({} & {
|
|
155
|
+
size: {
|
|
156
|
+
sm: string;
|
|
157
|
+
md: string;
|
|
158
|
+
lg: string;
|
|
159
|
+
};
|
|
160
|
+
}), undefined, "text-typography-700 font-normal", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<unknown, undefined, "text-typography-700 font-normal", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, unknown, undefined>>;
|
|
161
|
+
declare const accordionHeaderStyle: import("@gluestack-ui/nativewind-utils/types").TVReturnType<{} | {}, undefined, "mx-0 my-0", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<unknown, undefined, "mx-0 my-0", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, unknown, undefined>>;
|
|
162
|
+
declare const accordionContentStyle: import("@gluestack-ui/nativewind-utils/types").TVReturnType<{} | {}, undefined, "pt-1 pb-3 px-4", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<unknown, undefined, "pt-1 pb-3 px-4", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, unknown, undefined>>;
|
|
163
|
+
declare const accordionTriggerStyle: import("@gluestack-ui/nativewind-utils/types").TVReturnType<{} | {}, undefined, "w-full flex-row justify-between items-center outline-none focus:outline-none data-[disabled=true]:opacity-40 data-[disabled=true]:cursor-not-allowed data-[focus-visible=true]:bg-background-50 py-3 px-4", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<unknown, undefined, "w-full flex-row justify-between items-center outline-none focus:outline-none data-[disabled=true]:opacity-40 data-[disabled=true]:cursor-not-allowed data-[focus-visible=true]:bg-background-50 py-3 px-4", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, unknown, undefined>>;
|
|
164
|
+
/** Creator */
|
|
165
|
+
declare const UIAccordion: import("@gluestack-ui/accordion/lib/types").IAccordionComponentType<Omit<any, "ref"> & {
|
|
166
|
+
context?: any;
|
|
167
|
+
} & React.RefAttributes<any>, Omit<any, "ref"> & React.RefAttributes<unknown>, Omit<any, "ref"> & React.RefAttributes<unknown>, Omit<any, "ref"> & React.RefAttributes<unknown>, Omit<any, "ref"> & React.RefAttributes<unknown>, import("@gluestack-ui/icon/lib/createIcon").IIconProps & (((import("@gluestack-ui/icon").IPrimitiveIcon & React.RefAttributes<import("@gluestack-ui/icon").Svg>) | {
|
|
168
|
+
fill?: import("react-native").ColorValue;
|
|
169
|
+
stroke?: import("react-native").ColorValue;
|
|
170
|
+
}) & React.RefAttributes<(import("@gluestack-ui/icon").IPrimitiveIcon & React.RefAttributes<import("@gluestack-ui/icon").Svg>) | {
|
|
171
|
+
fill?: import("react-native").ColorValue;
|
|
172
|
+
stroke?: import("react-native").ColorValue;
|
|
173
|
+
}>), Omit<any, "ref"> & React.RefAttributes<unknown>, Omit<any, "ref"> & React.RefAttributes<unknown>>;
|
|
174
|
+
type StyleContextType = {
|
|
175
|
+
variant?: 'filled' | 'unfilled';
|
|
176
|
+
size?: 'sm' | 'md' | 'lg';
|
|
177
|
+
};
|
|
178
|
+
type IAccordionProps = React.ComponentPropsWithoutRef<typeof UIAccordion> & VariantProps<typeof accordionStyle> & {
|
|
179
|
+
context?: StyleContextType;
|
|
180
|
+
};
|
|
181
|
+
type IAccordionItemProps = React.ComponentPropsWithoutRef<typeof UIAccordion.Item> & VariantProps<typeof accordionItemStyle>;
|
|
182
|
+
type IAccordionContentProps = React.ComponentPropsWithoutRef<typeof UIAccordion.Content> & VariantProps<typeof accordionContentStyle>;
|
|
183
|
+
type IAccordionContentTextProps = React.ComponentPropsWithoutRef<typeof UIAccordion.ContentText> & VariantProps<typeof accordionContentTextStyle>;
|
|
184
|
+
type IAccordionIconProps = VariantProps<typeof accordionIconStyle> & React.ComponentPropsWithoutRef<typeof UIAccordion.Icon> & {
|
|
185
|
+
as?: React.ElementType;
|
|
186
|
+
height?: number;
|
|
187
|
+
width?: number;
|
|
188
|
+
};
|
|
189
|
+
type IAccordionHeaderProps = React.ComponentPropsWithoutRef<typeof UIAccordion.Header> & VariantProps<typeof accordionHeaderStyle>;
|
|
190
|
+
type IAccordionTriggerProps = React.ComponentPropsWithoutRef<typeof UIAccordion.Trigger> & VariantProps<typeof accordionTriggerStyle>;
|
|
191
|
+
type IAccordionTitleTextProps = React.ComponentPropsWithoutRef<typeof UIAccordion.TitleText> & VariantProps<typeof accordionTitleTextStyle>;
|
|
192
|
+
/** Components */
|
|
193
|
+
declare const Accordion: React.ForwardRefExoticComponent<Omit<IAccordionProps, "ref"> & React.RefAttributes<Omit<any, "ref"> & {
|
|
194
|
+
context?: any;
|
|
195
|
+
} & React.RefAttributes<any>>>;
|
|
196
|
+
declare const AccordionItem: React.ForwardRefExoticComponent<Omit<IAccordionItemProps, "ref"> & React.RefAttributes<Omit<any, "ref"> & React.RefAttributes<unknown>>>;
|
|
197
|
+
declare const AccordionContent: React.ForwardRefExoticComponent<Omit<IAccordionContentProps, "ref"> & React.RefAttributes<Omit<any, "ref"> & React.RefAttributes<unknown>>>;
|
|
198
|
+
declare const AccordionContentText: React.ForwardRefExoticComponent<Omit<IAccordionContentTextProps, "ref"> & React.RefAttributes<Omit<any, "ref"> & React.RefAttributes<unknown>>>;
|
|
199
|
+
declare const AccordionIcon: React.ForwardRefExoticComponent<IAccordionIconProps & React.RefAttributes<import("@gluestack-ui/icon/lib/createIcon").IIconProps & (((import("@gluestack-ui/icon").IPrimitiveIcon & React.RefAttributes<import("@gluestack-ui/icon").Svg>) | {
|
|
200
|
+
fill?: import("react-native").ColorValue;
|
|
201
|
+
stroke?: import("react-native").ColorValue;
|
|
202
|
+
}) & React.RefAttributes<(import("@gluestack-ui/icon").IPrimitiveIcon & React.RefAttributes<import("@gluestack-ui/icon").Svg>) | {
|
|
203
|
+
fill?: import("react-native").ColorValue;
|
|
204
|
+
stroke?: import("react-native").ColorValue;
|
|
205
|
+
}>)>>;
|
|
206
|
+
declare const AccordionHeader: React.ForwardRefExoticComponent<Omit<IAccordionHeaderProps, "ref"> & React.RefAttributes<Omit<any, "ref"> & React.RefAttributes<unknown>>>;
|
|
207
|
+
declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<IAccordionTriggerProps, "ref"> & React.RefAttributes<Omit<any, "ref"> & React.RefAttributes<unknown>>>;
|
|
208
|
+
declare const AccordionTitleText: React.ForwardRefExoticComponent<Omit<IAccordionTitleTextProps, "ref"> & React.RefAttributes<Omit<any, "ref"> & React.RefAttributes<unknown>>>;
|
|
209
|
+
export { Accordion, AccordionItem, AccordionHeader, AccordionTrigger, AccordionTitleText, AccordionContentText, AccordionIcon, AccordionContent, };
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { createAccordion } from '@gluestack-ui/accordion';
|
|
4
|
+
import { tva } from '@gluestack-ui/nativewind-utils/tva';
|
|
5
|
+
import { withStyleContext, useStyleContext } from '@gluestack-ui/nativewind-utils/withStyleContext';
|
|
6
|
+
import { UIIcon } from '@gluestack-ui/icon';
|
|
7
|
+
const SCOPE = 'ACCORDION';
|
|
8
|
+
/** Styles */
|
|
9
|
+
const accordionStyle = tva({
|
|
10
|
+
base: 'w-full',
|
|
11
|
+
variants: {
|
|
12
|
+
variant: {
|
|
13
|
+
filled: 'bg-white shadow-hard-2',
|
|
14
|
+
unfilled: '',
|
|
15
|
+
},
|
|
16
|
+
size: {
|
|
17
|
+
sm: '',
|
|
18
|
+
md: '',
|
|
19
|
+
lg: '',
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
});
|
|
23
|
+
const accordionItemStyle = tva({
|
|
24
|
+
base: '',
|
|
25
|
+
parentVariants: {
|
|
26
|
+
variant: {
|
|
27
|
+
filled: 'bg-background-0',
|
|
28
|
+
unfilled: 'bg-transparent',
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
});
|
|
32
|
+
const accordionTitleTextStyle = tva({
|
|
33
|
+
base: 'text-typography-900 font-bold flex-1 text-left',
|
|
34
|
+
parentVariants: {
|
|
35
|
+
size: {
|
|
36
|
+
sm: 'text-sm',
|
|
37
|
+
md: 'text-base',
|
|
38
|
+
lg: 'text-lg',
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
});
|
|
42
|
+
const accordionIconStyle = tva({
|
|
43
|
+
base: 'text-typography-900 fill-none',
|
|
44
|
+
parentVariants: {
|
|
45
|
+
size: {
|
|
46
|
+
'2xs': 'h-3 w-3',
|
|
47
|
+
xs: 'h-3.5 w-3.5',
|
|
48
|
+
sm: 'h-4 w-4',
|
|
49
|
+
md: 'h-[18px] w-[18px]',
|
|
50
|
+
lg: 'h-5 w-5',
|
|
51
|
+
xl: 'h-6 w-6',
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
});
|
|
55
|
+
const accordionContentTextStyle = tva({
|
|
56
|
+
base: 'text-typography-700 font-normal',
|
|
57
|
+
parentVariants: {
|
|
58
|
+
size: {
|
|
59
|
+
sm: 'text-sm',
|
|
60
|
+
md: 'text-base',
|
|
61
|
+
lg: 'text-lg',
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
});
|
|
65
|
+
const accordionHeaderStyle = tva({
|
|
66
|
+
base: 'mx-0 my-0',
|
|
67
|
+
});
|
|
68
|
+
const accordionContentStyle = tva({
|
|
69
|
+
base: 'pt-1 pb-3 px-4',
|
|
70
|
+
});
|
|
71
|
+
const accordionTriggerStyle = tva({
|
|
72
|
+
base: 'w-full flex-row justify-between items-center outline-none focus:outline-none data-[disabled=true]:opacity-40 data-[disabled=true]:cursor-not-allowed data-[focus-visible=true]:bg-background-50 py-3 px-4',
|
|
73
|
+
});
|
|
74
|
+
// Create web-specific components
|
|
75
|
+
const RootComponent = withStyleContext('div', SCOPE);
|
|
76
|
+
const ItemComponent = React.forwardRef((props, ref) => React.createElement("div", { ...props, ref: ref }));
|
|
77
|
+
const HeaderComponent = React.forwardRef((props, ref) => React.createElement("h3", { ...props, ref: ref }));
|
|
78
|
+
const TriggerComponent = React.forwardRef((props, ref) => React.createElement("button", { ...props, ref: ref }));
|
|
79
|
+
const TitleTextComponent = React.forwardRef((props, ref) => React.createElement("span", { ...props, ref: ref }));
|
|
80
|
+
const ContentTextComponent = React.forwardRef((props, ref) => React.createElement("p", { ...props, ref: ref }));
|
|
81
|
+
const ContentComponent = React.forwardRef((props, ref) => React.createElement("div", { ...props, ref: ref }));
|
|
82
|
+
/** Creator */
|
|
83
|
+
const UIAccordion = createAccordion({
|
|
84
|
+
Root: RootComponent,
|
|
85
|
+
Item: ItemComponent,
|
|
86
|
+
Header: HeaderComponent,
|
|
87
|
+
Trigger: TriggerComponent,
|
|
88
|
+
Icon: UIIcon,
|
|
89
|
+
TitleText: TitleTextComponent,
|
|
90
|
+
ContentText: ContentTextComponent,
|
|
91
|
+
Content: ContentComponent,
|
|
92
|
+
});
|
|
93
|
+
/** Components */
|
|
94
|
+
const Accordion = React.forwardRef(({ className, variant = 'filled', size = 'md', ...props }, ref) => {
|
|
95
|
+
return (React.createElement(UIAccordion, { ref: ref, ...props, className: accordionStyle({ variant, class: className }), context: { variant, size } }));
|
|
96
|
+
});
|
|
97
|
+
const AccordionItem = React.forwardRef(({ className, ...props }, ref) => {
|
|
98
|
+
const { variant } = useStyleContext(SCOPE);
|
|
99
|
+
return (React.createElement(UIAccordion.Item, { ref: ref, ...props, className: accordionItemStyle({
|
|
100
|
+
parentVariants: { variant },
|
|
101
|
+
class: className,
|
|
102
|
+
}) }));
|
|
103
|
+
});
|
|
104
|
+
const AccordionContent = React.forwardRef(({ className, ...props }, ref) => {
|
|
105
|
+
return (React.createElement(UIAccordion.Content, { ref: ref, ...props, className: accordionContentStyle({
|
|
106
|
+
class: className,
|
|
107
|
+
}) }));
|
|
108
|
+
});
|
|
109
|
+
const AccordionContentText = React.forwardRef(({ className, ...props }, ref) => {
|
|
110
|
+
const { size } = useStyleContext(SCOPE);
|
|
111
|
+
return (React.createElement(UIAccordion.ContentText, { ref: ref, ...props, className: accordionContentTextStyle({
|
|
112
|
+
parentVariants: { size },
|
|
113
|
+
class: className,
|
|
114
|
+
}) }));
|
|
115
|
+
});
|
|
116
|
+
const AccordionIcon = React.forwardRef(({ size, className, ...props }, ref) => {
|
|
117
|
+
const { size: parentSize } = useStyleContext(SCOPE);
|
|
118
|
+
if (typeof size === 'number') {
|
|
119
|
+
return (React.createElement(UIAccordion.Icon, { ref: ref, ...props, className: accordionIconStyle({ class: className }), size: size }));
|
|
120
|
+
}
|
|
121
|
+
else if ((props.height !== undefined || props.width !== undefined) && size === undefined) {
|
|
122
|
+
return React.createElement(UIAccordion.Icon, { ref: ref, ...props, className: accordionIconStyle({ class: className }) });
|
|
123
|
+
}
|
|
124
|
+
return (React.createElement(UIAccordion.Icon, { ref: ref, ...props, className: accordionIconStyle({
|
|
125
|
+
size,
|
|
126
|
+
class: className,
|
|
127
|
+
parentVariants: { size: parentSize },
|
|
128
|
+
}) }));
|
|
129
|
+
});
|
|
130
|
+
const AccordionHeader = React.forwardRef(({ className, ...props }, ref) => {
|
|
131
|
+
return (React.createElement(UIAccordion.Header, { ref: ref, ...props, className: accordionHeaderStyle({
|
|
132
|
+
class: className,
|
|
133
|
+
}) }));
|
|
134
|
+
});
|
|
135
|
+
const AccordionTrigger = React.forwardRef(({ className, ...props }, ref) => {
|
|
136
|
+
return (React.createElement(UIAccordion.Trigger, { ref: ref, ...props, className: accordionTriggerStyle({
|
|
137
|
+
class: className,
|
|
138
|
+
}) }));
|
|
139
|
+
});
|
|
140
|
+
const AccordionTitleText = React.forwardRef(({ className, ...props }, ref) => {
|
|
141
|
+
const { size } = useStyleContext(SCOPE);
|
|
142
|
+
return (React.createElement(UIAccordion.TitleText, { ref: ref, ...props, className: accordionTitleTextStyle({
|
|
143
|
+
parentVariants: { size },
|
|
144
|
+
class: className,
|
|
145
|
+
}) }));
|
|
146
|
+
});
|
|
147
|
+
Accordion.displayName = 'Accordion';
|
|
148
|
+
AccordionItem.displayName = 'AccordionItem';
|
|
149
|
+
AccordionHeader.displayName = 'AccordionHeader';
|
|
150
|
+
AccordionTrigger.displayName = 'AccordionTrigger';
|
|
151
|
+
AccordionTitleText.displayName = 'AccordionTitleText';
|
|
152
|
+
AccordionContentText.displayName = 'AccordionContentText';
|
|
153
|
+
AccordionIcon.displayName = 'AccordionIcon';
|
|
154
|
+
AccordionContent.displayName = 'AccordionContent';
|
|
155
|
+
export { Accordion, AccordionItem, AccordionHeader, AccordionTrigger, AccordionTitleText, AccordionContentText, AccordionIcon, AccordionContent, };
|
|
156
|
+
//# sourceMappingURL=index.web.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.web.js","sourceRoot":"","sources":["../../../../src/components/ui/accordion/index.web.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AACb,OAAO,KAAK,MA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