inventive-ui 0.0.5 → 0.0.6

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/dist/index.js CHANGED
@@ -190,7 +190,7 @@ var BANNER_COMPACT = [
190
190
  var FULL_BANNER_WIDTH = 101;
191
191
  function resolveCliVersion() {
192
192
  try {
193
- return true ? "0.0.5" : "1.0.0";
193
+ return true ? "0.0.6" : "1.0.0";
194
194
  } catch {
195
195
  return "1.0.0";
196
196
  }
@@ -1966,6 +1966,7 @@ var BUILD_BLOCK = ` /**
1966
1966
  packageSafelist: false,
1967
1967
  includeShadeMatrix: false,
1968
1968
  includeThemePresets: true,
1969
+ includeThemeGrayScale: true,
1969
1970
  resolvePalettePatterns: true,
1970
1971
  includeArbitraryScan: true,
1971
1972
  writeFiles: false,
@@ -1978,6 +1979,7 @@ var BUILD_DEFAULT_ENTRIES = [
1978
1979
  ["packageSafelist", "false"],
1979
1980
  ["includeShadeMatrix", "false"],
1980
1981
  ["includeThemePresets", "true"],
1982
+ ["includeThemeGrayScale", "true"],
1981
1983
  ["resolvePalettePatterns", "true"],
1982
1984
  ["includeArbitraryScan", "true"],
1983
1985
  ["writeFiles", "false"],
@@ -7827,6 +7829,11 @@ function checkCompileFirstReadiness(cwd = process.cwd(), _options = {}) {
7827
7829
  if (!/includeThemePresets\s*:\s*true/.test(configContent)) {
7828
7830
  warnings.push("iui.config.ts build.includeThemePresets should be true");
7829
7831
  }
7832
+ if (!/includeThemeGrayScale\s*:\s*true/.test(configContent)) {
7833
+ warnings.push(
7834
+ "iui.config.ts build.includeThemeGrayScale should be true (pre-expand theme gray gray-2\u202698 utilities)"
7835
+ );
7836
+ }
7830
7837
  if (!/resolvePalettePatterns\s*:\s*true/.test(configContent)) {
7831
7838
  warnings.push("iui.config.ts build.resolvePalettePatterns should be true");
7832
7839
  }
@@ -8621,7 +8628,7 @@ async function updateCommand(opts = {}) {
8621
8628
  const auth = await ensureAuthSession();
8622
8629
  await ensureLicenseSession();
8623
8630
  const inProject = isInsideProject();
8624
- const currentCliVersion = true ? "0.0.5" : "unknown";
8631
+ const currentCliVersion = true ? "0.0.6" : "unknown";
8625
8632
  const latestCliVersion = await fetchLatestCliVersion(auth.token);
8626
8633
  const cliUpdateAvailable = latestCliVersion !== null && isVersionGreater(latestCliVersion, currentCliVersion);
8627
8634
  if (latestCliVersion && cliUpdateAvailable) {
@@ -8903,7 +8910,7 @@ var AUTH_EXEMPT_COMMANDS = /* @__PURE__ */ new Set([
8903
8910
  "doctor",
8904
8911
  "list"
8905
8912
  ]);
8906
- program.name("iui").description("The official CLI for the Inventive UI Design System").version(true ? "0.0.5" : "1.0.0").option("-C, --cwd <dir>", "Run as if started in the given directory").option("-q, --quiet", "Minimal output (also respects IUI_QUIET=1)").option("--no-color", "Disable ANSI colors");
8913
+ program.name("iui").description("The official CLI for the Inventive UI Design System").version(true ? "0.0.6" : "1.0.0").option("-C, --cwd <dir>", "Run as if started in the given directory").option("-q, --quiet", "Minimal output (also respects IUI_QUIET=1)").option("--no-color", "Disable ANSI colors");
8907
8914
  program.command("login").description("Authenticate with GitHub and link your license").option("-f, --force", "Force re-authentication and register this device").option("--bootstrap", "After login, run optional setup prompts").action((opts) => loginCommand(opts));
8908
8915
  program.command("logout").description("Remove stored credentials").action(logoutCommand);
8909
8916
  program.command("whoami").description("Show authenticated identity and license details").action(whoamiCommand);