@evercam/ui 0.0.55-beta.34 → 0.0.55-beta.36

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.
@@ -1,4 +1,4 @@
1
- import { BadgeSizes, AvatarSizes, IconSizes, BadgeColors, ToggleSwitchSizes } from './constants';
1
+ import { BadgeSizes, AvatarSizes, IconSizes, BadgeColors } from './constants';
2
2
  export declare enum Size {
3
3
  dot = "dot",
4
4
  xs = "xs",
@@ -25,17 +25,9 @@ export declare enum BaseColor {
25
25
  brand = "brand",
26
26
  default = "default"
27
27
  }
28
- export declare enum ImageQuality {
29
- _360 = "360",
30
- _480 = "480",
31
- _720 = "720",
32
- _1080 = "1080",
33
- auto = "auto"
34
- }
35
28
  export type TBadgeSize = (typeof BadgeSizes)[number];
36
29
  export type TAvatarSize = (typeof AvatarSizes)[number];
37
30
  export type TIconSize = (typeof IconSizes)[number];
38
- export type TToggleSwitchSize = (typeof ToggleSwitchSizes)[number];
39
31
  export type TBadgeColor = (typeof BadgeColors)[number];
40
32
  export type TailwindColorClass = string;
41
33
  export type FlexJustifyContent = "around" | "between" | "center" | "end" | "evenly" | "normal" | "start" | "stretch";
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .e-spinner[data-v-29711f67]{vertical-align:center}.e-spinner__primary[data-v-29711f67],.e-spinner__secondary[data-v-29711f67]{stroke-width:0;animation:fade-29711f67;animation-iteration-count:infinite}@keyframes fade-29711f67{0%{fill-opacity:0}50%{fill-opacity:1}to{fill-opacity:0}}.e-row.e-row--no-gutters{margin:0}.e-row.e-row--no-gutters>.e-col{padding:0}.e-col{padding:.75rem}.e-transform-0[data-v-8921bc32]{transform-origin:0 0}.image-player-overlay{position:absolute;left:50%;top:50%;width:52px;height:52px;z-index:19;margin-left:-26px;margin-top:-26px;background:rgba(0,0,0,.5);border-radius:26px;-webkit-animation:overlay-fadeout .5s linear 1 normal forwards;animation:overlay-fadeout .5s linear 1 normal forwards;pointer-events:none}.image-player-overlay__wrapper{height:40px;width:40px}.image-player-overlay__wrapper>path{fill:#fff}@-webkit-keyframes overlay-fadeout{0%{opacity:1}to{opacity:0;-webkit-transform:scale(2);transform:scale(2)}}@keyframes overlay-fadeout{0%{opacity:1}to{opacity:0;-webkit-transform:scale(2);transform:scale(2)}}.spinner-container[data-v-eb980c65]{position:absolute;background:linear-gradient(to top,rgba(0,0,0,.65),transparent);inset:0;display:flex;justify-content:center;align-items:center;vertical-align:middle}.video-container[data-v-eb980c65]{position:relative;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;margin:0 auto}.video-container.full-screen[data-v-eb980c65]{max-width:initial;width:100%;max-height:100vh}video[data-v-eb980c65]{width:100%;height:inherit}.video-controls-container[data-v-eb980c65]{position:absolute;bottom:0;left:0;right:0;color:#fff;z-index:100;opacity:0;transition:opacity .15s ease-in-out}.hide[data-v-eb980c65]{display:none}.video-controls-container[data-v-eb980c65]:before{content:"";position:absolute;bottom:0;background:linear-gradient(to top,rgba(0,0,0,.75),transparent);width:100%;aspect-ratio:6 / 1;z-index:-1;pointer-events:none}.video-container:hover .video-controls-container[data-v-eb980c65],.video-container:focus-within .video-controls-container[data-v-eb980c65],.video-container.paused .video-controls-container[data-v-eb980c65]{opacity:1}.video-controls-container .controls[data-v-eb980c65]{display:flex;gap:.5rem;padding:.75rem 1rem;align-items:center;width:100%}.video-controls-container .controls button[data-v-eb980c65]{background:none;border:none;color:inherit;padding:0;height:32px;width:32px;font-size:1.35rem;cursor:pointer;opacity:.85;transition:opacity .15s ease-in-out}.video-controls-container .controls button[data-v-eb980c65]:hover{opacity:1}.duration-container[data-v-eb980c65]{display:flex;align-items:center;gap:.25rem;flex-grow:1}.video-container.captions .captions-btn[data-v-eb980c65]{border-bottom:3px solid #0090ff}.video-controls-container .controls button.wide-btn[data-v-eb980c65]{width:50px}.timeline-container[data-v-eb980c65]{width:100%;height:7px;margin-inline:.5rem;cursor:pointer;display:flex;align-items:center}.timeline[data-v-eb980c65]{background-color:#64646480;height:3px;width:100%;position:relative}.timeline[data-v-eb980c65]:before{content:"";position:absolute;left:0;top:0;bottom:0;right:calc(100% - var(--preview-position) * 100%);background-color:#969696;display:none}.timeline[data-v-eb980c65]:after{content:"";position:absolute;left:0;top:0;bottom:0;right:calc(100% - var(--progress-position) * 100%);background-color:#0090ff}.timeline .thumb-indicator[data-v-eb980c65]{--scale: 0;position:absolute;transform:translate(-50%) scale(var(--scale));height:200%;top:-50%;left:calc(var(--progress-position) * 100%);background-color:#0090ff;border-radius:50%;transition:transform .15s ease-in-out;aspect-ratio:1 / 1}.video-container.scrubbing .thumbnail-img[data-v-eb980c65]{display:block}.video-container.scrubbing .timeline[data-v-eb980c65]:before,.timeline-container:hover .timeline[data-v-eb980c65]:before{display:block}.video-container.scrubbing .thumb-indicator[data-v-eb980c65],.timeline-container:hover .thumb-indicator[data-v-eb980c65]{--scale: 1}.video-container.scrubbing .timeline[data-v-eb980c65],.timeline-container:hover .timeline[data-v-eb980c65]{height:100%}.e-tl-milestone{position:absolute;border-radius:10em;box-sizing:border-box}.e-tl-milestone-content{cursor:pointer}.e-tl-milestone--bullet{transform:translate(-50%,-50%)}.e-tl-milestone--bullet .e-tl-milestone-content{opacity:0;width:0;height:0;white-space:nowrap;pointer-events:none;cursor:pointer}.e-tl-milestone--bullet.e-tl-milestone--hovered{cursor:pointer;min-height:26px;padding:0 8px;border-radius:.5em}.e-tl-milestone--bullet.e-tl-milestone--hovered .e-tl-milestone-content{opacity:1;font-size:small;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.e-tl-milestone--bullet .e-tl-milestone-label{position:absolute;top:0;left:0;opacity:1;pointer-events:none;height:100%;width:100%}.e-tl-milestone--bullet.e-tl-milestone--hovered .e-tl-milestone-label{opacity:0}.e-tl-milestone--dot{transform:translateY(-50%)}.e-tl-milestone-dot--hovered .e-tl-milestone-dot-container{padding:0 3em;transform:translate(-50%);opacity:1}.e-tl-milestone-dot-line{position:absolute}.e-tl-milestone-dot-dot{position:absolute;border-radius:50%}.e-tl-milestone-dot-container{opacity:0;position:absolute;padding:0 .3em;transform:translate(-50%,-100%);cursor:pointer}.e-timeline svg{display:block}.e-timeline .x-axis-overview .domain,.e-timeline .x-axis-detailed .domain,.e-timeline .x-axis-overviewBackground .domain,.e-timeline .x-axis-detailedBackground .domain{display:none}.e-timeline .x-axis-detailedBackground .domain,.e-timeline .x-axis-detailedBackground text{display:none}.e-timeline .x-axis-overview>g.tick>line{opacity:.1;stroke-width:3;stroke-linecap:round}.e-timeline .x-axis-detailed>g.tick>line{opacity:.1;stroke-linecap:round}.e-timeline .x-axis-detailedBackground>g.tick>line{opacity:.075;stroke-linecap:round}.e-timeline--dark .tick line{stroke:#fff}.e-timeline--dark .tick text{fill:#fff}@keyframes moveGradient{0%{transform:translate(-50%)}to{transform:translate(100%)}}@keyframes pulse-rect{0%{filter:saturate(3.5) drop-shadow(0 0 1px #0008)}50%{filter:saturate(.5) drop-shadow(0 0 0 #0000)}to{filter:saturate(3.5) drop-shadow(0 0 1px #0008)}}@keyframes pulse-circle{0%{r:4px}50%{r:1px}to{r:4px}}.loading-indicator{animation:moveGradient 1.5s ease-in infinite}.line-graph-dot--active{animation:pulse-circle 1s ease-in-out infinite}.event-rect--hovered{animation:pulse-rect 1s ease-in-out infinite}@keyframes dash{0%{filter:saturate(1) drop-shadow(0 0 0 #0000)}50%{stroke-width:2px;filter:saturate(2.5) drop-shadow(0 0 0 #0006)}to{filter:saturate(1) drop-shadow(0 0 0 #0000)}}.line-graph-group--highlighted path{animation:dash 1s ease-in-out infinite}.e-timeline--dragging{cursor:ew-resize}.curtain{cursor:ew-resize;fill:#3332;stroke-width:1px;stroke:#3338;transition:stroke-width .2s}.e-timeline--dragging .curtain{stroke-width:3px}.e-timeline--dark .curtain{fill:#fff3;stroke:#fff7}.event-bar-hover-zone{cursor:pointer}.external-labels-container{position:absolute;top:-1.5em;left:0}.external-label{margin-right:.35em;border-width:.5px;border-radius:.2em}.external-label__content{cursor:pointer;font-size:.8em;font-weight:500;padding:0 .6em;line-height:1.4em}.marker-label{transition:transform .2s;transform:translateY(-32px);position:absolute;width:max-content}.marker-label-text{position:absolute;width:max-content;font-size:.8em;font-weight:500;padding:0 .75em;border-radius:.4em .4em .4em 0;box-shadow:0 0 5px -1px #000000f5}.marker-label-text:after{content:"";background:inherit;width:5px;height:5px;bottom:-5px;position:absolute;left:2px;clip-path:path("M 0,5 L 0,0 L 5,0 A 5,5 0 0 0 0,5")}.marker-label-text:before{content:"";background:inherit;height:20px;top:18px;position:absolute;width:2px;left:0}.marker{top:0;filter:saturate(.9)}.marker-line{position:absolute;width:2px;top:-24px;transition:top .2s,height .2s}.marker:hover{cursor:pointer;opacity:1;filter:saturate(1.1)}.marker:hover .marker-label{transform:translateY(-38px);height:61px;width:255px;padding-bottom:42px}.marker:hover .marker-label-text{box-shadow:2px 2px 11px -4px #000}.marker--hidden:hover .marker-label{transform:translateY(-54px)}.marker--draggable,.marker--draggable:hover{user-select:none;cursor:grab}.marker--dragged:hover{cursor:grabbing}.forbidden-interval{opacity:.2}.e-timeline-milestones{height:0}.video-embed[data-v-0ecf4a71]{position:relative;width:100%!important;padding-bottom:56.25%}.video-embed iframe[data-v-0ecf4a71]{position:absolute;top:0;left:0;width:100%;height:100%}.e-heatmap-bar__label{white-space:nowrap;width:6rem;min-width:6rem}.e-heatmap-bar__item{height:16px;margin:2px;position:relative;cursor:pointer;border-radius:2px;min-width:0}.e-heatmap-bar__item:hover{box-shadow:0 0 0 1.5px #5c6d97}.e-heatmap-bar__item--selected{box-shadow:0 0 0 2px #151e3a}.e-heatmap-bar__item__count{font-size:12px;color:#fff;font-weight:500}.e-heatmap-bar__item__count--light{color:#0a214bbd}.e-heatmap-bar__item__name{position:absolute;top:-25px}.e-heatmap-bar:not(.e-heatmap-bar--dense) .e-heatmap-bar__item{min-width:35px}
1
+ .e-spinner[data-v-29711f67]{vertical-align:center}.e-spinner__primary[data-v-29711f67],.e-spinner__secondary[data-v-29711f67]{stroke-width:0;animation:fade-29711f67;animation-iteration-count:infinite}@keyframes fade-29711f67{0%{fill-opacity:0}50%{fill-opacity:1}to{fill-opacity:0}}.e-row.e-row--no-gutters{margin:0}.e-row.e-row--no-gutters>.e-col{padding:0}.e-col{padding:.75rem}.spinner-container[data-v-9071f674]{position:absolute;background:linear-gradient(to top,rgba(0,0,0,.65),transparent);inset:0;display:flex;justify-content:center;align-items:center;vertical-align:middle}.video-container[data-v-9071f674]{position:relative;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;margin:0 auto}.video-container.full-screen[data-v-9071f674]{max-width:initial;width:100%;max-height:100vh}video[data-v-9071f674]{width:100%;height:inherit}.video-controls-container[data-v-9071f674]{position:absolute;bottom:0;left:0;right:0;color:#fff;z-index:100;opacity:0;transition:opacity .15s ease-in-out}.hide[data-v-9071f674]{display:none}.video-controls-container[data-v-9071f674]:before{content:"";position:absolute;bottom:0;background:linear-gradient(to top,rgba(0,0,0,.75),transparent);width:100%;aspect-ratio:6 / 1;z-index:-1;pointer-events:none}.video-container:hover .video-controls-container[data-v-9071f674],.video-container:focus-within .video-controls-container[data-v-9071f674],.video-container.paused .video-controls-container[data-v-9071f674]{opacity:1}.video-controls-container .controls[data-v-9071f674]{display:flex;gap:.5rem;padding:.75rem 1rem;align-items:center;width:100%}.video-controls-container .controls button[data-v-9071f674]{background:none;border:none;color:inherit;padding:0;height:32px;width:32px;font-size:1.35rem;cursor:pointer;opacity:.85;transition:opacity .15s ease-in-out}.video-controls-container .controls button[data-v-9071f674]:hover{opacity:1}.duration-container[data-v-9071f674]{display:flex;align-items:center;gap:.25rem;flex-grow:1}.video-container.captions .captions-btn[data-v-9071f674]{border-bottom:3px solid red}.video-controls-container .controls button.wide-btn[data-v-9071f674]{width:50px}.timeline-container[data-v-9071f674]{width:100%;height:7px;margin-inline:.5rem;cursor:pointer;display:flex;align-items:center}.timeline[data-v-9071f674]{background-color:#64646480;height:3px;width:100%;position:relative}.timeline[data-v-9071f674]:before{content:"";position:absolute;left:0;top:0;bottom:0;right:calc(100% - var(--preview-position) * 100%);background-color:#969696;display:none}.timeline[data-v-9071f674]:after{content:"";position:absolute;left:0;top:0;bottom:0;right:calc(100% - var(--progress-position) * 100%);background-color:red}.timeline .thumb-indicator[data-v-9071f674]{--scale: 0;position:absolute;transform:translate(-50%) scale(var(--scale));height:200%;top:-50%;left:calc(var(--progress-position) * 100%);background-color:red;border-radius:50%;transition:transform .15s ease-in-out;aspect-ratio:1 / 1}.video-container.scrubbing .thumbnail-img[data-v-9071f674]{display:block}.video-container.scrubbing .timeline[data-v-9071f674]:before,.timeline-container:hover .timeline[data-v-9071f674]:before{display:block}.video-container.scrubbing .thumb-indicator[data-v-9071f674],.timeline-container:hover .thumb-indicator[data-v-9071f674]{--scale: 1}.video-container.scrubbing .timeline[data-v-9071f674],.timeline-container:hover .timeline[data-v-9071f674]{height:100%}.e-tl-milestone{position:absolute;border-radius:10em;box-sizing:border-box}.e-tl-milestone-content{cursor:pointer}.e-tl-milestone--bullet{transform:translate(-50%,-50%)}.e-tl-milestone--bullet .e-tl-milestone-content{opacity:0;width:0;height:0;white-space:nowrap;pointer-events:none;cursor:pointer}.e-tl-milestone--bullet.e-tl-milestone--hovered{cursor:pointer;min-height:26px;padding:0 8px;border-radius:.5em}.e-tl-milestone--bullet.e-tl-milestone--hovered .e-tl-milestone-content{opacity:1;font-size:small;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.e-tl-milestone--bullet .e-tl-milestone-label{position:absolute;top:0;left:0;opacity:1;pointer-events:none;height:100%;width:100%}.e-tl-milestone--bullet.e-tl-milestone--hovered .e-tl-milestone-label{opacity:0}.e-tl-milestone--dot{transform:translateY(-50%)}.e-tl-milestone-dot--hovered .e-tl-milestone-dot-container{padding:0 3em;transform:translate(-50%);opacity:1}.e-tl-milestone-dot-line{position:absolute}.e-tl-milestone-dot-dot{position:absolute;border-radius:50%}.e-tl-milestone-dot-container{opacity:0;position:absolute;padding:0 .3em;transform:translate(-50%,-100%);cursor:pointer}.e-timeline svg{display:block}.e-timeline .x-axis-overview .domain,.e-timeline .x-axis-detailed .domain,.e-timeline .x-axis-overviewBackground .domain,.e-timeline .x-axis-detailedBackground .domain{display:none}.e-timeline .x-axis-detailedBackground .domain,.e-timeline .x-axis-detailedBackground text{display:none}.e-timeline .x-axis-overview>g.tick>line{opacity:.1;stroke-width:3;stroke-linecap:round}.e-timeline .x-axis-detailed>g.tick>line{opacity:.1;stroke-linecap:round}.e-timeline .x-axis-detailedBackground>g.tick>line{opacity:.075;stroke-linecap:round}.e-timeline--dark .tick line{stroke:#fff}.e-timeline--dark .tick text{fill:#fff}@keyframes moveGradient{0%{transform:translate(-50%)}to{transform:translate(100%)}}@keyframes pulse-rect{0%{filter:saturate(3.5) drop-shadow(0 0 1px #0008)}50%{filter:saturate(.5) drop-shadow(0 0 0 #0000)}to{filter:saturate(3.5) drop-shadow(0 0 1px #0008)}}@keyframes pulse-circle{0%{r:4px}50%{r:1px}to{r:4px}}.loading-indicator{animation:moveGradient 1.5s ease-in infinite}.line-graph-dot--active{animation:pulse-circle 1s ease-in-out infinite}.event-rect--hovered{animation:pulse-rect 1s ease-in-out infinite}@keyframes dash{0%{filter:saturate(1) drop-shadow(0 0 0 #0000)}50%{stroke-width:2px;filter:saturate(2.5) drop-shadow(0 0 0 #0006)}to{filter:saturate(1) drop-shadow(0 0 0 #0000)}}.line-graph-group--highlighted path{animation:dash 1s ease-in-out infinite}.e-timeline--dragging{cursor:ew-resize}.curtain{cursor:ew-resize;fill:#3332;stroke-width:1px;stroke:#3338;transition:stroke-width .2s}.e-timeline--dragging .curtain{stroke-width:3px}.e-timeline--dark .curtain{fill:#fff3;stroke:#fff7}.event-bar-hover-zone{cursor:pointer}.external-labels-container{position:absolute;top:-1.5em;left:0}.external-label{margin-right:.35em;border-width:.5px;border-radius:.2em}.external-label__content{cursor:pointer;font-size:.8em;font-weight:500;padding:0 .6em;line-height:1.4em}.marker-label{transition:transform .2s;transform:translateY(-32px);position:absolute;width:max-content}.marker-label-text{position:absolute;width:max-content;font-size:.8em;font-weight:500;padding:0 .75em;border-radius:.4em .4em .4em 0;box-shadow:0 0 5px -1px #000000f5}.marker-label-text:after{content:"";background:inherit;width:5px;height:5px;bottom:-5px;position:absolute;left:2px;clip-path:path("M 0,5 L 0,0 L 5,0 A 5,5 0 0 0 0,5")}.marker-label-text:before{content:"";background:inherit;height:20px;top:18px;position:absolute;width:2px;left:0}.marker{top:0;filter:saturate(.9)}.marker-line{position:absolute;width:2px;top:-24px;transition:top .2s,height .2s}.marker:hover{cursor:pointer;opacity:1;filter:saturate(1.1)}.marker:hover .marker-label{transform:translateY(-38px);height:61px;width:255px;padding-bottom:42px}.marker:hover .marker-label-text{box-shadow:2px 2px 11px -4px #000}.marker--hidden:hover .marker-label{transform:translateY(-54px)}.marker--draggable,.marker--draggable:hover{user-select:none;cursor:grab}.marker--dragged:hover{cursor:grabbing}.forbidden-interval{opacity:.2}.e-timeline-milestones{height:0}.video-embed[data-v-0ecf4a71]{position:relative;width:100%!important;padding-bottom:56.25%}.video-embed iframe[data-v-0ecf4a71]{position:absolute;top:0;left:0;width:100%;height:100%}.e-heatmap-bar__label{white-space:nowrap;width:6rem;min-width:6rem}.e-heatmap-bar__item{height:16px;margin:2px;position:relative;cursor:pointer;border-radius:2px;min-width:0}.e-heatmap-bar__item:hover{box-shadow:0 0 0 1.5px #5c6d97}.e-heatmap-bar__item--selected{box-shadow:0 0 0 2px #151e3a}.e-heatmap-bar__item__count{font-size:12px;color:#fff;font-weight:500}.e-heatmap-bar__item__count--light{color:#0a214bbd}.e-heatmap-bar__item__name{position:absolute;top:-25px}.e-heatmap-bar:not(.e-heatmap-bar--dense) .e-heatmap-bar__item{min-width:35px}
package/dist/styles.css CHANGED
@@ -212,18 +212,9 @@
212
212
  .e-relative{
213
213
  position: relative;
214
214
  }
215
- .e-inset-0{
216
- inset: 0px;
217
- }
218
215
  .-e-left-2\/4{
219
216
  left: -50%;
220
217
  }
221
- .e-bottom-0{
222
- bottom: 0px;
223
- }
224
- .e-left-0{
225
- left: 0px;
226
- }
227
218
  .e-right-0{
228
219
  right: 0px;
229
220
  }
@@ -233,18 +224,9 @@
233
224
  .e-z-50{
234
225
  z-index: 50;
235
226
  }
236
- .e-z-\[-1\]{
237
- z-index: -1;
238
- }
239
- .e-z-\[5\]{
240
- z-index: 5;
241
- }
242
227
  .e-m-2{
243
228
  margin: 0.5rem;
244
229
  }
245
- .e-m-auto{
246
- margin: auto;
247
- }
248
230
  .e-mx-auto{
249
231
  margin-left: auto;
250
232
  margin-right: auto;
@@ -270,12 +252,6 @@
270
252
  .e-inline-flex{
271
253
  display: inline-flex;
272
254
  }
273
- .e-hidden{
274
- display: none;
275
- }
276
- .e-aspect-auto{
277
- aspect-ratio: auto;
278
- }
279
255
  .e-h-10{
280
256
  height: 2.5rem;
281
257
  }
@@ -312,15 +288,9 @@
312
288
  .e-h-8{
313
289
  height: 2rem;
314
290
  }
315
- .e-h-auto{
316
- height: auto;
317
- }
318
291
  .e-h-full{
319
292
  height: 100%;
320
293
  }
321
- .e-h-min{
322
- height: min-content;
323
- }
324
294
  .\!e-w-auto{
325
295
  width: auto !important;
326
296
  }
@@ -363,9 +333,6 @@
363
333
  .e-w-auto{
364
334
  width: auto;
365
335
  }
366
- .e-w-fit{
367
- width: fit-content;
368
- }
369
336
  .e-w-full{
370
337
  width: 100%;
371
338
  }
@@ -648,23 +615,9 @@
648
615
  .e-basis-full{
649
616
  flex-basis: 100%;
650
617
  }
651
- .e-scale-150{
652
- --tw-scale-x: 1.5;
653
- --tw-scale-y: 1.5;
654
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
655
- }
656
- .e-cursor-grab{
657
- cursor: grab;
658
- }
659
- .e-cursor-grabbing{
660
- cursor: grabbing;
661
- }
662
618
  .e-cursor-pointer{
663
619
  cursor: pointer;
664
620
  }
665
- .e-touch-none{
666
- touch-action: none;
667
- }
668
621
  .e-select-none{
669
622
  user-select: none;
670
623
  }
@@ -788,9 +741,6 @@
788
741
  .e-gap-3{
789
742
  gap: 0.75rem;
790
743
  }
791
- .e-gap-6{
792
- gap: 1.5rem;
793
- }
794
744
  .e-space-x-2 > :not([hidden]) ~ :not([hidden]){
795
745
  --tw-space-x-reverse: 0;
796
746
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
@@ -826,9 +776,6 @@
826
776
  .e-overflow-auto{
827
777
  overflow: auto;
828
778
  }
829
- .e-overflow-hidden{
830
- overflow: hidden;
831
- }
832
779
  .e-overflow-x-hidden{
833
780
  overflow-x: hidden;
834
781
  }
@@ -866,10 +813,6 @@
866
813
  --tw-border-opacity: 1;
867
814
  border-color: rgb(55 65 81 / var(--tw-border-opacity));
868
815
  }
869
- .e-bg-\[\#629efc\]{
870
- --tw-bg-opacity: 1;
871
- background-color: rgb(98 158 252 / var(--tw-bg-opacity));
872
- }
873
816
  .e-bg-amber-500{
874
817
  --tw-bg-opacity: 1;
875
818
  background-color: rgb(245 158 11 / var(--tw-bg-opacity));
@@ -878,10 +821,6 @@
878
821
  --tw-bg-opacity: 1;
879
822
  background-color: rgb(237 99 104 / var(--tw-bg-opacity));
880
823
  }
881
- .e-bg-brand-600{
882
- --tw-bg-opacity: 1;
883
- background-color: rgb(156 18 22 / var(--tw-bg-opacity));
884
- }
885
824
  .e-bg-cyan-500{
886
825
  --tw-bg-opacity: 1;
887
826
  background-color: rgb(6 182 212 / var(--tw-bg-opacity));
@@ -894,10 +833,6 @@
894
833
  --tw-bg-opacity: 1;
895
834
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
896
835
  }
897
- .e-bg-gray-600{
898
- --tw-bg-opacity: 1;
899
- background-color: rgb(75 85 99 / var(--tw-bg-opacity));
900
- }
901
836
  .e-bg-gray-800{
902
837
  --tw-bg-opacity: 1;
903
838
  background-color: rgb(31 41 55 / var(--tw-bg-opacity));
@@ -910,9 +845,6 @@
910
845
  --tw-bg-opacity: 1;
911
846
  background-color: rgb(22 163 74 / var(--tw-bg-opacity));
912
847
  }
913
- .e-bg-inherit{
914
- background-color: inherit;
915
- }
916
848
  .e-bg-lime-500{
917
849
  --tw-bg-opacity: 1;
918
850
  background-color: rgb(132 204 22 / var(--tw-bg-opacity));
@@ -947,9 +879,6 @@
947
879
  .e-p-1{
948
880
  padding: 0.25rem;
949
881
  }
950
- .e-p-1\.5{
951
- padding: 0.375rem;
952
- }
953
882
  .e-p-2{
954
883
  padding: 0.5rem;
955
884
  }
@@ -974,10 +903,6 @@
974
903
  padding-left: 1rem;
975
904
  padding-right: 1rem;
976
905
  }
977
- .e-py-\[\.2rem\]{
978
- padding-top: .2rem;
979
- padding-bottom: .2rem;
980
- }
981
906
  .e-pb-2{
982
907
  padding-bottom: 0.5rem;
983
908
  }
@@ -1044,9 +969,6 @@
1044
969
  .e-font-semibold{
1045
970
  font-weight: 600;
1046
971
  }
1047
- .e-leading-3{
1048
- line-height: .75rem;
1049
- }
1050
972
  .e-leading-6{
1051
973
  line-height: 1.5rem;
1052
974
  }
@@ -1062,18 +984,10 @@
1062
984
  --tw-text-opacity: 1;
1063
985
  color: rgb(96 165 250 / var(--tw-text-opacity));
1064
986
  }
1065
- .e-text-gray-100{
1066
- --tw-text-opacity: 1;
1067
- color: rgb(243 244 246 / var(--tw-text-opacity));
1068
- }
1069
987
  .e-text-gray-700{
1070
988
  --tw-text-opacity: 1;
1071
989
  color: rgb(55 65 81 / var(--tw-text-opacity));
1072
990
  }
1073
- .e-text-gray-900{
1074
- --tw-text-opacity: 1;
1075
- color: rgb(17 24 39 / var(--tw-text-opacity));
1076
- }
1077
991
  .e-text-green-500{
1078
992
  --tw-text-opacity: 1;
1079
993
  color: rgb(34 197 94 / var(--tw-text-opacity));
@@ -1122,11 +1036,6 @@
1122
1036
  .e-underline-offset-8{
1123
1037
  text-underline-offset: 8px;
1124
1038
  }
1125
- .e-shadow{
1126
- --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
1127
- --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
1128
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1129
- }
1130
1039
  .e-shadow-lg{
1131
1040
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
1132
1041
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
@@ -1204,26 +1113,6 @@
1204
1113
  .e-outline-offset-8{
1205
1114
  outline-offset: 8px;
1206
1115
  }
1207
- .e-blur-video-poster{
1208
- --tw-blur: blur(32px);
1209
- filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
1210
- }
1211
- .e-transition{
1212
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
1213
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1214
- transition-duration: 150ms;
1215
- }
1216
- .e-transition-colors{
1217
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
1218
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1219
- transition-duration: 150ms;
1220
- }
1221
- .e-duration-200{
1222
- transition-duration: 200ms;
1223
- }
1224
- .e-ease-in-out{
1225
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1226
- }
1227
1116
  @media (min-width: 640px){
1228
1117
 
1229
1118
  .sm\:\!e-w-auto{
package/dist/tags.json CHANGED
@@ -68,6 +68,17 @@
68
68
  ],
69
69
  "description": ""
70
70
  },
71
+ "EVideoPlayer": {
72
+ "attributes": [
73
+ "sources",
74
+ "video-listeners",
75
+ "video-options",
76
+ "is-hls",
77
+ "streaming-token",
78
+ "is-live-view"
79
+ ],
80
+ "description": ""
81
+ },
71
82
  "ETimeline": {
72
83
  "attributes": [
73
84
  "events-groups",
@@ -145,14 +156,5 @@
145
156
  "more-text-with-placeholder"
146
157
  ],
147
158
  "description": ""
148
- },
149
- "EToggleSwitch": {
150
- "attributes": [
151
- "options",
152
- "color",
153
- "size",
154
- "default-value"
155
- ],
156
- "description": ""
157
159
  }
158
160
  }
@@ -2,7 +2,7 @@
2
2
  "$schema": "http://json.schemastore.org/web-types",
3
3
  "framework": "vue",
4
4
  "name": "@evercam/ui",
5
- "version": "0.0.55-beta.33",
5
+ "version": "0.0.55-beta.26",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "types-syntax": "typescript",
@@ -481,7 +481,65 @@
481
481
  },
482
482
  "description": "",
483
483
  "doc-url": "https://ui.evercam.io/",
484
- "attributes": null
484
+ "attributes": [
485
+ {
486
+ "name": "sources",
487
+ "doc-url": "https://www.npmjs.com/package/@evercam/ui",
488
+ "default": "undefined",
489
+ "value": {
490
+ "kind": "expression",
491
+ "type": [
492
+ "array",
493
+ "string"
494
+ ]
495
+ }
496
+ },
497
+ {
498
+ "name": "video-listeners",
499
+ "doc-url": "https://www.npmjs.com/package/@evercam/ui",
500
+ "default": "() => ({})",
501
+ "value": {
502
+ "kind": "expression",
503
+ "type": "object"
504
+ }
505
+ },
506
+ {
507
+ "name": "video-options",
508
+ "doc-url": "https://www.npmjs.com/package/@evercam/ui",
509
+ "default": "() => ({})",
510
+ "value": {
511
+ "kind": "expression",
512
+ "type": "object"
513
+ }
514
+ },
515
+ {
516
+ "name": "is-hls",
517
+ "doc-url": "https://www.npmjs.com/package/@evercam/ui",
518
+ "default": "false",
519
+ "value": {
520
+ "kind": "expression",
521
+ "type": "boolean"
522
+ }
523
+ },
524
+ {
525
+ "name": "streaming-token",
526
+ "doc-url": "https://www.npmjs.com/package/@evercam/ui",
527
+ "default": "",
528
+ "value": {
529
+ "kind": "expression",
530
+ "type": "string"
531
+ }
532
+ },
533
+ {
534
+ "name": "is-live-view",
535
+ "doc-url": "https://www.npmjs.com/package/@evercam/ui",
536
+ "default": "false",
537
+ "value": {
538
+ "kind": "expression",
539
+ "type": "boolean"
540
+ }
541
+ }
542
+ ]
485
543
  },
486
544
  {
487
545
  "name": "ETimeline",
@@ -504,7 +562,7 @@
504
562
  {
505
563
  "name": "x-axes-config",
506
564
  "doc-url": "https://www.npmjs.com/package/@evercam/ui",
507
- "default": "() => Mh",
565
+ "default": "() => _h",
508
566
  "value": {
509
567
  "kind": "expression",
510
568
  "type": "object"
@@ -1076,67 +1134,6 @@
1076
1134
  }
1077
1135
  }
1078
1136
  ]
1079
- },
1080
- {
1081
- "name": "EToggleSwitch",
1082
- "source": {
1083
- "module": "./src/components/EToggleSwitch.vue",
1084
- "symbol": "EToggleSwitch"
1085
- },
1086
- "description": "",
1087
- "doc-url": "https://ui.evercam.io/",
1088
- "attributes": [
1089
- {
1090
- "name": "options",
1091
- "doc-url": "https://www.npmjs.com/package/@evercam/ui",
1092
- "default": "undefined",
1093
- "value": {
1094
- "kind": "expression",
1095
- "type": "array"
1096
- }
1097
- },
1098
- {
1099
- "name": "color",
1100
- "doc-url": "https://www.npmjs.com/package/@evercam/ui",
1101
- "default": "brand",
1102
- "value": {
1103
- "kind": "expression",
1104
- "type": "string"
1105
- }
1106
- },
1107
- {
1108
- "name": "size",
1109
- "doc-url": "https://www.npmjs.com/package/@evercam/ui",
1110
- "default": "sm",
1111
- "value": {
1112
- "kind": "expression",
1113
- "type": "string"
1114
- }
1115
- },
1116
- {
1117
- "name": "default-value",
1118
- "doc-url": "https://www.npmjs.com/package/@evercam/ui",
1119
- "default": "null",
1120
- "value": {
1121
- "kind": "expression",
1122
- "type": [
1123
- "string",
1124
- "number",
1125
- "boolean"
1126
- ]
1127
- }
1128
- }
1129
- ]
1130
- },
1131
- {
1132
- "name": "EZoomable",
1133
- "source": {
1134
- "module": "./src/components/EZoomable.vue",
1135
- "symbol": "EZoomable"
1136
- },
1137
- "description": "",
1138
- "doc-url": "https://ui.evercam.io/",
1139
- "attributes": null
1140
1137
  }
1141
1138
  ],
1142
1139
  "attributes": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evercam/ui",
3
- "version": "0.0.55-beta.34",
3
+ "version": "0.0.55-beta.36",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "author": "Evercam - Constuction Cameras.",
@@ -1,34 +0,0 @@
1
- import Vue from "vue";
2
- import { Size } from '../types';
3
- export interface EToggleSwitchOption {
4
- title: string;
5
- value: any;
6
- }
7
- export type CssClassMap = Record<string, boolean>;
8
- type SizeClasses = {
9
- container: CssClassMap;
10
- button: CssClassMap;
11
- text: CssClassMap;
12
- };
13
- declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {
14
- value: any;
15
- }, {
16
- getButtonClasses(optionValue: any): {
17
- "e-bg-inherit": boolean;
18
- "e-bg-brand-600": boolean;
19
- "e-bg-gray-600": boolean;
20
- "e-bg-[#629efc] e-text-gray-900 e-font-normal": boolean;
21
- };
22
- handleClick(value: any): void;
23
- }, {
24
- sizeClasses: SizeClasses;
25
- containerClasses: CssClassMap;
26
- textClasses: CssClassMap;
27
- buttonBaseClasses: CssClassMap;
28
- }, {
29
- options: EToggleSwitchOption[];
30
- color: string;
31
- size: Size;
32
- defaultValue: string | number | boolean;
33
- }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
34
- export default _default;
@@ -1,73 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- ignorePointerEvents: {
3
- type: BooleanConstructor;
4
- default: boolean;
5
- };
6
- withOverlay: {
7
- type: BooleanConstructor;
8
- default: boolean;
9
- };
10
- disabled: {
11
- type: BooleanConstructor;
12
- default: boolean;
13
- };
14
- }, {}, {
15
- scale: number;
16
- minScale: number;
17
- maxScale: number;
18
- top: number;
19
- left: number;
20
- isPanning: boolean;
21
- panStart: {
22
- x: number;
23
- y: number;
24
- };
25
- isPinching: boolean;
26
- previousPinchDistance: number;
27
- pinchDistance: number;
28
- pointers: {};
29
- transform: string;
30
- }, {
31
- contentStyle(): {
32
- transform: string;
33
- };
34
- isZoomed(): boolean;
35
- }, {
36
- updateZoomScale(): void;
37
- handleZoom(e: any): void;
38
- handleMouseDown(e: any): void;
39
- handleMouseUp(): void;
40
- handleMouseLeave(): void;
41
- handleMouseMove(e: any): void;
42
- applyBoundsCorrection(): void;
43
- updateTransform(): void;
44
- getPointersDistance(a: any, b: any): number;
45
- getPointersMidPoint(a: any, b: any): {
46
- x: any;
47
- y: any;
48
- };
49
- updatePointerEvent(e: any): void;
50
- clearPointerEvent(e: any): void;
51
- updatePinchDistance(): void;
52
- handlePointerDown(e: any): void;
53
- handlePointerMove(e: any): void;
54
- handlePointerUp(e: any): void;
55
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
56
- ignorePointerEvents: {
57
- type: BooleanConstructor;
58
- default: boolean;
59
- };
60
- withOverlay: {
61
- type: BooleanConstructor;
62
- default: boolean;
63
- };
64
- disabled: {
65
- type: BooleanConstructor;
66
- default: boolean;
67
- };
68
- }>>, {
69
- ignorePointerEvents: boolean;
70
- withOverlay: boolean;
71
- disabled: boolean;
72
- }>;
73
- export default _default;