@camstack/ui-library 1.2.127 → 1.2.129

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.
@@ -29,7 +29,6 @@ export interface RecordingFormState {
29
29
  readonly profiles?: readonly CamProfile[];
30
30
  readonly segmentSeconds?: number;
31
31
  readonly triggers: RecordingTriggers;
32
- readonly preBufferSec?: number;
33
32
  readonly postBufferSec?: number;
34
33
  readonly retention?: RecordingRetention;
35
34
  }
package/dist/index.cjs CHANGED
@@ -17527,23 +17527,9 @@ function BandRow({ band, onChange, onRemove, sensorContext }) {
17527
17527
  setTriggers({ sensorDeviceIds: ids.length > 0 ? ids : void 0 });
17528
17528
  }
17529
17529
  }) : null,
17530
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
17530
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
17531
17531
  className: "flex flex-wrap items-center gap-3 text-xs",
17532
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
17533
- className: "flex items-center gap-1",
17534
- children: [
17535
- "Pre-buffer",
17536
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
17537
- type: "number",
17538
- min: 0,
17539
- value: band.preBufferSec ?? "",
17540
- placeholder: String(_camstack_types.DEFAULT_EVENTS_BAND_BUFFER_SEC.preBufferSec),
17541
- onChange: (e) => onChange({ preBufferSec: numOrUndef(e.target.value) }),
17542
- className: "w-16 rounded-md border border-border bg-background px-1 py-1 text-xs"
17543
- }),
17544
- "s"
17545
- ]
17546
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
17532
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
17547
17533
  className: "flex items-center gap-1",
17548
17534
  children: [
17549
17535
  "Post-buffer",
@@ -17557,7 +17543,7 @@ function BandRow({ band, onChange, onRemove, sensorContext }) {
17557
17543
  }),
17558
17544
  "s"
17559
17545
  ]
17560
- })]
17546
+ })
17561
17547
  })
17562
17548
  ]
17563
17549
  }) : null
package/dist/index.js CHANGED
@@ -17503,23 +17503,9 @@ function BandRow({ band, onChange, onRemove, sensorContext }) {
17503
17503
  setTriggers({ sensorDeviceIds: ids.length > 0 ? ids : void 0 });
17504
17504
  }
17505
17505
  }) : null,
17506
- /* @__PURE__ */ jsxs("div", {
17506
+ /* @__PURE__ */ jsx("div", {
17507
17507
  className: "flex flex-wrap items-center gap-3 text-xs",
17508
- children: [/* @__PURE__ */ jsxs("label", {
17509
- className: "flex items-center gap-1",
17510
- children: [
17511
- "Pre-buffer",
17512
- /* @__PURE__ */ jsx("input", {
17513
- type: "number",
17514
- min: 0,
17515
- value: band.preBufferSec ?? "",
17516
- placeholder: String(DEFAULT_EVENTS_BAND_BUFFER_SEC.preBufferSec),
17517
- onChange: (e) => onChange({ preBufferSec: numOrUndef(e.target.value) }),
17518
- className: "w-16 rounded-md border border-border bg-background px-1 py-1 text-xs"
17519
- }),
17520
- "s"
17521
- ]
17522
- }), /* @__PURE__ */ jsxs("label", {
17508
+ children: /* @__PURE__ */ jsxs("label", {
17523
17509
  className: "flex items-center gap-1",
17524
17510
  children: [
17525
17511
  "Post-buffer",
@@ -17533,7 +17519,7 @@ function BandRow({ band, onChange, onRemove, sensorContext }) {
17533
17519
  }),
17534
17520
  "s"
17535
17521
  ]
17536
- })]
17522
+ })
17537
17523
  })
17538
17524
  ]
17539
17525
  }) : null
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/ui-library",
3
- "version": "1.2.127",
3
+ "version": "1.2.129",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",