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

481 Коммитов

Автор SHA1 Сообщение Дата
Ben Grynhaus a4eb9c1046
Merge branch 'master' into master 2019-01-27 10:39:35 +02:00
Ben Grynhaus 6a3b75bf16
add stale-bot configuration (#82)
Add [Stale bot](https://github.com/probot/stale).
2019-01-26 20:39:53 +02:00
Ben Grynhaus 83f6b3a39f
Merge pull request #81 from Microsoft/core/template-ref_update-issue
[Core] Workaround for TemplateRef update issues
2019-01-26 20:32:45 +02:00
Ben Grynhaus 9210187960 always get the leading and trailing values, to ensure that we stay up-to-date.
See https://github.com/Microsoft/angular-react/issues/79#issuecomment-457853778 for more details
2019-01-26 20:27:31 +02:00
Ben Grynhaus 4b91627529 fix template context assumed to always exist 2019-01-26 20:26:48 +02:00
Lion Huang 4cf5b22201 SCSS files should not be excluded 2019-01-25 16:28:08 -08:00
Lion Huang 8c0e24c903 Take benefits from tree-shaking support in Fabric 2019-01-25 11:41:32 -08:00
Ben Grynhaus 24606fe617
0.5.9 (#77)
* bump version

* update changelog

* change circleci ssh key
2019-01-22 11:27:36 +02:00
Ben Grynhaus 823c1d1972
add rxjs as core package peerDependency (#76)
Already used, just wasn't specified
2019-01-21 19:46:42 +02:00
Ben Grynhaus 1bf0d3a818
fix dataset not being passed to office-ui-fabric-react in contextual menu items declared in template (directives) (#75) 2019-01-21 19:44:01 +02:00
Ben Grynhaus ffe3e74890
fix docs no compiling (#74) 2019-01-21 19:42:39 +02:00
Nathan Walker 468b97d02b chore(package): updated dependencies (#73)
* Just updated packages to latest 👍
2019-01-16 22:20:35 +02:00
Ben Grynhaus 42556f700f
Add CircleCI build badge 2019-01-16 22:19:10 +02:00
Ben Grynhaus 42ab2a63fa remove extraneous key [ignore] from circleci config 2019-01-16 22:17:24 +02:00
Ben Grynhaus 140f6c3d4e
Fix low security vulnerability in webpack-dev-server (#70) 2019-01-06 11:10:41 +02:00
Darío Hereñú 92a15ac449 Fix typo on paragraph #26 (#69) 2019-01-03 18:39:31 +02:00
Ben Grynhaus 69636a40e1
0.5.8 (#68)
* bump core and fabric versions

* update changelog
2018-12-30 14:48:01 +02:00
Ben Grynhaus 7e660e9df9
add missing placeholder input in text field (#67) 2018-12-30 14:43:17 +02:00
Ben Grynhaus 1c42f215c1
0.5.7 (#66)
* bump core and fabric versions

* changelog update
2018-12-30 12:52:22 +02:00
Ben Grynhaus 5bdbf6421a
[Fabric] add missing TextField props (#65) 2018-12-27 19:13:47 +02:00
Ben Grynhaus 727612c33d
0.5.6 (#64) 2018-12-24 19:58:26 +02:00
Ben Grynhaus 7cd90dde40
[Fabric] Add Dropdown component (#63)
* [fabric] add dropdown component
2018-12-24 17:57:28 +02:00
Ben Grynhaus 5a99d70685
add two missing module mappings (#62) 2018-12-19 17:06:53 +02:00
Ben Grynhaus 0bf7d9ab37
Add declarative syntax to menu items in fab-*-buttons (#61)
* allow contextual menu item directive to have a custom render, or a custom icon render
the custom icon render doesn't work due to an office-ui-fabric-react bug

* remove unnecessary casting to `any`

* allow `fab-*-button`s to render menu items in a declarative syntax, similar to how command bar items allow it
2018-12-19 17:02:05 +02:00
Ben Grynhaus b307c6fa34
0.5.5 (#60) 2018-12-16 17:55:52 +02:00
Ben Grynhaus 35dbbbe69a
[Fabric] Add SpinButton component (#59) 2018-12-14 18:47:10 +02:00
Ben Grynhaus d18320e3ab
[Fabric] Add TextField and MaskedTextField components (#58) 2018-12-14 18:41:13 +02:00
Ben Grynhaus 7528f0eae6
0.5.4 (#57) 2018-12-11 19:34:03 +02:00
Ben Grynhaus 7f691d7972
Fix geteventlisteners being loaded twice (#56)
* Prevent stack overflow for geteventlisteners hook

* Fix geteventlisteners import to work with HMR as well
2018-12-11 19:29:12 +02:00
Ben Grynhaus 55a35d207c
0.5.3 (#55)
* 0.5.3 version bump

* Changelog update
2018-12-09 15:27:35 +02:00
Ben Grynhaus deefeb52d8
Move geteventlisteners to be imported from renderer (#54)
AOT tree-shook imports in the module
2018-12-09 15:12:55 +02:00
Ben Grynhaus 4eb59f57c3 0.5.2 (#53)
* Add changelog

* Bump version of core + fabric to 0.5.2
2018-12-06 17:51:37 +02:00
Ben Grynhaus 5c80d797a5
Moved geteventlisteners to be part of the core package (#52) 2018-12-06 17:47:40 +02:00
Ben Grynhaus fd18a8b613
0.5.1 (#51) 2018-12-06 17:22:42 +02:00
xjerwa 79c63899c7 Moved geteventlisteners module to local and revised JS to use es5 syntax (#48)
* Updated to v0.5.1, Moved geteventlisteners module to local and revised JS to use es5 syntax, Minor typing fixes

* Updated changelog

* Remove changelog change

* Update @types/react

* Better type

* revert version bumps for core + fabric
2018-12-06 17:18:30 +02:00
Ben Grynhaus 4681b45f9b Fix plain card not included in module, causing compile issues in apps 2018-12-04 11:26:03 +02:00
Ben Grynhaus 1b4f942725
Bump version of core + fabric to 0.5.0 (#47)
* Bump version of core + fabric to 0.5.0

* Add changelog
2018-12-04 11:22:18 +02:00
Ben Grynhaus 57f7b0f52c Fix up package-lock.json 2018-12-04 11:06:26 +02:00
Ben Grynhaus 87e70de0ce
Upgrade react and react-dom to latest versions (#46) 2018-12-04 10:39:39 +02:00
xjerwa bc393707bd Upgrade to Angular 7.0, Fabric 6.110.0; Fix build errors (#45)
* Upgrade react and react-dom to latest versions

* Updated Angular to v7.0, Updated office-ui-fabric-react to v6.110.0

* Fixed missing imports and reference errors

* Un-generic-ed EventListener (was causing errors since default EventListener is not generic)

* Removed noops on HoverCard and Tooltip component scss since they were moved to global styles in Fabric

* Upgrade office-ui-fabric-react to 6.110.0 + Add PlainCard and ExpandingCard components

* Renamed EventListener to IEventListener, Renamed some *.d.ts files to *.ts due to build issues

* Updated component property bindings to match new Fabric version

* Rename EventListener array and map to `I`-prefied versions to avoid confusion
2018-12-04 10:34:15 +02:00
Ben Grynhaus 5408b238c2 Upgrade css-to-style (patch) 2018-12-03 21:08:19 +02:00
Ben Grynhaus 7f36a6b47e
Remove all index barrel files (#44) 2018-12-03 21:06:31 +02:00
Ben Grynhaus 80a50e6994
Fix bad imports in DetailsList module (and related), causing issues when trying to use them in apps (#43) 2018-12-03 20:31:09 +02:00
Ben Grynhaus 411ef8730e
Fix `<command-bar-item>` not recognizing some inputs (#42)
More details: https://github.com/angular/angular/issues/25249
2018-12-03 20:27:23 +02:00
Ben Grynhaus 3fb68a658c
0.4.10 (#41)
* Add missing changelog for 0.4.9

* Bump version number for core + fabric

* Add changelog for 0.4.10
2018-12-01 21:35:49 +02:00
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
xjerwa 000fa4284f
Merge pull request #37 from Microsoft/pr/37
[Fabric] Add DetailsList, GroupItem, and MarqueeSelection components (#37)
2018-11-19 09:36:32 -08:00
Jerry Wang 047c0232f4 Added JDocs for changeable-helper classes, Renamed functions for clarity 2018-11-16 08:43:40 -08:00
Jerry Wang 107c37cd62 Removed unnecessary comment 2018-11-14 14:16:07 -08:00