@swr-data-lab/components 2.4.4 → 2.4.5
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.
|
@@ -157,13 +157,13 @@ export default function makePlaceLabels() {
|
|
|
157
157
|
layout: {
|
|
158
158
|
'text-size': {
|
|
159
159
|
stops: [
|
|
160
|
-
[7,
|
|
161
|
-
[15,
|
|
160
|
+
[7, 15],
|
|
161
|
+
[15, 21]
|
|
162
162
|
]
|
|
163
163
|
}
|
|
164
164
|
},
|
|
165
165
|
paint: {
|
|
166
|
-
'text-color': tokens.
|
|
166
|
+
'text-color': tokens.label_secondary
|
|
167
167
|
}
|
|
168
168
|
},
|
|
169
169
|
{
|
|
@@ -175,12 +175,12 @@ export default function makePlaceLabels() {
|
|
|
175
175
|
'text-size': {
|
|
176
176
|
stops: [
|
|
177
177
|
[7, 15],
|
|
178
|
-
[
|
|
178
|
+
[15, 21]
|
|
179
179
|
]
|
|
180
180
|
}
|
|
181
181
|
},
|
|
182
182
|
paint: {
|
|
183
|
-
'text-color': tokens.
|
|
183
|
+
'text-color': tokens.label_secondary
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
].map((el) => {
|
|
@@ -191,15 +191,15 @@ export default function makePlaceLabels() {
|
|
|
191
191
|
'source-layer': 'place_labels',
|
|
192
192
|
layout: {
|
|
193
193
|
'text-font': tokens.sans_regular,
|
|
194
|
-
'text-letter-spacing': 0.
|
|
194
|
+
'text-letter-spacing': 0.05,
|
|
195
195
|
'text-field': '{name_de}',
|
|
196
196
|
...el.layout
|
|
197
197
|
},
|
|
198
198
|
paint: {
|
|
199
199
|
'text-color': tokens.label_secondary,
|
|
200
200
|
'text-halo-color': tokens.background,
|
|
201
|
-
'text-halo-width': 2
|
|
202
|
-
'text-halo-blur': 0,
|
|
201
|
+
'text-halo-width': 2,
|
|
202
|
+
'text-halo-blur': 0.5,
|
|
203
203
|
...el.paint
|
|
204
204
|
}
|
|
205
205
|
};
|
|
@@ -212,21 +212,21 @@ export default function makePlaceLabels() {
|
|
|
212
212
|
maxzoom: 8,
|
|
213
213
|
layout: {
|
|
214
214
|
'text-field': '{name_de}',
|
|
215
|
-
'text-letter-spacing': 0.
|
|
215
|
+
'text-letter-spacing': 0.085,
|
|
216
216
|
'text-font': tokens.sans_regular,
|
|
217
217
|
'text-transform': 'uppercase',
|
|
218
218
|
'text-size': {
|
|
219
219
|
stops: [
|
|
220
|
-
[4,
|
|
221
|
-
[7,
|
|
220
|
+
[4, 11],
|
|
221
|
+
[7, 18]
|
|
222
222
|
]
|
|
223
223
|
}
|
|
224
224
|
},
|
|
225
225
|
paint: {
|
|
226
226
|
'text-color': tokens.label_tertiary,
|
|
227
227
|
'text-halo-color': tokens.background,
|
|
228
|
-
'text-halo-width': 2,
|
|
229
|
-
'text-halo-blur': 0
|
|
228
|
+
'text-halo-width': 2.5,
|
|
229
|
+
'text-halo-blur': 0.5
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
232
|
].map((el) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swr-data-lab/components",
|
|
3
3
|
"description": "SWR Data Lab component library",
|
|
4
|
-
"version": "2.4.
|
|
4
|
+
"version": "2.4.5",
|
|
5
5
|
"author": "SWR Data Lab",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"@semantic-release/changelog": "^6.0.3",
|
|
40
40
|
"@semantic-release/git": "^10.0.1",
|
|
41
41
|
"@semantic-release/npm": "^12.0.2",
|
|
42
|
-
"@storybook/addon-docs": "^9.1.
|
|
43
|
-
"@storybook/addon-links": "^9.1.
|
|
42
|
+
"@storybook/addon-docs": "^9.1.2",
|
|
43
|
+
"@storybook/addon-links": "^9.1.2",
|
|
44
44
|
"@storybook/addon-svelte-csf": "^5.0.7",
|
|
45
|
-
"@storybook/addon-vitest": "^9.1.
|
|
46
|
-
"@storybook/sveltekit": "^9.1.
|
|
45
|
+
"@storybook/addon-vitest": "^9.1.2",
|
|
46
|
+
"@storybook/sveltekit": "^9.1.2",
|
|
47
47
|
"@storybook/test-runner": "^0.23.0",
|
|
48
48
|
"@sveltejs/adapter-auto": "^6.0.1",
|
|
49
49
|
"@sveltejs/kit": "^2.27.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"sass": "^1.89.1",
|
|
62
62
|
"sass-embedded": "^1.89.2",
|
|
63
63
|
"semantic-release": "^24.2.7",
|
|
64
|
-
"storybook": "^9.1.
|
|
64
|
+
"storybook": "^9.1.2",
|
|
65
65
|
"svelte": "^5.23.0",
|
|
66
66
|
"svelte-check": "^4.0.0",
|
|
67
67
|
"svelte-preprocess": "^6.0.3",
|