@forwardimpact/pathway 0.22.0 → 0.23.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/package.json +3 -2
- package/src/commands/agent.js +7 -3
- package/src/commands/behaviour.js +11 -1
- package/src/commands/build.js +11 -2
- package/src/commands/command-factory.js +4 -2
- package/src/commands/dev.js +9 -2
- package/src/commands/discipline.js +19 -2
- package/src/commands/driver.js +11 -1
- package/src/commands/job.js +25 -12
- package/src/commands/level.js +19 -3
- package/src/commands/skill.js +11 -1
- package/src/commands/stage.js +11 -1
- package/src/commands/tool.js +4 -3
- package/src/commands/track.js +11 -1
- package/src/components/card.js +8 -104
- package/src/components/comparison-radar.js +1 -1
- package/src/components/detail.js +16 -118
- package/src/components/error-page.js +8 -68
- package/src/components/grid.js +12 -106
- package/src/components/list.js +7 -116
- package/src/components/nav.js +7 -60
- package/src/css/bundles/app.css +25 -21
- package/src/css/bundles/handout.css +33 -33
- package/src/css/bundles/slides.css +25 -25
- package/src/formatters/interview/shared.js +3 -3
- package/src/formatters/job/description.js +2 -2
- package/src/formatters/progress/shared.js +3 -3
- package/src/formatters/skill/shared.js +1 -1
- package/src/formatters/track/shared.js +1 -1
- package/src/handout.html +32 -13
- package/src/index.html +32 -13
- package/src/lib/error-boundary.js +3 -66
- package/src/lib/errors.js +7 -45
- package/src/lib/job-cache.js +1 -1
- package/src/lib/markdown.js +2 -109
- package/src/lib/reactive.js +7 -73
- package/src/lib/render.js +49 -197
- package/src/lib/router-core.js +2 -156
- package/src/lib/router-pages.js +2 -11
- package/src/lib/router-slides.js +2 -197
- package/src/lib/state.js +14 -63
- package/src/lib/utils.js +3 -10
- package/src/lib/yaml-loader.js +13 -71
- package/src/pages/agent-builder.js +1 -1
- package/src/pages/assessment-results.js +1 -1
- package/src/pages/job-builder.js +1 -1
- package/src/pages/job.js +1 -1
- package/src/pages/skill.js +1 -1
- package/src/slide-main.js +1 -1
- package/src/slides/index.js +1 -1
- package/src/slides/job.js +1 -1
- package/src/slides/overview.js +1 -1
- package/src/slides.html +32 -13
- package/src/css/base.css +0 -56
- package/src/css/components/badges.css +0 -232
- package/src/css/components/buttons.css +0 -101
- package/src/css/components/forms.css +0 -191
- package/src/css/components/layout.css +0 -218
- package/src/css/components/nav.css +0 -206
- package/src/css/components/progress.css +0 -166
- package/src/css/components/states.css +0 -82
- package/src/css/components/surfaces.css +0 -347
- package/src/css/components/tables.css +0 -362
- package/src/css/components/top-bar.css +0 -180
- package/src/css/components/typography.css +0 -121
- package/src/css/components/utilities.css +0 -41
- package/src/css/pages/detail.css +0 -119
- package/src/css/reset.css +0 -50
- package/src/css/tokens.css +0 -162
- package/src/css/views/handout.css +0 -30
- package/src/css/views/print.css +0 -634
- package/src/css/views/slide-animations.css +0 -113
- package/src/css/views/slide-base.css +0 -331
- package/src/css/views/slide-sections.css +0 -597
- package/src/css/views/slide-tables.css +0 -275
package/src/lib/state.js
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Application state management
|
|
3
|
+
*
|
|
4
|
+
* Uses generic store from @forwardimpact/libui/state
|
|
5
|
+
* with Pathway-specific state shape and accessors.
|
|
3
6
|
*/
|
|
4
7
|
|
|
5
|
-
|
|
6
|
-
* @typedef {Object} AppState
|
|
7
|
-
* @property {Object} data - Loaded data from YAML files
|
|
8
|
-
* @property {Object} ui - UI state
|
|
9
|
-
*/
|
|
8
|
+
import { createStore } from "@forwardimpact/libui/state";
|
|
10
9
|
|
|
11
|
-
|
|
12
|
-
const state = {
|
|
10
|
+
const store = createStore({
|
|
13
11
|
data: {
|
|
14
12
|
skills: [],
|
|
15
13
|
behaviours: [],
|
|
@@ -35,48 +33,18 @@ const state = {
|
|
|
35
33
|
drivers: { search: "" },
|
|
36
34
|
},
|
|
37
35
|
},
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
/** @type {Set<Function>} */
|
|
41
|
-
const listeners = new Set();
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Get the current state
|
|
45
|
-
* @returns {AppState}
|
|
46
|
-
*/
|
|
47
|
-
export function getState() {
|
|
48
|
-
return state;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Get a specific path from state
|
|
53
|
-
* @param {string} path - Dot-notation path (e.g., 'data.skills')
|
|
54
|
-
* @returns {*}
|
|
55
|
-
*/
|
|
56
|
-
export function getStatePath(path) {
|
|
57
|
-
return path.split(".").reduce((obj, key) => obj?.[key], state);
|
|
58
|
-
}
|
|
36
|
+
});
|
|
59
37
|
|
|
60
|
-
|
|
61
|
-
* Update state at a specific path
|
|
62
|
-
* @param {string} path - Dot-notation path
|
|
63
|
-
* @param {*} value - New value
|
|
64
|
-
*/
|
|
65
|
-
export function updateState(path, value) {
|
|
66
|
-
const keys = path.split(".");
|
|
67
|
-
const lastKey = keys.pop();
|
|
68
|
-
const target = keys.reduce((obj, key) => obj[key], state);
|
|
69
|
-
target[lastKey] = value;
|
|
70
|
-
notifyListeners();
|
|
71
|
-
}
|
|
38
|
+
export const { getState, getStatePath, updateState, subscribe } = store;
|
|
72
39
|
|
|
73
40
|
/**
|
|
74
41
|
* Merge data into state
|
|
75
42
|
* @param {Object} data - Data to merge
|
|
76
43
|
*/
|
|
77
44
|
export function setData(data) {
|
|
45
|
+
const state = getState();
|
|
78
46
|
Object.assign(state.data, data, { loaded: true, error: null });
|
|
79
|
-
|
|
47
|
+
updateState("data", state.data);
|
|
80
48
|
}
|
|
81
49
|
|
|
82
50
|
/**
|
|
@@ -84,25 +52,7 @@ export function setData(data) {
|
|
|
84
52
|
* @param {Error} error
|
|
85
53
|
*/
|
|
86
54
|
export function setError(error) {
|
|
87
|
-
|
|
88
|
-
notifyListeners();
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* Subscribe to state changes
|
|
93
|
-
* @param {Function} listener
|
|
94
|
-
* @returns {Function} Unsubscribe function
|
|
95
|
-
*/
|
|
96
|
-
export function subscribe(listener) {
|
|
97
|
-
listeners.add(listener);
|
|
98
|
-
return () => listeners.delete(listener);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* Notify all listeners of state change
|
|
103
|
-
*/
|
|
104
|
-
function notifyListeners() {
|
|
105
|
-
listeners.forEach((listener) => listener(state));
|
|
55
|
+
updateState("data.error", error.message);
|
|
106
56
|
}
|
|
107
57
|
|
|
108
58
|
/**
|
|
@@ -112,9 +62,10 @@ function notifyListeners() {
|
|
|
112
62
|
* @param {*} value - Filter value
|
|
113
63
|
*/
|
|
114
64
|
export function setFilter(entity, filterKey, value) {
|
|
65
|
+
const state = getState();
|
|
115
66
|
if (state.ui.filters[entity]) {
|
|
116
67
|
state.ui.filters[entity][filterKey] = value;
|
|
117
|
-
|
|
68
|
+
updateState("ui.filters", state.ui.filters);
|
|
118
69
|
}
|
|
119
70
|
}
|
|
120
71
|
|
|
@@ -124,7 +75,7 @@ export function setFilter(entity, filterKey, value) {
|
|
|
124
75
|
* @returns {Object}
|
|
125
76
|
*/
|
|
126
77
|
export function getFilters(entity) {
|
|
127
|
-
return
|
|
78
|
+
return getState().ui.filters[entity] || {};
|
|
128
79
|
}
|
|
129
80
|
|
|
130
81
|
/**
|
|
@@ -140,7 +91,7 @@ export function getFilters(entity) {
|
|
|
140
91
|
* @returns {Branding}
|
|
141
92
|
*/
|
|
142
93
|
export function getBranding() {
|
|
143
|
-
const { framework } =
|
|
94
|
+
const { framework } = getState().data;
|
|
144
95
|
return {
|
|
145
96
|
title: framework.title || "Engineering Pathway",
|
|
146
97
|
tag: framework.tag || "#BenchTools",
|
package/src/lib/utils.js
CHANGED
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* General utility functions
|
|
3
|
+
*
|
|
4
|
+
* Re-exports from @forwardimpact/libui/utils.
|
|
3
5
|
*/
|
|
4
6
|
|
|
5
|
-
|
|
6
|
-
* Get an array of items by their IDs
|
|
7
|
-
* @param {Array} items - Array of items with id property
|
|
8
|
-
* @param {string[]} ids - Array of IDs to find
|
|
9
|
-
* @returns {Array} - Found items, filtered to remove nulls
|
|
10
|
-
*/
|
|
11
|
-
export function getItemsByIds(items, ids) {
|
|
12
|
-
if (!ids) return [];
|
|
13
|
-
return ids.map((id) => items.find((item) => item.id === id)).filter(Boolean);
|
|
14
|
-
}
|
|
7
|
+
export { getItemsByIds } from "@forwardimpact/libui/utils";
|
package/src/lib/yaml-loader.js
CHANGED
|
@@ -1,56 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Browser-compatible YAML loading
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Generic utilities from @forwardimpact/libui/yaml-loader,
|
|
5
|
+
* plus Pathway-specific entity loaders.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
export {
|
|
9
|
+
loadYamlFile,
|
|
10
|
+
tryLoadYamlFile,
|
|
11
|
+
loadDirIndex,
|
|
12
|
+
} from "@forwardimpact/libui/yaml-loader";
|
|
9
13
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export async function loadYamlFile(path) {
|
|
16
|
-
const response = await fetch(path);
|
|
17
|
-
if (!response.ok) {
|
|
18
|
-
throw new Error(
|
|
19
|
-
`Failed to load ${path}: ${response.status} ${response.statusText}`,
|
|
20
|
-
);
|
|
21
|
-
}
|
|
22
|
-
const text = await response.text();
|
|
23
|
-
return parseYaml(text);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Try to load a YAML file, return null if not found
|
|
28
|
-
* @param {string} path - Path to the YAML file
|
|
29
|
-
* @returns {Promise<*|null>}
|
|
30
|
-
*/
|
|
31
|
-
async function tryLoadYamlFile(path) {
|
|
32
|
-
const response = await fetch(path);
|
|
33
|
-
if (response.status === 404) {
|
|
34
|
-
return null;
|
|
35
|
-
}
|
|
36
|
-
if (!response.ok) {
|
|
37
|
-
throw new Error(
|
|
38
|
-
`Failed to load ${path}: ${response.status} ${response.statusText}`,
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
const text = await response.text();
|
|
42
|
-
return parseYaml(text);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Load directory index (list of file IDs)
|
|
47
|
-
* @param {string} dir - Directory path
|
|
48
|
-
* @returns {Promise<string[]>} Array of file IDs
|
|
49
|
-
*/
|
|
50
|
-
async function loadDirIndex(dir) {
|
|
51
|
-
const index = await loadYamlFile(`${dir}/_index.yaml`);
|
|
52
|
-
return index.files || [];
|
|
53
|
-
}
|
|
14
|
+
import {
|
|
15
|
+
loadYamlFile,
|
|
16
|
+
tryLoadYamlFile,
|
|
17
|
+
loadDirIndex,
|
|
18
|
+
} from "@forwardimpact/libui/yaml-loader";
|
|
54
19
|
|
|
55
20
|
/**
|
|
56
21
|
* Load skills from capability files
|
|
@@ -115,23 +80,18 @@ async function loadDisciplinesFromDir(disciplinesDir) {
|
|
|
115
80
|
const disciplines = await Promise.all(
|
|
116
81
|
disciplineIds.map(async (id) => {
|
|
117
82
|
const content = await loadYamlFile(`${disciplinesDir}/${id}.yaml`);
|
|
118
|
-
// Shared content at top level, role summaries under human:
|
|
119
83
|
const {
|
|
120
84
|
specialization,
|
|
121
85
|
roleTitle,
|
|
122
|
-
// Track constraints
|
|
123
86
|
isProfessional,
|
|
124
87
|
isManagement,
|
|
125
88
|
validTracks,
|
|
126
89
|
minLevel,
|
|
127
|
-
// Shared content - now at root level
|
|
128
90
|
description,
|
|
129
|
-
// Structural properties (derivation inputs)
|
|
130
91
|
coreSkills,
|
|
131
92
|
supportingSkills,
|
|
132
93
|
broadSkills,
|
|
133
94
|
behaviourModifiers,
|
|
134
|
-
// Presentation sections
|
|
135
95
|
human,
|
|
136
96
|
agent,
|
|
137
97
|
} = content;
|
|
@@ -139,19 +99,15 @@ async function loadDisciplinesFromDir(disciplinesDir) {
|
|
|
139
99
|
id,
|
|
140
100
|
specialization,
|
|
141
101
|
roleTitle,
|
|
142
|
-
// Track constraints
|
|
143
102
|
isProfessional,
|
|
144
103
|
isManagement,
|
|
145
104
|
validTracks,
|
|
146
105
|
minLevel,
|
|
147
|
-
// Shared content at top level
|
|
148
106
|
description,
|
|
149
|
-
// Structural properties
|
|
150
107
|
coreSkills,
|
|
151
108
|
supportingSkills,
|
|
152
109
|
broadSkills,
|
|
153
110
|
behaviourModifiers,
|
|
154
|
-
// Human presentation content (role summaries only)
|
|
155
111
|
...human,
|
|
156
112
|
...(agent && { agent }),
|
|
157
113
|
};
|
|
@@ -171,27 +127,21 @@ async function loadTracksFromDir(tracksDir) {
|
|
|
171
127
|
const tracks = await Promise.all(
|
|
172
128
|
trackIds.map(async (id) => {
|
|
173
129
|
const content = await loadYamlFile(`${tracksDir}/${id}.yaml`);
|
|
174
|
-
// Shared content at top level (no human section for tracks anymore)
|
|
175
130
|
const {
|
|
176
131
|
name,
|
|
177
|
-
// Shared content - now at root level
|
|
178
132
|
description,
|
|
179
133
|
roleContext,
|
|
180
|
-
// Structural properties (derivation inputs)
|
|
181
134
|
skillModifiers,
|
|
182
135
|
behaviourModifiers,
|
|
183
136
|
matchingWeights,
|
|
184
137
|
minLevel,
|
|
185
|
-
// Agent section (no human section anymore for tracks)
|
|
186
138
|
agent,
|
|
187
139
|
} = content;
|
|
188
140
|
return {
|
|
189
141
|
id,
|
|
190
142
|
name,
|
|
191
|
-
// Shared content at top level
|
|
192
143
|
description,
|
|
193
144
|
roleContext,
|
|
194
|
-
// Structural properties
|
|
195
145
|
skillModifiers,
|
|
196
146
|
behaviourModifiers,
|
|
197
147
|
matchingWeights,
|
|
@@ -214,7 +164,6 @@ async function loadBehavioursFromDir(behavioursDir) {
|
|
|
214
164
|
const behaviours = await Promise.all(
|
|
215
165
|
behaviourIds.map(async (id) => {
|
|
216
166
|
const content = await loadYamlFile(`${behavioursDir}/${id}.yaml`);
|
|
217
|
-
// Flatten human properties to top level (behaviours use human: section in YAML)
|
|
218
167
|
const { name, human, agent } = content;
|
|
219
168
|
return {
|
|
220
169
|
id,
|
|
@@ -297,13 +246,9 @@ async function loadQuestionFolder(
|
|
|
297
246
|
* @returns {Promise<Object>}
|
|
298
247
|
*/
|
|
299
248
|
export async function loadAllData(dataDir = "./data") {
|
|
300
|
-
// Load capabilities first (skills are embedded in capabilities)
|
|
301
249
|
const capabilities = await loadCapabilitiesFromDir(`${dataDir}/capabilities`);
|
|
302
|
-
|
|
303
|
-
// Extract skills from capabilities
|
|
304
250
|
const skills = await loadSkillsFromCapabilities(`${dataDir}/capabilities`);
|
|
305
251
|
|
|
306
|
-
// Load remaining core data in parallel (using _index.yaml for discovery)
|
|
307
252
|
const [drivers, behaviours, disciplines, tracks, levels, stages, framework] =
|
|
308
253
|
await Promise.all([
|
|
309
254
|
loadYamlFile(`${dataDir}/drivers.yaml`),
|
|
@@ -315,7 +260,6 @@ export async function loadAllData(dataDir = "./data") {
|
|
|
315
260
|
loadYamlFile(`${dataDir}/framework.yaml`),
|
|
316
261
|
]);
|
|
317
262
|
|
|
318
|
-
// Load questions using skill/behaviour/capability IDs
|
|
319
263
|
const questions = await loadQuestionFolder(
|
|
320
264
|
`${dataDir}/questions`,
|
|
321
265
|
skills,
|
|
@@ -339,9 +283,8 @@ export async function loadAllData(dataDir = "./data") {
|
|
|
339
283
|
|
|
340
284
|
/**
|
|
341
285
|
* Load agent-specific data for browser-based agent generation
|
|
342
|
-
* Uses co-located files where agent sections are embedded in entity files
|
|
343
286
|
* @param {string} [dataDir='./data'] - Path to data directory
|
|
344
|
-
* @returns {Promise<Object>}
|
|
287
|
+
* @returns {Promise<Object>}
|
|
345
288
|
*/
|
|
346
289
|
export async function loadAgentDataBrowser(dataDir = "./data") {
|
|
347
290
|
const [
|
|
@@ -360,7 +303,6 @@ export async function loadAgentDataBrowser(dataDir = "./data") {
|
|
|
360
303
|
tryLoadYamlFile(`${dataDir}/copilot-setup-steps.yaml`),
|
|
361
304
|
]);
|
|
362
305
|
|
|
363
|
-
// Extract agent sections from co-located files
|
|
364
306
|
return {
|
|
365
307
|
disciplines: disciplines
|
|
366
308
|
.filter((d) => d.agent)
|
|
@@ -19,7 +19,7 @@ import { getState } from "../lib/state.js";
|
|
|
19
19
|
import { createBadge } from "../components/card.js";
|
|
20
20
|
import { formatLevel } from "../lib/render.js";
|
|
21
21
|
import { getAssessmentState, resetAssessment } from "./self-assessment.js";
|
|
22
|
-
import { findRealisticMatches } from "@forwardimpact/
|
|
22
|
+
import { findRealisticMatches } from "@forwardimpact/libskill/matching";
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* Render the assessment results page
|
package/src/pages/job-builder.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { render } from "../lib/render.js";
|
|
6
6
|
import { getState } from "../lib/state.js";
|
|
7
7
|
import { createBuilder, createStandardPreview } from "../components/builder.js";
|
|
8
|
-
import { prepareJobBuilderPreview } from "@forwardimpact/
|
|
8
|
+
import { prepareJobBuilderPreview } from "@forwardimpact/libskill/job";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Render job builder page
|
package/src/pages/job.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { render, div, p } from "../lib/render.js";
|
|
6
6
|
import { getState } from "../lib/state.js";
|
|
7
7
|
import { renderError } from "../components/error-page.js";
|
|
8
|
-
import { prepareJobDetail } from "@forwardimpact/
|
|
8
|
+
import { prepareJobDetail } from "@forwardimpact/libskill/job";
|
|
9
9
|
import { jobToDOM } from "../formatters/job/dom.js";
|
|
10
10
|
|
|
11
11
|
/** @type {string|null} Cached job template */
|
package/src/pages/skill.js
CHANGED
|
@@ -11,7 +11,7 @@ import { prepareSkillsList } from "../formatters/skill/shared.js";
|
|
|
11
11
|
import { skillToDOM } from "../formatters/skill/dom.js";
|
|
12
12
|
import { skillToCardConfig } from "../lib/card-mappers.js";
|
|
13
13
|
import { getCapabilityEmoji, getConceptEmoji } from "@forwardimpact/map/levels";
|
|
14
|
-
import { generateSkillMarkdown } from "@forwardimpact/
|
|
14
|
+
import { generateSkillMarkdown } from "@forwardimpact/libskill";
|
|
15
15
|
import { formatAgentSkill } from "../formatters/agent/skill.js";
|
|
16
16
|
|
|
17
17
|
/** @type {string|null} Cached skill template */
|
package/src/slide-main.js
CHANGED
|
@@ -8,7 +8,7 @@ import { createSlideRouter } from "./lib/router-slides.js";
|
|
|
8
8
|
import { setData, getState } from "./lib/state.js";
|
|
9
9
|
import { loadAllData } from "./lib/yaml-loader.js";
|
|
10
10
|
import { span, a } from "./lib/render.js";
|
|
11
|
-
import { generateAllJobs } from "@forwardimpact/
|
|
11
|
+
import { generateAllJobs } from "@forwardimpact/libskill/derivation";
|
|
12
12
|
import { sortTracksByName } from "./formatters/track/shared.js";
|
|
13
13
|
|
|
14
14
|
// Import slide renderers
|
package/src/slides/index.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
import { div, heading1, heading2, p, a, ul, li, span } from "../lib/render.js";
|
|
8
8
|
import { getConceptEmoji } from "@forwardimpact/map/levels";
|
|
9
|
-
import { generateAllJobs } from "@forwardimpact/
|
|
9
|
+
import { generateAllJobs } from "@forwardimpact/libskill/derivation";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Render the slide index
|
package/src/slides/job.js
CHANGED
package/src/slides/overview.js
CHANGED
|
@@ -22,7 +22,7 @@ import { prepareBehavioursList } from "../formatters/behaviour/shared.js";
|
|
|
22
22
|
import { prepareDriversList } from "../formatters/driver/shared.js";
|
|
23
23
|
import { prepareLevelsList } from "../formatters/level/shared.js";
|
|
24
24
|
import { prepareTracksList } from "../formatters/track/shared.js";
|
|
25
|
-
import { generateAllJobs } from "@forwardimpact/
|
|
25
|
+
import { generateAllJobs } from "@forwardimpact/libskill/derivation";
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Format discipline group name for display
|
package/src/slides.html
CHANGED
|
@@ -13,19 +13,38 @@
|
|
|
13
13
|
"@forwardimpact/map/levels": "/map/lib/levels.js",
|
|
14
14
|
"@forwardimpact/map/loader": "/map/lib/loader.js",
|
|
15
15
|
"@forwardimpact/map/validation": "/map/lib/validation.js",
|
|
16
|
-
"@forwardimpact/
|
|
17
|
-
"@forwardimpact/
|
|
18
|
-
"@forwardimpact/
|
|
19
|
-
"@forwardimpact/
|
|
20
|
-
"@forwardimpact/
|
|
21
|
-
"@forwardimpact/
|
|
22
|
-
"@forwardimpact/
|
|
23
|
-
"@forwardimpact/
|
|
24
|
-
"@forwardimpact/
|
|
25
|
-
"@forwardimpact/
|
|
26
|
-
"@forwardimpact/
|
|
27
|
-
"@forwardimpact/
|
|
28
|
-
"@forwardimpact/
|
|
16
|
+
"@forwardimpact/libskill": "/model/lib/index.js",
|
|
17
|
+
"@forwardimpact/libskill/derivation": "/model/lib/derivation.js",
|
|
18
|
+
"@forwardimpact/libskill/modifiers": "/model/lib/modifiers.js",
|
|
19
|
+
"@forwardimpact/libskill/agent": "/model/lib/agent.js",
|
|
20
|
+
"@forwardimpact/libskill/interview": "/model/lib/interview.js",
|
|
21
|
+
"@forwardimpact/libskill/job": "/model/lib/job.js",
|
|
22
|
+
"@forwardimpact/libskill/job-cache": "/model/lib/job-cache.js",
|
|
23
|
+
"@forwardimpact/libskill/checklist": "/model/lib/checklist.js",
|
|
24
|
+
"@forwardimpact/libskill/matching": "/model/lib/matching.js",
|
|
25
|
+
"@forwardimpact/libskill/profile": "/model/lib/profile.js",
|
|
26
|
+
"@forwardimpact/libskill/progression": "/model/lib/progression.js",
|
|
27
|
+
"@forwardimpact/libskill/policies": "/model/lib/policies/index.js",
|
|
28
|
+
"@forwardimpact/libskill/toolkit": "/model/lib/toolkit.js",
|
|
29
|
+
"@forwardimpact/libui": "/ui/lib/index.js",
|
|
30
|
+
"@forwardimpact/libui/render": "/ui/lib/render.js",
|
|
31
|
+
"@forwardimpact/libui/reactive": "/ui/lib/reactive.js",
|
|
32
|
+
"@forwardimpact/libui/state": "/ui/lib/state.js",
|
|
33
|
+
"@forwardimpact/libui/errors": "/ui/lib/errors.js",
|
|
34
|
+
"@forwardimpact/libui/error-boundary": "/ui/lib/error-boundary.js",
|
|
35
|
+
"@forwardimpact/libui/router-core": "/ui/lib/router-core.js",
|
|
36
|
+
"@forwardimpact/libui/router-pages": "/ui/lib/router-pages.js",
|
|
37
|
+
"@forwardimpact/libui/router-slides": "/ui/lib/router-slides.js",
|
|
38
|
+
"@forwardimpact/libui/yaml-loader": "/ui/lib/yaml-loader.js",
|
|
39
|
+
"@forwardimpact/libui/markdown": "/ui/lib/markdown.js",
|
|
40
|
+
"@forwardimpact/libui/utils": "/ui/lib/utils.js",
|
|
41
|
+
"@forwardimpact/libui/components": "/ui/lib/components/index.js",
|
|
42
|
+
"@forwardimpact/libui/components/card": "/ui/lib/components/card.js",
|
|
43
|
+
"@forwardimpact/libui/components/grid": "/ui/lib/components/grid.js",
|
|
44
|
+
"@forwardimpact/libui/components/list": "/ui/lib/components/list.js",
|
|
45
|
+
"@forwardimpact/libui/components/detail": "/ui/lib/components/detail.js",
|
|
46
|
+
"@forwardimpact/libui/components/nav": "/ui/lib/components/nav.js",
|
|
47
|
+
"@forwardimpact/libui/components/error-page": "/ui/lib/components/error-page.js"
|
|
29
48
|
}
|
|
30
49
|
}
|
|
31
50
|
</script>
|
package/src/css/base.css
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Base Styles
|
|
3
|
-
*
|
|
4
|
-
* Typography, links, and body defaults using design tokens.
|
|
5
|
-
* Import after tokens.css and reset.css.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
@layer base {
|
|
9
|
-
body {
|
|
10
|
-
font-family: var(--font-family);
|
|
11
|
-
font-size: var(--font-size-base);
|
|
12
|
-
line-height: 1.6;
|
|
13
|
-
color: var(--color-text);
|
|
14
|
-
background-color: var(--color-bg);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
h1,
|
|
18
|
-
h2,
|
|
19
|
-
h3,
|
|
20
|
-
h4,
|
|
21
|
-
h5,
|
|
22
|
-
h6 {
|
|
23
|
-
margin-bottom: var(--space-md);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
h1 {
|
|
27
|
-
font-size: var(--font-size-3xl);
|
|
28
|
-
font-weight: 700;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
h2 {
|
|
32
|
-
font-size: var(--font-size-2xl);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
h3 {
|
|
36
|
-
font-size: var(--font-size-xl);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
h4 {
|
|
40
|
-
font-size: var(--font-size-lg);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
p {
|
|
44
|
-
margin-bottom: var(--space-md);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
a {
|
|
48
|
-
color: var(--color-primary);
|
|
49
|
-
text-decoration: none;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
a:hover {
|
|
53
|
-
color: var(--color-primary-dark);
|
|
54
|
-
text-decoration: underline;
|
|
55
|
-
}
|
|
56
|
-
}
|