@selectwin/kit 0.1.166 → 0.1.167

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.
@@ -7,5 +7,10 @@ export interface SelectBrandIconProps {
7
7
  size?: number;
8
8
  /** O rótulo para leitor de tela; `null` esconde (quando o nome já está escrito ao lado). */
9
9
  label?: string | null;
10
+ /**
11
+ * Só a marca, sem o quadrado branco (0.1.167) — para quando quem chama já desenha a moldura (as
12
+ * marcas empilhadas do SelectMarkStack, um círculo branco). O Snapchat leva o círculo amarelo dele.
13
+ */
14
+ bare?: boolean;
10
15
  }
11
- export declare function SelectBrandIcon({ brand, size, label }: SelectBrandIconProps): import("react").JSX.Element;
16
+ export declare function SelectBrandIcon({ brand, size, label, bare }: SelectBrandIconProps): import("react").JSX.Element;
package/dist/index.js CHANGED
@@ -5459,14 +5459,14 @@ function pi({ brand: e }) {
5459
5459
  });
5460
5460
  }
5461
5461
  }
5462
- function mi({ brand: e, size: t = 32, label: n }) {
5463
- let r = n === void 0 ? fi[e] : n;
5462
+ function mi({ brand: e, size: t = 32, label: n, bare: r = !1 }) {
5463
+ let i = n === void 0 ? fi[e] : n;
5464
5464
  return /* @__PURE__ */ h("span", {
5465
- className: `select-brandicon select-brandicon--${e}`,
5465
+ className: `select-brandicon select-brandicon--${e}${r ? " select-brandicon--bare" : ""}`,
5466
5466
  style: { "--select-brandicon-size": `${t}px` },
5467
- ...r ? {
5467
+ ...i ? {
5468
5468
  role: "img",
5469
- "aria-label": r
5469
+ "aria-label": i
5470
5470
  } : { "aria-hidden": !0 },
5471
5471
  children: /* @__PURE__ */ h(pi, { brand: e })
5472
5472
  });