1450 Commits

Author SHA1 Message Date
b2fd5561f2 chore: shadow wip 2022-03-02 20:06:51 -08:00
c1e431a0f7 chore: box-shadow with non-uniform corner-radius wip 2022-03-01 13:23:27 -08:00
b38337e597 fix: tear down views after a modal is closed (#9801) 2022-03-01 12:32:39 -08:00
7dcfecffab fix: memory leaks around image picking/saving to device 2022-03-01 12:32:39 -08:00
a8f2c4d14b chore: cleanup automated app tests (#9779) 2022-03-01 12:32:39 -08:00
6437352fed feat(switch): :checked pseudo and color fixes (#9790) 2022-03-01 12:32:39 -08:00
988f372788 perf(ios): UIImage memory leaks (#9783) 2022-03-01 12:32:39 -08:00
66d8afffc1 feat(android): tab view icon rendering mode (#9605)
Co-authored-by: wSedlacek <wsedlacekc@gmail.com>
2022-03-01 12:32:39 -08:00
608bb1ed24 fix(core): animation iteration correct for android css animations and iOS rotation (#9628)
closes #7712

Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
2022-03-01 12:32:39 -08:00
6c06c77618 fix(core): Application handling of nativeApp instance 2022-03-01 12:32:39 -08:00
d1dc7883f8 chore: 8.2.0-alpha.3 2022-03-01 12:32:39 -08:00
d7916d77a1 feat: touch animations demo in toolbox 2022-03-01 12:32:39 -08:00
d756eb5574 feat(root-layout): support gradient colors on shade cover (#9626)
Co-authored-by: William Juan <williamjuan027@gmail.com>
2022-03-01 12:32:39 -08:00
388d7eaa7d feat(core): support RGB alpha notation (#9699)
Functional notation: rgb[a](R G B[ / A])
CSS Colors Level 4 adds support for space-separated values in the functional notation.
See https://www.w3.org/TR/css-color-4/#rgb-functions

Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
2022-03-01 12:32:39 -08:00
90ceed15d3 feat: new expression parser for xml bindings (#9729) 2022-03-01 12:32:39 -08:00
774d0533da chore: update workspace dependencies 2022-03-01 12:32:38 -08:00
9c6c84b107 chore: nx migrate latest (#9709) 2021-12-21 18:24:24 -08:00
a88cacab89 chore(migrate): apps/* to webpack5 (#9606) 2021-12-21 09:47:33 -08:00
002ecc379f chore: grammar and typos in .md files (#9632) 2021-11-02 12:28:27 -07:00
6374c47013 chore: update runtime versions in demo apps (#9599)
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2021-10-06 17:49:30 +02:00
8e76bbe251 fix(android): StringIndexOutOfBoundsException with invalid drawables (#9563)
* fix(android/application): org.nativescript.widgets.Utils::getDrawable

* chore: fix spacing

* fix(android/application): do not load empty path

Co-authored-by: Igor Randjelovic <rigor789@gmail.com>

* test: Add tests for empty image sources

* chore: add a few more test cases

These make the app crash without the fix in place

Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
2021-09-25 09:54:34 +02:00
ee701db137 chore(release): @nativescript/core@8.1.3 2021-09-18 13:38:24 -07:00
2a4563716a fix(styling): change transform parameters parsing (#9481)
Fixed the incorrectly applied short form of "transform: translate" style property.

closes #5202
2021-09-08 16:07:39 -07:00
76499a5367 feat(android): vector drawable support (#9464) 2021-09-08 16:07:39 -07:00
b2f792324d feat(image-source): add saveToFileAsync, toBase64StringAsync & resizeAsync (#9404) 2021-09-08 16:07:39 -07:00
3aff057b99 revert: fix(android): nested dialog/fragment handling (#9495)
This reverts commit 4c547bb00c554d35408c7d0c44ef46e237819132.
2021-09-08 16:07:39 -07:00
71677f70b1 chore: apps webpack config 2021-09-08 16:07:39 -07:00
0ae39097bd chore: fix tests for ios 2021-09-08 16:07:39 -07:00
e17e46974b feat(android): fragment transactions to use 'add' instead of 'replace' on fwd navigation (#8791)
Changes the behavior of android fragment transactions to use `add` instead of `replace` on forward navigation.

BREAKING CHANGE:

Changes the internal behavior of Android navigation:

* while navigating forward, the page navigated from is not unloaded anymore
* events order is changed in the sense that now `unloaded` happens after `navigatedFrom` instead of before

There are multiple plus sides to this:

* no more black views on navigation when using opengl (maps, ...)
* navigation is faster, especially the navigation back! No longer need to recreate the page anymore. Navigation forward also gets faster as we no longer unload the previous page
* navigatedFrom event happens faster
* this the default behavior used by most of the android native apps
2021-09-08 16:07:39 -07:00
aa9c9f3897 chore: cleanup 2021-09-08 16:07:38 -07:00
59d9271bce feat(webpack): improved svelte HMR (#9497)
* update svelte config to use svelte-loader

* handle null config

* fix: worker support in .svelte files & update snapshots

* fix after merge

Co-authored-by: halfnelson <dpershouse@gmail.com>
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2021-08-11 11:42:53 +02:00
7960f8361f chore: use correct copy-webpack-plugin syntax 2021-08-10 13:20:46 -07:00
90deb5b1ee test: fix apps/automated 2021-08-04 20:20:19 +02:00
4c547bb00c fix(android): nested dialog/fragment handling (#9495) 2021-08-03 21:57:19 -07:00
1b29d05099 chore: Nx 12 + fix ui app + TS 4.1 updates (#9359) 2021-04-26 19:11:19 -07:00
4494b2fb7c chore: npm 7 handling improvements 2021-04-24 11:17:38 -07:00
17a7019085 chore: npm 7 compat 2021-04-12 09:54:30 -07:00
75b59ecdbf chore(release): @nativescript/core@8.0.0 2021-04-06 11:18:36 -07:00
a66587dd90 chore: cleanup test 2021-04-06 11:18:36 -07:00
14360881e6 chore: fix automated tests 2021-04-06 11:18:36 -07:00
ede1685ae2 chore: cleanup types 2021-04-06 11:18:36 -07:00
b4415683d8 fix(apps): fix rootlayout page class name (#9279) 2021-04-06 11:18:36 -07:00
f00144e872 feat(view): "hidden" property binding is now supported 2021-04-06 11:18:36 -07:00
14e88f6e9d chore: requestLayout after applying 2021-04-06 11:18:36 -07:00
7c60735d14 chore: cleanup background handling 2021-04-06 11:18:36 -07:00
21da31562c chore: Enums > CoreTypes
Cleanup type symbol usage by consolidating to manage in one spot. This makes them easier to use as well by providing a single rollup of all the common type symbol's used throughout core.
2021-04-06 11:18:36 -07:00
e62acba792 fix: move BottomNavigation and Tabs to @nativescript-community
Cocoapods no longer required with @nativescript/core out of the box and users are no longer taxed with MaterialTabs even if they didn't use those components.

BREAKING CHANGES

If using `BottomNavigation`, just install `@nativescript-community/ui-material-bottom-navigation` and update your imports to use it. API is exactly the same.

If using `Tabs`, just install `@nativescript-community/ui-material-tabs` and update your imports to use it. API is exactly the same.
2021-04-06 11:18:36 -07:00
9a7d3ecb34 feat: implement BoxShadowDrawable 2021-04-06 11:18:36 -07:00
a822f2affb chore: a11y polish (#9259) 2021-04-06 11:18:36 -07:00
aaeab990c8 fix(color): support web standard #rrggbbaa format
original pr credit to @farfromrefug
https://github.com/NativeScript/NativeScript/pull/8519

BREAKING CHANGE

Long standing inconsistency with color handling here.

BEFORE:

```
// #aarrggbb

const color = new Color('#ff00ff00');

Label {
    background-color: #ff00ff00;
}
```

AFTER:

```
// #rrggbbaa

const color = new Color('#00ff00ff');

Label {
    background-color: #00ff00ff;
}
```
2021-04-06 11:18:36 -07:00