@seamapi/react 1.18.1 → 1.19.0

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/elements.js CHANGED
@@ -8077,7 +8077,7 @@ const fm = "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;60
8077
8077
  const n = globalThis.document.createElement("link");
8078
8078
  n.rel = "stylesheet", n.type = "text/css", n.href = fm, globalThis.document.head.appendChild(n);
8079
8079
  }, [t]);
8080
- }, RE = "1.18.1", _E = "https://react.seam.co", kE = ({
8080
+ }, RE = "1.19.0", _E = "https://react.seam.co", kE = ({
8081
8081
  disabled: t = !1,
8082
8082
  unminified: e = !1
8083
8083
  }) => {
@@ -23917,7 +23917,7 @@ function kM(t) {
23917
23917
  className: Re("seam-alert", `seam-${e}-alert`, r),
23918
23918
  children: [
23919
23919
  /* @__PURE__ */ v.jsxs("div", { className: "seam-alert-content", children: [
23920
- /* @__PURE__ */ v.jsx("div", { className: "seam-alert-icon", children: e === "warning" ? /* @__PURE__ */ v.jsx(_M, {}) : /* @__PURE__ */ v.jsx(RM, {}) }),
23920
+ /* @__PURE__ */ v.jsx("div", { className: "seam-alert-icon-wrap", children: /* @__PURE__ */ v.jsx("div", { className: "seam-alert-icon", children: e === "warning" ? /* @__PURE__ */ v.jsx(_M, {}) : /* @__PURE__ */ v.jsx(RM, {}) }) }),
23921
23921
  /* @__PURE__ */ v.jsx("div", { className: "seam-alert-message-wrap", children: /* @__PURE__ */ v.jsx("p", { className: "seam-alert-message", children: n }) })
23922
23922
  ] }),
23923
23923
  t.action != null && /* @__PURE__ */ v.jsx(NM, { ...t.action })
@@ -25161,39 +25161,40 @@ const VT = (t) => {
25161
25161
  filters: "Filters"
25162
25162
  };
25163
25163
  function qT({
25164
- cannotFilter: t = !1,
25165
- className: e
25164
+ disableFilter: t = !1,
25165
+ cannotFilter: e,
25166
+ className: n
25166
25167
  } = {}) {
25167
- const [n, r] = k.useState(""), [i, o] = k.useState({
25168
+ const [r, i] = k.useState(""), [o, s] = k.useState({
25168
25169
  supportedOnly: !1,
25169
25170
  category: null,
25170
25171
  brand: null
25171
- });
25172
+ }), l = e ?? t;
25172
25173
  return /* @__PURE__ */ v.jsxs(
25173
25174
  "div",
25174
25175
  {
25175
25176
  className: Re(
25176
25177
  "seam-supported-device-table-content-wrap",
25177
- e
25178
+ n
25178
25179
  ),
25179
25180
  children: [
25180
- !t && /* @__PURE__ */ v.jsx(
25181
+ !l && /* @__PURE__ */ v.jsx(
25181
25182
  DT,
25182
25183
  {
25183
- filterValue: n,
25184
- setFilterValue: r,
25185
- filters: i,
25186
- setFilters: o
25184
+ filterValue: r,
25185
+ setFilterValue: i,
25186
+ filters: o,
25187
+ setFilters: s
25187
25188
  }
25188
25189
  ),
25189
25190
  /* @__PURE__ */ v.jsx(
25190
25191
  RT,
25191
25192
  {
25192
25193
  resetFilterValue: () => {
25193
- r("");
25194
+ i("");
25194
25195
  },
25195
- filterValue: n,
25196
- filters: i
25196
+ filterValue: r,
25197
+ filters: o
25197
25198
  }
25198
25199
  )
25199
25200
  ]
@@ -25202,6 +25203,7 @@ function qT({
25202
25203
  }
25203
25204
  const FT = "seam-supported-device-table", LT = {
25204
25205
  cannotFilter: "boolean",
25206
+ disableFilter: "boolean",
25205
25207
  className: "string"
25206
25208
  }, UT = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
25207
25209
  __proto__: null,