@assure-one/design-system 1.20.0 → 1.20.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.
package/dist/index.d.ts CHANGED
@@ -3034,6 +3034,11 @@ interface QuestionsProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onC
3034
3034
  step?: number;
3035
3035
  /** When set on a `repeater`, renders a bounded stepper that drives the number of item grids. */
3036
3036
  countLabel?: string;
3037
+ /**
3038
+ * Noun for each `repeater` entry card header, e.g. `"U.S. presence period"` →
3039
+ * "U.S. presence period 1". Defaults to the generic "Item" when unset.
3040
+ */
3041
+ itemNoun?: string;
3037
3042
  onValueChange?: (value: string) => void;
3038
3043
  onValuesChange?: (values: string[]) => void;
3039
3044
  onAddressChange?: (value: QuestionAddressValue) => void;
package/dist/index.js CHANGED
@@ -11552,6 +11552,7 @@ var Questions = forwardRef(function Questions2({
11552
11552
  max,
11553
11553
  step = 1,
11554
11554
  countLabel,
11555
+ itemNoun,
11555
11556
  onValueChange,
11556
11557
  onValuesChange,
11557
11558
  onAddressChange,
@@ -11968,7 +11969,7 @@ var Questions = forwardRef(function Questions2({
11968
11969
  tableRows.map((row, rowIndex) => /* @__PURE__ */ jsxs("div", { className: "border-rule bg-surface-2 rounded-[16px] border p-4", children: [
11969
11970
  /* @__PURE__ */ jsxs("div", { className: "mb-3 flex items-center justify-between gap-3", children: [
11970
11971
  /* @__PURE__ */ jsxs("span", { className: "text-fg text-[13px] font-semibold", children: [
11971
- type === "repeater" ? "Item" : "Row",
11972
+ type === "repeater" ? itemNoun ?? "Item" : "Row",
11972
11973
  " ",
11973
11974
  rowIndex + 1
11974
11975
  ] }),