@swr-data-lab/components 2.39.0 → 2.39.2

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.
@@ -62,7 +62,7 @@ h1 {
62
62
  margin-bottom: 0.2em;
63
63
  }
64
64
  h1 em {
65
- background: rgba(134, 139, 84, 0.4);
65
+ background: rgba(134, 139, 84, 0.25);
66
66
  font-style: normal;
67
67
  padding: 0 0.3em;
68
68
  border-radius: 2px;
@@ -83,11 +83,18 @@ a {
83
83
 
84
84
  th,
85
85
  td {
86
- padding: 0.2em 0.4em;
86
+ padding: 0 0.4em;
87
87
  text-align: left;
88
+ border-right: 1px solid var(--color-surfaceBorder);
89
+ }
90
+ th:last-child,
91
+ td:last-child {
92
+ border-right: 0;
88
93
  }
89
94
 
90
95
  th {
96
+ padding: 0.2em 0.4em;
97
+ border-right: 1px solid var(--color-textSecondary);
91
98
  border-bottom: 1px solid var(--color-textSecondary);
92
99
  }
93
100
 
@@ -101,12 +108,12 @@ tr:last-child {
101
108
  input {
102
109
  display: block;
103
110
  font-family: monospace;
104
- width: calc(100% - 0.6em);
105
- padding: 0.2em 0.4em;
111
+ width: 100%;
112
+ padding: 0.35em 0;
106
113
  font-size: 0.9rem;
107
114
  background: var(--color-pageFill);
108
- border: 1px solid var(--color-surfaceBorder);
109
115
  color: var(--color-textSecondary);
116
+ border: 0;
110
117
  }
111
118
 
112
119
  a:hover,
package/dist/index.d.ts CHANGED
@@ -9,6 +9,7 @@ export { default as Scroller } from "./Scroller/Scroller.svelte";
9
9
  export { default as SwrHeader } from "./SwrHeader/SwrHeader.svelte";
10
10
  export { default as Breakout } from "./Breakout/Breakout.svelte";
11
11
  export { default as Card } from "./Card/Card.svelte";
12
+ export { default as HighlightCard } from "./HighlightCard/HighlightCard.svelte";
12
13
  export { default as ChartHeader } from "./ChartHeader/ChartHeader.svelte";
13
14
  export { default as ChartFooter } from "./ChartFooter/ChartFooter.svelte";
14
15
  export { default as Logotype } from "./Logotype/Logotype.svelte";
package/dist/index.js CHANGED
@@ -16,6 +16,7 @@ export { default as Breakout } from './Breakout/Breakout.svelte';
16
16
 
17
17
  // Display
18
18
  export { default as Card } from './Card/Card.svelte';
19
+ export { default as HighlightCard } from './HighlightCard/HighlightCard.svelte';
19
20
 
20
21
  // Chart
21
22
  export { default as ChartHeader } from './ChartHeader/ChartHeader.svelte';
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.39.0",
4
+ "version": "2.39.2",
5
5
  "author": "SWR Data Lab",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",