quasar-ui-danx-legacy 0.3.57 → 0.3.58

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/README.md CHANGED
@@ -146,6 +146,37 @@ $ yarn dev
146
146
  $ yarn build
147
147
  ```
148
148
 
149
+ # Publishing
150
+
151
+ To publish a new version to npm:
152
+
153
+ ```bash
154
+ # Patch version (0.0.x)
155
+ yarn publish:patch
156
+
157
+ # Minor version (0.x.0)
158
+ yarn publish:minor
159
+
160
+ # Major version (x.0.0)
161
+ yarn publish:major
162
+ ```
163
+
164
+ The publish script will:
165
+ 1. Check npm authentication (prompts for login if needed)
166
+ 2. Build the package
167
+ 3. Bump the version
168
+ 4. Publish to npm
169
+ 5. Commit, tag, and push to git
170
+
171
+ ## Updating consumers
172
+
173
+ After publishing, update the MVA in the platform repo:
174
+
175
+ ```bash
176
+ # From platform root directory
177
+ make update-danx-legacy
178
+ ```
179
+
149
180
  # Adding Testing Components
150
181
 
151
182
  in the `ui/dev/src/pages` you can add Vue files to test your component/directive. When using `yarn dev` to build the UI,
package/dist/danx.es.js CHANGED
@@ -16733,21 +16733,24 @@ class hS extends Xd {
16733
16733
  return i;
16734
16734
  }
16735
16735
  /**
16736
- * Find the position in a grid layout by checking both X and Y coordinates
16736
+ * Find the position in a grid layout by checking both X and Y coordinates.
16737
+ * Uses row-aware logic: first finds the row, then position within the row.
16737
16738
  * @param point
16738
16739
  * @param children
16739
16740
  * @returns {number}
16740
16741
  */
16741
16742
  getGridPositionOfPoint(n, r) {
16742
16743
  if (r.length === 0) return 0;
16743
- let i = 0, o = 1 / 0, s = !1;
16744
- for (let l = 0; l < r.length; l++) {
16745
- const a = r[l].getBoundingClientRect(), u = a.left + a.width / 2, c = a.top + a.height / 2, d = Math.sqrt(
16746
- Math.pow(n.x - u, 2) + Math.pow(n.y - c, 2)
16747
- );
16748
- d < o && (o = d, i = l, s = n.x > u);
16744
+ for (let i = 0; i < r.length; i++) {
16745
+ const o = r[i].getBoundingClientRect(), s = o.top + o.height / 2, l = o.left + o.width / 2;
16746
+ if (n.y < s)
16747
+ if (n.y >= o.top) {
16748
+ if (n.x < l)
16749
+ return i;
16750
+ } else
16751
+ return i;
16749
16752
  }
16750
- return s ? i + 1 : i;
16753
+ return r.length;
16751
16754
  }
16752
16755
  /**
16753
16756
  * Updates the scroll position while dragging an element so a user can navigate a longer list while dragging
@@ -21122,7 +21125,7 @@ const IE = {
21122
21125
  });
21123
21126
  };
21124
21127
  }
21125
- }, n3 = "0.3.56", r3 = {
21128
+ }, n3 = "0.3.57", r3 = {
21126
21129
  version: n3
21127
21130
  }, { version: i3 } = r3;
21128
21131
  function cI(t) {