@nuralyui/alert 0.0.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/index.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Nuraly, Laabidi Aymen
4
+ * SPDX-License-Identifier: MIT
5
+ */
6
+ export * from './alert.component.js';
7
+ export * from './alert.types.js';
8
+ //# sourceMappingURL=index.d.ts.map
package/index.js ADDED
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Nuraly, Laabidi Aymen
4
+ * SPDX-License-Identifier: MIT
5
+ */
6
+ export * from './alert.component.js';
7
+ export * from './alert.types.js';
8
+ //# sourceMappingURL=index.js.map
package/index.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/alert/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2023 Nuraly, Laabidi Aymen\n * SPDX-License-Identifier: MIT\n */\n\nexport * from './alert.component.js';\nexport * from './alert.types.js';\n"]}
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@nuralyui/alert",
3
+ "version": "0.0.1",
4
+ "description": "Alert component for NuralyUI library",
5
+ "main": "index.js",
6
+ "type": "module",
7
+ "exports": {
8
+ ".": {
9
+ "import": "./index.js"
10
+ },
11
+ "./bundle": {
12
+ "import": "./bundle.js"
13
+ }
14
+ },
15
+ "files": [
16
+ "*.js",
17
+ "*.d.ts",
18
+ "*.js.map",
19
+ "alert.bundled.js",
20
+ "bundle.js"
21
+ ],
22
+ "scripts": {
23
+ "test": "echo \"Error: no test specified\" && exit 1"
24
+ },
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "https://github.com/NuralyUI/NuralyUI.git",
28
+ "directory": "src/components/alert"
29
+ },
30
+ "keywords": [
31
+ "web-components",
32
+ "lit-element",
33
+ "alert",
34
+ "notification",
35
+ "banner",
36
+ "ui-components",
37
+ "typescript"
38
+ ],
39
+ "author": "Labidi Aymen",
40
+ "license": "ISC",
41
+ "nuralyui": {
42
+ "requiredComponents": [
43
+ "nr-icon"
44
+ ]
45
+ },
46
+ "peerDependencies": {
47
+ "@nuralyui/icon": "^0.0.1"
48
+ }
49
+ }
package/react.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ import { NrAlertElement } from './alert.component.js';
2
+ export declare const NrAlert: import("@lit-labs/react").ReactWebComponent<NrAlertElement, {
3
+ 'nr-alert-close': string;
4
+ }>;
5
+ //# sourceMappingURL=react.d.ts.map
package/react.js ADDED
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Nuraly, Laabidi Aymen
4
+ * SPDX-License-Identifier: MIT
5
+ */
6
+ import { createComponent } from '@lit-labs/react';
7
+ import * as React from 'react';
8
+ import { NrAlertElement } from './alert.component.js';
9
+ export const NrAlert = createComponent({
10
+ tagName: 'nr-alert',
11
+ elementClass: NrAlertElement,
12
+ react: React,
13
+ events: {
14
+ 'nr-alert-close': 'nr-alert-close',
15
+ },
16
+ });
17
+ //# sourceMappingURL=react.js.map
package/react.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"react.js","sourceRoot":"","sources":["../../../src/components/alert/react.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAC;IACrC,OAAO,EAAE,UAAU;IACnB,YAAY,EAAE,cAAc;IAC5B,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE;QACN,gBAAgB,EAAE,gBAAgB;KACnC;CACF,CAAC,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2023 Nuraly, Laabidi Aymen\n * SPDX-License-Identifier: MIT\n */\nimport { createComponent } from '@lit-labs/react';\nimport * as React from 'react';\nimport { NrAlertElement } from './alert.component.js';\n\nexport const NrAlert = createComponent({\n tagName: 'nr-alert',\n elementClass: NrAlertElement,\n react: React,\n events: {\n 'nr-alert-close': 'nr-alert-close',\n },\n});\n"]}