@sequenceholdings/atlas-ui 3.7.0 → 3.7.1

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.
@@ -276,10 +276,7 @@ function S({ mode: t, value: n, now: r, min: i, max: a, presets: s, showClear: c
276
276
  children: [
277
277
  /* @__PURE__ */ f("div", {
278
278
  className: "border-b border-border p-2",
279
- children: /* @__PURE__ */ p("form", {
280
- onSubmit: (e) => {
281
- e.preventDefault(), F(S);
282
- },
279
+ children: /* @__PURE__ */ p("div", {
283
280
  className: "flex flex-col gap-1",
284
281
  children: [/* @__PURE__ */ f("input", {
285
282
  ref: k,
@@ -289,6 +286,9 @@ function S({ mode: t, value: n, now: r, min: i, max: a, presets: s, showClear: c
289
286
  w(e.target.value), T && E(null);
290
287
  },
291
288
  onBlur: I,
289
+ onKeyDown: (e) => {
290
+ e.key === "Enter" && (e.preventDefault(), e.stopPropagation(), F(S));
291
+ },
292
292
  placeholder: P ? "Jan – Mar, last 7 days, Q1 2024…" : "Jan 15, today, last Friday…",
293
293
  "aria-invalid": T ? "true" : void 0,
294
294
  "aria-label": P ? "Type a date range" : "Type a date",
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "publishConfig": {
10
10
  "access": "public"
11
11
  },
12
- "version": "3.7.0",
12
+ "version": "3.7.1",
13
13
  "description": "Atlas shared UI component library for Artifact Studio apps",
14
14
  "type": "module",
15
15
  "sideEffects": [