@tesouro/embedded-components-react 0.3.60 → 0.3.61

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.
@@ -6,7 +6,7 @@ var n = (n) => t.object({
6
6
  type: t.enum(["product", "service"], n._("Product type is required")).meta({ title: n._("Type") }),
7
7
  pricePerUnit: t.number().min(0, n._("Price per unit must be 0 or greater")).meta({ title: n._("Price Per Unit") }),
8
8
  currency: e.meta({ title: n._("Currency") }),
9
- description: t.string().trim().max(280, n._("Description must be 280 characters or less")).optional().meta({ title: n._("Description") }),
9
+ description: t.string().trim().max(255, n._("Description must be 255 characters or less")).optional().meta({ title: n._("Description") }),
10
10
  measureUnitId: t.string().optional().meta({ title: n._("Unit") })
11
11
  }), r = (e) => t.object({
12
12
  name: t.string().trim().min(1, e._("Unit label is required")),
@@ -8,6 +8,7 @@ import { Label as m } from "./index87.js";
8
8
  import { Field as h, FieldContent as g, FieldError as _, FieldLabel as v } from "./index88.js";
9
9
  import { RadioGroup as y, RadioGroupItem as b } from "./index90.js";
10
10
  import { useGetMeasureUnits as x } from "./index459.js";
11
+ import "./index479.js";
11
12
  import "./index492.js";
12
13
  import { useCallback as S, useMemo as C, useRef as w } from "react";
13
14
  import { jsx as T, jsxs as E } from "@emotion/react/jsx-runtime";
@@ -185,7 +186,7 @@ var j = ({ isLoading: j, isEditMode: M, isProduct: N }) => {
185
186
  id: e.name,
186
187
  placeholder: P._("e.g. 16oz whole bean, medium-dark roast, ground to order"),
187
188
  rows: 4,
188
- maxLength: 280,
189
+ maxLength: 255,
189
190
  disabled: j,
190
191
  "aria-invalid": !!t || void 0
191
192
  }), /* @__PURE__ */ T(r, {
@@ -195,7 +196,7 @@ var j = ({ isLoading: j, isEditMode: M, isProduct: N }) => {
195
196
  variant: "caption",
196
197
  color: "muted",
197
198
  className: "ttw:leading-none",
198
- children: P._("{count}/280 characters", { count: (e.value ?? "").length })
199
+ children: P._("{count}/255 characters", { count: (e.value ?? "").length })
199
200
  })
200
201
  })]
201
202
  }),
@@ -1,5 +1,5 @@
1
1
  //#region ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
2
- var e = "@tesouro/embedded-components-react", t = "0.3.60", n = "85731e2f998968bee4a963173be797215ed2be15", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.3.61", n = "3949ff74baa5a4c181aa153425274528cfba3dc2", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.3.60",
3
+ "version": "0.3.61",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "packageDepSync": {