Skip to content

Latest commit

 

History

History
1897 lines (1006 loc) · 83.8 KB

CHANGELOG.md

File metadata and controls

1897 lines (1006 loc) · 83.8 KB
Error in user YAML: (<unknown>): mapping values are not allowed in this context at line 5 column 10
---

## :rotating_light: ATTENTION: THIS REPO HAS MOVED :rotating_light:

We have moved to separately published packages from a monorepo.  

This will:

- provide caching to vastly improve build time
- provide better dependency management between packages (requiring less downloads for some users)
- provide an easier debugging environment
- give us the option to support multiple frameworks (such as React or WebComponents)
- give us a mature toolset that we don't have to maintain
- allow consumers to update various UI components without opting in to all changes across all components at once

Please update any bookmarks to point to the new repo:
[https://github.com/GetTerminus/terminus-oss](https://github.com/GetTerminus/terminus-oss)

Tips on migrating to the new packages can be found in the
[new changelog](https://github.com/GetTerminus/terminus-oss/blob/master/CHANGELOG.md).

## :rotating_light: 

---

18.6.2 (2020-05-28)

Bug Fixes

  • Drawer: Fix missing animation when shadow is always visible (f5daff0)

18.6.1 (2020-05-20)

Bug Fixes

  • Input: Allow both AbstractControl and FormControl to be passed in. (bfbcf00)

18.6.0 (2020-05-20)

Features

  • ExpansionPanel: Add transparent mode (233a44e)

18.5.1 (2020-05-13)

Bug Fixes

  • CI: trigger release after previous failure (dde36b3)

Reverts

  • Revert "fix(Icon): icon should have a fixed height" (9012c6b)

18.5.0 (2020-05-13)

Features

  • Drawer: Add configurable box show on drawer collapse (197b940)

18.4.0 (2020-05-12)

Features

  • TsTimeAgoPipe: Compare date default to current date (6c192d5)

18.3.5 (2020-05-12)

Bug Fixes

  • Menu: Background color set to correct white (92847df)
  • packages: update dependency @amcharts/amcharts4 to v4.9.20 (f1a8be8)

18.3.4 (2020-05-12)

Bug Fixes

  • Icon: icon should have a fixed height (6e690c2)

18.3.3 (2020-05-11)

Bug Fixes

  • Chip: Badge padding set to be the same on both sides. (be8d2ba)

18.3.2 (2020-05-08)

Bug Fixes

  • CI: better check for pr author (062755f)
  • Paginator: Selection list defaults to first selection, add visual regression test (dc5bee4)

18.3.1 (2020-05-07)

Bug Fixes

  • Demo: fixed table demo reorder (1d4b2c4)

18.3.0 (2020-05-01)

Bug Fixes

  • Search: Search button lines up with search input box (91c8ef4)

Features

  • Search: Support noValidationOrHint mode (9c1fa03)

18.2.2 (2020-04-29)

Bug Fixes

  • CI: revert to publishing ViewEngine code (b4701fe)

18.2.1 (2020-04-28)

Bug Fixes

  • SelectionList: fixed when seed values, chips do not show up in UI (df8601d)

18.2.0 (2020-04-28)

Features

18.1.21 (2020-04-27)

Bug Fixes

  • packages: update dependency @amcharts/amcharts4 to v4.9.17 (8ec4e04)

18.1.20 (2020-04-20)

Bug Fixes

  • packages: update terminus packages (6d008a9)

18.1.19 (2020-04-16)

Bug Fixes

  • Demo: correctly sets version (6a30f78)
  • Demos: use manual deploy script (42c59a6)

18.1.18 (2020-04-15)

Bug Fixes

  • Demo: correct env var for token (707c6cb)

18.1.17 (2020-04-15)

Bug Fixes

  • CI: update git commit commands and paths (95eaab3)

18.1.16 (2020-04-14)

Bug Fixes

18.1.15 (2020-04-14)

Bug Fixes

  • CI: ensure files are tracked before committing (f85680d)

18.1.14 (2020-04-14)

Bug Fixes

18.1.13 (2020-04-14)

Bug Fixes

  • CI: remove home prefix for demos path (abb7c74)

18.1.12 (2020-04-14)

Bug Fixes

  • CI: incorrect var usage in path (c0314f0)
  • CI: make sure dist is inside working dir (54c6f46)
  • CI: try using home var (d3adefa)
  • CI: tweak for demo deploy (1a8bf1e)

18.1.11 (2020-04-14)

Bug Fixes

18.1.10 (2020-04-14)

Bug Fixes

  • CI: fix demo debug log (cf001db)
  • Chip: remove icon no longer moves on hover (32de7b9), closes #2101
  • CI: set directory for demos clone (ac3f6f6)

18.1.9 (2020-04-13)

Bug Fixes

  • Chip: vertical mode now correctly aligned (510552b), closes #2102

18.1.8 (2020-04-10)

Bug Fixes

  • Packages: upgrade semantic-release (d4486fa), closes #2089

18.1.7 (2020-04-10)

Bug Fixes

  • CI: final tweaks for Ivy (1d5c0cc)

18.1.6 (2020-04-09)

Bug Fixes

  • Packages: update entry points for ngx-tools (39660a0)
  • Packages: update ngx-tools dependency for Angular 9 (cd7ebb9)

18.1.5 (2020-04-08)

Bug Fixes

18.1.4 (2020-04-08)

Bug Fixes

  • CI: try moving out a directory (2e67ff2)

18.1.3 (2020-04-08)

Bug Fixes

18.1.2 (2020-04-08)

Bug Fixes

  • CI: attempt new demo deploy flow (98ce538)

18.1.1 (2020-04-07)

Bug Fixes

  • CI: remove CircleCI ssh hack (80d6eae)

18.1.0 (2020-04-07)

Features

  • Input: support dynamic locale changes (d9d5686), closes #2108

18.0.3 (2020-04-06)

Bug Fixes

  • CI: fix incorrect node prefix (4084006)

18.0.2 (2020-04-06)

Bug Fixes

  • CI: remove script prefix for demo deploy (ef3ce74)

18.0.1 (2020-04-06)

Bug Fixes

  • CI: remove angular release blocker script (87de424)

18.0.0 (2020-04-06)

  • Upgrade to Angular 9+ & convert to ESLint (2caa1ab)

BREAKING CHANGES

  • Angular packages upgrade to >=9
  • NGRX packages upgrade to >=9
  • TypeScript upgrade to 3.8.3
  • Validators: TsValidatorsServiceMock no longer defaults to a Jest spy. It still returns the mock values but it is up to the consumer to spy if needed. (da5a632)
  • TsCohortDateRangeComponent: Now defaults to empty string values ('') rather than null as it did before.
  • No longer shipping top level exports. e.g. import { TsButtonModule } from '@terminus/ui';. All items must be imported from their specific module: import { TsButtonModule } from '@terminus/ui/button';
  • TsLoginFormComponent: No longer supports the triggerFormReset @Input. A public method called resetForm() is now available via the component instance to trigger a form reset.
  • Four dependencies are no longer bundled and must be installed by consumers:
    • yarn add text-mask-addons text-mask-core text-mask-core ngx-perfect-scrollbar

Internal

  • Updated most package.json script names
  • Fully removed TSLint in favor of ESLint
  • Full pass for linting and TypeScript errors.

17.1.0 (2020-03-25)

Features

  • CohortDateRange: Now supports start & end date minimum & maximum values (1bc610d)

17.0.8 (2020-03-13)

Bug Fixes

  • Docs: Update all local doc links (f6d354d)

17.0.7 (2020-03-12)

Bug Fixes

  • Button: fix update classes functionality (5cfc30b)

17.0.6 (2020-03-11)

Bug Fixes

  • core: change imports pathes (afb5c61)

17.0.5 (2020-03-06)

Bug Fixes

  • packages: update dependency @amcharts/amcharts4 to v4.9.6 (0b476ee)

17.0.4 (2020-03-06)

Bug Fixes

  • packages: update dependency @amcharts/amcharts4-geodata to v4.1.12 (436fde7)

17.0.3 (2020-03-06)

Bug Fixes

  • Table: correctly set any possible column alignment (954291b), closes #2066

17.0.2 (2020-03-06)

Bug Fixes

  • Menu: correct nested button styles (238fa55), closes #2046
  • Menu: correctly style cursor when disabled (86a6aae)

17.0.1 (2020-03-05)

Bug Fixes

  • packages: update dependency popper.js to v1.16.1 (787ef20)

17.0.0 (2020-03-05)

Features

  • Paginator: allow next button disable override (744b1c4)
  • Paginator: show "out of" total to simple paginator if total is available (dd6c648), closes #2047

BREAKING CHANGES

  • Paginator:

16.3.9 (2020-03-05)

Bug Fixes

  • SelectionList: fix selection list on blur (89ad181), closes #2056

16.3.8 (2020-02-25)

Bug Fixes

  • packages: pin dependencies (65fb7cf)

16.3.7 (2020-02-24)

Bug Fixes

  • packages: update dependency @amcharts/amcharts4 to v4.9.1 (c2bd8ae)

16.3.6 (2020-02-21)

Bug Fixes

  • Input: force the value to a string before sanitization attempt (4dfe810)

16.3.5 (2020-02-21)

Bug Fixes

  • Input: check to make sure value is not null before attempting to clean it (788cfe3)

16.3.4 (2020-02-20)

Bug Fixes

  • Input: sanitize input value inside of value setter before value emits (75c8fdf)

16.3.3 (2020-02-18)

Bug Fixes

  • CsvEntry: Prefix instance uid for cell ids (ffb5ec4)

16.3.2 (2020-02-18)

Bug Fixes

  • Paginator: simple mode no longer shows total count (e8421d5), closes #2031

16.3.1 (2020-02-18)

Bug Fixes

  • Table: refactor to fix docs generation issue (49fabff)

16.3.0 (2020-02-17)

Features

  • Button: now support custom ID (0aaef78)

16.2.4 (2020-02-14)

Bug Fixes

  • CSVEntry: fix scrollbar bug in firefox (3d5ffaa)
  • CSVEntry: table reset now takes mode into account. (038e25b)

16.2.3 (2020-02-12)

Bug Fixes

  • CSVEntry: external rows now correctly match height of inner rows (285a72f), closes #2020

16.2.2 (2020-02-12)

Bug Fixes

  • ValidationMessage: Disable change detection OnPush to get called on first change cycle (7181dce)

16.2.1 (2020-02-12)

Bug Fixes

  • Services: define external services as singletons (3c6fc4f), closes #2014

16.2.0 (2020-02-06)

Features

  • formControl: now form control supports no validation mode. (#2005) (2fd3123)

16.1.1 (2020-01-28)

Bug Fixes

  • Table: resize handle now has correct vertical alignment in all table layout modes (f883e7c), closes #1991

16.1.0 (2020-01-28)

Features

  • Pipe: Add abbreviate number pipe (bcfcf40)

16.0.0 (2020-01-27)

Features

  • Table: now dynamically sizing all columns (739e575), closes #1805

BREAKING CHANGES

  • Table: - TsColumn definition change
  • Table: - Outer border change
  • Table: - Style changes

Migration Notes

TsColumn

TsColumn definitions now require a width to be set:

const columns: TsColumn[] = [
  {
    name: 'Column One',
+   width: 100,
  },
];
Outer border

The table no longer defines it's own outer border. See usage docs.

Persistent scrollbars

The table no longer controls the scrollbars. See usage docs.

15.10.7 (2020-01-27)

Bug Fixes

  • SelectionList: form control value updated properly when set to empty array (25e789c)

15.10.6 (2020-01-21)

Bug Fixes

  • SelectionList: single and multiple select now have matching height (48e44e3)

15.10.5 (2020-01-17)

Bug Fixes

  • packages: update dependency @amcharts/amcharts4 to v4.8.0 (43083a0)

15.10.4 (2020-01-16)

Bug Fixes

  • packages: update dependency @amcharts/amcharts4-geodata to v4.1.10 (969d2eb)

15.10.3 (2020-01-16)

Bug Fixes

  • CohortDateRange: title case custom cohort (90c22ad), closes #1938

15.10.2 (2020-01-16)

Bug Fixes

  • SelectionList: selected option should be scrolled into view when panel opened (6dc348b)

15.10.1 (2020-01-16)

Bug Fixes

  • SelectionList: now has consistent vertical height with or without values (c9d8980)

Reverts

  • CI: revert scss no files for lint staged (92020a1)

15.10.0 (2020-01-15)

Features

  • Search: Emit empty string when the characters are less than the required minimum. (cd2ca22)

Reverts

  • CI: remove rebase action (b762783)

15.9.1 (2020-01-10)

Bug Fixes

  • packages: update dependency @amcharts/amcharts4 to v4.7.21 (ebaa789)

15.9.0 (2020-01-10)

Bug Fixes

  • SCSS: visually hidden mixin now sets visibility directly (d3028a9)

Features

  • SCSS: add utility classes file (87cd584)
  • CohortDateRange: now a cohort can be selected by default (5b1e9a6), closes #1893
  • SelectionList: now can disable user input (2fd2c4b)

15.8.7 (2020-01-10)

Bug Fixes

  • Chip: chip takes chip collection inputs into consideration.. (2285443)

15.8.6 (2020-01-09)

Bug Fixes

  • packages: update dependency @terminus/ui to v15.8.3 (c7bf909)

15.8.5 (2020-01-09)

Bug Fixes

  • packages: update dependency @amcharts/amcharts4 to v4.7.20 (1825333)

15.8.4 (2020-01-08)

Bug Fixes

  • packages: update dependency date-fns to v2.9.0 (e8ce243)

15.8.3 (2019-12-17)

Bug Fixes

  • Chart: correctly dispose of the chart when needed (e1b7735), closes #1873

15.8.2 (2019-12-17)

Bug Fixes

  • packages: update angularmaterial monorepo to v8.2.3 (95aabb6)

15.8.1 (2019-12-17)

Bug Fixes

  • packages: update angular monorepo to v8.2.14 (84f99ad)

15.8.0 (2019-12-16)

Features

  • CohortDateRange: add uid and support custom ID (ec02d89), closes #1815
  • CohortDateRange: no longer blocks user from custom interaction when allowed (5af8868), closes #1819

15.7.1 (2019-12-16)

Bug Fixes

  • Chip: correctly display disabled state (1c588d0)
  • SelectionList: no longer allows interaction when disabled (c1d51ea), closes #1818
  • SelectionList: single mode no longer truncates long text (64acd2d), closes #1772
  • Chip: vertical margin now always present (54d8338)

15.7.0 (2019-12-16)

Features

  • Popover: Popover component (baf8e64)

15.6.3 (2019-12-16)

Bug Fixes

  • packages: update dependency @amcharts/amcharts4-geodata to v4.1.9 (7850c74)

15.6.2 (2019-12-16)

Bug Fixes

  • packages: update dependency @amcharts/amcharts4 to v4.7.15 (046fc60)

15.6.1 (2019-12-10)

Bug Fixes

  • deps: update dependency date-fns to v2.8.1 (47e2fe4)

15.6.0 (2019-12-09)

Features

15.5.3 (2019-12-09)

Bug Fixes

15.5.2 (2019-12-05)

Bug Fixes

  • Chip: correct spacing between chips in vertical mode (0688371), closes #1803

15.5.1 (2019-12-05)

Bug Fixes

  • CohortDateRange: cleanup, correctly export test helpers (e6b951a)
  • Option: correct TsOption export (6cba73b)

15.5.0 (2019-12-05)

Features

15.4.0 (2019-11-27)

Features

15.3.11 (2019-11-26)

Bug Fixes

  • CI: add back missing ci demos deploy script (f4b91d3)

15.3.10 (2019-11-26)

Bug Fixes

  • CI: all PRs now test demos aot build (019d1b0)
  • CI: compodoc now working off custom config (93c9ca9)
  • CI: don't clean istanbul assets dir (45b2b09)

15.3.9 (2019-11-25)

Bug Fixes

  • CI: replace shortcodes with unicode emojis in generated docs (3fc3cf9)
  • CI: use default ci image with orb for aws (81c1cbf)

15.3.8 (2019-11-22)

Bug Fixes

  • CI: hack for github unknown host issue (9f66fcb)

15.3.7 (2019-11-22)

Bug Fixes

  • CI: don't cancel build if generated files don't exist (57fe720)

15.3.6 (2019-11-22)

Bug Fixes

  • CI: demo build should depend on library build (af4c735)
  • CI: don't remove angular md files, add ssh before release (3769ec1)
  • CI: move to workflows (5d7ba7c)

15.3.5 (2019-11-22)

Bug Fixes

15.3.4 (2019-11-20)

Bug Fixes

  • CI: switch to linux supported regex flag (3b83160)

15.3.3 (2019-11-20)

Bug Fixes

  • Button: deprecate incorrect spelling of collapsible (49f87a2)

15.3.2 (2019-11-05)

Bug Fixes

  • Demo: bump UI library version for demo (e3da0d0)
  • Demo: delete old demo files when deploying new demo (55f81c7)

15.3.1 (2019-11-05)

Bug Fixes

  • Table: only update sticky columns if they exist (9dcd8b8)

15.3.0 (2019-11-05)

Features

  • drawer: new component drawer (6bbe5cf)

15.2.2 (2019-10-31)

Bug Fixes

  • SCSS: zindex now starting at 500 (ef057ee)

15.2.1 (2019-10-31)

Bug Fixes

  • SCSS: z-index's now start at 1000 (a25739b)

15.2.0 (2019-10-31)

Features

  • Paginator: support for simple mode (5443d27), closes #1706

15.1.1 (2019-10-31)

Bug Fixes

  • FormField: align control sizing (5eb61ba)
  • Input: correctly reflect disabled status to the native element (fa091c7)
  • CSVEntry: decrease padding (78ac39e), closes #1685
  • SelectionList: now begins with the correct value in stream (4e87fad)
  • DateRange: update dash position and color (e4c8d79), closes #1716

15.1.0 (2019-10-30)

Features

  • CSVEntry: allow consumers to pass in custom footer content (d8f69fb), closes #1690

15.0.1 (2019-10-25)

Bug Fixes

  • Demo: bump demo to use v15 (a727638)

15.0.0 (2019-10-25)

Bug Fixes

  • Table: correct right border visibility when stickied (0294049)
  • Menu: label now fills width (f0a3131)
  • Toggle: remove deprecated change emitter (d3ed8d9), closes #1472
  • RadioGroup: remove deprecated change event (9ce0126), closes #1465
  • LoginForm: remove deprecated submit emitter (5395a7b), closes #1469
  • Table: update demo to show scrollbars correctly (0c1921b)

Features

  • CSS: add col-resize to available cursors (6ac9980)
  • Sort: better visual representation a column is sortable (bd4955c), closes #1739
  • Table: column widths can be defined by consumer (2dc796c), closes #1617
  • Table: header cell now matches body cell alignment (14e27de)
  • Table: now supports pinning (dd69833)
  • Table: support compact density (a9ff309), closes #1676
  • Table: support for multiple headers (83fe61d), closes #1675
  • Table: support for re-orderable columns (811a509)
  • Table: support for re-orderable columns (c11f8c7)
  • Utilities: support for the 'move' cursor (ec7d6a6)
  • Icon: support new table edit icon (b53ac1b), closes #1759
  • Utilities: support ns-resized cursor type (6509194)
  • Table: update header styles (e39945c)
  • Table: user resizable columns (9a071ea)

BREAKING CHANGES

  • Table: Moved to native HTML table
  • Table: - TsColumn definitions must be passed to TsTable.
  • minWidth support has been removed in favor of TsColumn definitions.
  • Toggle: change emitter removed in favor of selectionChange
  • LoginForm: submit emitter removed in favor of submission
  • RadioGroup: change event removed in favor of selectionChange

Breaking Change Migration Guide

Table

1. Table functionality is now added as directives to a native HTML table.

This was necessary to support future enhancements such as multiple sticky headers etc.

- <ts-table>
+ <table ts-table>

    <ng-container tsColumnDef="title">
-      <ts-header-cell *tsHeaderCellDef>
+      <th ts-header-cell *tsHeaderCellDef>
         Title
-      </ts-header-cell>
+      </th>
-      <ts-cell *tsCellDef="let item">
+      <td ts-cell *tsCellDef="let item">
         {{ item.title }}
-      </ts-cell>
+      </td>
    </ng-container>

-    <ts-header-row *tsHeaderRowDef="..."></ts-header-row>
+    <tr ts-header-row *tsHeaderRowDef="..."></tr>

-    <ts-row *tsRowDef="let row; columns: ...;"></ts-row>
+    <tr ts-row *tsRowDef="let row; columns: ...;"></tr>

- </ts-table
+ </table
2. Column definitions are now typed objects rather than strings

This change was to enable the consumer to define more column information, such as column widths.

- const columns = ['title'];
+ const columns: TsColumn[] = [{
+   name: 'title',
+ }];

Column widths can be defined by the width property:

const columns: TsColumn[] = [{
  name: 'title',
  width: '12rem',
}];
3. Column definitions now must be passed to the table instance

Previously, a simple array of column names were passed to the row definitions:

<!-- 
  Previously, a simple array of column names were passed to the row definitions:
-->
- <ts-table>
-   <ts-header-row *tsHeaderRowDef="['title']"></ts-header-row>
-   <ts-row *tsRowDef="let row; columns: ['title'];"></ts-row>
- </ts-table>

<!-- 
  Now, the array of column objects are passed to the table directive AND a simple array
    of names are passed to the rows.
  Note: The table reference provides the simple array for you:
-->
+ <table ts-table [columns]="[{name: title}]" #myTable="tsTable">
+   <tr ts-header-row *tsHeaderRowDef="myTable.columnNames"></tr>
+   <tr ts-row *tsRowDef="let row; columns: myTable.columnNames;"></tr>
+ </table>
4. Columns no longer support a min-width declaration

Width is now controlled with the column definitions.

RadioGroup

  • change emitter removed in favor of selectionChange (Deprecated 7/12/2019)
<ts-radio-group
-  (change)="selected($event)"
+  (selectionChange)="selected($event)"
></ts-radio-group>

LoginForm

  • change emitter removed in favor of selectionChange (Deprecated 7/12/2019)
<ts-login-form
-  (submit)="formSubmission($event)"
+  (submission)="formSubmission($event)"
></ts-login-form>

Toggle

  • change emitter removed in favor of selectionChange (Deprecated 7/12/2019)
<ts-toggle
-  (change)="isChanged($event)"
+  (selectionChange)="isChanged($event)"
>Toggle Me!</ts-toggle>

14.18.0 (2019-10-24)

Features

14.17.0 (2019-10-09)

Features

  • Input: Emit when user pastes into the input (0117efe)

14.16.2 (2019-10-03)

Bug Fixes

  • SelectionList: correctly handle null values (ce94cd4)
  • SelectionList: input text now selected on focus (10f2c89), closes #1728

14.16.1 (2019-10-03)

Bug Fixes

  • SelectionList: cursor now signifies interaction (c3d6868), closes #1730
  • SelectionList: first option now selected by default (cd18162), closes #1729
  • SelectionList: focused options are now scrolled into view (01e8b21), closes #1727
  • FormField: now correctly displays hover styles (92d166c), closes #1730

14.16.0 (2019-10-01)

Bug Fixes

  • Docs: all imports now correct (4a22bc7)
  • FormField: correctly apply hover color (995f543)

Features

  • SelectionList: new component (5494922)

14.15.3 (2019-09-26)

Bug Fixes

  • Chip: chips now wrap if content is too long (0951198)

14.15.2 (2019-09-26)

Bug Fixes

  • Autocomplete: fix for bug when clicking another instance (#1722) (b36c77a)

14.15.1 (2019-09-26)

Bug Fixes

  • Select: fix box height when label floats (#1721) (3c7008a)

14.15.0 (2019-09-25)

Features

  • CohortDateRange: new TsCohortDateRange component (#1711) (5f2722b)

14.14.0 (2019-09-23)

Features

  • Chips: chips are now defined by the consumer (35f8341)

14.13.0 (2019-09-17)

Features

  • Link: tel & email links no longer show external icon (#1695) (a5ed791)

14.12.2 (2019-09-17)

Bug Fixes

  • Select: text vertical alignment with or without a floating label (#1699) (05a8933)

14.12.1 (2019-09-16)

Bug Fixes

14.12.0 (2019-09-16)

Features

14.11.0 (2019-09-12)

Features

14.10.1 (2019-09-12)

Bug Fixes

  • table: table header vertical align bottom (a7b0774)

14.10.0 (2019-09-11)

Features

  • Chip: Expose new chip component (486e0d3)
  • dockerimage: Upgrade to v12 docker image and remove a dependency- weak. (9a1c65c)

14.9.5 (2019-09-09)

Bug Fixes

  • Navigation: items in drop down respect external links (#1686) (0159f5b)

14.9.4 (2019-09-04)

Bug Fixes

14.9.3 (2019-08-30)

Bug Fixes

  • Autocomplete: selecting a second autocomplete now working (#1673) (eacf941)

14.9.2 (2019-08-30)

Bug Fixes

  • Input: Datepicker handles manual input correctly (#1672) (d61ae61)

14.9.1 (2019-08-28)

Bug Fixes

  • Tooltip: add testing packgage.json (3681da8), closes #1638

Reverts

14.9.0 (2019-08-28)

Features

  • Copy: support for 'minimal' and 'icon' modes (c835f5d), closes #848

14.8.5 (2019-08-26)

Bug Fixes

  • try small format changes (ac5b2a9)

14.8.4 (2019-08-23)

Bug Fixes

  • DateRange: user can now manually adjust date without potentially entering an erred state (ac0156e)

14.8.3 (2019-08-23)

Bug Fixes

  • RadioGroup: radio groups now isolated correctly via the name property (98aa409)

14.8.2 (2019-08-22)

Bug Fixes

  • radio-group: fix emitting the correct TsRadioChange on changes (e9c0d63)

14.8.1 (2019-08-22)

Bug Fixes

  • autocomplete: add comparator/formatter. fix things (aeb09a8)

14.8.0 (2019-08-22)

Features

  • Autocomplete: chip display based on option view (6b4cca2)

14.7.0 (2019-08-15)

Features

14.6.0 (2019-08-15)

Features

  • Select: expose prompt to tell users to refine their search (6fb7144), closes #1573

14.5.0 (2019-08-07)

Features

  • Select: now supports user requests options refresh (170fb1e), closes #1572

14.4.0 (2019-08-07)

Features

  • SCSS: expose helper to style webkit scrollbars (83593c1)
  • Table: scrollbars now always visible if there is scrollable content (4bbe00e), closes #1616

14.3.0 (2019-08-06)

Features

  • Link: support for local anchor links (9360cc1), closes #1607

14.2.2 (2019-08-06)

Bug Fixes

  • Table: row content now vertically centered (5fff67a), closes #1579

14.2.1 (2019-08-06)

Bug Fixes

  • RadioGroup: corner not spilling outside border radius (fd6ec43)
  • RadioGroup: small layout no longer using grid (5193792)

14.2.0 (2019-08-05)

Features

  • RadioGroup: now supports centered content OR left/top aligned content (7c540f6), closes #1570

14.1.4 (2019-07-30)

Bug Fixes

  • Input: correctly manage autofill on the correct element (a7e318f), closes #656
  • LoginForm: set autocomplete for email (bdc9165)

14.1.3 (2019-07-23)

Bug Fixes

  • Input: correct alignment between prefix icon and input content (d2ae252), closes #1588

14.1.2 (2019-07-23)

Bug Fixes

  • Link: controlling theme via input rather than data attr now (9b2a57e), closes #1585

14.1.1 (2019-07-23)

Bug Fixes

14.1.0 (2019-07-12)

Features

  • RadioGroup: has a hard-coded size for small in visual mode (39c3362), closes #1569
  • RadioGroup: has a shadow to make interactability more clear (1258f33), closes #1574

14.0.6 (2019-07-12)

Bug Fixes

14.0.5 (2019-07-10)

Bug Fixes

  • RadioGroup: visual radios now dispatch change event (6702ec7), closes #1549

14.0.4 (2019-07-03)

Bug Fixes

  • Input: passing theme to form field (8914856), closes #1513

14.0.3 (2019-06-21)

  • fix(Packages): now latest UI package is 14.0.2 (d51e201)

14.0.2 (2019-06-21)

  • fix(Packages): update internal package.json (b989ac1), closes #1563

14.0.1 (2019-06-21)

  • fix(Demo): fix odd layout for select demo (d217e65)
  • fix(Packages): update internal package dependency versions (f0f5231)

14.0.0 (2019-06-21)

  • chore: enable TypeScript incremental build (abdad58)
  • chore(Packages): upgrade all packages (627f2f2), closes #1540
  • test(ExpansionPanel): fix for trailing Promise error when running all tests (e218502)
  • feat(Dockerfile): update node version for compatability with angular buildkit (34a9124)

BREAKING CHANGE

  • Angular v8 is now required. TypeScript 3.4.x is now required.

13.0.6 (2019-06-21)

  • fix(autocomplete): checkbox no longer appears in front of autocomplete options (#1565) (cb3ca47), closes #1565
  • chore(Demo): Add missing flexbox module to the icon-button demo (bdf3d46)
  • chore: integrate new stylelint config and fix issues (f9d7a5e), closes #1526
  • chore(ValidationMessages): tests are converted to integration (#1558) (43025e2), closes #1558 #1297
  • chore(Packages): update cs-customizable (4fdb921)
  • refactor: fix for linting issues (730e347)

13.0.5 (2019-06-18)

  • fix(SCSS): docs links to SCSS helpers are working properly (edd3a33), closes #1498
  • chore(Paginator): converted to integration tests (3775c31)
  • chore(Demo): remove karma and jasmine (3c0106c), closes #1412

13.0.4 (2019-06-10)

  • fix(autocomplete): better docs (817fdd6)
  • fix(autocomplete): put back closed and opened event emitter (7c2a059)

13.0.3 (2019-06-06)

  • fix(Demo): correct over-zealous find and replace for 'master' (ae0ceb3)

13.0.2 (2019-06-06)

  • fix: update primary README information (a89aa5d)

13.0.1 (2019-06-06)

  • fix: update all references from master to release (701626f)
  • I don't know why I cant spell ceperatte correctly (af3c66c)
  • docs(Select): update migration notes for v13 [skip ci] (7de7d94)

13.0.0 (2019-06-05)

  • fix(Select): split TsAutocomplete and TsSelect into separate components (314df47)

BREAKING CHANGES & Migration Notes

Select

  • Dropped support for formatUIFn. Select only supports string values now. It is up to the consumer to map the string value to a complex value if needed.
  • No longer supporting autocomplete features. They have been moved to TsAutocomplete.
  • TsSelectChange value property is no longer generic; it is now string | string[].

Option

  • Has been renamed from ts-select-option to ts-option as it is used by multiple components. All functionality remains the same.
<!-- Current -->
<ts-select-option>
  ...
</ts-select-option>

<!-- New -->
<ts-option>
  ...
</ts-option>
  • The import endpoint has also changed to @terminus/ui/option.
// Current
@import { TsSelectOption } from '@terminus/ui/select';

// New
@import { TsOption } from '@terminus/ui/option';

Autocomplete

  • This component has been un-deprecated and updated.
  • TsAutocomplete still has the same basic functions it had when combined with TsSelect.
  • TsAutocomplete leverages the same <ts-option> as TsSelect:
<!-- Example -->
<ts-autocomplete
  label="Autocomplete Example"
  hint="Begin typing to select.."
  [formControl]="stateCtrl"
  (queryChange)="queryHasChanged($event)"
>
  <ts-option
    [value]="state.name"
    [option]="state"
    *ngFor="let state of filteredStates | async"
  >
    {{ state.name }}
  </ts-option>
</ts-autocomplete>
  • Autocomplete only supports string as it's value type. The selection value will always be string[].
  • Dropped support for chipFormatFn. For any type other than string, it is up to consumer to manage mapping that value to a complex value.

12.1.7 (2019-06-05)

  • fix(Chart): chart now renders after first tick (d943224), closes #1324
  • revert(CSVEntry): remove placeholder experiment (8d90318), closes #1533
  • chore(SCSS): created skeleton for testing SCSS (#1521) (cde99e3), closes #1521 #952
  • chore(CI): doctoc now running on smaller set of directories and files (#1523) (4c972fa), closes #1523 #1341
  • chore(Navigation): documentation elaborated (47ff01d), closes #1265
  • chore: remove outdated issue templates (#1525) (f58583a), closes #1525
  • chore: update contributors (#1522) (582c20e), closes #1522
  • test(Navigation): add missing test for trackBy (982ac02)
  • test(Confirmation): add test for missed paths (def2b6b)
  • test: explicitly collect coverage from directives (76cb6d8), closes #1480

12.1.6 (2019-05-20)

  • fix(Navigation): clone navigation object to prevent mutation of original (00fde32)

12.1.5 (2019-05-16)

  • fix(Input): scope overlay z-index for datepicker (1fe1a5f)

12.1.4 (2019-05-15)

  • fix(Chart): expose type coercion functions for charts (193d482)
  • style(Input): remove outdated commented code (6b7f3b0)
  • style: update code to pass object format lint rule change (054f322)
  • chore: integrate new lint rules and fix all issues (#1488) (8648c3d), closes #1488
  • chore(Tabs): outputs are now called centering and centered (#1487) (d85b207), closes #1487 #1478

12.1.3 (2019-05-01)

  • fix(FileUpload): consistent error handling (#1483) (302c58d), closes #1483 #1357
  • chore(Spacing): has integration tests (#1481) (b08f5e8), closes #1481 #1294
  • chore: Use code instead of keyCode (#1482) (c66e9df), closes #1482
  • chore(testing): use ngx-tools createComponent utility (#1479) (ca6376c), closes #1479

12.1.2 (2019-04-25)

  • fix(Utilities): sCSS bad inputs prevent a build and error messages are displayed (dd80490), closes #1456

12.1.1 (2019-04-16)

  • fix(LoadingOverlay): fix for portal already loaded error (003d795), closes #1455
  • chore(Docs): Fix missing tabs demo link (b69b1e2)

12.1.0 (2019-04-16)

  • feat(Tabs): New tabs component (637da4b)
  • refactor(tsconfig): remove incorrect parameter (6c8a3cf)
  • refactor(tsconfig): remove unused legacy tsconfig (b1cef1f)
  • chore(Demo): demo pages are all lazy loading (02f73e5)
  • Merge pull request #1453 from GetTerminus/benjamincharity-patch-1 (b477b71), closes #1453
  • Remove unneeded items (b1c571f)

12.0.1 (2019-04-10)

  • fix(Select): fix for missing filter input (e0ef9e5), closes #1451
  • docs: update changelog with v12 migration notes (aba0835)

12.0.0 (2019-04-09)

  • chore(coerceBoolean): * BREAKING CHANGE * deprecate improper uses of coerceBoolean (1b38004), closes #1233
  • chore(Button): BREAKING CHANGE clicked is now emitter name (86ee1e9), closes #398
  • chore(Card): BREAKING CHANGE removed `disabled` input (5b3f9e4), closes #1267
  • chore(SCSS): BREAKING CHANGE z-index name and order updated for clarity (0b45bca), closes #1377
  • chore(Card): 100% test coverage (f32aa4b), closes #1383
  • chore(Accessibility): BREAKING CHANGE - base font weight increased to 400 (7055c85)
  • chore(community): bug.md and feature.md are now available (d17feca), closes #1403
  • chore(DateRange): null portion of interface is deprecated (8df86b3), closes #1434
  • chore: Update GitHub's built-in issue templates (39f6689)
  • chore(template): update ISSUE_TEMPLATE.md and CONTRIBUTING.md (bf37393)
  • fix(DateRange): BREAKING CHANGE change emitter is now called dateRangeChange (b82befc), closes #1361

BREAKING CHANGES

  1. All: No components coercing boolean @Inputs
  2. Card: disabled @Input no longer exists
  3. DateRange: change emitter renamed to dateRangeChange
  4. DateRange: TsDateRange interface no longer supports null
  5. Typography: Base font weight changed to 400
  6. Button: clickEvent event emitter is now named clicked
  7. Z-index: Naming and order updates

Migration Notes

Boolean coercion

Boolean values can no longer be passed in as strings:

<!-- before -->
<my-component my-input="true"></my-component>

<!-- after -->
<my-component [my-input]="true"></my-component>

⚠️ NOTE: This effects all components

Card

Updated input name to align with existing library conventions:

<!-- before -->
<ts-card [disabled]="true"></ts-card>

<!-- after -->
<ts-card [isDisabled]="true"></ts-card>

DateRange

The change event emitter is duplicated by Angular so it has been renamed:

<!-- before -->
<ts-date-range (change)="myDateRange($event)"></ts-date-range>

<!-- after -->
<ts-date-range (dateRangeChange)="myDateRange($event)"></ts-date-range>

The TsDateRange interface no longer supports null:

// before
export interface TsDateRange {
  start: Date | undefined | null;
  end: Date | undefined | null;
}

// after
export interface TsDateRange {
  start: Date | undefined;
  end: Date | undefined;
}

Base font weight

To solve a few readability issues, our base font weight has been increased to match the Material spec:

<!-- before -->
<link href="https://fonts.googleapis.com/css?family=Roboto:300,500,700" rel="stylesheet">

<!-- after -->
<link href="https://fonts.googleapis.com/css?family=Roboto:400,500,700" rel="stylesheet">

Button & Icon Button

Updated event emitter name to align with existing library conventions:

<!-- before -->
<ts-button (clickEvent)="myFunction($event)"></ts-button>
<ts-icon-button (clickEvent)="myFunction($event)"></ts-icon-button>

<!-- after -->
<ts-button (clicked)="myFunction($event)"></ts-button>
<ts-icon-button (clicked)="myFunction($event)"></ts-icon-button>

Z-Index

Naming needed clarification and the order needed to be updated:

Update the following z-index values:

before after
header global-header
overlay global-overlay
panel-overlay attached-panel-overlay
menu attached-panel-overlay

NOTE: tooltip will now be at a lower z-index than global-header

11.9.8 (2019-03-28)

  • fix(Button): switch disabled to Material input rather than attr (8eab4de)

11.9.7 (2019-03-28)

  • fix(CSVEntry): now encapsulating cell content and escaping quotes (04cd647), closes #1427

11.9.6 (2019-03-28)

  • fix(Select): space character works in autocomplete (2fcd6c4), closes #1416
  • chore(IconButton): now with integration tests (1ab6e85), closes #1284
  • chore(Link): tests converted to integration (23298fc), closes #1285

11.9.5 (2019-03-25)

  • fix: Fake fix to release last revert (1a62ade)
  • revert(Input): remove BrowserAnimationsModule that was added in error (a0cb699), closes #1423

11.9.4 (2019-03-25)

  • fix(Select): updated filter label text (23dafa7), closes #1352

11.9.3 (2019-03-18)

  • fix(Confirmation): button does not move when overlay opens (6a35edc), closes #1406

11.9.2 (2019-03-18)

  • fix(Confirmation): background will not scroll away from overlay (fc0f7ce), closes #1391
  • test(Table): added missing test for incorrect param (6328a42), closes #1392
  • chore(Table): has test for warning (41673d6), closes #1392
  • chore(ValidationMessages): phrasing is aligned (225eb46), closes #1190
  • Revert "chore(Table): has test for warning" (2478f0f)

11.9.1 (2019-03-15)

  • chore(Select): updated hard-coded scss (756907c), closes #1378
  • fix(Select): shift+arrow will select multiple (89651e7), closes #1227

11.9.0 (2019-03-15)

  • feat(Confirmation): supports positioning (c11bde0), closes #830
  • refactor(AllModules): ordered all imports via tslint (ea7273c), closes #1404

11.8.0 (2019-03-07)

  • feat(ExpansionPanel): Create expansion panel / accordion component (92e082d)
  • fix(Color): Lighten dark utility color for better distance from utility color (4f4f4b6)
  • refactor(Select): export the select animations (0f48e02)

11.7.0 (2019-03-06)

  • chore(Navigation): now using truncation pipe (58f4f2a), closes #1367
  • feat(Pipes): truncate pipe is available (0b68fdd), closes #1249
  • docs(Changelog): add recent releases to changelog (6594bd7)

11.6.1 (2019-03-06)

  • Merge pull request #1400 from GetTerminus/1073-persistent-changelog (e8002d3), closes #1400
  • fix(CI): generate persistent changelog file (b075829)
  • revert(Packages): remove yarn (85f2d66)
  • chore(CI): add yarn to project dependencies (ad1712d)
  • chore(CI): now installing with frozen lockfile (f7079f4)
  • refactor(button): integration test for button component (#1394) (1a34e18), closes #1394 #1281

11.6.0 (2019-03-01)

  • feat(TestHelpers): moved all core test helpers into the library (9f63d1f), closes #1074

Modules that now expose test helpers:

See the module’s usage documentation for a full list of helpers.

  • TsCheckbox
  • TsDateRange
  • TsInput
  • TsSelect
  • TsRadioGroup

Replaced core helpers:

New Helper Replaced functions from core
toggleCheckbox checkTsCheckbox, uncheckTsCheckbox
sendInput setTsInputValue, setTsDatePicker
selectStandardRadio, selectVisualRadio setTsRadioBoxValueByText
setDateRangeValues setTsDateRangeValue
getAllOptionInstances getOptions
openSelect openSelector
selectOption selectOption

11.5.0 (2019-02-28)

  • feat(Icon): updated with new svg's for logo (21896b2)
  • feat(Logo): logo component is now available (8b47382)

11.4.0 (2019-02-27)

11.3.1 (2019-02-20)

  • fix(DatePicker): overwrite material z-index with our map (bb55e0a)

11.3.0 (2019-02-19)

  • feat(Validation): now using date pipe (0db8c35)

11.2.1 (2019-02-19)

  • fix(FileUpload): protect against cdr being called after it's destroyed (0990b38)

11.2.0 (2019-02-19)

11.1.17 (2019-02-19)

  • fix(Input): sanitized mask value no longer overwriting UI (ed2bfd9), closes #1167
  • fix(Packages): allow v5 or v6 to be used for ngx-tools (492432b)

11.1.16 (2019-02-14)

  • fix(Select): filter now fixed at top of panel (d3d266f)
  • fix(Select): now correctly opening up/down based on position within viewport (159568f)
  • fix(Select): panel no longer is positioned away from the trigger (19ef6e0), closes #1351
  • fix(Select): panel now positioned correctly on the x axis (69e5f05)

<11.1.16

For changes prior to 11.1.16 see individual releases: https://github.com/GetTerminus/terminus-ui/releases