@danarakca/keu-ui 0.0.1 → 1.1.0

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/package.json CHANGED
@@ -1,14 +1,15 @@
1
1
  {
2
2
  "name": "@danarakca/keu-ui",
3
- "version": "0.0.1",
4
- "description": "Danarakca Design System Angular UI Library for Kementerian Keuangan RI",
3
+ "version": "1.1.0",
4
+ "description": "Keu Design System - Shared UI components library",
5
5
  "keywords": [
6
6
  "angular",
7
+ "ui",
7
8
  "design-system",
8
- "kemenkeu",
9
- "ui-components",
9
+ "components",
10
10
  "danarakca"
11
11
  ],
12
+ "author": "CORE APBN Team",
12
13
  "license": "MIT",
13
14
  "peerDependencies": {
14
15
  "@angular/common": "^21.1.0",
@@ -3,3 +3,39 @@
3
3
  * Import this file in your root styles to enable all keu-* CSS variables.
4
4
  * ========================================================================== */
5
5
  @import './styles/tokens';
6
+
7
+ /* =============================================================================
8
+ * Global Styles
9
+ * ========================================================================== */
10
+ *,
11
+ *::before,
12
+ *::after {
13
+ box-sizing: border-box;
14
+ }
15
+
16
+ body {
17
+ font-family: var(--keu-font-family);
18
+ font-size: var(--keu-font-size-md);
19
+ line-height: 1.5;
20
+ color: var(--keu-color-text);
21
+ -webkit-font-smoothing: antialiased;
22
+ -moz-osx-font-smoothing: grayscale;
23
+ }
24
+
25
+ /* Apply font to all keu components */
26
+ [class^="keu-"],
27
+ [class*=" keu-"] {
28
+ font-family: var(--keu-font-family);
29
+ }
30
+
31
+ /* Reset default button styles */
32
+ button {
33
+ font-family: inherit;
34
+ }
35
+
36
+ /* Reset default input styles */
37
+ input,
38
+ textarea,
39
+ select {
40
+ font-family: inherit;
41
+ }
@@ -2,6 +2,9 @@
2
2
  // Danarakca Design System — Design Tokens
3
3
  // =============================================================================
4
4
 
5
+ // Import Inter font from Google Fonts
6
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
7
+
5
8
  :root {
6
9
  // ===========================================================================
7
10
  // GLOBAL COLORS — WARNA PUBLIK
@@ -308,6 +308,7 @@ declare class KeuTableComponent {
308
308
  emptyText: string;
309
309
  loading: boolean;
310
310
  stickyHeader: boolean;
311
+ headerVariant: 'default' | 'primary';
311
312
  paginated: boolean;
312
313
  pageSize: number;
313
314
  currentPage: number;
@@ -347,7 +348,7 @@ declare class KeuTableComponent {
347
348
  onPageSizeChange(event: Event): void;
348
349
  private emitSelection;
349
350
  static ɵfac: i0.ɵɵFactoryDeclaration<KeuTableComponent, never>;
350
- static ɵcmp: i0.ɵɵComponentDeclaration<KeuTableComponent, "keu-table", never, { "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "striped": { "alias": "striped"; "required": false; }; "hoverable": { "alias": "hoverable"; "required": false; }; "bordered": { "alias": "bordered"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "emptyText": { "alias": "emptyText"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; }; "paginated": { "alias": "paginated"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "pageSizes": { "alias": "pageSizes"; "required": false; }; "paginationShape": { "alias": "paginationShape"; "required": false; }; }, { "sortChange": "sortChange"; "selectionChange": "selectionChange"; "rowClick": "rowClick"; "pageChange": "pageChange"; }, ["emptyTemplate", "cellTemplates", "headerCellTemplates"], never, true, never>;
351
+ static ɵcmp: i0.ɵɵComponentDeclaration<KeuTableComponent, "keu-table", never, { "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "striped": { "alias": "striped"; "required": false; }; "hoverable": { "alias": "hoverable"; "required": false; }; "bordered": { "alias": "bordered"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "emptyText": { "alias": "emptyText"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; }; "headerVariant": { "alias": "headerVariant"; "required": false; }; "paginated": { "alias": "paginated"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "pageSizes": { "alias": "pageSizes"; "required": false; }; "paginationShape": { "alias": "paginationShape"; "required": false; }; }, { "sortChange": "sortChange"; "selectionChange": "selectionChange"; "rowClick": "rowClick"; "pageChange": "pageChange"; }, ["emptyTemplate", "cellTemplates", "headerCellTemplates"], never, true, never>;
351
352
  }
352
353
 
353
354
  type KeuCheckboxLayout = 'block' | 'inline';