@florid-kit/components 3.2.21 → 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.
@@ -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.21";
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.21";
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.21",
3
+ "version": "3.2.22",
4
4
  "main": "index.js",
5
5
  "module": "index.mjs",
6
6
  "typings": "index.d.ts",