2
0
mirror of https://github.com/iconify/iconify.git synced 2024-10-23 09:02:03 +00:00
Commit Graph

33 Commits

Author SHA1 Message Date
Vjacheslav Trushkin
a210a25367 chore: change observer to noobserver attr in iconify-icon, fix behavior 2024-04-15 11:13:57 +03:00
Vjacheslav Trushkin
ce7ed322c6 chore: intergrate intersection observer in iconify-icon 2024-02-04 09:39:57 +02:00
Vjacheslav Trushkin
3463f87533 chore: fix exports in iconify-icon 2024-01-21 10:36:23 +02:00
Vjacheslav Trushkin
5609290538 chore: keep innerHTML in web component, export functions for building icon 2024-01-21 10:00:10 +02:00
Vjacheslav Trushkin
617f394b30 chore: rename badly named iconExists to iconLoaded 2023-07-04 19:45:04 +03:00
Vjacheslav Trushkin
39868cf79c feat: support require-trusted-types-for policy 2023-06-22 11:50:27 +03:00
Vjacheslav Trushkin
2fc81ae9d8 fix(iconify-icon): correctly handle unset width/height in svg mode 2023-02-21 09:04:06 +02:00
Vjacheslav Trushkin
0d5431deac fix: allow iconify-icon work correctly without dimensions 2023-02-20 20:01:34 +02:00
Vjacheslav Trushkin
50ea946d67 chore: prettier 2023-02-08 08:56:25 +02:00
jdevinemt
965ea9e055
fix: remove attributes instead of setting them to null
This pull request relates to issue #201, which was has been closed. I ran into the same issue I had with the 'inline' attribute in that issue with other attributes like 'height', 'width', etc. I double checked the Iconify docs to ensure none of these affected attributes have a valid use case for a null value.
2023-02-07 15:13:53 -07:00
Vjacheslav Trushkin
85fc90c08c chore: prettier 2023-02-07 23:21:54 +02:00
jdevinemt
34702c534a
'inline' attribute null value fix
Applies to #201
2023-02-07 14:18:48 -07:00
Vjacheslav Trushkin
e7987a9384 feat(iconify-icon): function to append custom style to all nodes 2023-01-27 23:38:02 +02:00
Vjacheslav Trushkin
b88f667778 fix: open shadow root in web component 2022-10-08 13:39:41 +03:00
Vjacheslav Trushkin
e82c905ec8 fix: better way to detect previously rendered child node in web component 2022-10-08 13:38:53 +03:00
Vjacheslav Trushkin
5da86ab56c Update dependencies and fix tests in web component 2022-09-07 21:25:59 +03:00
Vjacheslav Trushkin
39ceab4869 Do not use Object.hasOwn in web component to support older Safari 2022-08-14 19:13:48 +03:00
Vjacheslav Trushkin
a5c9edb4da Store partial icon data in storage to reduce memory usage 2022-07-02 10:53:06 +03:00
Vjacheslav Trushkin
8eca9c6741 Change iconToSVG attributes from full to partial icon and customisations 2022-07-01 22:12:18 +03:00
Vjacheslav Trushkin
0e0b6b66ef Complete restructure of browser storage 2022-06-28 22:37:23 +03:00
Vjacheslav Trushkin
7980cce929 More browser storage restructuring 2022-06-28 22:11:15 +03:00
Vjacheslav Trushkin
c892879e90 Update web component 2022-06-19 17:47:45 +03:00
Vjacheslav Trushkin
465b76e05f Default to svg mode in Safari because of blurred icons bug 2022-05-28 22:19:18 +03:00
Vjacheslav Trushkin
a64b9a78ff Remove shareStorage function - no longer needed because web component reuses same class even if bundled multiple times 2022-05-21 22:55:01 +03:00
Vjacheslav Trushkin
390fac8759 Remove replaceIDs from web component 2022-05-21 22:44:42 +03:00
Vjacheslav Trushkin
49f4f67e44 Undo viewBox addition to web component: causes mess when used with transformations 2022-05-20 22:47:05 +03:00
Vjacheslav Trushkin
63322d9e0a Minor changes to web component code 2022-05-20 21:13:30 +03:00
Vjacheslav Trushkin
95ff16aee9 Add viewBox and preserveAspectRatio properties to web component 2022-05-20 19:40:17 +03:00
Vjacheslav Trushkin
397abdfff3 Wrapper for web component for SolidJS, few fixes for web component 2022-05-16 22:54:05 +03:00
Vjacheslav Trushkin
7fe80a2a4c Do not use optional catch binding in web component 2022-05-16 20:12:59 +03:00
Vjacheslav Trushkin
08974d4aa8 Web component: do not attempt to load icon without prefix from API 2022-05-14 13:04:07 +03:00
Vjacheslav Trushkin
6911d07b55 Web component: fix build script, allow simple icon names 2022-05-14 08:35:53 +03:00
Vjacheslav Trushkin
7e2c345d7b Restructure monorepo 2022-05-12 22:39:56 +03:00