@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.
Files changed (29) hide show
  1. package/AGENTS.md +48 -47
  2. package/package.json +3 -6
  3. package/src/react/components/errors/DefaultErrors.js +360 -360
  4. package/src/react/components/files/DefaultFile.js +46 -46
  5. package/src/react/components/filters/CompactFilterSelector.js +22 -3
  6. package/src/react/components/filters/DefaultColumnFilter.js +15 -13
  7. package/src/react/components/filters/DefaultExternalFilters.js +44 -39
  8. package/src/react/components/filters/DefaultSearch.js +140 -103
  9. package/src/react/components/filters/DefaultSearch.styles.js +65 -70
  10. package/src/react/components/form/DefaultForm.js +200 -198
  11. package/src/react/components/help/DefaultTooltip.js +87 -87
  12. package/src/react/components/help/DefaultTooltip.styles.js +61 -61
  13. package/src/react/components/inputs/DefaultInput.js +162 -160
  14. package/src/react/components/inputs/DefaultSelect.js +203 -192
  15. package/src/react/components/map/DefaultGoogleMap.styles.js +115 -9
  16. package/src/react/components/map/DefaultGoogleMap.web.js +560 -446
  17. package/src/react/components/map/DefaultMap.native.js +73 -71
  18. package/src/react/components/map/DefaultMap.styles.js +16 -16
  19. package/src/react/components/map/DefaultMap.web.js +68 -66
  20. package/src/react/components/map/DefaultNativeMap.native.js +307 -183
  21. package/src/react/components/map/DefaultNativeMap.shared.js +439 -340
  22. package/src/react/components/map/DefaultNativeMap.styles.js +156 -122
  23. package/src/react/components/table/DefaultTable.js +529 -355
  24. package/src/react/components/table/DefaultTable.styles.js +30 -39
  25. package/src/react/index.js +10 -10
  26. package/src/tests/react/components/errors/DefaultErrors.test.js +162 -162
  27. package/src/tests/react/components/files/DefaultFile.test.js +80 -80
  28. package/src/tests/react/components/inputs/DefaultSelect.test.js +93 -0
  29. 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
- companyName: {
56
- fontSize: 11,
57
- fontWeight: '700',
58
- textTransform: 'uppercase',
59
- letterSpacing: 0.6,
60
- color: '#0369A1',
61
- marginBottom: 6,
62
- },
63
- title: {
64
- fontSize: 16,
65
- fontWeight: '700',
66
- color: '#0F172A',
67
- marginBottom: 8,
68
- },
69
- line: {
70
- fontSize: 13,
71
- lineHeight: 19,
72
- color: '#0F172A',
73
- marginBottom: 4,
74
- },
75
- metaList: {
76
- marginTop: 10,
77
- gap: 6,
78
- },
79
- metaRow: {
80
- flexDirection: 'row',
81
- justifyContent: 'space-between',
82
- gap: 10,
83
- },
84
- metaLabel: {
85
- fontSize: 12,
86
- color: '#64748B',
87
- },
88
- metaValue: {
89
- flex: 1,
90
- fontSize: 12,
91
- color: '#334155',
92
- textAlign: 'right',
93
- },
94
- actionsRow: {
95
- flexDirection: 'row',
96
- gap: 8,
97
- marginTop: 14,
98
- },
99
- actionButton: {
100
- flex: 1,
101
- minHeight: 38,
102
- borderRadius: 999,
103
- borderWidth: 1,
104
- borderColor: '#CBD5E1',
105
- alignItems: 'center',
106
- justifyContent: 'center',
107
- paddingHorizontal: 12,
108
- backgroundColor: '#FFFFFF',
109
- },
110
- actionButtonPrimary: {
111
- borderColor: 'transparent',
112
- backgroundColor: '#0EA5E9',
113
- },
114
- actionText: {
115
- fontSize: 12,
116
- fontWeight: '700',
117
- color: '#0F172A',
118
- },
119
- actionTextPrimary: {
120
- color: '#FFFFFF',
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
+ });