@vsn-ux/ngx-gaia 0.3.0 → 0.4.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/README.md +1 -5
- package/fesm2022/vsn-ux-ngx-gaia.mjs +127 -31
- package/fesm2022/vsn-ux-ngx-gaia.mjs.map +1 -1
- package/lib/icon/icon.component.d.ts +4 -1
- package/lib/menu/menu-trigger.directive.d.ts +1 -1
- package/lib/segmented-control/index.d.ts +2 -0
- package/lib/segmented-control/segmented-control-icon-button.component.d.ts +8 -0
- package/lib/segmented-control/segmented-control-text-button.component.d.ts +6 -0
- package/lib/segmented-control/segmented-control.component.d.ts +1 -1
- package/lib/segmented-control/segmented-control.module.d.ts +3 -2
- package/lib/select/index.d.ts +1 -1
- package/lib/select/select-dropdown-spinner.component.d.ts +5 -0
- package/lib/select/select.module.d.ts +2 -2
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/root-font-size.token.d.ts +9 -0
- package/package.json +3 -3
- package/public-api.d.ts +1 -0
- package/lib/select/select-dropdown-loading.component.d.ts +0 -5
|
@@ -4,12 +4,15 @@ type HtmlAttributes = {
|
|
|
4
4
|
};
|
|
5
5
|
type LucideIconNode = readonly [string, HtmlAttributes];
|
|
6
6
|
export type GaIconData = readonly LucideIconNode[];
|
|
7
|
+
export declare const GA_ICON_DEFAULT_SIZE = 24;
|
|
7
8
|
export declare class GaIconComponent {
|
|
8
9
|
private readonly elementRef;
|
|
10
|
+
private readonly baseFontSize;
|
|
9
11
|
readonly icon: import("@angular/core").InputSignal<string | GaIconData>;
|
|
10
|
-
readonly size: import("@angular/core").InputSignal<string | number
|
|
12
|
+
readonly size: import("@angular/core").InputSignal<string | number>;
|
|
11
13
|
readonly color: import("@angular/core").InputSignal<string | undefined>;
|
|
12
14
|
readonly strokeWidth: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
15
|
+
readonly sizeWithDimension: import("@angular/core").Signal<string>;
|
|
13
16
|
constructor(ariaHiddenAttr: string);
|
|
14
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<GaIconComponent, [{ attribute: "aria-hidden"; }]>;
|
|
15
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<GaIconComponent, "ga-icon", never, { "icon": { "alias": "icon"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -7,5 +7,5 @@ export declare class GaMenuTriggerDirective {
|
|
|
7
7
|
readonly isOpen: import("@angular/core").Signal<boolean>;
|
|
8
8
|
constructor();
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<GaMenuTriggerDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GaMenuTriggerDirective, "[gaMenuTrigger]", ["gaMenuTrigger"], { "menuRef": { "alias": "gaMenuTrigger"; "required": true; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.CdkMenuTrigger; inputs: {}; outputs: {}; }]>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GaMenuTriggerDirective, "[gaMenuTrigger]", ["gaMenuTrigger"], { "menuRef": { "alias": "gaMenuTrigger"; "required": true; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.CdkMenuTrigger; inputs: {}; outputs: { "cdkMenuOpened": "gaMenuOpened"; "cdkMenuClosed": "gaMenuClosed"; }; }]>;
|
|
11
11
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { GaIconData } from '../icon';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GaSegmentedControlIconButtonComponent {
|
|
4
|
+
readonly value: import("@angular/core").InputSignal<string>;
|
|
5
|
+
readonly icon: import("@angular/core").InputSignal<GaIconData>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GaSegmentedControlIconButtonComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GaSegmentedControlIconButtonComponent, "ga-segmented-control-icon-button", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "icon": { "alias": "icon"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class GaSegmentedControlTextButtonComponent {
|
|
3
|
+
readonly value: import("@angular/core").InputSignal<string>;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GaSegmentedControlTextButtonComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GaSegmentedControlTextButtonComponent, "ga-segmented-control-text-button", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
6
|
+
}
|
|
@@ -3,5 +3,5 @@ export declare class GaSegmentedControlComponent {
|
|
|
3
3
|
readonly selected: import("@angular/core").ModelSignal<string | undefined>;
|
|
4
4
|
readonly change: import("@angular/core").OutputEmitterRef<string | undefined>;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<GaSegmentedControlComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GaSegmentedControlComponent, "ga-segmented-control", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; "change": "change"; }, never, ["
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GaSegmentedControlComponent, "ga-segmented-control", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; "change": "change"; }, never, ["*"], true, never>;
|
|
7
7
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./segmented-control.component";
|
|
3
|
-
import * as i2 from "./segmented-control-button.
|
|
3
|
+
import * as i2 from "./segmented-control-icon-button.component";
|
|
4
|
+
import * as i3 from "./segmented-control-text-button.component";
|
|
4
5
|
export declare class GaSegmentedControlModule {
|
|
5
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<GaSegmentedControlModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<GaSegmentedControlModule, never, [typeof i1.GaSegmentedControlComponent, typeof i2.
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GaSegmentedControlModule, never, [typeof i1.GaSegmentedControlComponent, typeof i2.GaSegmentedControlIconButtonComponent, typeof i3.GaSegmentedControlTextButtonComponent], [typeof i1.GaSegmentedControlComponent, typeof i2.GaSegmentedControlIconButtonComponent, typeof i3.GaSegmentedControlTextButtonComponent]>;
|
|
7
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<GaSegmentedControlModule>;
|
|
8
9
|
}
|
package/lib/select/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export * from './select.component';
|
|
|
2
2
|
export * from './option.component';
|
|
3
3
|
export * from './opt-group.component';
|
|
4
4
|
export * from './select-dropdown.component';
|
|
5
|
-
export * from './select-dropdown-
|
|
5
|
+
export * from './select-dropdown-spinner.component';
|
|
6
6
|
export * from './select-value.component';
|
|
7
7
|
export * from './select-required.validator';
|
|
8
8
|
export * from './select.module';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class GaSelectDropdownSpinnerComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GaSelectDropdownSpinnerComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GaSelectDropdownSpinnerComponent, "ga-select-dropdown-spinner", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -3,11 +3,11 @@ import * as i1 from "./select.component";
|
|
|
3
3
|
import * as i2 from "./option.component";
|
|
4
4
|
import * as i3 from "./opt-group.component";
|
|
5
5
|
import * as i4 from "./select-dropdown.component";
|
|
6
|
-
import * as i5 from "./select-dropdown-
|
|
6
|
+
import * as i5 from "./select-dropdown-spinner.component";
|
|
7
7
|
import * as i6 from "./select-value.component";
|
|
8
8
|
import * as i7 from "./select-required.validator";
|
|
9
9
|
export declare class GaSelectModule {
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<GaSelectModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<GaSelectModule, never, [typeof i1.GaSelectComponent, typeof i2.GaOptionComponent, typeof i3.GaOptgroupComponent, typeof i4.GaSelectDropdownComponent, typeof i5.
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GaSelectModule, never, [typeof i1.GaSelectComponent, typeof i2.GaOptionComponent, typeof i3.GaOptgroupComponent, typeof i4.GaSelectDropdownComponent, typeof i5.GaSelectDropdownSpinnerComponent, typeof i6.GaSelectValueComponent, typeof i7.GaSelectRequiredValidator], [typeof i1.GaSelectComponent, typeof i2.GaOptionComponent, typeof i3.GaOptgroupComponent, typeof i4.GaSelectDropdownComponent, typeof i5.GaSelectDropdownSpinnerComponent, typeof i6.GaSelectValueComponent, typeof i7.GaSelectRequiredValidator]>;
|
|
12
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<GaSelectModule>;
|
|
13
13
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './root-font-size.token';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
/**
|
|
3
|
+
* Injection token that provides the base root font size in pixels.
|
|
4
|
+
* This token is used for accurate rem calculations when the default
|
|
5
|
+
* browser font size (16px) has been overridden by application styles.
|
|
6
|
+
* Default value is 16px if not explicitly provided.
|
|
7
|
+
*/
|
|
8
|
+
export declare const GA_BASE_FONT_SIZE: InjectionToken<number>;
|
|
9
|
+
export declare function provideGaBaseFontSize(fontSize: number): import("@angular/core").EnvironmentProviders;
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vsn-ux/ngx-gaia",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/cdk": "^19.0.0",
|
|
6
6
|
"@angular/common": "^19.0.0",
|
|
7
7
|
"@angular/core": "^19.0.0",
|
|
8
|
-
"@vsn-ux/gaia-styles": "^0.
|
|
9
|
-
"lucide-angular": "
|
|
8
|
+
"@vsn-ux/gaia-styles": "^0.4.0",
|
|
9
|
+
"lucide-angular": ">=0.475.0 <1.0.0"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"tslib": "^2.3.0"
|
package/public-api.d.ts
CHANGED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class GaSelectDropdownLoadingComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GaSelectDropdownLoadingComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GaSelectDropdownLoadingComponent, "ga-select-dropdown-loader", never, {}, {}, never, never, true, never>;
|
|
5
|
-
}
|