@italia/notification 1.0.0-alpha.9 → 1.0.0-beta.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/custom-elements.json +220 -150
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/it-notification.d.ts +15 -0
- package/dist/src/it-notification.d.ts.map +1 -1
- package/dist/src/it-notification.js +564 -70
- package/dist/src/it-notification.js.map +1 -1
- package/dist/src/types.d.ts +9 -0
- package/dist/src/types.d.ts.map +1 -1
- package/package.json +6 -6
- package/styles/globals.scss +1 -1
package/dist/src/types.d.ts
CHANGED
|
@@ -5,4 +5,13 @@ export type NotificationStatus = (typeof NOTIFICATION_STATUS)[number];
|
|
|
5
5
|
export declare const NOTIFICATION_STATUS_COLORS: Record<NotificationStatus, string>;
|
|
6
6
|
export declare const NOTIFICATION_FIX: readonly ["top", "bottom", "left", "right"];
|
|
7
7
|
export type NotificationFix = (typeof NOTIFICATION_FIX)[number];
|
|
8
|
+
/**
|
|
9
|
+
* Detail degli eventi `it-notification-show` / `it-notification-close`.
|
|
10
|
+
* Entrambi gli eventi sono cancelable: `event.preventDefault()` impedisce
|
|
11
|
+
* rispettivamente la comparsa e la chiusura della notifica.
|
|
12
|
+
*/
|
|
13
|
+
export interface NotificationEventDetail {
|
|
14
|
+
/** Riferimento all'elemento notifica */
|
|
15
|
+
notification: HTMLElement;
|
|
16
|
+
}
|
|
8
17
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/src/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B,yCAA0C,CAAC;AACnF,MAAM,MAAM,wBAAwB,GAAG,CAAC,OAAO,2BAA2B,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpF,eAAO,MAAM,mBAAmB,kDAAmD,CAAC;AACpF,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AACtE,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,kBAAkB,EAAE,MAAM,CAKzE,CAAC;AAEF,eAAO,MAAM,gBAAgB,6CAA8C,CAAC;AAC5E,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B,yCAA0C,CAAC;AACnF,MAAM,MAAM,wBAAwB,GAAG,CAAC,OAAO,2BAA2B,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpF,eAAO,MAAM,mBAAmB,kDAAmD,CAAC;AACpF,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AACtE,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,kBAAkB,EAAE,MAAM,CAKzE,CAAC;AAEF,eAAO,MAAM,gBAAgB,6CAA8C,CAAC;AAC5E,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEhE;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACtC,wCAAwC;IACxC,YAAY,EAAE,WAAW,CAAC;CAC3B"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@italia/notification",
|
|
3
3
|
"description": "Web component it-notification del Design system .italia",
|
|
4
|
-
"version": "1.0.0-
|
|
4
|
+
"version": "1.0.0-beta.0",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"custom-elements.json"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"bootstrap-italia": "3.0.0-
|
|
37
|
+
"bootstrap-italia": "3.0.0-beta.1",
|
|
38
38
|
"lit": "^3.3.0",
|
|
39
|
-
"@italia/globals": "^1.0.0-
|
|
40
|
-
"@italia/i18n": "^1.0.0-
|
|
39
|
+
"@italia/globals": "^1.0.0-beta.0",
|
|
40
|
+
"@italia/i18n": "^1.0.0-beta.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@custom-elements-manifest/analyzer": "^0.10.3",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"sass": "^1.89.0",
|
|
53
53
|
"tslib": "^2.6.3",
|
|
54
54
|
"typescript": "^5.5.3",
|
|
55
|
-
"@italia/test-config": "^0.0.0",
|
|
56
|
-
"@italia/typescript-config": "^0.0.0"
|
|
55
|
+
"@italia/test-config": "^1.0.0-beta.0",
|
|
56
|
+
"@italia/typescript-config": "^1.0.0-beta.0"
|
|
57
57
|
},
|
|
58
58
|
"customElements": "custom-elements.json",
|
|
59
59
|
"scripts": {
|
package/styles/globals.scss
CHANGED