28 Commits

Author SHA1 Message Date
8756b3da16 refactor: HMR and webpack improvements (#7462)
* chore: update project

* refactor: clear module-name cache on orientation

* feat: add custom component in qualifiers app

* feat: enable HMR for custom components

* refactor: remove redundant check

* chore: clean console.log
2019-07-08 11:11:14 +03:00
9fcc1ddf94 feat(bundle): support for file qualifiers + builder refactor (#7386)
* feat(bundle): support for file qualifiers in builder

* chore: add qualifiers test app

* chore: add @Deprecated for file-name-resolver

* fix(hmr): hmr not working for scss files

* chore: globals clean-up

* shore: fix tslint

* tests: uncomment test fixed by ns-dev-webpack

* chore: move qualifiers app to e2e

* chore: update webpack config

* chore: tslint errors

* test: fix wrong css import
2019-06-26 18:40:18 +03:00
4f39fb728b chore: update tslint rules (#7391) 2019-06-26 15:13:48 +03:00
b20e771552 chore: remove deprecated apis for ns 6.0 (#7382) 2019-06-25 16:52:01 +03:00
ecd9fc3e9d feat: bundle workflow support (#7337) 2019-06-20 15:58:36 +03:00
b7abb3dd64 fix: throw if failed to load component (#7186) 2019-05-01 14:16:18 +03:00
672c821d14 feat: add rebeccapurple to known css colors (#6819) 2019-01-23 16:08:09 +02:00
03cfc0cee3 chore(tslint): update tslint rules and fix errors (#5747)
* chore(tslint): fix tslint config & errors
* chore(tslint): enable double quotes, whitespace, and arrow-return-shorthand rules and fix errors
2018-04-26 18:36:32 +03:00
ac04ede97e Implemented showModal on View 2017-12-15 13:08:15 +02:00
7b5ef052fd Tests moved into separate folders (#3794)
Fix android crash on application exit
2017-03-15 12:26:54 +02:00
629eb6e683 Use relative imports in tns-core-modules.
Use tns-core-modules/* imports in outside code (apps, tests, etc)
2017-03-13 14:37:59 +02:00
b45cbe929b No more ambient modules for tns-core-modules/* subpackages.
- Use path mappings in tsconfig.json to resolve module typings
- Only use ambient mobules for global API's
- Move single-file modules to a subdir with the same name so that
we can provide a hand-written typing next to it (via package.json)
- Delete all mentions of tns-core-modules.d.ts
- Delete reference d.ts assembly build steps. Not needed anymore.
- HACK! Use a <reference> for global typings in application.d.ts
to avoid publishing a separate @types/tns-core-modules package.
- Rename declarations.d.ts to tns-core-modules.d.ts to preserve
JS project mappings in references.d.ts (the only place we use those)
2017-03-07 17:59:02 +02:00
06970d058a Mass replace fontAttributes with fontWeight and fontStyle 2017-02-23 17:09:19 +02:00
f3afaf5abe fixed tslint errors 2017-02-20 09:45:10 +02:00
a582adc561 Hhristov/fix (#3653)
* Fix action-bar systemIcon
Fix CSS applying

* refactoring

* fix console

* remove StyleScope import - it is private and cannot be imported in public .d.ts
2017-02-17 17:21:57 +02:00
e267828c08 Require ui/label instead of tns_modules/tns-core-modules/ui/label in tests 2017-01-23 10:16:14 +02:00
cc337094e9 Fix text & fromattedText failing tests 2017-01-12 14:12:41 +02:00
9479a9918f Fixed tslint errors. 2017-01-11 15:35:05 +02:00
b4575e1d5b Fixed xml-declaration tests. 2017-01-11 14:36:08 +02:00
d10ca1da03 Fix the last several errors 2016-12-20 13:36:10 +02:00
6feeb140e3 Fixing type errors in tests 2016-12-19 10:36:25 +02:00
5db5dfd867 Properly extend Error instead of implementing it, update the Error message and stack to appear in the console and error activity 2016-12-01 10:50:46 +02:00
7cad85faf8 Added import attribute to page module. (#3009) 2016-11-07 11:37:47 +02:00
1f84274182 Refactored image loading from camera. 2016-10-03 17:23:18 +03:00
2656f18926 Merge pull request #2474 from NativeScript/nnikolov/TextPropertyMustBeString
Mark text property as special and set it with a string comming from b…
2016-07-20 09:53:59 +03:00
a481fa9808 Mark text property as special and set it with a string comming from builder. 2016-07-19 14:37:44 +03:00
c1aeeb51a7 Inital by-type split
Split type.class from CssTypeSelector to CssCompositeSelector, probably support type#id.class selectors

Apply review comments, refactor css-selectors internally

Applied refactoring, all tests pass, button does not notify changes

Add tests for the css selectors parser.

Added tests for css-selectors

Added basic implementation of mayMatch and changeMap for css match state

Implemented TKUnit.assertDeepEqual to check key and key/values in Map and Set

Watch for property and pseudoClass changes

Add one child group test

Add typings for animations

Added mechanism to enable/disable listeners for pseudo classes

Count listeners instead of checking handlers, reverse subscription and unsubscription
2016-07-18 17:24:09 +03:00
e135c20b14 Rename the files 2016-05-26 14:30:25 +03:00