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

Releases: angulardart/angular_components

v0.9.0-alpha+10: Add Material Slider Component

10 Apr 23:31
Compare
Choose a tag to compare
  • Remove some visibility.all from @Component annotations. This is
    potentially BREAKING.
  • App Layout: Add support for 0 or 2 drawers.
  • Material Date Range Picker: Improved support for high browser zoom.
  • Material Input:
    • Allow values to be selectable when disabled on all browsers. This is
      potentially BREAKING.
    • Pass aria attributes through to the inner input element. Includes material
      auto suggest.
  • Material Select: Add aria states/properties to indicate selected/checked in
    item.
  • Material FAB Menu:
    • Update close bar style.
    • Change menu width to 280px if menu has icons.
    • Fix transitions.
    • Simplify material-fab-menu animation & allow it to scroll on small screens.
  • Material Menu:
    • Allow mixins to customize popup contents by specifying additional CSS
      classes added to the popup content.
  • Material Popup: Enforce space constraints on content.
  • Protect against a null pointer exception in laminate popup.
  • Add SingleSelectionModel interface with selectedValue() method.
  • Add onDisabledChanged() to all ControlValueAccessor implementations.
  • Make ShowHideDirective constants private. This is potentially BREAKING.

v0.9.0-alpha+9

30 Mar 00:43
Compare
Choose a tag to compare
  • Remove visibility.all from @component annotations. This is potentially
    BREAKING.
  • Button Decorator: Allow role to be customized.
  • Material Button: Remove override of min-width for yes-no-buttons as it is
    now the right value in material-button.
  • Material Date Picker: Improved keyboard handling.
  • Material Date Time Picker: Update so that it sets time to default value if
    date is picked but time is not picked.
  • Material Menu:
    • Match the color of the group header label to item.
    • Add mixin to show the same font for group label.
  • Material Expansion Panel: Add mixin for additional padding.
  • Material Input: Add an aria-label that can override the label.
  • Material Select:
    • Add proper aria attributes to make material-dropdown-select screen reader
      accessible.
    • Add mixin to set disabled color.
  • Material Time Picker: Fix one hour difference after daylight saving.
  • Selection Model:
    • Add empty, single, and multi constructors.
    • Add ignoreDeselect option to SelectionModel.single and deprecate
      RadioGroupSingleSelectionModel.
  • Add a parameter to fail loudly when TimeZoneAwareClock is used before it's
    initialized, to prevent incorrect return values from being ignored.
  • Migrate from ElementRef to Element or HtmlElement.
  • Fix Dart2 runtime cast failures.
  • Update documentation.

v0.9.0-alpha+8: Add Material Datepicker Components

20 Mar 18:13
Compare
Choose a tag to compare
  • Add ShowHideDirective and GlobalEscapeDirective.
  • Material Button: Update highlight styling.
  • Material Chips: Allow overriding left-icon-color.
  • Material ExpansionPanel:
    • Allow icon to be hidden and allow additional buttons in the header.
    • Increase mixin specificity.
  • Material Input:
    • Add mixin for hiding underline.
    • Add mixins for trailing text color and padding.
  • Material Menu:
    • Implement Focusable.
    • Add a flag to MenuItemGroup to explicitly specify a separator.
  • Material Popup: Simplify positioning algorithm.
  • Material Select:
    • Add mixin to allow for error text margin.
    • Refactor constructEncapsulatedCss to utils.
  • Material Tab: Make text-wrap mixin more generic.
  • Material Tree: Add a shouldExpandAllWhenFiltered input.
  • Material Toggle: Fix aria-pressed state.
  • Material Tooltip:
    • Allow paper tooltip CSS to be customizable.
    • Allow 'error_outline' as a valid icon.
    • Prevent paper tooltips from overflowing on small screens.
  • Scorecard: Add stacking context.
  • Delete deprecated LazyEventEmitter.
  • Migrate uses of ElementRef to Element or HtmlElement.
  • Cleanup type warnings and other Dart 2 fixes.
  • Update documentation.

v0.9.0-alpha+7

08 Mar 21:55
Compare
Choose a tag to compare
  • Material Button: Add compact mode.
  • Material Expansionpanel: Add option show/hide the cancel button.
  • Material Select:
    • Add option to dropdown to disable deselecting on trigger.
    • Allow content to be projected as list header and list footer in dropdown.
    • Implement Focusable in DropdownButtonComponent.
    • Fixed an alignment issue with the icon on dropdowns.
  • Material Menu:
    • Trigger selected event when an item from sub-menu is selected.
    • Change mouse pointer on catagory to make it clear that it is clickable.
  • Material Tooltip: Change tooltipSource directive to use style.cursor.
  • Allow '[' for start of word of highlight match.
  • Use @VisibleForTesting annotations.
  • Prepare for change of async behavior in Dart 2.
  • Make LazyEventEmitter no longer lazy and makes it easy to see why it should
    not be used and a StreamController can be a simple drop in replacement.
  • Update documentation.

Update all components and bump dep to angular: 5.0.0-alpha+6

27 Feb 18:55
Compare
Choose a tag to compare
  • App Layout: Add mixin for permanent/persistent drawers and fix mixin for
    temporary drawers.
  • Material Auto Suggest Input: Add aria label to close button.
  • Material Button: Update min-width to new spec.
  • Material Checkbox: Remove negative top margin.
  • Material Dialog: Add support for <h1> element in title.
  • Material Icon: Flip half_star icon when in RTL.
  • Material Input:
    • Show character count when maxCount is null.
    • Add attribute to set aria-label when a visible label is not desired.
  • Material Menu:
    • Allow expanding on group title clicks.
    • Add a style variation to menu group to allow emphasizing the first group.
  • Material Popup: Disable constrain-to-viewport in dropdowns via a new,
    separate @Input.
  • Material Ripple: Update animation to match new spec.
  • Material Select: Add a FactoryRenderer input.
  • Material Tree:
    • Adds an option to select parent nodes in a single selection model tree.
    • Bugfix for auto selection all siblings due to an error being thrown which
      stops event.stopPropagation from firing.
  • Remove position: -webkit-sticky support.
  • Update type of materialProviders so it can be used when bootstrapping.
  • Migrate from host to @HostListener and @HostBinding.
  • Create a new API for caching item renderers.
  • Cleanup type warnings and other Dart 2 fixes.

Updates and widen dependencies on observable and quiver

13 Feb 18:08
Compare
Choose a tag to compare
  • Material Menu: Add a feature to menu item group to make it expandable.
  • Material Radio: Protect against the group being destroyed before the
    tabIndex gets reset.
  • Material Tooltip: Update line height to 20px per ACUX spec.
  • Widen dependencies on observable and quiver.
  • Turn overlayRepositionLoop on by default.
  • Only add touch listeners if the primary input is touch.
  • Cleanup type warnings and other Dart 2 fixes.

Drop Pub Transformers

07 Feb 23:42
Compare
Choose a tag to compare

As of angular: 5.0.0-alpha+5 the pub transformer has been removed in favor of
code generation through package build. To build your project with
build_runner:

  1. Add two dev dependencies to your pubspec.yaml file:
dev_dependencies:
  build_runner: ^0.7.8
  build_web_compilers: ^0.2.1
  1. Run pub get on your package.
  2. Build your package:
pub run build_runner build

Or run a local development server with a file watcher and incremental
rebuilds:

pub run build_runner serve

Updates

  • Material Dialog: Add mixin for bottom border on header.
  • Material Drawer: Add mixin for width.
  • Material Input:
    • Extend the style rules applied on input[type=text] to cover the hover and
      focus states.
    • Add mixin padding.
  • Material Popup:
    • Guard against container = null in PopupHierarchy.onTriggersOutside().
    • Increase the animation speed according to material specs.
  • Material Radio: Migrate away from QueryList.
  • Material Tree:
    • Add an option to material tree group to render a "View more" link for
      hidden options.
    • Migrate away from QueryList.
  • Scorecard: Only update selected state if the scorecard is selectable.
  • Use a reified Provider for defaultPopupPositions.
  • Add IntersectionObserver bindings & onIntersection stream to ScrollHost.
  • Add materialNumberDirectives to MaterialDirectives list.
  • Preparation for Angular changing the default value of
    visibility: Visibility.local.
  • Cleanup type warnings and other Dart 2 fixes.
  • Update documentation.

Support package build_runner

19 Jan 23:18
Compare
Choose a tag to compare
  • Add support for package build_runner.
  • Material Auto-Suggest Input:
    • Wait for the popup to be visible before activating dropdown items.
    • Stop escape keyboard events from propagating after they are handled.
    • Disallow deselection when clicked on a selected item with single selection
    • models.
    • Ensure input text is initialized correctly regardless of input order.
    • Fix auto-scrolling issue on Firefox.
  • Material Checkbox: Make focusable.
  • Material Fab: Update shadow styles.
  • Material Input: Don't override underline color when the input is invalid.
  • Material Menu: Add button content customization.
  • Material Radio: Update disabled color to match spec.
  • Material Select:
    • Wait for the popup to be visible before activating dropdown items.
    • Stop escape keyboard events from propagating after they are handled.
    • Fix MaterialSelectItem displaying two times the label when
      factoryRenderer is used.
    • Fix auto-scrolling issue on Firefox.
  • Material Tab: Add two-way binding on fixed strip activeTabIndex.
  • Material Tree: Autofocus the filter when MaterialTreeDropdown is opened,
    but not when it closes.
  • Better support for the zippy expansion case in selection model.
  • Deprecate getBool, angular supports it now natively.
  • Fix RTE when using item renderers as highlight renderers when there is a
    custom factory renderer.
  • Fix componentRenderer logic.
  • Add option to disable select all in the table selection model.
  • Add a feature detector for position: sticky.
  • Migrate from Glyph to Material Icon.
  • Remove unused table model.
  • Remove the getDynamic method from properties helpers.
  • Remove uses of .runtimeType.
  • Fix uses_bottom_as_dynamic ("fuzzy arrow") errors.
  • Cleanup unneeded preserveWhitespace: false and preserveWhitespace: true.
  • Cleanup type warnings and other Dart 2.0 fixes.
  • Cleanup unused variables.
  • Update documentation.

Update all components and bump dep to angular: 5.0.0-alpha+2

20 Dec 22:50
Compare
Choose a tag to compare
  • Material Auto-Suggest Input: Add ability to give a tooltip for the clear
    icon.
  • Material Expansionpanel: Add mixin for flat on collapse.
  • Material Input:
    • Protected against input being destroyed and blur event still happening.
    • Add mixin for fixed width error text.
  • Material Menu: Add mixin for lowercase button text.
  • Material Toggle: Add mixin to display label on the right.
  • Material Select: Add mixin to change material-select-dropdown-item padding.
  • Allow material-scrollbar mixin to be used in global css (without angular).
  • Add directives for Material Menu to materialDirectives.
  • Remove MaterialButtonBase from materialDirectives.
  • Migrate from Glyph to Material Icon.
  • Provide a path to use Component Factories when using code that was previously
    using the ComponentRenderer pattern.
  • Generic type fixes.
  • Continue migration from SlowComponentLoader to ComponentLoader.
  • Continue migration from LazyStreamController to StreamController.
  • Cleanup Angular static analysis warnings.
  • Rename Visibility.none to Visibility.local.
  • Add optional punctuation around trackBy functions.

Add Material Menu component

28 Nov 23:25
Compare
Choose a tag to compare
  • Update SDK lower bound to 2.0.0-dev.3.0, matching Angular.
  • Material Auto Suggest Input: Replace ngOnChanges(_) with ngAfterChanges.
  • Material Button:
    • Update dense mixin to only apply to non-icon buttons.
    • Add mixins for no hover highlight.
    • Add mixins to set icon button padding.
  • Material Chips: Update margin on dense theme.
  • Material Fab: Update size mixin.
  • Material Input:
    • Use markForChanges on inputs since they are being set by a directive and
      not the template and so change detection doesn't happen automatically.
    • Allow numerical values to be internationalized in number validators.
    • Add option to have a material number input component format its contents on
      blur.
  • Material Select:
    • Add mixin to set select item padding.
    • Add mixin to set selected item color.
    • Allow customization of Material Dropdown Select's role.
    • Add mixin for pointer events on Material Dropdown Select Items.
    • Fix baseline alignment of dropdown-button in Firefox.
  • Material Tree: Improve latency of MaterialTreeFilter.
  • Scoreboard:
    • Fix misalignment on OS X with hl=ja.
    • Selected color input overrides default color value in a selectable
      scoreboard.
  • Avoid reliance on dynamic typing to access properties.
  • Add @input to number validators.
  • Cleanup unneeded preserveWhitespace: false and preserveWhitespace: true
    when components manage spacing around themselves.
  • Add Observable utilities.
  • Update documentation.