alit-layout 1.0.5 → 1.0.6

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.
Files changed (2) hide show
  1. package/dist/index.es.js +1 -1
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -2998,7 +2998,7 @@ const An = /* @__PURE__ */ ce(Pn, [["render", Dn]]), Nn = ["data-block"], Bn = {
2998
2998
  if (a.includes(_.problemType)) {
2999
2999
  let B = {};
3000
3000
  if (Object.values(Lt).includes(e.data.problemType)) {
3001
- const ue = Math.max(...(e.data.rawChildren || e.data.children).map((se) => se.optList.length)) * (Se[e.layout.fillSize].value + 9) + (u.value[`h${e.data.id}`] || u.value[((R = e.data.children[0]) == null ? void 0 : R.polymerId) || ""]) * 14 + 20, he = Math.min(Math.floor(e.width / (ue + 10)), e.data.style[m[e.layout.mode].choice_d] || 10);
3001
+ const ue = Math.max(...(e.data.rawChildren || e.data.children).map((se) => se.optList.length)) * (Se[e.layout.fillSize].value + 9) + (u.value[`h${e.data.id}`] || u.value[((R = e.data.children[0]) == null ? void 0 : R.polymerId) || ""]) * 14 + 20, he = Math.min(Math.floor(e.width / ue), e.data.style[m[e.layout.mode].choice_d] || 10);
3002
3002
  B = k % he ? { minWidth: `${ue}px`, marginLeft: `${(e.width - ue * he) / (he - 1) - 5}px` } : { minWidth: `${ue}px` };
3003
3003
  }
3004
3004
  w = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alit-layout",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "main": "dist/index.es.js",
5
5
  "module": "dist/index.es.js",
6
6
  "devDependencies": {