Package: plone.staticresources
plone.staticresourcesThis add-on contains Fonts, Icons and JavaScript used by Plone Classic-UI.How to upgrade the resources in this package> NOTE:
> Changes to JavaScript functionality must be done outside this package.
> If you want to fix something or add functionality please go to
> the [mockup](https://github.com/plone/mockup.git) repository and follow the
> instructions there. This package is only to deliver the generated bundles.Addplone.staticresourcesandmockuptocheckouts.cfginbuildout.coredevand do the buildout.Update JavaScript resources inmockupand request a release
onnpmjs.Update dependency versions (eg. new mockup release) inpackage.jsonhere.
Useyarn upgrade-interactive –latestfor conveniently update all the versions in package.json at once.
Since plone.staticresources should contain deterministically reproducible builds use fixed versions and not version ranges in package.json.
For example use“@plone/mockup”: “5.0.11”instead of“@plone/mockup”: “^5.0.11”.Runmake allto compile the bundles and map Bootstrap icons to the registry files
located insrc/plone/staticresources/profiles/default/registry/icons_*.xml.Submit a Pull Request and run the tests on Jenkins.What has changedSince Plone 6.x we use webpack to compile bundles.
See configuration inwebpack.config.js.Bundle build analyzationhttps://survivejs.com/webpack/optimizing/build-analysis/https://formidable.com/blog/2018/finding-webpack-duplicates-with-inspectpack-plugin/Build the stats.json file:npx yarn statsCheck dependency tree and why which package was includedhttps://www.npmjs.com/package/whybundlednpx whybundled stats.jsonVisualize dependency tree and analyze bundle size:https://www.npmjs.com/package/webpack-bundle-analyzernpx webpack-bundle-analyzer stats.jsonLicenseThe project is licensed under the GPLv2.Changelog2.1.13 (2024-02-28)Bug fixes:Fixdatatables.netversion resolution.
[petschki] (#326)2.1.12 (2024-02-27)Bug fixes:updatemockup=5.1.11: pat-tinymce image editing fix.
[petschki] (#324)2.1.11 (2024-02-26)Bug fixes:updatemockup=2.1.10[petschki] (#322)2.1.10 (2024-02-21)Bug fixes:Update dependencies: mockup 5.1.9, bootstrap 5.3.3, bootstrap-icons 1.11.3
[petschki] (#321)2.1.9 (2023-12-12)Bug fixes:Maintenance upgrade: mockup 5.1.7, Bootstrap Icons 1.11.2
[petschki] (#314)2.1.8 (2023-10-24)Bug fixes:Updatemockup=5.1.6[petschki] (#309)2.1.7 (2023-09-19)Bug fixes:Update Bootstrap to5.3.2, bootstrap-icons to1.11.1and Mockup to5.1.5.
[petschki] (#303)2.1.6 (2023-08-10)Bug fixes:Mockup 5.1.4 - seehttps://github.com/plone/mockup/releases/tag/5.1.4[petschki] (#302)2.1.5 (2023-07-30)Bug fixes:Upgrade various dependencies.
[petschki] (#300)2.1.4 (2023-07-26)Bug fixes:Update mockup=5.1.2
[petschki] (#299)Internal:Update configuration files.
[plone devs] (cfffba8c)2.1.3 (2023-06-05)New features:Bootstrap 5.3 final release.
[petschki] (#292)2.1.2.1 (2023-05-17)Bug fixes:Upgrade to Mockup 5.1.0-alpha.3 and @patternslib/dev 3.3.1.
[thet] (283-0)Use fixed versions instead of version ranges in package.json.Since plone.staticresources should contain deterministically reproducible
builds use fixed versions and not version ranges in package.json. For example
use“@plone/mockup”: “5.0.11”instead of“@plone/mockup”: “^5.0.11”. (283-1)Update bundles interfaces (from CMFPlone to plone.base)
[gforcada] (#286)Update Mockup5.1.0-alpha.4[petschki] (#291)subpatch release with towncrier enabled - the fixes mentioned here
are all released since2.1.2[petschki]2.1.1 (2023-04-18)New features:Upgrade to mockup 5.1.0-alpha.2 and Bootstrap Icons 1.10.4 (no resource changed)
[petschki] (#277)Bug fixes:Remove deprecated argumentez_setupinsetup.py.
[gforcada] (#1)Internal:Update configuration files.
[plone devs] (7032e1d4)2.1.0 (2023-03-05)New features:Upgrade to Mockup 5.1.0-alpha.0 with Bootstrap 5.3 and dark mode support.
[toalba, thet] (#1282)2.0.6 (2023-02-22)New features:Upgrade Mockup to 5.0.5.
[thet, petschki] (#267)2.0.5 (2023-02-10)Bug fixes:Update mockup to 5.0.1
[petschki, thet] (#262)2.0.4 (2023-01-13)Bug fixes:Updrade mockup to 5.0.0-beta.11
[petschki] (#262)2.0.3 (2022-12-12)Bug fixes:Upgrade Mockup to 5.0.0-beta.7.
[thet, petschki] (#259)2.0.2 (2022-12-02)Bug fixes:Upgrade mockup -> 5.0.0-beta.3 (Bootstrap -> 5.2.3).
[petschki] (#256)Update mockup -> 5.0.0-beta.4
[petschki] (#257)2.0.1 (2022-11-18)Bug fixes:Fix missing upgrade step.
[petschki] (#0)2.0.0 (2022-11-18)Bug fixes:Update mockup ->5.0.0-alpha.27, Bootstrap Icons ->1.10.0[petschki] (#254)Update mockup ->5.0.0-beta.2[petschki] (#255)2.0.0b9 (2022-11-14)New features:Upgrade Mockup to 5.0.0-alpha.26.
[thet] (#251)2.0.0b8 (2022-10-04)New features:Use successor repository ofsvg-country-flags[petschki] (#248)Upgrade to Bootstrap 5.2.2.
[petschki] (#250)2.0.0b7 (2022-10-03)New features:Update Bootstrap 5.2.1
[petschki] (#246)Upgrade to Mockup 5.0.0-alpha.23.
[thet] (#249)2.0.0b6 (2022-09-09)Bug fixes:Update mockup = 5.0.0-alpha.19
[petschki] (#239)Update mockup = 5.0.0-alpha.20: Minor TinyMCE styling fixes
[MrTango, petschki] (#242)Update mockup = 5.0.0-alpha.21
[petschki, thet] (#243)2.0.0b5 (2022-07-22)New features:Update Bootstrap -> 5.2.0 and Bootstrap Icons -> 1.9.1
[petschki] (#236)2.0.0b4 (2022-07-20)New features:Mockup update: register jquery and bootstrap globally.
[petschki] (#231)Upgrade to @plone/mockup 5.0.0-alpha.17. (#232)Bug fixes:Fixexclude_from_navinpat-structurefor items without metadata information.
[petschki] (#230)Fix tinymce link/image modals.
[petschki] (#233)Mockup update:pat-relateditemscustomizable templates.
[petschki] (#234)2.0.0b3 (2022-06-27)Bug fixes:Previous release is not installable, for unknown reasons.
Rerelease, now also as wheel.  Maybe this helps.
[maurits] (#200)2.0.0b2 (2022-06-27)Bug fixes:Add Upgrade Stept for image full screen support
[1letter] (#229)2.0.0b1 (2022-06-24)New features:Integrate bootstrap and jquery bundles with module federation. They now live in the bundle-plone directory.
[thet] (222-1)Makefile: Separate update-icons from build target.
[thet] (222-2)Update iconmap.json.
[thet] (222-3)Update README.rst
[petschki] (#213)Update toolbar toggler.
[agitator] (#220)Update to latest Mockup with module federation.
[thet] (#222)Add image full screen support thru full screen API
[MrTango] (#226)Bug fixes:structure pattern fixes:row actions cut/copy/default_pagedatatable manual sorting[petschki] (#224)Fix popover positioning in structure pattern.
[petschki] (#225)Refactor pat-recurrence:remove jquerytools.overlay -> usepat-plone-modalinsteadremove jquerytools.calendar -> use native <input type=”date” />update forms to Bootstrap 5[petschki] (#227)2.0.0a3 (2022-04-08)Breaking changes:New version with Mockup ES6 support and removed TTW compilation (PLIP 3211). (#119)New features:Restructure searchbox markup for mobile navigation as offcanvas sidebar.
[agitator] (#202)Make pat-inject from patternslib available
[agitator] (#208)Adding support for images in liveSearch results.
[agitator] (#217)Bug fixes:Italian translations have been updated [yurj] (#178)Remove obsolete plone-logged-in bundle.
[pbauer] (#205)Add mimetype icons and change pdf icon
[pbauer] (#215)Updateicons_bootstrap.xmlandiconmap.json, also automate this for future updates.
[jensens] (#216)2.0.0a2 (2021-10-22)New features:Created last_compilation profile as only place with last_compilation values.
Moved the last_compilation values out of the default profile.
Then we do not need a complete profile when we add an upgrade step for updating the last_compilation date of a bundle.
[mauritsvanrees] (172-1)Hide the upgrades package from site-creation and quickinstaller.
This way, we do not need to add each new upgrade profile to the list of non installable products.
[mauritsvanrees] (172-2)Upgrade to Mockup 4.0.2.
[thet] (172-3)Register new icons.
[thet] (172-4)Adapt gitignore to only include necessary and registered dependencies.
[thet] (174-1)Update Bootstrap to 5.1.1
Update Bootstrap Icons to 1.5.0
[petschki] (#164)Bug fixes:Fix underscore version to 1.9.1 due to incompatibilities with backbone.paginator. (174-5)Add missing upgrade step for datatables.net-autofill resource location.
[thet] (174-6)Update svg toolbar icons
[agitator] (#165)2.0.0a1 (2021-06-14)New features:Upgrade Mockup to version 4, patternslib to version 3 and jQuery to 3.5.1.
[thet] (#102)Update Bootstrap to 5.0.0-alpha2
Add bootstrap-js bundle
[agitator] (#111)Provide a wide variety of SVG  based flags using the icon infrastructure
Register new Resources
Add NPM Package as source for Country Flags
Add Custom SVG Language Flags
[1letter] (#140)Update link type icons.
[agitator] (#144)Update Bootstrap to 5.0.1
[agitator] (#157)Bug fixes:Remove bundle with typo
[petschki] (#121)Increase Python package version number to 2.0.dev0.
Start with the 2.x version numbers from 200 to not have same version numbers for multiple branches and stay aligned with the python package version.
[thet] (#124)Fix selectors forsort_reversedcheckbox inpat-querystring[petschki] (#132, #145)Reduce bundle sizes by not inlining fonts in each bundle - moved plone-fontello and glyphicons to their own bundle. Icon font bundles use fonts from ++plone++static/fonts/.
[agitator] (#134)1.4.0 (2020-10-30)New features:Updated Bootstrap Icons to 1.0.0 final.
[santonelli] (#3162)Bug fixes:Bumps bl from 4.0.2 to 4.0.3. [dependabot, jensens] (#97)Build bundles with latest mockup 3.x.
[maurits] (#1026)Fixed deprecation warning for zope.site.hooks.
[maurits] (#3130)1.3.2 (2020-08-14)Bug fixes:Update static resources.
[pbauer] (#94)Fix content type icons not showing in the toolbar Add menu on Safari.
This fixeshttps://github.com/plone/Products.CMFPlone/issues/3163[vincentfretin] (#95)1.3.1 (2020-07-17)Bug fixes:Update static resources.  Now in line with mockup 3.2.1.
[vincentfretin] (#91)1.3.0 (2020-06-28)New features:Add figcaption support -https://github.com/plone/mockup/pull/911[thet] (#30)Register icon resources & add bootstrap-icons
[agitator] (#75)Adaptpat-plone-modalandpat-inlinevalidationto work with barceloneta LTS.
Add missingplone.svgicon.
[petschki, agitator] (#76)Update static resources.
[thet] (#82)Bug fixes:Fix buildout and use latest Plone 5.2.
[thet] (#51)Fix missing styles in plone-datatables bundle.
[agitator] (#62)Upgrade resources with latest mockup.
[thet] (#64)Movemetadata.xmlfrom async/registry profile directory to correct location. (#65)Add jQuery workaround for XSS vulnerability -https://github.com/plone/plone.staticresources/issues/69[frapell] (#69)Fixpat-querystringto set value of RelativeDateWidget correctly when editing
[petschki] (#78)Hide upgrade profile
[petschki] (#83)fix syntax inupgrades/profiles/8/registry.xml[petschki] (#85)1.2.1 (2020-01-12)Bug fixes:Fixed drag problem on click on sortable items in folder contents. (#56)Fix problem with TTW compilation of bundles. (#58)1.2.0 (2019-11-14)New features:Update jQuery from version 1.11.3 to 1.12.4
[davilima6] (#34)Recompile ‘plone’ bundle after updating jQuery-related packages (#40)Update all components and recompile bundles. (#44)Split up bundles for more flexibility and optimized resource loading.
Move select2 and datepicker to logged-in bundle.
Move toolbar, portletmanager, querystring and structure pattern to editor bundle.
Move tinymce to it’s own bundle.
Single out moment.js to reduce plone bundle size and allow async loading.
Add optional datatables bundle.
[agitator] (#46)Bug fixes:Fix autotoc pattern: activate the element link with active class during initialization
[mamico] (#37)Fix Tinymce pattern: Link popup looses tab selection on active linktype
[mamico] (#37)build js/css for mockup changes plone/mockup#922
[mamico] (#37)When compiling a bundle and including a resource from a request, open the
temporary file in binary mode.
[frapell] (#38)Bring fix forhttps://github.com/plone/mockup/issues/923[frapell] (#41)Fix “TTW Bundle compilation broken”.
Refs:https://github.com/plone/Products.CMFPlone/issues/2969[thet] (#43)1.1.0 (2019-06-22)New features:Add support for asynchronous loading of javascript resources.
A new plone-base bundle is added with the minimum required scripts from plone bundle.
Import the extra profile to enable experimental async loading.
[agitator] (#27)Bug fixes:Fixes plone/mockup#895 again. (#24)Fixed plone/Products.CMFPlone#2490 conflict in z-index between main toolbar and structure pattern toolbar (#25)Integratehttps://github.com/plone/mockup/pull/906which fixes wrong in-path marking for similar pathnames. #26
[agitator] (#26)1.0.2 (2019-03-21)Bug fixes:Fix highlight of current item in nav for image and file.
[agitator] (#18)Fix less building error.
[vangheem] (#19)Update resources after alignment fix in Select2-based widgets
[davilima6] (#21)1.0.1 (2019-03-12)Bug fixes:Fix highlight of current item in nav for image and file.
[agitator] (#18)Update resources after alignment fix in Select2-based widgets
[davilima6] (#21)1.0.0 (2019-03-04)New features:Ship moment.js without locales, which are now lazily loaded in ‘mockup’ package
[davilima6] (#10)Bug fixes:Customize select2 to work better with relateditems pattern, update compiled resources: plone, logged-in
[MrTango] (#16)1.0a1 (2019-02-13)New features:Put together all Plone assets in a single package. [thet] (#1)