web-app
0.1.0
Minor Changes
- 2ebb655: Add project-scoped scan schedules on
/v3/projects/:id/scheduleand a Schedule scan dialog on the Cookies page. Scheduled runs now keep the project UUID so they show up in project scan history.
Patch Changes
9a490af: Pick the "Powered by Consent Pro" logo colour from the banner background.
consentpro-utils
- New
relativeLuminanceandcontrastingMonochromehelpers: WCAG 2.1 relative luminance, and a black/white pick by contrast ratio against a background.
web-components
ConsentBanner's wordmark now reads--consentpro-color-attribution, falling back to the banner's own text colour. The wordmark is alreadycurrentColor, so the variable flips it; the "Powered by" label keeps the banner's text colour.
consentpro-v2 / web-app
- Both set
--consentpro-color-attributionfrom the banner background, so the live banner and the style preview render the same logo.
- New
d7331e4: Style the preferences toggle and the dialog backdrop from the web app.
web-app
- The Open preferences colours card now carries Toggle Inactive Track, Toggle Active Track (the former "Preferences Checkbox"), Toggle Circular Handle and Preferences Overlay. Left on their defaults the columns stay
null, so an existing banner looks exactly as before. ColorFieldtakes analphaprop: an opacity track under the hue slider, a checkerboard behind every swatch, and a hex field that accepts#rrggbbaa. Only the overlay opts in — a colour that paints a surface has nothing to be translucent over.- The overlay starts at no backdrop (
#00000000). Choosing a colour on a transparent field lands at 20% opacity rather than staying invisible; the opacity track can still take it back to nothing.
web-components
ConsentPreferencesDialog's backdrop default drops from 10% black totransparent: a dialog washes the page only where a site asks for it. The backdrop box is unchanged otherwise, so click-to-close still works, and any site setting--consentpro-color-overlayis unaffected.
server / consentpro-types
checkbox_inactive_color,checkbox_handle_colorandpreferences_overlay_colorare read, validated and saved onbanner_settingsandbanner_instances, and published ascheckboxInactive,checkboxHandleandpreferencesOverlay. The overlay column validates#rrggbbor#rrggbbaa; the rest stay six digits.
consentpro-v2
- Maps those to
--consentpro-color-toggle-off,--consentpro-color-toggle-thumband--consentpro-color-overlay. The handle keeps whatever colour is picked in both switch states — nothing recolours it from the track any more.
- The Open preferences colours card now carries Toggle Inactive Track, Toggle Active Track (the former "Preferences Checkbox"), Toggle Circular Handle and Preferences Overlay. Left on their defaults the columns stay
Updated dependencies [fecdc78]
Updated dependencies [9a490af]
Updated dependencies [fecdc78]
Updated dependencies [8384efa]
Updated dependencies [d3e426d]
Updated dependencies [a580774]
Updated dependencies [d7331e4]
Updated dependencies [2ebb655]
- consentpro-types@1.3.0
- web-components@0.0.2
- consentpro-utils@2.1.1
- consentpro-dictionary@0.1.6