Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explore LayerCake context as slot props #110

Merged
merged 104 commits into from
Apr 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
d322cc7
add slot props
sawyerclick Dec 2, 2022
9d46223
Update to next.405
rgieseke Jan 5, 2023
a05a2b8
svelte-migrate: renamed files
rgieseke Jan 5, 2023
6259553
Update to SvelteKit 1.0
rgieseke Jan 8, 2023
d57b2be
Merge branch 'mhkeller:main' into main
sawyerclick Jan 9, 2023
969370a
small updates
mhkeller Jan 10, 2023
52cf701
tweaks for sveltekit 1.0
mhkeller Jan 10, 2023
a850505
Simplify response handling
rgieseke Jan 10, 2023
7e37f2a
Use json helper from SvelteKit
rgieseke Jan 10, 2023
287023e
Remove extra prerender true
rgieseke Jan 23, 2023
e79ca90
Re-render
rgieseke Jan 23, 2023
113411c
Merge pull request #109 from rgieseke/update-sveltekit-1-0
mhkeller Jan 24, 2023
c9a7b99
auto-deploy
mhkeller Jan 24, 2023
2ed4fae
feat: WIP debug mode
mhkeller Feb 7, 2023
cc66356
update tests; add new tests; add debounce
mhkeller Feb 10, 2023
d4f3df1
very preliminary color logging
mhkeller Feb 10, 2023
9d5e996
better color printing
mhkeller Feb 10, 2023
790a875
update tests; add new tests; add debounce
mhkeller Feb 11, 2023
cd6074d
fix merge
mhkeller Feb 11, 2023
99e82b7
add contrasting color
mhkeller Feb 11, 2023
68ceda5
udpdate comment
mhkeller Feb 11, 2023
6dacdc8
detect sequential and diverging scales
mhkeller Feb 11, 2023
7338157
detect sequential and diverging scales
mhkeller Feb 12, 2023
4df4485
more scale testing
mhkeller Feb 13, 2023
ec7079a
update debug style
mhkeller Feb 14, 2023
3b4ab7a
add more tests; nicer print debug output
mhkeller Feb 14, 2023
fceca5c
Bump undici and @sveltejs/kit in /src/scripts/svelte-app
dependabot[bot] Feb 16, 2023
c204f58
Merge pull request #115 from mhkeller/dependabot/npm_and_yarn/src/scr…
mhkeller Feb 16, 2023
20abcdf
Bump undici and @sveltejs/kit
dependabot[bot] Feb 16, 2023
7337c0b
Merge pull request #116 from mhkeller/dependabot/npm_and_yarn/undici-…
mhkeller Mar 6, 2023
0c9b3dd
update types for x, y, z and r domain props per https://github.com/mh…
mhkeller Mar 6, 2023
e59a695
update changelog
mhkeller Mar 6, 2023
52bdbf0
7.2.3
mhkeller Mar 6, 2023
4cfa778
WIP updating svelte-package
mhkeller Mar 6, 2023
096363a
WIP migration to @sveltejs/package v2
mhkeller Mar 6, 2023
eff0cc1
add scaleTime, scaleUtc fn
mhkeller Mar 10, 2023
bc315b2
clean up
mhkeller Mar 10, 2023
c8e7765
fix paths
mhkeller Mar 10, 2023
d0943d1
make more scales unpaddable
mhkeller Mar 10, 2023
a19f672
update package.json for new export format
mhkeller Mar 12, 2023
b77c5e0
update .npmignore
mhkeller Mar 12, 2023
183b3a9
gc fix merge, remove unnessecary .copy
mhkeller Mar 12, 2023
164b6e0
add debug to docs
mhkeller Mar 12, 2023
4d0ae07
update sveltekit dep
mhkeller Mar 12, 2023
51ee424
add accessor info to printDebug
mhkeller Mar 12, 2023
dadc8b5
get rid of typesVersions and install typescript@5 as a peerdep
mhkeller Mar 14, 2023
e72a017
update docs
mhkeller Mar 16, 2023
02a8280
update deps for typescript 5
mhkeller Mar 16, 2023
6d952ab
update deps; package.json; eslintrc
mhkeller Mar 16, 2023
f92c4a4
update changelog
mhkeller Mar 16, 2023
18bf0cc
update changelog
mhkeller Mar 16, 2023
ddc7671
Merge pull request #118 from mhkeller/svelte-package-migration
mhkeller Mar 16, 2023
30d8950
update changelog
mhkeller Mar 16, 2023
d02311a
update versoin
mhkeller Mar 16, 2023
fdfa387
7.2.3
mhkeller Mar 16, 2023
09b40d9
deploy site
mhkeller Mar 16, 2023
bdd7b47
update changelog; fix merge
mhkeller Mar 16, 2023
d0fe7c3
add debug image
mhkeller Mar 16, 2023
30dce39
Merge pull request #112 from mhkeller/debug-mode
mhkeller Mar 16, 2023
7d7f505
7.3.0
mhkeller Mar 16, 2023
9da7323
update version
mhkeller Mar 16, 2023
064f59c
7.3.1
mhkeller Mar 16, 2023
b99ac02
deploy
mhkeller Mar 16, 2023
0229ab5
replace deps with d3-color
mhkeller Mar 17, 2023
10f5822
7.3.2
mhkeller Mar 17, 2023
ef5ea3f
update changelog
mhkeller Mar 17, 2023
60ff563
auto-deploy
mhkeller Mar 17, 2023
4fe0f3b
align range better
mhkeller Mar 17, 2023
0d6d055
update changelog
mhkeller Mar 17, 2023
31e02e7
update changelog
mhkeller Mar 17, 2023
59e93de
7.3.3
mhkeller Mar 17, 2023
46d2b00
auto-deploy
mhkeller Mar 17, 2023
4104f2f
update docs
mhkeller Mar 17, 2023
c629002
auto-deploy
mhkeller Mar 17, 2023
639f739
bring back main field in package.json
mhkeller Mar 17, 2023
0183823
update changelog
mhkeller Mar 17, 2023
0927043
7.3.4
mhkeller Mar 17, 2023
b3f5f8e
auto-deploy
mhkeller Mar 17, 2023
04dc07f
set fixed height unless on the site
mhkeller Mar 17, 2023
67f243d
auto-deploy
mhkeller Mar 17, 2023
c08a971
add https://github.com/mhkeller/layercake/issues/123 to docs
mhkeller Mar 21, 2023
ab1da56
auto-deploy
mhkeller Mar 21, 2023
85c2d7a
update travis version
mhkeller Mar 25, 2023
7f5ed89
Create .github/workflows/node.js.yml
mhkeller Mar 25, 2023
7f2d79d
remove travis
mhkeller Mar 25, 2023
7a57782
Merge branch 'main' of https://github.com/mhkeller/layercake
mhkeller Mar 25, 2023
7631a3d
update badge
mhkeller Mar 25, 2023
5a0becf
update ci
mhkeller Mar 25, 2023
379c0fe
update ci
mhkeller Mar 25, 2023
a8b315f
add dl badge
mhkeller Mar 25, 2023
bca0ba2
fix yTick prop in axisY
mhkeller Mar 31, 2023
265aa7f
auto-deploy
mhkeller Mar 31, 2023
651d0d1
update description
mhkeller Mar 31, 2023
9b842bc
auto-deploy
mhkeller Mar 31, 2023
983065a
Bump @sveltejs/kit from 1.7.1 to 1.15.1
dependabot[bot] Apr 4, 2023
51fea08
Merge pull request #126 from mhkeller/dependabot/npm_and_yarn/sveltej…
mhkeller Apr 4, 2023
819dde2
update changelog
mhkeller Apr 4, 2023
d5c4cca
7.3.5
mhkeller Apr 4, 2023
4c84ab7
auto-deploy
mhkeller Apr 4, 2023
1e4b841
Bump @sveltejs/kit from 1.15.1 to 1.15.2
dependabot[bot] Apr 7, 2023
d213ec3
update comment
mhkeller Apr 10, 2023
02d79fe
Merge pull request #129 from mhkeller/dependabot/npm_and_yarn/sveltej…
mhkeller Apr 11, 2023
0bfdbaf
Merge remote-tracking branch 'pr/main'
mhkeller Apr 11, 2023
3989192
WIP jest tests
mhkeller Apr 11, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
parserOptions: {
sourceType: 'module',
ecmaVersion: 2019
ecmaVersion: 2020
},
env: {
browser: true,
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Tests CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ node_modules
/build
/.svelte-kit
/package
/dist
.env
.env.*
.vercel
Expand Down
13 changes: 11 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
test
.editorconfig
vscode/
.vscode/
.github
.eslintrc.cjs
.prettierrc
.travis.yml
svelte.config.js
tsconfig.js
vite.config.js
docs/
src/
static/
test/
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

49 changes: 49 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,55 @@
Changelog
===

# 7.3.5

> 2023-04-04

Dependabot fix

* [PR#126](https://github.com/mhkeller/layercake/pull/126)

# 7.3.4

> 2023-03-17

Bring back the `"main": "./dist/index.js",` field in `package.json` for legacy build systems.

* [639f7397f055fe8bfda0f5cbc04dc58a1b91ca28](https://github.com/mhkeller/layercake/commit/639f7397f055fe8bfda0f5cbc04dc58a1b91ca28)

# 7.3.3

> 2023-03-17

Align values better in print debug output.

# 7.3.2

* [4fe0f3b5e3bc4660107f682f2d0884efa43edb6f](https://github.com/mhkeller/layercake/commit/4fe0f3b5e3bc4660107f682f2d0884efa43edb6f)

> 2023-03-17

Cut down on dependencies by using d3-color for contrast detection

* [0229ab57e817908359d23183dfa8760e4816205f](https://github.com/mhkeller/layercake/commit/0229ab57e817908359d23183dfa8760e4816205f)

# 7.3.1

> 2023-03-16

Adds the `debug-mode` prop. Note: 7.3.0 was skipped because of an npm error.

* [PR #12](https://github.com/mhkeller/layercake/pull/112)

# 7.2.3

> 2023-03-16

Correct the types on the `xDomain`, `rDomain`, `zDomain`, `rDomain` props to reflect that the values can be `null` to inherit the calculated min or max. Updates `svelte-package` and `package.json` to use `exports` field. Adds Typescript 5 as a `peerDep`.

* [0c9b3ddc4ac9f8bb79db346e2682876f280a7862](https://github.com/mhkeller/layercake/commit/0c9b3ddc4ac9f8bb79db346e2682876f280a7862)
* [PR #118](https://github.com/mhkeller/layercake/pull/118)

# 7.2.2

> 2022-12-26
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Layer Cake [<img src="https://raw.githubusercontent.com/mhkeller/layercake.grap

> a framework for mostly-reusable graphics with [svelte](https://github.com/sveltejs/svelte)

[![Travis (.org) branch](https://img.shields.io/travis/mhkeller/layercake/master.svg?style=flat-square)](https://travis-ci.org/mhkeller/layercake) [![npm version](https://img.shields.io/npm/v/layercake.svg?style=flat-square)](https://npmjs.org/package/layercake)
[![Tests badges](https://github.com/mhkeller/layercake/actions/workflows/node.js.yml/badge.svg)](https://github.com/mhkeller/layercake/actions/workflows/node.js.yml) [![npm version](https://img.shields.io/npm/v/layercake.svg)](https://npmjs.org/package/layercake) [![npm](https://img.shields.io/npm/dm/layercake.svg)](https://www.npmjs.com/package/layercake)

🍰 [See examples](https://layercake.graphics)
🍰 [Read the guide](https://layercake.graphics/guide)
Expand Down
1 change: 0 additions & 1 deletion docs/_app/assets/_components-cbb6a663.css

This file was deleted.

1 change: 0 additions & 1 deletion docs/_app/assets/_examples-998eb4dc.css

This file was deleted.

1 change: 0 additions & 1 deletion docs/_app/assets/_examples_ssr-78e05840.css

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.