@caweb/framework 1.8.7 → 1.9.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 +5 -3
- package/build/delta-rtl.css +4 -2
- package/build/delta-rtl.min.css +1 -1
- package/build/delta.css +4 -2
- package/build/delta.css.map +1 -1
- package/build/delta.js +15 -23
- package/build/delta.js.map +1 -1
- package/build/delta.min.css +1 -1
- package/build/delta.min.js +1 -1
- package/build/eureka-rtl.css +4 -2
- package/build/eureka-rtl.min.css +1 -1
- package/build/eureka.css +4 -2
- package/build/eureka.css.map +1 -1
- package/build/eureka.js +15 -23
- package/build/eureka.js.map +1 -1
- package/build/eureka.min.css +1 -1
- package/build/eureka.min.js +1 -1
- package/build/mono-rtl.css +4 -2
- package/build/mono-rtl.min.css +1 -1
- package/build/mono.css +4 -2
- package/build/mono.css.map +1 -1
- package/build/mono.js +15 -23
- package/build/mono.js.map +1 -1
- package/build/mono.min.css +1 -1
- package/build/mono.min.js +1 -1
- package/build/oceanside-rtl.css +4 -2
- package/build/oceanside-rtl.min.css +1 -1
- package/build/oceanside.css +4 -2
- package/build/oceanside.css.map +1 -1
- package/build/oceanside.js +15 -23
- package/build/oceanside.js.map +1 -1
- package/build/oceanside.min.css +1 -1
- package/build/oceanside.min.js +1 -1
- package/build/orangecounty-rtl.css +4 -2
- package/build/orangecounty-rtl.min.css +1 -1
- package/build/orangecounty.css +4 -2
- package/build/orangecounty.css.map +1 -1
- package/build/orangecounty.js +15 -23
- package/build/orangecounty.js.map +1 -1
- package/build/orangecounty.min.css +1 -1
- package/build/orangecounty.min.js +1 -1
- package/build/pasorobles-rtl.css +4 -2
- package/build/pasorobles-rtl.min.css +1 -1
- package/build/pasorobles.css +4 -2
- package/build/pasorobles.css.map +1 -1
- package/build/pasorobles.js +15 -23
- package/build/pasorobles.js.map +1 -1
- package/build/pasorobles.min.css +1 -1
- package/build/pasorobles.min.js +1 -1
- package/build/sacramento-rtl.css +4 -2
- package/build/sacramento-rtl.min.css +1 -1
- package/build/sacramento.css +4 -2
- package/build/sacramento.css.map +1 -1
- package/build/sacramento.js +15 -23
- package/build/sacramento.js.map +1 -1
- package/build/sacramento.min.css +1 -1
- package/build/sacramento.min.js +1 -1
- package/build/santabarbara-rtl.css +4 -2
- package/build/santabarbara-rtl.min.css +1 -1
- package/build/santabarbara.css +4 -2
- package/build/santabarbara.css.map +1 -1
- package/build/santabarbara.js +15 -23
- package/build/santabarbara.js.map +1 -1
- package/build/santabarbara.min.css +1 -1
- package/build/santabarbara.min.js +1 -1
- package/build/santacruz-rtl.css +4 -2
- package/build/santacruz-rtl.min.css +1 -1
- package/build/santacruz.css +4 -2
- package/build/santacruz.css.map +1 -1
- package/build/santacruz.js +15 -23
- package/build/santacruz.js.map +1 -1
- package/build/santacruz.min.css +1 -1
- package/build/santacruz.min.js +1 -1
- package/build/shasta-rtl.css +4 -2
- package/build/shasta-rtl.min.css +1 -1
- package/build/shasta.css +4 -2
- package/build/shasta.css.map +1 -1
- package/build/shasta.js +15 -23
- package/build/shasta.js.map +1 -1
- package/build/shasta.min.css +1 -1
- package/build/shasta.min.js +1 -1
- package/build/sierra-rtl.css +4 -2
- package/build/sierra-rtl.min.css +1 -1
- package/build/sierra.css +4 -2
- package/build/sierra.css.map +1 -1
- package/build/sierra.js +15 -23
- package/build/sierra.js.map +1 -1
- package/build/sierra.min.css +1 -1
- package/build/sierra.min.js +1 -1
- package/build/trinity-rtl.css +4 -2
- package/build/trinity-rtl.min.css +1 -1
- package/build/trinity.css +4 -2
- package/build/trinity.css.map +1 -1
- package/build/trinity.js +15 -23
- package/build/trinity.js.map +1 -1
- package/build/trinity.min.css +1 -1
- package/build/trinity.min.js +1 -1
- package/lib/entry/delta.js +5 -7
- package/lib/entry/eureka.js +5 -7
- package/lib/entry/mono.js +5 -7
- package/lib/entry/oceanside.js +5 -7
- package/lib/entry/orangecounty.js +5 -7
- package/lib/entry/pasorobles.js +5 -7
- package/lib/entry/sacramento.js +5 -7
- package/lib/entry/santabarbara.js +5 -7
- package/lib/entry/santacruz.js +5 -7
- package/lib/entry/shasta.js +5 -7
- package/lib/entry/sierra.js +5 -7
- package/lib/entry/trinity.js +5 -7
- package/lib/scripts/create-entrypoints.js +14 -16
- package/lib/scripts/update-scripts.js +7 -7
- package/lib/scripts/webpack.test.js +26 -25
- package/package.json +58 -59
- package/src/scripts/components/header.js +0 -8
- package/src/styles/components/content/_alerts.scss +4 -0
- package/src/styles/components/structural/_header.scss +1 -2
- package/build/delta.asset.php +0 -1
- package/build/delta.min.asset.php +0 -1
- package/build/eureka.asset.php +0 -1
- package/build/eureka.min.asset.php +0 -1
- package/build/mono.asset.php +0 -1
- package/build/mono.min.asset.php +0 -1
- package/build/oceanside.asset.php +0 -1
- package/build/oceanside.min.asset.php +0 -1
- package/build/orangecounty.asset.php +0 -1
- package/build/orangecounty.min.asset.php +0 -1
- package/build/pasorobles.asset.php +0 -1
- package/build/pasorobles.min.asset.php +0 -1
- package/build/sacramento.asset.php +0 -1
- package/build/sacramento.min.asset.php +0 -1
- package/build/santabarbara.asset.php +0 -1
- package/build/santabarbara.min.asset.php +0 -1
- package/build/santacruz.asset.php +0 -1
- package/build/santacruz.min.asset.php +0 -1
- package/build/shasta.asset.php +0 -1
- package/build/shasta.min.asset.php +0 -1
- package/build/sierra.asset.php +0 -1
- package/build/sierra.min.asset.php +0 -1
- package/build/trinity.asset.php +0 -1
- package/build/trinity.min.asset.php +0 -1
|
@@ -3,17 +3,15 @@
|
|
|
3
3
|
* DO NOT MODIFY
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import path from 'path';
|
|
7
|
-
const currentPath = process.cwd();
|
|
8
|
-
|
|
9
6
|
export default {
|
|
10
7
|
entry: {
|
|
11
8
|
santabarbara: [
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
path.join(currentPath, '/src/scripts/index.js'),
|
|
15
|
-
|
|
9
|
+
'C:/Development/CAWebPublishing/framework/src/styles/colorschemes/santabarbara.scss',
|
|
10
|
+
'C:/Development/CAWebPublishing/framework/src/scripts/index.js'
|
|
16
11
|
]
|
|
12
|
+
},
|
|
13
|
+
output: {
|
|
14
|
+
clean: false
|
|
17
15
|
}
|
|
18
16
|
};
|
|
19
17
|
|
package/lib/entry/santacruz.js
CHANGED
|
@@ -3,17 +3,15 @@
|
|
|
3
3
|
* DO NOT MODIFY
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import path from 'path';
|
|
7
|
-
const currentPath = process.cwd();
|
|
8
|
-
|
|
9
6
|
export default {
|
|
10
7
|
entry: {
|
|
11
8
|
santacruz: [
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
path.join(currentPath, '/src/scripts/index.js'),
|
|
15
|
-
|
|
9
|
+
'C:/Development/CAWebPublishing/framework/src/styles/colorschemes/santacruz.scss',
|
|
10
|
+
'C:/Development/CAWebPublishing/framework/src/scripts/index.js'
|
|
16
11
|
]
|
|
12
|
+
},
|
|
13
|
+
output: {
|
|
14
|
+
clean: false
|
|
17
15
|
}
|
|
18
16
|
};
|
|
19
17
|
|
package/lib/entry/shasta.js
CHANGED
|
@@ -3,17 +3,15 @@
|
|
|
3
3
|
* DO NOT MODIFY
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import path from 'path';
|
|
7
|
-
const currentPath = process.cwd();
|
|
8
|
-
|
|
9
6
|
export default {
|
|
10
7
|
entry: {
|
|
11
8
|
shasta: [
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
path.join(currentPath, '/src/scripts/index.js'),
|
|
15
|
-
|
|
9
|
+
'C:/Development/CAWebPublishing/framework/src/styles/colorschemes/shasta.scss',
|
|
10
|
+
'C:/Development/CAWebPublishing/framework/src/scripts/index.js'
|
|
16
11
|
]
|
|
12
|
+
},
|
|
13
|
+
output: {
|
|
14
|
+
clean: false
|
|
17
15
|
}
|
|
18
16
|
};
|
|
19
17
|
|
package/lib/entry/sierra.js
CHANGED
|
@@ -3,17 +3,15 @@
|
|
|
3
3
|
* DO NOT MODIFY
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import path from 'path';
|
|
7
|
-
const currentPath = process.cwd();
|
|
8
|
-
|
|
9
6
|
export default {
|
|
10
7
|
entry: {
|
|
11
8
|
sierra: [
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
path.join(currentPath, '/src/scripts/index.js'),
|
|
15
|
-
|
|
9
|
+
'C:/Development/CAWebPublishing/framework/src/styles/colorschemes/sierra.scss',
|
|
10
|
+
'C:/Development/CAWebPublishing/framework/src/scripts/index.js'
|
|
16
11
|
]
|
|
12
|
+
},
|
|
13
|
+
output: {
|
|
14
|
+
clean: false
|
|
17
15
|
}
|
|
18
16
|
};
|
|
19
17
|
|
package/lib/entry/trinity.js
CHANGED
|
@@ -3,17 +3,15 @@
|
|
|
3
3
|
* DO NOT MODIFY
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import path from 'path';
|
|
7
|
-
const currentPath = process.cwd();
|
|
8
|
-
|
|
9
6
|
export default {
|
|
10
7
|
entry: {
|
|
11
8
|
trinity: [
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
path.join(currentPath, '/src/scripts/index.js'),
|
|
15
|
-
|
|
9
|
+
'C:/Development/CAWebPublishing/framework/src/styles/colorschemes/trinity.scss',
|
|
10
|
+
'C:/Development/CAWebPublishing/framework/src/scripts/index.js'
|
|
16
11
|
]
|
|
12
|
+
},
|
|
13
|
+
output: {
|
|
14
|
+
clean: false
|
|
17
15
|
}
|
|
18
16
|
};
|
|
19
17
|
|
|
@@ -20,33 +20,32 @@ let heading = `/**
|
|
|
20
20
|
// iterate over all colorschemes
|
|
21
21
|
fs.readdirSync(path.join(currentPath, 'src', 'styles', 'colorschemes')).forEach((c) => {
|
|
22
22
|
let scheme = c.substring(0, c.indexOf('.')).replace(' ', '');
|
|
23
|
-
|
|
23
|
+
|
|
24
|
+
// add entries for each colorscheme
|
|
25
|
+
entry[scheme] = [
|
|
24
26
|
path.join(currentPath, 'src', 'styles', 'colorschemes', c),
|
|
25
27
|
path.join(currentPath, 'src', 'scripts', 'index.js')
|
|
26
|
-
]
|
|
27
|
-
// add entries for each colorscheme
|
|
28
|
-
entry[scheme] = files;
|
|
28
|
+
];
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
// correct file paths for output
|
|
31
|
+
// since the entrypoint only generates one colorscheme
|
|
32
|
+
// we don't want to clean the output path folder
|
|
33
|
+
// case there are other colorschemes built there.
|
|
31
34
|
let output = `
|
|
32
|
-
import path from 'path';
|
|
33
|
-
const currentPath = process.cwd();
|
|
34
|
-
|
|
35
35
|
export default {
|
|
36
36
|
entry: {
|
|
37
37
|
${scheme}: [
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
`\t`.repeat(3)
|
|
41
|
-
`\t`.repeat(3) + 'path.join(currentPath, ')
|
|
42
|
-
}),
|
|
43
|
-
|
|
38
|
+
${ entry[scheme]
|
|
39
|
+
.map(f => `'${f.replaceAll('\\', '/')}'`)
|
|
40
|
+
.join(',\n' + `\t`.repeat(3) ) }
|
|
44
41
|
]
|
|
42
|
+
},
|
|
43
|
+
output: {
|
|
44
|
+
clean: false
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
`;
|
|
48
48
|
|
|
49
|
-
|
|
50
49
|
// write and entrypoint
|
|
51
50
|
// this allows for serving of a specific entry.
|
|
52
51
|
fs.writeFileSync(
|
|
@@ -56,5 +55,4 @@ export default {
|
|
|
56
55
|
|
|
57
56
|
})
|
|
58
57
|
|
|
59
|
-
|
|
60
58
|
export default {entry};
|
|
@@ -10,7 +10,7 @@ import { fileURLToPath } from 'url';
|
|
|
10
10
|
const pkg = JSON.parse( fs.readFileSync(path.resolve('package.json')) );
|
|
11
11
|
|
|
12
12
|
let scripts = {
|
|
13
|
-
"
|
|
13
|
+
"caweb": "caweb",
|
|
14
14
|
"postbuild": "npm run create-entrypoint",
|
|
15
15
|
"create-entrypoint": "node ./lib/scripts/create-entrypoints.js",
|
|
16
16
|
"update-scripts": "node ./lib/scripts/update-scripts.js",
|
|
@@ -18,8 +18,8 @@ let scripts = {
|
|
|
18
18
|
"remove-scheme": "node ./lib/scripts/schemes.js -r",
|
|
19
19
|
"test": "echo \"Error: run tests from root\" && exit 0",
|
|
20
20
|
"build": "npm run build:prod && npm run build:dev",
|
|
21
|
-
"build:prod": "
|
|
22
|
-
"build:dev": "
|
|
21
|
+
"build:prod": "caweb build --config ./lib/scripts/create-entrypoints.js --mode production",
|
|
22
|
+
"build:dev": "caweb build --config ./lib/scripts/create-entrypoints.js --mode development"
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
// iterate over all colorschemes
|
|
@@ -28,12 +28,12 @@ fs.readdirSync(path.resolve('src', 'styles', 'colorschemes')).forEach((c) => {
|
|
|
28
28
|
|
|
29
29
|
// add build scripts for each colorscheme
|
|
30
30
|
scripts[`build:${scheme}`] = `npm run build:${scheme}:prod && npm run build:${scheme}:dev`;
|
|
31
|
-
scripts[`build:${scheme}:prod`] = `
|
|
32
|
-
scripts[`build:${scheme}:dev`] = `
|
|
31
|
+
scripts[`build:${scheme}:prod`] = `caweb build --config ./lib/entry/${scheme}.js --mode production`;
|
|
32
|
+
scripts[`build:${scheme}:dev`] = `caweb build --config ./lib/entry/${scheme}.js --mode development`;
|
|
33
33
|
|
|
34
34
|
// add serve scripts for each colorscheme
|
|
35
|
-
scripts[`serve:${scheme}`] = `
|
|
36
|
-
scripts[`serve:${scheme}:
|
|
35
|
+
scripts[`serve:${scheme}`] = `caweb serve --config ./lib/entry/${scheme}.js ./lib/scripts/webpack.test.js --scheme false --no-jshint --no-audit --no-a11y`;
|
|
36
|
+
scripts[`serve:${scheme}:audit`] = `caweb serve --config ./lib/entry/${scheme}.js ./lib/scripts/webpack.test.js --scheme false`;
|
|
37
37
|
|
|
38
38
|
})
|
|
39
39
|
|
|
@@ -12,30 +12,31 @@ import CAWebHTMLPlugin from '@caweb/html-webpack-plugin';
|
|
|
12
12
|
const componentDir = path.join(process.cwd(), 'content', 'components');
|
|
13
13
|
|
|
14
14
|
let plugins = [];
|
|
15
|
-
|
|
16
|
-
fs.readdirSync(componentDir).forEach((c) => {
|
|
17
|
-
let p = fs.readFileSync( path.join(componentDir, c) ).toString();
|
|
18
|
-
let t = c.replace(/\.*/, '').replace('-', ' ');
|
|
19
|
-
|
|
20
|
-
plugins.push(
|
|
21
|
-
new CAWebHTMLPlugin({
|
|
22
|
-
filename: `components/${c}`,
|
|
23
|
-
title: t.charAt(0).toUpperCase() + t.substring(1),
|
|
24
|
-
templateParameters: {
|
|
25
|
-
scheme: false, // we use the entrypoints for testing
|
|
26
|
-
bodyHtmlSnippet: p,
|
|
27
|
-
},
|
|
28
|
-
skipAssets: [
|
|
29
|
-
/.*-rtl.css/, // we skip the Right-to-Left Styles
|
|
30
|
-
/css-audit.*/, // we skip the CSSAudit Files
|
|
31
|
-
/a11y.*/, // we skip the A11y Files
|
|
32
|
-
/jshint.*/, // we skip the JSHint Files
|
|
33
|
-
/font-only.*/, // we skip the font-only Files
|
|
34
|
-
]
|
|
35
|
-
})
|
|
36
|
-
)
|
|
37
|
-
})
|
|
38
|
-
|
|
39
15
|
export default {
|
|
40
|
-
|
|
16
|
+
entry: {
|
|
17
|
+
icon: '@caweb/icon-library/build/font-only.css'
|
|
18
|
+
}
|
|
41
19
|
};
|
|
20
|
+
// fs.readdirSync(componentDir).forEach((c) => {
|
|
21
|
+
// let p = fs.readFileSync( path.join(componentDir, c) ).toString();
|
|
22
|
+
// let t = c.replace(/\.*/, '').replace('-', ' ');
|
|
23
|
+
|
|
24
|
+
// plugins.push(
|
|
25
|
+
// new CAWebHTMLPlugin({
|
|
26
|
+
// filename: `components/${c}`,
|
|
27
|
+
// title: t.charAt(0).toUpperCase() + t.substring(1),
|
|
28
|
+
// templateParameters: {
|
|
29
|
+
// scheme: false, // we use the entrypoints for testing
|
|
30
|
+
// bodyHtmlSnippet: p,
|
|
31
|
+
// },
|
|
32
|
+
// skipAssets: [
|
|
33
|
+
// /.*-rtl.css/, // we skip the Right-to-Left Styles
|
|
34
|
+
// /css-audit.*/, // we skip the CSSAudit Files
|
|
35
|
+
// /a11y.*/, // we skip the A11y Files
|
|
36
|
+
// /jshint.*/, // we skip the JSHint Files
|
|
37
|
+
// /font-only.*/, // we skip the font-only Files
|
|
38
|
+
// ]
|
|
39
|
+
// })
|
|
40
|
+
// )
|
|
41
|
+
// })
|
|
42
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caweb/framework",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "Official CAWebPublishing Framework frontend toolkit",
|
|
5
5
|
"author": "CAWebPublishing",
|
|
6
6
|
"homepage": "https://github.com/CAWebPublishing/framework#readme",
|
|
@@ -27,21 +27,20 @@
|
|
|
27
27
|
"src",
|
|
28
28
|
"README.md"
|
|
29
29
|
],
|
|
30
|
-
"dependencies": {
|
|
31
|
-
"@caweb/webpack": "^1.5.10"
|
|
32
|
-
},
|
|
33
30
|
"devDependencies": {
|
|
34
|
-
"@caweb/
|
|
35
|
-
"@
|
|
31
|
+
"@caweb/cli": "^1.15.9",
|
|
32
|
+
"@caweb/icon-library": "^1.1.4",
|
|
33
|
+
"@inquirer/prompts": "^8.2.0",
|
|
36
34
|
"animate.css": "^4.1.1",
|
|
37
35
|
"bootstrap": "^5.3.8",
|
|
38
36
|
"bootstrap-forced-colors-css": "^1.0.7",
|
|
39
37
|
"chalk": "^5.6.2",
|
|
40
38
|
"cross-spawn": "^7.0.6",
|
|
41
|
-
"fast-xml-parser": "^5.3.
|
|
39
|
+
"fast-xml-parser": "^5.3.3",
|
|
40
|
+
"jquery": "^3.7.1"
|
|
42
41
|
},
|
|
43
42
|
"scripts": {
|
|
44
|
-
"
|
|
43
|
+
"caweb": "caweb",
|
|
45
44
|
"postbuild": "npm run create-entrypoint",
|
|
46
45
|
"create-entrypoint": "node ./lib/scripts/create-entrypoints.js",
|
|
47
46
|
"update-scripts": "node ./lib/scripts/update-scripts.js",
|
|
@@ -49,67 +48,67 @@
|
|
|
49
48
|
"remove-scheme": "node ./lib/scripts/schemes.js -r",
|
|
50
49
|
"test": "echo \"Error: run tests from root\" && exit 0",
|
|
51
50
|
"build": "npm run build:prod && npm run build:dev",
|
|
52
|
-
"build:prod": "
|
|
53
|
-
"build:dev": "
|
|
51
|
+
"build:prod": "caweb build --config ./lib/scripts/create-entrypoints.js --mode production",
|
|
52
|
+
"build:dev": "caweb build --config ./lib/scripts/create-entrypoints.js --mode development",
|
|
54
53
|
"build:delta": "npm run build:delta:prod && npm run build:delta:dev",
|
|
55
|
-
"build:delta:prod": "
|
|
56
|
-
"build:delta:dev": "
|
|
57
|
-
"serve:delta": "
|
|
58
|
-
"serve:delta:
|
|
54
|
+
"build:delta:prod": "caweb build --config ./lib/entry/delta.js --mode production",
|
|
55
|
+
"build:delta:dev": "caweb build --config ./lib/entry/delta.js --mode development",
|
|
56
|
+
"serve:delta": "caweb serve --config ./lib/entry/delta.js ./lib/scripts/webpack.test.js --scheme false --no-jshint --no-audit --no-a11y",
|
|
57
|
+
"serve:delta:audit": "caweb serve --config ./lib/entry/delta.js ./lib/scripts/webpack.test.js --scheme false",
|
|
59
58
|
"build:eureka": "npm run build:eureka:prod && npm run build:eureka:dev",
|
|
60
|
-
"build:eureka:prod": "
|
|
61
|
-
"build:eureka:dev": "
|
|
62
|
-
"serve:eureka": "
|
|
63
|
-
"serve:eureka:
|
|
59
|
+
"build:eureka:prod": "caweb build --config ./lib/entry/eureka.js --mode production",
|
|
60
|
+
"build:eureka:dev": "caweb build --config ./lib/entry/eureka.js --mode development",
|
|
61
|
+
"serve:eureka": "caweb serve --config ./lib/entry/eureka.js ./lib/scripts/webpack.test.js --scheme false --no-jshint --no-audit --no-a11y",
|
|
62
|
+
"serve:eureka:audit": "caweb serve --config ./lib/entry/eureka.js ./lib/scripts/webpack.test.js --scheme false",
|
|
64
63
|
"build:mono": "npm run build:mono:prod && npm run build:mono:dev",
|
|
65
|
-
"build:mono:prod": "
|
|
66
|
-
"build:mono:dev": "
|
|
67
|
-
"serve:mono": "
|
|
68
|
-
"serve:mono:
|
|
64
|
+
"build:mono:prod": "caweb build --config ./lib/entry/mono.js --mode production",
|
|
65
|
+
"build:mono:dev": "caweb build --config ./lib/entry/mono.js --mode development",
|
|
66
|
+
"serve:mono": "caweb serve --config ./lib/entry/mono.js ./lib/scripts/webpack.test.js --scheme false --no-jshint --no-audit --no-a11y",
|
|
67
|
+
"serve:mono:audit": "caweb serve --config ./lib/entry/mono.js ./lib/scripts/webpack.test.js --scheme false",
|
|
69
68
|
"build:oceanside": "npm run build:oceanside:prod && npm run build:oceanside:dev",
|
|
70
|
-
"build:oceanside:prod": "
|
|
71
|
-
"build:oceanside:dev": "
|
|
72
|
-
"serve:oceanside": "
|
|
73
|
-
"serve:oceanside:
|
|
69
|
+
"build:oceanside:prod": "caweb build --config ./lib/entry/oceanside.js --mode production",
|
|
70
|
+
"build:oceanside:dev": "caweb build --config ./lib/entry/oceanside.js --mode development",
|
|
71
|
+
"serve:oceanside": "caweb serve --config ./lib/entry/oceanside.js ./lib/scripts/webpack.test.js --scheme false --no-jshint --no-audit --no-a11y",
|
|
72
|
+
"serve:oceanside:audit": "caweb serve --config ./lib/entry/oceanside.js ./lib/scripts/webpack.test.js --scheme false",
|
|
74
73
|
"build:orangecounty": "npm run build:orangecounty:prod && npm run build:orangecounty:dev",
|
|
75
|
-
"build:orangecounty:prod": "
|
|
76
|
-
"build:orangecounty:dev": "
|
|
77
|
-
"serve:orangecounty": "
|
|
78
|
-
"serve:orangecounty:
|
|
74
|
+
"build:orangecounty:prod": "caweb build --config ./lib/entry/orangecounty.js --mode production",
|
|
75
|
+
"build:orangecounty:dev": "caweb build --config ./lib/entry/orangecounty.js --mode development",
|
|
76
|
+
"serve:orangecounty": "caweb serve --config ./lib/entry/orangecounty.js ./lib/scripts/webpack.test.js --scheme false --no-jshint --no-audit --no-a11y",
|
|
77
|
+
"serve:orangecounty:audit": "caweb serve --config ./lib/entry/orangecounty.js ./lib/scripts/webpack.test.js --scheme false",
|
|
79
78
|
"build:pasorobles": "npm run build:pasorobles:prod && npm run build:pasorobles:dev",
|
|
80
|
-
"build:pasorobles:prod": "
|
|
81
|
-
"build:pasorobles:dev": "
|
|
82
|
-
"serve:pasorobles": "
|
|
83
|
-
"serve:pasorobles:
|
|
79
|
+
"build:pasorobles:prod": "caweb build --config ./lib/entry/pasorobles.js --mode production",
|
|
80
|
+
"build:pasorobles:dev": "caweb build --config ./lib/entry/pasorobles.js --mode development",
|
|
81
|
+
"serve:pasorobles": "caweb serve --config ./lib/entry/pasorobles.js ./lib/scripts/webpack.test.js --scheme false --no-jshint --no-audit --no-a11y",
|
|
82
|
+
"serve:pasorobles:audit": "caweb serve --config ./lib/entry/pasorobles.js ./lib/scripts/webpack.test.js --scheme false",
|
|
84
83
|
"build:sacramento": "npm run build:sacramento:prod && npm run build:sacramento:dev",
|
|
85
|
-
"build:sacramento:prod": "
|
|
86
|
-
"build:sacramento:dev": "
|
|
87
|
-
"serve:sacramento": "
|
|
88
|
-
"serve:sacramento:
|
|
84
|
+
"build:sacramento:prod": "caweb build --config ./lib/entry/sacramento.js --mode production",
|
|
85
|
+
"build:sacramento:dev": "caweb build --config ./lib/entry/sacramento.js --mode development",
|
|
86
|
+
"serve:sacramento": "caweb serve --config ./lib/entry/sacramento.js ./lib/scripts/webpack.test.js --scheme false --no-jshint --no-audit --no-a11y",
|
|
87
|
+
"serve:sacramento:audit": "caweb serve --config ./lib/entry/sacramento.js ./lib/scripts/webpack.test.js --scheme false",
|
|
89
88
|
"build:santabarbara": "npm run build:santabarbara:prod && npm run build:santabarbara:dev",
|
|
90
|
-
"build:santabarbara:prod": "
|
|
91
|
-
"build:santabarbara:dev": "
|
|
92
|
-
"serve:santabarbara": "
|
|
93
|
-
"serve:santabarbara:
|
|
89
|
+
"build:santabarbara:prod": "caweb build --config ./lib/entry/santabarbara.js --mode production",
|
|
90
|
+
"build:santabarbara:dev": "caweb build --config ./lib/entry/santabarbara.js --mode development",
|
|
91
|
+
"serve:santabarbara": "caweb serve --config ./lib/entry/santabarbara.js ./lib/scripts/webpack.test.js --scheme false --no-jshint --no-audit --no-a11y",
|
|
92
|
+
"serve:santabarbara:audit": "caweb serve --config ./lib/entry/santabarbara.js ./lib/scripts/webpack.test.js --scheme false",
|
|
94
93
|
"build:santacruz": "npm run build:santacruz:prod && npm run build:santacruz:dev",
|
|
95
|
-
"build:santacruz:prod": "
|
|
96
|
-
"build:santacruz:dev": "
|
|
97
|
-
"serve:santacruz": "
|
|
98
|
-
"serve:santacruz:
|
|
94
|
+
"build:santacruz:prod": "caweb build --config ./lib/entry/santacruz.js --mode production",
|
|
95
|
+
"build:santacruz:dev": "caweb build --config ./lib/entry/santacruz.js --mode development",
|
|
96
|
+
"serve:santacruz": "caweb serve --config ./lib/entry/santacruz.js ./lib/scripts/webpack.test.js --scheme false --no-jshint --no-audit --no-a11y",
|
|
97
|
+
"serve:santacruz:audit": "caweb serve --config ./lib/entry/santacruz.js ./lib/scripts/webpack.test.js --scheme false",
|
|
99
98
|
"build:shasta": "npm run build:shasta:prod && npm run build:shasta:dev",
|
|
100
|
-
"build:shasta:prod": "
|
|
101
|
-
"build:shasta:dev": "
|
|
102
|
-
"serve:shasta": "
|
|
103
|
-
"serve:shasta:
|
|
99
|
+
"build:shasta:prod": "caweb build --config ./lib/entry/shasta.js --mode production",
|
|
100
|
+
"build:shasta:dev": "caweb build --config ./lib/entry/shasta.js --mode development",
|
|
101
|
+
"serve:shasta": "caweb serve --config ./lib/entry/shasta.js ./lib/scripts/webpack.test.js --scheme false --no-jshint --no-audit --no-a11y",
|
|
102
|
+
"serve:shasta:audit": "caweb serve --config ./lib/entry/shasta.js ./lib/scripts/webpack.test.js --scheme false",
|
|
104
103
|
"build:sierra": "npm run build:sierra:prod && npm run build:sierra:dev",
|
|
105
|
-
"build:sierra:prod": "
|
|
106
|
-
"build:sierra:dev": "
|
|
107
|
-
"serve:sierra": "
|
|
108
|
-
"serve:sierra:
|
|
104
|
+
"build:sierra:prod": "caweb build --config ./lib/entry/sierra.js --mode production",
|
|
105
|
+
"build:sierra:dev": "caweb build --config ./lib/entry/sierra.js --mode development",
|
|
106
|
+
"serve:sierra": "caweb serve --config ./lib/entry/sierra.js ./lib/scripts/webpack.test.js --scheme false --no-jshint --no-audit --no-a11y",
|
|
107
|
+
"serve:sierra:audit": "caweb serve --config ./lib/entry/sierra.js ./lib/scripts/webpack.test.js --scheme false",
|
|
109
108
|
"build:trinity": "npm run build:trinity:prod && npm run build:trinity:dev",
|
|
110
|
-
"build:trinity:prod": "
|
|
111
|
-
"build:trinity:dev": "
|
|
112
|
-
"serve:trinity": "
|
|
113
|
-
"serve:trinity:
|
|
109
|
+
"build:trinity:prod": "caweb build --config ./lib/entry/trinity.js --mode production",
|
|
110
|
+
"build:trinity:dev": "caweb build --config ./lib/entry/trinity.js --mode development",
|
|
111
|
+
"serve:trinity": "caweb serve --config ./lib/entry/trinity.js ./lib/scripts/webpack.test.js --scheme false --no-jshint --no-audit --no-a11y",
|
|
112
|
+
"serve:trinity:audit": "caweb serve --config ./lib/entry/trinity.js ./lib/scripts/webpack.test.js --scheme false"
|
|
114
113
|
}
|
|
115
|
-
}
|
|
114
|
+
}
|
|
@@ -56,17 +56,9 @@ window.addEventListener('DOMContentLoaded', () => {
|
|
|
56
56
|
// move the header up to the scroll height, minus any elements above the header
|
|
57
57
|
header.style.top = `-${(scrollHeights - miscElementHeights)}px`;
|
|
58
58
|
|
|
59
|
-
// we add the header height + misc element heights to the page container as margin-top, minus the scroll heights since those get hidden
|
|
60
|
-
if( pageContainer ){
|
|
61
|
-
pageContainer.style.marginTop = `${(header.clientHeight + miscElementHeights - scrollHeights)}px`;
|
|
62
|
-
}
|
|
63
59
|
} else {
|
|
64
60
|
// reset header to initial position
|
|
65
61
|
header.style.top = `${miscElementHeights}px`;
|
|
66
|
-
|
|
67
|
-
if( pageContainer ){
|
|
68
|
-
pageContainer.style.marginTop = `${(header.clientHeight + miscElementHeights)}px`;
|
|
69
|
-
}
|
|
70
62
|
}
|
|
71
63
|
|
|
72
64
|
// for each element with an id we add the scroll-margin-top
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
/src/styles/components/header.scss
|
|
4
4
|
----------------------------------------- */
|
|
5
5
|
header.global-header{
|
|
6
|
-
position:
|
|
6
|
+
position: sticky;
|
|
7
7
|
background-color: var(--bs-white, $white);
|
|
8
8
|
z-index: 15;
|
|
9
|
-
top: 0;
|
|
10
9
|
transition: all 0.3s ease;
|
|
11
10
|
width: 100%;
|
|
12
11
|
|
package/build/delta.asset.php
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?php return array('dependencies' => array(), 'version' => '669f15672815d314f160');
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?php return array('dependencies' => array(), 'version' => 'ffdbe731d118a92764ce');
|
package/build/eureka.asset.php
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?php return array('dependencies' => array(), 'version' => '2f222d1ad0ea70e2cc97');
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?php return array('dependencies' => array(), 'version' => '3a6327856b97c15772c2');
|
package/build/mono.asset.php
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?php return array('dependencies' => array(), 'version' => '29bad7d4664ed64b8645');
|
package/build/mono.min.asset.php
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?php return array('dependencies' => array(), 'version' => '3d24819486f393c36922');
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?php return array('dependencies' => array(), 'version' => '7209b9e68c79d2ad3f83');
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?php return array('dependencies' => array(), 'version' => '68b0661418cdd472a21f');
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?php return array('dependencies' => array(), 'version' => 'dd5e06b56a7cd7facfd4');
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?php return array('dependencies' => array(), 'version' => '9516e649d0cafadcc4b1');
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?php return array('dependencies' => array(), 'version' => 'cd713ea316438658971d');
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?php return array('dependencies' => array(), 'version' => '6e222ed57a0db1056410');
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?php return array('dependencies' => array(), 'version' => '2ceeff47028d87216607');
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?php return array('dependencies' => array(), 'version' => '480a2c7fecb323dc59ef');
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?php return array('dependencies' => array(), 'version' => '39728445ba39609c4b8a');
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?php return array('dependencies' => array(), 'version' => 'd82d6537c19f50edbb44');
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?php return array('dependencies' => array(), 'version' => '27a8da102f5d0d90e68e');
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?php return array('dependencies' => array(), 'version' => '923eaeb9cbf0fb54daa1');
|
package/build/shasta.asset.php
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?php return array('dependencies' => array(), 'version' => '8ace24ab264719604f1c');
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?php return array('dependencies' => array(), 'version' => 'dcdd82c4454e855278b6');
|
package/build/sierra.asset.php
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?php return array('dependencies' => array(), 'version' => '00893b05655ddfd53dd6');
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?php return array('dependencies' => array(), 'version' => '3b36e044458224123fdb');
|
package/build/trinity.asset.php
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?php return array('dependencies' => array(), 'version' => '37a3c20c49704f862b37');
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?php return array('dependencies' => array(), 'version' => 'c94a9522868ee03b2568');
|