Граф коммитов

34 Коммитов

Автор SHA1 Сообщение Дата
Ben Grynhaus 68f3581e9e
Package upgrades, Prettier alignment (#38)
- Package upgrades (non-breaking)
- Align repo to Prettier 1.15.3
  - [includes] Revert decorators to their previous position in components, before the change in 1.14.
2018-12-01 21:25:27 +02:00
Ben Grynhaus 13ff801cc7
Allow specifying arbitrary event handlers to any ReactWrapperComponent (#39)
Using the [`geteventlisteners`](https://www.npmjs.com/package/geteventlisteners) package to allow capturing arbitrary event handlers specified as `@Output`s on any React-wrapper component. e.g.:
```html
<fab-icon iconName="Add" (onClick)="handleIconClick($event)" (onMouseOver)="handleIconMouseOver($event)"></fab-icon>
```
```typescript
handleIconClick(ev: MouseEvent) {
  console.log('icon clicked!', ev);  
}

handleIconMouseOver(ev: MouseEvent) {
  console.log('icon moused-over!', ev);  
}
```

Although extending global prototypes (i.e. not-yours) is bad practice, this is what Angular uses to capture events, and this seemed like the only way to get any arbitrary output from the element.
The other option is to handle each specific event, which is a rather long list, and requires further maintenance, when the DOM, React or the component library adds events to listen to.
This is similar in the idea as us passing any arbitrary attribute to the underlying React component.
2018-12-01 20:47:31 +02:00
Ben Grynhaus c0f51c1229 [Core] Added stylenames package (bundleded dependency) 2018-10-19 22:17:13 +03:00
Ben Grynhaus 6a8dae502b [Core] Added classnames package (bundleded dependency) 2018-10-19 22:17:13 +03:00
Ben Grynhaus 8319aff818 Upgrade office-ui-fabric-react to 6.73.0 2018-09-26 13:29:47 +03:00
Ben Feely 04b0e620d8 Update to license/copyright on each lib file. Lint fixes. 2018-08-16 12:17:03 -07:00
Ben Feely 3bcc903e10 Update to fix after github move. 2018-08-10 15:17:01 -07:00
Ben Grynhaus b2c2f96247 added scripts to public angular61 version 2018-08-02 11:17:54 +03:00
Ben Grynhaus 3fde3c11c1 Upgrade all dependencies- Angular 6.1- TypeScript 2.9.2- office-ui-fabric-react 6.43.0
# Conflicts:
#	apps/demo/src/app/app.component.ts
#	libs/core/package-lock.json
#	libs/core/package.json
#	libs/fabric/package.json
#	libs/fabric/public-api.ts
#	libs/fabric/src/lib/components/command-bar/command-bar.component.ts
#	package-lock.json
#	package.json
2018-08-02 11:16:43 +03:00
Ben Grynhaus 31b580c8b7 Change to external dependency on @types/css-to-style 2018-07-19 10:48:11 +03:00
Ben Grynhaus 1b4c032c76 move css-to-style to root package.json 2018-07-19 10:45:41 +03:00
Ben Grynhaus 9f2da7d3bc - Align dependencies (core & fabric & semantic-ui)
- Bump versions (core & fabric)
2018-07-13 13:52:50 +03:00
Ben Grynhaus 4755c30b37 lock react fabric pacakge to latest version supported by TS 2.7 2018-07-04 00:49:41 +03:00
Ben Grynhaus e20635a6ff remove adduser from publish scripts 2018-07-02 22:41:17 +03:00
Ben Grynhaus 228ada88b3 Added "next" tag publish scripts 2018-07-02 22:21:42 +03:00
Ben Grynhaus 90a68246de Upgrade safe dependencies 2018-06-28 16:40:46 +03:00
Ben Feely 03ca76479c Updated versions. 2018-04-18 15:39:19 -07:00
Ben Feely 7974304256 Fix bug in built packages. 2018-04-18 15:23:50 -07:00
Ben Feely 57535d9599 Update to docs to support demo app beside docs app. 2018-04-18 10:57:25 -07:00
Ben Feely 3b7ae99083
Users/benfeely/docs update (#8)
* Update to docs for github hosting.

* Updates to docs and readme.
2018-04-17 19:07:21 -07:00
Ben Feely 16509fd9fa Update to fix package deployments. 2018-04-16 23:08:57 -07:00
Ben Feely 841f6d4e89 Working on lib packages for npm. 2018-04-16 16:27:52 -07:00
Ben Feely 1598bfd4b1
Users/benfeely/docs perf (#4)
* Fix bug in import.

* Add some margin below triangle.

* Updates to triangles to support user controlled size.

* Updates to the rendering style, showing content.

* Extra fix.

* Done updating performance profiles.

* Add dot-count to the triangles.

* Toggle profile images zoomed and not.

* Improve the layout a bit for fabric component docs.

* Fix format for output under buttons.

* Switching from Material to Semantic UI for demo.
There is already an Angular version for Material, so not much point of enabling Material React components in Angular.

* Add basic support for Semantic UI button.
2018-04-16 10:31:25 -07:00
Ben Feely f367e5d52f Bug fix for github DOCS page. 2018-04-10 16:39:26 -07:00
Ben Feely 39661823d0 Working on bug in DOCS github site. 2018-04-10 16:35:24 -07:00
Ben Feely 3bbd1546a3
Users/benfeely/material (#2)
* Update NX and add support for Angular Material.

* Added support for Angular Material and implemented simple nav.
Patterned after Angular-Material website.

* Update npm dependency.

* Fix bug when switching between perf pages.

* Rename Demo app to Docs

* Initial after adding demo app.

* Update demo app.

* Build docs for github hosting.
2018-04-10 16:29:10 -07:00
Ben Feely 5d73df0173 Working on lib for fabric. 2018-04-04 04:31:13 -07:00
Ben Feely a52d15bc75 Updates to NPM package. 2018-04-04 04:05:42 -07:00
Ben Feely c5760650b3 Updating npm publish. 2018-04-04 03:06:30 -07:00
Ben Feely 0f02835ada Prepping package for npm deploy. 2018-04-04 02:02:01 -07:00
Ben Feely e8646ea355 Add build support for lib. 2018-04-03 22:19:42 -07:00
Ben Feely f7fde6e2e3 Removed Fabric dependency from core lib. 2018-04-03 22:12:47 -07:00
Ben Feely 5695dbac90 Change over to core lib. 2018-04-03 21:18:44 -07:00
Angular CLI c6b3f11282 chore: initial commit from @angular/cli
_                      _                 ____ _     ___
   / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
  / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
 / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
/_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
               |___/
2018-04-03 20:24:44 -07:00