@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.
Files changed (140) hide show
  1. package/README.md +5 -3
  2. package/build/delta-rtl.css +4 -2
  3. package/build/delta-rtl.min.css +1 -1
  4. package/build/delta.css +4 -2
  5. package/build/delta.css.map +1 -1
  6. package/build/delta.js +15 -23
  7. package/build/delta.js.map +1 -1
  8. package/build/delta.min.css +1 -1
  9. package/build/delta.min.js +1 -1
  10. package/build/eureka-rtl.css +4 -2
  11. package/build/eureka-rtl.min.css +1 -1
  12. package/build/eureka.css +4 -2
  13. package/build/eureka.css.map +1 -1
  14. package/build/eureka.js +15 -23
  15. package/build/eureka.js.map +1 -1
  16. package/build/eureka.min.css +1 -1
  17. package/build/eureka.min.js +1 -1
  18. package/build/mono-rtl.css +4 -2
  19. package/build/mono-rtl.min.css +1 -1
  20. package/build/mono.css +4 -2
  21. package/build/mono.css.map +1 -1
  22. package/build/mono.js +15 -23
  23. package/build/mono.js.map +1 -1
  24. package/build/mono.min.css +1 -1
  25. package/build/mono.min.js +1 -1
  26. package/build/oceanside-rtl.css +4 -2
  27. package/build/oceanside-rtl.min.css +1 -1
  28. package/build/oceanside.css +4 -2
  29. package/build/oceanside.css.map +1 -1
  30. package/build/oceanside.js +15 -23
  31. package/build/oceanside.js.map +1 -1
  32. package/build/oceanside.min.css +1 -1
  33. package/build/oceanside.min.js +1 -1
  34. package/build/orangecounty-rtl.css +4 -2
  35. package/build/orangecounty-rtl.min.css +1 -1
  36. package/build/orangecounty.css +4 -2
  37. package/build/orangecounty.css.map +1 -1
  38. package/build/orangecounty.js +15 -23
  39. package/build/orangecounty.js.map +1 -1
  40. package/build/orangecounty.min.css +1 -1
  41. package/build/orangecounty.min.js +1 -1
  42. package/build/pasorobles-rtl.css +4 -2
  43. package/build/pasorobles-rtl.min.css +1 -1
  44. package/build/pasorobles.css +4 -2
  45. package/build/pasorobles.css.map +1 -1
  46. package/build/pasorobles.js +15 -23
  47. package/build/pasorobles.js.map +1 -1
  48. package/build/pasorobles.min.css +1 -1
  49. package/build/pasorobles.min.js +1 -1
  50. package/build/sacramento-rtl.css +4 -2
  51. package/build/sacramento-rtl.min.css +1 -1
  52. package/build/sacramento.css +4 -2
  53. package/build/sacramento.css.map +1 -1
  54. package/build/sacramento.js +15 -23
  55. package/build/sacramento.js.map +1 -1
  56. package/build/sacramento.min.css +1 -1
  57. package/build/sacramento.min.js +1 -1
  58. package/build/santabarbara-rtl.css +4 -2
  59. package/build/santabarbara-rtl.min.css +1 -1
  60. package/build/santabarbara.css +4 -2
  61. package/build/santabarbara.css.map +1 -1
  62. package/build/santabarbara.js +15 -23
  63. package/build/santabarbara.js.map +1 -1
  64. package/build/santabarbara.min.css +1 -1
  65. package/build/santabarbara.min.js +1 -1
  66. package/build/santacruz-rtl.css +4 -2
  67. package/build/santacruz-rtl.min.css +1 -1
  68. package/build/santacruz.css +4 -2
  69. package/build/santacruz.css.map +1 -1
  70. package/build/santacruz.js +15 -23
  71. package/build/santacruz.js.map +1 -1
  72. package/build/santacruz.min.css +1 -1
  73. package/build/santacruz.min.js +1 -1
  74. package/build/shasta-rtl.css +4 -2
  75. package/build/shasta-rtl.min.css +1 -1
  76. package/build/shasta.css +4 -2
  77. package/build/shasta.css.map +1 -1
  78. package/build/shasta.js +15 -23
  79. package/build/shasta.js.map +1 -1
  80. package/build/shasta.min.css +1 -1
  81. package/build/shasta.min.js +1 -1
  82. package/build/sierra-rtl.css +4 -2
  83. package/build/sierra-rtl.min.css +1 -1
  84. package/build/sierra.css +4 -2
  85. package/build/sierra.css.map +1 -1
  86. package/build/sierra.js +15 -23
  87. package/build/sierra.js.map +1 -1
  88. package/build/sierra.min.css +1 -1
  89. package/build/sierra.min.js +1 -1
  90. package/build/trinity-rtl.css +4 -2
  91. package/build/trinity-rtl.min.css +1 -1
  92. package/build/trinity.css +4 -2
  93. package/build/trinity.css.map +1 -1
  94. package/build/trinity.js +15 -23
  95. package/build/trinity.js.map +1 -1
  96. package/build/trinity.min.css +1 -1
  97. package/build/trinity.min.js +1 -1
  98. package/lib/entry/delta.js +5 -7
  99. package/lib/entry/eureka.js +5 -7
  100. package/lib/entry/mono.js +5 -7
  101. package/lib/entry/oceanside.js +5 -7
  102. package/lib/entry/orangecounty.js +5 -7
  103. package/lib/entry/pasorobles.js +5 -7
  104. package/lib/entry/sacramento.js +5 -7
  105. package/lib/entry/santabarbara.js +5 -7
  106. package/lib/entry/santacruz.js +5 -7
  107. package/lib/entry/shasta.js +5 -7
  108. package/lib/entry/sierra.js +5 -7
  109. package/lib/entry/trinity.js +5 -7
  110. package/lib/scripts/create-entrypoints.js +14 -16
  111. package/lib/scripts/update-scripts.js +7 -7
  112. package/lib/scripts/webpack.test.js +26 -25
  113. package/package.json +58 -59
  114. package/src/scripts/components/header.js +0 -8
  115. package/src/styles/components/content/_alerts.scss +4 -0
  116. package/src/styles/components/structural/_header.scss +1 -2
  117. package/build/delta.asset.php +0 -1
  118. package/build/delta.min.asset.php +0 -1
  119. package/build/eureka.asset.php +0 -1
  120. package/build/eureka.min.asset.php +0 -1
  121. package/build/mono.asset.php +0 -1
  122. package/build/mono.min.asset.php +0 -1
  123. package/build/oceanside.asset.php +0 -1
  124. package/build/oceanside.min.asset.php +0 -1
  125. package/build/orangecounty.asset.php +0 -1
  126. package/build/orangecounty.min.asset.php +0 -1
  127. package/build/pasorobles.asset.php +0 -1
  128. package/build/pasorobles.min.asset.php +0 -1
  129. package/build/sacramento.asset.php +0 -1
  130. package/build/sacramento.min.asset.php +0 -1
  131. package/build/santabarbara.asset.php +0 -1
  132. package/build/santabarbara.min.asset.php +0 -1
  133. package/build/santacruz.asset.php +0 -1
  134. package/build/santacruz.min.asset.php +0 -1
  135. package/build/shasta.asset.php +0 -1
  136. package/build/shasta.min.asset.php +0 -1
  137. package/build/sierra.asset.php +0 -1
  138. package/build/sierra.min.asset.php +0 -1
  139. package/build/trinity.asset.php +0 -1
  140. 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
- path.join(currentPath, '/src/styles/colorschemes/santabarbara.scss'),
13
- path.join(currentPath, 'node_modules/@caweb/icon-library/build/font-only.css'),
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
 
@@ -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
- path.join(currentPath, '/src/styles/colorschemes/santacruz.scss'),
13
- path.join(currentPath, 'node_modules/@caweb/icon-library/build/font-only.css'),
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
 
@@ -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
- path.join(currentPath, '/src/styles/colorschemes/shasta.scss'),
13
- path.join(currentPath, 'node_modules/@caweb/icon-library/build/font-only.css'),
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
 
@@ -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
- path.join(currentPath, '/src/styles/colorschemes/sierra.scss'),
13
- path.join(currentPath, 'node_modules/@caweb/icon-library/build/font-only.css'),
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
 
@@ -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
- path.join(currentPath, '/src/styles/colorschemes/trinity.scss'),
13
- path.join(currentPath, 'node_modules/@caweb/icon-library/build/font-only.css'),
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
- let files = [
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
- let correctFiles = files.map(f => `'${f.replace(process.cwd(), '').replaceAll('\\', '/')}'`)
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
- path.join(currentPath, ${
39
- correctFiles.join('),\n' +
40
- `\t`.repeat(3) + `path.join(currentPath, 'node_modules/@caweb/icon-library/build/font-only.css'),\n` +
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
- "webpack": "webpack",
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": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/scripts/create-entrypoints.js --merge --mode production",
22
- "build:dev": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/scripts/create-entrypoints.js --merge --mode development"
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`] = `webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/${scheme}.js --merge --mode production`;
32
- scripts[`build:${scheme}:dev`] = `webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/${scheme}.js --merge --mode development`;
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}`] = `set NODE_OPTIONS='--scheme false' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/${scheme}.js ./lib/scripts/webpack.test.js --merge`;
36
- scripts[`serve:${scheme}:quick`] = `set NODE_OPTIONS='--no-jshint --no-audit --no-a11y --scheme false' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/${scheme}.js ./lib/scripts/webpack.test.js --merge`;
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
- plugins
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.8.7",
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/icon-library": "^1.1.3",
35
- "@inquirer/prompts": "^7.10.0",
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.1"
39
+ "fast-xml-parser": "^5.3.3",
40
+ "jquery": "^3.7.1"
42
41
  },
43
42
  "scripts": {
44
- "webpack": "webpack",
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": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/scripts/create-entrypoints.js --merge --mode production",
53
- "build:dev": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/scripts/create-entrypoints.js --merge --mode development",
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": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/delta.js --merge --mode production",
56
- "build:delta:dev": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/delta.js --merge --mode development",
57
- "serve:delta": "set NODE_OPTIONS='--scheme false' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/delta.js ./lib/scripts/webpack.test.js --merge",
58
- "serve:delta:quick": "set NODE_OPTIONS='--no-jshint --no-audit --no-a11y --scheme false' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/delta.js ./lib/scripts/webpack.test.js --merge",
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": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/eureka.js --merge --mode production",
61
- "build:eureka:dev": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/eureka.js --merge --mode development",
62
- "serve:eureka": "set NODE_OPTIONS='--scheme false' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/eureka.js ./lib/scripts/webpack.test.js --merge",
63
- "serve:eureka:quick": "set NODE_OPTIONS='--no-jshint --no-audit --no-a11y --scheme false' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/eureka.js ./lib/scripts/webpack.test.js --merge",
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": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/mono.js --merge --mode production",
66
- "build:mono:dev": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/mono.js --merge --mode development",
67
- "serve:mono": "set NODE_OPTIONS='--scheme false' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/mono.js ./lib/scripts/webpack.test.js --merge",
68
- "serve:mono:quick": "set NODE_OPTIONS='--no-jshint --no-audit --no-a11y --scheme false' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/mono.js ./lib/scripts/webpack.test.js --merge",
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": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/oceanside.js --merge --mode production",
71
- "build:oceanside:dev": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/oceanside.js --merge --mode development",
72
- "serve:oceanside": "set NODE_OPTIONS='--scheme false' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/oceanside.js ./lib/scripts/webpack.test.js --merge",
73
- "serve:oceanside:quick": "set NODE_OPTIONS='--no-jshint --no-audit --no-a11y --scheme false' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/oceanside.js ./lib/scripts/webpack.test.js --merge",
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": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/orangecounty.js --merge --mode production",
76
- "build:orangecounty:dev": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/orangecounty.js --merge --mode development",
77
- "serve:orangecounty": "set NODE_OPTIONS='--scheme false' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/orangecounty.js ./lib/scripts/webpack.test.js --merge",
78
- "serve:orangecounty:quick": "set NODE_OPTIONS='--no-jshint --no-audit --no-a11y --scheme false' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/orangecounty.js ./lib/scripts/webpack.test.js --merge",
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": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/pasorobles.js --merge --mode production",
81
- "build:pasorobles:dev": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/pasorobles.js --merge --mode development",
82
- "serve:pasorobles": "set NODE_OPTIONS='--scheme false' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/pasorobles.js ./lib/scripts/webpack.test.js --merge",
83
- "serve:pasorobles:quick": "set NODE_OPTIONS='--no-jshint --no-audit --no-a11y --scheme false' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/pasorobles.js ./lib/scripts/webpack.test.js --merge",
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": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/sacramento.js --merge --mode production",
86
- "build:sacramento:dev": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/sacramento.js --merge --mode development",
87
- "serve:sacramento": "set NODE_OPTIONS='--scheme false' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/sacramento.js ./lib/scripts/webpack.test.js --merge",
88
- "serve:sacramento:quick": "set NODE_OPTIONS='--no-jshint --no-audit --no-a11y --scheme false' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/sacramento.js ./lib/scripts/webpack.test.js --merge",
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": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/santabarbara.js --merge --mode production",
91
- "build:santabarbara:dev": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/santabarbara.js --merge --mode development",
92
- "serve:santabarbara": "set NODE_OPTIONS='--scheme false' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/santabarbara.js ./lib/scripts/webpack.test.js --merge",
93
- "serve:santabarbara:quick": "set NODE_OPTIONS='--no-jshint --no-audit --no-a11y --scheme false' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/santabarbara.js ./lib/scripts/webpack.test.js --merge",
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": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/santacruz.js --merge --mode production",
96
- "build:santacruz:dev": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/santacruz.js --merge --mode development",
97
- "serve:santacruz": "set NODE_OPTIONS='--scheme false' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/santacruz.js ./lib/scripts/webpack.test.js --merge",
98
- "serve:santacruz:quick": "set NODE_OPTIONS='--no-jshint --no-audit --no-a11y --scheme false' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/santacruz.js ./lib/scripts/webpack.test.js --merge",
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": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/shasta.js --merge --mode production",
101
- "build:shasta:dev": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/shasta.js --merge --mode development",
102
- "serve:shasta": "set NODE_OPTIONS='--scheme false' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/shasta.js ./lib/scripts/webpack.test.js --merge",
103
- "serve:shasta:quick": "set NODE_OPTIONS='--no-jshint --no-audit --no-a11y --scheme false' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/shasta.js ./lib/scripts/webpack.test.js --merge",
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": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/sierra.js --merge --mode production",
106
- "build:sierra:dev": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/sierra.js --merge --mode development",
107
- "serve:sierra": "set NODE_OPTIONS='--scheme false' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/sierra.js ./lib/scripts/webpack.test.js --merge",
108
- "serve:sierra:quick": "set NODE_OPTIONS='--no-jshint --no-audit --no-a11y --scheme false' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/sierra.js ./lib/scripts/webpack.test.js --merge",
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": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/trinity.js --merge --mode production",
111
- "build:trinity:dev": "webpack build --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/trinity.js --merge --mode development",
112
- "serve:trinity": "set NODE_OPTIONS='--scheme false' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/trinity.js ./lib/scripts/webpack.test.js --merge",
113
- "serve:trinity:quick": "set NODE_OPTIONS='--no-jshint --no-audit --no-a11y --scheme false' && webpack serve --config ./node_modules/@caweb/webpack/webpack.config.js ./lib/entry/trinity.js ./lib/scripts/webpack.test.js --merge"
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
@@ -12,6 +12,10 @@ header{
12
12
  margin-bottom: 0;
13
13
  padding: .5rem 0;
14
14
 
15
+ * {
16
+ font-size: 14px;
17
+ }
18
+
15
19
  .alert-link{
16
20
  margin-left: auto;
17
21
 
@@ -3,10 +3,9 @@
3
3
  /src/styles/components/header.scss
4
4
  ----------------------------------------- */
5
5
  header.global-header{
6
- position: fixed;
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
 
@@ -1 +0,0 @@
1
- <?php return array('dependencies' => array(), 'version' => '669f15672815d314f160');
@@ -1 +0,0 @@
1
- <?php return array('dependencies' => array(), 'version' => 'ffdbe731d118a92764ce');
@@ -1 +0,0 @@
1
- <?php return array('dependencies' => array(), 'version' => '2f222d1ad0ea70e2cc97');
@@ -1 +0,0 @@
1
- <?php return array('dependencies' => array(), 'version' => '3a6327856b97c15772c2');
@@ -1 +0,0 @@
1
- <?php return array('dependencies' => array(), 'version' => '29bad7d4664ed64b8645');
@@ -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');
@@ -1 +0,0 @@
1
- <?php return array('dependencies' => array(), 'version' => '8ace24ab264719604f1c');
@@ -1 +0,0 @@
1
- <?php return array('dependencies' => array(), 'version' => 'dcdd82c4454e855278b6');
@@ -1 +0,0 @@
1
- <?php return array('dependencies' => array(), 'version' => '00893b05655ddfd53dd6');
@@ -1 +0,0 @@
1
- <?php return array('dependencies' => array(), 'version' => '3b36e044458224123fdb');
@@ -1 +0,0 @@
1
- <?php return array('dependencies' => array(), 'version' => '37a3c20c49704f862b37');
@@ -1 +0,0 @@
1
- <?php return array('dependencies' => array(), 'version' => 'c94a9522868ee03b2568');