Browse Source

fix: merge conflicts

pull/351/head
Ricardo Aragon 2 years ago
parent
commit
8ebc907cbe
  1. 2
      .github/workflows/build-and-lint.yml
  2. 1
      assets/scripts/call-to-action.js
  3. 1
      assets/scripts/page-section.js
  4. 28
      assets/scripts/routes/catalog.js
  5. 6
      assets/scripts/util/camelCase.js
  6. 2
      assets/styles/aldine.scss
  7. 9
      assets/styles/components/_book.scss
  8. 4
      assets/styles/components/_forms.scss
  9. 10
      assets/styles/editor.scss
  10. 3
      assets/styles/layouts/_header.scss
  11. 7
      assets/styles/layouts/_page-catalog.scss
  12. 2
      assets/styles/layouts/_page-home.scss
  13. 1
      assets/styles/layouts/_signup.scss
  14. 34
      dist/mix-manifest.json
  15. 397
      dist/scripts/aldine.js
  16. 2
      dist/scripts/aldine.js.LICENSE.txt
  17. 33
      dist/scripts/call-to-action.js
  18. 68
      dist/scripts/catalog-admin.js
  19. 33
      dist/scripts/customizer-toggle.js
  20. 33
      dist/scripts/customizer.js
  21. 33
      dist/scripts/page-section.js
  22. 2696
      dist/styles/aldine.css
  23. 387
      dist/styles/editor.css
  24. 7909
      package-lock.json
  25. 22
      package.json

2
.github/workflows/build-and-lint.yml

@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
node: [ '14' ] node: [ '14', '16' ]
name: Node ${{ matrix.node }} name: Node ${{ matrix.node }}
steps: steps:

1
assets/scripts/call-to-action.js

@ -1,3 +1,4 @@
/* eslint-disable no-unused-vars */
( function () { ( function () {
tinymce.create( 'tinymce.plugins.aldine_call_to_action', { tinymce.create( 'tinymce.plugins.aldine_call_to_action', {
/** /**

1
assets/scripts/page-section.js

@ -1,3 +1,4 @@
/* eslint-disable no-unused-vars */
( function () { ( function () {
tinymce.create( 'tinymce.plugins.aldine_page_section', { tinymce.create( 'tinymce.plugins.aldine_page_section', {
/** /**

28
assets/scripts/routes/catalog.js

@ -15,7 +15,7 @@ export default {
// Give each <h3> a toggle button child // Give each <h3> a toggle button child
heading.innerHTML = ` heading.innerHTML = `
<button type="button" aria-expanded="false"> <button type="button" aria-expanded="false">
${heading.textContent} ${ heading.textContent }
<svg aria-hidden="true" focusable="false" class="arrow" width="13" height="8" viewBox="0 0 13 8" xmlns="http://www.w3.org/2000/svg"><path d="M6.255 8L0 0h12.51z" fill="currentColor" fill-rule="evenodd"></path></svg> <svg aria-hidden="true" focusable="false" class="arrow" width="13" height="8" viewBox="0 0 13 8" xmlns="http://www.w3.org/2000/svg"><path d="M6.255 8L0 0h12.51z" fill="currentColor" fill-rule="evenodd"></path></svg>
</button> </button>
`; `;
@ -85,7 +85,7 @@ export default {
// Give each <h3> a toggle button child // Give each <h3> a toggle button child
heading.innerHTML = ` heading.innerHTML = `
<button type="button" aria-expanded="false"> <button type="button" aria-expanded="false">
${heading.innerHTML} ${ heading.innerHTML }
<svg class="arrow" width="13" height="8" viewBox="0 0 13 8" xmlns="http://www.w3.org/2000/svg"><path d="M6.255 8L0 0h12.51z" fill="currentColor" fill-rule="evenodd"></path></svg> <svg class="arrow" width="13" height="8" viewBox="0 0 13 8" xmlns="http://www.w3.org/2000/svg"><path d="M6.255 8L0 0h12.51z" fill="currentColor" fill-rule="evenodd"></path></svg>
</button> </button>
`; `;
@ -175,16 +175,16 @@ export default {
} }
const subject = subjects.querySelector( 'input[type="radio"]:checked' ).value const subject = subjects.querySelector( 'input[type="radio"]:checked' ).value
? `[data-subject="${subjects.querySelector( 'input[type="radio"]:checked' ).value}"]` ? `[data-subject="${ subjects.querySelector( 'input[type="radio"]:checked' ).value }"]`
: ''; : '';
const institution = institutions.querySelector( 'input[type="radio"]:checked' ).value const institution = institutions.querySelector( 'input[type="radio"]:checked' ).value
? `[data-institution*="${institutions.querySelector( 'input[type="radio"]:checked' ).value}"]` ? `[data-institution*="${ institutions.querySelector( 'input[type="radio"]:checked' ).value }"]`
: ''; : '';
const license = event.target.value const license = event.target.value
? `[data-license="${event.target.value}"]` ? `[data-license="${ event.target.value }"]`
: ''; : '';
const filterValue = subject || license || institution ? `${subject}${license}${institution}` : '*'; const filterValue = subject || license || institution ? `${ subject }${ license }${ institution }` : '*';
$grid.isotope( { filter: filterValue } ); $grid.isotope( { filter: filterValue } );
} ); } );
@ -194,16 +194,16 @@ export default {
} }
const subject = subjects.querySelector( 'input[type="radio"]:checked' ).value const subject = subjects.querySelector( 'input[type="radio"]:checked' ).value
? `[data-subject="${subjects.querySelector( 'input[type="radio"]:checked' ).value}"]` ? `[data-subject="${ subjects.querySelector( 'input[type="radio"]:checked' ).value }"]`
: ''; : '';
const license = licenses.querySelector( 'input[type="radio"]:checked' ).value const license = licenses.querySelector( 'input[type="radio"]:checked' ).value
? `[data-license="${licenses.querySelector( 'input[type="radio"]:checked' ).value}"]` ? `[data-license="${ licenses.querySelector( 'input[type="radio"]:checked' ).value }"]`
: ''; : '';
const institution = event.target.value const institution = event.target.value
? `[data-institution*="${event.target.value}"]` ? `[data-institution*="${ event.target.value }"]`
: ''; : '';
const filterValue = subject || license || institution ? `${subject}${license}${institution}` : '*'; const filterValue = subject || license || institution ? `${ subject }${ license }${ institution }` : '*';
$grid.isotope( { filter: filterValue } ); $grid.isotope( { filter: filterValue } );
} ); } );
@ -213,16 +213,16 @@ export default {
} }
const license = licenses.querySelector( 'input[type="radio"]:checked' ).value const license = licenses.querySelector( 'input[type="radio"]:checked' ).value
? `[data-license="${licenses.querySelector( 'input[type="radio"]:checked' ).value}"]` ? `[data-license="${ licenses.querySelector( 'input[type="radio"]:checked' ).value }"]`
: ''; : '';
const institution = institutions.querySelector( 'input[type="radio"]:checked' ).value const institution = institutions.querySelector( 'input[type="radio"]:checked' ).value
? `[data-institution*="${institutions.querySelector( 'input[type="radio"]:checked' ).value}"]` ? `[data-institution*="${ institutions.querySelector( 'input[type="radio"]:checked' ).value }"]`
: ''; : '';
const subject = event.target.value const subject = event.target.value
? `[data-subject="${event.target.value}"]` ? `[data-subject="${ event.target.value }"]`
: ''; : '';
const filterValue = subject || license || institution ? `${subject}${license}${institution}` : '*'; const filterValue = subject || license || institution ? `${ subject }${ license }${ institution }` : '*';
$grid.isotope( { filter: filterValue } ); $grid.isotope( { filter: filterValue } );
} ); } );

6
assets/scripts/util/camelCase.js

@ -5,9 +5,9 @@
* @returns {string} String converted to camel-case, e.g., camelCaseIsHard * @returns {string} String converted to camel-case, e.g., camelCaseIsHard
*/ */
export default str => export default str =>
`${str.charAt( 0 ).toLowerCase()}${str `${ str.charAt( 0 ).toLowerCase() }${ str
.replace( /[\W_]/g, '|' ) .replace( /[\W_]/g, '|' )
.split( '|' ) .split( '|' )
.map( part => `${part.charAt( 0 ).toUpperCase()}${part.slice( 1 )}` ) .map( part => `${ part.charAt( 0 ).toUpperCase() }${ part.slice( 1 ) }` )
.join( '' ) .join( '' )
.slice( 1 )}`; .slice( 1 ) }`;

2
assets/styles/aldine.scss

@ -6,7 +6,7 @@
* Prefix your imports with `~` to grab from node_modules/ * Prefix your imports with `~` to grab from node_modules/
* @see https://github.com/webpack-contrib/sass-loader#imports * @see https://github.com/webpack-contrib/sass-loader#imports
*/ */
@import "~aetna/assets/styles/aetna.scss"; @import "~aetna/assets/styles/aetna";
/** Import theme styles */ /** Import theme styles */
@import "common/global"; @import "common/global";

9
assets/styles/components/_book.scss

@ -8,6 +8,7 @@
margin: 0 0 2rem; margin: 0 0 2rem;
padding: 1.5rem 1rem 2rem; padding: 1.5rem 1rem 2rem;
@media #{$breakpoint-not-small} { padding: 1.5rem 1.85rem 2.1875rem; } @media #{$breakpoint-not-small} { padding: 1.5rem 1.85rem 2.1875rem; }
border: solid 2px var(--accent); border: solid 2px var(--accent);
background: var(--accent); background: var(--accent);
@ -27,6 +28,7 @@
margin: 0; margin: 0;
font-size: 1.25rem; font-size: 1.25rem;
@media #{$breakpoint-not-small} { font-size: 1.75rem; } @media #{$breakpoint-not-small} { font-size: 1.75rem; }
font-weight: 500; font-weight: 500;
line-height: 1.2; line-height: 1.2;
text-align: left; text-align: left;
@ -38,14 +40,15 @@
@media #{$breakpoint-not-small} { @media #{$breakpoint-not-small} {
font-size: 1rem; font-size: 1rem;
} }
text-align: left; text-align: left;
} }
&__institutions { &__institutions {
margin: .5rem 0 0 0; margin: .5rem 0 0;
font-size: 0.875rem; font-size: 0.875rem;
text-align: left; text-align: left;
display: -webkit-box; display: box;
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
@ -55,6 +58,7 @@
margin: auto 0 0; margin: auto 0 0;
font-size: 1rem; font-size: 1rem;
@media #{$breakpoint-not-small} { font-size: 1.125rem; } @media #{$breakpoint-not-small} { font-size: 1.125rem; }
text-align: left; text-align: left;
a { a {
@ -66,6 +70,7 @@
height: 1.125rem; height: 1.125rem;
margin-left: 0.5rem; margin-left: 0.5rem;
} }
vertical-align: middle; vertical-align: middle;
} }
} }

4
assets/styles/components/_forms.scss

@ -23,8 +23,7 @@ textarea {
font-weight: 600; font-weight: 600;
font-family: $font-family-sans-serif; font-family: $font-family-sans-serif;
background: transparent; background: transparent;
-webkit-appearance: none; appearance: none;
-moz-appearance: none;
&:focus { &:focus {
outline: none; outline: none;
@ -88,6 +87,7 @@ input[type="submit"] {
font-size: 0.75rem; font-size: 0.75rem;
} }
} }
&.error { &.error {
border-bottom: solid 2px var(--error); border-bottom: solid 2px var(--error);

10
assets/styles/editor.scss

@ -1,8 +1,10 @@
@import '~aetna/assets/styles/common/_variables.scss'; @import '~aetna/assets/styles/common/variables';
@import '~aetna/assets/styles/common/_global.scss'; @import '~aetna/assets/styles/common/global';
body#tinymce { body#tinymce {
margin: 12px !important; margin: 12px !important;
@import '~aetna/assets/styles/components/_buttons.scss'; /* stylelint-disable no-invalid-position-at-import-rule */
@import '~aetna/assets/styles/layouts/_page-sections.scss'; @import '~aetna/assets/styles/components/buttons';
@import '~aetna/assets/styles/layouts/page-sections';
/* stylelint-enable */
} }

3
assets/styles/layouts/_header.scss

@ -12,6 +12,7 @@
@media #{$breakpoint-large} { @media #{$breakpoint-large} {
height: 880px; height: 880px;
.header__inside { .header__inside {
position: relative; position: relative;
z-index: 99; z-index: 99;
@ -47,6 +48,7 @@
line-height: 1.25em; line-height: 1.25em;
margin-top: 1.5em; margin-top: 1.5em;
} }
margin-bottom: 0; margin-bottom: 0;
text-align: center; text-align: center;
max-width: 100%; max-width: 100%;
@ -58,6 +60,7 @@
@media #{$breakpoint-large} { @media #{$breakpoint-large} {
font-size: 2rem; font-size: 2rem;
} }
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
text-align: center; text-align: center;

7
assets/styles/layouts/_page-catalog.scss

@ -12,7 +12,7 @@ fieldset {
text-align: left; text-align: left;
text-transform: none; text-transform: none;
&:before { &::before {
display: none; display: none;
} }
@ -127,6 +127,7 @@ fieldset {
padding: 0; padding: 0;
margin: 2rem 0 1rem 1rem; margin: 2rem 0 1rem 1rem;
} }
.book { .book {
height: 14.375rem; height: 14.375rem;
width: calc(50% - 1rem); width: calc(50% - 1rem);
@ -224,12 +225,12 @@ fieldset {
.subject-groups { .subject-groups {
width: calc(100% + 0.125rem); width: calc(100% + 0.125rem);
margin-left: -0.06125rem; margin-left: -0.0612rem;
div { div {
position: relative; position: relative;
width: calc(100% + 0.125rem); width: calc(100% + 0.125rem);
margin-left: -0.06125rem; margin-left: -0.0612rem;
border-bottom: 0; border-bottom: 0;
} }
} }

2
assets/styles/layouts/_page-home.scss

@ -74,6 +74,7 @@
width: calc(100vw - 5.125rem); width: calc(100vw - 5.125rem);
max-width: 75rem; max-width: 75rem;
} }
.books { .books {
flex-direction: row; flex-direction: row;
justify-content: center; justify-content: center;
@ -93,6 +94,7 @@
.previous, .previous,
.next { .next {
width: rem(32); width: rem(32);
svg { svg {
width: rem(32); width: rem(32);
height: rem(32); height: rem(32);

1
assets/styles/layouts/_signup.scss

@ -1,6 +1,7 @@
.wp-activate-container, .wp-activate-container,
.mu_register.wp-signup-container { .mu_register.wp-signup-container {
@extend .page-section; @extend .page-section;
margin: rem(120) auto 4rem; margin: rem(120) auto 4rem;
* { * {

34
dist/mix-manifest.json vendored

@ -1,19 +1,19 @@
{ {
"/scripts/aldine.js": "/scripts/aldine.js?id=5ecff462d448444a549b", "/scripts/aldine.js": "/scripts/aldine.js",
"/scripts/call-to-action.js": "/scripts/call-to-action.js?id=33370b66c7af12320fc0", "/scripts/call-to-action.js": "/scripts/call-to-action.js",
"/scripts/catalog-admin.js": "/scripts/catalog-admin.js?id=2bc3bfa90831ab142ee9", "/scripts/catalog-admin.js": "/scripts/catalog-admin.js",
"/scripts/customizer.js": "/scripts/customizer.js?id=14dca3944228dd789c27", "/scripts/customizer.js": "/scripts/customizer.js",
"/scripts/customizer-toggle.js": "/scripts/customizer-toggle.js?id=c31594589675d7c5662a", "/scripts/customizer-toggle.js": "/scripts/customizer-toggle.js",
"/scripts/page-section.js": "/scripts/page-section.js?id=19d5c30146ea1a763bcf", "/scripts/page-section.js": "/scripts/page-section.js",
"/styles/editor.css": "/styles/editor.css?id=b7c2449babe566571767", "/styles/editor.css": "/styles/editor.css",
"/styles/aldine.css": "/styles/aldine.css?id=534450cda31e22f1f2a0", "/styles/aldine.css": "/styles/aldine.css",
"/fonts/pressbooks-theme.woff": "/fonts/pressbooks-theme.woff?id=2a7aae81673f4707bbe7", "/fonts/pressbooks-theme.woff": "/fonts/pressbooks-theme.woff",
"/images/banner.jpg": "/images/banner.jpg?id=04a813e0b4f94ddfef19", "/images/banner.jpg": "/images/banner.jpg",
"/images/catalog-header.jpg": "/images/catalog-header.jpg?id=223b9f7a23985f2a72df", "/images/catalog-header.jpg": "/images/catalog-header.jpg",
"/images/header.jpg": "/images/header.jpg?id=c6712212b6aa749cf1cf", "/images/header.jpg": "/images/header.jpg",
"/images/left-arrow.svg": "/images/left-arrow.svg?id=91d479e2d001857a3ee4", "/images/left-arrow.svg": "/images/left-arrow.svg",
"/images/logo.svg": "/images/logo.svg?id=d71cb98d33ef823ffd27", "/images/logo.svg": "/images/logo.svg",
"/images/pb.svg": "/images/pb.svg?id=c08fb158c15a470648a7", "/images/pb.svg": "/images/pb.svg",
"/images/right-arrow.svg": "/images/right-arrow.svg?id=ee2d7230318ea54ae20b", "/images/right-arrow.svg": "/images/right-arrow.svg",
"/images/yt_icon_mono_dark.png": "/images/yt_icon_mono_dark.png?id=ee68b73409979a929440" "/images/yt_icon_mono_dark.png": "/images/yt_icon_mono_dark.png"
} }

397
dist/scripts/aldine.js vendored

File diff suppressed because one or more lines are too long

2
dist/scripts/aldine.js.LICENSE.txt vendored

@ -15,7 +15,7 @@
*/ */
/*! /*!
* Masonry v4.2.1 * Masonry v4.2.2
* Cascading grid layout library * Cascading grid layout library
* https://masonry.desandro.com * https://masonry.desandro.com
* MIT License * MIT License

33
dist/scripts/call-to-action.js vendored

File diff suppressed because one or more lines are too long

68
dist/scripts/catalog-admin.js vendored

File diff suppressed because one or more lines are too long

33
dist/scripts/customizer-toggle.js vendored

@ -1 +1,32 @@
document.addEventListener("DOMContentLoaded",(function(){var t=document.getElementById("_customize-input-pb_network_contact_form"),e=document.getElementById("customize-control-pb_network_contact_email"),s=document.getElementById("customize-control-pb_network_contact_link"),n=document.getElementById("customize-control-pb_network_contact_form_title");function c(){!1===t.checked?(e.classList.add("hidden"),e.style.cssText=null,n.classList.add("hidden"),n.style.cssText=null,s.classList.remove("hidden"),s.style.cssText="display: list-item;"):(e.classList.remove("hidden"),e.style.cssText="display: list-item;",n.classList.remove("hidden"),n.style.cssText="display: list-item;",s.classList.add("hidden"),s.style.cssText=null)}t.addEventListener("click",c),c()})); /*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
/******/ (function() { // webpackBootstrap
/******/ var __webpack_modules__ = ({
/***/ "./assets/scripts/customizer-toggle.js":
/*!*********************************************!*\
!*** ./assets/scripts/customizer-toggle.js ***!
\*********************************************/
/***/ (function() {
eval("document.addEventListener('DOMContentLoaded', function () {\n var checkbox = document.getElementById('_customize-input-pb_network_contact_form');\n var email = document.getElementById('customize-control-pb_network_contact_email');\n var link = document.getElementById('customize-control-pb_network_contact_link');\n var title = document.getElementById('customize-control-pb_network_contact_form_title');\n checkbox.addEventListener('click', toggleReadOnly);\n /**\n *\n */\n\n function toggleReadOnly() {\n if (checkbox.checked === false) {\n email.classList.add('hidden');\n email.style.cssText = null;\n title.classList.add('hidden');\n title.style.cssText = null;\n link.classList.remove('hidden');\n link.style.cssText = 'display: list-item;';\n } else {\n email.classList.remove('hidden');\n email.style.cssText = 'display: list-item;';\n title.classList.remove('hidden');\n title.style.cssText = 'display: list-item;';\n link.classList.add('hidden');\n link.style.cssText = null;\n }\n }\n\n toggleReadOnly();\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9AcHJlc3Nib29rcy9wcmVzc2Jvb2tzLWFsZGluZS8uL2Fzc2V0cy9zY3JpcHRzL2N1c3RvbWl6ZXItdG9nZ2xlLmpzP2U0Y2IiXSwibmFtZXMiOlsiZG9jdW1lbnQiLCJhZGRFdmVudExpc3RlbmVyIiwiY2hlY2tib3giLCJnZXRFbGVtZW50QnlJZCIsImVtYWlsIiwibGluayIsInRpdGxlIiwidG9nZ2xlUmVhZE9ubHkiLCJjaGVja2VkIiwiY2xhc3NMaXN0IiwiYWRkIiwic3R5bGUiLCJjc3NUZXh0IiwicmVtb3ZlIl0sIm1hcHBpbmdzIjoiQUFBQUEsUUFBUSxDQUFDQyxnQkFBVCxDQUEyQixrQkFBM0IsRUFBK0MsWUFBWTtBQUMxRCxNQUFJQyxRQUFRLEdBQUdGLFFBQVEsQ0FBQ0csY0FBVCxDQUF5QiwwQ0FBekIsQ0F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RkKCAnaGlkZGVuJyApO1xuXHRcdFx0ZW1haWwuc3R5bGUuY3NzVGV4dCA9IG51bGw7XG5cblx0XHRcdHRpdGxlLmNsYXNzTGlzdC5hZGQoICdoaWRkZW4nICk7XG5cdFx0XHR0aXRsZS5zdHlsZS5jc3NUZXh0ID0gbnVsbDtcblxuXHRcdFx0bGluay5jbGFzc0xpc3QucmVtb3ZlKCAnaGlkZGVuJyApO1xuXHRcdFx0bGluay5zdHlsZS5jc3NUZXh0ID0gJ2Rpc3BsYXk6IGxpc3QtaXRlbTsnO1xuXHRcdH0gZWxzZSB7XG5cdFx0XHRlbWFpbC5jbGFzc0xpc3QucmVtb3ZlKCAnaGlkZGVuJyApO1xuXHRcdFx0ZW1haWwuc3R5bGUuY3NzVGV4dCA9ICdkaXNwbGF5OiBsaXN0LWl0ZW07JztcblxuXHRcdFx0dGl0bGUuY2xhc3NMaXN0LnJlbW92ZSggJ2hpZGRlbicgKTtcblx0XHRcdHRpdGxlLnN0eWxlLmNzc1RleHQgPSAnZGlzcGxheTogbGlzdC1pdGVtOyc7XG5cblx0XHRcdGxpbmsuY2xhc3NMaXN0LmFkZCggJ2hpZGRlbicgKTtcblx0XHRcdGxpbmsuc3R5bGUuY3NzVGV4dCA9IG51bGw7XG5cdFx0fVxuXHR9XG5cblx0dG9nZ2xlUmVhZE9ubHkoKTtcblxufSApO1xuIl0sImZpbGUiOiIuL2Fzc2V0cy9zY3JpcHRzL2N1c3RvbWl6ZXItdG9nZ2xlLmpzLmpzIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./assets/scripts/customizer-toggle.js\n");
/***/ })
/******/ });
/************************************************************************/
/******/
/******/ // startup
/******/ // Load entry module and return exports
/******/ // This entry module can't be inlined because the eval-source-map devtool is used.
/******/ var __webpack_exports__ = {};
/******/ __webpack_modules__["./assets/scripts/customizer-toggle.js"]();
/******/
/******/ })()
;

33
dist/scripts/customizer.js vendored

@ -1 +1,32 @@
wp.customize("blogname",(function(t){t.bind((function(t){return document.querySelector(".home .entry-title").textContent=t}))})),wp.customize("blogdescription",(function(t){t.bind((function(t){return document.querySelector(".home .entry-description").textContent=t}))})); /*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
/******/ (function() { // webpackBootstrap
/******/ var __webpack_modules__ = ({
/***/ "./assets/scripts/customizer.js":
/*!**************************************!*\
!*** ./assets/scripts/customizer.js ***!
\**************************************/
/***/ (function() {
eval("wp.customize('blogname', function (value) {\n value.bind(function (to) {\n return document.querySelector('.home .entry-title').textContent = to;\n });\n});\nwp.customize('blogdescription', function (value) {\n value.bind(function (to) {\n return document.querySelector('.home .entry-description').textContent = to;\n });\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9AcHJlc3Nib29rcy9wcmVzc2Jvb2tzLWFsZGluZS8uL2Fzc2V0cy9zY3JpcHRzL2N1c3RvbWl6ZXIuanM/ZWIyMCJdLCJuYW1lcyI6WyJ3cCIsImN1c3RvbWl6ZSIsInZhbHVlIiwiYmluZCIsInRvIiwiZG9jdW1lbnQiLCJxdWVyeVNlbGVjdG9yIiwidGV4dENvbnRlbnQiXSwibWFwcGluZ3MiOiJBQUFBQSxFQUFFLENBQUNDLFNBQUgsQ0FBYyxVQUFkLEVBQTBCLFVBQUFDLEtBQUssRUFBSTtBQUNsQ0EsRUFBQUEsS0FBSyxDQUFDQyxJQUFOLENBQVksVUFBQUMsRUFBRTtBQUFBLFdBQUlDLFFBQVEsQ0FBQ0MsYUFBVCxDQUF3QixvQkFBeEIsRUFBK0NDLFdBQS9DLEdBQTZESCxFQUFqRTtBQUFBLEdBQWQ7QUFDQSxDQUZEO0FBSUFKLEVBQUUsQ0FBQ0MsU0FBSCxDQUFjLGlCQUFkLEVBQWlDLFVBQUFDLEtBQUssRUFBSTtBQUN6Q0EsRUFBQUEsS0FBSyxDQUFDQyxJQUFOLENBQVksVUFBQUMsRUFBRTtBQUFBLFdBQUlDLFFBQVEsQ0FBQ0MsYUFBVCxDQUF3QiwwQkFBeEIsRUFBcURDLFdBQXJELEdBQW1FSCxFQUF2RTtBQUFBLEdBQWQ7QUFDQSxDQUZEIiwic291cmNlc0NvbnRlbnQiOlsid3AuY3VzdG9taXplKCAnYmxvZ25hbWUnLCB2YWx1ZSA9PiB7XG5cdHZhbHVlLmJpbmQoIHRvID0+IGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3IoICcuaG9tZSAuZW50cnktdGl0bGUnICkudGV4dENvbnRlbnQgPSB0byApO1xufSApO1xuXG53cC5jdXN0b21pemUoICdibG9nZGVzY3JpcHRpb24nLCB2YWx1ZSA9PiB7XG5cdHZhbHVlLmJpbmQoIHRvID0+IGRvY3VtZW50LnF1ZXJ5U2VsZWN0b3IoICcuaG9tZSAuZW50cnktZGVzY3JpcHRpb24nICkudGV4dENvbnRlbnQgPSB0byApO1xufSApO1xuIl0sImZpbGUiOiIuL2Fzc2V0cy9zY3JpcHRzL2N1c3RvbWl6ZXIuanMuanMiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./assets/scripts/customizer.js\n");
/***/ })
/******/ });
/************************************************************************/
/******/
/******/ // startup
/******/ // Load entry module and return exports
/******/ // This entry module can't be inlined because the eval-source-map devtool is used.
/******/ var __webpack_exports__ = {};
/******/ __webpack_modules__["./assets/scripts/customizer.js"]();
/******/
/******/ })()
;

33
dist/scripts/page-section.js vendored

File diff suppressed because one or more lines are too long

2696
dist/styles/aldine.css vendored

File diff suppressed because one or more lines are too long

387
dist/styles/editor.css vendored

File diff suppressed because one or more lines are too long

7909
package-lock.json generated

File diff suppressed because it is too large Load Diff

22
package.json

@ -55,26 +55,30 @@
"assets/scripts/routes/common.js" "assets/scripts/routes/common.js"
], ],
"stylelint": { "stylelint": {
"extends": "./node_modules/pressbooks-build-tools/config/stylelint.js" "extends": "./node_modules/pressbooks-build-tools/config/stylelint.js",
"rules": {
"scss/at-extend-no-missing-placeholder": null
}
}, },
"scripts": { "scripts": {
"watch": "mix watch", "build": "mix",
"build": "npm run production", "lint:scripts": "eslint \"assets/scripts/**/*.js\"",
"lint:styles": "stylelint \"assets/styles/**/*.scss\"",
"lint": "run-s lint:*",
"production": "mix --production", "production": "mix --production",
"rmdist": "rimraf dist", "rmdist": "rimraf dist",
"test": "npm run -s lint", "start": "mix watch",
"lint": "npm run -s lint:scripts && npm run -s lint:styles", "test": "npm run lint"
"lint:scripts": "eslint \"assets/scripts/**/*.js\"",
"lint:styles": "stylelint \"assets/styles/**/*.scss\" --syntax scss"
}, },
"engines": { "engines": {
"node": ">= 14" "node": ">= 14"
}, },
"devDependencies": { "devDependencies": {
"pressbooks-build-tools": "^3.0.1" "npm-run-all": "^4.1.5",
"pressbooks-build-tools": "^4.0.0"
}, },
"dependencies": { "dependencies": {
"aetna": "^1.0.0-alpha.27", "aetna": "^1.0.0",
"isotope-layout": "^3.0.6", "isotope-layout": "^3.0.6",
"jquery-bridget": "^3.0.1" "jquery-bridget": "^3.0.1"
} }

Loading…
Cancel
Save