jupiter-dynamic-forms 1.19.3 → 1.19.4

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/dist/index.mjs CHANGED
@@ -4641,7 +4641,7 @@ JupiterFormField.styles = css`
4641
4641
  100% { box-shadow: 0 0 0 0px transparent; background-color: transparent; }
4642
4642
  }
4643
4643
  :host(.concept-highlight) {
4644
- animation: concept-highlight-pulse 5s ease-out forwards;
4644
+ animation: concept-highlight-pulse 10s ease-out forwards;
4645
4645
  }
4646
4646
  `;
4647
4647
  __decorateClass$6([
@@ -5219,6 +5219,16 @@ JupiterConceptTree.styles = css`
5219
5219
  opacity: 1;
5220
5220
  }
5221
5221
 
5222
+ @keyframes concept-row-highlight-pulse {
5223
+ 0% { background-color: #fef9c3; box-shadow: inset 0 3px 0 -1px #fbbf24, inset 0 -3px 0 -1px #fbbf24; }
5224
+ 60% { background-color: #fef9c3; box-shadow: inset 0 3px 0 -1px #fbbf24, inset 0 -3px 0 -1px #fbbf24; }
5225
+ 100% { background-color: transparent; box-shadow: none; }
5226
+ }
5227
+ :host(.concept-highlight) .concept-name-cell,
5228
+ :host(.concept-highlight) .field-cell {
5229
+ animation: concept-row-highlight-pulse 10s ease-out forwards;
5230
+ }
5231
+
5222
5232
  `;
5223
5233
  __decorateClass$5([
5224
5234
  n2({ type: Object })
@@ -12840,6 +12850,7 @@ let JupiterDynamicForm = class extends LitElement {
12840
12850
  targetColumnId = ((_b = columns[0]) == null ? void 0 : _b.id) ?? null;
12841
12851
  }
12842
12852
  console.log(`[scrollToConcept] targetColumnId=${targetColumnId} hasValueMatch=${hasValueMatch} targetValue=${targetValue}`);
12853
+ this._conceptSearchText = conceptName.includes(":") ? conceptName.split(":").pop() : conceptName;
12843
12854
  this.requestUpdate();
12844
12855
  await this.updateComplete;
12845
12856
  await new Promise((resolve) => setTimeout(resolve, 300));
@@ -12983,14 +12994,17 @@ let JupiterDynamicForm = class extends LitElement {
12983
12994
  );
12984
12995
  tableContainer.scrollTo({ left: targetScrollLeft, behavior: "smooth" });
12985
12996
  }
12986
- targetFieldEl.classList.add("concept-highlight");
12997
+ const rootNode = targetFieldEl.getRootNode();
12998
+ const rowHost = rootNode instanceof ShadowRoot ? rootNode.host : null;
12999
+ const highlightEl = rowHost ?? targetFieldEl;
13000
+ highlightEl.classList.add("concept-highlight");
12987
13001
  const focusTarget = (_l = targetFieldEl.shadowRoot) == null ? void 0 : _l.querySelector(
12988
13002
  'input:not([type="hidden"]), select, textarea, button, [tabindex]:not([tabindex="-1"])'
12989
13003
  );
12990
13004
  if (focusTarget) {
12991
13005
  setTimeout(() => focusTarget.focus({ preventScroll: true }), 450);
12992
13006
  }
12993
- setTimeout(() => targetFieldEl.classList.remove("concept-highlight"), 5e3);
13007
+ setTimeout(() => highlightEl.classList.remove("concept-highlight"), 1e4);
12994
13008
  }
12995
13009
  render() {
12996
13010
  var _a;