unpoly-rails 3.14.3 → 3.15.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 (38) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +317 -0
  3. data/README.md +61 -40
  4. data/assets/unpoly/unpoly-bootstrap3.css.map +1 -0
  5. data/assets/unpoly/unpoly-bootstrap3.js.map +1 -0
  6. data/assets/unpoly/unpoly-bootstrap3.min.css.map +1 -0
  7. data/assets/unpoly/unpoly-bootstrap3.min.js.map +1 -0
  8. data/assets/unpoly/unpoly-bootstrap4.css.map +1 -0
  9. data/assets/unpoly/unpoly-bootstrap4.js.map +1 -0
  10. data/assets/unpoly/unpoly-bootstrap4.min.css.map +1 -0
  11. data/assets/unpoly/unpoly-bootstrap4.min.js.map +1 -0
  12. data/assets/unpoly/unpoly-bootstrap5.css.map +1 -0
  13. data/assets/unpoly/unpoly-bootstrap5.js.map +1 -0
  14. data/assets/unpoly/unpoly-bootstrap5.min.css.map +1 -0
  15. data/assets/unpoly/unpoly-bootstrap5.min.js.map +1 -0
  16. data/assets/unpoly/unpoly-migrate.js +228 -149
  17. data/assets/unpoly/unpoly-migrate.js.map +1 -0
  18. data/assets/unpoly/unpoly-migrate.min.js +1 -1
  19. data/assets/unpoly/unpoly-migrate.min.js.map +1 -0
  20. data/assets/unpoly/unpoly.css.map +1 -0
  21. data/assets/unpoly/unpoly.es6.js +665 -429
  22. data/assets/unpoly/unpoly.es6.js.map +1 -0
  23. data/assets/unpoly/unpoly.es6.min.js +1 -1
  24. data/assets/unpoly/unpoly.es6.min.js.map +1 -0
  25. data/assets/unpoly/unpoly.js +2166 -1989
  26. data/assets/unpoly/unpoly.js.map +1 -0
  27. data/assets/unpoly/unpoly.min.css.map +1 -0
  28. data/assets/unpoly/unpoly.min.js +1 -1
  29. data/assets/unpoly/unpoly.min.js.map +1 -0
  30. data/lib/unpoly/rails/change/cache.rb +4 -4
  31. data/lib/unpoly/rails/change/layer.rb +3 -0
  32. data/lib/unpoly/rails/change.rb +35 -8
  33. data/lib/unpoly/rails/controller.rb +3 -2
  34. data/lib/unpoly/rails/engine.rb +7 -0
  35. data/lib/unpoly/rails/request_echo_headers.rb +10 -3
  36. data/lib/unpoly/rails/util.rb +38 -0
  37. data/lib/unpoly/rails/version.rb +1 -1
  38. metadata +31 -8
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unpoly-bootstrap4.js","mappings":";;;;;;;;AAAA;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;;;ACLA,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC;AAG9C,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC;AAE7C,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,MAAM,EAAE,SAAS,CAAC;AAErD,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,aAAa,CAAC;AAEpD,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,iBAAiB,CAAC,IAAI,CAAC,mBAAmB,CAAC;AAC9D,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,oBAAoB,CAAC,IAAI,CAAC,sBAAsB,CAAC;AACpE,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,sBAAsB,CAAC,IAAI,CAAC,mBAAmB,EAAE,sBAAsB,CAAC;AAE3F,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,gBAAgB,CAAC,IAAI,CACtC,KAAK,EACL,oCAAoC,EACpC,qBAAqB,CACtB;AAED,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,uBAAuB,CAAC,IAAI,CAC1C,sBAAsB,EACtB,wBAAwB,EACxB,8BAA8B,CAC/B;AAED,mBAAO,CAAC,CAA0B,CAAC","sources":["webpack://unpoly/./src/unpoly-bootstrap4.sass?5a71","webpack://unpoly/webpack/bootstrap","webpack://unpoly/webpack/runtime/make namespace object","webpack://unpoly/./src/unpoly-bootstrap4.js"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport {};","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// Bootstrap uses the class `active` to highlight the current section of a navigation bar.\nup.status.config.currentClasses.push('active')\n\n// Bootstrap uses the class `active` to force a button's active state.\nup.status.config.activeClasses.push('active')\n\nup.status.config.navSelectors.push('.nav', '.navbar')\n\nup.form.config.groupSelectors.unshift('.form-group')\n\nup.viewport.config.fixedTopSelectors.push('.navbar.fixed-top')\nup.viewport.config.fixedBottomSelectors.push('.navbar.fixed-bottom')\nup.viewport.config.anchoredRightSelectors.push('.navbar.fixed-top', '.navbar.fixed-bottom')\n\nup.fragment.config.badTargetClasses.push(\n 'row',\n /^col(-xs|-sm|-md|-lg|-xl)?(-\\d+)?$/,\n /^[mp][tblrxy]?-\\d+$/\n)\n\nup.layer.config.foreignOverlaySelectors.push(\n '.modal:not(up-modal)',\n '.popover:not(up-popup)',\n '.dropdown-menu:not(up-popup)'\n)\n\nrequire('./unpoly-bootstrap4.sass')\n"],"names":[],"sourceRoot":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unpoly-bootstrap4.min.css","mappings":"AAGE,4IAEE,eACA,gBACA,e","sources":["webpack://unpoly/./src/unpoly-bootstrap4.sass"],"sourcesContent":["up-modal,\nup-drawer,\nup-popup\n .container,\n .container-fluid\n padding-left: 0 // the overlay box already has a padding\n padding-right: 0 // the overlay box already has a padding\n max-width: none // the overlay box already as a max-width\n"],"names":[],"sourceRoot":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unpoly-bootstrap4.min.js","mappings":"8CACIA,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaE,QAGrB,IAAIC,EAASN,EAAyBE,GAAY,CAGjDG,QAAS,CAAC,GAOX,OAHAE,EAAoBL,GAAUI,EAAQA,EAAOD,QAASJ,GAG/CK,EAAOD,OACf,CCrBAJ,EAAoBO,EAAKH,IACH,oBAAXI,QAA0BA,OAAOC,aAC1CC,OAAOC,eAAeP,EAASI,OAAOC,YAAa,CAAEG,MAAO,WAE7DF,OAAOC,eAAeP,EAAS,IAAc,CAAEQ,OAAO,KCJvDC,GAAGC,OAAOC,OAAOC,eAAeC,KAAK,UAGrCJ,GAAGC,OAAOC,OAAOG,cAAcD,KAAK,UAEpCJ,GAAGC,OAAOC,OAAOI,aAAaF,KAAK,OAAQ,WAE3CJ,GAAGO,KAAKL,OAAOM,eAAeC,QAAQ,eAEtCT,GAAGU,SAASR,OAAOS,kBAAkBP,KAAK,qBAC1CJ,GAAGU,SAASR,OAAOU,qBAAqBR,KAAK,wBAC7CJ,GAAGU,SAASR,OAAOW,uBAAuBT,KAAK,oBAAqB,wBAEpEJ,GAAGc,SAASZ,OAAOa,iBAAiBX,KAClC,MACA,qCACA,uBAGFJ,GAAGgB,MAAMd,OAAOe,wBAAwBb,KACtC,uBACA,yBACA,gCAGF,EAAQ,I","sources":["webpack://unpoly/webpack/bootstrap","webpack://unpoly/webpack/runtime/make namespace object","webpack://unpoly/./src/unpoly-bootstrap4.js"],"sourcesContent":["// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// Bootstrap uses the class `active` to highlight the current section of a navigation bar.\nup.status.config.currentClasses.push('active')\n\n// Bootstrap uses the class `active` to force a button's active state.\nup.status.config.activeClasses.push('active')\n\nup.status.config.navSelectors.push('.nav', '.navbar')\n\nup.form.config.groupSelectors.unshift('.form-group')\n\nup.viewport.config.fixedTopSelectors.push('.navbar.fixed-top')\nup.viewport.config.fixedBottomSelectors.push('.navbar.fixed-bottom')\nup.viewport.config.anchoredRightSelectors.push('.navbar.fixed-top', '.navbar.fixed-bottom')\n\nup.fragment.config.badTargetClasses.push(\n 'row',\n /^col(-xs|-sm|-md|-lg|-xl)?(-\\d+)?$/,\n /^[mp][tblrxy]?-\\d+$/\n)\n\nup.layer.config.foreignOverlaySelectors.push(\n '.modal:not(up-modal)',\n '.popover:not(up-popup)',\n '.dropdown-menu:not(up-popup)'\n)\n\nrequire('./unpoly-bootstrap4.sass')\n"],"names":["__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","r","Symbol","toStringTag","Object","defineProperty","value","up","status","config","currentClasses","push","activeClasses","navSelectors","form","groupSelectors","unshift","viewport","fixedTopSelectors","fixedBottomSelectors","anchoredRightSelectors","fragment","badTargetClasses","layer","foreignOverlaySelectors"],"sourceRoot":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unpoly-bootstrap5.css","mappings":"AAGE;;;;;;EAEE;EACA;EACA;AAEJ,C","sources":["webpack://unpoly/./src/unpoly-bootstrap5.sass"],"sourcesContent":["up-modal,\nup-drawer,\nup-popup\n .container,\n .container-fluid\n padding-left: 0 // the overlay box already has a padding\n padding-right: 0 // the overlay box already has a padding\n max-width: none // the overlay box already as a max-width\n"],"names":[],"sourceRoot":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unpoly-bootstrap5.js","mappings":";;;;;;;;AAAA;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;;;ACLA,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC;AAG9C,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC;AAE7C,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,MAAM,EAAE,SAAS,CAAC;AAErD,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,iBAAiB,CAAC,IAAI,CAAC,mBAAmB,CAAC;AAC9D,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,oBAAoB,CAAC,IAAI,CAAC,sBAAsB,CAAC;AACpE,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,sBAAsB,CAAC,IAAI,CAAC,mBAAmB,EAAE,sBAAsB,CAAC;AAM3F,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,gBAAgB,CAAC,IAAI,CACtC,KAAK,EACL,yCAAyC,EACzC,qBAAqB,CACtB;AAED,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,uBAAuB,CAAC,IAAI,CAC1C,sBAAsB,EACtB,wBAAwB,EACxB,8BAA8B,CAC/B;AAED,mBAAO,CAAC,CAA0B,CAAC","sources":["webpack://unpoly/./src/unpoly-bootstrap5.sass?8386","webpack://unpoly/webpack/bootstrap","webpack://unpoly/webpack/runtime/make namespace object","webpack://unpoly/./src/unpoly-bootstrap5.js"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport {};","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// Bootstrap uses the class `active` to highlight the current section of a navigation bar.\nup.status.config.currentClasses.push('active')\n\n// Bootstrap uses the class `active` to force a button's active state.\nup.status.config.activeClasses.push('active')\n\nup.status.config.navSelectors.push('.nav', '.navbar')\n\nup.viewport.config.fixedTopSelectors.push('.navbar.fixed-top')\nup.viewport.config.fixedBottomSelectors.push('.navbar.fixed-bottom')\nup.viewport.config.anchoredRightSelectors.push('.navbar.fixed-top', '.navbar.fixed-bottom')\n\n// We would really like to provide a nice default for up.form.config.groupSelectors.\n// Unfortunately Bootstrap 5 no longer has a selector like \".form-group\" to group labels\n// and inputs. All the examples now use <div class=\"mb-3\"> .\n\nup.fragment.config.badTargetClasses.push(\n 'row',\n /^col(-xs|-sm|-md|-lg|-xl|-xxl)?(-\\d+)?$/,\n /^[mp][tbsexy]?-\\d+$/\n)\n\nup.layer.config.foreignOverlaySelectors.push(\n '.modal:not(up-modal)',\n '.popover:not(up-popup)',\n '.dropdown-menu:not(up-popup)'\n)\n\nrequire('./unpoly-bootstrap5.sass')\n"],"names":[],"sourceRoot":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unpoly-bootstrap5.min.css","mappings":"AAGE,4IAEE,eACA,gBACA,e","sources":["webpack://unpoly/./src/unpoly-bootstrap5.sass"],"sourcesContent":["up-modal,\nup-drawer,\nup-popup\n .container,\n .container-fluid\n padding-left: 0 // the overlay box already has a padding\n padding-right: 0 // the overlay box already has a padding\n max-width: none // the overlay box already as a max-width\n"],"names":[],"sourceRoot":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unpoly-bootstrap5.min.js","mappings":"8CACIA,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaE,QAGrB,IAAIC,EAASN,EAAyBE,GAAY,CAGjDG,QAAS,CAAC,GAOX,OAHAE,EAAoBL,GAAUI,EAAQA,EAAOD,QAASJ,GAG/CK,EAAOD,OACf,CCrBAJ,EAAoBO,EAAKH,IACH,oBAAXI,QAA0BA,OAAOC,aAC1CC,OAAOC,eAAeP,EAASI,OAAOC,YAAa,CAAEG,MAAO,WAE7DF,OAAOC,eAAeP,EAAS,IAAc,CAAEQ,OAAO,KCJvDC,GAAGC,OAAOC,OAAOC,eAAeC,KAAK,UAGrCJ,GAAGC,OAAOC,OAAOG,cAAcD,KAAK,UAEpCJ,GAAGC,OAAOC,OAAOI,aAAaF,KAAK,OAAQ,WAE3CJ,GAAGO,SAASL,OAAOM,kBAAkBJ,KAAK,qBAC1CJ,GAAGO,SAASL,OAAOO,qBAAqBL,KAAK,wBAC7CJ,GAAGO,SAASL,OAAOQ,uBAAuBN,KAAK,oBAAqB,wBAMpEJ,GAAGW,SAAST,OAAOU,iBAAiBR,KAClC,MACA,0CACA,uBAGFJ,GAAGa,MAAMX,OAAOY,wBAAwBV,KACtC,uBACA,yBACA,gCAGF,EAAQ,I","sources":["webpack://unpoly/webpack/bootstrap","webpack://unpoly/webpack/runtime/make namespace object","webpack://unpoly/./src/unpoly-bootstrap5.js"],"sourcesContent":["// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// Bootstrap uses the class `active` to highlight the current section of a navigation bar.\nup.status.config.currentClasses.push('active')\n\n// Bootstrap uses the class `active` to force a button's active state.\nup.status.config.activeClasses.push('active')\n\nup.status.config.navSelectors.push('.nav', '.navbar')\n\nup.viewport.config.fixedTopSelectors.push('.navbar.fixed-top')\nup.viewport.config.fixedBottomSelectors.push('.navbar.fixed-bottom')\nup.viewport.config.anchoredRightSelectors.push('.navbar.fixed-top', '.navbar.fixed-bottom')\n\n// We would really like to provide a nice default for up.form.config.groupSelectors.\n// Unfortunately Bootstrap 5 no longer has a selector like \".form-group\" to group labels\n// and inputs. All the examples now use <div class=\"mb-3\"> .\n\nup.fragment.config.badTargetClasses.push(\n 'row',\n /^col(-xs|-sm|-md|-lg|-xl|-xxl)?(-\\d+)?$/,\n /^[mp][tbsexy]?-\\d+$/\n)\n\nup.layer.config.foreignOverlaySelectors.push(\n '.modal:not(up-modal)',\n '.popover:not(up-popup)',\n '.dropdown-menu:not(up-popup)'\n)\n\nrequire('./unpoly-bootstrap5.sass')\n"],"names":["__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","r","Symbol","toStringTag","Object","defineProperty","value","up","status","config","currentClasses","push","activeClasses","navSelectors","viewport","fixedTopSelectors","fixedBottomSelectors","anchoredRightSelectors","fragment","badTargetClasses","layer","foreignOverlaySelectors"],"sourceRoot":""}