2.9.7 (2019-12-04)
2.9.6 (2019-10-24)
- cropper: support for Ionic (f539e34)
- slider: always emit the input event (ee866a0)
- increase 15% alpha for disabled state (0dd2cce)
- select: add custom trigger (d7741ce)
- select: correctly align the elements inside
ly-option(f4d445d)
2.9.4 (2019-09-15)
- carousel: add input
pauseOnHover(cfc02de)
2.9.3 (2019-08-01)
- completely destroy menu in lazy-loading when menu is open and the method of a button is to go to another route (81935d9)
- add option
disableClosetoLyDialogConfigandLyOverlayConfig(ccfe2ee) - menu: add open and closed state events (a61e7e1)
2.9.2 (2019-07-18)
- fix
Positioningwhen it exceeds the limits of the screen (286f547) - field: fix reactive field (1175298)
2.9.1 (2019-07-14)
- field: fix input when is loaded dinamically (108463e)
2.9.0 (2019-07-06)
- tabs: tab indicator is not updated when another tab is selected in SSR (6374e41)
- add
existStylemethod (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)
- field: add
display: blockto fullWidth (139265c) - tabs:
selectedIndexChangedo not emit first value (1ce4fe7)
- tabs: add
@Input() activeforLyTabLabel(f8dfd9f)
2.7.7 (2019-05-24)
- button: remove animation when a button is rendered (f81cec2)
2.7.6 (2019-05-08)
- fix raised & elevation with
nullvalue (8208505) - dialog: update position of dialog when there are changes (e191600)
- tooltip: fix RTL (4ca1b38)
- img-cropper: add option
extraZoomOut(2f936f5)
And some improvements to the docs.
2.7.0 (2019-04-18)
- field: fix theme variables (ff58123)
- tabs:
_tabLabelof undefined (1515f60) - tabs: fix scrollable tab (ef0dbd3)
- toolbar: change
densetoappearance="dense"(3a34659) - fix some bugs (7aae2bb)
- fix StackBlitz demos (cbdbc9d)
- 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)
- core: avoid conflicts with common behaviors. (62845ad)
- core: remove default value for
bgandcolor(322807a) - style: allow
@globalin any nested style (b6db615) - theme: fix variable
disabled(cb39f67)
2.5.2 (2019-03-11)
- core: fix overflow of overlay (e54062c)
2.5.1 (2019-03-07)
- core: do not scroll when creating an overlay (dc302a2)
2.5.0 (2019-03-06)
- carousel: the
intervalattribute is not updated when the value is changed (e9c4c03) - select: fix
dirtytrue on init component (f8e6093) - select: list of options is not displayed when you click on the ends of the field (68ca277)
2.3.2 (2019-02-15)
- 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)
2.3.1 (2019-02-10)
- select: fix bug when a new value is established in multiple selection (210ae61)
2.3.0 (2019-02-07)
- 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)
- dialog: initial commit for
dialog(#74) (13a3bd9) - grid: add property
lyGridItem(91d7682) - theme: add method
stylefor create style with inmutable variable (2d876b2) - toolbar: add property
dense(4b14f13) - typography: add
mixinColor(f462be5)
2.1.2 (2019-01-31)
- img-cropper: add property
maxFileSize(6d845df)
2.1.1 (2019-01-31)
- field, select: show hint error when it is validated (35c0a9c)
2.1.0 (2019-01-29)
2.0.7 (2019-01-22)
- core: add
variables(d0720e3) - menu: improve
transform-orgin(136b4a0) - menu: update position of menu on scroll or resize (a48261d)
- field: add the
focusEventto<ly-field>(87efa4c) - snack-bar: support for Infinity duration (90ffd1c)
2.0.4 (2019-01-15)
- enable strictNullChecks (#71) (5b19d13)
- core: improve
eachMedia(a5f2937) - field, list, radio, tooltip: fix memory leaks (c02b212)
2.0.3 (2019-01-09)
- 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-barwhen the component destroyed (659c0f2) - snack-bar: fix animations when opening snack-bar (7b8ee55)
- schematics: add option to create components with dynamic styles (5752224)
2.0.2 (2019-01-07)
2.0.1 (2019-01-01)
2.0.0 Stable (2018-12-30)
- field: add
ly-error(c5c12be) - grid: add
@Input() spacingX&@Input() spacingY(cfa8669) - radio: add styles for
onFocusByKeyboard(bc47a5e)
1.9.11 (2018-12-27)
1.9.10 (2018-12-22)
- 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)
- 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.base64is now deprecated, usecropperEvent.dataURLinstead
before:
onCropped(e: ImgCropperEvent) {
this.croppedImage = e.base64;
}after:
onCropped(e: ImgCropperEvent) {
this.croppedImage = e.dataUrl;
}1.9.9 (2018-12-19)
- 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)
- tabs: multiple unnecessary indicator updates (26d0ec2)
- tabs: styles for the active tab are not applied with
OnPush(4cc73ce)
- tabs: add property
scrollable(58fc0e6)
1.9.7 (2018-12-16)
- 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)
- list: add initial commit for
ly-list(a69a1c5)
1.9.6 (2018-12-13)
- 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)
- img-cropper: add param to
setImageUrl(45234ff)
1.9.5 (2018-12-11)
- 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
viewChildelement (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
headerPlacementwhen 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
LyButtonwithLyTabLabel(eccad38) - typography: change
fontSizeto string (49430ca)
- 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
parentStyletoaddStyle(b8432f8) - tab: add
headerPlacement, textColor, indicatorColor & alignTabs(a8ff27f) - tabs: update tab indicator on resize (23fffd7)
- field: before:
<ly-field>
<input>
</ly-field>after:
<ly-field>
<input lyInput>
</ly-field>1.9.4 (2018-12-07)
- 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)
- css-in-js: change
starttobefore&endtoafter(e8ddd6c) - snack-bar: remove type
'start' | 'end'inhorizontalPosition(2ab77da) - theme: remove optional type for
direction(248c061)
- core: add method
toggleDirection(0b14178) - css-in-js: add key style
above&below(e52c570) - drawer: add
spacingBefore,spacingAfter&hasBackdrop(f779d88)
- css-in-js: before:
const style = ({
start: '1em',
marginStart: '1em'
});after:
const style = ({
before: '1em',
marginBefore: '1em'
});1.9.2 (2018-12-03)
- img-cropper: fix the file type output (0ba5290)
1.9.1 (2018-12-03)
1.9.0 (2018-12-01)
- core: prevent selection when many clicks are made in overlay (08eb9eb)
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)
- button: ability to set styles from the theme (0970dd5)
- core: fix when the theme is changed with multiple themes (397c499)
- core: remove deprecated param
keyforaddStyleSheet(47d012c) - tooltip: fix
No component factory found for LyOverlayBackdrop(0a3db67) - tooltip: update default
lyTooltipHideDelayto0(e4c8022)
- core: add
$nameto name styles (c6c17fc)
1.8.8 (2018-11-29)
Fail in prod mode
1.8.7 (2018-11-27)
- 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)
1.8.6 (2018-11-24)
- docs: update docs (58a54c2)
1.8.5 (2018-11-23)
1.8.4 (2018-11-22)
- button: add focus state (d350bd0)
- button: add hover state (93d9246)
- docs: add icon demo (7e4b75c)
- icon: add
registerFontClass(514ed99)
1.8.3 (2018-11-21)
- core: fix typings (04d2b1c)
1.8.2 (2018-11-20)
- button: update STYLE_PRIORITY for
appearance(6c0a4df)
1.8.1 (2018-11-20)
- 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)
1.7.11 (2018-11-15)
- 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)
1.7.9 (2018-11-11)
- img-cropper: improve (#63) (3e5cf53), closes #63
- Rotate
- Autocrop
- Assign pictures to the cropper from an URL
- Set & get current position, scale
cropperEvent.base64is now deprecated, use insteadcropperEvent.dataURL
before:
onCropped(e: ImgCropperEvent) {
this.croppedImage = e.base64;
}after:
onCropped(e: ImgCropperEvent) {
this.croppedImage = e.dataUrl;
}1.7.8 (2018-11-08)
- 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)
- minor changes (a576ebc)
- update peerDependencies (566656c)
- button: fix minWidth (aea9b9f)
- card: fix api (1e5c1d7)
- core: fix theme (2af6909)
- field, menu: fix theme variables (957c59b)
- img-cropper: fix api (9693075)
- img-cropper: fix api (1c6dbbb)
- menu: fix api (d8f1ae5)
- badge: add variables for badge (0c82fc9)
- core: add directions in styles (6631ff3)
- img-cropper: add clean method (a83986b)
- theme: improve the creation of styles (909a93f)
1.7.6 (2018-10-26)
- add
minScaleproperty (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)
- img-cropper: emit ImgCropperEvent on
loaded(2136028)
1.7.5 (2018-10-25)
- core: support to use more of '&' in multiple styles (fc2cb75)
- img-cropper: improve img copper (#61) (f9ad2c0)
1.7.3 (2018-10-20)
- core: support to create multiple styles without key (#59) (246e4fb)
- field: add description (9b9f7d1)
1.7.2 (2018-10-18)
- button: add disableRipple property (0c80b69)
1.7.1 (2018-10-14)
1.7.0 (2018-10-13)
- 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)
- 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)
- drawer: add transitionProperty (186c63f)
- core: update core to apply the customizable theme easily (0ccfabe)
- 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)
- 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)
- 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)
- 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)
1.7.0-beta.6gxhn (2018-09-18)
- 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)
- toolbar: add the ability to position the toolbar (baee37d)
1.7.0-beta.6d2nq (2018-09-15)
- 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)
- image-cropper: update styles & set style priority (44dd2fa)
1.7.0-beta.6b7cf (2018-09-14)
- 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)
- grid: rename
LyGridColtoLyGridItem(1a80a0a)
- grid: add order option (2803457)
1.7.0-beta.603x9 (2018-09-08)
1.7.0-beta.5rfx4 (2018-09-04)
1.7.0-beta.5k53n (2018-08-31)
- grid: add
direction&justify(b9a331d)
1.7.0-beta.5hkh9 (2018-08-29)
- icon: fix icon default class (2ec8488)
1.7.0-beta.5hie9 (2018-08-29)
- core: fix styles in ssr (b9b6fde)
1.7.0-beta.5gg5p (2018-08-29)
- core: Failed to execute 'insertBefore' on 'Node'... (cb3cab2)
1.7.0-beta.5gch8 (2018-08-29)
- 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/layoutto@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)
- 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)
- core:
addStyleSheetreturn named object of the classes (7478a33)
- core: add option for global style (5cdf290)
1.7.0-beta.50yre (2018-08-20)
- theme: fix
setThememultiples themes (8814f9e) - theme: fix
setThemenot working (bafa607) - theme: fix multiples themes (093f6de)
- theme: get className in
devMode()(2b6d25e)
- core: add
colorOftoLyStyleUtils(9bc08c9)
- button: update styles (8efee2b)
1.7.0-beta.4u2xw (2018-08-17)
- button: change classses to public (678e0e8)
- theme: rename
styleNametowithClassdirective (f9f1c79) - theme: rename MinimaThemeModule to ThemeMinimaModule (ab2e2f4)
- theme: update interface for Style (397653e)
- button: update button with
addStyleSheet(e5c9e33) - tabs: add
selectedIndexOnChangefor tabs (865d45a) - tabs: support tabs with async (dc08d0e)
- theme: add
withClassdirective (fba487f) - theme: add styleName directive (0542d4b)
- theme: converter className id number to string with radix 36 (f5e5346)
1.7.0-beta.4imhk (2018-08-11)
- theme: fix types (beb2c9b)
1.7.0-beta.4iic8 (2018-08-10)
- theme: add Dynamic styles (09f9de8)
1.7.0-beta.4bkua (2018-08-07)
- fix imports (1de7e2d)
- tabs: change min-width to 72 (f994a13)
- tabs: fix animations (a02811b)
- tabs: fix color (e4c946e)
- tabs: fix indicator (70157ea)
- theme: clean styles in browser (942d270)
1.7.0-beta.461kq (2018-08-04)
- button: fix size button (d445db2)
- card: fix elevation with value 0 (efaae25)
- card: rename aspectRatio to ratio (194f4d6)
- 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)
1.7.0-beta.3vwyc (2018-07-29)
- docs: fix demos for card & typography (bf04c66)
- theme: update theme (a4c0105)
- theme: add LyThemeModule (628491a)
- 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)
- core: add parameter for Style (34405d2)
- theme: update theme (feb65fb)
- typography: initial commit for typography (288b9e3)
1.7.0-beta.3jiq1 (2018-07-23)
- doc: fix docs (2672bab)
- flex: generate style only when the key is different (a6fc154)
- grid: *
@alyle/ui/flexis now in @alyle/ui/layout
1.7.0-beta.21zck (2018-06-24)
- responsive: add lyShow & lyHide (f4dfd04)
- carousel: fix animations (d55a48f)
1.7.0-beta.21zck (2018-06-24)
- responsive: add lyShow & lyHide (f4dfd04)
- carousel: fix animations (d55a48f)
1.7.0-beta.1j64w (2018-06-14)
- button: set ViewEncapsulation.None (725a605)
- carousel: add styles to slideContainer (3639ac6)
- carousel: fix interval (126e420)
- carousel: fix slide event (196e7b8)
- carousel: remove styleUrls (e444309)
- 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)
- 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)
- theme (163cf9a)