@cancia/toolbar 0.14.0 → 0.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.
- package/dist/cancia.d.ts +7 -0
- package/dist/cancia.iife.js +407 -401
- package/dist/cancia.js +266 -104
- package/dist/cancia.js.map +1 -1
- package/package.json +2 -2
package/dist/cancia.d.ts
CHANGED
|
@@ -21,6 +21,13 @@ interface CanciaConfig {
|
|
|
21
21
|
toolbarAccent?: boolean;
|
|
22
22
|
/** Skip session auth and always show the toolbar (demo/public mode) */
|
|
23
23
|
public?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* The site uses magic-link email login (042). The allow-listed ADDRESSES are
|
|
26
|
+
* deliberately not sent to the browser — publishing a client's staff list on
|
|
27
|
+
* every page would be a disclosure, and the server checks the list anyway.
|
|
28
|
+
* This flag only says which sign-in flow to offer.
|
|
29
|
+
*/
|
|
30
|
+
magicLink?: boolean;
|
|
24
31
|
/**
|
|
25
32
|
* Whether a publish mechanism is configured (deploy hook OR dispatch repo) —
|
|
26
33
|
* controls the Publish button's enabled state. Defaults to enabled when the
|