@brucesantos/design-space 0.9.1 → 0.9.3

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.
@@ -27,8 +27,8 @@ export type PanelProps = {
27
27
  };
28
28
  export declare function Panel(props: PanelProps): import("react").JSX.Element;
29
29
  /**
30
- * Até quatro opções curtas cabem como botões segmentados na largura do painel;
31
- * acima disso, um select.
30
+ * Mantido por compatibilidade com a 0.9.0: o painel passou a usar select para
31
+ * todo controle.
32
32
  */
33
33
  export declare function isSegmentedControl(control: Control): boolean;
34
34
  /** Cmd/Ctrl+F: o filtro do painel no lugar da busca do navegador. */
@@ -2,7 +2,7 @@
2
2
  * Ícones do chrome: traço simples, `currentColor`, 16px. Sem texto, sem cor.
3
3
  * Todo ícone é decorativo; o nome acessível fica no botão que o contém.
4
4
  */
5
- export type IconName = "mobile" | "tablet" | "desktop" | "fit" | "rotate" | "minus" | "plus" | "link" | "check" | "fullscreen" | "sun" | "moon" | "panel" | "alert" | "chevron" | "search" | "copy";
5
+ export type IconName = "mobile" | "tablet" | "desktop" | "fit" | "rotate" | "minus" | "plus" | "link" | "arrow-up-right" | "check" | "fullscreen" | "sun" | "moon" | "panel" | "alert" | "chevron" | "search" | "copy";
6
6
  export declare function Icon({ name, size }: {
7
7
  name: IconName;
8
8
  size?: number;
@@ -49,6 +49,7 @@ export type Labels = {
49
49
  infoTab: string;
50
50
  resize: string;
51
51
  variationsList: string;
52
+ componentVariations: string;
52
53
  defaultVariation: string;
53
54
  defaultVariationHint: string;
54
55
  noVariations: string;
package/dist/testing.js CHANGED
@@ -1,4 +1,4 @@
1
- import { F as s, v as t, z as i, y as a, j as n } from "./index-Bj69Oe2X.js";
1
+ import { o as s, v as t, A as i, z as a, k as n } from "./index-BnTStnNk.js";
2
2
  function c(o = "http://localhost:5173") {
3
3
  const r = typeof process < "u" ? process.env : {};
4
4
  return (r.PREVIEW_URL || r.BASE_URL || o).replace(/\/$/, "");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brucesantos/design-space",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
4
4
  "description": "Motor neutro do Bananas Design Space: telas como rotas com variações, catálogo de componentes, chrome em preto e branco com a UI do produto num iframe, deep links e controles de persona/viewport/rede. Não contém UI de cliente.",
5
5
  "type": "module",
6
6
  "license": "MIT",