akeyless-client-commons 1.0.98 → 1.0.99

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.
@@ -5814,7 +5814,7 @@ var ElementLabel = function(param) {
5814
5814
  style: {
5815
5815
  direction: direction
5816
5816
  },
5817
- className: cn("text-start w-fit flex gap-0.5 text-nowrap", labelsCommonClassName, labelClassName),
5817
+ className: cn("text-start w-fit flex gap-0.5 text-nowrap form-label", labelsCommonClassName, labelClassName),
5818
5818
  htmlFor: name,
5819
5819
  children: [
5820
5820
  /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", {
@@ -5915,6 +5915,18 @@ var ModularForm = function(param) {
5915
5915
  };
5916
5916
  }();
5917
5917
  return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("form", {
5918
+ onLoad: function(e) {
5919
+ var form = e.currentTarget;
5920
+ var labels = form.getElementsByClassName("form-label");
5921
+ var max_width = 0;
5922
+ Array.from(labels).forEach(function(label) {
5923
+ var label_width = label.scrollWidth;
5924
+ if (label_width > max_width) {
5925
+ max_width = label_width;
5926
+ }
5927
+ });
5928
+ console.log("\u05D4\u05E8\u05D5\u05D7\u05D1 \u05D4\u05DE\u05E7\u05E1\u05D9\u05DE\u05DC\u05D9 \u05D1\u05E4\u05D9\u05E7\u05E1\u05DC\u05D9\u05DD \u05D4\u05D5\u05D0:", max_width);
5929
+ },
5918
5930
  onSubmit: onSubmit,
5919
5931
  style: {
5920
5932
  direction: direction
@@ -5610,7 +5610,7 @@ var ElementLabel = function(param) {
5610
5610
  style: {
5611
5611
  direction: direction
5612
5612
  },
5613
- className: cn("text-start w-fit flex gap-0.5 text-nowrap", labelsCommonClassName, labelClassName),
5613
+ className: cn("text-start w-fit flex gap-0.5 text-nowrap form-label", labelsCommonClassName, labelClassName),
5614
5614
  htmlFor: name,
5615
5615
  children: [
5616
5616
  /* @__PURE__ */ jsx19("div", {
@@ -5711,6 +5711,18 @@ var ModularForm = function(param) {
5711
5711
  };
5712
5712
  }();
5713
5713
  return /* @__PURE__ */ jsxs15("form", {
5714
+ onLoad: function(e) {
5715
+ var form = e.currentTarget;
5716
+ var labels = form.getElementsByClassName("form-label");
5717
+ var max_width = 0;
5718
+ Array.from(labels).forEach(function(label) {
5719
+ var label_width = label.scrollWidth;
5720
+ if (label_width > max_width) {
5721
+ max_width = label_width;
5722
+ }
5723
+ });
5724
+ console.log("\u05D4\u05E8\u05D5\u05D7\u05D1 \u05D4\u05DE\u05E7\u05E1\u05D9\u05DE\u05DC\u05D9 \u05D1\u05E4\u05D9\u05E7\u05E1\u05DC\u05D9\u05DD \u05D4\u05D5\u05D0:", max_width);
5725
+ },
5714
5726
  onSubmit: onSubmit,
5715
5727
  style: {
5716
5728
  direction: direction
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akeyless-client-commons",
3
- "version": "1.0.98",
3
+ "version": "1.0.99",
4
4
  "scripts": {
5
5
  "build": "tsup",
6
6
  "deploy": "npm run build && npm version patch --no-git-tag-version && npm publish",