canvasframework 0.4.3 → 0.4.5

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.
@@ -134,8 +134,8 @@ class QRCodeReader extends Component {
134
134
  this.stream = await navigator.mediaDevices.getUserMedia({
135
135
  video: {
136
136
  facingMode: this.facingMode,
137
- width: { ideal: 1280 },
138
- height: { ideal: 720 },
137
+ width: { ideal: 320 },
138
+ height: { ideal: 240 },
139
139
  frameRate: { ideal: 30 }
140
140
  }
141
141
  });
@@ -193,12 +193,12 @@ class TimePicker extends Component {
193
193
  ctx.fillStyle = labelColor;
194
194
  ctx.font = '14px Roboto, sans-serif';
195
195
  ctx.textAlign = 'left';
196
- ctx.fillText(this.label, this.x + 56, this.y + 18);
196
+ ctx.fillText(this.label, this.x + 48, this.y + 18);
197
197
 
198
198
  // Valeur (heure)
199
199
  ctx.fillStyle = textColor;
200
200
  ctx.font = `${fontSize}px Roboto, sans-serif`;
201
- ctx.fillText(timeStr, this.x + 56, this.y + this.height - 18);
201
+ ctx.fillText(timeStr, this.x + 48, this.y + this.height - 10);
202
202
  }
203
203
 
204
204
  ctx.restore();
@@ -137,6 +137,7 @@ const FIXED_COMPONENT_TYPES = new Set([
137
137
  FAB,
138
138
  Toast,
139
139
  Camera,
140
+ QRCodeReader,
140
141
  Banner,
141
142
  SliverAppBar,
142
143
  BottomSheet,
package/core/UIBuilder.js CHANGED
@@ -57,6 +57,7 @@ import SliverAppBar from '../components/SliverAppBar.js';
57
57
  import AudioPlayer from '../components/AudioPlayer.js';
58
58
  import Camera from '../components/Camera.js';
59
59
  import TimePicker from '../components/TimePicker.js';
60
+ import QRCodeReader from '../components/QRCodeReader.js';
60
61
 
61
62
  // Features
62
63
  import PullToRefresh from '../features/PullToRefresh.js';
@@ -106,6 +107,7 @@ const Components = {
106
107
  SwipeableListItem,
107
108
  ListItem,
108
109
  List,
110
+ QRCodeReader,
109
111
  VirtualList,
110
112
  BottomSheet,
111
113
  ProgressBar,
package/index.js CHANGED
@@ -84,6 +84,15 @@ export { default as AnimationEngine } from './utils/AnimationEngine.js';
84
84
  export { default as CryptoManager } from './utils/CryptoManager.js';
85
85
  export { default as NotificationManager } from './utils/NotificationManager.js';
86
86
  export { default as DevTools } from './utils/DevTools.js';
87
+ export { default as FirebaseStorage } from './utils/FirebaseStorage.js';
88
+ export { default as FirebaseAuth } from './utils/FirebaseAuth.js';
89
+ export { default as FirebaseCore } from './utils/FirebaseCore.js';
90
+ export { default as FirebaseFirestore } from './utils/FirebaseFirestore.js';
91
+ export { default as FirebaseFunctions } from './utils/FirebaseFunctions.js';
92
+ export { default as FirebaseRealtimeDB } from './utils/FirebaseRealtimeDB.js';
93
+ export { default as PayPalPayment } from './utils/PayPalPayment.js';
94
+ export { default as StripePayment } from './utils/StripePayment.js';
95
+
87
96
 
88
97
  // Features
89
98
  export { default as PullToRefresh } from './features/PullToRefresh.js';
@@ -107,7 +116,7 @@ export { default as FeatureFlags } from './manager/FeatureFlags.js';
107
116
 
108
117
  // Version du framework
109
118
 
110
- export const VERSION = '0.3.23';
119
+ export const VERSION = '0.4.4';
111
120
 
112
121
 
113
122
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "canvasframework",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
4
4
  "description": "Canvas-based cross-platform UI framework (Material & Cupertino)",
5
5
  "type": "module",
6
6
  "main": "./index.js",