@cas-smartdesign/popover 4.2.1 → 4.3.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/dist/docs/doc.mjs CHANGED
@@ -27,7 +27,7 @@
27
27
  >
28
28
  </div>
29
29
  `,$i=`<h3 id="tooltip-like-popover">Tooltip-like popover</h3>
30
- `,Ui={mainContent:zi,description:$i},Fi=Object.freeze(Object.defineProperty({__proto__:null,default:Ui},Symbol.toStringTag,{value:"Module"})),qi="modulepreload",Wi=function(t,e){return new URL(t,e).href},Xr={},Hi=function(e,i,a){let r=Promise.resolve();if(i&&i.length>0){let f=function(n){return Promise.all(n.map(u=>Promise.resolve(u).then(o=>({status:"fulfilled",value:o}),o=>({status:"rejected",reason:o}))))};const c=document.getElementsByTagName("link"),h=document.querySelector("meta[property=csp-nonce]"),m=h?.nonce||h?.getAttribute("nonce");r=f(i.map(n=>{if(n=Wi(n,a),n in Xr)return;Xr[n]=!0;const u=n.endsWith(".css"),o=u?'[rel="stylesheet"]':"";if(!!a)for(let d=c.length-1;d>=0;d--){const b=c[d];if(b.href===n&&(!u||b.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${n}"]${o}`))return;const p=document.createElement("link");if(p.rel=u?"stylesheet":qi,u||(p.as="script"),p.crossOrigin="",p.href=n,m&&p.setAttribute("nonce",m),document.head.appendChild(p),u)return new Promise((d,b)=>{p.addEventListener("load",d),p.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${n}`)))})}))}function l(c){const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=c,window.dispatchEvent(h),!h.defaultPrevented)throw c}return r.then(c=>{for(const h of c||[])h.status==="rejected"&&l(h.reason);return e().catch(l)})},Gi=`<div id="popover-from-source-container" style="height: 150px"></div>
30
+ `,Ui={mainContent:zi,description:$i},Fi=Object.freeze(Object.defineProperty({__proto__:null,default:Ui},Symbol.toStringTag,{value:"Module"})),qi="modulepreload",Wi=function(t,e){return new URL(t,e).href},Xr={},Hi=function(e,i,a){let r=Promise.resolve();if(i&&i.length>0){let f=function(n){return Promise.all(n.map(u=>Promise.resolve(u).then(o=>({status:"fulfilled",value:o}),o=>({status:"rejected",reason:o}))))};const c=document.getElementsByTagName("link"),h=document.querySelector("meta[property=csp-nonce]"),m=h?.nonce||h?.getAttribute("nonce");r=f(i.map(n=>{if(n=Wi(n,a),n in Xr)return;Xr[n]=!0;const u=n.endsWith(".css"),o=u?'[rel="stylesheet"]':"";if(a)for(let p=c.length-1;p>=0;p--){const d=c[p];if(d.href===n&&(!u||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${n}"]${o}`))return;const s=document.createElement("link");if(s.rel=u?"stylesheet":qi,u||(s.as="script"),s.crossOrigin="",s.href=n,m&&s.setAttribute("nonce",m),document.head.appendChild(s),u)return new Promise((p,d)=>{s.addEventListener("load",p),s.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${n}`)))})}))}function l(c){const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=c,window.dispatchEvent(h),!h.defaultPrevented)throw c}return r.then(c=>{for(const h of c||[])h.status==="rejected"&&l(h.reason);return e().catch(l)})},Gi=`<div id="popover-from-source-container" style="height: 150px"></div>
31
31
  `,Vi=`<h3 id="create-and-access-popover-from-code">Create and access popover from code</h3>
32
32
  `,Zi=`import "@cas-smartdesign/popover";
33
33
  import Popover from "@cas-smartdesign/popover";
@@ -7,191 +7,191 @@
7
7
  "@eslint/js@9.34.0": {
8
8
  "licenses": "MIT",
9
9
  "repository": "https://github.com/eslint/eslint",
10
- "licenseUrl": "https://github.com/eslint/eslint/raw/HEAD/LICENSE"
10
+ "licenseUrl": "https://unpkg.com/@eslint/js@9.34.0/LICENSE"
11
11
  },
12
12
  "@popperjs/core@2.11.8": {
13
13
  "licenses": "MIT",
14
14
  "repository": "https://github.com/popperjs/popper-core",
15
- "licenseUrl": "https://github.com/popperjs/popper-core/raw/HEAD/LICENSE.md"
15
+ "licenseUrl": "https://unpkg.com/@popperjs/core@2.11.8/LICENSE.md"
16
16
  },
17
17
  "@rollup/plugin-node-resolve@16.0.1": {
18
18
  "licenses": "MIT",
19
19
  "repository": "https://github.com/rollup/plugins",
20
- "licenseUrl": "https://github.com/rollup/plugins/raw/HEAD/LICENSE"
20
+ "licenseUrl": "https://unpkg.com/@rollup/plugin-node-resolve@16.0.1/LICENSE"
21
21
  },
22
22
  "@types/node@24.3.0": {
23
23
  "licenses": "MIT",
24
24
  "repository": "https://github.com/DefinitelyTyped/DefinitelyTyped",
25
- "licenseUrl": "https://github.com/DefinitelyTyped/DefinitelyTyped/raw/HEAD/LICENSE"
25
+ "licenseUrl": "https://unpkg.com/@types/node@24.3.0/LICENSE"
26
26
  },
27
27
  "@types/postcss-prefix-selector@1.16.3": {
28
28
  "licenses": "MIT",
29
29
  "repository": "https://github.com/DefinitelyTyped/DefinitelyTyped",
30
- "licenseUrl": "https://github.com/DefinitelyTyped/DefinitelyTyped/raw/HEAD/LICENSE"
30
+ "licenseUrl": "https://unpkg.com/@types/postcss-prefix-selector@1.16.3/LICENSE"
31
31
  },
32
32
  "@typescript-eslint/eslint-plugin@8.41.0": {
33
33
  "licenses": "MIT",
34
34
  "repository": "https://github.com/typescript-eslint/typescript-eslint",
35
- "licenseUrl": "https://github.com/typescript-eslint/typescript-eslint/raw/HEAD/LICENSE"
35
+ "licenseUrl": "https://unpkg.com/@typescript-eslint/eslint-plugin@8.41.0/LICENSE"
36
36
  },
37
37
  "@typescript-eslint/parser@8.41.0": {
38
38
  "licenses": "MIT",
39
39
  "repository": "https://github.com/typescript-eslint/typescript-eslint",
40
- "licenseUrl": "https://github.com/typescript-eslint/typescript-eslint/raw/HEAD/LICENSE"
40
+ "licenseUrl": "https://unpkg.com/@typescript-eslint/parser@8.41.0/LICENSE"
41
41
  },
42
- "@vitest/coverage-v8@3.2.4": {
42
+ "@vitest/coverage-v8@4.0.18": {
43
43
  "licenses": "MIT",
44
44
  "repository": "https://github.com/vitest-dev/vitest",
45
- "licenseUrl": "https://github.com/vitest-dev/vitest/raw/HEAD/LICENSE"
45
+ "licenseUrl": "https://unpkg.com/@vitest/coverage-v8@4.0.18/LICENSE"
46
46
  },
47
- "@vitest/ui@3.2.4": {
47
+ "@vitest/ui@4.0.18": {
48
48
  "licenses": "MIT",
49
49
  "repository": "https://github.com/vitest-dev/vitest",
50
- "licenseUrl": "https://github.com/vitest-dev/vitest/raw/HEAD/LICENSE"
50
+ "licenseUrl": "https://unpkg.com/@vitest/ui@4.0.18/LICENSE"
51
51
  },
52
52
  "axe-core@4.10.3": {
53
53
  "licenses": "MPL-2.0",
54
54
  "repository": "https://github.com/dequelabs/axe-core",
55
- "licenseUrl": "https://github.com/dequelabs/axe-core/raw/HEAD/LICENSE"
55
+ "licenseUrl": "https://unpkg.com/axe-core@4.10.3/LICENSE"
56
56
  },
57
57
  "cypress-axe@1.7.0": {
58
58
  "licenses": "MIT",
59
59
  "repository": "https://github.com/component-driven/cypress-axe",
60
- "licenseUrl": "https://github.com/component-driven/cypress-axe/raw/HEAD/License.md"
60
+ "licenseUrl": "https://unpkg.com/cypress-axe@1.7.0/License.md"
61
61
  },
62
62
  "cypress@15.0.0": {
63
63
  "licenses": "MIT",
64
64
  "repository": "https://github.com/cypress-io/cypress",
65
65
  "licenseUrl": "https://cypress.io"
66
66
  },
67
- "esbuild@0.25.9": {
67
+ "esbuild@0.27.2": {
68
68
  "licenses": "MIT",
69
69
  "repository": "https://github.com/evanw/esbuild",
70
- "licenseUrl": "https://github.com/evanw/esbuild/raw/HEAD/LICENSE.md"
70
+ "licenseUrl": "https://unpkg.com/esbuild@0.27.2/LICENSE.md"
71
71
  },
72
72
  "eslint-config-google@0.14.0": {
73
73
  "licenses": "Apache-2.0",
74
74
  "repository": "https://github.com/google/eslint-config-google",
75
- "licenseUrl": "https://github.com/google/eslint-config-google/raw/HEAD/LICENSE"
75
+ "licenseUrl": "https://unpkg.com/eslint-config-google@0.14.0/LICENSE"
76
76
  },
77
77
  "eslint-config-prettier@10.1.8": {
78
78
  "licenses": "MIT",
79
79
  "repository": "https://github.com/prettier/eslint-config-prettier",
80
- "licenseUrl": "https://github.com/prettier/eslint-config-prettier/raw/HEAD/LICENSE"
80
+ "licenseUrl": "https://unpkg.com/eslint-config-prettier@10.1.8/LICENSE"
81
81
  },
82
82
  "eslint@9.34.0": {
83
83
  "licenses": "MIT",
84
84
  "repository": "https://github.com/eslint/eslint",
85
- "licenseUrl": "https://github.com/eslint/eslint/raw/HEAD/LICENSE"
85
+ "licenseUrl": "https://unpkg.com/eslint@9.34.0/LICENSE"
86
86
  },
87
87
  "github-markdown-css@5.8.1": {
88
88
  "licenses": "MIT",
89
89
  "repository": "https://github.com/sindresorhus/github-markdown-css",
90
- "licenseUrl": "https://github.com/sindresorhus/github-markdown-css/raw/HEAD/license"
90
+ "licenseUrl": "https://unpkg.com/github-markdown-css@5.8.1/license"
91
91
  },
92
92
  "highlight.js@11.11.1": {
93
93
  "licenses": "BSD-3-Clause",
94
94
  "repository": "https://github.com/highlightjs/highlight.js",
95
- "licenseUrl": "https://github.com/highlightjs/highlight.js/raw/HEAD/LICENSE"
95
+ "licenseUrl": "https://unpkg.com/highlight.js@11.11.1/LICENSE"
96
96
  },
97
97
  "junit-report-builder@5.1.1": {
98
98
  "licenses": "MIT",
99
99
  "repository": "https://github.com/davidparsson/junit-report-builder",
100
- "licenseUrl": "https://github.com/davidparsson/junit-report-builder/raw/HEAD/LICENSE"
100
+ "licenseUrl": "https://unpkg.com/junit-report-builder@5.1.1/LICENSE"
101
101
  },
102
102
  "lint-staged@16.1.5": {
103
103
  "licenses": "MIT",
104
104
  "repository": "https://github.com/lint-staged/lint-staged",
105
- "licenseUrl": "https://github.com/lint-staged/lint-staged/raw/HEAD/LICENSE"
105
+ "licenseUrl": "https://unpkg.com/lint-staged@16.1.5/LICENSE"
106
106
  },
107
107
  "marked@16.2.1": {
108
108
  "licenses": "MIT",
109
109
  "repository": "https://github.com/markedjs/marked",
110
- "licenseUrl": "https://github.com/markedjs/marked/raw/HEAD/LICENSE.md"
110
+ "licenseUrl": "https://unpkg.com/marked@16.2.1/LICENSE.md"
111
111
  },
112
112
  "postcss-prefix-selector@2.1.1": {
113
113
  "licenses": "MIT",
114
114
  "repository": "https://github.com/RadValentin/postcss-prefix-selector",
115
- "licenseUrl": "https://github.com/RadValentin/postcss-prefix-selector/raw/HEAD/LICENSE"
115
+ "licenseUrl": "https://unpkg.com/postcss-prefix-selector@2.1.1/LICENSE"
116
116
  },
117
117
  "postcss@8.5.6": {
118
118
  "licenses": "MIT",
119
119
  "repository": "https://github.com/postcss/postcss",
120
- "licenseUrl": "https://github.com/postcss/postcss/raw/HEAD/LICENSE"
120
+ "licenseUrl": "https://unpkg.com/postcss@8.5.6/LICENSE"
121
121
  },
122
- "prettier@3.6.2": {
122
+ "prettier@3.8.1": {
123
123
  "licenses": "MIT",
124
124
  "repository": "https://github.com/prettier/prettier",
125
- "licenseUrl": "https://github.com/prettier/prettier/raw/HEAD/LICENSE"
125
+ "licenseUrl": "https://unpkg.com/prettier@3.8.1/LICENSE"
126
126
  },
127
127
  "resolve-pkg@2.0.0": {
128
128
  "licenses": "MIT",
129
129
  "repository": "https://github.com/sindresorhus/resolve-pkg",
130
- "licenseUrl": "https://github.com/sindresorhus/resolve-pkg/raw/HEAD/license"
130
+ "licenseUrl": "https://unpkg.com/resolve-pkg@2.0.0/license"
131
131
  },
132
132
  "sass@1.91.0": {
133
133
  "licenses": "MIT",
134
134
  "repository": "https://github.com/sass/dart-sass",
135
- "licenseUrl": "https://github.com/sass/dart-sass/raw/HEAD/LICENSE"
135
+ "licenseUrl": "https://unpkg.com/sass@1.91.0/LICENSE"
136
136
  },
137
137
  "stylelint-config-recommended-scss@16.0.0": {
138
138
  "licenses": "MIT",
139
139
  "repository": "https://github.com/stylelint-scss/stylelint-config-recommended-scss",
140
- "licenseUrl": "https://github.com/stylelint-scss/stylelint-config-recommended-scss/raw/HEAD/LICENSE"
140
+ "licenseUrl": "https://unpkg.com/stylelint-config-recommended-scss@16.0.0/LICENSE"
141
141
  },
142
142
  "stylelint-config-standard@39.0.0": {
143
143
  "licenses": "MIT",
144
144
  "repository": "https://github.com/stylelint/stylelint-config-standard",
145
- "licenseUrl": "https://github.com/stylelint/stylelint-config-standard/raw/HEAD/LICENSE"
145
+ "licenseUrl": "https://unpkg.com/stylelint-config-standard@39.0.0/LICENSE"
146
146
  },
147
147
  "stylelint-scss@6.12.1": {
148
148
  "licenses": "MIT",
149
149
  "repository": "https://github.com/stylelint-scss/stylelint-scss",
150
- "licenseUrl": "https://github.com/stylelint-scss/stylelint-scss/raw/HEAD/LICENSE"
150
+ "licenseUrl": "https://unpkg.com/stylelint-scss@6.12.1/LICENSE"
151
151
  },
152
152
  "stylelint@16.23.1": {
153
153
  "licenses": "MIT",
154
154
  "repository": "https://github.com/stylelint/stylelint",
155
- "licenseUrl": "https://github.com/stylelint/stylelint/raw/HEAD/LICENSE"
155
+ "licenseUrl": "https://unpkg.com/stylelint@16.23.1/LICENSE"
156
156
  },
157
- "tsup@8.5.0": {
157
+ "tsup@8.5.1": {
158
158
  "licenses": "MIT",
159
159
  "repository": "https://github.com/egoist/tsup",
160
- "licenseUrl": "https://github.com/egoist/tsup/raw/HEAD/LICENSE"
160
+ "licenseUrl": "https://unpkg.com/tsup@8.5.1/LICENSE"
161
161
  },
162
162
  "turbo@2.5.6": {
163
163
  "licenses": "MIT",
164
164
  "repository": "https://github.com/vercel/turborepo",
165
- "licenseUrl": "https://github.com/vercel/turborepo/raw/HEAD/LICENSE"
165
+ "licenseUrl": "https://unpkg.com/turbo@2.5.6/LICENSE"
166
166
  },
167
167
  "typescript-eslint@8.41.0": {
168
168
  "licenses": "MIT",
169
169
  "repository": "https://github.com/typescript-eslint/typescript-eslint",
170
- "licenseUrl": "https://github.com/typescript-eslint/typescript-eslint/raw/HEAD/LICENSE"
170
+ "licenseUrl": "https://unpkg.com/typescript-eslint@8.41.0/LICENSE"
171
171
  },
172
- "typescript@5.9.2": {
172
+ "typescript@5.9.3": {
173
173
  "licenses": "Apache-2.0",
174
174
  "repository": "https://github.com/microsoft/TypeScript",
175
- "licenseUrl": "https://github.com/microsoft/TypeScript/raw/HEAD/LICENSE.txt"
175
+ "licenseUrl": "https://unpkg.com/typescript@5.9.3/LICENSE.txt"
176
176
  },
177
177
  "vite-tsconfig-paths@5.1.4": {
178
178
  "licenses": "MIT",
179
179
  "repository": "https://github.com/aleclarson/vite-tsconfig-paths",
180
- "licenseUrl": "https://github.com/aleclarson/vite-tsconfig-paths/raw/HEAD/LICENSE"
180
+ "licenseUrl": "https://unpkg.com/vite-tsconfig-paths@5.1.4/LICENSE"
181
181
  },
182
- "vite@7.1.3": {
182
+ "vite@7.3.1": {
183
183
  "licenses": "MIT",
184
184
  "repository": "https://github.com/vitejs/vite",
185
- "licenseUrl": "https://github.com/vitejs/vite/raw/HEAD/LICENSE.md"
185
+ "licenseUrl": "https://unpkg.com/vite@7.3.1/LICENSE.md"
186
186
  },
187
- "vitest@3.2.4": {
187
+ "vitest@4.0.18": {
188
188
  "licenses": "MIT",
189
189
  "repository": "https://github.com/vitest-dev/vitest",
190
- "licenseUrl": "https://github.com/vitest-dev/vitest/raw/HEAD/LICENSE.md"
190
+ "licenseUrl": "https://unpkg.com/vitest@4.0.18/LICENSE.md"
191
191
  },
192
192
  "yargs@18.0.0": {
193
193
  "licenses": "MIT",
194
194
  "repository": "https://github.com/yargs/yargs",
195
- "licenseUrl": "https://github.com/yargs/yargs/raw/HEAD/LICENSE"
195
+ "licenseUrl": "https://unpkg.com/yargs@18.0.0/LICENSE"
196
196
  }
197
197
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cas-smartdesign/popover",
3
- "version": "4.2.1",
3
+ "version": "4.3.0",
4
4
  "description": "A popover element which appears next to its target when triggered",
5
5
  "main": "dist/popover-with-externals.js",
6
6
  "module": "dist/popover.mjs",
@@ -18,8 +18,8 @@
18
18
  "access": "public"
19
19
  },
20
20
  "devDependencies": {
21
- "@cas-smartdesign/license-generator": "^1.8.0",
22
- "@cas-smartdesign/element-preview": "^0.3.0"
21
+ "@cas-smartdesign/element-preview": "^0.4.0",
22
+ "@cas-smartdesign/license-generator": "^1.9.0"
23
23
  },
24
24
  "scripts": {
25
25
  "version": "pnpm version",