@akcelik/strct 0.31.1 → 1.0.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/fesm2022/akcelik-strct.mjs +148 -62
- package/fesm2022/akcelik-strct.mjs.map +1 -1
- package/package.json +1 -1
- package/types/akcelik-strct.d.ts +11 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akcelik/strct",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "UIStruct — a standalone Angular component library with a tokenised, multi-palette theme system, built for datacenter / infrastructure management UIs.",
|
|
5
5
|
"author": "Serkan Akcelik <serkan.akcelik@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
package/types/akcelik-strct.d.ts
CHANGED
|
@@ -1798,6 +1798,8 @@ declare class StrctDatepicker implements ControlValueAccessor {
|
|
|
1798
1798
|
/** Placeholder text when empty. */
|
|
1799
1799
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
1800
1800
|
protected readonly dow: string[];
|
|
1801
|
+
protected readonly dowFull: string[];
|
|
1802
|
+
protected readonly titleId: string;
|
|
1801
1803
|
readonly value: _angular_core.WritableSignal<string>;
|
|
1802
1804
|
readonly open: _angular_core.WritableSignal<boolean>;
|
|
1803
1805
|
readonly isDisabled: _angular_core.WritableSignal<boolean>;
|
|
@@ -1808,12 +1810,21 @@ declare class StrctDatepicker implements ControlValueAccessor {
|
|
|
1808
1810
|
protected readonly monthLabel: _angular_core.Signal<string>;
|
|
1809
1811
|
protected readonly displayLabel: _angular_core.Signal<string>;
|
|
1810
1812
|
protected readonly cells: _angular_core.Signal<DayCell[]>;
|
|
1813
|
+
/** The 42 cells chunked into ARIA grid rows (weeks). */
|
|
1814
|
+
protected readonly weeks: _angular_core.Signal<DayCell[][]>;
|
|
1815
|
+
/** Accessible name of one day cell: "Tuesday, March 4, 2026". */
|
|
1816
|
+
protected cellAria(cell: DayCell): string;
|
|
1811
1817
|
private onChange;
|
|
1812
1818
|
private onTouched;
|
|
1813
1819
|
toggle(): void;
|
|
1814
1820
|
shiftMonth(delta: number): void;
|
|
1815
1821
|
pick(iso: string): void;
|
|
1822
|
+
constructor();
|
|
1816
1823
|
onKeydown(event: KeyboardEvent): void;
|
|
1824
|
+
/** Day-of-week (0–6) of the keyboard cursor. */
|
|
1825
|
+
private focusedDow;
|
|
1826
|
+
/** Close the panel and hand focus back to the input. */
|
|
1827
|
+
private close;
|
|
1817
1828
|
private syncFocus;
|
|
1818
1829
|
private shiftFocus;
|
|
1819
1830
|
protected onDocClick(event: MouseEvent): void;
|