@indigina/ui-kit 1.1.88 → 1.1.89
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-grid/kit-grid.component.mjs +2 -2
- package/esm2022/lib/components/kit-sortable/kit-sortable.component.mjs +36 -0
- package/esm2022/lib/components/kit-switch/kit-switch.component.mjs +2 -2
- package/esm2022/lib/components/kit-text-label/kit-text-label.component.mjs +2 -2
- package/esm2022/public-api.mjs +5 -3
- package/fesm2022/indigina-ui-kit.mjs +40 -8
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/lib/components/kit-sortable/kit-sortable.component.d.ts +24 -0
- package/package.json +2 -1
- package/public-api.d.ts +1 -0
- package/styles/theming.scss +1 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Signal, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class KitSortableComponent<T> {
|
|
4
|
+
/**
|
|
5
|
+
* An items list which is going to be rendered as sortable items
|
|
6
|
+
*/
|
|
7
|
+
items: T[];
|
|
8
|
+
/**
|
|
9
|
+
* Defines the number of columns of the component
|
|
10
|
+
*/
|
|
11
|
+
columnCount?: number;
|
|
12
|
+
/**
|
|
13
|
+
* Defines the css class which is applied to each item
|
|
14
|
+
*/
|
|
15
|
+
itemClass?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Defines the css class which is applied to the active item.
|
|
18
|
+
*/
|
|
19
|
+
activeItemClass?: string;
|
|
20
|
+
readonly itemTemplate: Signal<TemplateRef<HTMLElement> | undefined>;
|
|
21
|
+
get columnsCount(): number | null;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitSortableComponent<any>, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitSortableComponent<any>, "kit-sortable", never, { "items": { "alias": "items"; "required": false; }; "columnCount": { "alias": "columnCount"; "required": false; }; "itemClass": { "alias": "itemClass"; "required": false; }; "activeItemClass": { "alias": "activeItemClass"; "required": false; }; }, {}, ["itemTemplate"], never, true, never>;
|
|
24
|
+
}
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"components",
|
|
8
8
|
"shared"
|
|
9
9
|
],
|
|
10
|
-
"version": "1.1.
|
|
10
|
+
"version": "1.1.89",
|
|
11
11
|
"peerDependencies": {
|
|
12
12
|
"@angular/common": "^18.2.6",
|
|
13
13
|
"@angular/core": "^18.2.6"
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"@progress/kendo-angular-navigation": "16.10.0",
|
|
31
31
|
"@progress/kendo-angular-popup": "16.10.0",
|
|
32
32
|
"@progress/kendo-angular-progressbar": "16.10.0",
|
|
33
|
+
"@progress/kendo-angular-sortable": "16.10.0",
|
|
33
34
|
"@progress/kendo-angular-tooltip": "16.10.0",
|
|
34
35
|
"@progress/kendo-angular-treeview": "16.10.0",
|
|
35
36
|
"@progress/kendo-angular-upload": "16.10.0",
|
package/public-api.d.ts
CHANGED
|
@@ -154,3 +154,4 @@ export { KitDataFieldComponent } from './lib/components/kit-data-field/kit-data-
|
|
|
154
154
|
export { KitSearchBarModule } from './lib/components/kit-search-bar/kit-search-bar.module';
|
|
155
155
|
export { KitSearchBarComponent } from './lib/components/kit-search-bar/kit-search-bar.component';
|
|
156
156
|
export { KitEmptySectionComponent } from './lib/components/kit-empty-section/kit-empty-section.component';
|
|
157
|
+
export { KitSortableComponent } from './lib/components/kit-sortable/kit-sortable.component';
|