@onsvisual/svelte-components 0.1.11 → 0.1.12

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.
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ year: number;
3
+ value: number;
4
+ alt: number;
5
+ group: string;
6
+ }[];
7
+ export default _default;
@@ -0,0 +1,40 @@
1
+ export default [
2
+ { year: 1979, value: 7.19, alt: 12, group: "apples" },
3
+ { year: 1980, value: 7.83, alt: 15, group: "apples" },
4
+ { year: 1981, value: 7.24, alt: 17, group: "apples" },
5
+ { year: 1982, value: 7.44, alt: 28, group: "apples" },
6
+ { year: 1983, value: 7.51, alt: 23, group: "apples" },
7
+ { year: 1984, value: 7.1, alt: 17, group: "apples" },
8
+ { year: 1985, value: 6.91, alt: 11, group: "apples" },
9
+ { year: 1986, value: 7.53, alt: 13, group: "apples" },
10
+ { year: 1987, value: 7.47, alt: 18, group: "apples" },
11
+ { year: 1988, value: 7.48, alt: 20, group: "apples" },
12
+ { year: 1989, value: 7.03, alt: 24, group: "apples" },
13
+ { year: 1990, value: 6.23, alt: 26, group: "bananas" },
14
+ { year: 1991, value: 6.54, alt: 16, group: "bananas" },
15
+ { year: 1992, value: 7.54, alt: 25, group: "bananas" },
16
+ { year: 1993, value: 6.5, alt: 28, group: "bananas" },
17
+ { year: 1994, value: 7.18, alt: 11, group: "bananas" },
18
+ { year: 1995, value: 6.12, alt: 19, group: "bananas" },
19
+ { year: 1996, value: 7.87, alt: 14, group: "bananas" },
20
+ { year: 1997, value: 6.73, alt: 22, group: "bananas" },
21
+ { year: 1998, value: 6.55, alt: 13, group: "bananas" },
22
+ { year: 1999, value: 6.23, alt: 30, group: "bananas" },
23
+ { year: 2000, value: 6.31, alt: 27, group: "bananas" },
24
+ { year: 2001, value: 6.74, alt: 13, group: "cherries" },
25
+ { year: 2002, value: 5.95, alt: 18, group: "cherries" },
26
+ { year: 2003, value: 6.13, alt: 15, group: "cherries" },
27
+ { year: 2004, value: 6.04, alt: 11, group: "cherries" },
28
+ { year: 2005, value: 5.56, alt: 29, group: "cherries" },
29
+ { year: 2006, value: 5.91, alt: 26, group: "cherries" },
30
+ { year: 2007, value: 4.29, alt: 10, group: "cherries" },
31
+ { year: 2008, value: 4.72, alt: 14, group: "cherries" },
32
+ { year: 2009, value: 5.38, alt: 21, group: "cherries" },
33
+ { year: 2010, value: 4.92, alt: 20, group: "cherries" },
34
+ { year: 2011, value: 4.61, alt: 24, group: "dates" },
35
+ { year: 2012, value: 3.62, alt: 19, group: "dates" },
36
+ { year: 2013, value: 5.35, alt: 12, group: "dates" },
37
+ { year: 2014, value: 5.28, alt: 13, group: "dates" },
38
+ { year: 2015, value: 4.63, alt: 28, group: "dates" },
39
+ { year: 2016, value: 4.72, alt: 30, group: "dates" },
40
+ ];
@@ -285,7 +285,7 @@
285
285
  class="ons-header__grid-top ons-grid ons-grid--gutterless ons-grid--flex ons-grid--between ons-grid--vertical-center ons-grid--no-wrap"
286
286
  >
287
287
  <div class="ons-grid__col ons-col-auto">
288
- <a class="ons-header__org-logo-link" href="#0"
288
+ <a class="ons-header__org-logo-link" href="{baseurl}/"
289
289
  ><div class="ons-header__org-logo ons-header__org-logo--large">
290
290
  <ONSLogo theme="{theme}" width="{197}" height="{19}" />
291
291
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onsvisual/svelte-components",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "homepage": "https://onsvisual.github.io/svelte-components",
@@ -32,7 +32,7 @@
32
32
  "@babel/eslint-plugin": "^7.19.1",
33
33
  "@babel/preset-env": "^7.21.4",
34
34
  "@evilmartians/lefthook": "^1.3.10",
35
- "@onsvisual/svelte-charts": "^0.2.17",
35
+ "@onsvisual/svelte-charts": "^0.3.1",
36
36
  "@reuters-graphics/eslint-config": "^0.0.2",
37
37
  "@storybook/addon-actions": "^7.0.20",
38
38
  "@storybook/addon-docs": "^7.0.20",
@@ -118,6 +118,7 @@
118
118
  "./actions/resizeObserver": "./dist/actions/resizeObserver/index.js",
119
119
  "./css/main.css": "./dist/css/main.css",
120
120
  "./datavis/Table/Table.svelte": "./dist/datavis/Table/Table.svelte",
121
+ "./datavis/shared/data-scatter": "./dist/datavis/shared/data-scatter.js",
121
122
  "./datavis/shared/data": "./dist/datavis/shared/data.js",
122
123
  "./decorators/Blockquote/Blockquote.svelte": "./dist/decorators/Blockquote/Blockquote.svelte",
123
124
  "./decorators/Divider/Divider.svelte": "./dist/decorators/Divider/Divider.svelte",