Commit Graph

130 Commits

Author SHA1 Message Date
codecalm d98c78b6c1 Update build scripts to use environment variables and improve icon build logging. The `after:bump` hook in package.json now utilizes `pnpm exec turbo build` for better performance, while console output for icon building has been commented out for cleaner logs during the build process. 2025-12-31 18:16:31 +01:00
codecalm 07d1e4a796 Refactor build scripts in package.json and update changelog generation to use environment variables for versioning. This improves consistency and clarity in version handling across scripts. 2025-12-30 19:24:53 +01:00
Marlon Daniel 22e23512d8
Add folder-open SVG icon (#1449)
* Add folder-open SVG icon

* Add `.svg` extension to folder-open icon

* Enhance icon validation by ensuring only .svg files exist in filled and outline directories; update crown and folder-open SVG files for consistency and clarity.

---------

Co-authored-by: codecalm <codecalm@gmail.com>
2025-12-30 18:39:05 +01:00
Paweł Kuna 2702274bfa
Update package dependencies and configurations (#1447)
* 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.
2025-12-30 18:33:11 +01:00
sam a2b135fff0
Add icon `filled/crown` (#1441)
* Add new: `filled/crown`

* Update icon validation to require '.svg' extension in names and remove tag checks for filled icons, enhancing validation accuracy.

---------

Co-authored-by: codecalm <codecalm@gmail.com>
2025-12-23 02:45:52 +01:00
codecalm a2d526f493 Refactor icon validation logic to enforce stricter naming and category rules for outline and filled icons, improving error reporting for invalid configurations. 2025-12-23 02:38:33 +01:00
codecalm 3c47dab3ed Enhance icon generation script and PR workflow to utilize PR-specific repository and SHA, improving accuracy for forked repositories. 2025-12-23 02:33:39 +01:00
codecalm 69e0b696fb Update icon validation scripts to use dynamic base branch reference for improved accuracy in PR icon checks 2025-12-23 02:30:59 +01:00
codecalm 39b30d7109 Refactor icon comment generation to conditionally include category and tags in markdown table based on icon type, enhancing clarity and organization. 2025-12-23 02:26:40 +01:00
Paweł Kuna 6d5f43d993
Add icon comment generation with categories and tags to PR validation workflow (#1444)
* 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.
2025-12-23 01:59:33 +01:00
Paweł Kuna e7f40a1500
Add 'validate-pr' script to package.json (#1443) 2025-12-23 00:59:53 +01:00
Paweł Kuna 67ede20ca5
Add validation rules and icon optimizations (#1440) 2025-12-22 23:43:52 +01:00
codecalm b26e778f5c Refactor import.mjs to replace fs.readFileSync with readFileSync for improved consistency in SVG icon file reading. 2025-12-14 20:55:54 +01:00
codecalm de5396b387 18 new icons: `filled/device-gamepad`, `filled/file-dollar`, `filled/file-edit`, `filled/file-euro`, `filled/file-music`, `filled/file-scissors`, `filled/file-settings`, `filled/file-signal`, `filled/file-time`, `filled/file-unknown`, `filled/file-upload`, `filled/file-vector`, `filled/files`, `filled/registered`, `filled/video-minus`, `filled/video-plus`, `filled/writing-sign`, `filled/writing` 2025-09-15 19:33:57 +02:00
Paweł Kuna ad662f360b
Improve build speed (#1382) 2025-07-21 01:43:11 +02:00
codecalm 7ca541ce7a Refactor file system operations to use destructured imports from 'fs' in helpers and build-webfont modules 2025-07-20 20:32:43 +02:00
codecalm 100369584f Update icon metadata 2025-01-29 22:29:40 +01:00
codecalm 603062956f Refactor import statement for cheerio to use namespace import 2025-01-08 10:34:05 +01:00
codecalm b2b27332c2 Release 3.28.0 2025-01-08 03:10:54 +01:00
ethancrawford 3e4049a572
Remove sass deprecation warnings (#1289) 2025-01-06 00:49:11 +01:00
codecalm 740f14ff2f generate icon tags 2024-11-28 20:17:24 +01:00
codecalm 28acdaff7f import tags fix 2024-11-22 14:47:35 +01:00
codecalm d99d2acc31 build fix 2024-10-23 07:16:48 +02:00
Tim Heerwagen 7d1f101f00
Generate dynamic imports for icons-react (#1081)
Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>
2024-09-27 22:09:40 +02:00
codecalm bad711e40a Release 3.14.0 2024-08-27 11:39:37 +02:00
codecalm f737a5793f update tags 2024-08-26 14:01:53 +02:00
codecalm 7efd83d2de 18 new icons: `outline/adjustments-spark`, `outline/battery-spark`, `outline/camera-spark`, `outline/cube-spark`, `outline/eye-spark`, `outline/file-spark`, `outline/file-text-spark`, `outline/flag-spark`, `outline/heart-spark`, `outline/home-spark`, `outline/input-spark`, `outline/mail-spark`, `outline/mood-spark`, `outline/phone-spark`, `outline/photo-spark`, `outline/server-spark`, `outline/settings-spark`, `outline/table-spark` 2024-08-26 13:56:42 +02:00
codecalm d907b20bdf validation fixes 2024-04-11 12:20:26 +02:00
codecalm acda1fdd77 update icons script 2024-03-14 20:11:58 +01:00
codecalm d6d0dd6c83 update icons script 2024-03-14 20:08:49 +01:00
codecalm 4605a54a2e Remove tags and categories from filled icons 2024-03-14 19:59:01 +01:00
Paweł Kuna a3200b5831
Generate icons list for build (#1050) 2024-03-14 00:35:33 +01:00
Paweł Kuna 6174beca0f
Pull Request comments action (#1048)
* validate icons comment pr

* labeler

* validate icons comment pr

* validate icons comment pr

* validate icons comment pr

* validate icons comment pr

* validate icons comment pr

* validate icons comment pr

* validate icons comment pr

* validate icons comment pr

* validate icons comment pr

* validate icons comment pr

* validate icons comment pr

* validate icons comment pr

* validate icons comment pr

* validate icons comment pr

* test icons

* validate icons comment pr

* rollbac invalid icons
2024-03-13 03:29:16 +01:00
Paweł Kuna ceed535efb
Import fixes (#1039)
* fix packages imports

* imports check scripts

* update packages

* svelte build improvements

* build fix
2024-03-12 12:19:23 +01:00
Paweł Kuna 14b334f31b
Types fixes (#1037)
* tests update

* type fixes

* build fix

* type fixes
2024-03-12 00:15:40 +01:00
codecalm acd82d64f6 readme fix 2024-03-10 21:19:24 +01:00
codecalm f211bf2e05 build improvements 2024-02-28 02:25:28 +01:00
codecalm dfac859764 mjs extension to esm modules 2024-02-28 01:22:32 +01:00
codecalm 2044b568a7 rollup config improvements 2024-02-28 01:14:57 +01:00
codecalm 3c8b36e8e4 add aliases validator 2024-02-28 00:02:45 +01:00
Paweł Kuna b54c86433e
Tabler Icons 3.0 (#993)
* fix: fix icons svelte package

* add missing svelte condition #941

* build fix

* react components

* preact components

* solidjs components

* vue components

* add unit tests

* build cleanup

* build fixes

* add icons aliases

* dependencies update

* update gemfile

* dependencies update

* iconfont cache

* Release 3.0.0-alpha.0

* build fix

* rollup plugins fix

* build v3

* Rename 7 icons and add aliases for them

* init react-native package

* React Native new package (#999)

* remove build files

* build files remove (#1000)

* init react-native package

* remove build files

* remove build files

* turbo update

* remove build files

* categories build fix

* 22 new icons: `badge-3d-filled`, `badge-4k-filled`, `badge-8k-filled`, `badge-ad-filled`, `badge-ar-filled`, `badge-cc-filled`, `badge-hd-filled`, `badge-sd-filled`, `badge-tm-filled`, `badge-vo-filled`, `badge-vr-filled`, `badge-wc-filled`, `boom`, `brand-astro`, `car-4wd`, `car-fan-1`, `car-fan-2`, `car-fan-3`, `car-fan-auto`, `car-fan`, `scan-position`, `typeface`

Fixed icons: `badge-3d`

* 25 new icons: `cash-banknote-filled`, `clock-hour-1-filled`, `clock-hour-10-filled`, `clock-hour-11-filled`, `clock-hour-12-filled`, `clock-hour-2-filled`, `clock-hour-3-filled`, `clock-hour-4-filled`, `clock-hour-5-filled`, `clock-hour-6-filled`, `clock-hour-7-filled`, `clock-hour-8-filled`, `clock-hour-9-filled`, `gps-filled`, `layout-align-bottom-filled`, `layout-align-center-filled`, `layout-align-left-filled`, `layout-align-middle-filled`, `layout-align-right-filled`, `layout-align-top-filled`, `radar-filled`, `relation-many-to-many-filled`, `relation-one-to-many-filled`, `relation-one-to-one-filled`, `section-filled`

Fixed icons: `ce-off`

* 7 new icons: `crop-1-1-filled`, `crop-16-9-filled`, `crop-3-2-filled`, `crop-5-4-filled`, `crop-7-5-filled`, `crop-landscape-filled`, `crop-portrait-filled`

* 80 new icons: `circle-letter-a-filled`, `circle-letter-b-filled`, `circle-letter-c-filled`, `circle-letter-d-filled`, `circle-letter-e-filled`, `circle-letter-f-filled`, `circle-letter-g-filled`, `circle-letter-h-filled`, `circle-letter-i-filled`, `circle-letter-j-filled`, `circle-letter-k-filled`, `circle-letter-l-filled`, `circle-letter-letter-v-filled`, `circle-letter-m-filled`, `circle-letter-n-filled`, `circle-letter-o-filled`, `circle-letter-p-filled`, `circle-letter-q-filled`, `circle-letter-r-filled`, `circle-letter-s-filled`, `circle-letter-t-filled`, `circle-letter-u-filled`, `circle-letter-v-filled`, `circle-letter-w-filled`, `circle-letter-x-filled`, `circle-letter-y-filled`, `circle-letter-z-filled`, `square-letter-a-filled`, `square-letter-b-filled`, `square-letter-c-filled`, `square-letter-d-filled`, `square-letter-e-filled`, `square-letter-f-filled`, `square-letter-g-filled`, `square-letter-h-filled`, `square-letter-i-filled`, `square-letter-j-filled`, `square-letter-k-filled`, `square-letter-l-filled`, `square-letter-letter-v-filled`, `square-letter-m-filled`, `square-letter-n-filled`, `square-letter-o-filled`, `square-letter-p-filled`, `square-letter-q-filled`, `square-letter-r-filled`, `square-letter-s-filled`, `square-letter-t-filled`, `square-letter-u-filled`, `square-letter-v-filled`, `square-letter-w-filled`, `square-letter-x-filled`, `square-letter-y-filled`, `square-letter-z-filled`, `square-rounded-letter-a-filled`, `square-rounded-letter-b-filled`, `square-rounded-letter-c-filled`, `square-rounded-letter-d-filled`, `square-rounded-letter-e-filled`, `square-rounded-letter-f-filled`, `square-rounded-letter-g-filled`, `square-rounded-letter-h-filled`, `square-rounded-letter-i-filled`, `square-rounded-letter-j-filled`, `square-rounded-letter-k-filled`, `square-rounded-letter-l-filled`, `square-rounded-letter-m-filled`, `square-rounded-letter-n-filled`, `square-rounded-letter-o-filled`, `square-rounded-letter-p-filled`, `square-rounded-letter-q-filled`, `square-rounded-letter-r-filled`, `square-rounded-letter-s-filled`, `square-rounded-letter-t-filled`, `square-rounded-letter-u-filled`, `square-rounded-letter-v-filled`, `square-rounded-letter-w-filled`, `square-rounded-letter-x-filled`, `square-rounded-letter-y-filled`, `square-rounded-letter-z-filled`

* 3 new icons: `stack-2-filled`, `stack-3-filled`, `stack-filled`

* Fixed icons: `cookie-man`, `cookie`, `copy-check`, `copy-minus`, `copy-x`, `stack-2-filled`, `stack-3-filled`, `stack-filled`

* 3 new icons: `cone-2-filled`, `cone-filled`, `contrast-filled`

* 1 new icons: `contrast-2-filled`

Fixed icons: `contrast-2`

* 4 new icons: `transition-bottom-filled`, `transition-left-filled`, `transition-right-filled`, `transition-top-filled`

* Fixed icons: `square-letter-a-filled`, `square-letter-b-filled`, `square-letter-c-filled`, `square-letter-d-filled`, `square-letter-e-filled`, `square-letter-f-filled`, `square-letter-g-filled`, `square-letter-h-filled`, `square-letter-i-filled`, `square-letter-j-filled`, `square-letter-k-filled`, `square-letter-l-filled`, `square-letter-m-filled`, `square-letter-n-filled`, `square-letter-o-filled`, `square-letter-p-filled`, `square-letter-q-filled`, `square-letter-r-filled`, `square-letter-s-filled`, `square-letter-t-filled`, `square-letter-u-filled`, `square-letter-v-filled`, `square-letter-w-filled`, `square-letter-x-filled`, `square-letter-y-filled`, `square-letter-z-filled`

* 6 new icons: `cookie-filled`, `cookie-man-filled`, `copy-check-filled`, `copy-minus-filled`, `copy-plus-filled`, `copy-x-filled`

Fixed icons: `cookie-man`, `cookie`, `copy-check`, `copy-minus`, `copy-plus`, `copy-x`

* Fixed icons: `brand-graphql`

* icons fix

* 4 new icons: `biohazard-filled`, `microphone-filled`, `microwave-filled`, `soup-filled`

Fixed icons: `bowl-filled`

* Release 3.0.0-alpha.1

* react native package fix

* separate icons to `filled` and `outline` directories (#1002)

* separate icons to solid

* icons separate

* move icons

* init svg icons

* init svg icons

* separate icons

* separate icons

* optimize icons

* optimize icons

* random icons generate

* generate icons preview

* preview icons

* build

* optimize fix

* icons separate

* icons preview

* optimize icons

* 81 new icons: `filled/assembly`, `filled/asset`, `filled/baby-carriage`, `filled/barbell`, `filled/barrier-block`, `filled/bed-flat`, `filled/bone`, `filled/boom`, `filled/bow`, `filled/bowl-chopsticks`, `filled/bowl-spoon`, `filled/brand-spotify`, `filled/bread`, `filled/briefcase-2`, `filled/brightness-auto`, `filled/brightness`, `filled/building-broadcast-tower`, `filled/hexagon-letter-a`, `filled/hexagon-letter-b`, `filled/hexagon-letter-c`, `filled/hexagon-letter-d`, `filled/hexagon-letter-e`, `filled/hexagon-letter-f`, `filled/hexagon-letter-g`, `filled/hexagon-letter-h`, `filled/hexagon-letter-i`, `filled/hexagon-letter-j`, `filled/hexagon-letter-k`, `filled/hexagon-letter-l`, `filled/hexagon-letter-m`, `filled/hexagon-letter-n`, `filled/hexagon-letter-o`, `filled/hexagon-letter-p`, `filled/hexagon-letter-q`, `filled/hexagon-letter-r`, `filled/hexagon-letter-s`, `filled/hexagon-letter-t`, `filled/hexagon-letter-u`, `filled/hexagon-letter-v`, `filled/hexagon-letter-w`, `filled/hexagon-letter-x`, `filled/hexagon-letter-y`, `filled/hexagon-letter-z`, `filled/hexagon-minus`, `filled/hexagon-plus`, `filled/home`, `filled/ironing`, `filled/jetpack`, `filled/key`, `filled/layout-2`, `filled/layout-cards`, `filled/layout-dashboard`, `filled/layout-distribute-horizontal`, `filled/layout-distribute-vertical`, `filled/layout-grid`, `filled/layout-kanban`, `filled/layout-list`, `filled/layout-sidebar-right`, `filled/layout-sidebar`, `filled/layout`, `filled/lego`, `filled/lock`, `filled/lungs`, `filled/macro`, `filled/magnet`, `filled/man`, `filled/manual-gearbox`, `filled/woman`, `filled/xbox-a`, `filled/xbox-b`, `filled/xbox-x`, `filled/xbox-y`, `filled/zeppelin`, `filled/zoom-cancel`, `filled/zoom-code`, `filled/zoom-exclamation`, `filled/zoom-money`, `filled/zoom-out-area`, `filled/zoom-pan`, `filled/zoom-question`, `filled/zoom-scan`

Fixed icons: `filled/archive`, `filled/basket`, `outline/layout-dashboard`, `outline/zoom-pan`

* Fixed icon: `filled/biohazard`

* 4 new icons: `outline/border-bottom-plus`, `outline/border-left-plus`, `outline/border-right-plus`, `outline/border-top-plus`

* debug off

* build `@tabler/icons` package

* build `@tabler/icons` package

* build `@tabler/icons-eps` , `@tabler/icons-pdf`, `@tabler/icons-png`  package

* build `@tabler/icons-react` , `@tabler/icons-preact`, `@tabler/icons-svelte`, `@tabler/icons-vue`, `@tabler/icons-solidjs`  package

* build fixes

* remove unused files

* iconfont build

* build fixes

* update icons unicode

* update icons

* build fixes

* changelog update

* build fixes

* icons images

* Release 3.0.0-beta

* build fix

* icons version fixes

* Fix kerning icon typo for v3 (#1010)

Co-authored-by: Bartłomiej Gawęda <bgaweda@abis.krakow.pl>

* Remove box-seam icon (package duplicate) (#1008)

Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>

* Fix ski jumping icon typo for v3 (#1007)

Change added to aliases.json.

Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>

* dependencies update

* validate icons

* pnpm init

* validate icons

* validate icons

---------

Co-authored-by: Bartłomiej Gawęda <bgaweda@abis.krakow.pl>
Co-authored-by: BG-Software-BG <73077398+BG-Software-BG@users.noreply.github.com>
2024-02-27 00:16:23 +00:00
codecalm 4a7e650995 rendom icons generator 2023-11-18 14:43:10 +01:00
Matthew Durajka ae5010311f
fix: iconfont.scss added css charset utf-8 (#843)
* fix: iconfont.scss added css charset utf-8

* fix: iconfont.scss added css charset utf-8

* fix: iconfont.scss moved charset utf-8 to the very beginning of the file

According to w3 (https://www.w3.org/International/questions/qa-css-charset), the @charset declaration doesn't get the same treatment as CSS rules. It has to be an exact byte sequence, starting from the very first byte in the stylesheet.
2023-09-28 18:38:25 +00:00
codecalm 22d70b2db0 update icons tags 2023-09-27 22:18:52 +02:00
codecalm 09b4b24892 update tags 2023-09-27 22:07:27 +02:00
codecalm e6d47eb498 update iconscategories 2023-09-05 14:25:51 +02:00
codecalm 5c3cb2e02e update icons categories 2023-09-05 14:20:32 +02:00
Koute a8b3eb11f0
Use `fs.readFileSync` + `JSON.parse` to read compile options (#702) 2023-08-06 14:16:02 +02:00
codecalm 904e288868 import tags 2023-04-10 11:37:13 +02:00
codecalm aa425ac8ff 18 new icons: `brand-itch`, `brand-kick`, `brand-letterboxd`, `camper`, `decimal`, `file-text-ai`, `http-connect`, `http-delete`, `http-get`, `http-head`, `http-options`, `http-path`, `http-post`, `http-put`, `http-trace`, `mail-ai`, `photo-ai`, `xd`
Fixed icons: `caravan`, `fountain-off`, `fountain`, `network-off`
2023-04-04 21:21:35 +02:00