@progress/kendo-react-notification 12.0.2-develop.1 → 12.0.2-develop.3
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/index.d.mts +9 -7
- package/index.d.ts +9 -7
- package/package.json +2 -2
package/index.d.mts
CHANGED
|
@@ -125,11 +125,13 @@ export declare interface NotificationProps {
|
|
|
125
125
|
*/
|
|
126
126
|
className?: string;
|
|
127
127
|
/**
|
|
128
|
-
*
|
|
128
|
+
* Sets if the Notification requires a user action to hide.
|
|
129
129
|
* If the property is set to `true`, the Notification renders a **Close** button.
|
|
130
130
|
* If the property is set to an object, the Notification renders a **Close** button
|
|
131
131
|
* by extending the default props with the provided object.
|
|
132
132
|
*
|
|
133
|
+
* @default false
|
|
134
|
+
*
|
|
133
135
|
* @example
|
|
134
136
|
* ```jsx
|
|
135
137
|
* <Notification closable={true} />
|
|
@@ -137,13 +139,13 @@ export declare interface NotificationProps {
|
|
|
137
139
|
* ```
|
|
138
140
|
*
|
|
139
141
|
* The possible values are:
|
|
140
|
-
* *
|
|
142
|
+
* * `false`
|
|
141
143
|
* * `true`
|
|
142
144
|
* * `{ title: 'Hide', ... }`
|
|
143
145
|
*/
|
|
144
146
|
closable?: boolean | React_2.DetailedHTMLProps<React_2.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>;
|
|
145
147
|
/**
|
|
146
|
-
*
|
|
148
|
+
* Sets the `dir` HTML attribute, which determines the text direction.
|
|
147
149
|
*
|
|
148
150
|
* @example
|
|
149
151
|
* ```jsx
|
|
@@ -161,7 +163,7 @@ export declare interface NotificationProps {
|
|
|
161
163
|
*/
|
|
162
164
|
style?: React_2.CSSProperties;
|
|
163
165
|
/**
|
|
164
|
-
*
|
|
166
|
+
* Sets the Notification type, which determines its style and icon.
|
|
165
167
|
*
|
|
166
168
|
* @example
|
|
167
169
|
* ```jsx
|
|
@@ -169,15 +171,15 @@ export declare interface NotificationProps {
|
|
|
169
171
|
* ```
|
|
170
172
|
*
|
|
171
173
|
* The possible values are:
|
|
172
|
-
* * `style: 'none'|'success'|'error'|'warning'|'info'`.
|
|
173
|
-
* * `icon?: 'true'|'false'`.
|
|
174
|
+
* * `style: 'none'|'success'|'error'|'warning'|'info'`. The default is `'none'`.
|
|
175
|
+
* * `icon?: 'true'|'false'`. The default is `true`.
|
|
174
176
|
*/
|
|
175
177
|
type?: {
|
|
176
178
|
style?: 'base' | 'secondary' | 'success' | 'error' | 'light' | 'inverse' | 'primary' | 'tertiary' | 'warning' | 'info' | 'dark' | 'none';
|
|
177
179
|
icon?: boolean;
|
|
178
180
|
};
|
|
179
181
|
/**
|
|
180
|
-
*
|
|
182
|
+
* Fires when you click the **Close** button.
|
|
181
183
|
*
|
|
182
184
|
* @example
|
|
183
185
|
* ```jsx
|
package/index.d.ts
CHANGED
|
@@ -125,11 +125,13 @@ export declare interface NotificationProps {
|
|
|
125
125
|
*/
|
|
126
126
|
className?: string;
|
|
127
127
|
/**
|
|
128
|
-
*
|
|
128
|
+
* Sets if the Notification requires a user action to hide.
|
|
129
129
|
* If the property is set to `true`, the Notification renders a **Close** button.
|
|
130
130
|
* If the property is set to an object, the Notification renders a **Close** button
|
|
131
131
|
* by extending the default props with the provided object.
|
|
132
132
|
*
|
|
133
|
+
* @default false
|
|
134
|
+
*
|
|
133
135
|
* @example
|
|
134
136
|
* ```jsx
|
|
135
137
|
* <Notification closable={true} />
|
|
@@ -137,13 +139,13 @@ export declare interface NotificationProps {
|
|
|
137
139
|
* ```
|
|
138
140
|
*
|
|
139
141
|
* The possible values are:
|
|
140
|
-
* *
|
|
142
|
+
* * `false`
|
|
141
143
|
* * `true`
|
|
142
144
|
* * `{ title: 'Hide', ... }`
|
|
143
145
|
*/
|
|
144
146
|
closable?: boolean | React_2.DetailedHTMLProps<React_2.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>;
|
|
145
147
|
/**
|
|
146
|
-
*
|
|
148
|
+
* Sets the `dir` HTML attribute, which determines the text direction.
|
|
147
149
|
*
|
|
148
150
|
* @example
|
|
149
151
|
* ```jsx
|
|
@@ -161,7 +163,7 @@ export declare interface NotificationProps {
|
|
|
161
163
|
*/
|
|
162
164
|
style?: React_2.CSSProperties;
|
|
163
165
|
/**
|
|
164
|
-
*
|
|
166
|
+
* Sets the Notification type, which determines its style and icon.
|
|
165
167
|
*
|
|
166
168
|
* @example
|
|
167
169
|
* ```jsx
|
|
@@ -169,15 +171,15 @@ export declare interface NotificationProps {
|
|
|
169
171
|
* ```
|
|
170
172
|
*
|
|
171
173
|
* The possible values are:
|
|
172
|
-
* * `style: 'none'|'success'|'error'|'warning'|'info'`.
|
|
173
|
-
* * `icon?: 'true'|'false'`.
|
|
174
|
+
* * `style: 'none'|'success'|'error'|'warning'|'info'`. The default is `'none'`.
|
|
175
|
+
* * `icon?: 'true'|'false'`. The default is `true`.
|
|
174
176
|
*/
|
|
175
177
|
type?: {
|
|
176
178
|
style?: 'base' | 'secondary' | 'success' | 'error' | 'light' | 'inverse' | 'primary' | 'tertiary' | 'warning' | 'info' | 'dark' | 'none';
|
|
177
179
|
icon?: boolean;
|
|
178
180
|
};
|
|
179
181
|
/**
|
|
180
|
-
*
|
|
182
|
+
* Fires when you click the **Close** button.
|
|
181
183
|
*
|
|
182
184
|
* @example
|
|
183
185
|
* ```jsx
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-notification",
|
|
3
|
-
"version": "12.0.2-develop.
|
|
3
|
+
"version": "12.0.2-develop.3",
|
|
4
4
|
"description": "React Notification renders a message to the user with information about the status of an app process. KendoReact Notification package",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"@progress/kendo-licensing": "^1.7.0",
|
|
29
|
-
"@progress/kendo-react-common": "12.0.2-develop.
|
|
29
|
+
"@progress/kendo-react-common": "12.0.2-develop.3",
|
|
30
30
|
"@progress/kendo-svg-icons": "^4.0.0",
|
|
31
31
|
"react": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
|
|
32
32
|
"react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
|