Skip to content

Commit b9758e7

Browse files
committed
prettier, take 2 (install same version)
1 parent b2c88e4 commit b9758e7

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

packages/layerchart/CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,6 @@
10211021
- breaking(Bar|Bars): Replaced `inset: number` prop with `insets: Insets | undefined`. ([#321](https://github.com/techniq/layerchart/pull/321))
10221022

10231023
To migrate from `inset` to `insets` replace `inset = n` with:
1024-
10251024
- `insets = { x: n / 2 }` if `orientation="vertical"`
10261025
- `insets = { y: n / 2 }` if `orientation="horizontal"`
10271026

@@ -2117,7 +2116,6 @@
21172116
```
21182117

21192118
**Additional**
2120-
21212119
- Rename tooltipContext's `top`/`left` to `x`/`y`
21222120
- Add `anchor` prop to align based on corner/edge/center (9 points) of tooltip instead of always top-left corner.
21232121
- Add more tooltip examples

packages/layerchart/src/lib/components/Rule.svelte

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -227,11 +227,11 @@
227227
/* Could add a layer between "components" and "base" but would require more setup (and not alignw with TW layers) */
228228
:global(
229229
:where(
230-
.lc-rule-x-line,
231-
.lc-rule-y-line,
232-
.lc-rule-x-radial-line,
233-
.lc-rule-y-radial-circle
234-
):not([class*='lc-axis'], [class*='lc-grid'])
230+
.lc-rule-x-line,
231+
.lc-rule-y-line,
232+
.lc-rule-x-radial-line,
233+
.lc-rule-y-radial-circle
234+
):not([class*='lc-axis'], [class*='lc-grid'])
235235
) {
236236
--stroke-color: color-mix(
237237
in oklab,

packages/layerchart/src/lib/utils/stack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export function stackOffsetSeparated(series, order) {
131131

132132
// Standard series
133133
for (var i = 1, s0, s1 = series[order[0]], n, m = s1.length; i < n; ++i) {
134-
(s0 = s1), (s1 = series[order[i]]);
134+
((s0 = s1), (s1 = series[order[i]]));
135135
// @ts-expect-error
136136
let base = max(s0, (d) => d[1]) + gap; // here is where you calculate the maximum of the previous layer
137137
for (var j = 0; j < m; ++j) {

0 commit comments

Comments
 (0)