@takeshape/purchase-order-chat 1.58.0 → 1.59.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/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { jsx as e } from "react/jsx-runtime";
3
- import { r as o } from "./purchase-order-chat-wrapper-Cna4k42U.js";
3
+ import { r as o } from "./purchase-order-chat-wrapper-s-B-vEE8.js";
4
4
  import { PurchaseOrderChat as c } from "./shadow.js";
5
5
  function n(r) {
6
6
  return /* @__PURE__ */ e(
@@ -22,7 +22,7 @@ function Bi(t, e) {
22
22
  return i != null ? String(i) : "";
23
23
  });
24
24
  }
25
- const Gr = "__vite_c_css_pos_initial_cc63ba75a59c4c15afcc544cd1521f87", bt = "__vite_c_css_pos_update_cc63ba75a59c4c15afcc544cd1521f87", vt = () => typeof window < "u" ? window[Gr] : void 0, Mi = (t) => {
25
+ const Gr = "__vite_c_css_pos_initial_f439532678134e5d8e15eb785e1fe208", bt = "__vite_c_css_pos_update_f439532678134e5d8e15eb785e1fe208", vt = () => typeof window < "u" ? window[Gr] : void 0, Mi = (t) => {
26
26
  const [e, r] = L(() => vt() || /* @__PURE__ */ new Map()), [n, i] = L(0);
27
27
  return F(() => {
28
28
  const s = (o) => {
@@ -1866,16 +1866,16 @@ function wt(t) {
1866
1866
  className: `p-2 px-2.5 rounded border border-solid ${m ? "bg-warning-bg border-warning" : "bg-surface-secondary border-border"}`,
1867
1867
  children: [
1868
1868
  /* @__PURE__ */ p("div", { className: "flex justify-between items-center mb-0.5", children: [
1869
- /* @__PURE__ */ a("span", { className: "text-[0.625rem] text-text-tertiary uppercase tracking-[0.05em]", children: e }),
1870
- i === "updating" && /* @__PURE__ */ p("span", { className: "flex items-center gap-1 text-[0.625rem] font-medium text-text-tertiary uppercase tracking-[0.025em]", children: [
1869
+ /* @__PURE__ */ a("span", { className: "text-2xs text-text-tertiary uppercase tracking-[0.05em]", children: e }),
1870
+ i === "updating" && /* @__PURE__ */ p("span", { className: "flex items-center gap-1 text-2xs font-medium text-text-tertiary uppercase tracking-[0.025em]", children: [
1871
1871
  /* @__PURE__ */ a(Be, { size: 10 }),
1872
1872
  "Updating..."
1873
1873
  ] }),
1874
- i === "success" && /* @__PURE__ */ p("span", { className: "flex items-center gap-0.5 text-[0.625rem] font-semibold text-success-text uppercase tracking-[0.025em]", children: [
1874
+ i === "success" && /* @__PURE__ */ p("span", { className: "flex items-center gap-0.5 text-2xs font-semibold text-success-text uppercase tracking-[0.025em]", children: [
1875
1875
  /* @__PURE__ */ a(Ue, { size: 10, title: "Updated" }),
1876
1876
  "Updated"
1877
1877
  ] }),
1878
- i === "error" && /* @__PURE__ */ p("span", { className: "flex items-center gap-0.5 text-[0.625rem] font-semibold text-error-text uppercase tracking-[0.025em]", children: [
1878
+ i === "error" && /* @__PURE__ */ p("span", { className: "flex items-center gap-0.5 text-2xs font-semibold text-error-text uppercase tracking-[0.025em]", children: [
1879
1879
  /* @__PURE__ */ a(Mn, { size: 12, title: "Failed" }),
1880
1880
  "Failed to update"
1881
1881
  ] })
@@ -1886,7 +1886,7 @@ function wt(t) {
1886
1886
  value: n ?? "",
1887
1887
  onChange: (b) => s?.(b.target.value),
1888
1888
  disabled: i === "updating",
1889
- className: "w-full px-2 py-1.5 text-[0.8125rem] font-medium rounded cursor-pointer transition-colors focus:outline-none focus:border-border-focus disabled:opacity-50 disabled:cursor-not-allowed border border-solid font-[inherit] appearance-auto text-text bg-transparent border-border-strong",
1889
+ className: "w-full px-2 py-1.5 text-sm font-medium rounded cursor-pointer transition-colors focus:outline-none focus:border-border-focus disabled:opacity-50 disabled:cursor-not-allowed border border-solid font-[inherit] appearance-auto text-text bg-transparent border-border-strong",
1890
1890
  children: [
1891
1891
  o && /* @__PURE__ */ p(ve, { children: [
1892
1892
  /* @__PURE__ */ a("option", { value: o.id, children: /* @__PURE__ */ a(St, { address: o }) }, o.id),
@@ -1905,7 +1905,7 @@ function wt(t) {
1905
1905
  }
1906
1906
  ),
1907
1907
  o && /* @__PURE__ */ a(Ln, { address: o }),
1908
- m && /* @__PURE__ */ a("p", { className: "mt-1.5 pt-1.5 m-0 text-[0.6875rem] leading-[1.4]", children: "Your company has a default address set. Verify your address on the checkout page as it may not populate automatically." })
1908
+ m && /* @__PURE__ */ a("p", { className: "mt-1.5 pt-1.5 m-0 text-xs leading-[1.4]", children: "Your company has a default address set. Verify your address on the checkout page as it may not populate automatically." })
1909
1909
  ]
1910
1910
  }
1911
1911
  );
@@ -1952,7 +1952,7 @@ function Ln({ address: t }) {
1952
1952
  type: "button",
1953
1953
  "aria-label": "Copy PO address to clipboard",
1954
1954
  onClick: s,
1955
- className: "mt-1.5 pt-1.5 m-0 text-[0.6875rem] leading-[1.4] cursor-pointer flex justify-between items-start gap-1 w-full bg-transparent text-left border-0 border-t border-solid p-0 font-[inherit] border-border-strong text-text-tertiary",
1955
+ className: "mt-1.5 pt-1.5 m-0 text-xs leading-[1.4] cursor-pointer flex justify-between items-start gap-1 w-full bg-transparent text-left border-0 border-t border-solid p-0 font-[inherit] border-border-strong text-text-tertiary",
1956
1956
  children: [
1957
1957
  /* @__PURE__ */ p("span", { children: [
1958
1958
  /* @__PURE__ */ a("span", { className: "text-text-tertiary", children: "PO address:" }),
@@ -1970,8 +1970,8 @@ const Te = (t, e = "USD") => new Intl.NumberFormat("en-US", {
1970
1970
  }).format(t);
1971
1971
  function Ze({ label: t, value: e }) {
1972
1972
  return /* @__PURE__ */ p("div", { className: "flex justify-between py-0.5", children: [
1973
- /* @__PURE__ */ a("span", { className: "text-[0.8125rem] text-text-tertiary", children: t }),
1974
- /* @__PURE__ */ a("span", { className: "text-[0.8125rem] text-text", children: e })
1973
+ /* @__PURE__ */ a("span", { className: "text-sm text-text-tertiary", children: t }),
1974
+ /* @__PURE__ */ a("span", { className: "text-sm text-text", children: e })
1975
1975
  ] });
1976
1976
  }
1977
1977
  function et(t, e) {
@@ -2006,8 +2006,8 @@ function Rn({
2006
2006
  }
2007
2007
  ),
2008
2008
  /* @__PURE__ */ p("div", { className: "flex justify-between mt-1 pt-1.5 border-t border-border", children: [
2009
- /* @__PURE__ */ a("span", { className: "text-[0.875rem] font-semibold text-text", children: "Total" }),
2010
- /* @__PURE__ */ a("span", { className: "text-[0.875rem] font-semibold text-text", children: et(n, i) })
2009
+ /* @__PURE__ */ a("span", { className: "text-sm font-semibold text-text", children: "Total" }),
2010
+ /* @__PURE__ */ a("span", { className: "text-sm font-semibold text-text", children: et(n, i) })
2011
2011
  ] }),
2012
2012
  /* @__PURE__ */ a(
2013
2013
  "button",
@@ -2015,7 +2015,7 @@ function Rn({
2015
2015
  type: "button",
2016
2016
  onClick: l,
2017
2017
  disabled: o === 0 || c || !d,
2018
- className: "bg-surface-invert shadow-button transition-all duration-200 ease-in-out enabled:hover:bg-surface-invert-hover enabled:hover:shadow-button-hover enabled:hover:-translate-y-px relative w-full mt-2.5 px-4 py-2.5 min-h-11 text-text-invert rounded-full text-[0.875rem] font-semibold flex items-center justify-center gap-1.5 cursor-pointer overflow-hidden disabled:opacity-50 disabled:cursor-not-allowed",
2018
+ className: "bg-surface-invert shadow-button transition-all duration-200 ease-in-out enabled:hover:bg-surface-invert-hover enabled:hover:shadow-button-hover enabled:hover:-translate-y-px relative w-full mt-2.5 px-4 py-2.5 min-h-11 text-text-invert rounded-full text-sm font-semibold flex items-center justify-center gap-1.5 cursor-pointer overflow-hidden disabled:opacity-50 disabled:cursor-not-allowed",
2019
2019
  "aria-label": `Checkout with ${s} items`,
2020
2020
  children: c ? "Loading..." : /* @__PURE__ */ p(ve, { children: [
2021
2021
  "Checkout with ",
@@ -2210,7 +2210,7 @@ function ir({
2210
2210
  ),
2211
2211
  I && /* @__PURE__ */ a("span", { className: "text-text-tertiary ml-0.5", children: /* @__PURE__ */ a(Be, {}) }),
2212
2212
  d === "success" && /* @__PURE__ */ a("span", { className: "text-success ml-0.5", children: /* @__PURE__ */ a(Ue, {}) }),
2213
- d === "error" && /* @__PURE__ */ a("span", { className: "text-error text-[0.6875rem] ml-0.5", children: "Failed" })
2213
+ d === "error" && /* @__PURE__ */ a("span", { className: "text-error text-xs ml-0.5", children: "Failed" })
2214
2214
  ] });
2215
2215
  }
2216
2216
  function Dn(t) {
@@ -2273,7 +2273,7 @@ function Dn(t) {
2273
2273
  l && !c && /* @__PURE__ */ a(
2274
2274
  "div",
2275
2275
  {
2276
- className: `flex items-center gap-1.5 text-[0.6875rem] px-1.5 py-0.5 rounded mt-1 ${d ? "bg-success-bg text-success-text" : "bg-warning-bg text-warning-text"}`,
2276
+ className: `flex items-center gap-1.5 text-xs px-1.5 py-0.5 rounded mt-1 ${d ? "bg-success-bg text-success-text" : "bg-warning-bg text-warning-text"}`,
2277
2277
  children: /* @__PURE__ */ p("span", { children: [
2278
2278
  d ? "Catalog price lower" : "Catalog price higher",
2279
2279
  " · ",
@@ -2285,8 +2285,8 @@ function Dn(t) {
2285
2285
  ] })
2286
2286
  }
2287
2287
  ),
2288
- e.status === "unavailable" && /* @__PURE__ */ a("span", { className: "inline-block text-[0.6875rem] font-medium px-1.5 py-0.5 rounded mt-1 bg-error/20 text-error-text", children: "Unavailable" }),
2289
- e.status === "pending" && /* @__PURE__ */ a("span", { className: "inline-block text-[0.6875rem] font-medium px-1.5 py-0.5 rounded mt-1 bg-warning/20 text-warning-text", children: "Pending" }),
2288
+ e.status === "unavailable" && /* @__PURE__ */ a("span", { className: "inline-block text-xs font-medium px-1.5 py-0.5 rounded mt-1 bg-error/20 text-error-text", children: "Unavailable" }),
2289
+ e.status === "pending" && /* @__PURE__ */ a("span", { className: "inline-block text-xs font-medium px-1.5 py-0.5 rounded mt-1 bg-warning/20 text-warning-text", children: "Pending" }),
2290
2290
  /* @__PURE__ */ p("div", { className: "flex items-center justify-between mt-2", children: [
2291
2291
  /* @__PURE__ */ a("div", { className: "flex items-center gap-1.5", children: /* @__PURE__ */ a(
2292
2292
  _n,
@@ -2313,7 +2313,7 @@ function _n(t) {
2313
2313
  }
2314
2314
  );
2315
2315
  }
2316
- const Et = "flex items-center gap-1 min-h-11 px-3 py-1 text-[0.6875rem] font-medium text-text bg-surface-secondary border border-border-focus/20 rounded-md hover:bg-surface-tertiary hover:border-border-focus/35 transition-all whitespace-nowrap";
2316
+ const Et = "flex items-center gap-1 min-h-11 px-3 py-1 text-xs font-medium text-text bg-surface-secondary border border-border-focus/20 rounded-md hover:bg-surface-tertiary hover:border-border-focus/35 transition-all whitespace-nowrap";
2317
2317
  function De({
2318
2318
  children: t,
2319
2319
  className: e,
@@ -2341,14 +2341,14 @@ function or({ onNewOrder: t }) {
2341
2341
  };
2342
2342
  return F(() => () => {
2343
2343
  n.current && clearTimeout(n.current);
2344
- }, []), e ? /* @__PURE__ */ p("span", { className: "flex items-center gap-1.5 text-[0.6875rem] animate-[fadeIn_0.15s_ease]", children: [
2344
+ }, []), e ? /* @__PURE__ */ p("span", { className: "flex items-center gap-1.5 text-xs animate-[fadeIn_0.15s_ease]", children: [
2345
2345
  /* @__PURE__ */ a("span", { className: "text-text-tertiary font-medium", children: "Reset?" }),
2346
2346
  /* @__PURE__ */ a(
2347
2347
  "button",
2348
2348
  {
2349
2349
  type: "button",
2350
2350
  onClick: s,
2351
- className: "min-h-11 min-w-11 px-3 py-1 text-[0.6875rem] font-semibold text-error-text bg-error-bg border border-error/30 rounded hover:bg-error/20 transition-all",
2351
+ className: "min-h-11 min-w-11 px-3 py-1 text-xs font-semibold text-error-text bg-error-bg border border-error/30 rounded hover:bg-error/20 transition-all",
2352
2352
  children: "Yes"
2353
2353
  }
2354
2354
  ),
@@ -2357,7 +2357,7 @@ function or({ onNewOrder: t }) {
2357
2357
  {
2358
2358
  type: "button",
2359
2359
  onClick: o,
2360
- className: "min-h-11 min-w-11 px-3 py-1 text-[0.6875rem] font-semibold text-text-tertiary bg-surface-secondary border border-border rounded hover:bg-surface-tertiary transition-all",
2360
+ className: "min-h-11 min-w-11 px-3 py-1 text-xs font-semibold text-text-tertiary bg-surface-secondary border border-border rounded hover:bg-surface-tertiary transition-all",
2361
2361
  children: "No"
2362
2362
  }
2363
2363
  )
@@ -2427,7 +2427,7 @@ function qn({
2427
2427
  ] })
2428
2428
  ] }),
2429
2429
  /* @__PURE__ */ p("div", { className: "flex flex-col flex-1 items-center justify-center gap-4 py-3 px-8", children: [
2430
- /* @__PURE__ */ a("div", { className: "flex items-center justify-center w-16 h-16 rounded-[14px] p-1 text-text", children: /* @__PURE__ */ a(Un, {}) }),
2430
+ /* @__PURE__ */ a("div", { className: "flex items-center justify-center w-16 h-16 rounded-2xl p-1 text-text", children: /* @__PURE__ */ a(Un, {}) }),
2431
2431
  /* @__PURE__ */ a("h3", { className: "m-0 text-base font-semibold text-text", children: "Your cart will appear here" }),
2432
2432
  /* @__PURE__ */ a("div", { className: "h-[50px]", "aria-hidden": "true" })
2433
2433
  ] }),
@@ -3144,7 +3144,7 @@ function rs({
3144
3144
  /* @__PURE__ */ p("div", { className: "flex items-start justify-between gap-2", children: [
3145
3145
  /* @__PURE__ */ p("div", { className: "flex-1 min-w-0", children: [
3146
3146
  (t.productName || t.productSku) && /* @__PURE__ */ a("p", { className: "text-sm font-medium text-text-secondary m-0 truncate", children: tt(t) }),
3147
- /* @__PURE__ */ a("div", { className: "flex items-center gap-1.5 mt-1", children: /* @__PURE__ */ p("span", { className: "inline-flex items-center gap-1 text-[0.625rem] font-medium px-1.5 py-0.5 rounded bg-surface-tertiary text-text-secondary", children: [
3147
+ /* @__PURE__ */ a("div", { className: "flex items-center gap-1.5 mt-1", children: /* @__PURE__ */ p("span", { className: "inline-flex items-center gap-1 text-2xs font-medium px-1.5 py-0.5 rounded bg-surface-tertiary text-text-secondary", children: [
3148
3148
  /* @__PURE__ */ a("span", { className: "w-1.5 h-1.5 bg-text-secondary rounded-full animate-pulse" }),
3149
3149
  t.status
3150
3150
  ] }) })
@@ -3229,7 +3229,7 @@ function ns({
3229
3229
  children: [
3230
3230
  /* @__PURE__ */ p("div", { className: "px-4 py-3 shrink-0", children: [
3231
3231
  /* @__PURE__ */ p("div", { className: "flex items-center justify-between mb-2", children: [
3232
- /* @__PURE__ */ a("h2", { className: "text-[1.125rem] font-normal text-text m-0", children: "Cart" }),
3232
+ /* @__PURE__ */ a("h2", { className: "text-lg font-normal text-text m-0", children: "Cart" }),
3233
3233
  /* @__PURE__ */ p("div", { className: "flex items-center gap-2", children: [
3234
3234
  $ && /* @__PURE__ */ a(or, { onNewOrder: $ }),
3235
3235
  O && /* @__PURE__ */ p(De, { onClick: O, "aria-label": "Expand", children: [
@@ -3244,13 +3244,13 @@ function ns({
3244
3244
  ] }),
3245
3245
  d && /* @__PURE__ */ p("div", { className: "flex gap-5 mb-2", children: [
3246
3246
  /* @__PURE__ */ p("div", { className: "flex flex-col gap-0", children: [
3247
- /* @__PURE__ */ a("span", { className: "text-[0.625rem] text-text-tertiary uppercase tracking-[0.05em]", children: "PO Number" }),
3247
+ /* @__PURE__ */ a("span", { className: "text-2xs text-text-tertiary uppercase tracking-[0.05em]", children: "PO Number" }),
3248
3248
  /* @__PURE__ */ p(
3249
3249
  "button",
3250
3250
  {
3251
3251
  type: "button",
3252
3252
  onClick: ee,
3253
- className: "flex items-center gap-1 text-[0.8125rem] font-semibold text-text bg-transparent border-none cursor-pointer p-0 hover:opacity-70 transition-opacity",
3253
+ className: "flex items-center gap-1 text-sm font-semibold text-text bg-transparent border-none cursor-pointer p-0 hover:opacity-70 transition-opacity",
3254
3254
  title: G ? "Copied!" : "Copy PO Number",
3255
3255
  children: [
3256
3256
  d,
@@ -3260,8 +3260,8 @@ function ns({
3260
3260
  )
3261
3261
  ] }),
3262
3262
  /* @__PURE__ */ p("div", { className: "flex flex-col gap-0", children: [
3263
- /* @__PURE__ */ a("span", { className: "text-[0.625rem] text-text-tertiary uppercase tracking-[0.05em]", children: "Items" }),
3264
- /* @__PURE__ */ a("span", { className: "text-[0.8125rem] font-semibold text-text", children: t.length })
3263
+ /* @__PURE__ */ a("span", { className: "text-2xs text-text-tertiary uppercase tracking-[0.05em]", children: "Items" }),
3264
+ /* @__PURE__ */ a("span", { className: "text-sm font-semibold text-text", children: t.length })
3265
3265
  ] })
3266
3266
  ] }),
3267
3267
  /* @__PURE__ */ a(
@@ -3392,7 +3392,7 @@ function ls({
3392
3392
  "textarea",
3393
3393
  {
3394
3394
  placeholder: "Describe what you need...",
3395
- className: "flex-1 resize-none border-none rounded-xl px-4 py-3 text-[0.9375rem] font-inherit bg-transparent min-h-[44px] max-h-[120px] leading-normal focus:outline-none placeholder:text-text-quaternary disabled:cursor-not-allowed",
3395
+ className: "flex-1 resize-none border-none rounded-xl px-4 py-3 text-sm font-inherit bg-transparent min-h-[44px] max-h-[120px] leading-normal focus:outline-none placeholder:text-text-quaternary disabled:cursor-not-allowed",
3396
3396
  rows: 1,
3397
3397
  value: t,
3398
3398
  onChange: e,
@@ -3705,7 +3705,7 @@ function Bt({
3705
3705
  return /* @__PURE__ */ p(
3706
3706
  "div",
3707
3707
  {
3708
- className: `bg-surface rounded-[10px] border overflow-hidden transition-[border-color,box-shadow] duration-150 flex ${x ? "flex-row border-border hover:shadow-md" : `w-[180px] max-w-full shrink-0 flex-col border-border hover:border-border-strong hover:shadow-[0_2px_8px_rgba(0,0,0,0.06)]${G ? " opacity-70" : ""}`} ${n}`,
3708
+ className: `bg-surface rounded-xl border overflow-hidden transition-[border-color,box-shadow] duration-150 flex ${x ? "flex-row border-border hover:shadow-md" : `w-[180px] max-w-full shrink-0 flex-col border-border hover:border-border-strong hover:shadow-[0_2px_8px_rgba(0,0,0,0.06)]${G ? " opacity-70" : ""}`} ${n}`,
3709
3709
  children: [
3710
3710
  /* @__PURE__ */ p(
3711
3711
  "div",
@@ -3720,7 +3720,7 @@ function Bt({
3720
3720
  className: "w-full h-full object-cover"
3721
3721
  }
3722
3722
  ) : /* @__PURE__ */ a(xs, {}),
3723
- !x && G && /* @__PURE__ */ a("div", { className: "absolute top-2 right-2 bg-error text-text-invert text-[0.6875rem] font-semibold px-2 py-0.5 rounded", children: "Out of stock" })
3723
+ !x && G && /* @__PURE__ */ a("div", { className: "absolute top-2 right-2 bg-error text-text-invert text-xs font-semibold px-2 py-0.5 rounded", children: "Out of stock" })
3724
3724
  ]
3725
3725
  }
3726
3726
  ),
@@ -3750,7 +3750,7 @@ function Bt({
3750
3750
  /* @__PURE__ */ a("p", { className: "text-xs text-text-quaternary m-0 mt-0.5", children: g }),
3751
3751
  A !== void 0 && /* @__PURE__ */ a("p", { className: "text-sm font-semibold text-text m-0 mt-1", children: Te(A) }),
3752
3752
  G && /* @__PURE__ */ a("p", { className: "text-xs text-error m-0 mt-1 font-medium", children: "Out of Stock" }),
3753
- !x && !G && $ !== void 0 && $ > 0 && /* @__PURE__ */ p("p", { className: "text-[0.625rem] text-success font-medium m-0 mt-0.5", children: [
3753
+ !x && !G && $ !== void 0 && $ > 0 && /* @__PURE__ */ p("p", { className: "text-2xs text-success font-medium m-0 mt-0.5", children: [
3754
3754
  $,
3755
3755
  " in stock"
3756
3756
  ] }),
@@ -4691,7 +4691,7 @@ function Os({
4691
4691
  className: "flex items-center gap-2 px-3 py-2 bg-surface hover:bg-surface-secondary rounded-lg transition-colors border border-border text-left w-full",
4692
4692
  children: [
4693
4693
  /* @__PURE__ */ a(At, {}),
4694
- /* @__PURE__ */ a("span", { className: "text-[0.9375rem] text-text font-medium truncate min-w-0", children: s || "Uploaded Document" }),
4694
+ /* @__PURE__ */ a("span", { className: "text-sm text-text font-medium truncate min-w-0", children: s || "Uploaded Document" }),
4695
4695
  /* @__PURE__ */ p(
4696
4696
  "svg",
4697
4697
  {
@@ -4714,7 +4714,7 @@ function Os({
4714
4714
  n && /* @__PURE__ */ a("div", { className: "mt-2 p-3 bg-surface border border-border rounded-lg max-h-96 overflow-y-auto", children: f.map((u, m) => u.type === "text" ? /* @__PURE__ */ a(
4715
4715
  ze,
4716
4716
  {
4717
- className: "text-[0.875rem] leading-normal text-text",
4717
+ className: "text-sm leading-normal text-text",
4718
4718
  plugins: {},
4719
4719
  children: u.text
4720
4720
  },
@@ -4747,7 +4747,7 @@ function Os({
4747
4747
  children: /* @__PURE__ */ a(
4748
4748
  ze,
4749
4749
  {
4750
- className: "text-[0.9375rem] leading-relaxed text-text",
4750
+ className: "text-sm leading-relaxed text-text",
4751
4751
  plugins: {},
4752
4752
  children: u.text
4753
4753
  }
@@ -4882,14 +4882,14 @@ function Rs({
4882
4882
  "div",
4883
4883
  {
4884
4884
  className: ke(
4885
- "flex items-center justify-center w-16 h-16 rounded-[14px] p-1 border-2 border-dashed border-border-focus text-text transition-transform duration-200",
4885
+ "flex items-center justify-center w-16 h-16 rounded-2xl p-1 border-2 border-dashed border-border-focus text-text transition-transform duration-200",
4886
4886
  t && "animate-icon-bounce"
4887
4887
  ),
4888
4888
  children: /* @__PURE__ */ a(Sr, {})
4889
4889
  }
4890
4890
  ),
4891
- /* @__PURE__ */ a("h3", { className: "m-0 text-base font-semibold text-text text-center", children: "Upload your Purchase Order" }),
4892
- /* @__PURE__ */ a("p", { className: "m-0 text-sm text-text-tertiary text-center", children: "Get automagical product matching and stock availability" }),
4891
+ /* @__PURE__ */ a("h3", { className: "m-0 text-base font-semibold text-text text-center", children: "Upload your Order" }),
4892
+ /* @__PURE__ */ a("p", { className: "m-0 text-sm text-text-tertiary text-center", children: "Your Order Assistant will match products and check stock availability" }),
4893
4893
  /* @__PURE__ */ a("div", { className: "flex flex-wrap justify-center gap-2", children: tr.map((c) => /* @__PURE__ */ a(
4894
4894
  "span",
4895
4895
  {
@@ -5374,13 +5374,13 @@ function kr() {
5374
5374
  }
5375
5375
  const Qs = [
5376
5376
  { label: "Upload", number: 1 },
5377
- { label: "Analyze", number: 2 },
5377
+ { label: "Match", number: 2 },
5378
5378
  { label: "Checkout", number: 3 }
5379
5379
  ];
5380
5380
  function Gs(t = {}) {
5381
5381
  return /* @__PURE__ */ a("div", { className: "flex items-center justify-center gap-0 p-4 md:py-1 md:px-0", children: Qs.map((e, r) => /* @__PURE__ */ p("div", { className: "flex items-center gap-2", children: [
5382
5382
  r > 0 && /* @__PURE__ */ a("div", { className: "w-6 md:w-10 h-px mx-2 md:mx-3 rounded-[1px] bg-border" }),
5383
- /* @__PURE__ */ a("div", { className: "flex items-center justify-center w-5 h-5 rounded-full shrink-0 bg-transparent border-[1.5px] border-border-strong text-text-quaternary", children: /* @__PURE__ */ a("span", { className: "text-[0.6875rem] font-medium", children: e.number }) }),
5383
+ /* @__PURE__ */ a("div", { className: "flex items-center justify-center w-5 h-5 rounded-full shrink-0 bg-transparent border-[1.5px] border-border-strong text-text-quaternary", children: /* @__PURE__ */ a("span", { className: "text-xs font-medium", children: e.number }) }),
5384
5384
  /* @__PURE__ */ a("span", { className: "text-s font-normal whitespace-nowrap text-text-quaternary", children: e.label })
5385
5385
  ] }, e.label)) });
5386
5386
  }
@@ -5424,14 +5424,14 @@ function Hs({
5424
5424
  "div",
5425
5425
  {
5426
5426
  className: ke(
5427
- "flex items-center justify-center w-16 h-16 rounded-[14px] p-1 border-2 border-dashed border-border-focus text-text transition-transform duration-200",
5427
+ "flex items-center justify-center w-16 h-16 rounded-2xl p-1 border-2 border-dashed border-border-focus text-text transition-transform duration-200",
5428
5428
  t && "animate-icon-bounce"
5429
5429
  ),
5430
5430
  children: /* @__PURE__ */ a(Sr, {})
5431
5431
  }
5432
5432
  ),
5433
- /* @__PURE__ */ a("h2", { className: "m-0 text-2xl max-md:text-xl font-semibold text-text text-center", children: "Upload your Purchase Order" }),
5434
- /* @__PURE__ */ a("p", { className: "m-0 text-[15px] text-text-tertiary text-center", children: "Get automagical product matching and stock availability" }),
5433
+ /* @__PURE__ */ a("h2", { className: "m-0 text-2xl max-md:text-xl font-semibold text-text text-center", children: "Upload your Order" }),
5434
+ /* @__PURE__ */ a("p", { className: "m-0 px-8 text-sm text-text-tertiary text-center", children: "Your Order Assistant will match products and check stock availability" }),
5435
5435
  /* @__PURE__ */ a("div", { className: "flex flex-wrap justify-center gap-2 mt-2", children: tr.map((o) => /* @__PURE__ */ a(
5436
5436
  "span",
5437
5437
  {
@@ -5483,7 +5483,7 @@ function Ks({
5483
5483
  "button",
5484
5484
  {
5485
5485
  type: "button",
5486
- className: "border-none pt-4 pb-8 px-4 text-[15px] text-text-tertiary cursor-pointer transition-colors duration-150 hover:text-text hover:underline focus-visible:outline-2 focus-visible:outline-border-focus focus-visible:outline-offset-2 rounded",
5486
+ className: "border-none pt-4 pb-8 px-4 text-sm text-text-tertiary cursor-pointer transition-colors duration-150 hover:text-text hover:underline focus-visible:outline-2 focus-visible:outline-border-focus focus-visible:outline-offset-2 rounded",
5487
5487
  onClick: o,
5488
5488
  children: "Or start by describing what you need"
5489
5489
  }
@@ -8179,4 +8179,4 @@ export {
8179
8179
  Bi as r,
8180
8180
  Li as s
8181
8181
  };
8182
- //# sourceMappingURL=purchase-order-chat-wrapper-Cna4k42U.js.map
8182
+ //# sourceMappingURL=purchase-order-chat-wrapper-s-B-vEE8.js.map