@htmlbricks/hb-editor-video 0.71.35 → 0.71.37

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/manifest.json CHANGED
@@ -24,14 +24,18 @@
24
24
  "type": "object"
25
25
  },
26
26
  "dispatchTrack": {
27
- "additionalProperties": false,
27
+ "description": "Detail is the track object, or track merged with validated `hb-form` fields when `form` is set.",
28
28
  "properties": {
29
- "track": {
30
- "$ref": "#/definitions/ITrack"
29
+ "maxValue": {
30
+ "type": "number"
31
+ },
32
+ "minValue": {
33
+ "type": "number"
31
34
  }
32
35
  },
33
36
  "required": [
34
- "track"
37
+ "maxValue",
38
+ "minValue"
35
39
  ],
36
40
  "type": "object"
37
41
  }
@@ -41,22 +45,6 @@
41
45
  "dispatchTrack"
42
46
  ],
43
47
  "type": "object"
44
- },
45
- "ITrack": {
46
- "additionalProperties": false,
47
- "properties": {
48
- "maxValue": {
49
- "type": "number"
50
- },
51
- "minValue": {
52
- "type": "number"
53
- }
54
- },
55
- "required": [
56
- "minValue",
57
- "maxValue"
58
- ],
59
- "type": "object"
60
48
  }
61
49
  }
62
50
  },
@@ -136,7 +124,26 @@
136
124
  {
137
125
  "name": "--hb-slider-background-color",
138
126
  "valueType": "color",
139
- "defaultValue": ""
127
+ "defaultValue": "",
128
+ "description": "Range track / thumb accent for `hb-range-slider` (the component sets it from `--bulma-primary` by default; override on `hb-editor-video` to retint the trim bar)."
129
+ },
130
+ {
131
+ "name": "--bulma-primary",
132
+ "valueType": "color",
133
+ "defaultValue": "#00d1b2",
134
+ "description": "Primary button and default slider accent when mapped in markup."
135
+ },
136
+ {
137
+ "name": "--bulma-control-height",
138
+ "valueType": "number",
139
+ "defaultValue": "",
140
+ "description": "Line box for the duration row and width of small time inputs."
141
+ },
142
+ {
143
+ "name": "--bulma-link",
144
+ "valueType": "color",
145
+ "defaultValue": "#485fc7",
146
+ "description": "Link-styled controls where Bulma `link` tokens apply."
140
147
  }
141
148
  ],
142
149
  "parts": []
@@ -193,7 +200,7 @@
193
200
  }
194
201
  }
195
202
  ],
196
- "iifeIntegrity": "sha384-hRvxAZ5a5zmHXYgEWsKp4yuzBG9N7OR5ooamCKp5V5UqW1TaliUtIOWZsk68q3Nv",
203
+ "iifeIntegrity": "sha384-dmQ2X1gjQR+vemBbqCacmlLQbCmuo0CLV4Q0Ao+N9RAUR0hHOMUUkBsanxciEjeN",
197
204
  "dependencies": [
198
205
  {
199
206
  "name": "hb-range-slider",
@@ -347,5 +354,5 @@
347
354
  "size": {},
348
355
  "iifePath": "main.iife.js",
349
356
  "repoName": "@htmlbricks/hb-editor-video",
350
- "version": "0.71.35"
357
+ "version": "0.71.37"
351
358
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-editor-video",
3
- "version": "0.71.35",
3
+ "version": "0.71.37",
4
4
  "contributors": [],
5
5
  "description": "Video trimmer UI: plays `src` with an `hb-range-slider` synced to the playhead and in/out bounds (`track` min/max seconds). Numeric time fields, cue-to-current-time buttons, and optional `hb-form` gate final submission. Emits `changeTrackValues`, `dispatchTrack` when no form is used, and form-driven submit when metadata is valid. Bulma `card`, `image is-16by9`, `button`, and `input` for chrome (Bootstrap Icons for play/pause).",
6
6
  "licenses": [
@@ -13,5 +13,6 @@ export type Component = {
13
13
 
14
14
  export type Events = {
15
15
  changeTrackValues: { minVaule: number; maxValue: number };
16
- dispatchTrack: { track: ITrack };
16
+ /** Detail is the track object, or track merged with validated `hb-form` fields when `form` is set. */
17
+ dispatchTrack: ITrack & Record<string, unknown>;
17
18
  };
@@ -22,14 +22,18 @@
22
22
  "type": "object"
23
23
  },
24
24
  "dispatchTrack": {
25
- "additionalProperties": false,
25
+ "description": "Detail is the track object, or track merged with validated `hb-form` fields when `form` is set.",
26
26
  "properties": {
27
- "track": {
28
- "$ref": "#/definitions/ITrack"
27
+ "maxValue": {
28
+ "type": "number"
29
+ },
30
+ "minValue": {
31
+ "type": "number"
29
32
  }
30
33
  },
31
34
  "required": [
32
- "track"
35
+ "maxValue",
36
+ "minValue"
33
37
  ],
34
38
  "type": "object"
35
39
  }
@@ -39,22 +43,6 @@
39
43
  "dispatchTrack"
40
44
  ],
41
45
  "type": "object"
42
- },
43
- "ITrack": {
44
- "additionalProperties": false,
45
- "properties": {
46
- "maxValue": {
47
- "type": "number"
48
- },
49
- "minValue": {
50
- "type": "number"
51
- }
52
- },
53
- "required": [
54
- "minValue",
55
- "maxValue"
56
- ],
57
- "type": "object"
58
46
  }
59
47
  }
60
48
  }