@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.
@@ -1,15 +1,15 @@
1
- import { i as s, m as d, a as l, x as p, t as h } from "../performance-mixin-D7YmSeqN.mjs";
2
- var u = Object.getOwnPropertyDescriptor, v = (t, a, i, c) => {
3
- for (var r = c > 1 ? void 0 : c ? u(a, i) : a, o = t.length - 1, n; o >= 0; o--)
4
- (n = t[o]) && (r = n(r) || r);
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 e = class extends d(l) {
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
- e.styles = s`
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
- e = v([
55
+ t = v([
56
56
  h("o-dots")
57
- ], e);
57
+ ], t);
58
58
  export {
59
- e as OccitaneDots
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
@@ -38,4 +38,4 @@ import "./components/search-input.mjs";
38
38
  import "./components/search-input-dropdown.mjs";
39
39
  import "./components/option-tile.mjs";
40
40
  import "./components/option-tile-group.mjs";
41
- globalThis.__FLORID_KIT__ = "3.2.20";
41
+ globalThis.__FLORID_KIT__ = "3.2.22";
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.20";
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"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@florid-kit/components",
3
- "version": "3.2.20",
3
+ "version": "3.2.22",
4
4
  "main": "index.js",
5
5
  "module": "index.mjs",
6
6
  "typings": "index.d.ts",