@bridge-ds/core 0.15.0 → 0.17.0

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.
@@ -286,6 +286,11 @@
286
286
  "type": "string",
287
287
  "description": "Generated component specs (npm run specs) the Figma plugin pulls as component sets, repo-relative.",
288
288
  "default": "packages/react/component-specs.json"
289
+ },
290
+ "styles": {
291
+ "type": "array",
292
+ "items": { "type": "string", "minLength": 1 },
293
+ "description": "Global stylesheets that ship with the library (base styles, theme), as repo-relative globs. Their var(--token) reads count as token usage. Default: every .css file under the styles/ and theme/ folders next to dir."
289
294
  }
290
295
  }
291
296
  },
@@ -1,6 +1,6 @@
1
- import { i as isAuditable, a as auditFile } from "../report-DCPfvvoq.js";
2
- import { A, b, c, C, D, d, F, I, L, e, M, N, f, g, h, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, B, E, G, H, J, K, O, P, Q, R, S, T, U, V, W, X, Y, Z } from "../report-DCPfvvoq.js";
3
- import { p as pieceId, a as proposedTokenPath, t as tokenLabel } from "../prod-branch-BjXFIz74.js";
1
+ import { i as isAuditable, a as auditFile } from "../report-DVEmUr0p.js";
2
+ import { A, b, c, C, D, d, F, I, L, e, M, N, f, g, h, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, B, E, G, H, J, K, O, P, Q, R, S, T, U, V, W, X, Y, Z } from "../report-DVEmUr0p.js";
3
+ import { p as pieceId, a as proposedTokenPath, t as tokenLabel } from "../prod-branch-DenQkr_e.js";
4
4
  const lines = (text) => text.split(/\r?\n/);
5
5
  function lineBag(text) {
6
6
  const bag = /* @__PURE__ */ new Map();
package/dist/config.d.ts CHANGED
@@ -84,6 +84,11 @@ export interface ComponentsConfig {
84
84
  index?: string | undefined;
85
85
  /** Generated component specs the Figma plugin pulls (default packages/react/component-specs.json). */
86
86
  specs?: string | undefined;
87
+ /**
88
+ * Global stylesheets that ship with the library (base styles, theme), as repo-relative globs. Their `var(--token)`
89
+ * reads count as token usage. Default: every .css file under the styles/ and theme/ folders next to `dir`.
90
+ */
91
+ styles?: string[] | undefined;
87
92
  }
88
93
  /**
89
94
  * Design and tech owners. Each entry is a person ("peterbono" or "@peterbono") or a GitHub team ("@acme/design"),
package/dist/index.d.ts CHANGED
@@ -60,6 +60,7 @@ export * from './token-proposal';
60
60
  export * from './figma-push';
61
61
  export * from './figma-push-github';
62
62
  export * from './suggestions';
63
+ export * from './titles';
63
64
  export * from './suggestion-review';
64
65
  export * from './suggestions-github';
65
66
  export * from './suggestion-apply';