@swr-data-lab/components 2.34.4 → 2.34.6

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.
@@ -8,9 +8,9 @@ import makeWalking from './components/Walking';
8
8
  import makeRoads from './components/Roads';
9
9
  import makeHillshade from './components/Hillshade';
10
10
  const tokens = {
11
- sans_regular: ['SWR Sans Regular'],
12
- sans_medium: ['SWR Sans Medium'],
13
- sans_bold: ['SWR Sans Bold'],
11
+ sans_regular: ['swr_sans_regular'],
12
+ sans_medium: ['swr_sans_medium'],
13
+ sans_bold: ['swr_sans_bold'],
14
14
  background: {
15
15
  stops: [
16
16
  [8, 'hsl(210, 3%, 10%)'],
@@ -26,12 +26,13 @@ const tokens = {
26
26
  sand: 'hsl(0, 0%, 16%)',
27
27
  rock: 'hsl(0, 0%, 20%)',
28
28
  street_primary: 'hsl(220, 3%, 20%)',
29
+ street_primary_faded: '#252525',
29
30
  street_primary_case: 'hsl(0, 11%, 7%)',
30
31
  street_secondary: 'hsl(0, 0%, 22%)',
31
32
  street_secondary_case: 'hsl(0, 0%, 0%)',
32
33
  street_tertiary: 'hsl(0, 0%, 20%)',
33
34
  street_tertiary_case: 'hsl(0, 0%, 14%)',
34
- label_primary: 'hsl(240, 5%, 95%)',
35
+ label_primary: 'hsl(240, 5%, 96%)',
35
36
  label_secondary: 'hsl(0, 2%, 85%)',
36
37
  label_tertiary: 'hsl(0, 1%, 75%)',
37
38
  boundary_country: '#6e6f71',
@@ -8,9 +8,9 @@ import makeRoads from './components/Roads';
8
8
  import defaultOptions from './defaultOptions';
9
9
  import makeHillshade from './components/Hillshade';
10
10
  const tokens = {
11
- sans_regular: ['SWR Sans Regular'],
12
- sans_medium: ['SWR Sans Medium'],
13
- sans_bold: ['SWR Sans Bold'],
11
+ sans_regular: ['swr_sans_regular'],
12
+ sans_medium: ['swr_sans_medium'],
13
+ sans_bold: ['swr_sans_bold'],
14
14
  background: {
15
15
  stops: [
16
16
  [8, 'hsl(24, 29%, 98%)'],
@@ -26,6 +26,7 @@ const tokens = {
26
26
  sand: 'hsl(60, 0%, 95%)',
27
27
  rock: 'hsl(192, 0%, 90%)',
28
28
  street_primary: 'hsl(0, 4%, 95%)',
29
+ street_primary_faded: 'hsl(0, 4%, 96%)',
29
30
  street_primary_case: 'hsl(240, 1%, 84%)',
30
31
  street_secondary: 'hsl(0, 0%, 95%)',
31
32
  street_secondary_case: 'hsl(0, 0%, 75%)',
@@ -11,7 +11,7 @@ export default function makeRoads(tokens) {
11
11
  const motorway = {
12
12
  line_color: {
13
13
  stops: [
14
- [5, '#252525'],
14
+ [5, tokens.street_primary_faded],
15
15
  [7, tokens.street_primary]
16
16
  ]
17
17
  },
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.34.4",
4
+ "version": "2.34.6",
5
5
  "author": "SWR Data Lab",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -39,17 +39,17 @@
39
39
  "devDependencies": {
40
40
  "@semantic-release/changelog": "6.0.3",
41
41
  "@semantic-release/git": "10.0.1",
42
- "@semantic-release/npm": "13.1.1",
43
- "@storybook/addon-docs": "10.0.4",
44
- "@storybook/addon-links": "10.0.4",
42
+ "@semantic-release/npm": "13.1.2",
43
+ "@storybook/addon-docs": "10.1.2",
44
+ "@storybook/addon-links": "10.1.2",
45
45
  "@storybook/addon-svelte-csf": "^5.0.10",
46
- "@storybook/addon-vitest": "10.0.4",
47
- "@storybook/sveltekit": "10.0.4",
48
- "@storybook/test-runner": "^0.24.1",
46
+ "@storybook/addon-vitest": "10.1.2",
47
+ "@storybook/sveltekit": "10.1.2",
48
+ "@storybook/test-runner": "^0.24.2",
49
49
  "@sveltejs/adapter-auto": "7.0.0",
50
- "@sveltejs/enhanced-img": "0.8.4",
51
- "@sveltejs/kit": "2.48.4",
52
- "@sveltejs/package": "2.5.4",
50
+ "@sveltejs/enhanced-img": "0.9.2",
51
+ "@sveltejs/kit": "2.49.0",
52
+ "@sveltejs/package": "2.5.7",
53
53
  "@sveltejs/vite-plugin-svelte": "6.2.1",
54
54
  "@types/geojson": "7946.0.16",
55
55
  "@versatiles/style": "5.7.0",
@@ -63,12 +63,12 @@
63
63
  "publint": "0.3.12",
64
64
  "sass": "1.93.2",
65
65
  "sass-embedded": "1.93.2",
66
- "semantic-release": "25.0.1",
67
- "storybook": "10.0.4",
66
+ "semantic-release": "25.0.2",
67
+ "storybook": "10.1.2",
68
68
  "svelte": "5.33.6",
69
69
  "svelte-check": "4.3.2",
70
70
  "svelte-preprocess": "6.0.3",
71
- "typescript": "5.9.2",
71
+ "typescript": "5.9.3",
72
72
  "vite": "7.1.11",
73
73
  "vitest": "4.0.6",
74
74
  "@vitest/browser-playwright": "4.0.6",