-
Notifications
You must be signed in to change notification settings - Fork 18
Lit Element migration RC #901
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
Draft
nd0ut
wants to merge
106
commits into
main
Choose a base branch
from
rc
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Add SymbioteCompatMixin for Symbiote.js compatibility layer - Add LightDomMixin for light DOM rendering support - Add CssDataMixin for CSS custom properties support - Add RegisterableElementMixin for custom element registration - Add parseCssPropertyValue utility for CSS property parsing - Add Constructor type helper
…classes - Add LitBlock as the base class for all Lit-based blocks - Add LitActivityBlock for activity-based UI components - Add LitUploaderBlock with file upload management capabilities - Add LitSolutionBlock for solution wrapper components - Add TestModeController for test mode handling
- Remove Block.ts (replaced by LitBlock) - Remove ActivityBlock.ts (replaced by LitActivityBlock) - Remove UploaderBlock.ts (replaced by LitUploaderBlock) - Remove SolutionBlock.ts (replaced by LitSolutionBlock) - Remove l10nProcessor.ts (l10n now handled in Lit templates) - Remove testModeProcessor.ts (replaced by TestModeController) - Remove bindCompatibilityFallbackProcessor.ts - Remove Range component (unused)
- Migrate CameraSource to Lit with reactive properties - Migrate ExternalSource to Lit - Migrate FileItem to Lit with improved rendering - Migrate UploadList to Lit - Migrate Modal to Lit - Migrate DropArea to Lit - Migrate SimpleBtn, SourceBtn, SourceList to Lit - Migrate Thumb to Lit with async image loading - Migrate ProgressBar, ProgressBarCommon to Lit - Migrate UrlSource to Lit - Migrate Select, Spinner, ActivityHeader, Config - Migrate StartFrom, Copyright, Icon, FormInput - Migrate UploadCtxProvider and EventEmitter
- Migrate CloudImageEditorBlock to Lit - Migrate EditorToolbar with Lit templating - Migrate EditorFilterControl, EditorOperationControl - Migrate EditorSlider, EditorImageCropper, EditorImageFader - Migrate CropFrame with reactive properties - Migrate UI elements: BtnUi, SliderUi, LineLoaderUi, PresenceToggle - Migrate EditorAspectRatioButtonControl, EditorCropButtonControl - Migrate EditorButtonControl, EditorScroller - Remove deprecated template.ts
- Migrate FileUploaderInline to Lit - Migrate FileUploaderMinimal to Lit - Migrate FileUploaderRegular to Lit
- Convert Img.js to Img.ts - Convert ImgBase.js to ImgBase.ts with proper typing - Convert ImgConfig.js to ImgConfig.ts - Add demo/img.html demo page
- Rename all locale files from .js to .ts
- Update CTX for Lit integration - Update TypedData change detection - Update UploaderPublicApi for Lit components - Update LocaleManager for Lit template binding - Update ModalManager, SecureUploadsManager, TelemetryManager - Update ValidationManager - Update a11y utilities - Update WindowHeightTracker
- Update src/index.ts with new Lit-based exports - Update adaptive-image solution imports
- Add Lit dependencies to package.json - Update biome.json configuration - Update tsconfig files for TypeScript locale files - Update vite.config.js
- Update e2e tests for Lit-based components - Update test utilities - Update test-locales script for .ts locale files
- Update cloud-image-editor.html demo - Update locales.html demo - Update raw-regular.html demo - Update validators.html demo
- Update biome.json schema version and add unused import/variable rules - Remove unused imports from Config.ts, computed-properties.ts, Select.ts - Fix unused catch variable in ImgBase.ts - Fix CSS grid-gap to gap in camera-source.css - Apply formatting fixes to demo HTML files
- Reorganize demos into folders: solutions/, bundles/, features/, external-sources/ - Add new bundle demos that import from pre-built web/ directory - Add Lit Element based demo index with search and folder navigation - Add debug, quality-insights=false, and test-mode to all demo configs - Rename files to be more descriptive (e.g. raw-regular -> regular)
…llection, not it destroy items after 10s of inactivity
Migration to Lit Element
…anagers refactor: centralized shared context managers state
Contributor
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Checklist