create-berna-stencil 1.0.26 → 1.0.27
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/bin/create.js
CHANGED
|
@@ -17,7 +17,7 @@ const COPY_TARGETS = [
|
|
|
17
17
|
|
|
18
18
|
const PROJECT_PACKAGE = {
|
|
19
19
|
name: path.basename(targetDir),
|
|
20
|
-
version: '1.0.
|
|
20
|
+
version: '1.0.27',
|
|
21
21
|
private: true,
|
|
22
22
|
scripts: {
|
|
23
23
|
"build:css": "sass src/scss:c:/laragon/www/Berna-Stencil-out/css --no-source-map --style=compressed --quiet",
|
package/package.json
CHANGED
package/src/data/site.json
CHANGED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
//==========================
|
|
2
|
-
// JAVASCRIPT MODULES IMPORTS
|
|
3
|
-
//==========================
|
|
4
|
-
|
|
5
|
-
// Call inside DOMContentLoaded
|
|
6
|
-
import { initLangSwitcher } from '../modules/langSwitcher.js';
|
|
7
|
-
|
|
8
|
-
// Call anywhere
|
|
9
|
-
import { showNotification } from '../modules/notification.js';
|
|
10
|
-
|
|
11
|
-
// Uncomment to enable optional modules (call inside DOMContentLoaded)
|
|
12
|
-
// import { initTextAreaAutoExpand } from '../modules/forms/textAreaAutoExpand.js';
|
|
13
|
-
// import { initNormalizePhoneNumber } from '../modules/forms/normalizePhoneNumber.js';
|
|
14
|
-
|
|
15
|
-
//==========================
|
|
16
|
-
// "another-page" PAGE CUSTOM JAVASCRIPT
|
|
17
|
-
//==========================
|
|
18
|
-
|
|
19
|
-
document.addEventListener("DOMContentLoaded", () => {
|
|
20
|
-
initLangSwitcher();
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
showNotification("another-page notification", "success", 3000);
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
//==========================
|
|
2
|
-
// CSS MODULES IMPORTS
|
|
3
|
-
//==========================
|
|
4
|
-
|
|
5
|
-
// Use @use with a namespace to avoid framework variable conflicts:
|
|
6
|
-
@use "../modules/root" as root;
|
|
7
|
-
|
|
8
|
-
// Page layout modules — comment out any section you don't need
|
|
9
|
-
@import "../modules/global";
|
|
10
|
-
// Import any other module you need by import down here
|
|
11
|
-
@import "../modules/notification";
|
|
12
|
-
|
|
13
|
-
//==========================
|
|
14
|
-
// PAGE CUSTOM CSS RULES FOR PAGE: another-page
|
|
15
|
-
//==========================
|
|
16
|
-
|
|
17
|
-
// Add any custom rule specific to this page below
|
|
18
|
-
// These rules override the framework and module styles
|
|
19
|
-
// body {
|
|
20
|
-
// background-color: root.$primary;
|
|
21
|
-
// }
|