@design.estate/dees-catalog 21.33.0 → 21.33.2

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.
@@ -76385,6 +76385,15 @@ var kanbanDemoReleasedColumn = {
76385
76385
  done: true,
76386
76386
  collapsible: "collapsed"
76387
76387
  };
76388
+ var kanbanDemoWorkflowColumns = [
76389
+ { id: "backlog", title: "Backlog" },
76390
+ { id: "ready", title: "Ready" },
76391
+ { id: "progress", title: "In progress" },
76392
+ { id: "input", title: "Needs input" },
76393
+ { id: "review", title: "Review" },
76394
+ { id: "done", title: "Landed", done: true },
76395
+ kanbanDemoReleasedColumn
76396
+ ];
76388
76397
  var kanbanDemoProjects = [
76389
76398
  { id: "app", name: "Workspace app" },
76390
76399
  { id: "catalog", name: "Design catalog" }
@@ -76413,6 +76422,81 @@ var releasedTickets = /* @__PURE__ */ __name(() => [
76413
76422
  updatedAt: `2026-09-1${order}T15:00:00Z`,
76414
76423
  updatedBy: mara2
76415
76424
  })), "releasedTickets");
76425
+ var workflowTickets = /* @__PURE__ */ __name(() => {
76426
+ const tasks = [
76427
+ { columnId: "backlog", title: "Archive finished projects", parentId: "epic-1", priority: "low", assignee: mara2, labels: ["Design"], project: "app" },
76428
+ { columnId: "backlog", title: "Keep comment drafts while offline", parentId: "epic-2", priority: "normal", labels: ["Collaboration"], project: "app" },
76429
+ { columnId: "backlog", title: "Move several tickets at once", parentId: "epic-3", priority: "normal", assignee: jonas2, labels: ["Productivity"], project: "app", subtasks: [["Select several cards", "backlog"], ["Move them in one request", "backlog"]] },
76430
+ { columnId: "backlog", title: "Explain each empty state with a next step", parentId: "epic-1", priority: "low", labels: ["Design", "Content"], project: "app" },
76431
+ { columnId: "backlog", title: "Import tickets from a spreadsheet", parentId: "epic-3", assignee: mara2, labels: ["Integrations"], project: "app" },
76432
+ { columnId: "backlog", title: "Measure board load time in the field", parentId: "epic-3", priority: "normal", assignee: alex, labels: ["Performance"], project: "catalog" },
76433
+ { columnId: "ready", title: "Pin a ticket to the top of its column", parentId: "epic-1", priority: "normal", assignee: jonas2, labels: ["Design"], project: "app" },
76434
+ { columnId: "ready", title: "Notify watchers when a ticket moves", parentId: "epic-2", priority: "high", assignee: mara2, labels: ["Collaboration"], project: "app", subtasks: [["Choose who is notified", "ready"], ["Write the notification text", "ready"]] },
76435
+ { columnId: "ready", title: "Render only the visible cards of long columns", parentId: "epic-3", priority: "high", assignee: alex, labels: ["Performance"], project: "catalog" },
76436
+ { columnId: "ready", title: "Lay the board out right to left", parentId: "epic-1", priority: "normal", labels: ["Accessibility"], project: "catalog" },
76437
+ { columnId: "ready", title: "List the keyboard shortcuts", parentId: "epic-1", priority: "low", assignee: alex, labels: ["Accessibility"], project: "catalog" },
76438
+ { columnId: "ready", title: "Share a filtered board by link", parentId: "epic-2", priority: "normal", assignee: jonas2, labels: ["Collaboration"], project: "app" },
76439
+ { columnId: "progress", title: "Show who is typing in the discussion", parentId: "epic-2", priority: "normal", assignee: jonas2, labels: ["Collaboration"], project: "app" },
76440
+ { columnId: "progress", title: "Keep unchanged cards on refresh", parentId: "epic-3", priority: "urgent", assignee: alex, labels: ["Performance", "Bug"], project: "catalog", subtasks: [["Profile a board of 500 tickets", "done"], ["Reuse the cards that did not change", "progress"]] },
76441
+ { columnId: "progress", title: "Preview attachments in the ticket", parentId: "epic-2", priority: "normal", assignee: mara2, labels: ["Design"], project: "app" },
76442
+ { columnId: "progress", title: "Larger drag targets on touch screens", parentId: "epic-1", priority: "high", assignee: alex, labels: ["Mobile", "Accessibility"], project: "catalog" },
76443
+ { columnId: "progress", title: "Keep the filters in step across tabs", parentId: "epic-3", priority: "low", assignee: jonas2, labels: ["Bug"], project: "app" },
76444
+ { columnId: "input", title: "Decide the default column limits", parentId: "epic-3", priority: "normal", assignee: mara2, labels: ["Product"], project: "app" },
76445
+ { columnId: "input", title: "Confirm the export format with finance", priority: "high", assignee: jonas2, labels: ["Integrations"], project: "app" },
76446
+ { columnId: "input", title: "Which fields should a template copy?", parentId: "epic-2", priority: "low", labels: ["Product"], project: "app" },
76447
+ { columnId: "review", title: "Return focus after closing a ticket", parentId: "epic-1", priority: "urgent", assignee: alex, labels: ["Bug", "Accessibility"], project: "catalog" },
76448
+ { columnId: "review", title: "Suggest people when mentioning", parentId: "epic-2", priority: "high", assignee: jonas2, labels: ["Collaboration"], project: "app", subtasks: [["Rank recent people first", "review"], ["Insert the mention as a chip", "done"]] },
76449
+ { columnId: "review", title: "Cache avatars across boards", parentId: "epic-3", priority: "normal", assignee: alex, labels: ["Performance"], project: "catalog" },
76450
+ { columnId: "review", title: "Write the onboarding tour", parentId: "epic-1", priority: "low", assignee: mara2, labels: ["Content"], project: "app" },
76451
+ { columnId: "done", title: "Keep column headers in view", parentId: "epic-1", priority: "normal", assignee: alex, labels: ["Design"], project: "catalog" },
76452
+ { columnId: "done", title: "Find a ticket by its key", parentId: "epic-3", priority: "normal", assignee: jonas2, labels: ["Productivity"], project: "app" },
76453
+ { columnId: "done", title: "Show the assignee on every card", parentId: "epic-2", priority: "low", assignee: mara2, labels: ["Design"], project: "catalog" },
76454
+ { columnId: "done", title: "Retry a move that failed", parentId: "epic-3", priority: "high", assignee: jonas2, labels: ["Bug"], project: "app" },
76455
+ { columnId: "done", title: "Respect reduced motion while dragging", parentId: "epic-1", priority: "normal", assignee: alex, labels: ["Accessibility"], project: "catalog" },
76456
+ { columnId: "done", title: "Paste images into comments", parentId: "epic-2", priority: "normal", assignee: mara2, labels: ["Collaboration"], project: "app" }
76457
+ ];
76458
+ let key = 120;
76459
+ const orders = /* @__PURE__ */ new Map();
76460
+ const order = /* @__PURE__ */ __name((columnId) => {
76461
+ const next = orders.get(columnId) ?? 2;
76462
+ orders.set(columnId, next + 1);
76463
+ return next;
76464
+ }, "order");
76465
+ const history = /* @__PURE__ */ __name((day) => ({
76466
+ createdAt: `2026-09-${String(day).padStart(2, "0")}T09:00:00Z`,
76467
+ createdBy: mara2,
76468
+ updatedAt: `2026-09-${String(day + 2).padStart(2, "0")}T15:00:00Z`,
76469
+ updatedBy: mara2
76470
+ }), "history");
76471
+ const epic = {
76472
+ id: "epic-3",
76473
+ key: "CAT-160",
76474
+ kind: "epic",
76475
+ title: "Fast at any size",
76476
+ description: "Keep large boards quick to load, search and change.",
76477
+ columnId: "progress",
76478
+ order: 2,
76479
+ project: "app",
76480
+ ...history(14)
76481
+ };
76482
+ return [epic, ...tasks.flatMap(({ subtasks = [], ...task }, index) => {
76483
+ const id = `flow-${index + 1}`;
76484
+ return [
76485
+ { ...task, id, key: `CAT-${key++}`, kind: "task", order: order(task.columnId), ...history(1 + index % 25) },
76486
+ ...subtasks.map(([title, columnId], position) => ({
76487
+ id: `${id}-${position + 1}`,
76488
+ key: `CAT-${key++}`,
76489
+ kind: "subtask",
76490
+ title,
76491
+ parentId: id,
76492
+ columnId,
76493
+ order: position,
76494
+ assignee: task.assignee,
76495
+ project: task.project
76496
+ }))
76497
+ ];
76498
+ })];
76499
+ }, "workflowTickets");
76416
76500
  var revised = /* @__PURE__ */ __name((ticket) => ({
76417
76501
  ...ticket,
76418
76502
  revision: (ticket.revision ?? 0) + 1
@@ -76606,7 +76690,8 @@ var createKanbanDemo = /* @__PURE__ */ __name((options = {}) => {
76606
76690
  assignee: alex,
76607
76691
  project: "catalog"
76608
76692
  },
76609
- ...options.released ? releasedTickets() : []
76693
+ ...options.released ? releasedTickets() : [],
76694
+ ...options.workflow ? workflowTickets() : []
76610
76695
  ];
76611
76696
  let tickets = seeded.map(revised);
76612
76697
  let comments = [
@@ -76813,7 +76898,7 @@ var createKanbanDemo = /* @__PURE__ */ __name((options = {}) => {
76813
76898
 
76814
76899
  // ts_web/elements/00group-kanban/dees-kanban/dees-kanban.demo.ts
76815
76900
  var demoFunc71 = /* @__PURE__ */ __name(() => {
76816
- const demo11 = createKanbanDemo({ released: true });
76901
+ const demo11 = createKanbanDemo({ released: true, workflow: true });
76817
76902
  const [mara3, jonas3, alex2] = kanbanDemoPeople;
76818
76903
  const teammate = [
76819
76904
  () => demo11.provider.moveTicket({ ticketId: "task-1", columnId: "progress" }),
@@ -76844,7 +76929,8 @@ var demoFunc71 = /* @__PURE__ */ __name(() => {
76844
76929
  demo11.actAs(mara3);
76845
76930
  await board.refresh();
76846
76931
  }, "rename");
76847
- return demoApp(b`<div class="dees-demo-row" style="padding: 0 24px 4px">
76932
+ return demoApp(b`<div style="display: flex; flex-direction: column; height: 100%">
76933
+ <div class="dees-demo-row" style="flex: none; padding: 0 24px 4px">
76848
76934
  <p class="dees-demo-caption">Signed in as Mara Chen. Jonas and Alex work on the same board. To see a refused stale edit, start editing CAT-102, close it, let Jonas rename it and save.</p>
76849
76935
  <dees-button type="outline" size="sm" text="Simulate a teammate's change" @clicked=${simulate2}></dees-button>
76850
76936
  <dees-button type="outline" size="sm" text="Jonas renames CAT-102" @clicked=${rename}></dees-button>
@@ -76853,12 +76939,13 @@ var demoFunc71 = /* @__PURE__ */ __name(() => {
76853
76939
  heading="Product workspace"
76854
76940
  currentPersonId=${mara3.id}
76855
76941
  .tickets=${demo11.tickets}
76856
- .columns=${[...kanbanDemoColumns, kanbanDemoReleasedColumn]}
76942
+ .columns=${kanbanDemoWorkflowColumns}
76857
76943
  .people=${kanbanDemoPeople}
76858
76944
  .projects=${kanbanDemoProjects}
76859
76945
  .revision=${demo11.revision}
76860
76946
  .provider=${demo11.provider}
76861
- ></dees-kanban>`);
76947
+ ></dees-kanban>
76948
+ </div>`);
76862
76949
  }, "demoFunc");
76863
76950
 
76864
76951
  // ts_web/elements/00group-kanban/dees-kanban-card/dees-kanban-card.ts
@@ -77743,6 +77830,21 @@ var KanbanDragController = class {
77743
77830
  autoScroll(gesture, elapsed) {
77744
77831
  const velocity = /* @__PURE__ */ __name((point, start2, end2, edge) => point < start2 + edge ? -Math.min(1, Math.max(0, (start2 + edge - point) / edge)) * 14 * elapsed : point > end2 - edge ? Math.min(1, Math.max(0, (point - end2 + edge) / edge)) * 14 * elapsed : 0, "velocity");
77745
77832
  let movedX = false, movedY = false;
77833
+ const lane = this.columns.find((column) => {
77834
+ const rect = column.getBoundingClientRect();
77835
+ return gesture.x >= rect.left && gesture.x <= rect.right;
77836
+ });
77837
+ const cards = lane?.cardScroller;
77838
+ if (lane && cards) {
77839
+ const rect = cards.getBoundingClientRect();
77840
+ const top = Math.max(0, rect.top), bottom = Math.min(innerHeight, rect.bottom);
77841
+ if (gesture.y >= top - 56 && gesture.y <= bottom + 56) {
77842
+ const y = cards.scrollTop;
77843
+ cards.scrollTop += velocity(gesture.y, top, bottom, 56);
77844
+ movedY = cards.scrollTop !== y;
77845
+ if (movedY) lane.syncScrollEdges();
77846
+ }
77847
+ }
77746
77848
  for (const parent of this.scrollParents) {
77747
77849
  const rect = parent === document.scrollingElement ? { left: 0, top: 0, right: innerWidth, bottom: innerHeight } : parent.getBoundingClientRect();
77748
77850
  const left = Math.max(0, rect.left), top = Math.max(0, rect.top), right = Math.min(innerWidth, rect.right), bottom = Math.min(innerHeight, rect.bottom);
@@ -77870,6 +77972,15 @@ var _DeesKanbanColumn = class _DeesKanbanColumn extends (_a106 = DeesElement, _c
77870
77972
  __privateAdd(this, _motion, __runInitializers(_init107, 68, this)), __runInitializers(_init107, 71, this);
77871
77973
  /** "Show all" unfolded the column and went away with it: focus moves to the header's toggle. */
77872
77974
  __publicField(this, "focusToggle", false);
77975
+ __publicField(this, "scrollEdges", new ScrollEdgeShadowController(this, () => this.cardScroller));
77976
+ }
77977
+ /** The scroller of the column's cards, which a drag scrolls near its edges. */
77978
+ get cardScroller() {
77979
+ return this.shadowRoot?.querySelector(".body") ?? null;
77980
+ }
77981
+ /** Shows the edges of the cards' scroller in the frame a drag scrolled it. */
77982
+ syncScrollEdges() {
77983
+ this.scrollEdges.sync();
77873
77984
  }
77874
77985
  updated() {
77875
77986
  if (!this.draggingTicketId) this.nativeOver = false;
@@ -77944,62 +78055,67 @@ var _DeesKanbanColumn = class _DeesKanbanColumn extends (_a106 = DeesElement, _c
77944
78055
  })}
77945
78056
  ></dees-button>` : ""}
77946
78057
  </header>
77947
- <div class="stack">${directives_exports.repeat(tickets, (ticket) => ticket.id, (ticket) => b`
77948
- <div
77949
- class="target ${this.nativeOver && this.nativeDropBefore === ticket.id ? "native-before" : ""}"
77950
- data-ticket-id=${ticket.id}
77951
- @dragover=${() => {
78058
+ <div class="bodyFrame">
78059
+ <div class="body">
78060
+ <div class="stack">${directives_exports.repeat(tickets, (ticket) => ticket.id, (ticket) => b`
78061
+ <div
78062
+ class="target ${this.nativeOver && this.nativeDropBefore === ticket.id ? "native-before" : ""}"
78063
+ data-ticket-id=${ticket.id}
78064
+ @dragover=${() => {
77952
78065
  if (!this.pointerManaged) this.nativeDropBefore = this.collapsed ? void 0 : ticket.id;
77953
78066
  }}
77954
- >
77955
- ${motion?.move.ticketId === ticket.id && motion.placeholder ? b`<div
77956
- class="placeholder"
77957
- style=${`height: ${motion.height}px`}
77958
- aria-label=${this.t("kanban.dropHere")}
77959
- ></div>` : b`<dees-kanban-card
77960
- .ticket=${ticket}
77961
- .columns=${this.columns}
77962
- .projectName=${this.showProjects && ticket.project ? kanbanProjectName(this.projects, ticket.project) : ""}
77963
- .epic=${this.allTickets.find(
78067
+ >
78068
+ ${motion?.move.ticketId === ticket.id && motion.placeholder ? b`<div
78069
+ class="placeholder"
78070
+ style=${`height: ${motion.height}px`}
78071
+ aria-label=${this.t("kanban.dropHere")}
78072
+ ></div>` : b`<dees-kanban-card
78073
+ .ticket=${ticket}
78074
+ .columns=${this.columns}
78075
+ .projectName=${this.showProjects && ticket.project ? kanbanProjectName(this.projects, ticket.project) : ""}
78076
+ .epic=${this.allTickets.find(
77964
78077
  (item) => item.id === ticket.parentId && item.kind === "epic"
77965
78078
  )}
77966
- .subtasks=${sortKanbanTickets(
78079
+ .subtasks=${sortKanbanTickets(
77967
78080
  this.allTickets.filter(
77968
78081
  (item) => item.parentId === ticket.id && item.kind === "subtask"
77969
78082
  )
77970
78083
  )}
77971
- .movable=${this.movable && ticket.permissions?.move !== false}
77972
- .pending=${motion?.move.ticketId === ticket.id ? motion.dimmed : this.pendingTicketId === ticket.id}
77973
- .moveDisabled=${this.movesDisabled}
77974
- .saving=${motion?.move.ticketId === ticket.id && motion.saving}
77975
- .pointerManaged=${this.pointerManaged}
77976
- ></dees-kanban-card>`}
77977
- </div>`)}
77978
- ${!tickets.length ? b`<div
77979
- class="empty"
77980
- @dragover=${() => {
78084
+ .movable=${this.movable && ticket.permissions?.move !== false}
78085
+ .pending=${motion?.move.ticketId === ticket.id ? motion.dimmed : this.pendingTicketId === ticket.id}
78086
+ .moveDisabled=${this.movesDisabled}
78087
+ .saving=${motion?.move.ticketId === ticket.id && motion.saving}
78088
+ .pointerManaged=${this.pointerManaged}
78089
+ ></dees-kanban-card>`}
78090
+ </div>`)}
78091
+ ${!tickets.length ? b`<div
78092
+ class="empty"
78093
+ @dragover=${() => {
77981
78094
  this.nativeDropBefore = void 0;
77982
78095
  }}
77983
- >${this.t("kanban.noTasks")}</div>` : ""}
77984
- </div>
77985
- ${hidden > 0 ? b`<div class="show-all">
77986
- <dees-button
77987
- type="ghost"
77988
- size="sm"
77989
- icon="lucide:ChevronDown"
77990
- text=${this.t("kanban.showAll", { count: ordered.length })}
77991
- @clicked=${() => {
78096
+ >${this.t("kanban.noTasks")}</div>` : ""}
78097
+ </div>
78098
+ ${hidden > 0 ? b`<div class="show-all">
78099
+ <dees-button
78100
+ type="ghost"
78101
+ size="sm"
78102
+ icon="lucide:ChevronDown"
78103
+ text=${this.t("kanban.showAll", { count: ordered.length })}
78104
+ @clicked=${() => {
77992
78105
  this.focusToggle = true;
77993
78106
  this.toggle();
77994
78107
  }}
77995
- ></dees-button>
77996
- </div>` : ""}
77997
- <div
77998
- class="end-target ${this.nativeOver && !this.nativeDropBefore && !this.collapsed ? "native-before" : ""}"
77999
- @dragover=${() => {
78108
+ ></dees-button>
78109
+ </div>` : ""}
78110
+ <div
78111
+ class="end-target ${this.nativeOver && !this.nativeDropBefore && !this.collapsed ? "native-before" : ""}"
78112
+ @dragover=${() => {
78000
78113
  this.nativeDropBefore = void 0;
78001
78114
  }}
78002
- ></div>
78115
+ ></div>
78116
+ </div>
78117
+ ${this.scrollEdges.renderShadows()}
78118
+ </div>
78003
78119
  </section>`;
78004
78120
  }
78005
78121
  toggle() {
@@ -78043,6 +78159,7 @@ _DeesKanbanColumn = __decorateElement(_init107, 0, "DeesKanbanColumn", _DeesKanb
78043
78159
  __name(_DeesKanbanColumn, "DeesKanbanColumn");
78044
78160
  __publicField(_DeesKanbanColumn, "styles", [
78045
78161
  ...kanbanStyles,
78162
+ scrollEdgeShadowStyles,
78046
78163
  i`
78047
78164
  :host {
78048
78165
  display: flex;
@@ -78059,18 +78176,20 @@ __publicField(_DeesKanbanColumn, "styles", [
78059
78176
  }
78060
78177
 
78061
78178
  section {
78179
+ flex: 1 1 auto;
78180
+ display: flex;
78181
+ flex-direction: column;
78062
78182
  min-height: 220px;
78063
- height: 100%;
78064
78183
  border-radius: var(--dees-radius-xl);
78065
78184
  transition: background var(--dees-transition-default) var(--dees-ease-out);
78066
78185
  }
78067
78186
 
78068
78187
  header {
78188
+ flex: none;
78069
78189
  display: flex;
78070
78190
  align-items: center;
78071
78191
  gap: 8px;
78072
78192
  min-height: 40px;
78073
- margin-bottom: 10px;
78074
78193
  padding: 0 var(--dees-spacing-2xs) var(--dees-spacing-sm);
78075
78194
  border-bottom: var(--dees-line-width-hairline) solid var(--dees-color-border-subtle);
78076
78195
  }
@@ -78099,6 +78218,29 @@ __publicField(_DeesKanbanColumn, "styles", [
78099
78218
  border-color: var(--dees-color-accent-success);
78100
78219
  }
78101
78220
 
78221
+ /*
78222
+ * The column's cards scroll below its header once the board's height runs out, and the edges
78223
+ * past which cards lie cast their shadows, the top one from the header's line. The scroller
78224
+ * reaches past the column by an inset that keeps card shadows and the drop line in view; the
78225
+ * cards stay exactly the column wide.
78226
+ */
78227
+ .bodyFrame {
78228
+ position: relative;
78229
+ flex: 1 1 auto;
78230
+ min-height: 0;
78231
+ display: flex;
78232
+ flex-direction: column;
78233
+ }
78234
+
78235
+ .body {
78236
+ flex: 1 1 auto;
78237
+ min-height: 0;
78238
+ overflow-x: hidden;
78239
+ overflow-y: auto;
78240
+ padding: 10px var(--dees-spacing-2xs) 0;
78241
+ margin: 0 calc(var(--dees-spacing-2xs) * -1);
78242
+ }
78243
+
78102
78244
  /* One track exactly the column wide: a card never takes its content's width. */
78103
78245
  .stack {
78104
78246
  display: grid;
@@ -79247,10 +79389,18 @@ __publicField(_DeesKanban, "styles", [
79247
79389
  tableFilterPanelStyles,
79248
79390
  activeFilterBarStyles,
79249
79391
  i`
79392
+ /*
79393
+ * The board takes the height its host gives it, as a flex column's remaining space or a sized
79394
+ * box, and its columns scroll their cards inside it. Unbounded, it grows with its cards.
79395
+ */
79250
79396
  :host {
79397
+ display: flex;
79398
+ flex-direction: column;
79399
+ flex: 1 1 auto;
79400
+ height: 100%;
79401
+ min-height: 0;
79251
79402
  padding: 20px 24px;
79252
79403
  background: var(--dees-color-bg-canvas);
79253
- min-height: 100%;
79254
79404
  }
79255
79405
 
79256
79406
  .heading {
@@ -79317,6 +79467,8 @@ __publicField(_DeesKanban, "styles", [
79317
79467
 
79318
79468
  .columns {
79319
79469
  display: flex;
79470
+ flex: 1 1 auto;
79471
+ min-height: 0;
79320
79472
  gap: 20px;
79321
79473
  overflow-x: auto;
79322
79474
  padding: 3px var(--dees-spacing-2xs) var(--dees-spacing-lg);
@@ -85720,6 +85872,7 @@ var _DeesStepper = class _DeesStepper extends (_a119 = DeesElement, _steps_dec =
85720
85872
  const dialog = this.shadowRoot?.querySelector("dialog");
85721
85873
  if (dialog && !dialog.open && this.isConnected && !this.destroyPromise) dialog.showModal();
85722
85874
  if (changedProperties.has("overlay") || changedProperties.has("steps")) this.observeSurface();
85875
+ if (changedProperties.has("stepError") && this.stepError) this.revealStepError();
85723
85876
  if (!changedProperties.has("selectedStep") && !changedProperties.has("steps") && !changedProperties.has("overlay")) return;
85724
85877
  this.revealCurrentMarker();
85725
85878
  await this.activateSelectedStep();
@@ -85754,6 +85907,14 @@ var _DeesStepper = class _DeesStepper extends (_a119 = DeesElement, _steps_dec =
85754
85907
  const left = strip ? offset(markerBox.left, markerBox.right, portLeft, portLeft + track.clientWidth) : 0;
85755
85908
  if (top || left) track.scrollBy({ top, left, behavior: prefersReducedMotion() ? "instant" : "smooth" });
85756
85909
  }
85910
+ /**
85911
+ * Scroll a step's error into view as it appears: it stands below the step's
85912
+ * content, which in a long step reaches below the fold of the step's body.
85913
+ * Only as far as it takes, so an error already in view moves nothing.
85914
+ */
85915
+ revealStepError() {
85916
+ this.shadowRoot?.querySelector(".step.selected .step-error")?.scrollIntoView({ block: "nearest", inline: "nearest", behavior: prefersReducedMotion() ? "instant" : "smooth" });
85917
+ }
85757
85918
  /**
85758
85919
  * Make the selected step the working one: read its form's required fields
85759
85920
  * for the primary and start its validation or background work, once per
@@ -122376,7 +122537,7 @@ var bright = {
122376
122537
  // ts_web/00_commitinfo_data.ts
122377
122538
  var commitinfo = {
122378
122539
  name: "@design.estate/dees-catalog",
122379
- version: "21.33.0",
122540
+ version: "21.33.2",
122380
122541
  description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
122381
122542
  };
122382
122543
  export {