@ai-matrx/records-ui 0.103.2 → 0.103.3
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/CHANGELOG.md +6 -0
- package/dist/index.cjs +12 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog — @ai-matrx/records-ui
|
|
2
2
|
|
|
3
|
+
## 0.103.3
|
|
4
|
+
|
|
5
|
+
- `FormBuilder`: each asked question has its own **Required** box (Notion's form). It writes the question's `required` (a Field that is required stays required). Test: `src/form-publish.test.tsx`.
|
|
6
|
+
|
|
7
|
+
**Consumer action:** none.
|
|
8
|
+
|
|
3
9
|
## 0.103.2
|
|
4
10
|
|
|
5
11
|
- Republish of 0.103.1 (its publish stopped on two suites fixed on main after its tag: the form runner's date placeholder and a formula clause). No change of its own.
|
package/dist/index.cjs
CHANGED
|
@@ -40900,6 +40900,18 @@ function FormBuilder({ tableId, seed, activeFormId, onActiveForm, startWithOne,
|
|
|
40900
40900
|
onChange: (e) => patchQuestion(index, { help: e.target.value || null })
|
|
40901
40901
|
}
|
|
40902
40902
|
),
|
|
40903
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsxs)("label", { className: "col-span-2 flex items-center gap-2 text-xs", children: [
|
|
40904
|
+
/* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
|
|
40905
|
+
import_design_system115.Checkbox,
|
|
40906
|
+
{
|
|
40907
|
+
checked: field2.required ? true : question.required === true,
|
|
40908
|
+
disabled: field2.required === true,
|
|
40909
|
+
"aria-label": `${fieldName(field2)} is required`,
|
|
40910
|
+
onCheckedChange: (checked) => patchQuestion(index, { required: checked === true ? true : null })
|
|
40911
|
+
}
|
|
40912
|
+
),
|
|
40913
|
+
"Required"
|
|
40914
|
+
] }),
|
|
40903
40915
|
/* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
|
|
40904
40916
|
Condition,
|
|
40905
40917
|
{
|