lido-player 0.0.2-alpha-8 → 0.0.2-alpha-9
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/cjs/index.cjs.js +1 -1
- package/dist/cjs/lido-avatar_13.cjs.entry.js +17 -5
- package/dist/cjs/lido-avatar_13.cjs.entry.js.map +1 -1
- package/dist/cjs/lido-player.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-1697a6b5.js → utils-0bfc0d99.js} +28 -2
- package/dist/cjs/utils-0bfc0d99.js.map +1 -0
- package/dist/collection/components/column/lido-col.js +57 -2
- package/dist/collection/components/column/lido-col.js.map +1 -1
- package/dist/collection/components/root/assets/xmlData.xml +95 -89
- package/dist/collection/components/row/lido-row.css +1 -1
- package/dist/collection/components/row/lido-row.js +57 -2
- package/dist/collection/components/row/lido-row.js.map +1 -1
- package/dist/collection/components/wrap/lido-wrap.js +57 -2
- package/dist/collection/components/wrap/lido-wrap.js.map +1 -1
- package/dist/collection/utils/utils.js +26 -1
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/lido-avatar.js +1 -1
- package/dist/components/lido-col.js +1 -1
- package/dist/components/lido-container.js +1 -1
- package/dist/components/lido-home.js +1 -1
- package/dist/components/lido-image.js +1 -1
- package/dist/components/lido-pos.js +1 -1
- package/dist/components/lido-root.js +11 -11
- package/dist/components/lido-row.js +1 -1
- package/dist/components/lido-shape.js +1 -1
- package/dist/components/lido-text.js +1 -1
- package/dist/components/lido-trace.js +1 -1
- package/dist/components/lido-wrap.js +1 -1
- package/dist/components/{p-e6122599.js → p-07c4c7a8.js} +2 -2
- package/dist/components/{p-e6122599.js.map → p-07c4c7a8.js.map} +1 -1
- package/dist/components/{p-3480a7c0.js → p-150a988b.js} +2 -2
- package/dist/components/{p-3480a7c0.js.map → p-150a988b.js.map} +1 -1
- package/dist/components/{p-ca70ca24.js → p-2d82c05d.js} +2 -2
- package/dist/components/{p-ca70ca24.js.map → p-2d82c05d.js.map} +1 -1
- package/dist/components/{p-3bc100c1.js → p-47a388b8.js} +28 -3
- package/dist/components/p-47a388b8.js.map +1 -0
- package/dist/components/{p-9770a2f4.js → p-765eb507.js} +11 -4
- package/dist/components/p-765eb507.js.map +1 -0
- package/dist/components/{p-e60bca47.js → p-77b5d492.js} +2 -2
- package/dist/components/{p-e60bca47.js.map → p-77b5d492.js.map} +1 -1
- package/dist/components/{p-ce503b4f.js → p-9dec3477.js} +12 -5
- package/dist/components/p-9dec3477.js.map +1 -0
- package/dist/components/{p-478edfe0.js → p-c43e1474.js} +2 -2
- package/dist/components/{p-478edfe0.js.map → p-c43e1474.js.map} +1 -1
- package/dist/components/{p-c6e1e344.js → p-d7f8dde4.js} +12 -12
- package/dist/components/{p-c6e1e344.js.map → p-d7f8dde4.js.map} +1 -1
- package/dist/components/{p-e1f46793.js → p-e47465e7.js} +2 -2
- package/dist/components/{p-e1f46793.js.map → p-e47465e7.js.map} +1 -1
- package/dist/components/{p-d00a96d0.js → p-efa782df.js} +2 -2
- package/dist/components/{p-d00a96d0.js.map → p-efa782df.js.map} +1 -1
- package/dist/components/{p-39529ce4.js → p-f0042795.js} +11 -4
- package/dist/components/p-f0042795.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/lido-avatar_13.entry.js +17 -5
- package/dist/esm/lido-avatar_13.entry.js.map +1 -1
- package/dist/esm/lido-player.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-4f7c3168.js → utils-bbe0dd46.js} +28 -3
- package/dist/esm/utils-bbe0dd46.js.map +1 -0
- package/dist/lido-player/assets/xmlData.xml +95 -89
- package/dist/lido-player/index.esm.js +1 -1
- package/dist/lido-player/lido-player.esm.js +1 -1
- package/dist/lido-player/lido-player.esm.js.map +1 -1
- package/dist/lido-player/p-8f9afedc.entry.js +2 -0
- package/dist/lido-player/p-8f9afedc.entry.js.map +1 -0
- package/dist/lido-player/p-e9f4fd22.js +2 -0
- package/dist/lido-player/p-e9f4fd22.js.map +1 -0
- package/dist/types/components/column/lido-col.d.ts +15 -0
- package/dist/types/components/row/lido-row.d.ts +15 -0
- package/dist/types/components/wrap/lido-wrap.d.ts +15 -0
- package/dist/types/components.d.ts +72 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/utils-1697a6b5.js.map +0 -1
- package/dist/components/p-39529ce4.js.map +0 -1
- package/dist/components/p-3bc100c1.js.map +0 -1
- package/dist/components/p-9770a2f4.js.map +0 -1
- package/dist/components/p-ce503b4f.js.map +0 -1
- package/dist/esm/utils-4f7c3168.js.map +0 -1
- package/dist/lido-player/p-c35ed209.js +0 -2
- package/dist/lido-player/p-c35ed209.js.map +0 -1
- package/dist/lido-player/p-fc5b9e28.entry.js +0 -2
- package/dist/lido-player/p-fc5b9e28.entry.js.map +0 -1
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-0d28e716.js');
|
|
6
|
-
const utils = require('./utils-
|
|
6
|
+
const utils = require('./utils-0bfc0d99.js');
|
|
7
7
|
|
|
8
8
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
9
9
|
|
|
@@ -6619,6 +6619,9 @@ const LidoCol = class {
|
|
|
6619
6619
|
this.onInCorrect = undefined;
|
|
6620
6620
|
this.onCorrect = undefined;
|
|
6621
6621
|
this.onEntry = undefined;
|
|
6622
|
+
this.childElementsLength = undefined;
|
|
6623
|
+
this.minLength = undefined;
|
|
6624
|
+
this.maxLength = undefined;
|
|
6622
6625
|
}
|
|
6623
6626
|
/**
|
|
6624
6627
|
* This lifecycle hook is called after the component is rendered in the DOM.
|
|
@@ -6626,6 +6629,7 @@ const LidoCol = class {
|
|
|
6626
6629
|
*/
|
|
6627
6630
|
componentDidLoad() {
|
|
6628
6631
|
utils.initEventsForElement(this.el, this.type);
|
|
6632
|
+
utils.handlingChildElements(this.el, this.minLength, this.maxLength, this.childElementsLength, "flex");
|
|
6629
6633
|
}
|
|
6630
6634
|
render() {
|
|
6631
6635
|
// Inline styles applied to the column, mainly for positioning and background.
|
|
@@ -6638,7 +6642,7 @@ const LidoCol = class {
|
|
|
6638
6642
|
display: this.visible ? 'flex' : 'none',
|
|
6639
6643
|
zIndex: this.z,
|
|
6640
6644
|
};
|
|
6641
|
-
return (index.h(index.Host, { key: '
|
|
6645
|
+
return (index.h(index.Host, { key: 'a91a0219b86fca7c5b979ba19451d554c12e3236', id: this.id, class: "lido-col", type: this.type, tabindex: this.tabIndex, value: this.value, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("slot", { key: 'dc46259db21b1675e4e2595312d539df66931fd3' })));
|
|
6642
6646
|
}
|
|
6643
6647
|
get el() { return index.getElement(this); }
|
|
6644
6648
|
};
|
|
@@ -7162,7 +7166,7 @@ const LidoRoot = class {
|
|
|
7162
7166
|
static get assetsDirs() { return ["assets"]; }
|
|
7163
7167
|
};
|
|
7164
7168
|
|
|
7165
|
-
const lidoRowCss = ".lido-row{display:flex;justify-content:space-
|
|
7169
|
+
const lidoRowCss = ".lido-row{display:flex;justify-content:space-around;align-items:center;}.lido-row>*{}";
|
|
7166
7170
|
const LidoRowStyle0 = lidoRowCss;
|
|
7167
7171
|
|
|
7168
7172
|
const LidoRow = class {
|
|
@@ -7185,6 +7189,9 @@ const LidoRow = class {
|
|
|
7185
7189
|
this.onInCorrect = undefined;
|
|
7186
7190
|
this.onCorrect = undefined;
|
|
7187
7191
|
this.onEntry = undefined;
|
|
7192
|
+
this.childElementsLength = undefined;
|
|
7193
|
+
this.minLength = undefined;
|
|
7194
|
+
this.maxLength = undefined;
|
|
7188
7195
|
}
|
|
7189
7196
|
/**
|
|
7190
7197
|
* Lifecycle hook that runs after the component is loaded into the DOM.
|
|
@@ -7192,6 +7199,7 @@ const LidoRow = class {
|
|
|
7192
7199
|
*/
|
|
7193
7200
|
componentDidLoad() {
|
|
7194
7201
|
utils.initEventsForElement(this.el, this.type);
|
|
7202
|
+
utils.handlingChildElements(this.el, this.minLength, this.maxLength, this.childElementsLength, "flex");
|
|
7195
7203
|
}
|
|
7196
7204
|
render() {
|
|
7197
7205
|
// Inline styles to position and size the row component
|
|
@@ -7204,7 +7212,7 @@ const LidoRow = class {
|
|
|
7204
7212
|
zIndex: this.z,
|
|
7205
7213
|
backgroundColor: this.bgColor, // Apply background color if provided
|
|
7206
7214
|
};
|
|
7207
|
-
return (index.h(index.Host, { key: '
|
|
7215
|
+
return (index.h(index.Host, { key: '6b9543d3dea5b46f31b8709e6b2cbb4adac318fb', class: "lido-row", type: this.type, tabindex: this.tabIndex, value: this.value, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("slot", { key: '51412c74fad69cc788d673846410b9b45aeef62d' })));
|
|
7208
7216
|
}
|
|
7209
7217
|
get el() { return index.getElement(this); }
|
|
7210
7218
|
};
|
|
@@ -7827,6 +7835,9 @@ const LidoWrap = class {
|
|
|
7827
7835
|
this.onInCorrect = undefined;
|
|
7828
7836
|
this.onCorrect = undefined;
|
|
7829
7837
|
this.onEntry = undefined;
|
|
7838
|
+
this.childElementsLength = undefined;
|
|
7839
|
+
this.minLength = undefined;
|
|
7840
|
+
this.maxLength = undefined;
|
|
7830
7841
|
}
|
|
7831
7842
|
/**
|
|
7832
7843
|
* Lifecycle hook that runs after the component is rendered in the DOM.
|
|
@@ -7834,6 +7845,7 @@ const LidoWrap = class {
|
|
|
7834
7845
|
*/
|
|
7835
7846
|
componentDidLoad() {
|
|
7836
7847
|
utils.initEventsForElement(this.el, this.type);
|
|
7848
|
+
utils.handlingChildElements(this.el, this.minLength, this.maxLength, this.childElementsLength, "grid");
|
|
7837
7849
|
}
|
|
7838
7850
|
render() {
|
|
7839
7851
|
// Inline styles to position and size the wrap container, with grid layout applied
|
|
@@ -7846,7 +7858,7 @@ const LidoWrap = class {
|
|
|
7846
7858
|
zIndex: this.z,
|
|
7847
7859
|
backgroundColor: this.bgColor,
|
|
7848
7860
|
};
|
|
7849
|
-
return (index.h(index.Host, { key: '
|
|
7861
|
+
return (index.h(index.Host, { key: '917fef997c58f2590f803ae4641d10557def0a24', class: "lido-wrap", value: this.value, type: this.type, tabindex: this.tabIndex, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("slot", { key: '24b14fcac75fb78c960ee0a50aefb54145ff760b' })));
|
|
7850
7862
|
}
|
|
7851
7863
|
get el() { return index.getElement(this); }
|
|
7852
7864
|
};
|