@zwayam/apply-experience-library 0.2.2 → 0.2.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/package.json CHANGED
@@ -1,42 +1,27 @@
1
1
  {
2
2
  "name": "@zwayam/apply-experience-library",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Host-facing Apply Experience SDK for Angular, React, Vue, and other frameworks.",
5
5
  "type": "module",
6
- "main": "./packages/web/dist/index.js",
7
- "module": "./packages/web/dist/index.js",
8
- "types": "./packages/web/dist/index.d.ts",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
9
  "exports": {
10
10
  ".": {
11
- "types": "./packages/web/dist/index.d.ts",
12
- "default": "./packages/web/dist/index.js"
11
+ "types": "./dist/index.d.ts",
12
+ "default": "./dist/index.js"
13
13
  },
14
- "./styles.css": "./packages/web/dist/styles.css",
14
+ "./styles.css": "./dist/styles.css",
15
15
  "./package.json": "./package.json"
16
16
  },
17
17
  "files": [
18
- "packages/web/dist",
18
+ "dist",
19
19
  "README.md"
20
20
  ],
21
21
  "sideEffects": [
22
- "./packages/web/dist/styles.css"
23
- ],
24
- "devDependencies": {
25
- "autoprefixer": "^10.4.21",
26
- "esbuild": "^0.28.0",
27
- "postcss": "^8.5.6",
28
- "postcss-cli": "^11.0.1",
29
- "react-icons": "^5.5.0",
30
- "tailwindcss": "^3.4.17"
31
- },
32
- "workspaces": [
33
- "packages/react",
34
- "packages/web",
35
- "packages/playground"
22
+ "./dist/styles.css"
36
23
  ],
37
24
  "scripts": {
38
- "build": "npm run build -w @react-apply-experience/react && npm run build -w @zwayam/apply-experience-library",
39
- "playground": "npm run dev -w @react-apply-experience/playground",
40
- "playground:build": "npm run build -w @react-apply-experience/playground"
25
+ "build": "node ../../scripts/build-web-standalone.mjs"
41
26
  }
42
27
  }
@@ -1,57 +0,0 @@
1
- # Apply Experience Library
2
-
3
- This package is the bundled web entrypoint for `@zwayam/apply-experience-library`.
4
-
5
- It exposes framework-friendly mount helpers for launching **Add Profile** and **Edit Profile** popups from:
6
-
7
- - Angular
8
- - React
9
- - Vue
10
- - Vanilla JavaScript
11
- - Custom elements
12
-
13
- ## Install
14
-
15
- ```bash
16
- npm install @zwayam/apply-experience-library
17
- ```
18
-
19
- Import styles once:
20
-
21
- ```ts
22
- import "@zwayam/apply-experience-library/styles.css";
23
- ```
24
-
25
- ## Main Exports
26
-
27
- - `mountAddProfile`
28
- - `mountEditProfile`
29
- - `registerAddProfileElement`
30
- - `registerEditProfileElement`
31
-
32
- ## Quick Example
33
-
34
- ```ts
35
- import { mountAddProfile } from "@zwayam/apply-experience-library";
36
-
37
- const mounted = mountAddProfile({
38
- container: document.getElementById("add-profile-root"),
39
- context,
40
- api,
41
- onClose: () => mounted.unmount(),
42
- onSuccess: () => mounted.unmount(),
43
- });
44
- ```
45
-
46
- ## Context and API
47
-
48
- The host must provide:
49
-
50
- - job context
51
- - logged-in user context
52
- - session context
53
- - host-owned API functions for loading fields, parsing resume, submitting profile, and optionally fetching location suggestions
54
-
55
- For the full API contract and framework-specific examples, see:
56
-
57
- - [../../README.md](../../README.md)
File without changes
File without changes
File without changes