snice 3.10.0 → 3.10.2

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/dist/parts.d.ts CHANGED
@@ -126,10 +126,6 @@ export declare function parseKeyboardFilter(spec: string): KeyboardFilter;
126
126
  * Check if keyboard event matches the filter
127
127
  */
128
128
  export declare function matchesKeyboardFilter(event: KeyboardEvent, filter: KeyboardFilter): boolean;
129
- /**
130
- * ConditionalIfPart handles <if> conditional rendering
131
- * Removes/inserts DOM nodes based on condition
132
- */
133
129
  export declare class ConditionalIfPart extends Part {
134
130
  private ifElement;
135
131
  private value;
package/dist/symbols.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v3.9.0
2
+ * snice v3.10.1
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v3.9.0
2
+ * snice v3.10.1
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v3.9.0
2
+ * snice v3.10.1
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v3.9.0
2
+ * snice v3.10.1
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -10,6 +10,7 @@ QR code scanner using device camera and ZXing WASM decoder.
10
10
  - `pick-first: boolean = false` - Scan at max speed until first hit, then stop and shutdown
11
11
  - `manual-snap: boolean = false` - Photo mode: open camera, manually trigger snapshots
12
12
  - `scan-speed: number = 3` - Scan speed 1-10 (higher = faster, more CPU). Ignored when pick-first=true
13
+ - `tap-start: boolean = false` - Enable tap/click on viewport to start/stop scanning
13
14
 
14
15
  ### Methods
15
16
  - `start()` - Start camera/scanning
@@ -81,6 +81,16 @@
81
81
  <snice-qr-reader scan-speed="10"></snice-qr-reader>
82
82
  ```
83
83
 
84
+ ### `tap-start`
85
+ - **Type**: `boolean`
86
+ - **Default**: `false`
87
+ - **Description**: Enable tap/click interaction on the camera viewport to start/stop scanning. When enabled, clicking or tapping anywhere on the video preview will toggle scanning on/off.
88
+
89
+ ```html
90
+ <!-- Enable tap to start/stop -->
91
+ <snice-qr-reader tap-start></snice-qr-reader>
92
+ ```
93
+
84
94
  ## Methods
85
95
 
86
96
  ### `start()`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snice",
3
- "version": "3.10.0",
3
+ "version": "3.10.2",
4
4
  "type": "module",
5
5
  "description": "Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.",
6
6
  "main": "dist/index.cjs",