The x/y/rx/width/height rect reorder used the height capture for width,
turning any such rect into a square (corrupted `headphones`, `headset`,
`headset-off` in v2.0, fixed by hand in #482 while the typo survived).
Extract the transform into an exported optimizeSvgContent() and add a
regression test (pnpm run test:build).
* Add Astro package support and update dependencies
* Update build script to use ES module for icon building
* Add new Open Graph images for Astro package
* Add imports check script to package.json and create .gitkeep in icons directory
* Update README and documentation to use 'main' branch for image sources and adjust package.json for Astro icons
* Correct capitalization of 'GitHub' in documentation and configuration files
* Add color toggle functionality and new icons in various frameworks
* Update documentation to reference 'main' branch for license links across all packages
* Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Add icons-angular package (v0.0.0-alpha)
* Describe loading all icons in readme
* Support for Angular 18
* Update pnpm-lock.yaml
* Add @tabler/icons to dependencies in icons-angular
* Start creating test-angular app
* Update TypeScript version and Angular dependencies in icons-angular package
* Refactor clean scripts in package.json files to use find with -delete for improved performance and clarity
* Upgrade Angular dependencies to version 21, update TypeScript configuration, and enhance icon imports in the icons-angular package for improved module resolution and clarity.
* Refactor icons-angular package configuration by removing exports from package.json, adding type exports in public-api.ts, and updating TypeScript configuration to skip library checks and exclude spec files for cleaner builds.
* Refactor TablerIconComponent to use Angular's dependency injection for improved readability and maintainability, enhance error handling for icon input, and update README links for accuracy. Remove unnecessary paths from TypeScript configuration.
* Update TablerIconComponent to improve documentation and error handling, modify icon input in tests, and enhance child element removal logic for better performance.
* Enhance ngOnChanges method in TablerIconComponent to optimize updates based on relevant input changes, improve class handling by filtering empty strings, and ensure proper node checks for child elements.
* Add ChangeDetectionStrategy to TablerIconComponent for optimized rendering
* Add labeler configuration for Angular package to include file changes in 'packages/icons-angular/*'
* Angular package update to v21 (#1468)
* Update peer dependencies in package.json for Angular compatibility and refactor TablerIconComponent to utilize Angular's reactive features
* Update README to reflect Angular version 19.0.0 support and refactor TablerIconComponent tests
* Update TypeScript configuration in icons-angular package to target ES2022 and disable useDefineForClassFields for improved compatibility.
* Refactor TablerIcon configuration and provider in icons-angular package to use InjectionToken for improved flexibility and tree-shaking.
* Refactor TablerIconComponent to improve SVG rendering logic by separating icon creation and update processes, enhancing performance and maintainability. Introduce methods for resolving icons, checking SVG recreation conditions, and applying attributes and classes efficiently.
* Refactor TablerIconComponent to utilize Renderer2 for attribute and class manipulation, ensuring zoneless compatibility. Remove deprecated TablerIconConfig export and update module documentation for standalone application support.
* Remove old `test-angular` project
* Add new Angular project structure for test-angular application
- Introduced a new Angular application named 'test-angular' with essential configuration files including angular.json, package.json, and TypeScript configurations.
- Set up initial application structure with main entry point, styles, and a sample component demonstrating the use of Tabler icons.
- Configured build and serve options for development and production environments.
- Added .gitignore to exclude Angular build artifacts.
* Add more samples in test-angular project
* Remove unused Tabler icons-angular dependency from pnpm-lock.yaml to streamline project dependencies.
* Update package.json and tsconfig.json for Tabler icons-angular integration to use package from workspace
* Update package.json and tsconfig.json for Tabler icons-angular integration to use package from workspace
* Update peer dependencies for Angular to require version 21 or higher
* Upgrade Angular dependencies to version 21.1.x in package.json and pnpm-lock.yaml
* Provide icon configuration in test-angular project
* Update zone.js in test-angular to match version from the library
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Add skipLibCheck option to tsconfig.json for test-angular project
* Chang favicon to brand-angular tabler icon, set title for test-angular project
* Adjust TypeScript target and module settings in tsconfig.json for icons-angular package
* Refactor TablerIconComponent to include DestroyRef for cleanup and improve code formatting
* Update README.md for icons-angular package: change minimum Angular version to 21.0.0, enhance usage instructions for standalone and NgModule applications, and clarify global configuration options.
* Update `tslib` version to ^2.8.1 in icons-angular and test-angular projects
* Fix formatting in app.component.html by removing unnecessary whitespace in tabler-icon component
* Update `rxjs` version to ~7.8.2 in test-angular project
* Add package.json export and import resolution options in tsconfig.json for test-angular project
* Update packageManager version to pnpm@10.26.2 in package.json
---------
Co-authored-by: Bartłomiej Gawęda <bagaweda@gmail.com>
Co-authored-by: BG-Software <73077398+BG-Software-BG@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Remove standalone flag from TablerIconComponent and its related test components (default in Angular v21)
* Update TablerIconComponent to specify ElementRef type as HTMLElement for improved type safety and clarity
* Refactor: Remove content projection in `TablerIconComponent`
* Change `config` from `computed` to `signal` (depends only on non-reactive data)
* Change `toPascalCase` to a normal function; Format the `TablerIconComponent`
* Refactor TablerIconComponent: rename `class` to `svgClass` for clarity and update usage in app.component.html. Modify package.json script for development to include cleaning and installation steps.
* Refactor provideTablerIconConfig function to return EnvironmentProviders instead of Provider, enhancing compatibility with Angular's environment provider system.
* Remove TablerIconModule, update README for icon usage, and adjust tests to utilize provideTablerIcons for improved standalone application support.
* Refactor TablerIconProvider methods to use standard function syntax for improved readability and consistency.
* Update defaultAttributes.ts to use 'as const' for improved type safety and immutability.
* Remove unnecessary comments from TypeScript configuration files in the icons-angular package for cleaner code.
* Update README and component templates to use self-closing tags for tabler-icon
* Update TypeScript configuration in icons-angular package: remove sourceMap and downlevelIteration options for cleaner setup.
* Remove @prettier/sync dependency and icon template formatting
* Enhance TablerIconComponent: add svgAttributes for additional SVG element attributes and update README with new properties
* Update test-angular project to add aria-label and role attributes to tabler-icon
* Update package.json files for icons and icons-svelte-runes
* Update pnpm-lock.yaml to upgrade vitest dependencies and remove outdated versions
* Update packages/icons-angular/package.json
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update packages/icons-angular/build.mjs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Refactor TablerIconProvider to use an array for TABLER_ICONS injection token
Updated the TABLER_ICONS injection token to initialize with an empty array instead of a new TablerIconProvider instance, improving flexibility for icon management.
* Improve attribute handling in TablerIconComponent
Updated the attribute setting logic to check for both undefined and null values before applying attributes to the element, enhancing robustness in rendering.
* Refactor TablerIconComponent tests to use svgClass binding
Updated test specifications for TablerIconComponent to replace the class attribute with svgClass for better flexibility in styling. Added a new test case to verify stroke width handling.
* Update README.md to reflect svgClass usage in TablerIconComponent examples
* Update README to not include providing all icons as it is not recommended
* Remove duplications and improve README for icons-angular
* Change <a> to <button> in test-angular sample
* Add button type to buttons in test-angular and format the template
* Include Angular package in build:packages aggregate script (#1496)
* Initial plan
* Add build:angular to build:packages script in package.json
Co-authored-by: codecalm <1282324+codecalm@users.noreply.github.com>
Agent-Logs-Url: https://github.com/tabler/tabler-icons/sessions/6146caef-64c9-427b-880c-0a30bcd72de2
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: codecalm <1282324+codecalm@users.noreply.github.com>
---------
Co-authored-by: Bartłomiej Gawęda <bgaweda@abis.krakow.pl>
Co-authored-by: codecalm <codecalm@gmail.com>
Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
* Update package dependencies and configurations
* Update GitHub Actions workflow to use Node.js 22 and adjust build command to utilize pnpm for improved consistency and performance.
* Remove specific pnpm version from GitHub Actions workflow to allow for more flexible dependency management.
* Remove specific pnpm version from GitHub Actions workflow for improved flexibility in dependency management.
* Add rsvg-convert availability check in convertIconsToImages function to prevent errors when the command is not found
* Update GitHub Actions workflow to use Node.js 22 for improved compatibility and performance.
* Remove push trigger from GitHub Actions workflow to streamline build process and focus on pull requests.
* Add system dependencies for canvas in GitHub Actions workflow and update package.json to include canvas dependency
* Update GitHub Actions workflow to install additional system dependencies for canvas and rsvg-convert
* Update pnpm-lock.yaml to add canvas dependency and remove optional flags from several packages
* Update package.json to upgrade pnpm from version 10.12.1 to 10.26.1 for improved performance and compatibility.
* Refactor Eleventy configuration to use Sass directly and update package dependencies for improved compatibility and performance. Added support for SCSS file compilation and updated various package versions in package.json and pnpm-lock.yaml.
* Reorganize GitHub Actions workflow to reposition the in-progress comment step for better clarity and execution flow during icon validation.
* Update GitHub Actions workflows to install pnpm version 10.26.2 for consistency across build and validation processes.
* Install additional system dependencies for canvas and rsvg-convert in GitHub Actions workflow to ensure proper build environment.
* Ensure canvas is loaded before jsdom by using require in utilities.mjs
* Update canvas and @napi-rs/canvas dependencies to version 3.2.0 and 0.1.88 respectively in package.json and pnpm-lock.yaml for improved compatibility. Add "onlyBuiltDependencies" field in package.json to specify required dependencies.
* Add 'generate-icons-comment' script to package.json and update PR validation workflow to include icon generation and commenting steps.
* Refactor icon comment generation to include inline SVGs in markdown tables and update workflow to handle output correctly.
* Refactor icon comment generation to use base64 data URIs for SVGs in markdown tables, improving compatibility and visual representation.
* Refactor icon comment generation to use GitHub raw file URLs instead of base64 data URIs, enhancing compatibility with GitHub comments.
* Update icon size in markdown table for improved visibility in GitHub comments.
* Enhance icon comment generation by adding category and tags to markdown table, improving organization and metadata visibility.
* Implement category validation for new icons and consolidate helper imports in icon generation scripts.
* Add workflow step to remove comment with added icons if no icons are present
* Remove unused SVG icon file 'a-b-2 copy 2.svg' to clean up the icon directory.
* Update PR validation workflow to change icon comment mode from 'recreate' to 'upsert', allowing for more efficient comment updates.
* Update icon name in markdown table to include file extension for clarity in generated comments.
* Remove unused SVG icon file 'a-b-2 copy.svg' to streamline the icon directory.