@controleonline/ui-default 1.0.263 → 1.0.264
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/AGENTS.md +48 -47
- package/package.json +3 -6
- package/src/react/components/errors/DefaultErrors.js +360 -360
- package/src/react/components/files/DefaultFile.js +46 -46
- package/src/react/components/filters/CompactFilterSelector.js +22 -3
- package/src/react/components/filters/DefaultColumnFilter.js +15 -13
- package/src/react/components/filters/DefaultExternalFilters.js +44 -39
- package/src/react/components/filters/DefaultSearch.js +140 -103
- package/src/react/components/filters/DefaultSearch.styles.js +65 -70
- package/src/react/components/form/DefaultForm.js +200 -198
- package/src/react/components/help/DefaultTooltip.js +87 -87
- package/src/react/components/help/DefaultTooltip.styles.js +61 -61
- package/src/react/components/inputs/DefaultInput.js +162 -160
- package/src/react/components/inputs/DefaultSelect.js +203 -192
- package/src/react/components/map/DefaultGoogleMap.styles.js +115 -9
- package/src/react/components/map/DefaultGoogleMap.web.js +560 -446
- package/src/react/components/map/DefaultMap.native.js +73 -71
- package/src/react/components/map/DefaultMap.styles.js +16 -16
- package/src/react/components/map/DefaultMap.web.js +68 -66
- package/src/react/components/map/DefaultNativeMap.native.js +307 -183
- package/src/react/components/map/DefaultNativeMap.shared.js +439 -340
- package/src/react/components/map/DefaultNativeMap.styles.js +156 -122
- package/src/react/components/table/DefaultTable.js +529 -355
- package/src/react/components/table/DefaultTable.styles.js +30 -39
- package/src/react/index.js +10 -10
- package/src/tests/react/components/errors/DefaultErrors.test.js +162 -162
- package/src/tests/react/components/files/DefaultFile.test.js +80 -80
- package/src/tests/react/components/inputs/DefaultSelect.test.js +93 -0
- package/src/tests/react/components/table/DefaultTable.test.js +334 -0
|
@@ -1,122 +1,156 @@
|
|
|
1
|
-
import {StyleSheet} from 'react-native';
|
|
2
|
-
|
|
3
|
-
export default StyleSheet.create({
|
|
4
|
-
mapContainer: {
|
|
5
|
-
width: '100%',
|
|
6
|
-
height: '100%',
|
|
7
|
-
position: 'relative',
|
|
8
|
-
backgroundColor: '#E5EEF5',
|
|
9
|
-
},
|
|
10
|
-
mapViewport: {
|
|
11
|
-
width: '100%',
|
|
12
|
-
height: '100%',
|
|
13
|
-
},
|
|
14
|
-
mapOverlay: {
|
|
15
|
-
...StyleSheet.absoluteFillObject,
|
|
16
|
-
alignItems: 'center',
|
|
17
|
-
justifyContent: 'center',
|
|
18
|
-
paddingHorizontal: 24,
|
|
19
|
-
backgroundColor: 'rgba(248, 250, 252, 0.9)',
|
|
20
|
-
gap: 12,
|
|
21
|
-
},
|
|
22
|
-
mapOverlayText: {
|
|
23
|
-
fontSize: 14,
|
|
24
|
-
lineHeight: 20,
|
|
25
|
-
color: '#0F172A',
|
|
26
|
-
textAlign: 'center',
|
|
27
|
-
fontWeight: '600',
|
|
28
|
-
},
|
|
29
|
-
markerWrap: {
|
|
30
|
-
width: 44,
|
|
31
|
-
height: 44,
|
|
32
|
-
alignItems: 'center',
|
|
33
|
-
justifyContent: 'center',
|
|
34
|
-
},
|
|
35
|
-
markerIcon: {
|
|
36
|
-
width: 42,
|
|
37
|
-
height: 42,
|
|
38
|
-
},
|
|
39
|
-
calloutCard: {
|
|
40
|
-
minWidth: 228,
|
|
41
|
-
maxWidth: 288,
|
|
42
|
-
borderRadius: 18,
|
|
43
|
-
paddingHorizontal: 14,
|
|
44
|
-
paddingVertical: 14,
|
|
45
|
-
backgroundColor: '#FFFFFF',
|
|
46
|
-
shadowColor: '#0F172A',
|
|
47
|
-
shadowOpacity: 0.18,
|
|
48
|
-
shadowRadius: 16,
|
|
49
|
-
shadowOffset: {
|
|
50
|
-
width: 0,
|
|
51
|
-
height: 8,
|
|
52
|
-
},
|
|
53
|
-
elevation: 10,
|
|
54
|
-
},
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
},
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
},
|
|
84
|
-
|
|
85
|
-
fontSize:
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
color: '#
|
|
121
|
-
},
|
|
122
|
-
|
|
1
|
+
import {StyleSheet} from 'react-native';
|
|
2
|
+
|
|
3
|
+
export default StyleSheet.create({
|
|
4
|
+
mapContainer: {
|
|
5
|
+
width: '100%',
|
|
6
|
+
height: '100%',
|
|
7
|
+
position: 'relative',
|
|
8
|
+
backgroundColor: '#E5EEF5',
|
|
9
|
+
},
|
|
10
|
+
mapViewport: {
|
|
11
|
+
width: '100%',
|
|
12
|
+
height: '100%',
|
|
13
|
+
},
|
|
14
|
+
mapOverlay: {
|
|
15
|
+
...StyleSheet.absoluteFillObject,
|
|
16
|
+
alignItems: 'center',
|
|
17
|
+
justifyContent: 'center',
|
|
18
|
+
paddingHorizontal: 24,
|
|
19
|
+
backgroundColor: 'rgba(248, 250, 252, 0.9)',
|
|
20
|
+
gap: 12,
|
|
21
|
+
},
|
|
22
|
+
mapOverlayText: {
|
|
23
|
+
fontSize: 14,
|
|
24
|
+
lineHeight: 20,
|
|
25
|
+
color: '#0F172A',
|
|
26
|
+
textAlign: 'center',
|
|
27
|
+
fontWeight: '600',
|
|
28
|
+
},
|
|
29
|
+
markerWrap: {
|
|
30
|
+
width: 44,
|
|
31
|
+
height: 44,
|
|
32
|
+
alignItems: 'center',
|
|
33
|
+
justifyContent: 'center',
|
|
34
|
+
},
|
|
35
|
+
markerIcon: {
|
|
36
|
+
width: 42,
|
|
37
|
+
height: 42,
|
|
38
|
+
},
|
|
39
|
+
calloutCard: {
|
|
40
|
+
minWidth: 228,
|
|
41
|
+
maxWidth: 288,
|
|
42
|
+
borderRadius: 18,
|
|
43
|
+
paddingHorizontal: 14,
|
|
44
|
+
paddingVertical: 14,
|
|
45
|
+
backgroundColor: '#FFFFFF',
|
|
46
|
+
shadowColor: '#0F172A',
|
|
47
|
+
shadowOpacity: 0.18,
|
|
48
|
+
shadowRadius: 16,
|
|
49
|
+
shadowOffset: {
|
|
50
|
+
width: 0,
|
|
51
|
+
height: 8,
|
|
52
|
+
},
|
|
53
|
+
elevation: 10,
|
|
54
|
+
},
|
|
55
|
+
headerRow: {
|
|
56
|
+
flexDirection: 'row',
|
|
57
|
+
alignItems: 'center',
|
|
58
|
+
gap: 12,
|
|
59
|
+
marginBottom: 12,
|
|
60
|
+
},
|
|
61
|
+
logoWrap: {
|
|
62
|
+
width: 58,
|
|
63
|
+
height: 58,
|
|
64
|
+
borderRadius: 16,
|
|
65
|
+
borderWidth: 1,
|
|
66
|
+
overflow: 'hidden',
|
|
67
|
+
alignItems: 'center',
|
|
68
|
+
justifyContent: 'center',
|
|
69
|
+
flexShrink: 0,
|
|
70
|
+
},
|
|
71
|
+
logoImage: {
|
|
72
|
+
width: '100%',
|
|
73
|
+
height: '100%',
|
|
74
|
+
},
|
|
75
|
+
logoFallback: {
|
|
76
|
+
fontSize: 18,
|
|
77
|
+
fontWeight: '800',
|
|
78
|
+
letterSpacing: 0.8,
|
|
79
|
+
},
|
|
80
|
+
headerContent: {
|
|
81
|
+
flex: 1,
|
|
82
|
+
minWidth: 0,
|
|
83
|
+
},
|
|
84
|
+
companyName: {
|
|
85
|
+
fontSize: 11,
|
|
86
|
+
fontWeight: '700',
|
|
87
|
+
textTransform: 'uppercase',
|
|
88
|
+
letterSpacing: 0.6,
|
|
89
|
+
color: '#0369A1',
|
|
90
|
+
marginBottom: 6,
|
|
91
|
+
},
|
|
92
|
+
title: {
|
|
93
|
+
fontSize: 16,
|
|
94
|
+
fontWeight: '700',
|
|
95
|
+
color: '#0F172A',
|
|
96
|
+
marginBottom: 8,
|
|
97
|
+
},
|
|
98
|
+
line: {
|
|
99
|
+
fontSize: 13,
|
|
100
|
+
lineHeight: 19,
|
|
101
|
+
color: '#0F172A',
|
|
102
|
+
marginBottom: 4,
|
|
103
|
+
},
|
|
104
|
+
summaryText: {
|
|
105
|
+
marginTop: 10,
|
|
106
|
+
fontSize: 12,
|
|
107
|
+
fontWeight: '700',
|
|
108
|
+
},
|
|
109
|
+
metaList: {
|
|
110
|
+
marginTop: 10,
|
|
111
|
+
gap: 6,
|
|
112
|
+
},
|
|
113
|
+
metaRow: {
|
|
114
|
+
flexDirection: 'row',
|
|
115
|
+
justifyContent: 'space-between',
|
|
116
|
+
gap: 10,
|
|
117
|
+
},
|
|
118
|
+
metaLabel: {
|
|
119
|
+
fontSize: 12,
|
|
120
|
+
color: '#64748B',
|
|
121
|
+
},
|
|
122
|
+
metaValue: {
|
|
123
|
+
flex: 1,
|
|
124
|
+
fontSize: 12,
|
|
125
|
+
color: '#334155',
|
|
126
|
+
textAlign: 'right',
|
|
127
|
+
},
|
|
128
|
+
actionsRow: {
|
|
129
|
+
flexDirection: 'row',
|
|
130
|
+
gap: 8,
|
|
131
|
+
marginTop: 14,
|
|
132
|
+
},
|
|
133
|
+
actionButton: {
|
|
134
|
+
flex: 1,
|
|
135
|
+
minHeight: 38,
|
|
136
|
+
borderRadius: 999,
|
|
137
|
+
borderWidth: 1,
|
|
138
|
+
borderColor: '#CBD5E1',
|
|
139
|
+
alignItems: 'center',
|
|
140
|
+
justifyContent: 'center',
|
|
141
|
+
paddingHorizontal: 12,
|
|
142
|
+
backgroundColor: '#FFFFFF',
|
|
143
|
+
},
|
|
144
|
+
actionButtonPrimary: {
|
|
145
|
+
borderColor: 'transparent',
|
|
146
|
+
backgroundColor: '#0EA5E9',
|
|
147
|
+
},
|
|
148
|
+
actionText: {
|
|
149
|
+
fontSize: 12,
|
|
150
|
+
fontWeight: '700',
|
|
151
|
+
color: '#0F172A',
|
|
152
|
+
},
|
|
153
|
+
actionTextPrimary: {
|
|
154
|
+
color: '#FFFFFF',
|
|
155
|
+
},
|
|
156
|
+
});
|