Skip to content

Latest commit

 

History

History
1818 lines (1022 loc) · 64.4 KB

File metadata and controls

1818 lines (1022 loc) · 64.4 KB

2.9.7 (2019-12-04)

2.9.6 (2019-10-24)

Bug Fixes

  • cropper: support for Ionic (f539e34)
  • slider: always emit the input event (ee866a0)
  • increase 15% alpha for disabled state (0dd2cce)

Features

  • select: add custom trigger (d7741ce)
  • select: correctly align the elements inside ly-option (f4d445d)

2.9.4 (2019-09-15)

Features

  • carousel: add input pauseOnHover (cfc02de)

2.9.3 (2019-08-01)

Bug Fixes

  • completely destroy menu in lazy-loading when menu is open and the method of a button is to go to another route (81935d9)

Features

  • add option disableClose to LyDialogConfig and LyOverlayConfig (ccfe2ee)
  • menu: add open and closed state events (a61e7e1)

2.9.2 (2019-07-18)

Bug Fixes

  • fix Positioning when it exceeds the limits of the screen (286f547)
  • field: fix reactive field (1175298)

2.9.1 (2019-07-14)

Bug Fixes

  • field: fix input when is loaded dinamically (108463e)

2.9.0 (2019-07-06)

Bug Fixes

  • tabs: tab indicator is not updated when another tab is selected in SSR (6374e41)

Features

  • add existStyle method (5567baf)
  • add Injectable LyHostClass (4c86db7)
  • emit an event when the direction has changed (b2ee2f4)
  • support for Angular 8 (#84) (40aab6d)
  • slider: initial commit for slider (#79) (b02c1b1)

2.7.8 (2019-06-19)

Bug Fixes

  • field: add display: block to fullWidth (139265c)
  • tabs: selectedIndexChange do not emit first value (1ce4fe7)

Features

  • tabs: add @Input() active for LyTabLabel (f8dfd9f)

2.7.7 (2019-05-24)

Bug Fixes

  • button: remove animation when a button is rendered (f81cec2)

2.7.6 (2019-05-08)

Bug Fixes

  • fix raised & elevation with null value (8208505)
  • dialog: update position of dialog when there are changes (e191600)
  • tooltip: fix RTL (4ca1b38)

Features

  • img-cropper: add option extraZoomOut (2f936f5)

And some improvements to the docs.

2.7.0 (2019-04-18)

Bug Fixes

  • field: fix theme variables (ff58123)
  • tabs: _tabLabel of undefined (1515f60)
  • tabs: fix scrollable tab (ef0dbd3)
  • toolbar: change dense to appearance="dense" (3a34659)
  • fix some bugs (7aae2bb)
  • fix StackBlitz demos (cbdbc9d)

Features

  • ability to customize a component through themes (78c16df)
  • delete default global styles (94128f9)

BREAKING CHANGES

  • By default, it was applied:
const defaultStyles = {
  '@global': {
    '*, *:after, *:before': {
      '-webkit-box-sizing': 'border-box',
      '-moz-box-sizing': 'border-box',
      'box-sizing': 'border-box'
    }
  }
};

But from this version it was deleted and boxSizing: 'border-box' was added to all the components that required it.

This may have changes in your app, if your app required the default global styles, there are two ways to fix it:

Manually apply boxSizing: 'border-box' to all its components that require it.

or

Manually set default global styles.

...
import { LyTheme2, ThemeVariables } from '@alyle/ui';

const styles = (theme: ThemeVariables) => ({
  ...
  '@global': {
    ...
    '*, *:after, *:before': {
      '-webkit-box-sizing': 'border-box',
      '-moz-box-sizing': 'border-box',
      'box-sizing': 'border-box'
    }
  }
});

@Component({...})
export class AppComponent {
  readonly classes = this.theme.addStyleSheet(styles);
  constructor(
    private theme: LyTheme2
  ) { }
}

2.6.0 (2019-03-17)

Bug Fixes

  • core: avoid conflicts with common behaviors. (62845ad)
  • core: remove default value for bg and color (322807a)
  • style: allow @global in any nested style (b6db615)
  • theme: fix variable disabled (cb39f67)

Features

  • expansion: initial commit for Expansion panel (#76) (a6645db)

2.5.2 (2019-03-11)

Bug Fixes

  • core: fix overflow of overlay (e54062c)

2.5.1 (2019-03-07)

Bug Fixes

  • core: do not scroll when creating an overlay (dc302a2)

2.5.0 (2019-03-06)

Bug Fixes

  • carousel: the interval attribute is not updated when the value is changed (e9c4c03)
  • select: fix dirty true on init component (f8e6093)
  • select: list of options is not displayed when you click on the ends of the field (68ca277)

Features

  • core: ability to merge nested themes (043f3e5)
  • field: expose STYLE_SELECT_ARROW (fbf58c0)

2.3.2 (2019-02-15)

Bug Fixes

  • avatar: fix border on first load (af1e641)
  • carousel: fix 'changes' of undefined with ngFor (01f728d)
  • carousel: update the view when there is a change (f330fb9)
  • dialog: add context for dialogs with <ng-template> (ce35854)
  • dialog: fix dialog with ng-template (c0d4726)

Features

  • carousel: add @Input() autoplay (4c5f15c)
  • carousel: add @Input() hasProgressBar (c5c9b8e)

2.3.1 (2019-02-10)

Bug Fixes

  • select: fix bug when a new value is established in multiple selection (210ae61)

2.3.0 (2019-02-07)

Bug Fixes

  • core: allow the creation of dynamic component (e44ff18)
  • field: set tap-highlight-color style to transparent (fa718f3)
  • menu: fix styles for <a ly-button ly-menu-item> (1731e5c)
  • select: fix No component factory found for LyOverlayBackdrop. (daf0b7b)
  • select: fix positioning (095407a)
  • select: fix styles for options multiple (8ed688c)
  • snack-bar: error when a snack-bar is open and scroll (29bb5ad)

Features

  • dialog: initial commit for dialog (#74) (13a3bd9)
  • grid: add property lyGridItem (91d7682)
  • theme: add method style for create style with inmutable variable (2d876b2)
  • toolbar: add property dense (4b14f13)
  • typography: add mixinColor (f462be5)

2.1.2 (2019-01-31)

Features

  • img-cropper: add property maxFileSize (6d845df)

2.1.1 (2019-01-31)

Bug Fixes

  • field, select: show hint error when it is validated (35c0a9c)

2.1.0 (2019-01-29)

Bug Fixes

Features

  • select: initial commit for select (#72) (93a7d57)

2.0.7 (2019-01-22)

Bug Fixes

  • core: add variables (d0720e3)
  • menu: improve transform-orgin (136b4a0)
  • menu: update position of menu on scroll or resize (a48261d)

Features

  • field: add the focusEvent to <ly-field> (87efa4c)
  • snack-bar: support for Infinity duration (90ffd1c)

2.0.4 (2019-01-15)

Bug Fixes

  • enable strictNullChecks (#71) (5b19d13)
  • core: improve eachMedia (a5f2937)
  • field, list, radio, tooltip: fix memory leaks (c02b212)

Features

2.0.3 (2019-01-09)

Bug Fixes

  • checkbox: add spacing between checkboxes (cb13548)
  • checkbox: add spacing between checkboxes (ffc31c1)
  • field: rename LyInput (3320f20)
  • img-cropper: delete manually created events when the component is destroyed (79b5079)
  • radio: add spacing between radio (9bd3548)
  • snack-bar: destroy the snack-bar when the component destroyed (659c0f2)
  • snack-bar: fix animations when opening snack-bar (7b8ee55)

Features

  • schematics: add option to create components with dynamic styles (5752224)

2.0.2 (2019-01-07)

Features

  • schematics: add fonts & dynamic styles (d2bb27e)
  • schematics: support for schematics (340e8ef)

2.0.1 (2019-01-01)

2.0.0 Stable (2018-12-30)

Bug Fixes

Features

  • field: add ly-error (c5c12be)
  • grid: add @Input() spacingX & @Input() spacingY (cfa8669)
  • radio: add styles for onFocusByKeyboard (bc47a5e)

1.9.11 (2018-12-27)

Bug Fixes

  • theme: fix theme for icon button (2ae61f5)
  • typography: update style priority (e0895e2)

Features

  • field: add @Input() alignfor ly-hint (0e46b27)
  • typography: add noWrap (4ab3a5a)

1.9.10 (2018-12-22)

Bug Fixes

  • cropper: min scale not updated after rotating image (eb57ce3), closes #69
  • cropper: remove deprecated variables (796bb37)
  • css-in-ts: remove deprecated variables (79848ad)
  • field: RTL (662875e)
  • list: rtl (1513ae3)

Features

  • divider: initial commit for divider (3b66422)
  • tabs: update tab scroll on resize (bfd6c80)

BREAKING CHANGES

  • css-in-ts: remove deprecated variables

before:

const style = ({
  start: '1em',
  end: '2em',
  marginStart: '1em',
  borderStart: '1px'
});

after:

const style = ({
  root: {
    before: '1em',
    after: '2em',
    marginBefore: '1em',
    borderBefore: '1px'
  }
});
/** results LTR: */
.ib {
  left: '1em';
  right: '2em';
  margin-left: '1em';
  border-left: '1em';
}

/** results RTL: */
.ib {
  right: '1em';
  left: '2em';
  margin-left: '1em';
  border-left: '1px';
}
  • cropper: cropperEvent.base64 is now deprecated, use cropperEvent.dataURL instead

before:

onCropped(e: ImgCropperEvent) {
  this.croppedImage = e.base64;
}

after:

onCropped(e: ImgCropperEvent) {
  this.croppedImage = e.dataUrl;
}

1.9.9 (2018-12-19)

Bug Fixes

  • cropper: aspect ratio of the cropper frame when it is not a square (60f386a), closes #68
  • menu: responsive (ba3effe)

1.9.8 (2018-12-17)

Bug Fixes

  • tabs: multiple unnecessary indicator updates (26d0ec2)
  • tabs: styles for the active tab are not applied with OnPush (4cc73ce)

Features

  • tabs: add property scrollable (58fc0e6)

1.9.7 (2018-12-16)

Bug Fixes

  • badge: badge instances not being cleaned up onDestroy (ab02a4e)
  • button: avoid memory leak (2c7ae88)
  • core: avoid memory leak in icon & LyFocusState (73a8eb3)
  • icon: fix box-sizing (0efd7b8)

Features

  • list: add initial commit for ly-list (a69a1c5)

1.9.6 (2018-12-13)

Bug Fixes

  • carousel: do not change image when the touch is very fast (53d52be)
  • core: only darken and saturate if the color is not in the grayscale (0c4d48d)
  • img-cropper: do not emit event when run clean() (ca0d7c4)
  • img-cropper: fix img cropper with ChangeDetectionStrategy.Default (26a211d)
  • tabs: fix infinite loop with ChangeDetectionStrategy.Deafult (23ff254)

Features

  • img-cropper: add param to setImageUrl (45234ff)

1.9.5 (2018-12-11)

Bug Fixes

  • button: change property private to protected (ee6901e)
  • button: fix dynamic disabled button (4203625)
  • checkbox: fix change event (81755ba)
  • checkbox: fix disabled state (b28abbc)
  • core: fix ripple with viewChild element (3664757)
  • css-in-ts: support for styles with value null (b38d049)
  • field: fix selector for input native (3bc3d92)
  • field: fix styles for disabled input (45fee48)
  • grid: fix key style for alignItems (3b72817)
  • paper: fix default style (416f53b)
  • tabs: fix alignTabs (a4e2b6a)
  • tabs: fix headerPlacement when change value (e12ef53)
  • tabs: fix placement of tab when value is set in selectedIndex (8489345)
  • tabs: fix tabs in direction rtl (73c3b3e)
  • tabs: fix tabs in multiple themes (04c7ffd)
  • tabs: fix the contents of the tab when changing headerPlacement (3bff100)
  • tabs: use LyButton with LyTabLabel (eccad38)
  • typography: change fontSize to string (49430ca)

Features

  • checkbox: add elevation (de87773)
  • core: add AlignAlias (e01eae6)
  • core: add property ly-text (430fccb)
  • css-in-ts: add info style in dev mode (8996203)
  • css-in-ts: add param parentStyle to addStyle (b8432f8)
  • tab: add headerPlacement, textColor, indicatorColor & alignTabs (a8ff27f)
  • tabs: update tab indicator on resize (23fffd7)

BREAKING CHANGES

  • field: before:
<ly-field>
  <input>
</ly-field>

after:

<ly-field>
  <input lyInput>
</ly-field>

1.9.4 (2018-12-07)

Bug Fixes

  • button: fix apply default size (0171a69)
  • tooltip, snackbar: update theme (6825ec5)

Features

  • core: add getPositionmethod (abb2ca8)
  • grid: add property alignItems (3f9a079)
  • tooltip: ability to position tooltip (d67d17b)
  • tooltip: add animation (2f6f704)

1.9.3 (2018-12-05)

Bug Fixes

  • css-in-js: change start to before & end to after (e8ddd6c)
  • snack-bar: remove type 'start' | 'end' in horizontalPosition (2ab77da)
  • theme: remove optional type for direction (248c061)

Features

  • core: add method toggleDirection (0b14178)
  • css-in-js: add key style above & below (e52c570)
  • drawer: add spacingBefore, spacingAfter & hasBackdrop (f779d88)

BREAKING CHANGES

  • css-in-js: before:
const style = ({
  start: '1em',
  marginStart: '1em'
});

after:

const style = ({
  before: '1em',
  marginBefore: '1em'
});

1.9.2 (2018-12-03)

Bug Fixes

  • img-cropper: fix the file type output (0ba5290)

Features

  • avatar: add size property (a214c34)
  • avatar: initial commit for ly-avatar (e323455)

1.9.1 (2018-12-03)

Bug Fixes

Features

  • core: add resize event (78d9c9f)
  • snack-bar: update animation (bbe5e17)

1.9.0 (2018-12-01)

Bug Fixes

  • core: prevent selection when many clicks are made in overlay (08eb9eb)

Features

  • core: add before, after to DirAlias (66ce443)
  • core: support for @keyframes css (847d9cc)

example:

const styles = ({
  item: {
    animation: '{pulse} 5s infinite'
  },
  $keyframes: {
    pulse: {
      0: {
        backgroundColor: '#000'
      },
      100: {
        backgroundColor: 'red'
      }
    }
  }
});
  • menu: support to position the menu (35ccf32)

1.8.9 (2018-11-29)

Bug Fixes

  • button: ability to set styles from the theme (0970dd5)
  • core: fix when the theme is changed with multiple themes (397c499)
  • core: remove deprecated param key for addStyleSheet (47d012c)
  • tooltip: fix No component factory found for LyOverlayBackdrop (0a3db67)
  • tooltip: update default lyTooltipHideDelay to 0 (e4c8022)

Features

  • core: add $name to name styles (c6c17fc)

1.8.8 (2018-11-29)

Fail in prod mode

1.8.7 (2018-11-27)

Bug Fixes

  • button: fix style on mouseenter (8aff164)
  • carousel: fix touch (36bad35)
  • icon: add position relative css (3631a7c)
  • ripple: fix ripple in Firefox (8aab7d5)
  • theme: update background:tertiary (5c593eb)

Features

  • tooltip: initial commit for Tooltip (#66) (9696883)

1.8.6 (2018-11-24)

Features

1.8.5 (2018-11-23)

Bug Fixes

1.8.4 (2018-11-22)

Features

1.8.3 (2018-11-21)

Bug Fixes

1.8.2 (2018-11-20)

Bug Fixes

  • button: update STYLE_PRIORITY for appearance (6c0a4df)

1.8.1 (2018-11-20)

Features

  • button: add icon, fab & minifab (08dfc50)
  • core: add mixins & ly-paper (f08cd48)

BREAKING CHANGES

  • core: LyCommon will be eliminated

before:

<div color="primary">Demo</div>

after:

const styles = (theme: ThemeVariables) => ({
  demo: {
    color: theme.primary.default
    // .. others styles
  }
});
<div [className]="classes.demo">Demo</div>

OR

<ly-paper color="primary">Demo</ly-paper>
<div ly-paper color="primary">Demo</div>

this will only affect the components that use the withColor and withBg attribute, it will be replaced with color, bg

example:

before:

<ly-checkbox withColor="primary">checkbox</ly-checkbox>

after:

<ly-checkbox color="primary">checkbox</ly-checkbox>

1.7.12 (2018-11-17)

Features

  • snack-bar: initial commit for snack-bar (#64) (6014122)

1.7.11 (2018-11-15)

Bug Fixes

  • button: fix button animation in Firefox (74c971d)
  • button: fix button in firefox (b163c1f)
  • img-cropper: fix scale & fix on crop(cropper with fix number) (f4aa80a)
  • img-cropper: fix when a second image is loaded with the same dimensions as the previous one (87306d3)
  • img-cropper: remove fn fix (c7cfc64)

1.7.10 (2018-11-12)

Bug Fixes

  • img-cropper: crop if auto crop is available (3a4c749)
  • img-cropper: fix scale (f9b14bf)

1.7.9 (2018-11-11)

Features

  • img-cropper: improve (#63) (3e5cf53), closes #63
    • Rotate
    • Autocrop
    • Assign pictures to the cropper from an URL
    • Set & get current position, scale

BREAKING CHANGES

  • cropperEvent.base64 is now deprecated, use instead cropperEvent.dataURL

before:

onCropped(e: ImgCropperEvent) {
  this.croppedImage = e.base64;
}

after:

onCropped(e: ImgCropperEvent) {
  this.croppedImage = e.dataUrl;
}

1.7.8 (2018-11-08)

Bug Fixes

  • button, typography: fix variables (338c350)
  • img-cropper: remove deprecated variables (32637ed)

Features

  • checkbox: initial commit for checkbox (#58) (50b4198), closes #42
  • icon: cache svg icons (5df9448)
  • ripple, typography: create variables (afe924d)

1.7.7 (2018-10-30)

Bug Fixes

Features

  • badge: add variables for badge (0c82fc9)
  • core: add directions in styles (6631ff3)
  • img-cropper: add clean method (a83986b)

Performance Improvements

  • theme: improve the creation of styles (909a93f)

1.7.6 (2018-10-26)

Bug Fixes

  • add minScale property (c94a7db)
  • button: fix styles in firefox (ba34f6d)
  • field: fix align baseline (ec65493)
  • field: fix outlined in firefox (b8aa2e2)
  • img-cropper: fix min scale & add scale property (4d5c851)
  • theme: fix theme types (f193df7)

Features

  • img-cropper: emit ImgCropperEvent on loaded (2136028)

1.7.5 (2018-10-25)

Features

  • core: support to use more of '&' in multiple styles (fc2cb75)
  • img-cropper: improve img copper (#61) (f9ad2c0)

1.7.3 (2018-10-20)

Features

  • core: support to create multiple styles without key (#59) (246e4fb)
  • field: add description (9b9f7d1)

1.7.2 (2018-10-18)

Bug Fixes

Features

  • button: add disableRipple property (0c80b69)

1.7.1 (2018-10-14)

Bug Fixes

1.7.0 (2018-10-13)

Bug Fixes

  • field: add prefix, suffix & hint (136b13b)
  • field: fix align (4ae2524)
  • field: fix appearance (75d64aa)
  • field: fix bg filled in mode dark (7c085f2)
  • field: fix max width label (ab7188f)
  • field: fix placeholder (1523b19)
  • field: fix position placeholder (ac0e7df)
  • field: fix styles for textarea with rows (e0cb704)
  • field: fix textarea (c29611b)
  • field: fix theme (8542964)
  • field: fix variables (b37f2a5)
  • field: fix withColor (2d92f6b)
  • field: update styles (bd43014)

Features

  • core: add mutation observer (a9ff395)
  • field: add styles for input native (d29e7a1)
  • field: add caretColor (d49472d)
  • field: add filled type (3392520)
  • field: add outlined type (ad3feee)
  • field: add standard field (4466623)
  • field: initial commit for field (3a0cdff)

1.7.0-beta.76gq3 (2018-10-01)

Bug Fixes

  • drawer: add transitionProperty (186c63f)

Features

  • core: update core to apply the customizable theme easily (0ccfabe)

BREAKING CHANGES

  • core: Set theme

before:

/** Add theme */
export class MyCustomTheme implements LyThemeConfig {
  themes = [CustomMinimaLight, CustomMinimaDark];
  /** overwrite for light & dark */
  variables = new GlobalVariables;
}

@NgModule({
  provides: [
    { provide: LY_THEME_CONFIG, useClass: MyCustomTheme }
  ]
  ...
})

after:

@NgModule({
  ...
  imports: [
    LyThemeModule.setTheme('minima-dark')
  ],
  provides: [
    ...
    { provide: LY_THEME, useClass: CustomMinimaLight, multi: true },
    { provide: LY_THEME, useClass: CustomMinimaDark, multi: true },
    { provide: LY_THEME_GLOBAL_VARIABLES, useClass: GlobalVariables } // global variables, overwrite for light & dark
  ]

1.7.0-beta.75cav (2018-10-01)

Bug Fixes

  • badge: fix position (200baba)
  • button: use ripple styles (319a661)
  • core: add style priority (881ec78)
  • drawer: fix animation when toggle drawer (9142a14)
  • drawer: remove text content in template backdrop (f574b28)
  • icon-button: fix overflow style (a0dc7c2)
  • icon-button: remove overflow style (5e00c54)

Features

  • badge: initial commit for badge (a17683d)
  • ripple: add container style (ead9a3d)
  • ripple: add ripple variables (ee59488)
  • theme: add animations to variables (d21961d)

1.7.0-beta.73atw (2018-09-30)

Bug Fixes

  • button: fix overflow (2478ccc)
  • core: do not update classname when it is equal to the new (56aeec7)
  • core: do not update classname when it is equal to the new (68ef173)
  • drawer: fix drawer over (32e984d)
  • drawer: fix responsive drawer (166d8ff)
  • drawer: fix styles (ee4351f)
  • drawer: fix toggle drawer (74c82a9)
  • drawer: force mode over (8cb715d)
  • image-cropper: update gesture config (9d3814c)
  • responsive: remove unused files (b6dc6e5)
  • responsive: remove unused variables (4d23dea)
  • ripple: fix trigger element (c00e49b)
  • fix gesture config (38d6dfa)
  • remove deprecated method (8dd555c)
  • ripple: fix trigger element container (5f5d4a3)
  • ripple: remove unused styles (8897d89)
  • theme: fix add zIndex (3a55727)
  • toolbar: fix zIndex (f7e6a59)

Features

  • drawer: add responsive drawer (363ceec)
  • add direction property optional (f3e8e7e)

1.7.0-beta.6gxhn (2018-09-18)

Bug Fixes

  • core: 'fontFamily' does not exist on type in theme.typography (759be9b)
  • fix typography variables (403588c)
  • toolbar: fix cannot determine the module for class ToolbarItem (3b37b3c)
  • toolbar: fix position on new value (3a0d23b)
  • toolbar: set default bg (8eb1696)

Features

  • toolbar: add the ability to position the toolbar (baee37d)

1.7.0-beta.6d2nq (2018-09-15)

Bug Fixes

  • button: add style priority (2d9ee24)
  • button: fix style priority (9d30d48)
  • card: add style priority (ac91210)
  • card: fix style priority (f6b0e1e)
  • carousel: add style priority (3fee681)
  • carousel: fix style priority (83be366)
  • carousel: remove unused style (95eccbd)
  • grid: add style priority (f7adf01)
  • grid: fix style priority (e5a3de4)
  • icon: fix style priority (a8dd08e)
  • icon: set style priority (e4ea510)
  • icon-button: fix style priority (9415b18)
  • icon-button: set style priority (5076b4f)
  • menu: remove LyMenuDeprecated (452b0d5)
  • menu: remove unused styles (b5088a7)
  • radio: set style priority (b312a8e)
  • toolbar: update styles & set style priority (758f5b3)
  • typography: set style priority (9a59d3e)

Features

  • image-cropper: update styles & set style priority (44dd2fa)

1.7.0-beta.6b7cf (2018-09-14)

Bug Fixes

  • card: fix responsive (146d959)
  • theme: move breakpoints in theme (28e8d42)

Features

  • card: responsive (bae0923)
  • core: add shadow property for PaletteColor (71cb45f)
  • core: fix global variables (6f95433)
  • core: option for add optional global variables change theme (a20a270)
  • create property breakpoints in ThemeVariables (4529fa3)

1.7.0-beta.63q2l (2018-09-10)

Bug Fixes

  • grid: rename LyGridCol to LyGridItem (1a80a0a)

Features

1.7.0-beta.603x9 (2018-09-08)

Bug Fixes

  • core: remove unused variables (5d2922b)
  • docs: add button Stackblitz (188f3a4)

1.7.0-beta.5rfx4 (2018-09-04)

Features

  • menu: support lazy loading (36b3b13)
  • menu: update position on scroll (d696fc9)

1.7.0-beta.5k53n (2018-08-31)

Features

  • grid: add direction & justify (b9a331d)

1.7.0-beta.5hkh9 (2018-08-29)

Bug Fixes

  • icon: fix icon default class (2ec8488)

1.7.0-beta.5hie9 (2018-08-29)

Bug Fixes

  • core: fix styles in ssr (b9b6fde)

1.7.0-beta.5gg5p (2018-08-29)

Bug Fixes

  • core: Failed to execute 'insertBefore' on 'Node'... (cb3cab2)

1.7.0-beta.5gch8 (2018-08-29)

Bug Fixes

  • card: update styles (55bc854)
  • carousel: remove unused variables (c2b7495)
  • carousel: update styles (ad6bc02)
  • carousel: update styles (0602a02)
  • core: fix ssr (20394eb)
  • core: remove unused style container (5c193f3)
  • core: update styles (10f19a7)
  • grid: move grid @alyle/ui/layout to @alyle/ui/grid (3797aa0)
  • remove unused files (1506267)
  • icon: update styles (5ec2ef1)
  • icon-button: update styles (a338cea)
  • input: update styles (1714ff1)
  • radio: remove unused variables (6339fbf)
  • radio: update styles (4fb7e22)

Features

  • responsive: update styles (783f3b7)
  • tabs: add ripple for tabs (94378f9)

BREAKING CHANGES

  • grid: new grid ultra responsive @alyle/ui/grid

With @alyle/ui/layout

@alyle/ui/layout deprecated

before:

<grid [gutter]="16">
  <grid [col]="'6 12@XSmall'">
    <p>col=6</p>
  </grid>
  <grid [col]="'6 12@XSmall'">
    <p>col=6</p>
  </grid>
</grid>

Import @alyle/ui/grid

after:

<ly-grid container [spacing]="16 8@XSmall">
  <ly-grid item [col]="'6 12@XSmall'">
    <p>col=12</p>
  </ly-grid>
  <ly-grid item [col]="'6 12@XSmall'">
    <p>col=12</p>
  </ly-grid>
</ly-grid>

1.7.0-beta.54p91 (2018-08-22)

Bug Fixes

  • core: addStyleSheet return named object of the classes (7478a33)

Features

  • core: add option for global style (5cdf290)

1.7.0-beta.50yre (2018-08-20)

Bug Fixes

  • theme: fix setTheme multiples themes (8814f9e)
  • theme: fix setTheme not working (bafa607)
  • theme: fix multiples themes (093f6de)
  • theme: get className in devMode() (2b6d25e)

Features

  • core: add colorOf to LyStyleUtils (9bc08c9)

Performance Improvements

1.7.0-beta.4u2xw (2018-08-17)

Bug Fixes

  • button: change classses to public (678e0e8)
  • theme: rename styleName to withClass directive (f9f1c79)
  • theme: rename MinimaThemeModule to ThemeMinimaModule (ab2e2f4)
  • theme: update interface for Style (397653e)

Features

  • button: update button with addStyleSheet (e5c9e33)
  • tabs: add selectedIndexOnChange for tabs (865d45a)
  • tabs: support tabs with async (dc08d0e)
  • theme: add withClass directive (fba487f)
  • theme: add styleName directive (0542d4b)
  • theme: converter className id number to string with radix 36 (f5e5346)

Performance Improvements

  • theme: cache style (ecf26d5)
  • theme: now addStyle works with CLASSES_MAP (a77a7e2)

1.7.0-beta.4imhk (2018-08-11)

Bug Fixes

1.7.0-beta.4iic8 (2018-08-10)

Bug Fixes

  • button: fix sizes (f0e1716)
  • theme: fix circular dependency (ecc90e9)

Features

  • theme: add Dynamic styles (09f9de8)

1.7.0-beta.4bkua (2018-08-07)

Bug Fixes

1.7.0-beta.461kq (2018-08-04)

Bug Fixes

  • button: fix size button (d445db2)
  • card: fix elevation with value 0 (efaae25)
  • card: rename aspectRatio to ratio (194f4d6)

Features

  • button: add small, medium & large button (b805de3)
  • card: add ly-card-content & ly-card-card-actions (916f43a)
  • card: add ly-card-media (aba7d55)
  • typography: add gutter (8877028)

1.7.0-beta.3wtkb (2018-07-30)

Bug Fixes

  • button: use typography variables for style (42b800c)
  • theme: remove logs (1b95473)

1.7.0-beta.3vwyc (2018-07-29)

Bug Fixes

  • docs: fix demos for card & typography (bf04c66)

Documentation

Features

  • theme: add LyThemeModule (628491a)

BREAKING CHANGES

  • theme: for theming use LyThemeModule or MinimaThemeModule

To set a new theme you should import LyThemeModule

example:

Before:

<element lyTheme="minima-dark">

After:

// app.module.ts
// Available themes: minima-dark & minima-light

@NgModule({
  ...
   LyThemeModule.setTheme('minima-dark')
})

examples for child theme:

Before:

@NgModule({
  ...
   LyCommonModule, // <-- theme, bg, color, raised & others
})
<element lyTheme="minima-dark">

After:

import theme

@NgModule({
  ...
  LyCommonModule, // <-- bg, color, raised & others
  MinimaThemeModule // <-- themes
})
<element ly-theme-minima-dark>

1.7.0-beta.3pcd9 (2018-07-26)

Features

  • core: add parameter for Style (34405d2)
  • theme: update theme (feb65fb)
  • typography: initial commit for typography (288b9e3)

1.7.0-beta.3jiq1 (2018-07-23)

Bug Fixes

Features

Performance Improvements

  • flex: generate style only when the key is different (a6fc154)

BREAKING CHANGES

  • grid: * @alyle/ui/flex is now in @alyle/ui/layout

1.7.0-beta.21zck (2018-06-24)

Features

  • responsive: add lyShow & lyHide (f4dfd04)

Performance Improvements

  • carousel: fix animations (d55a48f)

1.7.0-beta.21zck (2018-06-24)

Features

  • responsive: add lyShow & lyHide (f4dfd04)

Performance Improvements

  • carousel: fix animations (d55a48f)

1.7.0-beta.1j64w (2018-06-14)

Bug Fixes

  • button: set ViewEncapsulation.None (725a605)
  • carousel: add styles to slideContainer (3639ac6)
  • carousel: fix interval (126e420)
  • carousel: fix slide event (196e7b8)
  • carousel: remove styleUrls (e444309)

Features

  • carousel: add slideEvent (ed63f0b)
  • docs: update get-started (33a90b7)

1.7.0-beta.1fomk (2018-06-12)

Bug Fixes

  • bg, color: change to createStyle (817d6c8)
  • core: Support for angular universal (4504557)
  • core: Support for universal (6851d28)
  • docs: update bg & color docs (1476dda)
  • prism: remove comments (cb15680)
  • ripple: create dynamic styles (c6c40ef)
  • shadow: error default shadow (54c0210)
  • shadow: replace setClassName to updateRootClass (6a59ec2)
  • shadow: update demo (9fe97b6)
  • shadow: update shadow on change theme (6c06a7f)
  • theme: multiple themes (0eaee7d)
  • theme: scheme (1f178c2)
  • auto contrast (fc0612c)
  • svg (1147323)

Features

  • color: add auto contrast (31f177a)
  • core: support for multiple themes (d8652f2)
  • cropping: custom background color (d1bc719)
  • docs: add docs for auto contrast (487c10d)
  • docs: add languajes to prism directive (43928dd)
  • docs: add multiple themes (992a202)
  • docs: update docs (6a63c4c)
  • shadow: add demo-01 (59a9af7)
  • shadow: update shadow when necessary (daea4a1)
  • theme: add updateRootClass (cc2d58e)
  • theme: Support for custom theme (bc80734)
  • theme: update styles on change (82ee1b6)

Performance Improvements