Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

Latest commit

 

History

History
1055 lines (697 loc) · 49.3 KB

CHANGELOG.md

File metadata and controls

1055 lines (697 loc) · 49.3 KB

  • dependencies
    • updated to support AngularJS 1.6.10

Features

  • uif-peoplepicker
    • feat(peoplepicker): add single mode to allow only one person to be selected (760476c, #473)

Fixes

  • uif-datepicker
    • fix(datepicker): pickadate library expects day of month value (c4c5bae, #485)

Fixes

  • documentation
    • docs(): fix typos in documentation (75651cc)
  • uif-choicefield
    • fix(choicefield): fix error on dirty setting (467d7b5, #500)

Fixes

Fixes

  • uif-dropdown
    • address rendering of markup in drop down option (1085be1, #487)

Features

  • uif-callout
    • make uif-arrow attribute optional with default value (962f999, #477)
  • uif-searchbox
    • Updated docs in uif-searchbox demo. value attribute is deprecated, ng-model should be used instead. (e1cc7b4, #479)
  • dependencies
    • updated library to Angular 1.6.2 & fixed corresponding unit tests (05609cb, #431)
    • updated multiple dependencies including Office UI Fabric MDL1 (8f87231)

Features

  • uif-label
    • add support ng-required attribute (a266426)
  • uif-textfield
    • add support ng-required attribute (b6518e2)

Fixes

  • uif-peoplepicker
    • do not display button to remove items when picker disabled (d618f74, #461)
  • uif-table
  • dependencies

Features

  • uif-choicefield
  • uif-table
    • add ability to get selected items from table (8f0f1f8)

Fixes

  • uif-callout
    • add support to close callout with close link / button inside callout (8f6c835, #450)
  • dependencies

Features

  • added JavaScript linting to all *.js files not generated by TypeScript (7285a11, #449)

Fixes

  • uif-content
    • added missing demo script file (d927ecb)
  • fixed all demo script code vetting issues after adding JavaScript LINTing (e38a4ee, #449)

Features

  • uif-choicefield
    • added tests to verify uif-type responding to dynamic changes (327a8a1, #358 & #445)
  • uif-icon
    • added tests to verify uif-type responding to dynamic changes (ebc4ac8, #358 & #441)

Fixes

  • uif-list
    • uif-selection-mode & uif-layout not responding to dynamic changes (2350d6f, #358 & #446)
  • uif-list-item
  • uif-textfield
  • dependencies

Fixes

  • uif-panel
    • uif-is-open link is not working correctly (5c5e69c, #373)

Fixes

  • uif-panel

Fixes

  • uif-datepicker
    • added gate to check for null value submitted (5bcf1b0, #372)
  • uif-choicefield

Fixes

  • uif-datepicker
  • dependencies
  • type definitions
    • removed typings dependency in favor of TypeScript 2+ native typing support (4abf631)

Fixes

  • uif-choicefield
    • $dirty not being set on uif-choicefield (cce5c03, #375)
  • uif-table
  • dependencies

Fixes

  • uif-searchbox
    • $dirty not being set on uif-searchbox (d9b6fd3, #378)

Fixes

  • build
    • update gulp test task to fail on test errors (f584e4f)
  • dependencies
  • uif-breadcrumb
    • updated directive for reliable resize testing (7b321af, #417)
  • uif-messagebanner
  • uif-searchbox

Fixes

  • uif-breadcrumb

Fixes

  • uif-textfield
    • $dirty not being set on uif-textfield (25bf59f, #367)
  • uif-toggle

Features

  • uif-dropdown
    • added support for ngModel.$touched for uif-dropdown (bc258b3, #368)

Fixes

  • WallabyJS
    • update wallaby to use definately typed definition (46e9ef0)
  • dependencies

Features

  • WallabyJS
    • added support for Wallaby.js (deb0029)

Fixes

  • uif-navbar, uif-contextmenu
  • dependencies

Features

  • uif-datepicker
    • add custom date format support (e9f9a6e, Closes #385)

Fixes

  • uif-facepile
    • display overflow only if necessary (acf1dd6)
    • update button to include button attribute (772d65b, Closes #390)
  • uif-messagebanner
    • add type attribute to button element (58b6538, Closes #388)
  • uif-peoplepicker
    • update button to include button attribute (6da9687, Closes #391)

Fixes

  • uif-panel
    • close button no longer triggers reload (4de8d81, Closes #366)

Features

Fixes

  • uif-breadcrumb
    • too many elements on small screen initially (4ebaf07, Closes #354)
  • uif-messagebar
    • uif-type binding not working properly (4e6e9bc, Closes #356)
  • uif-panel
    • add support for new panel type introduced in Office UI Fabric 2.4 + animation issues (306b60d, Closes #307)

Features

Fixes

  • build dependencies
  • uif-dropdown
    • initial value not set correctly for integer keys (c987430, Closes #327)
  • uif-datepicker
  • uif-searchbox

Breaking Change

  • uif-breadcrumb

    BREAKING CHANGE: Component does not allow transclusion of the uif-breadcrumb-link elements & Breadcrumb items have to be passed as expression evaluating to an array of elements containing link text and href.

    Change your code from:

    <uif-breadcrumb>
      <uif-breadcrumb-link ng-href="\'http://github1.com\'">GitHub1</uif-breadcrumb-link>
      <uif-breadcrumb-link ng-href="\'http://github2.com\'">GitHub2</uif-breadcrumb-link>
      <uif-breadcrumb-link ng-href="\'http://github3.com\'">GitHub3</uif-breadcrumb-link>
      <uif-breadcrumb-link ng-href="\'http://github4.com\'">GitHub4</uif-breadcrumb-link>
    </uif-breadcrumb>

    To the following. The markup should be:

    <uif-breadcrumb uif-breadcrumb-links="links"></uif-breadcrumb>

    And the controller should use a defined array of breadcrumb items:

    $scope.links = [
      {href: 'http://github1.com', linkText: 'GitHub1'},
      {href: 'http://github2.com', linkText: 'GitHub2'},
      {href: 'http://github3.com', linkText: 'GitHub3'},
      {href: 'http://github4.com', linkText: 'GitHub4'},
      {href: 'http://github5.com', linkText: 'GitHub5'},
      {href: 'http://github6.com', linkText: 'GitHub6'}
    ];

Special Notes for This Release

Two updates involved in this release have significant updates to the repo. First, we updated Typings to v1.x (1e355d7) which had some breaking changes to how Typings referenced type definitions and the folder structure. Second, we changed the package.json to use explicit package version numbers (14e8e64) to avoid any issues.

One option to update your repo is to delete your fork & refork... but if you have existing work & branches that's not a good option. In that case do the following.

Before doing anything, update your dev & master branches:

git checkout dev
git pull --rebase upstream dev
git checkout master
git pull --rebase upstream master

To update your folder for the Typings update...

  1. Update Typings to v1:
npm install -g typings
  1. Delete the old /typings folder (as it will have extra folders you don't need
  2. Recreate the typings folder:
typings install

At this point, if you refreshed from upstream master and dev, running git status should show no changes.

To update NPM with the current modules...

  1. Delete the NPM /node_modules folder
  2. Reinstall the specific NPM package versions:
npm install

Lastly you then want to rebase your branch(es) where you are working off the updated dev branch. For instance, say you had a branch called fix/issue000:

# jump to that branch
git checkout fix/issue000

# rebase off the dev branch
git rebase dev

Fixes

  • dependencies
    • update library dependency on Office UI Fabric 2.6.0 (79cc25c, Closes #341)
  • uif-breadcrumb
  • uif-icon

Features

  • uif-textfield
    • add support for input additional types (3cf3ec8, Closes #323)

Fixes

  • dependencies
    • update karma version dependencies (8e04ed6)
    • update library dependency on Office UI Fabric 2.5.0 (2fe77c1, Closes #331)
  • uif-messagebanner
  • uif-pivot
    • fixed Pivot demo to display contextual menu in ellipsis (414ba41)

Fixes

  • uif-textfield

Features

Fixes

  • dependencies
    • updated various build / dev dependencies
  • uif-peoplepicker
    • issue when person not removed in demo (18636c6, Closes #317)
  • uif-button
    • ng-disabled not watched correctly (aff3fd3, Closes #319)

Features

  • uif-peoplepicker
  • uif-table
  • uif-toggle
    • add ng checkbox attributes support (bccfb64, Closes #289)

Fixes

  • dependencies
    • update library dependencies & verify working with Office UI Fabric 2.4.1 (c643a25)
  • uif-contextualmenu
  • uif-commandbar, uif-contextualmenu, uif-navbar & uif-panel
    • change 'let' keyword in all demos (8af391f, Closes #313)

Fixes

  • uif-button
    • disabled not watched and handled (59a2b87)
  • uif-textfield

Fixes

  • uif-datepicker
  • uif-dropdown
  • uif-textfield
    • update demo multiline & type='password' test (c3d4327, Closes #300, #301)

Breaking Changes

  • uif-table

    • changed rendering to use table markup (d7822c8, Closes #294)

    BREAKING CHANGE: although the table won't break it's recommended to add the uif-table-head and uif-table-body directives to the table for accessibility and rendering purposes.

    Change your code from:

    <uif-table>
        <uif-table-row>
            <uif-table-row-select></uif-table-row-select>
            <uif-table-header>File name</uif-table-header>
            <uif-table-header>Location</uif-table-header>
            <uif-table-header>Modified</uif-table-header>
            <uif-table-header>Type</uif-table-header>
        </uif-table-row>
        <uif-table-row ng-repeat="f in files" uif-selected="{{f.isSelected}}">
            <uif-table-row-select></uif-table-row-select>
            <uif-table-cell>{{f.fileName}}</uif-table-cell>
            <uif-table-cell>{{f.location}}</uif-table-cell>
            <uif-table-cell>{{f.modified | date}}</uif-table-cell>
            <uif-table-cell>{{f.type}}</uif-table-cell>
        </uif-table-row>
    </uif-table>

    to:

    <uif-table>
        <uif-table-head>
            <uif-table-row>
                <uif-table-row-select></uif-table-row-select>
                <uif-table-header>File name</uif-table-header>
                <uif-table-header>Location</uif-table-header>
                <uif-table-header>Modified</uif-table-header>
                <uif-table-header>Type</uif-table-header>
            </uif-table-row>
        </uif-table-head>
        <uif-table-body>
            <uif-table-row ng-repeat="f in files" uif-selected="{{f.isSelected}}">
                <uif-table-row-select></uif-table-row-select>
                <uif-table-cell>{{f.fileName}}</uif-table-cell>
                <uif-table-cell>{{f.location}}</uif-table-cell>
                <uif-table-cell>{{f.modified | date}}</uif-table-cell>
                <uif-table-cell>{{f.type}}</uif-table-cell>
            </uif-table-row>
        </uif-table-body>
    </uif-table>

Features

  • uif-textfield

Fixes

  • dependencies
    • update library dependencies & verify working with Angular 1.5.5 & Office UI Fabric 2.3.0 (09bf108, Closes #287)
  • uif-textfield
    • disabled attribute missing (1e30042)
  • uif-toggle
    • disabled attribute missing (86675be)

Features

Fixes

  • uif-icon
    • fixed typo with newValue parameter (588f7ba)
  • uif-textfield
    • disabled not watched (b811381)
    • fixed placeholder to hide when textfield gets focus (c9a08d5)

Fixes

  • uif-choicefield

Fixes

  • uif-datepicker
    • lable should be removed if empty (316d588, Closes #272)
  • uif-dropdown
  • uif-nav-bar
    • cursor default for disabled item (a8fac31, Closes #249)

Features

  • uif-choicefield
    • implement customizeable choicefield group title (a5c473b, Closes #244)

Fixes

  • dependencies
    • update library dependencies & verify working with Angular 1.5.3 & Office UI Fabric 2.2.0 (4d2b5c6, closes #255)
    • update build dependencies (4d2b5c6, closes #266)
  • uif-breadcrumb
    • updated to match refactored fabric control (7abeb65, closes #260)
  • uif-choicefield
    • click outside dropdown closes dropdown (a8c83ea, closes #254)

Fixes

  • uif-choicefield
  • uif-dropdown
  • uif-textfield
    • cannot set required or disabled (678471a, closes #240)

Features

  • uif-persona
  • uif-persona-card
  • uif-org-chart

Fixes

  • uif-callout
    • close button type set to "button" (1fb923a, closes #221)

Features

Fixes

  • uif-textfield
    • can't type when ng-model set (0e8e1de, closes #217)
    • hide label when using placeholder (0adaef3, closes #218)

Breaking Changes

  • uif-link

Breaking Changes

  • uif-contextual-menu

    • update to match other directives (e4ca786, closes #201)

    BREAKING CHANGE: Where using rich content in a uif-commandmenu (like when displaying text), use the uif-content directive:

    Change your code from this:

    <uif-contextual-menu uif-is-open="isOpen" uif-close-on-click="false">
      <uif-contextual-menu-item uif-text="'Delete'"></uif-contextual-menu-item>
      <uif-contextual-menu-item uif-text="'Flag'"></uif-contextual-menu-item>
    </uif-contextual-menu>

    To this:

    <uif-contextual-menu uif-is-open="isOpen" uif-close-on-click="false">
      <uif-contextual-menu-item>
        <uif-content>
          <uif-icon uif-type="flag"></uif-icon> Flag
        </uif-content>
      </uif-contextual-menu-item>
    </uif-contextual-menu>

    BREAKING CHANGE: Use the native ng-click for click events instead of the custom attribute.

    Change your code from this

    <uif-contextual-menu-item uif-type="subMenu" uif-click="logClick('Tools clicked!')">

    To this:

    <uif-contextual-menu-item uif-type="subMenu" ng-click="logClick('Tools clicked!')">

    BREAKING CHANGE: Use the native disabled instead of the custom uif-is-disabled.

    Change your code from this:

    <uif-contextual-menu-item uif-is-disabled="true"></uif-contextual-menu-item>

    To this:

    <uif-contextual-menu-item disabled="true"></uif-contextual-menu-item>
  • uif-navbar

    BREAKING CHANGE: Where using rich content in a uif-navbar (like when displaying text), replace the uif-nav-item-content with uif-content

    Change your code from this:

    <uif-nav-bar-item>
      <uif-nav-item-content>
        <uif-icon uif-type="arrowRight"></uif-icon><b>Item in bold with icons</b>
        <uif-icon uif-type="arrowLeft"></uif-icon>
      </uif-nav-item-content>
    </uif-nav-bar-item>

    To this:

    <uif-nav-bar-item>
      <uif-content>
        <uif-icon uif-type="arrowRight"></uif-icon><b>Item in bold with icons</b>
        <uif-icon uif-type="arrowLeft"></uif-icon>
      </uif-content>
    </uif-nav-bar-item>

Features


Fixes

  • uif-link

Features

Fixes

  • uif-callout
  • uif-contextual-menu
  • uif-textfield
    • fixed placeholder and overlap issue (4726a677, closes #152)
  • uif-toggle
  • uif-searchbox
  • uif-spinner

Breaking Changes

  • uif-dropdown

    BREAKING CHANGE: uif-option renamed to uif-dropdown-option

    Change your code from this:

    <uif-dropdown ng-model="dropdownValue">
      <uif-option value="value1">Value 1</uif-option>
    </uif-dropdown>

    To this:

    <uif-dropdown ng-model="dropdownValue">
      <uif-dropdown-option value="value1">Value 1</uif-dropdown-option>
    </uif-dropdown>

<a name="0.3.0"

Features

  • uif-callout
  • uif-contextual-menu
    • add attribute validation & error logging to console (9d2a30e, closes #99)
  • uif-table
    • add support to select multiple rows (567e620, closes #61)
    • add attribute validation & error logging to console (d101e10, closes #101)
  • uif-spinner
    • add attribute validation & error logging to console (9ce8adc, closes #100)

Breaking Changes

  • uif-spinner

    • updated attribute name uif-spinnersize to uif-size (9ce8adc, closes #102)

    BREAKING CHANGE: uif-spinner's uif-spinnersize attribute changed to uif-size.

    Change your code from this:

    <uif-spinner uif-spinnersize="large"></uif-spinner>

    To this:

    <uif-spinner uif-size="large"></uif-spinner>

<a name="0.2.0"

Features

  • build
    • added auto watcher for easier dev (284dbe3, closes #49)
  • uif-choicefield
  • uif-icon
    • added validation to specified icon (54bcf6a9, closes #88)
  • uif-link
  • uif-overlay
  • uif-progress-indicator

Bug Fixes

  • chore
    • fixed angular duped dependency & tsd script (0ef5b42, closes #82, #83)
  • uif-dropdown
    • fixed issue to support jqlite (7c4dabe, closes #98)

<a name="0.1.3"

Features