@fxlt/common-ui 0.0.4-rc1 → 0.0.4
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/BeVietnamPro/BeVietnamPro-Bold.ttf +0 -0
- package/BeVietnamPro/BeVietnamPro-ExtraLight.ttf +0 -0
- package/BeVietnamPro/BeVietnamPro-Light.ttf +0 -0
- package/BeVietnamPro/BeVietnamPro-Medium.ttf +0 -0
- package/BeVietnamPro/BeVietnamPro-SemiBold.ttf +0 -0
- package/BeVietnamPro/BeVietnamPro-Thin.ttf +0 -0
- package/components.css +36 -2
- package/dm-sans/DMSans-Bold.ttf +0 -0
- package/dm-sans/DMSans-Light.ttf +0 -0
- package/dm-sans/DMSans-Medium.ttf +0 -0
- package/dm-sans/DMSans-Regular.ttf +0 -0
- package/dm-sans/DMSans-SemiBold.ttf +0 -0
- package/dm-sans/DMSans-Thin.ttf +0 -0
- package/fesm2022/fxlt-common-ui.mjs +11 -4
- package/fesm2022/fxlt-common-ui.mjs.map +1 -1
- package/fonts.css +115 -3
- package/index.d.ts +2 -1
- package/orbitron/Orbitron-Bold.ttf +0 -0
- package/orbitron/Orbitron-Medium.ttf +0 -0
- package/orbitron/Orbitron-Regular.ttf +0 -0
- package/orbitron/Orbitron-SemiBold.ttf +0 -0
- package/package.json +1 -3
- package/src/lib/styles/components.css +36 -2
- package/src/lib/styles/fonts.css +115 -3
- package/src/lib/styles/tailwind.css +1 -1
- package/src/lib/styles/theme.css +4 -0
- package/src/lib/ui/components/tag/tag.component.html +7 -35
- package/tailwind.config.js +9 -0
- package/tailwind.css +1 -1
- package/theme.css +4 -0
- /package/{BeVietnamPro-Regular.ttf → BeVietnamPro/BeVietnamPro-Regular.ttf} +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/components.css
CHANGED
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
padding-top: 4px !important;
|
|
94
94
|
padding-bottom: 4px !important;
|
|
95
95
|
line-height: 24px !important;
|
|
96
|
-
font-family: '
|
|
96
|
+
font-family: 'BeVietnamPro';
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
.mdc-data-table__row {
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
padding-bottom: 8px !important;
|
|
109
109
|
padding-left: 16px !important;
|
|
110
110
|
padding-right: 16px !important; */
|
|
111
|
-
font-family: '
|
|
111
|
+
font-family: 'BeVietnamPro';
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
.mat-mdc-cell {
|
|
@@ -181,6 +181,9 @@ input[type='password'] {
|
|
|
181
181
|
.txt-heading-07 {
|
|
182
182
|
@apply font-semibold text-sm tracking-normal leading-5 text-text-primary;
|
|
183
183
|
}
|
|
184
|
+
.txt-heading-table {
|
|
185
|
+
@apply text-base font-dmsans font-semibold text-text-primary tracking-tight;
|
|
186
|
+
}
|
|
184
187
|
.txt-heading-compact-02 {
|
|
185
188
|
@apply font-semibold text-sm tracking-normal leading-5 text-text-primary;
|
|
186
189
|
}
|
|
@@ -381,6 +384,27 @@ input[type='password'] {
|
|
|
381
384
|
.tag-information {
|
|
382
385
|
@apply tag-common bg-information/10;
|
|
383
386
|
}
|
|
387
|
+
.tag-default-solid {
|
|
388
|
+
@apply tag-common bg-bg-hover;
|
|
389
|
+
}
|
|
390
|
+
.tag-success-solid {
|
|
391
|
+
@apply tag-common bg-success;
|
|
392
|
+
}
|
|
393
|
+
.tag-warning-solid {
|
|
394
|
+
@apply tag-common bg-warning;
|
|
395
|
+
}
|
|
396
|
+
.tag-danger-solid {
|
|
397
|
+
@apply tag-common bg-danger;
|
|
398
|
+
}
|
|
399
|
+
.tag-critical-solid {
|
|
400
|
+
@apply tag-common bg-critical;
|
|
401
|
+
}
|
|
402
|
+
.tag-discovery-solid {
|
|
403
|
+
@apply tag-common bg-discovery;
|
|
404
|
+
}
|
|
405
|
+
.tag-information-solid {
|
|
406
|
+
@apply tag-common bg-information;
|
|
407
|
+
}
|
|
384
408
|
.tag-square {
|
|
385
409
|
@apply rounded px-semi py-small;
|
|
386
410
|
}
|
|
@@ -451,3 +475,13 @@ input[type='password'] {
|
|
|
451
475
|
.dialog-header {
|
|
452
476
|
@apply px-xl py-semi;
|
|
453
477
|
}
|
|
478
|
+
.border-gradient-primary {
|
|
479
|
+
border: 1px solid transparent;
|
|
480
|
+
background:
|
|
481
|
+
linear-gradient(var(--surface, #fff), var(--surface, #fff)) padding-box,
|
|
482
|
+
linear-gradient(
|
|
483
|
+
135deg,
|
|
484
|
+
rgb(var(--gradient-primary-start)),
|
|
485
|
+
rgb(var(--gradient-primary-end))
|
|
486
|
+
) border-box;
|
|
487
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -317,6 +317,7 @@ class FxUtils {
|
|
|
317
317
|
case 'failed':
|
|
318
318
|
case 'inactive':
|
|
319
319
|
case 'critical':
|
|
320
|
+
case 'stopped':
|
|
320
321
|
return 'critical';
|
|
321
322
|
case 'high':
|
|
322
323
|
if (isCriticalExist) {
|
|
@@ -327,13 +328,16 @@ class FxUtils {
|
|
|
327
328
|
case 'processing':
|
|
328
329
|
case 'paused':
|
|
329
330
|
case 'medium':
|
|
331
|
+
case 'warning':
|
|
330
332
|
return 'warning';
|
|
331
333
|
case 'completed':
|
|
332
334
|
case 'success':
|
|
333
335
|
case 'active':
|
|
334
336
|
case 'low':
|
|
337
|
+
case 'running':
|
|
335
338
|
return 'success';
|
|
336
339
|
case 'queue':
|
|
340
|
+
case 'waiting':
|
|
337
341
|
case 'info':
|
|
338
342
|
return 'information';
|
|
339
343
|
case 'discovery':
|
|
@@ -1311,7 +1315,7 @@ class ChartComponent {
|
|
|
1311
1315
|
chartClick = new EventEmitter();
|
|
1312
1316
|
chartInit = new EventEmitter();
|
|
1313
1317
|
labelFontSize = 12;
|
|
1314
|
-
labelFontFamily = '
|
|
1318
|
+
labelFontFamily = 'BeVietnamPro';
|
|
1315
1319
|
chartOptions = {};
|
|
1316
1320
|
chartInstance;
|
|
1317
1321
|
resizeObserver;
|
|
@@ -1417,7 +1421,7 @@ class ChartComponent {
|
|
|
1417
1421
|
top: 'bottom',
|
|
1418
1422
|
right: 10,
|
|
1419
1423
|
textStyle: {
|
|
1420
|
-
fontFamily: "
|
|
1424
|
+
fontFamily: "BeVietnamPro",
|
|
1421
1425
|
color: FxUtils.convertColorFromVariable('--text-primary'),
|
|
1422
1426
|
fontSize: 12,
|
|
1423
1427
|
fontWeight: 500,
|
|
@@ -2700,12 +2704,13 @@ class TagComponent {
|
|
|
2700
2704
|
type = 'default';
|
|
2701
2705
|
rounded = true;
|
|
2702
2706
|
icon;
|
|
2707
|
+
solid = false;
|
|
2703
2708
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: TagComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2704
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.4", type: TagComponent, isStandalone: false, selector: "fx-ui-tag", inputs: { label: "label", type: "type", rounded: "rounded", icon: "icon" }, ngImport: i0, template: "<div\n class=\"flex flex-row gap-
|
|
2709
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.4", type: TagComponent, isStandalone: false, selector: "fx-ui-tag", inputs: { label: "label", type: "type", rounded: "rounded", icon: "icon", solid: "solid" }, ngImport: i0, template: "<div\n [class]=\"`flex flex-row gap-small ${rounded ? 'tag-round' : 'tag-square'} tag-${type}${solid ? '-solid' : ''}`\"\n>\n @if(icon){\n <fx-ui-hero-icon\n [class]=\"`flex txt-tag-${type} ${solid ? 'text-white': ''}`\"\n [icon]=\"icon\"\n [size]=\"18\"\n ></fx-ui-hero-icon>\n }\n\n <div [class]=\"`txt-tag-${type} ${solid ? 'text-white': ''}`\">\n {{ label }}\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: HeroIconComponent, selector: "fx-ui-hero-icon", inputs: ["icon", "solid", "outline", "size", "color", "class"] }] });
|
|
2705
2710
|
}
|
|
2706
2711
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: TagComponent, decorators: [{
|
|
2707
2712
|
type: Component,
|
|
2708
|
-
args: [{ selector: 'fx-ui-tag', standalone: false, template: "<div\n class=\"flex flex-row gap-
|
|
2713
|
+
args: [{ selector: 'fx-ui-tag', standalone: false, template: "<div\n [class]=\"`flex flex-row gap-small ${rounded ? 'tag-round' : 'tag-square'} tag-${type}${solid ? '-solid' : ''}`\"\n>\n @if(icon){\n <fx-ui-hero-icon\n [class]=\"`flex txt-tag-${type} ${solid ? 'text-white': ''}`\"\n [icon]=\"icon\"\n [size]=\"18\"\n ></fx-ui-hero-icon>\n }\n\n <div [class]=\"`txt-tag-${type} ${solid ? 'text-white': ''}`\">\n {{ label }}\n </div>\n</div>\n" }]
|
|
2709
2714
|
}], propDecorators: { label: [{
|
|
2710
2715
|
type: Input
|
|
2711
2716
|
}], type: [{
|
|
@@ -2714,6 +2719,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImpor
|
|
|
2714
2719
|
type: Input
|
|
2715
2720
|
}], icon: [{
|
|
2716
2721
|
type: Input
|
|
2722
|
+
}], solid: [{
|
|
2723
|
+
type: Input
|
|
2717
2724
|
}] } });
|
|
2718
2725
|
|
|
2719
2726
|
class TreeDiagram {
|