Commit graph

54 commits

Author SHA1 Message Date
Lorenzo Iovino
2d228edde5
Fix readme.md lint (#99) 2024-01-30 15:52:12 +01:00
Lorenzo Iovino
7c20b83d33
Fix .gitignore and build demo project (#98)
* Update package-lock.json

* Add gitignore editor folders

* Fix demo build missing dependency
2024-01-30 15:22:06 +01:00
Lorenzo Iovino
26b739726f Ref changed folder structure and lib 2024-01-10 01:34:41 +01:00
Lorenzo Iovino
f2a8edb15f
Update to angular 17 (#97)
* Added tags

* Update to angular 14

* Update to angular 15

* Update typescript to ^4.9.3

* Update to angular 16

* Ref added strict null checking for parentElement

* Update typescript to ^5.2

* Update zone.js to ^0.14.1

* Update typescript to 5.2.2

* Update to angular 17

* Fix fixed dependencies

* Fix test suite
2024-01-10 00:33:32 +01:00
Lorenzo Iovino
c0beb97251 Release 1.3.2 2024-01-09 15:21:34 +01:00
Lorenzo Iovino
3ab02f78f3 Fix repository url changed 2024-01-09 15:20:35 +01:00
Lorenzo Iovino
9f89679820 Release 1.3.1 2024-01-09 09:02:17 +01:00
Petr Čečil
b2aa37eeb6 updated to Angular 13 2022-07-07 11:01:27 +01:00
Giacomo Ferlaino
0cd17ab15b ref: Created a dedicated method to determine if the element has overflow or not 2020-03-18 02:00:36 +01:00
Giacomo Ferlaino
0de40db2b6 ref: Decomposed checkOverflow method
Added hasXAxisOverflow method.
Added hasYAxisOverflow method.
2020-03-18 01:25:09 +01:00
Giacomo Ferlaino
e90507b6b6 feat: Added isVisible method tests 2020-03-13 22:27:30 +01:00
Giacomo Ferlaino
ce51adb1fa feat: Added isDone method test 2020-03-13 22:21:35 +01:00
Giacomo Ferlaino
2e73f1c9ee feat: Added getStartFontSizeFromWeight method tests 2020-03-13 22:10:33 +01:00
Giacomo Ferlaino
e0c4c6dd99 feat: Added checkOverflow method tests 2020-03-13 21:53:48 +01:00
Giacomo Ferlaino
afa67c729b feat: Added calculateFontSize method test 2020-03-13 21:26:45 +01:00
Giacomo Ferlaino
b3aab20ac2 feat: Added getFontSize method test 2020-03-13 21:26:11 +01:00
Giacomo Ferlaino
e54f881e55 feat: Added setFontSize method unit tests 2020-03-13 00:52:56 +01:00
Lorenzo Iovino
59cddd4f47
Update package.json 2020-03-12 21:59:56 +01:00
lorenzo
18e16fe2e8 Ref: changed file and folder organization 2020-03-12 21:43:21 +01:00
Giacomo Ferlaino
1c902e2d90 ref: Formatted code using Prettier rules 2020-03-12 00:00:35 +01:00
Giacomo Ferlaino
1badcaf080 feat: Added Prettier code formatter to standardize code formatting 2020-03-11 23:51:35 +01:00
lorenzo
37047b241d Update version 1.2.10 2020-02-12 15:27:47 +01:00
lorenzo
13eda2606c Fix: publish script in package.json 2020-02-12 15:26:32 +01:00
lorenzo
a1846c335a Feat: removed custom packaging script in favour of ng-packger; Feat: update with angular9 dependencies 2020-02-12 11:40:50 +01:00
Ljupco Petkovski
9e3e3458f5
Output new font size when it changes 2019-10-21 13:03:54 +02:00
David Stellini
68a6a1b4ec
Fix AOT issue
This library breaks when running the production build on Angular 8 using AOT, as per https://github.com/DesertFoxNV/ngx-autosize-input/blob/master/projects/ngx-autosize-input/src/lib/auto-size-input.directive.ts
This is the error: `Ng2FittextDirective, Expected 0 arguments, but got 1.`
This MR fixes this issue.
2019-10-10 16:19:47 +03:00
Lorenzo Iovino
423ee0c237 Fix: added deprecated useMaxFontSize to prevent broken builds 2019-05-06 12:48:31 +02:00
Lorenzo Iovino
ca1576015d Ref: clean code
Ref: update examples
2019-05-06 10:21:16 +02:00
Lorenzo Iovino
43d4cf66f4 Ref: maxFontSize instead useMaxFontSize 2019-05-03 17:07:42 +02:00
Lorenzo Iovino
a4fc14af06 Fix: Issues #14,#15,#19,#20. Ref: Deleted angular-librarian and added scripts in package.json to manage publishing; Version upgrade 2019-02-05 01:42:22 +01:00
Lorenzo Iovino
e625f9fd30 Added angular-librarian for manage library 2017-11-14 11:07:08 +01:00
Thierry Nischelwitzer
f10725757b refactor and bugfix if box is invisible to begin 2017-08-24 08:01:28 +02:00
Thierry Nischelwitzer
1eaf665692 Avoid rendering if box is not visible and avoid rerendering if not needed 2017-08-24 07:04:09 +02:00
Lorenzo Iovino
14a7091b53 Fixed ngAfterwViewChecked, now compute size with height instead width 2017-08-11 14:15:31 +02:00
Lorenzo Iovino
fc5e5e800f up 2017-08-11 12:19:31 +02:00
Lorenzo Iovino
1c87abbf2a Added resize on contentViewChanged hook 2017-08-11 12:17:03 +02:00
senty
f76196a816 minimal font size 2017-08-02 17:28:50 +02:00
senty
ebdcc0c7d6 model to watch can be "any" 2017-08-02 16:26:08 +02:00
senty
abba46a909 model to watch - when model change -> trigger change of test size 2017-08-02 16:17:28 +02:00
Lorenzo Iovino
ff9b79d956 Can't stop to commit fixes, need to sleep. Last fix and last version for today. 2017-06-19 11:54:44 +02:00
Lorenzo Iovino
5173c610e6 Missing condition for do work it in case of resize and not overflow 2017-06-19 11:49:51 +02:00
Lorenzo Iovino
85d3b3af89 Now max font size works also if container is resized 2017-06-19 11:42:53 +02:00
Lorenzo Iovino
129cb1251c Removed console.log, added possibility of choose if fit a specified container (old way) or the element parent 2017-06-19 11:24:41 +02:00
Thierry Nischelwitzer
d15bc1326e add maxfontsize
Add possibility to set maxfontsize from the element. if set to true, the
maxfontsize automaticaly set to the original font size of the element
2017-06-19 06:57:53 +02:00
Thierry Nischelwitzer
0d7652c618 remove container dependency
instead of container use direct parent element that we can use this
directive in variable template combination
2017-06-19 06:41:40 +02:00
Lorenzo Iovino
0edd7f854a quick fix resize height 2017-05-22 12:40:22 +02:00
Lorenzo Iovino
c308b800df up 2017-05-22 12:31:08 +02:00
Lorenzo Iovino
b366d366c8 up 2017-05-22 12:30:39 +02:00
Lorenzo Iovino
191ea5102d quick fix activateOnInputevent 2017-05-22 12:29:03 +02:00
Lorenzo Iovino
c76d6dbb1a Added rxjs in packege.json; Added activateOnInputEvents proprierty for listen the events in input element and resize when it occurs 2017-05-19 13:17:30 +02:00