sales-frontend-components 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/README.md ADDED
@@ -0,0 +1 @@
1
+ Hi
package/dist/index.cjs ADDED
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ var salesTestDesignSystem = require('sales-test-design-system');
4
+
5
+ // src/hello/Hello.tsx
6
+ var Hello = ({ test }) => {
7
+ return /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("div", null, "Hello ", test), /* @__PURE__ */ React.createElement(salesTestDesignSystem.Sample, { test: "Sample" }));
8
+ };
9
+
10
+ exports.Hello = Hello;
11
+ //# sourceMappingURL=index.cjs.map
12
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/hello/Hello.tsx"],"names":["Sample"],"mappings":";;;;;AAKO,IAAM,KAAQ,GAAA,CAAC,EAAE,IAAA,EAAkB,KAAA;AACxC,EACE,uBAAA,KAAA,CAAA,aAAA,CAAC,KACC,EAAA,IAAA,kBAAA,KAAA,CAAA,aAAA,CAAC,KAAI,EAAA,IAAA,EAAA,QAAA,EAAO,IAAK,CAAA,kBAChB,KAAA,CAAA,aAAA,CAAAA,4BAAA,EAAA,EAAO,IAAK,EAAA,QAAA,EAAS,CACxB,CAAA;AAEJ","file":"index.cjs","sourcesContent":["import { Sample } from 'sales-test-design-system';\n\ninterface Props {\n test: string;\n}\nexport const Hello = ({ test }: Props) => {\n return (\n <div>\n <div>Hello {test}</div>\n <Sample test=\"Sample\" />\n </div>\n );\n};\n"]}
@@ -0,0 +1,8 @@
1
+ import * as react from 'react';
2
+
3
+ interface Props {
4
+ test: string;
5
+ }
6
+ declare const Hello: ({ test }: Props) => react.JSX.Element;
7
+
8
+ export { Hello };
@@ -0,0 +1,8 @@
1
+ import * as react from 'react';
2
+
3
+ interface Props {
4
+ test: string;
5
+ }
6
+ declare const Hello: ({ test }: Props) => react.JSX.Element;
7
+
8
+ export { Hello };
package/dist/index.js ADDED
@@ -0,0 +1,10 @@
1
+ import { Sample } from 'sales-test-design-system';
2
+
3
+ // src/hello/Hello.tsx
4
+ var Hello = ({ test }) => {
5
+ return /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("div", null, "Hello ", test), /* @__PURE__ */ React.createElement(Sample, { test: "Sample" }));
6
+ };
7
+
8
+ export { Hello };
9
+ //# sourceMappingURL=index.js.map
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/hello/Hello.tsx"],"names":[],"mappings":";;;AAKO,IAAM,KAAQ,GAAA,CAAC,EAAE,IAAA,EAAkB,KAAA;AACxC,EACE,uBAAA,KAAA,CAAA,aAAA,CAAC,KACC,EAAA,IAAA,kBAAA,KAAA,CAAA,aAAA,CAAC,KAAI,EAAA,IAAA,EAAA,QAAA,EAAO,IAAK,CAAA,kBAChB,KAAA,CAAA,aAAA,CAAA,MAAA,EAAA,EAAO,IAAK,EAAA,QAAA,EAAS,CACxB,CAAA;AAEJ","file":"index.js","sourcesContent":["import { Sample } from 'sales-test-design-system';\n\ninterface Props {\n test: string;\n}\nexport const Hello = ({ test }: Props) => {\n return (\n <div>\n <div>Hello {test}</div>\n <Sample test=\"Sample\" />\n </div>\n );\n};\n"]}
package/package.json ADDED
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "sales-frontend-components",
3
+ "version": "0.0.1",
4
+ "private": false,
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "exports": {
12
+ ".": {
13
+ "import": {
14
+ "types": "./dist/index.d.ts",
15
+ "default": "./dist/index.js"
16
+ },
17
+ "require": {
18
+ "types": "./dist/index.d.ts",
19
+ "default": "./dist/index.cjs.js"
20
+ }
21
+ }
22
+ },
23
+ "devDependencies": {
24
+ "@types/node": "^22.14.0",
25
+ "@types/react": "19.1.0",
26
+ "@types/react-dom": "19.1.1",
27
+ "react": "^19.1.0",
28
+ "sass": "^1.86.3",
29
+ "tsup": "^8.4.0",
30
+ "typescript": "5.8.2",
31
+ "sales-frontend-eslint-config-v8": "^0.0.0",
32
+ "sales-frontend-design-system": "0.0.1",
33
+ "sales-frontend-typescript-config": "0.0.0"
34
+ },
35
+ "peerDependencies": {
36
+ "react": ">=18.0.0",
37
+ "react-dom": ">=18.0.0",
38
+ "sales-frontend-design-system": ">=0.0.0"
39
+ },
40
+ "scripts": {
41
+ "lint": "eslint . --max-warnings 0",
42
+ "generate:component": "turbo gen react-component",
43
+ "check-types": "tsc --noEmit",
44
+ "storybook": "tsup --watch",
45
+ "build": "tsup",
46
+ "release": "pnpm publish"
47
+ }
48
+ }