@foxeltech/angular-ui 0.7.124 → 0.7.133
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/components.css +5 -4
- package/fesm2022/foxeltech-angular-ui-flow.mjs +42 -11
- package/fesm2022/foxeltech-angular-ui-flow.mjs.map +1 -1
- package/fesm2022/foxeltech-angular-ui.mjs +33 -11
- package/fesm2022/foxeltech-angular-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/styles/components.css +5 -4
- package/src/lib/styles/utilities.css +9 -4
- package/src/lib/ui/components/button/button.component.html +37 -225
- package/src/lib/ui/components/button/button.component.scss +30 -0
- package/src/lib/ui/components/drawer/drawer.component.html +4 -4
- package/src/lib/ui/components/drawer/drawer.component.scss +26 -19
- package/src/lib/ui/components/master-detail/master-detail.component.css +36 -8
- package/src/lib/ui/components/master-detail/master-detail.component.html +4 -2
- package/src/lib/ui/components/stat-cards/stat-cards.component.css +18 -0
- package/types/foxeltech-angular-ui-flow.d.ts +24 -2
- package/types/foxeltech-angular-ui.d.ts +22 -3
- package/utilities.css +9 -4
|
@@ -2097,8 +2097,27 @@ declare class MasterDetailComponent implements AfterViewInit, AfterContentInit {
|
|
|
2097
2097
|
/** True when the host projected a [mdFacets] block — switches to 3 columns. */
|
|
2098
2098
|
hasFacets: boolean;
|
|
2099
2099
|
table: BaseMasterDetailComponent<any>;
|
|
2100
|
-
/**
|
|
2101
|
-
|
|
2100
|
+
/**
|
|
2101
|
+
* Optional CAP on the list pane.
|
|
2102
|
+
*
|
|
2103
|
+
* The list is the flexible track now (the design's `204px 1fr 340px`), so it
|
|
2104
|
+
* takes whatever the rail and the detail leave. Set this only for a screen
|
|
2105
|
+
* whose rows genuinely stop reading better past some width; left unset the
|
|
2106
|
+
* property is not emitted at all and the pane simply fills.
|
|
2107
|
+
*/
|
|
2108
|
+
readonly listWidth: _angular_core.InputSignal<string | null>;
|
|
2109
|
+
/**
|
|
2110
|
+
* The detail pane's fixed track — the design's own 340px, and 450px on the
|
|
2111
|
+
* screens anh Tú widened (17/09).
|
|
2112
|
+
*
|
|
2113
|
+
* Pass `'auto'` (or null) to give the detail the SPARE width instead and cap
|
|
2114
|
+
* the list at `listWidth` — the pre-0.7.130 behaviour, which Binaries and
|
|
2115
|
+
* Remediation keep because their panes carry header blocks, metric grids and
|
|
2116
|
+
* step lists that a narrow track cannot hold.
|
|
2117
|
+
*/
|
|
2118
|
+
readonly detailWidth: _angular_core.InputSignal<string | null>;
|
|
2119
|
+
/** true = detail takes the spare width; false = it is a fixed track. */
|
|
2120
|
+
protected detailFluid(): boolean;
|
|
2102
2121
|
/**
|
|
2103
2122
|
* Chiều cao CHUNG của cả ba cụm (facets / list / detail). Mặc định trừ phần
|
|
2104
2123
|
* chrome phía trên (topbar + tab strip + context line) khỏi viewport để
|
|
@@ -2144,7 +2163,7 @@ declare class MasterDetailComponent implements AfterViewInit, AfterContentInit {
|
|
|
2144
2163
|
optionId(index: number): string;
|
|
2145
2164
|
onKeydown(event: KeyboardEvent, index: number): void;
|
|
2146
2165
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MasterDetailComponent, never>;
|
|
2147
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MasterDetailComponent, "fx-ui-master-detail", never, { "table": { "alias": "table"; "required": false; }; "listWidth": { "alias": "listWidth"; "required": false; "isSignal": true; }; "paneHeight": { "alias": "paneHeight"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; "isSignal": true; }; "listLabel": { "alias": "listLabel"; "required": false; "isSignal": true; }; "skeletonCards": { "alias": "skeletonCards"; "required": false; "isSignal": true; }; "paginationStyle": { "alias": "paginationStyle"; "required": false; "isSignal": true; }; "prevLabel": { "alias": "prevLabel"; "required": false; "isSignal": true; }; "nextLabel": { "alias": "nextLabel"; "required": false; "isSignal": true; }; "pageLabel": { "alias": "pageLabel"; "required": false; "isSignal": true; }; "ofLabel": { "alias": "ofLabel"; "required": false; "isSignal": true; }; "facetsOpen": { "alias": "facetsOpen"; "required": false; "isSignal": true; }; "facetsLabel": { "alias": "facetsLabel"; "required": false; "isSignal": true; }; "expandFacetsLabel": { "alias": "expandFacetsLabel"; "required": false; "isSignal": true; }; "collapseFacetsLabel": { "alias": "collapseFacetsLabel"; "required": false; "isSignal": true; }; }, {}, ["rowTemplate", "detailTemplate"], ["[mdFacets]", "[mdHeader]", "[mdFilters]"], true, never>;
|
|
2166
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MasterDetailComponent, "fx-ui-master-detail", never, { "table": { "alias": "table"; "required": false; }; "listWidth": { "alias": "listWidth"; "required": false; "isSignal": true; }; "detailWidth": { "alias": "detailWidth"; "required": false; "isSignal": true; }; "paneHeight": { "alias": "paneHeight"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; "isSignal": true; }; "listLabel": { "alias": "listLabel"; "required": false; "isSignal": true; }; "skeletonCards": { "alias": "skeletonCards"; "required": false; "isSignal": true; }; "paginationStyle": { "alias": "paginationStyle"; "required": false; "isSignal": true; }; "prevLabel": { "alias": "prevLabel"; "required": false; "isSignal": true; }; "nextLabel": { "alias": "nextLabel"; "required": false; "isSignal": true; }; "pageLabel": { "alias": "pageLabel"; "required": false; "isSignal": true; }; "ofLabel": { "alias": "ofLabel"; "required": false; "isSignal": true; }; "facetsOpen": { "alias": "facetsOpen"; "required": false; "isSignal": true; }; "facetsLabel": { "alias": "facetsLabel"; "required": false; "isSignal": true; }; "expandFacetsLabel": { "alias": "expandFacetsLabel"; "required": false; "isSignal": true; }; "collapseFacetsLabel": { "alias": "collapseFacetsLabel"; "required": false; "isSignal": true; }; }, {}, ["rowTemplate", "detailTemplate"], ["[mdFacets]", "[mdHeader]", "[mdFilters]"], true, never>;
|
|
2148
2167
|
}
|
|
2149
2168
|
|
|
2150
2169
|
interface FxMenuItem {
|
package/utilities.css
CHANGED
|
@@ -8,10 +8,15 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
@utility btn-common {
|
|
11
|
-
/*
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
/* The demo's `.og-button--sm` (anh Tú 17/09: compact như New Analysis) —
|
|
12
|
+
27px tall, 11.5px at weight 400, 12px sides, 7px radius. MEASURED off the
|
|
13
|
+
reference's own `.og-button--sm.bi-newbtn`, which is the topbar CTA: it
|
|
14
|
+
wore this shape through `!` overrides because the shared button was a size
|
|
15
|
+
above it. The h-8 / 13px / 600 this replaces was itself a step down from
|
|
16
|
+
pre-V2 h-10 (29/08); against V2 panel density it still read one notch
|
|
17
|
+
heavy. leading-none: an arbitrary font-size inherits lh 1.5 and Archivo's
|
|
18
|
+
uneven leading floats the ink ~1px above centre. */
|
|
19
|
+
@apply flex text-[length:var(--og-fs-xs)] leading-none h-[27px] font-normal px-[12px] py-[4px] items-center justify-center rounded-control shadow-sm transition-all duration-200 disabled:opacity-50 disabled:pointer-events-none disabled:cursor-not-allowed;
|
|
15
20
|
}
|
|
16
21
|
|
|
17
22
|
@utility btn-menu-common {
|