codexly-ui 0.1.11 → 0.1.13
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
package/types/codexly-ui.d.ts
CHANGED
|
@@ -679,6 +679,8 @@ interface ClxSelectOption {
|
|
|
679
679
|
value: string | number;
|
|
680
680
|
label: string;
|
|
681
681
|
disabled?: boolean;
|
|
682
|
+
/** Renders the option label using this font family, for font-picker selects */
|
|
683
|
+
previewFontFamily?: string;
|
|
682
684
|
}
|
|
683
685
|
|
|
684
686
|
type PageItem = {
|
|
@@ -1962,6 +1964,8 @@ declare class ClxSelectComponent implements ControlValueAccessor {
|
|
|
1962
1964
|
protected readonly _activeColor: Signal<ClxColorInput>;
|
|
1963
1965
|
private readonly _el;
|
|
1964
1966
|
private readonly _sso;
|
|
1967
|
+
private readonly _isBrowser;
|
|
1968
|
+
private readonly _loadedFonts;
|
|
1965
1969
|
readonly _scrollStrategy: _angular_cdk_overlay.RepositionScrollStrategy;
|
|
1966
1970
|
constructor();
|
|
1967
1971
|
private _onChange;
|
|
@@ -1985,6 +1989,7 @@ declare class ClxSelectComponent implements ControlValueAccessor {
|
|
|
1985
1989
|
protected readonly _filteredOptions: Signal<ClxSelectOption[]>;
|
|
1986
1990
|
protected readonly _showAsyncPlaceholder: Signal<boolean>;
|
|
1987
1991
|
protected readonly _displayValue: Signal<string>;
|
|
1992
|
+
protected readonly _displayFontFamily: Signal<string | null>;
|
|
1988
1993
|
protected readonly _overlayWidth: Signal<number>;
|
|
1989
1994
|
protected readonly _labelClass: Signal<string>;
|
|
1990
1995
|
protected readonly _hintClass: Signal<string>;
|
|
@@ -1998,6 +2003,7 @@ declare class ClxSelectComponent implements ControlValueAccessor {
|
|
|
1998
2003
|
protected _optionClass(opt: ClxSelectOption): string;
|
|
1999
2004
|
protected _togglePanel(): void;
|
|
2000
2005
|
private _openPanel;
|
|
2006
|
+
private _loadPreviewFont;
|
|
2001
2007
|
protected _closePanel(): void;
|
|
2002
2008
|
protected _selectOption(opt: ClxSelectOption): void;
|
|
2003
2009
|
protected _deselect(value: string | number): void;
|
|
@@ -2680,7 +2686,7 @@ declare class ClxCartSummaryDrawer {
|
|
|
2680
2686
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxCartSummaryDrawer, "clx-cart-summary-drawer", never, {}, {}, never, never, true, never>;
|
|
2681
2687
|
}
|
|
2682
2688
|
|
|
2683
|
-
type ClxFontFamily = 'Roboto' | 'Inter' | 'Poppins' | 'Plus Jakarta Sans' | 'Nunito' | 'DM Sans' | 'Geist' | 'Lato' | 'Montserrat' | 'Open Sans' | 'Work Sans' | 'Manrope' | 'Sora' | 'Outfit' | 'Rubik' | 'Source Sans 3' | 'Space Grotesk' | 'Merriweather' | 'Playfair Display' | 'Lora' | 'PT Serif' | 'Caveat' | 'Dancing Script';
|
|
2689
|
+
type ClxFontFamily = 'Roboto' | 'Inter' | 'Poppins' | 'Plus Jakarta Sans' | 'Nunito' | 'DM Sans' | 'Geist' | 'Lato' | 'Montserrat' | 'Open Sans' | 'Work Sans' | 'Manrope' | 'Sora' | 'Outfit' | 'Rubik' | 'Source Sans 3' | 'Space Grotesk' | 'Merriweather' | 'Playfair Display' | 'Lora' | 'PT Serif' | 'Caveat' | 'Dancing Script' | 'Cinzel' | 'Berkshire Swash' | 'JetBrains Mono' | 'Orbitron' | 'UnifrakturMaguntia' | 'Pirata One' | 'Press Start 2P' | 'Bungee';
|
|
2684
2690
|
interface ClxFontOption {
|
|
2685
2691
|
label: string;
|
|
2686
2692
|
value: ClxFontFamily;
|