@v1nt1248/3nclient-lib 0.1.89 → 0.1.91

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@v1nt1248/3nclient-lib",
3
3
  "license": "AGPL-3.0-or-later",
4
4
  "author": "v1nt1248",
5
- "version": "0.1.89",
5
+ "version": "0.1.91",
6
6
  "description": "Library for 3NWeb clients",
7
7
  "type": "module",
8
8
  "files": [
@@ -70,7 +70,7 @@
70
70
  "@types/sanitize-html": "2.13.0",
71
71
  "@typescript-eslint/eslint-plugin": "8.0.1",
72
72
  "@typescript-eslint/parser": "8.0.1",
73
- "@vitejs/plugin-vue": "5.2.1",
73
+ "@vitejs/plugin-vue": "5.2.3",
74
74
  "@vue/compiler-core": "3.5.13",
75
75
  "@vue/eslint-config-typescript": "13.0.0",
76
76
  "@vue/runtime-core": "3.5.13",
@@ -93,22 +93,25 @@
93
93
  "stylelint-config-recommended-vue": "1.5.0",
94
94
  "stylelint-config-standard": "36.0.1",
95
95
  "stylelint-scss": "6.5.0",
96
- "typescript": "5.7.3",
97
- "vite": "5.4.14",
96
+ "typescript": "5.8.3",
97
+ "vite": "6.2.6",
98
98
  "vite-plugin-css-injected-by-js": "3.5.2",
99
99
  "vite-plugin-dts": "4.5.0",
100
- "vite-plugin-vue-devtools": "^7.7.0",
100
+ "vite-plugin-vue-devtools": "^7.7.2",
101
101
  "vitepress": "1.5.0",
102
102
  "vue": "3.5.13",
103
103
  "vue-tsc": "2.2.0"
104
104
  },
105
- "packageManager": "pnpm@10.7.0",
105
+ "packageManager": "pnpm@10.8.1",
106
106
  "pnpm": {
107
107
  "peerDependencyRules": {
108
108
  "ignoreMissing": [
109
109
  "@algolia/client-search",
110
110
  "search-insights"
111
111
  ]
112
- }
112
+ },
113
+ "onlyBuiltDependencies": [
114
+ "esbuild"
115
+ ]
113
116
  }
114
117
  }
@@ -8,8 +8,8 @@
8
8
  const baseOffset = 5;
9
9
 
10
10
  const props = withDefaults(defineProps<Ui3nTooltipProps>(), {
11
- color: 'var(--color-bg-control-secondary-default)',
12
- textColor: 'var(--color-text-control-primary-default)',
11
+ color: 'var(--color-bg-block-tritery-default)',
12
+ textColor: 'var(--color-text-block-darkery-default)',
13
13
  placement: 'top',
14
14
  positionStrategy: 'absolute',
15
15
  offsetX: 0,
@@ -96,6 +96,8 @@
96
96
 
97
97
  referenceEl.value = el.nodeName === '#text' ? el.nextElementSibling : el;
98
98
 
99
+ if (!referenceEl.value) return;
100
+
99
101
  if (props.trigger === 'hover') {
100
102
  referenceEl.value!.addEventListener('mouseenter', onMouseenter);
101
103
  referenceEl.value!.addEventListener('mouseleave', onMouseleave);
@@ -105,6 +107,8 @@
105
107
  });
106
108
 
107
109
  onBeforeUnmount(() => {
110
+ if (!referenceEl.value) return;
111
+
108
112
  if (props.trigger === 'hover') {
109
113
  referenceEl.value!.removeEventListener('mouseenter', onMouseenter);
110
114
  referenceEl.value!.removeEventListener('mouseleave', onMouseleave);
@@ -201,8 +205,8 @@
201
205
  .content {
202
206
  position: relative;
203
207
  max-width: 400px;
204
- padding: var(--spacing-xs) var(--spacing-s);
205
- border-radius: var(--spacing-xs);
208
+ padding: 6px var(--spacing-s);
209
+ border-radius: 6px;
206
210
  font-size: var(--font-11);
207
211
  line-height: var(--font-12);
208
212
  font-weight: 400;