@bitcobblers/wod-wiki-ui 0.59.2244 → 0.59.2246

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, affiliateTagFacet, applyAmazonAffiliateTag, 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, isAmazonRetailHost, 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-M3VS7H7Z.mjs';
1
+ export { DefaultFrontmatterWidget, INTERNAL_FRONTMATTER_KEYS, activeCursorSection, addRuntimePanel, affiliateTagFacet, applyAmazonAffiliateTag, 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, isAmazonRetailHost, 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-YCI5DMLM.mjs';
2
2
  //# sourceMappingURL=index.mjs.map
3
3
  //# sourceMappingURL=index.mjs.map
package/dist/index.cjs CHANGED
@@ -5599,7 +5599,7 @@ function cycleBaselineLayer(obj) {
5599
5599
  const primary = series.find((s) => Boolean(s.query));
5600
5600
  if (!primary?.query) return obj;
5601
5601
  const primaryAst = wodWikiWql.parseQuery(primary.query);
5602
- const existing = series.find((s) => /^baseline_(2|4|12)w$/.test(s.id));
5602
+ const existing = series.find((s) => /^baseline_([24]|12)w$/.test(s.id));
5603
5603
  const currentWeeks = existing ? Number(/^baseline_(\d+)w$/.exec(existing.id)?.[1]) : void 0;
5604
5604
  const currentIdx = BASELINE_PERIODS.findIndex((p) => p === currentWeeks);
5605
5605
  const nextWeeks = currentIdx >= 0 ? BASELINE_PERIODS[(currentIdx + 1) % BASELINE_PERIODS.length] : 4;
@@ -6013,7 +6013,7 @@ function QueryObjectBuilder({
6013
6013
  const groupOptions = sentenceGroup && !SENTENCE_GROUPS.includes(sentenceGroup) ? [sentenceGroup, ...SENTENCE_GROUPS] : SENTENCE_GROUPS;
6014
6014
  const seriesList = value.series ?? [];
6015
6015
  const goalActive = seriesList.some((s) => s.id === "goal");
6016
- const baselineSeries = seriesList.find((s) => /^baseline_(2|4|12)w$/.test(s.id));
6016
+ const baselineSeries = seriesList.find((s) => /^baseline_([24]|12)w$/.test(s.id));
6017
6017
  const baselineWeeks = baselineSeries ? Number(/^baseline_(\d+)w$/.exec(baselineSeries.id)?.[1]) : void 0;
6018
6018
  const compareActive = seriesList.some((s) => s.id === "secondary");
6019
6019
  const changeVisualization = (next) => {
@@ -7380,7 +7380,7 @@ function sourceCoordinates(rawContent) {
7380
7380
  const rawStarts = [0];
7381
7381
  const editorStarts = [0];
7382
7382
  let removed = 0;
7383
- for (const match of rawContent.matchAll(/\r\n|\r|\n/g)) {
7383
+ for (const match of rawContent.matchAll(/\r\n|[\r\n]/g)) {
7384
7384
  removed += match[0].length - 1;
7385
7385
  rawStarts.push(match.index + match[0].length);
7386
7386
  editorStarts.push(match.index + match[0].length - removed);
@@ -18362,13 +18362,13 @@ function editorPreset(optionsOrDialect = "markdown") {
18362
18362
  }
18363
18363
 
18364
18364
  // src/version.ts
18365
- var VERSION = "0.59.2244";
18366
- var GIT_SHA = "969de0d";
18367
- var BUILD_TIME = "2026-11-17T20:51:51.209Z";
18365
+ var VERSION = "0.59.2246";
18366
+ var GIT_SHA = "222739e";
18367
+ var BUILD_TIME = "2026-11-18T17:13:06.344Z";
18368
18368
  var SEMVER = {
18369
- version: "0.59.2244",
18370
- gitSha: "969de0d",
18371
- buildTime: "2026-11-17T20:51:51.209Z"
18369
+ version: "0.59.2246",
18370
+ gitSha: "222739e",
18371
+ buildTime: "2026-11-18T17:13:06.344Z"
18372
18372
  };
18373
18373
 
18374
18374
  Object.defineProperty(exports, "CONTENT_GROUPING_DIMENSIONS", {