@conboai/storybook.components 0.2.25 → 0.2.28

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.
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+
3
+ interface IMetroMap {
4
+ svg: string;
5
+ selectedCluster: string;
6
+ minor?: string[];
7
+ major?: string[];
8
+ onSelect?: (clusterId: string) => void;
9
+ }
10
+ declare function MetroMap({ svg, onSelect, selectedCluster, minor, major }: IMetroMap): React.JSX.Element;
11
+ export default MetroMap;
@@ -0,0 +1,3 @@
1
+ declare function extractPrefix(inputString: string, prefix: string): string;
2
+ declare const parseSvg: (svg: string) => Promise<any>;
3
+ export { parseSvg, extractPrefix };
@@ -0,0 +1 @@
1
+ export { default as MetroMap } from './MetroMap';
@@ -0,0 +1,3 @@
1
+ declare const mockedMinor: string[];
2
+ declare const mockedMajor: string[];
3
+ export { mockedMinor, mockedMajor };
@@ -41094,7 +41094,7 @@ const Ny = {
41094
41094
  opacity: t ? 1 : 0
41095
41095
  }
41096
41096
  }), pB = {
41097
- width: "100%",
41097
+ width: "auto",
41098
41098
  paddingLeft: "4px",
41099
41099
  "& .MuiInputBase-root": {
41100
41100
  color: un,
@@ -41140,8 +41140,9 @@ const Ny = {
41140
41140
  justifyContent: "space-between",
41141
41141
  alignItems: "center",
41142
41142
  flexWrap: "nowrap",
41143
- maxWidth: "120px",
41144
- minWidth: l ? "100px" : "0",
41143
+ width: l ? "200px" : "auto",
41144
+ maxWidth: "250px",
41145
+ minWidth: l ? "120px" : "0",
41145
41146
  gap: "6px",
41146
41147
  children: [
41147
41148
  /* @__PURE__ */ x.jsx(nt, { sx: b }),
@@ -41541,7 +41542,7 @@ function kB(t, e) {
41541
41542
  "error"
41542
41543
  );
41543
41544
  try {
41544
- ui.log(`Debug logs enabled for "${e}" in hls.js version 1.5.10`);
41545
+ ui.log(`Debug logs enabled for "${e}" in hls.js version 1.5.11`);
41545
41546
  } catch {
41546
41547
  ui = Ru;
41547
41548
  }
@@ -44724,7 +44725,7 @@ class Hj {
44724
44725
  if (I !== p && I >= g && I <= m && f[I].loadError === 0) {
44725
44726
  var l, c;
44726
44727
  const k = f[I];
44727
- if (u === pe.FRAG_GAP && e.frag) {
44728
+ if (u === pe.FRAG_GAP && h === qe.MAIN && e.frag) {
44728
44729
  const $ = f[I].details;
44729
44730
  if ($) {
44730
44731
  const A = yl(e.frag, $.fragments, e.frag.start);
@@ -51422,7 +51423,7 @@ class t5 extends cf {
51422
51423
  // If something goes wrong, proceed to next frag, if we were processing one.
51423
51424
  onError(e, n) {
51424
51425
  const r = n.frag;
51425
- (r == null ? void 0 : r.type) === qe.SUBTITLE && (this.fragCurrent && this.fragCurrent.abortRequests(), this.state !== Se.STOPPED && (this.state = Se.IDLE));
51426
+ (r == null ? void 0 : r.type) === qe.SUBTITLE && (n.details === pe.FRAG_GAP && this.fragmentTracker.fragBuffered(r, !0), this.fragCurrent && this.fragCurrent.abortRequests(), this.state !== Se.STOPPED && (this.state = Se.IDLE));
51426
51427
  }
51427
51428
  // Got all new subtitle levels.
51428
51429
  onSubtitleTracksUpdated(e, {
@@ -57623,7 +57624,7 @@ class yr {
57623
57624
  * Get the video-dev/hls.js package version.
57624
57625
  */
57625
57626
  static get version() {
57626
- return "1.5.10";
57627
+ return "1.5.11";
57627
57628
  }
57628
57629
  /**
57629
57630
  * Check if the required MediaSource Extensions are available.
@@ -58519,7 +58520,7 @@ function w4({ label: t, imageSrc: e, onClick: n }) {
58519
58520
  flexDirection: "row",
58520
58521
  justifyContent: "space-between",
58521
58522
  borderBottom: `1px solid ${cd}`,
58522
- padding: "20px",
58523
+ padding: "20px 20px 12px",
58523
58524
  paddingRight: 0,
58524
58525
  children: [
58525
58526
  /* @__PURE__ */ x.jsxs(nt, { display: "flex", flexDirection: "row", alignItems: "center", children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conboai/storybook.components",
3
- "version": "0.2.25",
3
+ "version": "0.2.28",
4
4
  "main": "dist/storybook.components.mjs",
5
5
  "types": "dist/build/index.d.ts",
6
6
  "files": [