@controleonline/ui-default 1.0.282 → 1.0.283

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@controleonline/ui-default",
3
- "version": "1.0.282",
3
+ "version": "1.0.283",
4
4
  "author": "ControleOnline",
5
5
  "description": "ControleOnline Default Quasar UI Component",
6
6
  "license": "MIT",
@@ -130,9 +130,9 @@ export const defaultUploadStyles = {
130
130
  attachmentsEmpty: {borderWidth: 1, borderColor: '#ddd', borderRadius: 8, padding: 10},
131
131
  attachmentsEmptyText: {color: '#666'},
132
132
  attachmentsList: {flexDirection: 'row', gap: 10},
133
- attachmentCard: {width: 320, borderWidth: 1, borderColor: '#ddd', borderRadius: 8, padding: 0, overflow: 'hidden', backgroundColor: '#fff'},
134
- attachmentThumb: {width: 320, height: 320, backgroundColor: '#f5f5f5', overflow: 'hidden', alignItems: 'center', justifyContent: 'center'},
135
- attachmentImage: {width: 320, height: 320},
133
+ attachmentCard: {width: 240, borderWidth: 1, borderColor: '#ddd', borderRadius: 8, padding: 0, overflow: 'hidden', backgroundColor: '#fff'},
134
+ attachmentThumb: {width: 240, height: 240, backgroundColor: '#f5f5f5', overflow: 'hidden', alignItems: 'center', justifyContent: 'center'},
135
+ attachmentImage: {width: 240, height: 240},
136
136
  attachmentActionsRow: {flexDirection: 'row', justifyContent: 'center', alignItems: 'center', gap: 8, marginTop: 2},
137
137
  attachmentIconButton: {width: 36, height: 36, borderRadius: 8, alignItems: 'center', justifyContent: 'center'},
138
138
  attachmentRemoveButton: {backgroundColor: '#b00020', paddingVertical: 6, borderRadius: 4},
@@ -76,20 +76,20 @@ export default function DefaultUploadAttachmentsList({
76
76
  key={row.id || fileId || index}
77
77
  style={[
78
78
  styles.attachmentCard,
79
- // app-community#813: card principal 320x320
80
- {width: 320, padding: 0, overflow: 'hidden'},
79
+ // app-community#813: card principal 240x240 (app-community#1275)
80
+ {width: 240, padding: 0, overflow: 'hidden'},
81
81
  ]}>
82
82
  <View
83
83
  style={[
84
84
  styles.attachmentThumb,
85
- {width: 320, height: 320, marginBottom: 0},
85
+ {width: 240, height: 240, marginBottom: 0},
86
86
  ]}>
87
87
  {file ? (
88
88
  <DefaultFile
89
89
  file={file}
90
90
  company={company}
91
91
  resizeMode="cover"
92
- style={{width: 320, height: 320}}
92
+ style={{width: 240, height: 240}}
93
93
  />
94
94
  ) : null}
95
95
  </View>