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

98 Коммитов

Автор SHA1 Сообщение Дата
Gal Vanunu 9b645ce824 Add ProgressIndicator support in fabric 2019-09-10 11:31:13 +03:00
Kristin Deal b8ee05fcc3 add people picker (#132) 2019-08-04 14:59:42 +03:00
Shai Rose 7d51e9d491 upgrade (angular): Upgrade to angular 8 - cli and core.
devx: Change default ng-serve port.
docs: Update 'getting started'.
2019-06-20 11:32:05 +03:00
Zvi Avidor fd12de3490 complete 2019-05-14 22:24:38 +03:00
Ben Grynhaus bd7eaaa720
Revert "Allow wrapping any React component with an Angular one on-the-fly" (#111)
Reverts Microsoft/angular-react#106

Issues with AOT builds including this, reverting until resolved.
2019-03-30 17:18:21 +03:00
Ben Grynhaus b756043226 Allow wrapping any React component with an Angular one on-the-fly. (#106) 2019-03-30 16:59:25 +03:00
Ben Grynhaus 4bb71a8395
Allow modifying props in custom render function. (#99)
Note that this is only a partial replacement for Fabric's pattern,
since we still want to abstract away JSX from consumers,
and Angular doesn't have first-class support for creating templates in TypeScript.
2019-03-25 17:42:19 +02:00
Ben Grynhaus fe79f0fe76
Fix MessageBar always passing actions, even when non were supplied (#109)
* change MessageBar actions to only be passed when they are actually supplied to the wrapper component

* repro of message bar styling issue
2019-03-25 17:34:15 +02:00
R.C. Shaw a93575c7a1 Add directive support for fab-dropdown (#104)
-Add directives to support i18n for fab-dropdown
-Add demo of new directive-supported fab-dropdown to app.component
-Minor cleanup of directives for fab-combo-box
2019-03-20 23:14:19 +02:00
Ben Grynhaus 96753d2990
fix all docs tests and run tests in CI (#100)
- Fix the `docs` project's tests and align their components with more modern standards in the repo.
- Run tests in CI
2019-03-17 17:40:54 +02:00
R.C. Shaw 8ccbaa5e3e Update combobox and calendar with directives (#95)
Add directives for the ComboBox and Calendar to enable the Angular-style template localization pattern.

Change wrapper to fix some timing bugs
2019-03-06 21:23:51 +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 7cd90dde40
[Fabric] Add Dropdown component (#63)
* [fabric] add dropdown component
2018-12-24 17:57:28 +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
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 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
Jerry Wang 8b181cd17e Refactored ChangeableItem(s)Directive to use a helper, Updated CommandBarItem and ContextualMenuItem to use new pattern, Changed component property organization, Ran Prettier on touched files 2018-11-14 14:08:35 -08:00
Jerry Wang 0eff80cf96 Added DetailsList, GroupItem, and MarqueeSelection components; Created changeable-item/changeable-items directives 2018-11-13 09:21:36 -08:00
Ben Grynhaus e08298eb5e
[Fabric] Add Calendar component (#35) 2018-11-01 13:01:04 +02:00
Ben Grynhaus 902ae07b78 Demo app changes 2018-08-20 00:04:05 +03:00
Ben Grynhaus f59cd34f21 Merge branch 'master' into bugfix/inner-react-render-props-not-render
# Conflicts:
#	libs/fabric/package.json
#	libs/fabric/src/lib/components/command-bar/command-bar.component.ts
2018-08-13 20:07:53 +03:00
Ben Grynhaus 29982832a9 Fix React-wrapper components inside render props not being re-renderered 2018-08-13 13:22:40 +03:00
Ben Feely 3bcc903e10 Update to fix after github move. 2018-08-10 15:17:01 -07:00
Ben Grynhaus a61460d5fb Prettier alignment 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 8416429817 Merge branch 'next' into declarative-pattern# Conflicts:# libs/core/src/renderer/renderprop-helpers.ts 2018-07-22 14:28:02 +03:00
Ben Grynhaus d27499b291 Typo fix 2018-07-19 13:52:39 +03:00
Ben Grynhaus d0ea893f75 Demonstrate custom component inside command bar 2018-07-19 13:52:26 +03:00
Ben Grynhaus 5089e77356 remove unused imports 2018-07-17 17:18:17 +03:00
Ben Grynhaus 35f54fdb87 CommandBar - declarative syntax. WIP 3 2018-07-17 17:08:14 +03:00
Ben Grynhaus 48b94bc594 CommandBar - declarative syntax. WIP 2 2018-07-16 17:03:32 +03:00
Ben Grynhaus 65dd906d61 CommandBar - declarative syntax. WIP 1 2018-07-16 15:56:24 +03:00
Ben Grynhaus 38bcda2379 Fixed some issues with fabric command bar 2018-07-13 13:30:06 +03:00
Ben Grynhaus 4c3eb39de8 Allow CommandBar items (and far items) to specify how they should be renderered 2018-07-08 15:37:44 +03:00
Ben Grynhaus 2896b7349d SearchBox component 2018-07-06 21:05:21 +03:00
Ben Grynhaus 6f22c5b3cc WIP: TagPicker 2018-07-06 20:15:55 +03:00
Ben Grynhaus cdad08d420 Added slider component 2018-07-06 17:46:00 +03:00
Ben Grynhaus 8779fe002a Added Shimmer component 2018-07-06 16:10:09 +03:00
Ben Grynhaus c34dff9716 Added TooltipHost component 2018-07-06 14:52:05 +03:00
Ben Grynhaus 81ba4f1829 Changed ReactContent experimental render to be opt-in & Modal component uses it 2018-07-05 17:57:35 +03:00
Ben Grynhaus 24dd77321c Modal component 2018-07-05 17:12:33 +03:00
Ben Grynhaus e2643520ef HoverCard + move all components 2018-07-05 11:53:03 +03:00
Ben Grynhaus 0d8e2f2820 Added message bar component 2018-07-04 18:48:07 +03:00
Ben Grynhaus 80a3339d43 - Allow Disguise component to render without destructuring child components
- Better API for Disguise components that won't interfere with others.
- Full API for Link
2018-07-04 18:43:30 +03:00
Ben Grynhaus 30a4e4ea72 temp link wip
# Conflicts:
#	apps/demo/src/app/app.module.ts
#	libs/fabric/public-api.ts
2018-07-04 17:53:27 +03:00
Ben Grynhaus 234399810e Further improve Disguise component API and implementation
# Conflicts:
#	apps/demo/src/app/app.component.ts
2018-07-04 17:52:57 +03:00
Ben Grynhaus e0dd203ce2 wip on pivot:temp 2018-07-04 17:52:33 +03:00
Ben Grynhaus 90d19b4664 wip on pivot
# Conflicts:
#	apps/demo/src/app/app.component.html
#	apps/demo/src/app/app.module.ts
2018-07-04 17:52:28 +03:00