@submitium/badges 1.1.0 → 1.1.1

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/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as verifySignedWall, c as REL_TOKENS, d as WALL_VERSION, f as parseWall, i as isSignedWall, l as THEMES, n as fetchWall, o as ATTRIBUTIONS, r as SUBMITIUM_PUBLIC_KEYS, s as LIMITS, t as DEFAULT_API_URL, u as VARIANTS } from "./client-x4bD7iXW.js";
2
- import { a as TAGS, c as styleText, i as ATTRS, n as EMPTY_TEXT, o as attrsOf, r as layoutWall, s as cssOf, t as ATTRIBUTION_URL } from "./layout-DOI7sqk6.js";
2
+ import { a as TAGS, c as styleText, i as ATTRS, n as EMPTY_TEXT, o as attrsOf, r as layoutWall, s as cssOf, t as ATTRIBUTION_URL } from "./layout-cMiQ5rSW.js";
3
3
  //#region src/html.ts
4
4
  const VOID = /* @__PURE__ */ new Set([
5
5
  "img",
@@ -186,8 +186,8 @@ function windowFormat({ movers, badge }) {
186
186
  const EMPTY_TEXT = "Directory badges will appear here as this product gets listed.";
187
187
  const CSS_EMPTY = `.sbm-ph{position:relative;flex:1 1 260px;width:260px;min-width:0;max-width:520px;height:${H}px;overflow:hidden;${mask(40)}}.sbm-col .sbm-ph{flex:none;width:320px;max-width:100%}.sbm-pt{display:flex;width:max-content;height:100%;align-items:center;animation:sbm-pe 18s linear infinite}.sbm-pt span{padding-right:48px;white-space:nowrap;opacity:.7}@keyframes sbm-pe{from{transform:translateX(0)}to{transform:translateX(-50%)}}.sbm:hover .sbm-pt,.sbm:focus-within .sbm-pt{animation-play-state:paused}@media (prefers-reduced-motion:reduce){.sbm-ph{width:auto;height:auto;${NO_MASK}}.sbm-pt{width:auto;animation:none}.sbm-pt span{white-space:normal;padding:0}.sbm-pt span+span{display:none}}`;
188
188
  const LAYOUT_CSS = {
189
- ribbon: ".sbm-ribbon{container-type:inline-size;flex:1 1 260px;width:100%;min-width:0}.sbm-bar{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;font-size:12px}@container (max-width:520px){.sbm-lb{display:none}.sbm-w{flex-basis:100%}}",
190
- window: ".sbm-col{display:flex;flex-direction:column;align-items:flex-start;gap:10px;font-size:12px}"
189
+ ribbon: ".sbm-ribbon{container-type:inline-size;width:100%;min-width:0}.sbm-bar{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;font-size:12px}@container (max-width:520px){.sbm-lb{display:none}.sbm-w{flex-basis:100%}}",
190
+ window: ".sbm-window{min-width:0;max-width:100%}.sbm-col{display:flex;flex-direction:column;align-items:flex-start;gap:10px;font-size:12px}"
191
191
  };
192
192
  const MARK_PATHS = [["#4432F4", "M20 1l-1 1 0 2 6 27 1 1 2 0 1 0 6-12 12-2 1-2-1-1-11-6-14-8-2 0zM39 22l-2 0-7 11-2 1-2 0-2-1-3-11-14 8-1 1 2 2 20 10 3 1 2 0 23-11 2-2-1-1-15-9-3 1z"], ["#CAC9FD", "M11 37l-5 3 0 1 1 0 25 13 2-1 18-9 5-2 1-2-1-1-5-2-19 9-1 1-21-10zM10 47l-4 1 0 2 1 1 25 12 2 0 9-5 13-7 2-1 0-2-2 0-4-2-17 9-3 1-20-10-2 1z"]];
193
193
  function attributionNode(rel) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@submitium/badges",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "The Submitium badge wall: a signed, checked wall rendered as plain links and images. React, Vue, Svelte, Astro.",
5
5
  "license": "MIT",
6
6
  "author": "Submitium <contact@submitium.com>",
package/react.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { n as fetchWall } from "./client-x4bD7iXW.js";
2
- import { a as TAGS, o as attrsOf, r as layoutWall, s as cssOf } from "./layout-DOI7sqk6.js";
2
+ import { a as TAGS, o as attrsOf, r as layoutWall, s as cssOf } from "./layout-cMiQ5rSW.js";
3
3
  import { createElement } from "react";
4
4
  //#region src/react.tsx
5
5
  /** React's names for the attributes React spells differently. */
package/vue.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as TAGS, o as attrsOf, r as layoutWall, s as cssOf } from "./layout-DOI7sqk6.js";
1
+ import { a as TAGS, o as attrsOf, r as layoutWall, s as cssOf } from "./layout-cMiQ5rSW.js";
2
2
  import { defineComponent, h } from "vue";
3
3
  //#region src/vue.ts
4
4
  function toVue(node) {