@examind/block-editor 0.1.38 → 0.1.40

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
@@ -6133,6 +6133,7 @@ function FinancialStatementQuestionComponent(props) {
6133
6133
  className: "financial-statement-question-header",
6134
6134
  colSpan: 2,
6135
6135
  "data-selectable": "true",
6136
+ style: columnHeaders.length >= 2 ? {} : { textAlign: "center" },
6136
6137
  children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_LexicalNestedComposer2.LexicalNestedComposer, { initialEditor: header, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(NestedEditor, { nodeKey, children: [
6137
6138
  /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SettingsPanelNestedAgentPlugin, {}),
6138
6139
  /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
@@ -20051,7 +20052,7 @@ function VariableSettings(props) {
20051
20052
  const VariableTypes = ["text", "number"];
20052
20053
  const VariableTypeLabelsMap = {
20053
20054
  number: "Number",
20054
- text: "Text"
20055
+ text: "Auto"
20055
20056
  };
20056
20057
  const variableTypesMenu = (0, import_react116.useMemo)(() => {
20057
20058
  return VariableTypes.map((typeItem) => {
package/dist/index.mjs CHANGED
@@ -6295,6 +6295,7 @@ function FinancialStatementQuestionComponent(props) {
6295
6295
  className: "financial-statement-question-header",
6296
6296
  colSpan: 2,
6297
6297
  "data-selectable": "true",
6298
+ style: columnHeaders.length >= 2 ? {} : { textAlign: "center" },
6298
6299
  children: /* @__PURE__ */ jsx54(LexicalNestedComposer2, { initialEditor: header, children: /* @__PURE__ */ jsxs15(NestedEditor, { nodeKey, children: [
6299
6300
  /* @__PURE__ */ jsx54(SettingsPanelNestedAgentPlugin, {}),
6300
6301
  /* @__PURE__ */ jsx54(
@@ -20711,7 +20712,7 @@ function VariableSettings(props) {
20711
20712
  const VariableTypes = ["text", "number"];
20712
20713
  const VariableTypeLabelsMap = {
20713
20714
  number: "Number",
20714
- text: "Text"
20715
+ text: "Auto"
20715
20716
  };
20716
20717
  const variableTypesMenu = useMemo14(() => {
20717
20718
  return VariableTypes.map((typeItem) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@examind/block-editor",
3
- "version": "0.1.38",
3
+ "version": "0.1.40",
4
4
  "@comment version": [
5
5
  "Don't specify package version here. It will be injected by publish workflow."
6
6
  ],
@@ -62,7 +62,7 @@
62
62
  "tsup": "^8.3.5",
63
63
  "typescript": "^5.7.2",
64
64
  "typescript-eslint": "^8.18.2",
65
- "@examind/block-types": "0.1.38"
65
+ "@examind/block-types": "0.1.40"
66
66
  },
67
67
  "dependencies": {
68
68
  "@dnd-kit/core": "6.3.1",