@bitcobblers/wod-wiki-ui 0.56.2208 → 0.56.2210

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.
@@ -1,3 +1,3 @@
1
- export { DefaultFrontmatterWidget, INTERNAL_FRONTMATTER_KEYS, activeCursorSection, addRuntimePanel, attachmentUrlFacet, autocompleteTooltipTheme, blockContentId, configureOverlayActions, cursorFocusExtension, customCompletionSources, dispatchAddRuntimePanel, dispatchExpandRuntimePanel, dispatchGutterHighlights, dispatchRemoveRuntimePanel, editingQuerySectionsField, editingWidgetsField, editorFocusField, editorFocusTracker, editorPreset, editorTheme, embedPreviewDecorations, expandRuntimePanel, fenceCompletion, findQueryBlockSection, findWorkoutErrors, forceSectionParse, frontmatterDebugMode, frontmatterDetailed, frontmatterKeymap, frontmatterPreview, frontmatterPreviewField, frontmatterReferenceIndex, frontmatterSource, frontmatterSuggestions, frontmatterVisibility, getCursorFocusState, getOverlayActions, gutterHighlightsField, gutterUnified, handleFenceAutoWrap, handleSmartUrlPaste, inlineButtonDecoration, insertMarkdownLinkCommand, isEditorFocused, isInternalFrontmatterKey, isNavigableUrl, lineIdsExtension, linkOpen, linkPreview, markdownSyntaxHiding, markdownTablePreview, navigationFacet, nestedCompletion, nestedCompletionOptions, previewDecorations, queryBlockPreview, referenceIndexReload, registeredSectionWidgets, removeRuntimePanel, resolveCodeLanguage, runtimePanelField, saveBlockQuerySource, sectionAtPos, sectionField, sectionGeometry, sectionIdentity, sectionIdentityHistory, sectionMove, sectionRestore, sectionSaved, sessionQueryFence, sessionQueryInsert, sessionQueryWql, setEditorFocused, setFrontmatterDetailed, setFrontmatterSource, setGutterHighlights, setQuerySourceEditing, slashBlockCompletion, smartIncrement, toggleInlineMarkdown, toggleWidgetEdit, urlAtPos, widgetBlockPreview, wodAutoWrap, wodAutocompletion, wodCompletionSource, wodEditorKeymap, wodLinter, wodOverlayPanel, workoutLintSource, wrapInTimeFence } from '../chunk-3NJIIKMT.mjs';
1
+ export { DefaultFrontmatterWidget, INTERNAL_FRONTMATTER_KEYS, activeCursorSection, addRuntimePanel, attachmentUrlFacet, autocompleteTooltipTheme, blockContentId, configureOverlayActions, cursorFocusExtension, customCompletionSources, dispatchAddRuntimePanel, dispatchExpandRuntimePanel, dispatchGutterHighlights, dispatchRemoveRuntimePanel, editingQuerySectionsField, editingWidgetsField, editorFocusField, editorFocusTracker, editorPreset, editorTheme, embedPreviewDecorations, expandRuntimePanel, fenceCompletion, findQueryBlockSection, findWorkoutErrors, forceSectionParse, frontmatterDebugMode, frontmatterDetailed, frontmatterKeymap, frontmatterPreview, frontmatterPreviewField, frontmatterReferenceIndex, frontmatterSource, frontmatterSuggestions, frontmatterVisibility, getCursorFocusState, getOverlayActions, gutterHighlightsField, gutterUnified, handleFenceAutoWrap, handleSmartUrlPaste, inlineButtonDecoration, insertMarkdownLinkCommand, isEditorFocused, isInternalFrontmatterKey, isNavigableUrl, lineIdsExtension, linkOpen, linkPreview, markdownSyntaxHiding, markdownTablePreview, navigationFacet, nestedCompletion, nestedCompletionOptions, previewDecorations, queryBlockPreview, referenceIndexReload, registeredSectionWidgets, removeRuntimePanel, resolveCodeLanguage, runtimePanelField, saveBlockQuerySource, sectionAtPos, sectionField, sectionGeometry, sectionIdentity, sectionIdentityHistory, sectionMove, sectionRestore, sectionSaved, sessionQueryFence, sessionQueryInsert, sessionQueryWql, setEditorFocused, setFrontmatterDetailed, setFrontmatterSource, setGutterHighlights, setQuerySourceEditing, slashBlockCompletion, smartIncrement, toggleInlineMarkdown, toggleWidgetEdit, urlAtPos, widgetBlockPreview, wodAutoWrap, wodAutocompletion, wodCompletionSource, wodEditorKeymap, wodLinter, wodOverlayPanel, workoutLintSource, wrapInTimeFence } from '../chunk-VYFKXF46.mjs';
2
2
  //# sourceMappingURL=index.mjs.map
3
3
  //# sourceMappingURL=index.mjs.map
package/dist/index.cjs CHANGED
@@ -490,9 +490,6 @@ function WqlBars({ result, unit: unitProp }) {
490
490
  ] }) });
491
491
  }
492
492
  var MAX_ROWS = 12;
493
- function formatValue(v, unit) {
494
- return `${v.toLocaleString()}${unit ? ` ${unit}` : ""}`;
495
- }
496
493
  function WqlTable({ result, unit: unitProp }) {
497
494
  const shape = useChartShape(result);
498
495
  const unit = result.series[0]?.unit ?? unitProp ?? "";
@@ -500,14 +497,14 @@ function WqlTable({ result, unit: unitProp }) {
500
497
  if (shape.kind === "scalar") {
501
498
  return {
502
499
  head: ["Metric", "Value"],
503
- body: [[result.series[0]?.label ?? "scalar", formatValue(shape.value, unit)]],
500
+ body: [[result.series[0]?.label ?? "scalar", formatTimeseriesTooltipValue(shape.value, unit)]],
504
501
  more: 0
505
502
  };
506
503
  }
507
504
  if (shape.kind === "bars") {
508
505
  const all = result.series.map((s) => [
509
506
  s.label,
510
- formatValue(s.points[0]?.value ?? 0, unit)
507
+ formatTimeseriesTooltipValue(s.points[0]?.value ?? 0, unit)
511
508
  ]);
512
509
  return {
513
510
  head: ["Series", "Value"],
@@ -528,7 +525,7 @@ function WqlTable({ result, unit: unitProp }) {
528
525
  formatTimestamp(ts),
529
526
  ...result.series.map((s) => {
530
527
  const v = seriesMap.get(s.label)?.get(ts);
531
- return v !== void 0 ? formatValue(v, unit) : "\u2014";
528
+ return v !== void 0 ? formatTimeseriesTooltipValue(v, unit) : "\u2014";
532
529
  })
533
530
  ]);
534
531
  return { head, body, more: Math.max(0, timestamps.length - MAX_ROWS) };
@@ -7159,7 +7156,7 @@ var lineIdsExtension = view.ViewPlugin.fromClass(
7159
7156
  if (!label) label = timestamp;
7160
7157
  }
7161
7158
  id = label.toLowerCase().replace(/[^\w]+/g, "-");
7162
- } else if (/^```(time|log)/.test(trimmed)) {
7159
+ } else if (/^```(time|wod|whiteboard|log)/i.test(trimmed)) {
7163
7160
  id = `workout-line-${i}`;
7164
7161
  }
7165
7162
  if (id && line.from >= view$1.viewport.from && line.to <= view$1.viewport.to) {
@@ -18270,13 +18267,13 @@ function editorPreset(optionsOrDialect = "markdown") {
18270
18267
  }
18271
18268
 
18272
18269
  // src/version.ts
18273
- var VERSION = "0.56.2208";
18274
- var GIT_SHA = "49c50a2";
18275
- var BUILD_TIME = "2026-11-12T17:10:33.737Z";
18270
+ var VERSION = "0.56.2210";
18271
+ var GIT_SHA = "92d64b5";
18272
+ var BUILD_TIME = "2026-11-12T20:56:12.928Z";
18276
18273
  var SEMVER = {
18277
- version: "0.56.2208",
18278
- gitSha: "49c50a2",
18279
- buildTime: "2026-11-12T17:10:33.737Z"
18274
+ version: "0.56.2210",
18275
+ gitSha: "92d64b5",
18276
+ buildTime: "2026-11-12T20:56:12.928Z"
18280
18277
  };
18281
18278
 
18282
18279
  Object.defineProperty(exports, "CONTENT_GROUPING_DIMENSIONS", {