Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit d73c97a

Browse files
nshahankevmoo
authored andcommitted
Remove all files and export new package (#80)
* Deprecate angular2_components library. * Update README to alert users to the change.
1 parent 9156537 commit d73c97a

File tree

280 files changed

+20
-27152
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

280 files changed

+20
-27152
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 0.5.0-beta
2+
3+
__Rename library to `angular_components`.__
4+
5+
This package now exports `angular_components`. See the new
6+
[Pub Package](https://pub.dartlang.org/packages/angular_components) for future
7+
updates.
8+
19
## 0.4.1-beta
210

311
* Updated dependencies on `pkg/quiver` and `pkg/intl`.

README.md

Lines changed: 5 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,6 @@
1-
## Preview Release
1+
> NOTE: This package has been renamed to `angular_components` (without the "2").
2+
> To continue to receive the latest versions update your `pubspec.yaml` to
3+
> depend on `angular_components: ^0.5.0-beta`.
24
3-
These are the AngularDart components that Google uses to build many of its web
4-
applications.
5-
6-
These components are a productive and stable set of widgets, contributed to by
7-
hundreds of Googlers. Being able to debug your apps across all layers in Dart,
8-
supporting tree shaking for minimal code size, and strict latency policies make
9-
them an excellent fit for AngularDart projects.
10-
11-
Only a small fragment of all the components is available right now. We want
12-
developers to have an opportunity to play around with the package as soon as
13-
possible.
14-
15-
*`<glyph>`
16-
*`<material-button>`
17-
*`<material-fab>`
18-
*`<material-checkbox>`
19-
*`<material-chip>`
20-
*`<material-expansionpanel>`
21-
*`<material-progress>`
22-
*`<material-radio>`
23-
*`<material-ripple>`
24-
*`<material-spinner>`
25-
*`<material-tab>`
26-
*`<material-toggle>`
27-
*`<material-yes-no-buttons>`
28-
*`<reorder-list>`
29-
*`<acx-scorecard>`
30-
*`<material-input>`
31-
*`<material-dialog>`
32-
*`<material-popup>`
33-
*`<material-tooltip>`
34-
*`<material-list>`
35-
*`<material-select>`
36-
*`<material-tree>`
37-
*`<material-auto-suggest-input>`
38-
*`<material-date-range-picker>`
39-
*`<material-menu>`
40-
* many more, including a fast table
41-
42-
At this time we are not taking pull requests but please file an issue and we
43-
will work with you.
44-
45-
**Officially Supported Browsers:** The last two versions of Chrome, Edge,
46-
Firefox, and Safari.
47-
48-
## Useful links
49-
50-
* **[Example gallery](https://dart-lang.github.io/angular2_components_example/)**
51-
* [AngularDart pub package](https://pub.dartlang.org/packages/angular2)
52-
* [AngularDart documentation](https://angulardart.org/)
53-
* [Material Design site](https://material.google.com/)
54-
* [Code Lab: AngularDart Components](https://webdev.dartlang.org/codelabs/angular2_components)
55-
56-
## Custom Component Styles
57-
58-
Get access to the core Material Design SASS files used to style these components
59-
by copying them and importing
60-
[lib/src/css/_mixins.scss](https://github.com/dart-lang/angular_components/blob/master/lib/src/css/_mixins.scss)
61-
in your SASS files.
62-
63-
64-
> NOTE: These .scss files are not used during the build step but we are planning
65-
> to add this support. See
66-
> [issue #45](https://github.com/dart-lang/angular_components/issues/45).
5+
See the new [Pub Package](https://pub.dartlang.org/packages/angular_components)
6+
for future updates.

lib/angular2_components.dart

Lines changed: 3 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -2,69 +2,8 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
@Deprecated(
6+
'Update your dependency to use `angular_components` (without the "2") instead.')
57
library angular2_components;
68

7-
import 'package:angular2/angular2.dart' show Provider;
8-
import 'src/all_components.dart';
9-
export 'src/all_components.dart';
10-
11-
/// A convenience list of all Directives exposed by this package.
12-
const List<Type> materialDirectives = const [
13-
AutoDismissDirective,
14-
AutoFocusDirective,
15-
CachingDeferredContentDirective,
16-
ClickableTooltipTargetDirective,
17-
DarkThemeDirective,
18-
DeferredContentDirective,
19-
DisplayNameRendererDirective,
20-
FixedMaterialTabStripComponent,
21-
FocusActivableItemDirective,
22-
FocusItemDirective,
23-
FocusListDirective,
24-
FocusableDirective,
25-
FocusTrapComponent,
26-
GlyphComponent,
27-
MaterialButtonComponent,
28-
MaterialCheckboxComponent,
29-
MaterialChipComponent,
30-
MaterialChipsComponent,
31-
MaterialDialogComponent,
32-
MaterialDropdownSelectComponent,
33-
MaterialExpansionPanel,
34-
MaterialExpansionPanelSet,
35-
MaterialFabComponent,
36-
MaterialIconTooltipComponent,
37-
MaterialInkTooltipComponent,
38-
MaterialInputComponent,
39-
MaterialInputDefaultValueAccessor,
40-
MaterialListComponent,
41-
MaterialListItemComponent,
42-
MaterialMultilineInputComponent,
43-
MaterialPaperTooltipComponent,
44-
MaterialPopupComponent,
45-
MaterialProgressComponent,
46-
MaterialRadioComponent,
47-
MaterialRadioGroupComponent,
48-
MaterialRippleComponent,
49-
MaterialSelectComponent,
50-
MaterialSelectItemComponent,
51-
MaterialSpinnerComponent,
52-
MaterialTabComponent,
53-
MaterialTabPanelComponent,
54-
MaterialToggleComponent,
55-
MaterialTooltipDirective,
56-
MaterialTooltipSourceDirective,
57-
MaterialTooltipTargetDirective,
58-
MaterialYesNoButtonsComponent,
59-
ModalComponent,
60-
NgModel,
61-
PopupSourceDirective,
62-
ReorderItemDirective,
63-
ReorderListComponent,
64-
ScorecardComponent,
65-
];
66-
67-
/// A convenience list of all providers exposed by this package.
68-
const List<List<Provider>> materialProviders = const <List<Provider>>[
69-
popupBindings,
70-
];
9+
export 'package:angular_components/angular_components.dart';

lib/src/all_components.dart

Lines changed: 0 additions & 87 deletions
This file was deleted.

lib/src/components/annotations/rtl_annotation.dart

Lines changed: 0 additions & 23 deletions
This file was deleted.

lib/src/components/auto_dismiss/auto_dismiss.dart

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)