@cas-smartdesign/app-banner 0.3.0 → 0.3.1

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
@@ -191,8 +191,9 @@ for (let i = 0; i < showAppBannerbuttons.length; i++) {
191
191
  outline: 1px dashed #111;
192
192
  }
193
193
 
194
- :host(:not([icon])) .icon,
195
- :host([icon=""]) .icon {
194
+ .icon:not([src]),
195
+ .icon[src=""],
196
+ .icon[src="data:,"] {
196
197
  display: none;
197
198
  }
198
199
 
@@ -215,7 +216,9 @@ for (let i = 0; i < showAppBannerbuttons.length; i++) {
215
216
  max-width: var(--sd-button-max-icon-size, 32px);
216
217
  }
217
218
  </style>
218
- <img class="icon" />
219
+ <slot name="icon">
220
+ <img class="icon" src="data:," alt part="icon" />
221
+ </slot>
219
222
  <div class="content">
220
223
  <slot></slot>
221
224
  </div>
@@ -7,52 +7,52 @@
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
  "@rollup/plugin-node-resolve@16.0.1": {
13
13
  "licenses": "MIT",
14
14
  "repository": "https://github.com/rollup/plugins",
15
- "licenseUrl": "https://github.com/rollup/plugins/raw/HEAD/LICENSE"
15
+ "licenseUrl": "https://unpkg.com/@rollup/plugin-node-resolve@16.0.1/LICENSE"
16
16
  },
17
17
  "@types/node@24.3.0": {
18
18
  "licenses": "MIT",
19
19
  "repository": "https://github.com/DefinitelyTyped/DefinitelyTyped",
20
- "licenseUrl": "https://github.com/DefinitelyTyped/DefinitelyTyped/raw/HEAD/LICENSE"
20
+ "licenseUrl": "https://unpkg.com/@types/node@24.3.0/LICENSE"
21
21
  },
22
22
  "@types/postcss-prefix-selector@1.16.3": {
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/postcss-prefix-selector@1.16.3/LICENSE"
26
26
  },
27
27
  "@typescript-eslint/eslint-plugin@8.41.0": {
28
28
  "licenses": "MIT",
29
29
  "repository": "https://github.com/typescript-eslint/typescript-eslint",
30
- "licenseUrl": "https://github.com/typescript-eslint/typescript-eslint/raw/HEAD/LICENSE"
30
+ "licenseUrl": "https://unpkg.com/@typescript-eslint/eslint-plugin@8.41.0/LICENSE"
31
31
  },
32
32
  "@typescript-eslint/parser@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/parser@8.41.0/LICENSE"
36
36
  },
37
37
  "@vitest/coverage-v8@3.2.4": {
38
38
  "licenses": "MIT",
39
39
  "repository": "https://github.com/vitest-dev/vitest",
40
- "licenseUrl": "https://github.com/vitest-dev/vitest/raw/HEAD/LICENSE"
40
+ "licenseUrl": "https://unpkg.com/@vitest/coverage-v8@3.2.4/LICENSE"
41
41
  },
42
42
  "@vitest/ui@3.2.4": {
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/ui@3.2.4/LICENSE"
46
46
  },
47
47
  "axe-core@4.10.3": {
48
48
  "licenses": "MPL-2.0",
49
49
  "repository": "https://github.com/dequelabs/axe-core",
50
- "licenseUrl": "https://github.com/dequelabs/axe-core/raw/HEAD/LICENSE"
50
+ "licenseUrl": "https://unpkg.com/axe-core@4.10.3/LICENSE"
51
51
  },
52
52
  "cypress-axe@1.7.0": {
53
53
  "licenses": "MIT",
54
54
  "repository": "https://github.com/component-driven/cypress-axe",
55
- "licenseUrl": "https://github.com/component-driven/cypress-axe/raw/HEAD/License.md"
55
+ "licenseUrl": "https://unpkg.com/cypress-axe@1.7.0/License.md"
56
56
  },
57
57
  "cypress@15.0.0": {
58
58
  "licenses": "MIT",
@@ -62,136 +62,136 @@
62
62
  "esbuild@0.25.9": {
63
63
  "licenses": "MIT",
64
64
  "repository": "https://github.com/evanw/esbuild",
65
- "licenseUrl": "https://github.com/evanw/esbuild/raw/HEAD/LICENSE.md"
65
+ "licenseUrl": "https://unpkg.com/esbuild@0.25.9/LICENSE.md"
66
66
  },
67
67
  "eslint-config-google@0.14.0": {
68
68
  "licenses": "Apache-2.0",
69
69
  "repository": "https://github.com/google/eslint-config-google",
70
- "licenseUrl": "https://github.com/google/eslint-config-google/raw/HEAD/LICENSE"
70
+ "licenseUrl": "https://unpkg.com/eslint-config-google@0.14.0/LICENSE"
71
71
  },
72
72
  "eslint-config-prettier@10.1.8": {
73
73
  "licenses": "MIT",
74
74
  "repository": "https://github.com/prettier/eslint-config-prettier",
75
- "licenseUrl": "https://github.com/prettier/eslint-config-prettier/raw/HEAD/LICENSE"
75
+ "licenseUrl": "https://unpkg.com/eslint-config-prettier@10.1.8/LICENSE"
76
76
  },
77
77
  "eslint@9.34.0": {
78
78
  "licenses": "MIT",
79
79
  "repository": "https://github.com/eslint/eslint",
80
- "licenseUrl": "https://github.com/eslint/eslint/raw/HEAD/LICENSE"
80
+ "licenseUrl": "https://unpkg.com/eslint@9.34.0/LICENSE"
81
81
  },
82
82
  "github-markdown-css@5.8.1": {
83
83
  "licenses": "MIT",
84
84
  "repository": "https://github.com/sindresorhus/github-markdown-css",
85
- "licenseUrl": "https://github.com/sindresorhus/github-markdown-css/raw/HEAD/license"
85
+ "licenseUrl": "https://unpkg.com/github-markdown-css@5.8.1/license"
86
86
  },
87
87
  "highlight.js@11.11.1": {
88
88
  "licenses": "BSD-3-Clause",
89
89
  "repository": "https://github.com/highlightjs/highlight.js",
90
- "licenseUrl": "https://github.com/highlightjs/highlight.js/raw/HEAD/LICENSE"
90
+ "licenseUrl": "https://unpkg.com/highlight.js@11.11.1/LICENSE"
91
91
  },
92
92
  "junit-report-builder@5.1.1": {
93
93
  "licenses": "MIT",
94
94
  "repository": "https://github.com/davidparsson/junit-report-builder",
95
- "licenseUrl": "https://github.com/davidparsson/junit-report-builder/raw/HEAD/LICENSE"
95
+ "licenseUrl": "https://unpkg.com/junit-report-builder@5.1.1/LICENSE"
96
96
  },
97
97
  "lint-staged@16.1.5": {
98
98
  "licenses": "MIT",
99
99
  "repository": "https://github.com/lint-staged/lint-staged",
100
- "licenseUrl": "https://github.com/lint-staged/lint-staged/raw/HEAD/LICENSE"
100
+ "licenseUrl": "https://unpkg.com/lint-staged@16.1.5/LICENSE"
101
101
  },
102
102
  "lit@3.3.1": {
103
103
  "licenses": "BSD-3-Clause",
104
104
  "repository": "https://github.com/lit/lit",
105
- "licenseUrl": "https://github.com/lit/lit/raw/HEAD/LICENSE"
105
+ "licenseUrl": "https://unpkg.com/lit@3.3.1/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
122
  "prettier@3.6.2": {
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.6.2/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
157
  "tsup@8.5.0": {
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.0/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
172
  "typescript@5.9.2": {
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.2/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
182
  "vite@7.1.3": {
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.1.3/LICENSE.md"
186
186
  },
187
187
  "vitest@3.2.4": {
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@3.2.4/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/app-banner",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "A popover element that is shown when deeplinks to SmartDesign are opened on mobile devices. It contains a link to open the page in the mobile app instead of the system broswer of the mobile device.",
5
5
  "main": "dist/app-banner-with-externals.js",
6
6
  "module": "dist/app-banner.mjs",
@@ -8,7 +8,7 @@
8
8
  "license": "SEE LICENSE IN LICENSE",
9
9
  "dependencies": {
10
10
  "lit": "^3.3.1",
11
- "@cas-smartdesign/button": "^5.1.0"
11
+ "@cas-smartdesign/button": "^5.2.1"
12
12
  },
13
13
  "files": [
14
14
  "dist",
@@ -19,8 +19,8 @@
19
19
  "access": "public"
20
20
  },
21
21
  "devDependencies": {
22
- "@cas-smartdesign/element-preview": "^0.3.0",
23
- "@cas-smartdesign/license-generator": "^1.7.0"
22
+ "@cas-smartdesign/element-preview": "^0.3.1",
23
+ "@cas-smartdesign/license-generator": "^1.8.1"
24
24
  },
25
25
  "scripts": {
26
26
  "version": "pnpm version",