@indigina/ui-kit 1.1.71 → 1.1.72
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/esm2022/lib/components/kit-scroll-navigation/kit-scroll-navigation-section/kit-scroll-navigation-section.component.mjs +27 -0
- package/esm2022/lib/components/kit-scroll-navigation/kit-scroll-navigation.component.mjs +70 -0
- package/esm2022/lib/components/kit-scroll-navigation/kit-scroll-navigation.module.mjs +37 -0
- package/esm2022/public-api.mjs +5 -1
- package/fesm2022/indigina-ui-kit.mjs +118 -1
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/lib/components/kit-scroll-navigation/kit-scroll-navigation-section/kit-scroll-navigation-section.component.d.ts +12 -0
- package/lib/components/kit-scroll-navigation/kit-scroll-navigation.component.d.ts +20 -0
- package/lib/components/kit-scroll-navigation/kit-scroll-navigation.module.d.ts +11 -0
- package/package.json +1 -1
- package/public-api.d.ts +3 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ElementRef, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class KitScrollNavigationSectionComponent {
|
|
4
|
+
/**
|
|
5
|
+
* Defines the navigation item title
|
|
6
|
+
*/
|
|
7
|
+
title: string;
|
|
8
|
+
sectionTemplate: TemplateRef<HTMLElement> | null;
|
|
9
|
+
sectionContent: ElementRef | null;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitScrollNavigationSectionComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitScrollNavigationSectionComponent, "kit-scroll-navigation-section", never, { "title": { "alias": "title"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, QueryList, WritableSignal } from '@angular/core';
|
|
2
|
+
import { KitScrollNavigationSectionComponent } from './kit-scroll-navigation-section/kit-scroll-navigation-section.component';
|
|
3
|
+
import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
|
|
4
|
+
import { KitButtonKind, KitButtonType } from '../kit-button/kit-button.const';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class KitScrollNavigationComponent implements AfterViewInit {
|
|
7
|
+
items: QueryList<KitScrollNavigationSectionComponent> | null;
|
|
8
|
+
content: ElementRef | null;
|
|
9
|
+
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
10
|
+
readonly KitButtonType: typeof KitButtonType;
|
|
11
|
+
readonly KitButtonKind: typeof KitButtonKind;
|
|
12
|
+
readonly activeSectionIndex: WritableSignal<number>;
|
|
13
|
+
ngAfterViewInit(): void;
|
|
14
|
+
onSectionScroll(): void;
|
|
15
|
+
scrollToSection(index: number): void;
|
|
16
|
+
private setLastSectionMinHeight;
|
|
17
|
+
private calculateLastSectionMinHeight;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitScrollNavigationComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitScrollNavigationComponent, "kit-scroll-navigation", never, {}, {}, ["items"], never, false, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./kit-scroll-navigation.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../kit-button/kit-button.module";
|
|
5
|
+
import * as i4 from "../kit-svg-icon/kit-svg-icon.module";
|
|
6
|
+
import * as i5 from "./kit-scroll-navigation-section/kit-scroll-navigation-section.component";
|
|
7
|
+
export declare class KitScrollNavigationModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitScrollNavigationModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitScrollNavigationModule, [typeof i1.KitScrollNavigationComponent], [typeof i2.CommonModule, typeof i3.KitButtonModule, typeof i4.KitSvgIconModule, typeof i5.KitScrollNavigationSectionComponent], [typeof i1.KitScrollNavigationComponent, typeof i5.KitScrollNavigationSectionComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitScrollNavigationModule>;
|
|
11
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -136,3 +136,6 @@ export { KitTileLayoutComponent } from './lib/components/kit-tilelayout/kit-tile
|
|
|
136
136
|
export { KitTileLayoutModule } from './lib/components/kit-tilelayout/kit-tilelayout.module';
|
|
137
137
|
export { KitTileLayoutItemComponent } from './lib/components/kit-tilelayout/kit-tilelayout-item.component';
|
|
138
138
|
export { KitTileLayoutColumnsConfig } from './lib/components/kit-tilelayout/kit-tilelayout.interface';
|
|
139
|
+
export { KitScrollNavigationModule } from './lib/components/kit-scroll-navigation/kit-scroll-navigation.module';
|
|
140
|
+
export { KitScrollNavigationComponent } from './lib/components/kit-scroll-navigation/kit-scroll-navigation.component';
|
|
141
|
+
export { KitScrollNavigationSectionComponent, } from './lib/components/kit-scroll-navigation/kit-scroll-navigation-section/kit-scroll-navigation-section.component';
|