ng-tailwind 2.24.305 → 2.24.306
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/ng-tailwind.umd.js +8 -5
- package/bundles/ng-tailwind.umd.js.map +1 -1
- package/esm2015/components/ngt-action/ngt-action.component.js +6 -4
- package/esm2015/components/ngt-portlet/ngt-portlet-header/ngt-portlet-header.component.js +3 -2
- package/esm2015/components/ngt-svg/ngt-svg.component.js +2 -2
- package/fesm2015/ng-tailwind.js +8 -5
- package/fesm2015/ng-tailwind.js.map +1 -1
- package/ng-tailwind.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -1628,7 +1628,7 @@
|
|
|
1628
1628
|
NgtSvgComponent.decorators = [
|
|
1629
1629
|
{ type: core.Component, args: [{
|
|
1630
1630
|
selector: 'ngt-svg',
|
|
1631
|
-
template: "<svg-icon [src]='src' class=\"flex {{ class }}\"></svg-icon
|
|
1631
|
+
template: "<svg-icon [src]='src' class=\"flex {{ class }}\"></svg-icon>\r\n",
|
|
1632
1632
|
host: {
|
|
1633
1633
|
class: 'flex justify-center'
|
|
1634
1634
|
},
|
|
@@ -2835,9 +2835,11 @@
|
|
|
2835
2835
|
w: 'w-full',
|
|
2836
2836
|
color: {
|
|
2837
2837
|
bg: 'bg-gray-500',
|
|
2838
|
-
text: 'text-white'
|
|
2838
|
+
text: 'text-white',
|
|
2839
|
+
border: '',
|
|
2839
2840
|
},
|
|
2840
|
-
text: 'text-xl'
|
|
2841
|
+
text: 'text-xl',
|
|
2842
|
+
border: '',
|
|
2841
2843
|
});
|
|
2842
2844
|
}
|
|
2843
2845
|
NgtActionComponent.prototype.onClick = function (event) {
|
|
@@ -2850,7 +2852,7 @@
|
|
|
2850
2852
|
NgtActionComponent.decorators = [
|
|
2851
2853
|
{ type: core.Component, args: [{
|
|
2852
2854
|
selector: 'ngt-action',
|
|
2853
|
-
template: "<a *ngIf=\"href\"\r\n [class]=\"isDisabled ? 'block rounded-full cursor-not-allowed text-gray-600 bg-gray-400 hover:bg-gray-400 opacity-50' : 'cursor-pointer'\"\r\n [routerLink]=\"href\" (click)='onClick($event)'>\r\n <div\r\n class=\"flex justify-center rounded-full {{ ngtStyle.compile(['h', 'w', 'color.bg', 'color.text', 'px', 'py', 'shadow', 'text']) }}\">\r\n <ngt-svg [src]=\"icon\" class='self-center' *ngIf=\"icon\"
|
|
2855
|
+
template: "<a *ngIf=\"href\"\r\n [class]=\"isDisabled ? 'block rounded-full cursor-not-allowed text-gray-600 bg-gray-400 hover:bg-gray-400 opacity-50' : 'cursor-pointer'\"\r\n [routerLink]=\"href\" (click)='onClick($event)'>\r\n <div\r\n class=\"flex justify-center rounded-full {{ ngtStyle.compile(['h', 'w', 'color.bg', 'color.text', 'px', 'py', 'shadow', 'text']) }}\">\r\n <ngt-svg [src]=\"icon\" class='self-center' *ngIf=\"icon\">\r\n </ngt-svg>\r\n <div class=\"self-center\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n</a>\r\n\r\n<a *ngIf=\"!href\"\r\n [class]=\"isDisabled ? 'block rounded-full cursor-not-allowed text-gray-600 bg-gray-400 hover:bg-gray-400 opacity-50' : 'cursor-pointer'\"\r\n (click)='onClick($event)'>\r\n <div\r\n class=\"flex justify-center rounded-full {{ ngtStyle.compile(['h', 'w', 'color.bg', 'color.text', 'px', 'py', 'shadow', 'text', 'border', 'color.border']) }}\">\r\n <ngt-svg [src]=\"icon\" class='self-center' *ngIf=\"icon\"></ngt-svg>\r\n <div class=\"self-center\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n</a>\r\n",
|
|
2854
2856
|
styles: [""]
|
|
2855
2857
|
},] }
|
|
2856
2858
|
];
|
|
@@ -5901,6 +5903,7 @@
|
|
|
5901
5903
|
this.ngtStyle.load(this.injector, 'NgtPortletHeader', {
|
|
5902
5904
|
h: 'h-auto',
|
|
5903
5905
|
w: 'w-auto',
|
|
5906
|
+
border: 'border-b',
|
|
5904
5907
|
color: {}
|
|
5905
5908
|
}, ['NgtPortletStyle']);
|
|
5906
5909
|
}
|
|
@@ -5909,7 +5912,7 @@
|
|
|
5909
5912
|
NgtPortletHeaderComponent.decorators = [
|
|
5910
5913
|
{ type: core.Component, args: [{
|
|
5911
5914
|
selector: 'ngt-portlet-header',
|
|
5912
|
-
template: "<div class='
|
|
5915
|
+
template: "<div class='leading-loose {{ ngtStyle.compile([\"h\", \"color.text\", \"color.bg\", \"border\"]) }}'>\r\n <div class=\"flex flex-wrap md:flex-no-wrap h-full relative px-3 md:px-8 py-2\">\r\n <div *ngIf=\"caption || icon\" class=\"flex md:whitespace-no-wrap\">\r\n <ngt-svg [src]=\"icon\" class=\"mr-1 text-xl\" *ngIf=\"icon\"></ngt-svg>\r\n <div class=\"flex font-medium self-center\">\r\n <span class=\"text-xl\">{{ caption }}</span>\r\n\r\n <ngt-helper *ngIf=\"helperText\" [helpTitle]=\"helperTitle\" class=\"ml-1 mt-1\"\r\n [iconColor]=\"helperIconColor\">\r\n {{ helperText }}\r\n </ngt-helper>\r\n </div>\r\n </div>\r\n\r\n <div [hidden]='!leftHeader?.children[0]?.children?.length'\r\n class=\"self-center {{ ngtStyle.compile(['position', 'w']) }}\" #leftHeader>\r\n <ng-content select=\"[left-header]\"></ng-content>\r\n </div>\r\n\r\n <div [hidden]='!header?.children[0]?.children?.length'\r\n class=\"self-center {{ ngtStyle.compile(['position', 'w']) }}\" #header>\r\n <ng-content select=\"[header]\"></ng-content>\r\n </div>\r\n\r\n <div class=\"{{ !rightHeader?.children[0]?.children?.length ? 'hidden' : 'flex justify-end ml-auto self-center' }} {{ ngtStyle.compile(['position', 'w']) }}\"\r\n #rightHeader>\r\n <ng-content select=\"[right-header]\"></ng-content>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
5913
5916
|
styles: [""]
|
|
5914
5917
|
},] }
|
|
5915
5918
|
];
|