@florid-kit/components 3.2.20 → 3.2.22
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/components/dots.mjs +10 -10
- package/components/thumbnail-navigation.d.ts +1 -0
- package/components/thumbnail-navigation.mjs +1 -1
- package/index.mjs +1 -1
- package/loader.mjs +1 -1
- package/package.json +1 -1
package/components/dots.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { i
|
|
2
|
-
var u = Object.getOwnPropertyDescriptor, v = (
|
|
3
|
-
for (var r = c > 1 ? void 0 : c ? u(a,
|
|
4
|
-
(n =
|
|
1
|
+
import { i, m as d, a as l, x as p, t as h } from "../performance-mixin-D7YmSeqN.mjs";
|
|
2
|
+
var u = Object.getOwnPropertyDescriptor, v = (e, a, s, c) => {
|
|
3
|
+
for (var r = c > 1 ? void 0 : c ? u(a, s) : a, o = e.length - 1, n; o >= 0; o--)
|
|
4
|
+
(n = e[o]) && (r = n(r) || r);
|
|
5
5
|
return r;
|
|
6
6
|
};
|
|
7
|
-
let
|
|
7
|
+
let t = class extends d(l) {
|
|
8
8
|
render() {
|
|
9
|
-
return p` <span class="dots"></span> `;
|
|
9
|
+
return p` <span class="dots"></span><slot></slot> `;
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
t.styles = i`
|
|
13
13
|
:host {
|
|
14
14
|
display: flex;
|
|
15
15
|
align-items: center;
|
|
@@ -52,9 +52,9 @@ e.styles = s`
|
|
|
52
52
|
background-color: var(--color-container-action-primary-pressed);
|
|
53
53
|
}
|
|
54
54
|
`;
|
|
55
|
-
|
|
55
|
+
t = v([
|
|
56
56
|
h("o-dots")
|
|
57
|
-
],
|
|
57
|
+
], t);
|
|
58
58
|
export {
|
|
59
|
-
|
|
59
|
+
t as OccitaneDots
|
|
60
60
|
};
|
|
@@ -3,6 +3,7 @@ import { LitElement } from 'lit';
|
|
|
3
3
|
type ThumbnailItem = {
|
|
4
4
|
src: string;
|
|
5
5
|
type?: "image" | "video";
|
|
6
|
+
alt?: string;
|
|
6
7
|
};
|
|
7
8
|
declare const ThumbnailNavigation_base: import('../behaviors/mixin').MixinReturn<typeof LitElement>;
|
|
8
9
|
export declare class ThumbnailNavigation extends ThumbnailNavigation_base {
|
|
@@ -75,7 +75,7 @@ let r = class extends h(p) {
|
|
|
75
75
|
return d`
|
|
76
76
|
<ul class="scroll-container" style="max-width: ${this.maxWidth};">
|
|
77
77
|
${this.thumbnails.map((t, e) => {
|
|
78
|
-
const o = this.disabledIndexes.includes(e), i = this.activeIndex === e, s = t.type === "video", l = s ? `video ${e}` : `${this.altressource} ${e + 1}
|
|
78
|
+
const o = this.disabledIndexes.includes(e), i = this.activeIndex === e, s = t.type === "video", l = t.alt || (s ? `video ${e}` : `${this.altressource} ${e + 1}`);
|
|
79
79
|
return d`
|
|
80
80
|
<li class="thumb-wrapper">
|
|
81
81
|
<button
|
package/index.mjs
CHANGED
package/loader.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import "./components/link.mjs";
|
|
|
4
4
|
import "./components/header-simplify.mjs";
|
|
5
5
|
import "./components/breadcrumb.mjs";
|
|
6
6
|
import "./components/breadcrumbs.mjs";
|
|
7
|
-
globalThis.__FLORID_KIT__ = "3.2.
|
|
7
|
+
globalThis.__FLORID_KIT__ = "3.2.22";
|
|
8
8
|
const i = {
|
|
9
9
|
"o-accordion": () => import("./components/accordion.mjs"),
|
|
10
10
|
"o-accordion-group": () => import("./components/accordion-group.mjs"),
|