File tree
671 files changed
+4741
-4168
lines changed- .changeset
- packages/svelte
- messages
- compile-errors
- compile-warnings
- scripts/process-messages
- templates
- src
- compiler
- phases
- 1-parse
- read
- state
- 2-analyze
- css
- 3-transform
- client
- visitors
- css
- server
- types
- utils
- internal
- client
- dom
- blocks
- elements
- bindings
- legacy
- reactivity
- reactivity
- tests
- compiler-errors/samples
- attribute-empty
- attribute-sequence-expression
- attribute-sequence-expression-2
- attribute-unique
- attribute-unique-binding
- attribute-unique-shorthand
- catch-before-closing
- catch-without-await
- class-state-field-static
- comment-unclosed
- component-slot-duplicate-error
- component-slot-duplicate-error-2
- component-slot-duplicate-error-3
- component-slot-duplicate-error-4
- component-slot-duplicate-error-5
- component-slot-duplicate-error-6
- component-slot-nested-error
- component-slot-nested-error-2
- component-slot-nested-error-3
- css
- css-global-block-combinator
- css-global-block-declaration
- css-global-block-modifier
- css-global-block-multiple
- css-global-without-selector
- dollar-binding-declaration
- dollar-binding-global
- dollar-binding-global-js
- dollar-binding-import
- dynamic-element-binding-invalid
- else-before-closing
- else-before-closing-2
- else-before-closing-3
- else-if-before-closing
- else-if-before-closing-2
- else-if-without-if
- empty-attribute-shorthand
- empty-classname-binding
- empty-directive-name
- export-derived-state
- export-state
- export-state-module
- illegal-expression
- invalid-snippet-binding
- invalid-snippet-mutation
- legacy-no-const-assignment
- legacy-no-const-update
- multiple-styles
- options-children
- raw-mustaches-whitespace
- render-tag-invalid-call
- runes-before-after-update
- runes-duplicate-props
- runes-export-let
- runes-export-named-state
- runes-invalid-each-binding
- runes-invalid-each-mutation
- runes-no-const-assignment
- runes-no-const-update
- runes-no-derived-assignment
- runes-no-derived-binding
- runes-no-derived-state-field-assignment
- runes-no-derived-state-field-update
- runes-no-derived-update
- runes-no-rune-each
- runes-prop-export-conflict
- runes-wrong-bindable-args
- runes-wrong-bindable-placement
- runes-wrong-derived-args
- runes-wrong-derived-placement
- runes-wrong-effect-args
- runes-wrong-effect-placement
- runes-wrong-host-placement
- runes-wrong-props-args
- runes-wrong-props-placement
- runes-wrong-state-args
- runes-wrong-state-placement
- runes-wrong-state-snapshot-args
- script-unclosed
- script-unclosed-eof
- self-reference
- slot-conflicting-with-render-tag
- snippet-children-conflict
- store-autosub-context-module
- store-contextual
- store-global-disallowed
- store-prevent-user-declarations
- store-shadow-scope
- store-shadow-scope-2
- store-shadow-scope-3
- store-template-expression-scope
- style-unclosed
- style-unclosed-eof
- svelte-selfdestructive
- then-before-closing
- then-without-await
- unclosed-attribute-self-close-tag
- unexpected-end-of-input
- unexpected-end-of-input-b
- unexpected-end-of-input-c
- unexpected-end-of-input-d
- unmatched-closing-tag
- unmatched-closing-tag-autoclose
- unmatched-closing-tag-autoclose-2
- void-closing
- window-children
- window-duplicate
- window-inside-block
- window-inside-element
- css/samples
- attribute-selector-case-sensitive
- descendant-selector-unmatched
- dynamic-element
- empty-class
- general-siblings-combinator
- general-siblings-combinator-await
- general-siblings-combinator-each-else
- general-siblings-combinator-each-else-nested
- general-siblings-combinator-if
- general-siblings-combinator-if-not-exhaustive
- general-siblings-combinator-if-not-exhaustive-with-each
- general-siblings-combinator-rendertag-global
- general-siblings-combinator-slot
- general-siblings-combinator-slot-global
- general-siblings-combinator-star
- general-siblings-combinator-svelteelement
- global-block
- global-with-unused-descendant
- host
- is
- nested-css
- omit-scoping-attribute-descendant
- preserve-specificity
- siblings-combinator
- siblings-combinator-await
- siblings-combinator-each-2
- siblings-combinator-each-else
- siblings-combinator-each-else-nested
- siblings-combinator-each-nested
- siblings-combinator-global
- siblings-combinator-if
- siblings-combinator-if-not-exhaustive
- siblings-combinator-if-not-exhaustive-with-each
- siblings-combinator-slot
- siblings-combinator-star
- unused-selector
- unused-selector-child-combinator
- unused-selector-empty-attribute
- unused-selector-leading
- unused-selector-string-concat
- unused-selector-ternary
- unused-selector-ternary-concat
- unused-selector-ternary-nested
- unused-selector-trailing
- hydration
- samples/ignore-mismatched-href
- parser-modern/samples/comment-before-script
- runtime-browser
- custom-elements-samples/extended-builtin
- runtime-legacy
- samples
- binding-focused
- binding-this-multiple
- component-nested-deep
- component-slot-context-props-each
- component-slot-context-props-each-nested
- component-slot-context-props-let
- destroy-twice
- empty-component-destroy
- event-handler-mutation-scope
- lifecycle-render-afterUpdate2
- lifecycle-render-beforeUpdate
- reactive-assignment-prevent-loop
- runtime-runes/samples
- action-context
- action-state-arg-deep
- action-void-element
- before-update-in-legacy-child
- bind-this-proxy
- class-frozen-state-object
- class-private-frozen-state-object
- class-state-derived-unowned
- class-state-init-eager
- class-state-init-eager-2
- class-state-init-eager-3
- derived-destructure
- derived-fn-destructure
- derived-stale-value
- destructure-derived-event
- dynamic-transition
- effect
- effect-cleanup
- effect-order
- effect-order-2
- effect-root
- effect-root-2
- effects-order
- event-attribute-after-spread
- event-attribute-delegation
- event-attribute-delegation-2
- event-attribute-delegation-3
- event-attribute-delegation-4
- event-attribute-delegation-5
- event-attribute-delegation-6
- event-attribute-delegation-7
- event-prop-reference
- event-propagation-with-error
- export-binding
- counter
- inspect
- inspect-derived-2
- inspect-multiple
- inspect-nested-state
- inspect-new-property
- inspect-trace
- lifecycle-render-order-for-children
- lifecycle-render-order-for-children-2
- lifecycle-render-order-for-children-3
- lifecycle-render-order-for-children-4
- lifecycle-render-order-for-children-5
- nested-effect-conflict
- nested-script-tag
- non-local-mutation-with-binding-3
- nullish-operator
- pre-effect
- pre-effect-ordering
- props-derived-2
- props-equality
- props-not-bindable
- props-not-bindable-spread
- readonly-state
- snippet-reactive-args
- store-subscribe-effect-init
- text-multiple-call-expression
- types
- validator/samples
- a11y-alt-text
- a11y-anchor-has-content
- a11y-anchor-in-svg-is-valid
- a11y-anchor-is-valid
- a11y-aria-activedescendant
- a11y-aria-props
- a11y-aria-proptypes-boolean
- a11y-aria-proptypes-integer
- a11y-aria-proptypes-number
- a11y-aria-proptypes-string
- a11y-aria-proptypes-token
- a11y-aria-proptypes-tokenlist
- a11y-aria-proptypes-tristate
- a11y-aria-role
- a11y-aria-unsupported-element
- a11y-autocomplete-valid
- a11y-click-events-have-key-events
- a11y-figcaption-wrong-place
- a11y-heading-has-content
- a11y-html-has-lang
- a11y-iframe-has-title
- a11y-img-redundant-alt
- a11y-interactive-supports-focus
- a11y-label-has-associated-control
- a11y-media-has-caption
- a11y-mouse-events-have-key-events
- a11y-no-abstract-roles
- a11y-no-access-key
- a11y-no-autofocus
- a11y-no-distracting-elements
- a11y-no-interactive-element-to-noninteractive-role
- a11y-no-noninteractive-element-interactions
- a11y-no-noninteractive-element-to-interactive-role
- a11y-no-noninteractive-tabindex
- a11y-no-redundant-roles
- a11y-no-static-element-interactions
- a11y-not-on-components
- a11y-role-has-required-aria-props
- a11y-role-supports-aria-props
- a11y-scope
- a11y-tabindex-no-positive
- action-on-component
- animation-duplicate
- animation-not-in-each
- animation-not-in-keyed-each
- animation-on-component
- animation-siblings
- assignment-to-const
- assignment-to-const-2
- assignment-to-const-3
- assignment-to-const-4
- assignment-to-const-5
- assignment-to-const-7
- attribute-expected-equals
- attribute-invalid-name
- attribute-invalid-name-2
- attribute-invalid-name-3
- attribute-invalid-name-4
- attribute-invalid-name-5
- binding-await-catch
- binding-await-then
- binding-await-then-2
- binding-const
- binding-dimensions-svg
- binding-input-checked
- binding-input-type-boolean
- binding-invalid
- binding-invalid-foreign-namespace
- binding-invalid-on-element
- binding-invalid-on-element-2
- binding-invalid-value
- binding-invalid-value-global
- binding-let
- binding-select-multiple-dynamic
- component-dynamic
- component-event-modifiers-invalid
- component-invalid-style-directive
- component-name-lowercase
- component-slot-default-reserved
- component-slot-dynamic
- component-slot-dynamic-attribute
- component-slotted-custom-element-2
- component-slotted-each-block
- component-slotted-if-block
- const-tag-conflict-1
- const-tag-conflict-2
- const-tag-placement-1
- const-tag-placement-2
- const-tag-readonly-1
- const-tag-readonly-2
- contenteditable-dynamic
- contenteditable-missing
- css-invalid-combinator-selector-1
- css-invalid-combinator-selector-2
- css-invalid-combinator-selector-3
- css-invalid-combinator-selector-4
- css-invalid-global-placement
- css-invalid-global-placement-2
- css-invalid-global-placement-3
- css-invalid-global-placement-4
- css-invalid-global-placement-5
- css-invalid-global-placement-6
- css-invalid-global-selector
- css-invalid-global-selector-2
- css-invalid-global-selector-3
- css-invalid-global-selector-4
- css-invalid-global-selector-5
- css-invalid-global-selector-6
- css-invalid-global-selector-list
- css-invalid-type-selector-placement
- css-mismatched-quotes
- debug-invalid-args
- default-export
- default-export-anonymous-class
- default-export-anonymous-function
- directive-non-expression
- dollar-dollar-global-in-markup
- dollar-dollar-global-in-script
- dollar-global-in-markup
- dollar-global-in-script
- dynamic-element-invalid-tag
- dynamic-element-missing-tag
- dynamic-element-this
- each-block-destructured-object-rest-comma-after
- each-block-invalid-context
- each-block-invalid-context-destructured
- each-block-invalid-context-destructured-object
- empty-block
- error-mode-warn
- event-attribute
- event-modifiers-invalid
- event-modifiers-invalid-nonpassive
- event-modifiers-invalid-passive
- general-siblings-combinator-in-custom-element-selects-slot-fallback
- global-event-reference
- html-block-in-attribute
- html-block-in-textarea
- ignore-warning
- ignore-warnings
- ignore-warnings-cumulative
- ignore-warnings-newline
- ignore-warnings-stacked
- illegal-attribute-character
- illegal-variable-declaration
- inline-new-class
- inline-new-class-2
- inline-new-class-4
- invalid-empty-css-declaration
- invalid-node-placement
- invalid-node-placement-2
- invalid-self-closing-tag
- let-directive
- logic-block-in-attribute
- logic-block-in-textarea
- module-script-reactive-declaration
- multiple-script-default-context
- multiple-script-module-context
- namespace-invalid
- namespace-non-literal
- reactive-declaration-cyclical
- reactive-declaration-non-top-level
- reactive-module-variable
- rest-eachblock-binding
- rest-eachblock-binding-2
- rest-eachblock-binding-3
- rest-eachblock-binding-nested-rest
- runes-bindable-not-called
- runes-legacy-syntax-warnings
- runes-props-not-called
- runes-referenced-nonstate
- runes-referenced-nonstate-bind-this
- script-invalid-context
- siblings-combinator-in-custom-element-selects-slot-fallback
- silence-warnings
- silence-warnings-2
- slot-attribute-invalid
- slot-warning
- slot-warning-ignore
- slot-warning2
- static-state-reference
- store-runes-conflict
- style-directive-modifiers-invalid
- svelte-fragment-placement
- svelte-fragment-placement-2
- svelte-head-attributes
- tag-custom-element-options-missing
- tag-invalid
- tag-non-string
- textarea-value-children
- title-no-attributes
- title-no-children
- transition-duplicate-in
- transition-duplicate-in-transition
- transition-duplicate-out
- transition-duplicate-out-transition
- transition-duplicate-transition
- transition-duplicate-transition-in
- transition-duplicate-transition-out
- transition-on-component
- unreferenced-variables
- unreferenced-variables-each
- use-the-platform
- window-binding-invalid
- window-binding-invalid-innerwidth
- types
- sites/svelte-5-preview/src/routes/docs/content/03-appendix
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
671 files changed
+4741
-4168
lines changedLines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + |
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + |
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + |
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + |
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + |
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + |
Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| 22 | + | |
22 | 23 |
| |
23 | 24 |
| |
24 | 25 |
| |
| |||
106 | 107 |
| |
107 | 108 |
| |
108 | 109 |
| |
| 110 | + | |
109 | 111 |
| |
110 | 112 |
| |
111 | 113 |
| |
| |||
197 | 199 |
| |
198 | 200 |
| |
199 | 201 |
| |
| 202 | + | |
200 | 203 |
| |
201 | 204 |
| |
202 | 205 |
| |
| |||
211 | 214 |
| |
212 | 215 |
| |
213 | 216 |
| |
| 217 | + | |
214 | 218 |
| |
215 | 219 |
| |
216 | 220 |
| |
| |||
259 | 263 |
| |
260 | 264 |
| |
261 | 265 |
| |
| 266 | + | |
262 | 267 |
| |
263 | 268 |
| |
264 | 269 |
| |
| |||
303 | 308 |
| |
304 | 309 |
| |
305 | 310 |
| |
| 311 | + | |
306 | 312 |
| |
307 | 313 |
| |
308 | 314 |
| |
| |||
320 | 326 |
| |
321 | 327 |
| |
322 | 328 |
| |
| 329 | + | |
323 | 330 |
| |
324 | 331 |
| |
325 | 332 |
| |
326 | 333 |
| |
327 | 334 |
| |
328 | 335 |
| |
| 336 | + | |
329 | 337 |
| |
330 | 338 |
| |
331 | 339 |
| |
| |||
341 | 349 |
| |
342 | 350 |
| |
343 | 351 |
| |
| 352 | + | |
344 | 353 |
| |
345 | 354 |
| |
346 | 355 |
| |
| |||
404 | 413 |
| |
405 | 414 |
| |
406 | 415 |
| |
| 416 | + | |
407 | 417 |
| |
408 | 418 |
| |
409 | 419 |
| |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + |
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + |
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + |
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + |
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 |
| |
6 | 9 |
| |
7 | 10 |
| |
|
Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
| 36 | + | |
| 37 | + | |
36 | 38 |
| |
37 | 39 |
| |
38 | 40 |
| |
39 | 41 |
| |
40 | 42 |
| |
41 | 43 |
| |
42 |
| - | |
| 44 | + | |
| 45 | + | |
43 | 46 |
| |
44 | 47 |
| |
45 | 48 |
|
Lines changed: 32 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
3 | 35 |
| |
4 | 36 |
| |
5 | 37 |
| |
|
Lines changed: 59 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + |
Lines changed: 35 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + |
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + |
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + |
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + |
Lines changed: 51 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + |
Lines changed: 27 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + |
0 commit comments