Ben McCann
83e91782e6
chore: upgrade aria-query and axobject-query ( #8724 )
...
Co-authored-by: gtmnayan <gtmnayan@gmail.com>
1 year ago
Ben McCann
cc1f4bc6ff
chore: upgrade eslint config ( #8717 )
1 year ago
Rich Harris
d6f0b7bd5b
Fix types ( #8727 )
...
* put comment in right place
* bump dts-buddy
---------
Co-authored-by: Rich Harris <git@rich-harris.dev>
1 year ago
Puru Vijay
744c596c89
fix(site-2): docs redirect page ( #8718 )
1 year ago
Puru Vijay
aa5bb4a3db
feat: Better docs nav ( #8605 )
...
* DocsNav
* Push
* Nav title on each page
* Install jridgewell sourcemap codec. Why it breaking suddenly
* Use theme store
* Use $nav_title
* use $page.data.nav_title
* Disable global prerendering
* Fix Suppprters section
* use new method
* Initially hidden nav functionality
* Minor fixes
* Simplify into one single nav
* Accomodate to the bottom nav
* Minor fixes
* nit
* Add selected to other pages as well
* New way of passing to navbar
* Code cleanup
* Directly pass list instead of components
* 14 days
* Fix comment
* Discord icon
* Bump site-kit finally
1 year ago
Puru Vijay
ad9a672171
Merge version-4
1 year ago
Puru Vijay
fbd1d0a3b9
Try?
1 year ago
gtmnayan
8bd90219ec
chore: fix release workflow ( #8716 )
1 year ago
Ben McCann
0c6f17274e
chore: remove prepare script ( #8713 )
1 year ago
Dominik G
ba58327f4b
fix: changeset publish script isn't called release anymore ( #8711 )
1 year ago
github-actions[bot]
5963b6fd84
Version Packages (next) ( #8709 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 year ago
gtmnayan
264da48887
fix: derived types ( #8700 )
...
* fix: derived store types
* changeset
1 year ago
gtmnayan
0b15bb6928
fix: export ComponentType ( #8694 )
...
* fix: export ComponentType
* ughh
* changeset
1 year ago
Rich Harris
1046daba6a
Generate type declarations with `dts-buddy` ( #8702 )
...
* use dts-buddy
* remove debug output
* remove existing type generation script
* fix package.json
* update gitignore
* bump dts-buddy
* remove unused action entry point
* add svelte/compiler and svelte/types/compiler/preprocess modules
* bump dts-buddy
* annoying
* changeset
* bump dts-buddy
* get rid of .d.ts files
* another one
* Update packages/svelte/package.json
Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
---------
Co-authored-by: Rich Harris <git@rich-harris.dev>
Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
1 year ago
gtmnayan
15bdadb2ae
chore: playground ( #8648 )
...
* initialize playground
* pnpm up
* tidy up git ignore
* remove fluff
* format
* rm readme
* fix jsconfig error
* add skip-worktree instructions
* reload hack
* simplify
* use rollup
* ughh
* add flag for SSR
* ...
* simplify further
* configure launch.json
* add debugger info to readme
* remove vm modules flag
* use replaceAll instead of replace
* tidy up
* fix: make it run
* add watch to launch config
1 year ago
Puru Vijay
ad849cc795
chore(site-2): What's new in Svelte June 2023 ( #8705 )
1 year ago
Ben McCann
53b8158fc5
site: fix svelte-check errors ( #8696 )
1 year ago
Ben McCann
276d2f86ba
merge version-4 branch
1 year ago
Ben McCann
5902ccab81
chore: upgrade to pnpm 8.6.0 ( #8693 )
1 year ago
Ben McCann
f2ff684b5f
chore: setup changesets ( #8668 )
...
Co-authored-by: dominikg <dominik.goepel@gmx.de>
1 year ago
Rich Harris
27538fc598
tweak docs content ( #8675 )
...
* update intro
* update tutorial links
* unitalicise code spans
* Update documentation/docs/01-getting-started/01-introduction.md
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
* Update documentation/docs/01-getting-started/01-introduction.md
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
* Update documentation/docs/01-getting-started/01-introduction.md
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
* Update documentation/docs/01-getting-started/01-introduction.md
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
---------
Co-authored-by: Rich Harris <git@rich-harris.dev>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
1 year ago
Rich Harris
c33377f17d
Merge branch 'version-4' into sites
1 year ago
Rich Harris
042a6785be
tidy up `sites` branch ( #8671 )
...
* remove VITE_API_BASE stuff
* use site-kit <Section> component
* remove comments
---------
Co-authored-by: Rich Harris <git@rich-harris.dev>
1 year ago
Rich Harris
83d56713ef
move FAQ to /docs/faq ( #8672 )
...
* move FAQ to /docs/faq
* remove some more junk
* simplify
* escape
* move redirect to server, prerender
---------
Co-authored-by: Rich Harris <git@rich-harris.dev>
1 year ago
Ben McCann
f74dddd1d5
docs: correct link in changelog
1 year ago
Puru Vijay
2efd78cba4
Merge remote-tracking branch 'origin/version-4' into sites
1 year ago
Puru Vijay
38a70bcce1
fix(site-2): REPL component and minor fixes ( #8616 )
...
* Push
* Update deps
* Allow autocomplete on embed pages
* nit
* Remove unnecessary import
* Remove debug
* Update deps stiff
* Cleanup
* Remove prerender auto from repl page
* Use REPL next.4
1 year ago
Nguyen Tran
0ce41875f0
docs: use pnpm and new commands to check the code base ( #8667 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
1 year ago
gtmnayan
fe06a39229
fix: store types and some other internal types that got lost in the conversion ( #8658 )
1 year ago
Ben McCann
b0619377b1
docs: update changelog with minimum `rollup-plugin-svelte` and `svelte-loader` versions ( #8666 )
1 year ago
Ben McCann
b41c4407c2
docs: update changelog to follow changesets format ( #8642 )
1 year ago
Ben McCann
0e19350e62
docs: update changelog with required version of vite-plugin-svelte ( #8654 )
1 year ago
Puru Vijay
eb18769e59
Merge remote-tracking branch 'origin/version-4' into sites
1 year ago
Simon Holthausen
79f9d8f41f
chore: remove type * for better backwards compatibility
...
doesnt need ts 5.0 then, at least for now
1 year ago
Puru Vijay
d8139430ff
Merge remote-tracking branch 'origin/version-4' into sites
1 year ago
Puru Vijay
bd51e6f3ea
Merge remote-tracking branch 'origin/version-4' into sites
1 year ago
Puru Vijay
4cde4eaada
docs(site-2): Action, TypeScript ( #8588 )
1 year ago
Ben McCann
ddfff4df8c
chore: convert to monorepo ( #8644 )
1 year ago
Simon Holthausen
1c581bc56f
chore: changelog
1 year ago
Tan Li Hau
5c6d111065
Do not expose default slot let bindings to named slots ( #6049 )
...
* should not extend scope for across slots
* disallow named slots inheriting let: scope from default slots
* fix tests
* fix test
* fix
* add runtime tests
* rename test since it doesn't inherit anymore
* fix lint
* remove warnings
* add compile script
* document script
* improve warning
* fix test
* handle renames
* fix lint
* gather names from all parents instead of just the nearest
* remove unused import
* add reminder
---------
Co-authored-by: gtmnayan <gtmnayan@gmail.com>
1 year ago
Simon Holthausen
198dbcf714
chore: warn on passed format option
1 year ago
Nguyen Tran
a3f52f9348
fix: error when animation directive is on component ( #8641 )
...
Fixes #8639
1 year ago
Simon H
d9698551fb
feat: allow #each to iterate over iterables ( #8626 )
...
closes #7425
Uses a new ensure_array_like function to use Array.from in case the variable doesn't have a length property ('length' in 'some string' fails, therefore obj?.length). This ensures other places can stay unmodified. Using for (const x of y) constructs would require large changes across the each block code where it's uncertain that it would work for all cases since the array length is needed in various places.
1 year ago
Simon H
5dd707d4f5
feat: make transitions local by default ( #8632 )
...
To make them global, add the |global modifier
This is a breaking change
closes #6686
1 year ago
Aarni Koskela
a52106405d
fix(perf): use classList.toggle instead of add/remove ( #8629 )
...
`classList.toggle(..., flag)` has been a part of the DOM standard forever,
so better use it instead of possibly causing browser deopts by using dynamic attribute access.
The `!!` is required because an `undefined` flag means flipping the current state.
---------
Co-authored-by: Dominik G <dominik.goepel@gmx.de>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Rich Harris <hello@rich-harris.dev>
1 year ago
Simon H
734cc19846
feat: apply inert to outroing elements ( #8628 )
...
that way they are invisible to assistive technology and can't be interacted with, which makes sense since the element is already "dead" and only transitioning out at this point
closes #8445
1 year ago
Simon H
df361a2d6d
chore: warn about `:` in attributes and props ( #8633 )
...
closes #6823
---------
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Rich Harris <git@rich-harris.dev>
1 year ago
Simon Holthausen
5a4b48bb44
fix: type error
2 years ago
Puru Vijay
9f0fe3070f
chore: Remove svelte v3 files
2 years ago
Puru Vijay
cf0d815b73
fix: lint errors
2 years ago