Skip to content

Merge dev into v2/update#564

Merged
michielvandergeest merged 34 commits intolightning-js:v2/updatefrom
suresh-gangumalla:v2/update
Jan 7, 2026
Merged

Merge dev into v2/update#564
michielvandergeest merged 34 commits intolightning-js:v2/updatefrom
suresh-gangumalla:v2/update

Conversation

@suresh-gangumalla
Copy link
Copy Markdown
Collaborator

No description provided.

suresh-gangumalla and others added 30 commits November 20, 2025 17:46
Signed-off-by: Suresh Kumar Gangumalla <sureshkumar.gangumalla@invecas.com>
…in-translate-scope-regex

fix(generator): rewrite plugin helpers in :for loop effects
…ctivity

added reactivity support to regular shaders
…type-def

feat: expose ComponentCustomProperties as a module-augmentation extension point
Signed-off-by: Suresh Kumar Gangumalla <sureshkumar.gangumalla@invecas.com>
sending empty mapping from reactivity guard plugin so that
vite transform hook does not log an warning for not sending
map when build is configured to send sourcemap.

next vite plugin pre-compiler will takecare of creating correct
sourcemap for components

Signed-off-by: Suresh Kumar Gangumalla <sureshkumar.gangumalla@invecas.com>
Signed-off-by: Suresh Kumar Gangumalla <sureshkumar.gangumalla@invecas.com>
Signed-off-by: Suresh Kumar Gangumalla <sureshkumar.gangumalla@invecas.com>
…rove-sprite-tests

test(sprite): add tests for texture reuse, mapping, and missing frames
…ent-custom-properties-and-plugins

feat(types): add ComponentCustomProperties augmentation point and typ…
Signed-off-by: Suresh Kumar Gangumalla <sureshkumar.gangumalla@invecas.com>
Handled sourcemap generation changes in prepublish
Signed-off-by: Suresh Kumar Gangumalla <sureshkumar.gangumalla@invecas.com>
Signed-off-by: Suresh Kumar Gangumalla <sureshkumar.gangumalla@invecas.com>
Signed-off-by: Suresh Kumar Gangumalla <sureshkumar.gangumalla@invecas.com>
Copy link
Copy Markdown
Collaborator

@michielvandergeest michielvandergeest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good - few minor comments

Comment thread element-test-full.txt
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file should probably be deleted

Comment thread index.d.ts Outdated
Comment on lines +378 to +397
export interface LanguagePlugin {
translate(key: string, ...replacements: any[]): string
readonly language: string
set(language: string): void
translations(translationsObject: Record<string, unknown>): void
load(file: string): Promise<void>
}

export interface ThemePlugin {
get<T = unknown>(key: string): T | undefined
get<T>(key: string, fallback: T): T
set(theme: string): void
}

export interface StoragePlugin {
get<T = unknown>(key: string): T | null
set(key: string, value: unknown): boolean
remove(key: string): void
clear(): void
}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should these still be here actually? Maybe also they shouldn't exist in the current master version (since we've changed this to explicit imports).

@il-sairamg can you comment?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're correct — these shouldn't be in index.d.ts anymore.

Comment thread test-output.txt
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this file?

il-sairamg and others added 2 commits January 6, 2026 12:00
…th implementations

- Removed LanguagePlugin, ThemePlugin, StoragePlugin, and AppStatePlugin from index.d.ts
- Moved each interface to its respective plugin .d.ts file
- Updated src/plugins/index.d.ts to import from individual plugin files
- Removes circular dependency pattern
- Completes explicit imports migration from PR 555
fix(types): remove plugin interfaces from index.d.ts and co-locate wi…
@michielvandergeest michielvandergeest merged commit 6a63a1a into lightning-js:v2/update Jan 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants