@sb1/indeks-web 0.6.0 → 0.7.0

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 CHANGED
@@ -1,5 +1,7 @@
1
1
  # @sb1/indeks-web
2
2
 
3
+ ## 0.7.0
4
+
3
5
  ## 0.6.0
4
6
 
5
7
  ### Minor Changes
package/dist/npm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- //#region \0@oxc-project+runtime@0.129.0/helpers/typeof.js
1
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/typeof.js
2
2
  function _typeof(o) {
3
3
  "@babel/helpers - typeof";
4
4
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
@@ -8,7 +8,7 @@ function _typeof(o) {
8
8
  }, _typeof(o);
9
9
  }
10
10
  //#endregion
11
- //#region \0@oxc-project+runtime@0.129.0/helpers/toPrimitive.js
11
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPrimitive.js
12
12
  function toPrimitive(t, r) {
13
13
  if ("object" != _typeof(t) || !t) return t;
14
14
  var e = t[Symbol.toPrimitive];
@@ -20,13 +20,13 @@ function toPrimitive(t, r) {
20
20
  return ("string" === r ? String : Number)(t);
21
21
  }
22
22
  //#endregion
23
- //#region \0@oxc-project+runtime@0.129.0/helpers/toPropertyKey.js
23
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPropertyKey.js
24
24
  function toPropertyKey(t) {
25
25
  var i = toPrimitive(t, "string");
26
26
  return "symbol" == _typeof(i) ? i : i + "";
27
27
  }
28
28
  //#endregion
29
- //#region \0@oxc-project+runtime@0.129.0/helpers/defineProperty.js
29
+ //#region \0@oxc-project+runtime@0.133.0/helpers/esm/defineProperty.js
30
30
  function _defineProperty(e, r, t) {
31
31
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
32
32
  value: t,
@@ -309,7 +309,7 @@ function place(trigger, panel, placement) {
309
309
  const pw = panel.offsetWidth;
310
310
  const ph = panel.offsetHeight;
311
311
  const arrowSize = 6;
312
- const gap = arrowSize + 4;
312
+ const gap = 10;
313
313
  const axis = placement.startsWith("top") ? "top" : placement.startsWith("bottom") ? "bottom" : placement;
314
314
  let resolvedAxis = axis;
315
315
  if (axis === "top" && r.top - ph - gap < 0) resolvedAxis = "bottom";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sb1/indeks-web",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "type": "module",
5
5
  "description": "Web components for Indeks design system",
6
6
  "homepage": "https://design.sparebank1.no",
@@ -40,12 +40,12 @@
40
40
  "author": "",
41
41
  "license": "MIT",
42
42
  "devDependencies": {
43
- "@types/node": "^25.6.2",
43
+ "@types/node": "^25.9.2",
44
44
  "jsdom": "^29.1.1",
45
45
  "typescript": "~6.0.3",
46
- "vite": "^8.0.12",
47
- "vite-plugin-dts": "^5.0.0",
48
- "vitest": "^4.1.5"
46
+ "vite": "^8.0.16",
47
+ "vite-plugin-dts": "^5.0.2",
48
+ "vitest": "^4.1.8"
49
49
  },
50
50
  "scripts": {
51
51
  "dev": "echo not implemented",