@sps-woodland/illustrations 7.0.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/README.md +3 -0
- package/global.d.ts +4 -0
- package/lib/index.cjs.js +1 -0
- package/lib/index.d.ts +102 -0
- package/lib/index.es.js +105 -0
- package/lib/large/index.d.ts +50 -0
- package/lib/small/index.d.ts +50 -0
- package/package.json +23 -0
- package/tsconfig.json +13 -0
- package/vite.config.js +20 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare const Large: Readonly<{
|
|
2
|
+
BAN: string;
|
|
3
|
+
BAR_CHART: string;
|
|
4
|
+
BELL: string;
|
|
5
|
+
BOOK: string;
|
|
6
|
+
BROWSER_ERROR: string;
|
|
7
|
+
BUILDING: string;
|
|
8
|
+
CALENDAR: string;
|
|
9
|
+
CASH_REGISTER: string;
|
|
10
|
+
COGWHEEL: string;
|
|
11
|
+
COMPANY_SEARCH_NO_RESULTS: string;
|
|
12
|
+
COMPANY_SEARCH: string;
|
|
13
|
+
CONSOLE: string;
|
|
14
|
+
CREDIT_CARD: string;
|
|
15
|
+
DATABASE: string;
|
|
16
|
+
DOCUMENT_SEARCH_NO_RESULTS: string;
|
|
17
|
+
DOCUMENT_SEARCH: string;
|
|
18
|
+
DOCUMENTS: string;
|
|
19
|
+
ENVELOPE: string;
|
|
20
|
+
EXPORT_SEARCH_NO_RESULTS: string;
|
|
21
|
+
EXPORT_SEARCH: string;
|
|
22
|
+
EXPORTS: string;
|
|
23
|
+
EYE: string;
|
|
24
|
+
GENERAL_ERROR: string;
|
|
25
|
+
GENERAL_SEARCH_NO_RESULTS: string;
|
|
26
|
+
GENERAL_SEARCH: string;
|
|
27
|
+
GRADUATION_CAP: string;
|
|
28
|
+
HEART: string;
|
|
29
|
+
IMPORTS: string;
|
|
30
|
+
LIFESAVER: string;
|
|
31
|
+
LOCK: string;
|
|
32
|
+
MAP: string;
|
|
33
|
+
PAPER_PLANE: string;
|
|
34
|
+
PIE_CHART: string;
|
|
35
|
+
PRICE_SEARCH_NO_RESULTS: string;
|
|
36
|
+
PRICE_SEARCH: string;
|
|
37
|
+
PRODUCT_SEARCH_NO_RESULTS: string;
|
|
38
|
+
PRODUCT_SEARCH: string;
|
|
39
|
+
REPORTS: string;
|
|
40
|
+
SHOPPING_BAG: string;
|
|
41
|
+
SHOPPING_CART: string;
|
|
42
|
+
SUCCESS: string;
|
|
43
|
+
SUPPORT_HEADSET: string;
|
|
44
|
+
SYSTEM_ERROR: string;
|
|
45
|
+
TAG: string;
|
|
46
|
+
UPLOAD: string;
|
|
47
|
+
USER_SEARCH_NO_RESULTS: string;
|
|
48
|
+
USER_SEARCH: string;
|
|
49
|
+
USER: string;
|
|
50
|
+
}>;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare const Small: Readonly<{
|
|
2
|
+
BAN: string;
|
|
3
|
+
BAR_CHART: string;
|
|
4
|
+
BELL: string;
|
|
5
|
+
BOOK: string;
|
|
6
|
+
BROWSER_ERROR: string;
|
|
7
|
+
BUILDING: string;
|
|
8
|
+
CALENDAR: string;
|
|
9
|
+
CASH_REGISTER: string;
|
|
10
|
+
COGWHEEL: string;
|
|
11
|
+
COMPANY_SEARCH_NO_RESULTS: string;
|
|
12
|
+
COMPANY_SEARCH: string;
|
|
13
|
+
CONSOLE: string;
|
|
14
|
+
CREDIT_CARD: string;
|
|
15
|
+
DATABASE: string;
|
|
16
|
+
DOCUMENT_SEARCH_NO_RESULTS: string;
|
|
17
|
+
DOCUMENT_SEARCH: string;
|
|
18
|
+
DOCUMENTS: string;
|
|
19
|
+
ENVELOPE: string;
|
|
20
|
+
EXPORT_SEARCH_NO_RESULTS: string;
|
|
21
|
+
EXPORT_SEARCH: string;
|
|
22
|
+
EXPORTS: string;
|
|
23
|
+
EYE: string;
|
|
24
|
+
GENERAL_ERROR: string;
|
|
25
|
+
GENERAL_SEARCH_NO_RESULTS: string;
|
|
26
|
+
GENERAL_SEARCH: string;
|
|
27
|
+
GRADUATION_CAP: string;
|
|
28
|
+
HEART: string;
|
|
29
|
+
IMPORTS: string;
|
|
30
|
+
LIFESAVER: string;
|
|
31
|
+
LOCK: string;
|
|
32
|
+
MAP: string;
|
|
33
|
+
PAPER_PLANE: string;
|
|
34
|
+
PIE_CHART: string;
|
|
35
|
+
PRICE_SEARCH_NO_RESULTS: string;
|
|
36
|
+
PRICE_SEARCH: string;
|
|
37
|
+
PRODUCT_SEARCH_NO_RESULTS: string;
|
|
38
|
+
PRODUCT_SEARCH: string;
|
|
39
|
+
REPORTS: string;
|
|
40
|
+
SHOPPING_BAG: string;
|
|
41
|
+
SHOPPING_CART: string;
|
|
42
|
+
SUCCESS: string;
|
|
43
|
+
SUPPORT_HEADSET: string;
|
|
44
|
+
SYSTEM_ERROR: string;
|
|
45
|
+
TAG: string;
|
|
46
|
+
UPLOAD: string;
|
|
47
|
+
USER_SEARCH_NO_RESULTS: string;
|
|
48
|
+
USER_SEARCH: string;
|
|
49
|
+
USER: string;
|
|
50
|
+
}>;
|
package/package.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@sps-woodland/illustrations",
|
|
3
|
+
"description": "Design System illustration library",
|
|
4
|
+
"version": "7.0.0",
|
|
5
|
+
"author": "SPS Commerce",
|
|
6
|
+
"license": "UNLICENSED",
|
|
7
|
+
"repository": "https://github.com/SPSCommerce/woodland/tree/main/packages/@sps-woodland/illustrations",
|
|
8
|
+
"homepage": "https://github.com/SPSCommerce/woodland/tree/main/packages/@sps-woodland/illustrations#readme",
|
|
9
|
+
"publishConfig": {
|
|
10
|
+
"access": "public"
|
|
11
|
+
},
|
|
12
|
+
"main": "./lib/index.es.js",
|
|
13
|
+
"module": "./lib/index.es.js",
|
|
14
|
+
"types": "./lib/index.d.ts",
|
|
15
|
+
"scripts": {
|
|
16
|
+
"build": "pnpm run build:js && pnpm run build:types",
|
|
17
|
+
"build:js": "vite build",
|
|
18
|
+
"build:types": "tsc --emitDeclarationOnly --declaration --declarationDir lib",
|
|
19
|
+
"watch": "vite build --watch",
|
|
20
|
+
"clean": "git clean -fdX",
|
|
21
|
+
"pub": "node ../../../scripts/publish-package.js"
|
|
22
|
+
}
|
|
23
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../tsconfig.base.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"baseUrl": "tsconfig",
|
|
5
|
+
"rootDir": "src/",
|
|
6
|
+
"outDir": "./dist/out-tsc",
|
|
7
|
+
"target": "es5",
|
|
8
|
+
"esModuleInterop": true,
|
|
9
|
+
"declaration": true
|
|
10
|
+
},
|
|
11
|
+
"include": ["src/**/*", "./global.d.ts"],
|
|
12
|
+
"exclude": ["node_modules", "lib"]
|
|
13
|
+
}
|
package/vite.config.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import path from "path";
|
|
2
|
+
|
|
3
|
+
import { defineConfig } from "vite";
|
|
4
|
+
|
|
5
|
+
import pkg from "./package.json";
|
|
6
|
+
|
|
7
|
+
export default defineConfig({
|
|
8
|
+
build: {
|
|
9
|
+
lib: {
|
|
10
|
+
entry: path.resolve(__dirname, "src/index.ts"),
|
|
11
|
+
formats: ["es", "cjs"],
|
|
12
|
+
fileName: (format) => `index.${format}.js`,
|
|
13
|
+
},
|
|
14
|
+
outDir: path.resolve(__dirname, "./lib"),
|
|
15
|
+
emptyOutDir: false,
|
|
16
|
+
rollupOptions: {
|
|
17
|
+
external: pkg.peerDependencies ? Object.keys(pkg.peerDependencies) : [],
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
});
|