diff --git a/README.md b/README.md index dfb1e185..a01b7c8a 100644 --- a/README.md +++ b/README.md @@ -369,6 +369,14 @@ See the [consent manager component](https://www.systeme-de-design.gouv.fr/compos * `manager`: the Manager instance used. See `src/core/Manager.ts` * `config`: the complete config object used +## Migrating + +### Version 3 + +A major overhaul of the configuration took place in this version, as to clarify naming and align more with the GDPR vocabulary. + +If you were already using version 2, a tool to migrate your current configuration is available here : https://orejime.empreintedigitale.fr/migration. + ## Development If you want to contribute to Orejime, or make a special build for yourself, clone the project then: diff --git a/dist/example-assets/style.css b/dist/example-assets/style.css index c6ddc9e7..a410c21b 100644 --- a/dist/example-assets/style.css +++ b/dist/example-assets/style.css @@ -81,6 +81,10 @@ a:active { text-decoration: none; } +.is-hidden { + display: none; +} + .Button { display: inline-block; border: 0; @@ -242,6 +246,21 @@ a.Tile:active { max-width: 100%; } +.MigrationForm-input, +.MigrationForm-output { + margin-bottom: var(--unit); + border: 1px solid currentColor; + border-radius: calc(var(--unit) / 4); + width: 100%; + padding: calc(var(--unit) / 2); + font: inherit; + font-family: monospace; +} + +.MigrationForm-output { + overflow-x: auto; +} + .Footer { padding: calc(3 * var(--unit)) 0; background: var(--contrast-surface); diff --git a/dist/migration.html b/dist/migration.html index f131935b..64740e7a 100644 --- a/dist/migration.html +++ b/dist/migration.html @@ -25,28 +25,37 @@ -->
-
-
-

Migration

- - - - -
- -
-
-

- A lot of things can change between major software versions! -
- Here you will find some tools to ease the transition. -

+
+
+ +
+
+ +
+
+
+
+

Migrating Orejime

+ +

+ A lot of things can change between major software versions! +
+ Here you will find some tools to ease the transition. +

+
+
+
-

Migrating from V2 to V3

+
+

Migrating from V2 to V3

Automated migration

@@ -63,18 +72,22 @@

Automated migration

+ +
-
-
+
+