@progress/kendo-angular-ripple 21.4.1 → 22.0.0-develop.1
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/progress-kendo-angular-ripple.mjs +10 -10
- package/package.json +8 -16
- package/esm2022/directives.mjs +0 -27
- package/esm2022/index.mjs +0 -7
- package/esm2022/package-metadata.mjs +0 -16
- package/esm2022/progress-kendo-angular-ripple.mjs +0 -8
- package/esm2022/ripple-container.directive.mjs +0 -98
- package/esm2022/ripple.module.mjs +0 -40
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import {
|
|
6
|
+
import { HostBinding, Input, Directive, NgModule } from '@angular/core';
|
|
7
7
|
import { register } from '@progress/kendo-ripple';
|
|
8
8
|
import { isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
9
9
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
@@ -16,8 +16,8 @@ const packageMetadata = {
|
|
|
16
16
|
productName: 'Kendo UI for Angular',
|
|
17
17
|
productCode: 'KENDOUIANGULAR',
|
|
18
18
|
productCodes: ['KENDOUIANGULAR'],
|
|
19
|
-
publishDate:
|
|
20
|
-
version: '
|
|
19
|
+
publishDate: 1768396034,
|
|
20
|
+
version: '22.0.0-develop.1',
|
|
21
21
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
22
22
|
};
|
|
23
23
|
|
|
@@ -94,10 +94,10 @@ class RippleContainerDirective {
|
|
|
94
94
|
]);
|
|
95
95
|
this.removeListeners = callback;
|
|
96
96
|
}
|
|
97
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
98
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
97
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: RippleContainerDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
98
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.18", type: RippleContainerDirective, isStandalone: true, selector: "[kendoRippleContainer]", inputs: { disabled: "disabled" }, host: { properties: { "class.k-ripple-container": "this.containerClass" } }, ngImport: i0 });
|
|
99
99
|
}
|
|
100
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
100
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: RippleContainerDirective, decorators: [{
|
|
101
101
|
type: Directive,
|
|
102
102
|
args: [{
|
|
103
103
|
selector: '[kendoRippleContainer]',
|
|
@@ -154,11 +154,11 @@ const KENDO_RIPPLE = [RippleContainerDirective];
|
|
|
154
154
|
* ```
|
|
155
155
|
*/
|
|
156
156
|
class RippleModule {
|
|
157
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
158
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
159
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
157
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: RippleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
158
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: RippleModule, imports: [RippleContainerDirective], exports: [RippleContainerDirective] });
|
|
159
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: RippleModule });
|
|
160
160
|
}
|
|
161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: RippleModule, decorators: [{
|
|
162
162
|
type: NgModule,
|
|
163
163
|
args: [{
|
|
164
164
|
imports: [...KENDO_RIPPLE],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-ripple",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "22.0.0-develop.1",
|
|
4
4
|
"description": "Ripple Package for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -16,26 +16,20 @@
|
|
|
16
16
|
"Ripple"
|
|
17
17
|
],
|
|
18
18
|
"@progress": {
|
|
19
|
-
"friendlyName": "Ripple"
|
|
20
|
-
"package": {
|
|
21
|
-
"productName": "Kendo UI for Angular",
|
|
22
|
-
"productCode": "KENDOUIANGULAR",
|
|
23
|
-
"publishDate": 1768393324,
|
|
24
|
-
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
25
|
-
}
|
|
19
|
+
"friendlyName": "Ripple"
|
|
26
20
|
},
|
|
27
21
|
"peerDependencies": {
|
|
28
|
-
"@angular/animations": "
|
|
29
|
-
"@angular/common": "
|
|
30
|
-
"@angular/core": "
|
|
31
|
-
"@angular/platform-browser": "
|
|
22
|
+
"@angular/animations": "19 - 21",
|
|
23
|
+
"@angular/common": "19 - 21",
|
|
24
|
+
"@angular/core": "19 - 21",
|
|
25
|
+
"@angular/platform-browser": "19 - 21",
|
|
32
26
|
"@progress/kendo-licensing": "^1.7.0",
|
|
33
|
-
"@progress/kendo-angular-common": "
|
|
27
|
+
"@progress/kendo-angular-common": "22.0.0-develop.1",
|
|
34
28
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
35
29
|
},
|
|
36
30
|
"dependencies": {
|
|
37
31
|
"tslib": "^2.3.1",
|
|
38
|
-
"@progress/kendo-angular-schematics": "
|
|
32
|
+
"@progress/kendo-angular-schematics": "22.0.0-develop.1",
|
|
39
33
|
"@progress/kendo-ripple": "^1.0.1"
|
|
40
34
|
},
|
|
41
35
|
"schematics": "./schematics/collection.json",
|
|
@@ -47,8 +41,6 @@
|
|
|
47
41
|
},
|
|
48
42
|
".": {
|
|
49
43
|
"types": "./index.d.ts",
|
|
50
|
-
"esm2022": "./esm2022/progress-kendo-angular-ripple.mjs",
|
|
51
|
-
"esm": "./esm2022/progress-kendo-angular-ripple.mjs",
|
|
52
44
|
"default": "./fesm2022/progress-kendo-angular-ripple.mjs"
|
|
53
45
|
}
|
|
54
46
|
},
|
package/esm2022/directives.mjs
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { RippleContainerDirective } from "./ripple-container.directive";
|
|
6
|
-
/**
|
|
7
|
-
* Use the `KENDO_RIPPLE` utility array to add all `@progress/kendo-angular-ripple` related components and directives to a standalone Angular component.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```typescript
|
|
11
|
-
* import { Component } from '@angular/core';
|
|
12
|
-
* import { KENDO_RIPPLE } from '@progress/kendo-angular-ripple';
|
|
13
|
-
* import { KENDO_BUTTON } from "@progress/kendo-angular-buttons";
|
|
14
|
-
*
|
|
15
|
-
* @Component({
|
|
16
|
-
* standalone: true,
|
|
17
|
-
* imports: [KENDO_RIPPLE, KENDO_BUTTON],
|
|
18
|
-
* template: `
|
|
19
|
-
* <div kendoRippleContainer>
|
|
20
|
-
* <button kendoButton>Ripple Button</button>
|
|
21
|
-
* </div>
|
|
22
|
-
* `,
|
|
23
|
-
* })
|
|
24
|
-
* export class AppComponent {}
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
|
-
export const KENDO_RIPPLE = [RippleContainerDirective];
|
package/esm2022/index.mjs
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
export * from './directives';
|
|
6
|
-
export { RippleContainerDirective } from './ripple-container.directive';
|
|
7
|
-
export { RippleModule } from './ripple.module';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export const packageMetadata = {
|
|
9
|
-
name: '@progress/kendo-angular-ripple',
|
|
10
|
-
productName: 'Kendo UI for Angular',
|
|
11
|
-
productCode: 'KENDOUIANGULAR',
|
|
12
|
-
productCodes: ['KENDOUIANGULAR'],
|
|
13
|
-
publishDate: 1768393324,
|
|
14
|
-
version: '21.4.1',
|
|
15
|
-
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* Generated bundle index. Do not edit.
|
|
7
|
-
*/
|
|
8
|
-
export * from './index';
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ElementRef, HostBinding, Directive, Renderer2, Input, NgZone } from '@angular/core';
|
|
6
|
-
import { register } from '@progress/kendo-ripple';
|
|
7
|
-
import { isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
8
|
-
import { validatePackage } from '@progress/kendo-licensing';
|
|
9
|
-
import { packageMetadata } from './package-metadata';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* Represents the Ripple container component.
|
|
13
|
-
*
|
|
14
|
-
* Apply this directive to any container element.
|
|
15
|
-
* The ripple effect will show on the following elements:
|
|
16
|
-
* - Buttons
|
|
17
|
-
* - Checkboxes
|
|
18
|
-
* - Radio buttons
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```html
|
|
22
|
-
* <div kendoRippleContainer>
|
|
23
|
-
* <button kendoButton>Default Button</button>
|
|
24
|
-
* <button kendoButton [primary]="true">Primary Button</button>
|
|
25
|
-
* </div>
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
export class RippleContainerDirective {
|
|
29
|
-
renderer;
|
|
30
|
-
element;
|
|
31
|
-
ngZone;
|
|
32
|
-
/**
|
|
33
|
-
* Disables the ripple effect for the `kendoRippleContainer` element.
|
|
34
|
-
*
|
|
35
|
-
* @default false
|
|
36
|
-
*/
|
|
37
|
-
set disabled(disabled) {
|
|
38
|
-
this.isDisabled = disabled;
|
|
39
|
-
if (this.isDisabled) {
|
|
40
|
-
this.removeListeners();
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
this.registerListeners();
|
|
44
|
-
}
|
|
45
|
-
this.renderer.setProperty(this.element.nativeElement, 'disabled', disabled);
|
|
46
|
-
}
|
|
47
|
-
isDisabled = false;
|
|
48
|
-
get containerClass() {
|
|
49
|
-
return true;
|
|
50
|
-
}
|
|
51
|
-
constructor(renderer, element, ngZone) {
|
|
52
|
-
this.renderer = renderer;
|
|
53
|
-
this.element = element;
|
|
54
|
-
this.ngZone = ngZone;
|
|
55
|
-
validatePackage(packageMetadata);
|
|
56
|
-
}
|
|
57
|
-
ngOnDestroy() {
|
|
58
|
-
this.removeListeners();
|
|
59
|
-
}
|
|
60
|
-
ngAfterViewInit() {
|
|
61
|
-
if (!this.isDisabled) {
|
|
62
|
-
this.ngZone.runOutsideAngular(() => {
|
|
63
|
-
this.registerListeners();
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
removeListeners = () => { };
|
|
68
|
-
registerListeners() {
|
|
69
|
-
if (!isDocumentAvailable()) {
|
|
70
|
-
return;
|
|
71
|
-
}
|
|
72
|
-
this.removeListeners();
|
|
73
|
-
const callback = register(this.element.nativeElement, [
|
|
74
|
-
{ selector: ".k-button:not(li)" },
|
|
75
|
-
{ selector: ".k-list>.k-item", options: { global: true } },
|
|
76
|
-
{ selector: ".k-checkbox,.k-radio",
|
|
77
|
-
options: {
|
|
78
|
-
events: ["focusin", "animationend", "click"]
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
]);
|
|
82
|
-
this.removeListeners = callback;
|
|
83
|
-
}
|
|
84
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RippleContainerDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
85
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: RippleContainerDirective, isStandalone: true, selector: "[kendoRippleContainer]", inputs: { disabled: "disabled" }, host: { properties: { "class.k-ripple-container": "this.containerClass" } }, ngImport: i0 });
|
|
86
|
-
}
|
|
87
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RippleContainerDirective, decorators: [{
|
|
88
|
-
type: Directive,
|
|
89
|
-
args: [{
|
|
90
|
-
selector: '[kendoRippleContainer]',
|
|
91
|
-
standalone: true
|
|
92
|
-
}]
|
|
93
|
-
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { disabled: [{
|
|
94
|
-
type: Input
|
|
95
|
-
}], containerClass: [{
|
|
96
|
-
type: HostBinding,
|
|
97
|
-
args: ['class.k-ripple-container']
|
|
98
|
-
}] } });
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { NgModule } from '@angular/core';
|
|
6
|
-
import { KENDO_RIPPLE } from './directives';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "./ripple-container.directive";
|
|
9
|
-
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
10
|
-
/**
|
|
11
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
12
|
-
* definition for the Ripple directive.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import { NgModule } from '@angular/core';
|
|
17
|
-
* import { BrowserModule } from '@angular/platform-browser';
|
|
18
|
-
* import { RippleModule } from '@progress/kendo-angular-ripple';
|
|
19
|
-
* import { AppComponent } from './app.component';
|
|
20
|
-
*
|
|
21
|
-
* @NgModule({
|
|
22
|
-
* declarations: [AppComponent],
|
|
23
|
-
* imports: [BrowserModule, RippleModule],
|
|
24
|
-
* bootstrap: [AppComponent]
|
|
25
|
-
* })
|
|
26
|
-
* export class AppModule {}
|
|
27
|
-
* ```
|
|
28
|
-
*/
|
|
29
|
-
export class RippleModule {
|
|
30
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RippleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
31
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: RippleModule, imports: [i1.RippleContainerDirective], exports: [i1.RippleContainerDirective] });
|
|
32
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RippleModule });
|
|
33
|
-
}
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RippleModule, decorators: [{
|
|
35
|
-
type: NgModule,
|
|
36
|
-
args: [{
|
|
37
|
-
imports: [...KENDO_RIPPLE],
|
|
38
|
-
exports: [...KENDO_RIPPLE]
|
|
39
|
-
}]
|
|
40
|
-
}] });
|