@riboseinc/anafero-cli 0.0.39 → 0.0.41

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/build-site.css CHANGED
@@ -31189,6 +31189,16 @@ tbody.vars_bd693cb4_hm005a_spectrum-Table-body .vars_bd693cb4_hm005a_spectrum-Ta
31189
31189
  display: flex;
31190
31190
  flex-flow: column nowrap;
31191
31191
  align-items: center;
31192
+ .style_browserBarTitleLink {
31193
+ &:link,
31194
+ &:visited {
31195
+ color: inherit;
31196
+ text-decoration: none;
31197
+ }
31198
+ &:hover {
31199
+ text-decoration: underline;
31200
+ }
31201
+ }
31192
31202
  h1 {
31193
31203
  transform: translateX(50%) rotate(-90deg) translateY(-25%) translateX(-100%) translateX(-20px);
31194
31204
  color: var(--spectrum-alias-border-color);
package/build-site.mjs CHANGED
@@ -18586,7 +18586,7 @@ var require_util = __commonJS({
18586
18586
  exports.bodyToBuffer = bodyToBuffer;
18587
18587
  exports.getAuthHeader = getAuthHeader;
18588
18588
  exports.pointsToLFS = pointsToLFS2;
18589
- exports.stripTrailingSlash = stripTrailingSlash;
18589
+ exports.stripTrailingSlash = stripTrailingSlash2;
18590
18590
  exports.toHex = toHex;
18591
18591
  var SPEC_URL = "https://git-lfs.github.com/spec/v1";
18592
18592
  exports.SPEC_URL = SPEC_URL;
@@ -18594,7 +18594,7 @@ var require_util = __commonJS({
18594
18594
  `;
18595
18595
  exports.LFS_POINTER_PREAMBLE = LFS_POINTER_PREAMBLE;
18596
18596
  var textDecoder = new TextDecoder("utf-8");
18597
- function stripTrailingSlash(aPath) {
18597
+ function stripTrailingSlash2(aPath) {
18598
18598
  return aPath.replace(/\/$/, "");
18599
18599
  }
18600
18600
  function pointsToLFS2(content) {
@@ -313124,8 +313124,11 @@ __export(anafero_exports, {
313124
313124
  fillInLocale: () => fillInLocale,
313125
313125
  gatherDescribedResourcesFromJsonifiedProseMirrorNode: () => gatherDescribedResourcesFromJsonifiedProseMirrorNode,
313126
313126
  gatherTextFromJsonifiedProseMirrorNode: () => gatherTextFromJsonifiedProseMirrorNode,
313127
+ getAllParentPaths: () => getAllParentPaths,
313127
313128
  makeDummyInMemoryCache: () => makeDummyInMemoryCache,
313128
313129
  parseModuleRef: () => parseModuleRef,
313130
+ stripLeadingSlash: () => stripLeadingSlash,
313131
+ stripTrailingSlash: () => stripTrailingSlash,
313129
313132
  titleSchema: () => titleSchema
313130
313133
  });
313131
313134
  init_cjs_shim();
@@ -313169,6 +313172,26 @@ function parseModuleRef(moduleRef) {
313169
313172
  return [url3, ref, subdir];
313170
313173
  }
313171
313174
 
313175
+ // ../anafero/path-utils.mts
313176
+ init_cjs_shim();
313177
+ function stripLeadingSlash(aPath) {
313178
+ return aPath.replace(/^\//, "");
313179
+ }
313180
+ function stripTrailingSlash(aPath) {
313181
+ return aPath.replace(/\/$/, "");
313182
+ }
313183
+ function getAllParentPaths(aPath) {
313184
+ let path3 = aPath;
313185
+ const parents = [];
313186
+ while (path3.includes("/")) {
313187
+ const parent = path3.slice(0, path3.lastIndexOf("/"));
313188
+ parents.push(parent);
313189
+ path3 = parent;
313190
+ }
313191
+ parents.reverse();
313192
+ return parents;
313193
+ }
313194
+
313172
313195
  // ../firelight-gui/loader.mts
313173
313196
  init_cjs_shim();
313174
313197
 
@@ -316061,6 +316084,7 @@ var style_default = {
316061
316084
  navListView: "style_navListView",
316062
316085
  browserBar: "style_browserBar",
316063
316086
  browserBarTitle: "style_browserBarTitle",
316087
+ browserBarTitleLink: "style_browserBarTitleLink",
316064
316088
  browserBarToolbar: "style_browserBarToolbar",
316065
316089
  browserBarToolbarGroup: "style_browserBarToolbarGroup",
316066
316090
  progressWrapper: "style_progressWrapper",
@@ -316073,6 +316097,7 @@ var style_default = {
316073
316097
  var BrowserBar = function({
316074
316098
  providerProps,
316075
316099
  title,
316100
+ rootURL,
316076
316101
  loadProgress,
316077
316102
  activeBrowsingMode,
316078
316103
  onActivateBrowsingMode,
@@ -316087,7 +316112,7 @@ var BrowserBar = function({
316087
316112
  (0, import_react124.useEffect)(() => {
316088
316113
  console.debug("Load progress", loadProgress);
316089
316114
  }, [loadProgress]);
316090
- return /* @__PURE__ */ import_react124.default.createElement($7167f8da3cce35e4$export$2881499e37b75b9a, { theme: $bf24a13e98395dd3$export$bca14c5b3b88a9c9, ...providerProps }, /* @__PURE__ */ import_react124.default.createElement("div", { className: style_default.browserBar }, /* @__PURE__ */ import_react124.default.createElement("header", { className: style_default.browserBarTitle }, /* @__PURE__ */ import_react124.default.createElement("h1", null, title)), showToolbar ? /* @__PURE__ */ import_react124.default.createElement(
316115
+ return /* @__PURE__ */ import_react124.default.createElement($7167f8da3cce35e4$export$2881499e37b75b9a, { theme: $bf24a13e98395dd3$export$bca14c5b3b88a9c9, ...providerProps }, /* @__PURE__ */ import_react124.default.createElement("div", { className: style_default.browserBar }, /* @__PURE__ */ import_react124.default.createElement("header", { className: style_default.browserBarTitle }, /* @__PURE__ */ import_react124.default.createElement("h1", null, /* @__PURE__ */ import_react124.default.createElement("a", { href: rootURL, className: style_default.browserBarTitleLink }, title))), showToolbar ? /* @__PURE__ */ import_react124.default.createElement(
316091
316116
  $13c3c67164f4d5be$export$4c260019440d418f,
316092
316117
  {
316093
316118
  "aria-label": "Tools",
@@ -316787,7 +316812,8 @@ function* generateResourceAssets(resourceURI, relations, parentChain, directDesc
316787
316812
  })
316788
316813
  );
316789
316814
  const browseBarHTML = (0, import_server.renderToString)(import_react128.default.createElement(BrowserBar, {
316790
- title: workspaceTitle
316815
+ title: workspaceTitle,
316816
+ rootURL: expandVersionedPath("/")
316791
316817
  }));
316792
316818
  const helmet2 = import_react_helmet2.Helmet.renderStatic();
316793
316819
  const htmlPage = `
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@riboseinc/anafero-cli",
3
3
  "type": "module",
4
- "version": "0.0.39",
4
+ "version": "0.0.41",
5
5
  "packageManager": "yarn@4.5.0",
6
6
  "bin": {
7
7
  "build-site": "build-site.mjs"
Binary file
Binary file