@datarails-ai/dr-appspace-cli 0.12.7 → 0.12.9

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.
Files changed (2) hide show
  1. package/dist/cli.js +9 -14
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -13,7 +13,7 @@ import { fileURLToPath as fileURLToPath6 } from "url";
13
13
  // package.json
14
14
  var package_default = {
15
15
  name: "@datarails-ai/dr-appspace-cli",
16
- version: "0.12.7",
16
+ version: "0.12.9",
17
17
  description: "Datarails App Space CLI \u2014 build, try, push and publish App Space apps",
18
18
  type: "module",
19
19
  engines: {
@@ -57,7 +57,7 @@ var package_default = {
57
57
  };
58
58
 
59
59
  // src/buildInfo.ts
60
- var BUILD_TIME = "2026-10-13T11:28:57.721Z";
60
+ var BUILD_TIME = "2026-10-14T12:00:52.784Z";
61
61
  function formatBuildTime(iso) {
62
62
  if (iso === "") return "";
63
63
  const d = new Date(iso);
@@ -19835,14 +19835,7 @@ var THEME_TOKENS = {
19835
19835
  "--dr-surface": "#ffffff",
19836
19836
  "--dr-page": "#f1f3f7",
19837
19837
  "--dr-border": "#d8dde6",
19838
- "--dr-chart-1": "#4646ce",
19839
- "--dr-chart-2": "#29a397",
19840
- "--dr-chart-3": "#d9790c",
19841
- "--dr-chart-4": "#2597d0",
19842
- "--dr-chart-5": "#cb4d8c",
19843
- "--dr-chart-6": "#7e828e",
19844
- "--dr-chart-7": "#6f9429",
19845
- "--dr-chart-8": "#b45309"
19838
+ ...paletteTokens()
19846
19839
  },
19847
19840
  slate: {
19848
19841
  "--dr-accent": "#8b8beb",
@@ -19989,7 +19982,7 @@ function composeTheme(app, preset, record2) {
19989
19982
  record2(
19990
19983
  "theme.tokens",
19991
19984
  THEME_FILE3,
19992
- `${filled} palette token(s) filled from the "${preset}" preset, so the accent, all eight chart series, the surface, the page and the border are one coherent set`
19985
+ `${filled} palette token(s) filled from the "${preset}" preset, so the accent, every chart series, the surface, the page and the border are one coherent set`
19993
19986
  );
19994
19987
  }
19995
19988
  }
@@ -20865,6 +20858,7 @@ var CONTROL_KIND = "data-dr-control-kind";
20865
20858
  var CONTROL_BOXES = /* @__PURE__ */ new Set(["controls", "filters"]);
20866
20859
  var WIDGET_LIBRARY2 = /^vendor\/dr-widgets@\d+\.\d+\.\d+\/widgets\.js$/;
20867
20860
  var ASSISTANT_MODULE = /^vendor\/dr-insights@(\d+\.\d+\.\d+)\/(insights\.(?:css|js))$/;
20861
+ var UI_KITS = ["ui-kit/v3", "ui-kit/v4"];
20868
20862
  var WIDGET_ID = /^[a-z][a-z0-9_-]*$/;
20869
20863
  var REQUIRED_WIDGET_ATTRS = ["data-dr-widget-title", "data-dr-widget-description", "data-dr-widget-source"];
20870
20864
  var SPAN_MARK = "data-dr-span";
@@ -20961,7 +20955,8 @@ function checkPage2(app, page, kit) {
20961
20955
  });
20962
20956
  }
20963
20957
  const uiKit = `${kit.uiKit}/dr.css`;
20964
- if (!loads("link", "href", uiKit)) {
20958
+ const accepted = /* @__PURE__ */ new Set([kit.uiKit, ...UI_KITS]);
20959
+ if (![...accepted].some((version) => loads("link", "href", `${version}/dr.css`))) {
20965
20960
  violations.push({ rule: "R2.7", where: page.path, message: `${page.path} loads no stylesheet ${climb}${uiKit}; the grid, the card, the tab bar and every token come from it` });
20966
20961
  }
20967
20962
  const boxes = controlBoxes(page.text);
@@ -27133,9 +27128,9 @@ var kit_default = {
27133
27128
  templates: "templates/",
27134
27129
  assistant: "dr-insights@1.4.0",
27135
27130
  charts: "echarts@5.6.0",
27136
- fmt: "dr-fmt@1.0.0",
27131
+ fmt: "dr-fmt@2.0.1",
27137
27132
  markdown: "dr-md@1.0.0",
27138
- uiKit: "ui-kit/v3",
27133
+ uiKit: "ui-kit/v4",
27139
27134
  widgets: "dr-widgets@1.2.1"
27140
27135
  };
27141
27136
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarails-ai/dr-appspace-cli",
3
- "version": "0.12.7",
3
+ "version": "0.12.9",
4
4
  "description": "Datarails App Space CLI — build, try, push and publish App Space apps",
5
5
  "type": "module",
6
6
  "engines": {