@hanzo/ui 8.29.19 → 8.29.21

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.
@@ -21,9 +21,8 @@ const jsx_runtime_1 = require("react/jsx-runtime");
21
21
  * once. The advertising switch is the sale and sharing opt-out.
22
22
  * - `global`: a notice. One line and a × that records it as seen; the same
23
23
  * opt-out sheet stays one press away.
24
- * - Global Privacy Control or Do Not Track is an answer already: in `eu` every
25
- * switch is held off and the visitor is not asked; elsewhere the sale and
26
- * sharing for targeted advertising is held off.
24
+ * - Global Privacy Control or Do Not Track is an answer already, under every
25
+ * rule: every switch is held off and the visitor is not asked.
27
26
  * - Until cloud answers, nothing is drawn: the answer this tab was last served
28
27
  * (@hanzo/event keeps it) is used at once, and with none by 1.5s the strict
29
28
  * `eu` rule applies.
@@ -96,7 +95,7 @@ function linked() {
96
95
  }
97
96
  return false;
98
97
  }
99
- const kinds = (brand, strict) => [
98
+ const kinds = (brand, strict, locked) => [
100
99
  {
101
100
  id: 'necessary',
102
101
  title: 'Strictly Necessary Cookies',
@@ -118,17 +117,17 @@ const kinds = (brand, strict) => [
118
117
  id: 'ads',
119
118
  key: 'ads',
120
119
  title: 'Sell, Share, or Use Your Data for Targeted Advertising',
121
- body: `Lets Google and Meta use your visits to choose the ads they show you on other sites and apps. Some US state privacy laws call this a “sale” or “sharing” of your personal information, or “targeted advertising”, and give you the right to opt out: ${strict ? 'it stays off unless you turn it on.' : 'turn this off to opt out.'}`,
120
+ body: `Lets Google and Meta use your visits to choose the ads they show you on other sites and apps. Some US state privacy laws call this a “sale” or “sharing” of your personal information, or “targeted advertising”, and give you the right to opt out: ${locked ? 'your browser’s signal keeps it off.' : strict ? 'it stays off unless you turn it on.' : 'turn this off to opt out.'}`,
122
121
  },
123
122
  ];
124
123
  /** The sheet's opening line, by rule: what runs before the visitor does anything, and how to change it. */
125
- const intro = (strict) => strict
126
- ? 'We use cookies and similar technologies to provide our services, measure performance, and support advertising. Essential cookies are required for the site to work and cannot be turned off. You can allow or reject optional cookies below. Learn more in our '
127
- : 'We use cookies and similar technologies to provide our services, measure performance, and support advertising. Google Analytics and the Meta pixel run on this site by default. Turn either off below, or turn off the last switch to opt out of the sale or sharing of your personal information for targeted advertising; each switch is saved as soon as you change it. Essential cookies are required for the site to work and cannot be turned off. Learn more in our ';
128
- /** What a browser that sends Global Privacy Control or Do Not Track holds off, by rule. */
129
- const refusal = (strict) => strict
130
- ? 'Your browser asks sites not to track you, so all of these stay off.'
131
- : 'Your browser asks sites not to track you, so your data is not sold or shared for targeted advertising.';
124
+ const intro = (strict, locked) => locked
125
+ ? 'We use cookies and similar technologies to provide our services. Essential cookies are required for the site to work and cannot be turned off. Learn more in our '
126
+ : strict
127
+ ? 'We use cookies and similar technologies to provide our services, measure performance, and support advertising. Essential cookies are required for the site to work and cannot be turned off. You can allow or reject optional cookies below. Learn more in our '
128
+ : 'We use cookies and similar technologies to provide our services, measure performance, and support advertising. Google Analytics and the Meta pixel run on this site by default. Turn either off below, or turn off the last switch to opt out of the sale or sharing of your personal information for targeted advertising; each switch is saved as soon as you change it. Essential cookies are required for the site to work and cannot be turned off. Learn more in our ';
129
+ /** What a browser that sends Global Privacy Control or Do Not Track holds off, under every rule. */
130
+ const REFUSAL = 'Your browser asks sites not to track you, so all of these stay off.';
132
131
  /** The bar's and the sheet's inset from the window's edges: 16px, or the device's inset and 8px where that is wider. */
133
132
  const EDGE = {
134
133
  top: 'max(16px, calc(var(--safe-top, env(safe-area-inset-top, 0px)) + 8px))',
@@ -256,14 +255,36 @@ const Consent = ({ cookies = 'https://hanzo.ai/cookies', privacy = 'https://hanz
256
255
  const opened = (0, react_1.useRef)(false);
257
256
  // The switches were filled from a stored choice, not left at the rule's defaults.
258
257
  const seeded = (0, react_1.useRef)(false);
259
- // The visitor has moved a switch since the sheet opened.
260
- const touched = (0, react_1.useRef)(false);
258
+ // The switches the visitor has moved since the sheet opened.
259
+ const moved = (0, react_1.useRef)(new Set());
261
260
  const id = (0, react_1.useId)();
262
261
  // The browser refused, as the page sees it or as cloud saw the request. State,
263
262
  // so cloud's answer redraws an open sheet.
264
263
  const [locked, setLocked] = (0, react_1.useState)(false);
265
- /** What stands at the foot of the window under a rule: the eu bar until a choice, the global notice until seen. */
266
- const front = (m = rule.current) => (m === 'eu' ? (0, event_1.asks)() : m === 'global' ? !(0, event_1.noticed)() : false);
264
+ /**
265
+ * What stands at the foot of the window under a rule: the eu bar until a
266
+ * choice, the global notice until seen (and never to a browser that refused,
267
+ * which agreed to nothing by browsing).
268
+ */
269
+ const front = (m = rule.current) => (m === 'eu' ? (0, event_1.asks)() : m === 'global' ? !(0, event_1.noticed)() && !(0, event_1.declined)() : false);
270
+ /**
271
+ * The switches under rule `m`: the rule's own state, with the visitor's moves
272
+ * kept. Under eu only a move to off carries, so nothing arrives pre-ticked.
273
+ */
274
+ const merged = (m) => {
275
+ const next = (0, event_1.readConsent)();
276
+ for (const k of moved.current)
277
+ if (m !== 'eu' || !latest.current[k])
278
+ next[k] = latest.current[k];
279
+ return next;
280
+ };
281
+ /** Redraws the open sheet's switches under rule `m`; an opt-out rule saves what they say. */
282
+ const redraw = (m) => {
283
+ const next = merged(m);
284
+ setDraft(next);
285
+ if (m !== 'eu' && moved.current.size)
286
+ (0, event_1.saveConsent)(next);
287
+ };
267
288
  const choose = () => {
268
289
  // Already open: the visitor's unsaved switches and the focus to return stay as they are.
269
290
  if (asked.current)
@@ -271,7 +292,7 @@ const Consent = ({ cookies = 'https://hanzo.ai/cookies', privacy = 'https://hanz
271
292
  const at = document.activeElement;
272
293
  back.current = at instanceof HTMLElement && at !== document.body ? at : null;
273
294
  asked.current = true;
274
- touched.current = false;
295
+ moved.current = new Set();
275
296
  setLocked((0, event_1.declined)());
276
297
  seeded.current = (0, event_1.storedConsent)();
277
298
  setDraft((0, event_1.readConsent)());
@@ -291,7 +312,7 @@ const Consent = ({ cookies = 'https://hanzo.ai/cookies', privacy = 'https://hanz
291
312
  // sheet opened with were an old grant, and fall back to the rule's own.
292
313
  if (asked.current && seeded.current && !(0, event_1.storedConsent)()) {
293
314
  seeded.current = false;
294
- setDraft((0, event_1.readConsent)());
315
+ redraw(rule.current ?? 'eu');
295
316
  }
296
317
  };
297
318
  const decide = (m) => {
@@ -299,15 +320,10 @@ const Consent = ({ cookies = 'https://hanzo.ai/cookies', privacy = 'https://hanz
299
320
  rule.current = m;
300
321
  setMode(m);
301
322
  sync();
302
- // A rule that changes under an open sheet changes what its switches mean.
303
- // Untouched, they show the new rule's defaults; moved, they are the
304
- // visitor's answer, which an opt-out rule takes as said.
305
- if (!changed || !asked.current)
306
- return;
307
- if (!touched.current)
308
- setDraft((0, event_1.readConsent)());
309
- else if (m !== 'eu')
310
- (0, event_1.saveConsent)(latest.current);
323
+ // A rule that changes under an open sheet changes what its switches mean:
324
+ // they show the new rule's state, with the visitor's moves kept.
325
+ if (changed && asked.current)
326
+ redraw(m);
311
327
  };
312
328
  // Cloud answered on this page: its rule, whether or not it placed the visitor.
313
329
  const policy = () => decide((0, event_1.consentPolicy)().mode);
@@ -381,6 +397,13 @@ const Consent = ({ cookies = 'https://hanzo.ai/cookies', privacy = 'https://hanz
381
397
  document.removeEventListener('click', press, { capture: true });
382
398
  };
383
399
  }, []);
400
+ // @hanzo/event holds a withdrawal's reload while the sheet is open, and reloads once when it closes.
401
+ (0, react_1.useEffect)(() => {
402
+ if (!choosing)
403
+ return;
404
+ (0, event_1.consentSheet)(true);
405
+ return () => (0, event_1.consentSheet)(false);
406
+ }, [choosing]);
384
407
  // Focus moves into the sheet when it opens, stays inside it while it is open,
385
408
  // and returns to what opened it (or the bar's Manage preferences) when it closes.
386
409
  (0, react_1.useEffect)(() => {
@@ -393,7 +416,7 @@ const Consent = ({ cookies = 'https://hanzo.ai/cookies', privacy = 'https://hanz
393
416
  if (el?.isConnected)
394
417
  el.focus();
395
418
  else
396
- manage.current?.focus();
419
+ (manage.current ?? document.querySelector('[data-slot="consent-choices"] button'))?.focus();
397
420
  return;
398
421
  }
399
422
  opened.current = true;
@@ -437,11 +460,9 @@ const Consent = ({ cookies = 'https://hanzo.ai/cookies', privacy = 'https://hanz
437
460
  if (choosing) {
438
461
  // A sheet opened before cloud answered speaks the strict rule.
439
462
  const strict = (mode ?? 'eu') === 'eu';
440
- // eu holds every switch off for a browser that refused; elsewhere only the sale and sharing.
441
- const held = (key) => locked && (strict || key === 'ads');
442
463
  // Under eu the switches wait for Save preferences; elsewhere each one is an opt-out, saved as it moves.
443
464
  const flip = (key, on) => {
444
- touched.current = true;
465
+ moved.current.add(key);
445
466
  const next = { ...draft, [key]: on };
446
467
  setDraft(next);
447
468
  if (!strict)
@@ -449,10 +470,12 @@ const Consent = ({ cookies = 'https://hanzo.ai/cookies', privacy = 'https://hanz
449
470
  };
450
471
  panel = ((0, jsx_runtime_1.jsxs)(gui_1.YStack, { ...(0, slot_1.slot)('consent-sheet'), ...COVER, z: "var(--z-modal, 600)", items: "center", justify: "center",
451
472
  // The device's insets are physical sides, so the shorthand names them in order.
452
- style: { padding: `${EDGE.top} ${EDGE.right} ${EDGE.bottom} ${EDGE.left}` }, children: [(0, jsx_runtime_1.jsx)(gui_1.YStack, { ...COVER, position: "absolute", z: 0, bg: "rgba(0,0,0,0.6)", "aria-hidden": true, onPress: close }), (0, jsx_runtime_1.jsxs)(gui_1.YStack, { ...(0, slot_1.slot)('consent'), ...PANEL, ref: sheet, role: "dialog", "aria-modal": true, "aria-labelledby": `${id}-title`, position: "relative", width: "100%", maxW: 560, maxH: "100%", overflow: "hidden", children: [(0, jsx_runtime_1.jsxs)(gui_1.XStack, { items: "center", justify: "space-between", gap: "$3", pt: "$5", pb: "$3", paddingInlineStart: "$5", paddingInlineEnd: "$4", children: [(0, jsx_runtime_1.jsx)(gui_1.Text, { render: "h2", id: `${id}-title`, m: 0, fontSize: "$6", lineHeight: "$6", fontWeight: "600", color: "$ink", children: "Cookie Preferences" }), (0, jsx_runtime_1.jsx)(button_1.Button, { type: "button", size: "icon", ...CLOSE, "aria-label": "Close", onClick: close, children: (0, jsx_runtime_1.jsx)(lucide_icons_2_1.X, { size: 16 }) })] }), (0, jsx_runtime_1.jsxs)(gui_1.YStack, { shrink: 1, minH: 0, overflowY: "auto", px: "$5", pb: "$2", style: { overscrollBehavior: 'contain' }, children: [(0, jsx_runtime_1.jsxs)(gui_1.Paragraph, { size: "$2", color: "$aside", m: 0, pb: "$3", children: [intro(strict), (0, jsx_runtime_1.jsx)("a", { href: cookies, style: INLINE, children: "Cookie Policy" }), ', ', (0, jsx_runtime_1.jsx)("a", { href: privacy, style: INLINE, children: "Privacy Policy" }), ', and ', (0, jsx_runtime_1.jsx)("a", { href: terms, style: INLINE, children: "Terms of Service" }), "."] }), locked ? ((0, jsx_runtime_1.jsx)(gui_1.Paragraph, { size: "$2", color: "$ink", m: 0, pb: "$3", children: refusal(strict) })) : null, kinds(brand, strict).map((k) => {
473
+ style: { padding: `${EDGE.top} ${EDGE.right} ${EDGE.bottom} ${EDGE.left}` }, children: [(0, jsx_runtime_1.jsx)(gui_1.YStack, { ...COVER, position: "absolute", z: 0, bg: "rgba(0,0,0,0.6)", "aria-hidden": true, onPress: close }), (0, jsx_runtime_1.jsxs)(gui_1.YStack, { ...(0, slot_1.slot)('consent'), ...PANEL, ref: sheet, role: "dialog", "aria-modal": true, "aria-labelledby": `${id}-title`, position: "relative", width: "100%", maxW: 560, maxH: "100%", overflow: "hidden", children: [(0, jsx_runtime_1.jsxs)(gui_1.XStack, { items: "center", justify: "space-between", gap: "$3", pt: "$5", pb: "$3", paddingInlineStart: "$5", paddingInlineEnd: "$4", children: [(0, jsx_runtime_1.jsx)(gui_1.Text, { render: "h2", id: `${id}-title`, m: 0, fontSize: "$6", lineHeight: "$6", fontWeight: "600", color: "$ink", children: "Cookie Preferences" }), (0, jsx_runtime_1.jsx)(button_1.Button, { type: "button", size: "icon", ...CLOSE, "aria-label": "Close", onClick: close, children: (0, jsx_runtime_1.jsx)(lucide_icons_2_1.X, { size: 16 }) })] }), (0, jsx_runtime_1.jsxs)(gui_1.YStack, { shrink: 1, minH: 0, overflowY: "auto", px: "$5", pb: "$2", style: { overscrollBehavior: 'contain' }, children: [(0, jsx_runtime_1.jsxs)(gui_1.Paragraph, { size: "$2", color: "$aside", m: 0, pb: "$3", children: [intro(strict, locked), (0, jsx_runtime_1.jsx)("a", { href: cookies, style: INLINE, children: "Cookie Policy" }), ', ', (0, jsx_runtime_1.jsx)("a", { href: privacy, style: INLINE, children: "Privacy Policy" }), ', and ', (0, jsx_runtime_1.jsx)("a", { href: terms, style: INLINE, children: "Terms of Service" }), "."] }), locked ? ((0, jsx_runtime_1.jsx)(gui_1.Paragraph, { size: "$2", color: "$ink", m: 0, pb: "$3", children: REFUSAL })) : null, kinds(brand, strict, locked).map((k) => {
453
474
  const open = expanded[k.id] === true;
454
475
  const body = `${id}-${k.id}`;
455
- return ((0, jsx_runtime_1.jsxs)(gui_1.YStack, { ...(0, slot_1.slot)('consent-section'), borderTopWidth: 1, borderColor: "$borderColor", children: [(0, jsx_runtime_1.jsxs)(gui_1.XStack, { items: "center", gap: "$3", minH: 52, py: "$2", children: [(0, jsx_runtime_1.jsx)(gui_1.XStack, { render: "h3", flex: 1, minW: 0, m: 0, children: (0, jsx_runtime_1.jsxs)(gui_1.XStack, { render: "button", ...BUTTON, "aria-expanded": open, "aria-controls": body, onPress: () => setExpanded({ ...expanded, [k.id]: !open }), flex: 1, minW: 0, items: "center", gap: "$2", p: 0, bg: "transparent", borderWidth: 0, cursor: "pointer", children: [(0, jsx_runtime_1.jsx)(gui_1.XStack, { shrink: 0, rotate: open ? '180deg' : '0deg', opacity: 0.7, children: (0, jsx_runtime_1.jsx)(lucide_icons_2_1.ChevronDown, { size: 16 }) }), (0, jsx_runtime_1.jsx)(gui_1.Text, { fontSize: "$3", lineHeight: "$3", fontWeight: "600", color: "$ink", ...(0, dir_1.align)('start'), children: k.title })] }) }), k.key ? ((0, jsx_runtime_1.jsx)(switch_1.Switch, { "aria-label": k.title, "aria-describedby": body, disabled: held(k.key), checked: held(k.key) ? false : draft[k.key], onCheckedChange: (v) => flip(k.key, v === true) })) : ((0, jsx_runtime_1.jsx)(gui_1.Text, { fontSize: "$2", fontWeight: "600", color: "$ink", whiteSpace: "nowrap", children: "Always Active" }))] }), (0, jsx_runtime_1.jsx)(gui_1.YStack, { id: body, display: open ? 'flex' : 'none', pb: "$3", paddingInlineStart: 24, children: (0, jsx_runtime_1.jsx)(gui_1.Paragraph, { size: "$2", color: "$aside", m: 0, children: k.body }) })] }, k.id));
476
+ return ((0, jsx_runtime_1.jsxs)(gui_1.YStack, { ...(0, slot_1.slot)('consent-section'), borderTopWidth: 1, borderColor: "$borderColor", children: [(0, jsx_runtime_1.jsxs)(gui_1.XStack, { items: "center", gap: "$3", minH: 52, py: "$2", children: [(0, jsx_runtime_1.jsx)(gui_1.XStack, { render: "h3", flex: 1, minW: 0, m: 0, children: (0, jsx_runtime_1.jsxs)(gui_1.XStack, { render: "button", ...BUTTON, "aria-expanded": open, "aria-controls": body, onPress: () => setExpanded({ ...expanded, [k.id]: !open }), flex: 1, minW: 0, items: "center", gap: "$2", p: 0, bg: "transparent", borderWidth: 0, cursor: "pointer", children: [(0, jsx_runtime_1.jsx)(gui_1.XStack, { shrink: 0, rotate: open ? '180deg' : '0deg', opacity: 0.7, children: (0, jsx_runtime_1.jsx)(lucide_icons_2_1.ChevronDown, { size: 16 }) }), (0, jsx_runtime_1.jsx)(gui_1.Text, { fontSize: "$3", lineHeight: "$3", fontWeight: "600", color: "$ink", ...(0, dir_1.align)('start'), children: k.title })] }) }), k.key ? ((0, jsx_runtime_1.jsx)(switch_1.Switch, { "aria-label": k.title, "aria-describedby": body,
477
+ // A browser that refused holds every switch off, under every rule.
478
+ disabled: locked, checked: locked ? false : draft[k.key], onCheckedChange: (v) => flip(k.key, v === true) })) : ((0, jsx_runtime_1.jsx)(gui_1.Text, { fontSize: "$2", fontWeight: "600", color: "$ink", whiteSpace: "nowrap", children: "Always Active" }))] }), (0, jsx_runtime_1.jsx)(gui_1.YStack, { id: body, display: open ? 'flex' : 'none', pb: "$3", paddingInlineStart: 24, children: (0, jsx_runtime_1.jsx)(gui_1.Paragraph, { size: "$2", color: "$aside", m: 0, children: k.body }) })] }, k.id));
456
479
  })] }), (0, jsx_runtime_1.jsx)(gui_1.XStack, { flexWrap: "wrap", gap: "$2", px: "$5", py: "$4", borderTopWidth: 1, borderColor: "$borderColor", children: strict ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [locked ? null : ((0, jsx_runtime_1.jsx)(button_1.Button, { type: "button", ...SECONDARY, grow: 1, onClick: done(event_1.acceptAll), children: "Accept all" })), (0, jsx_runtime_1.jsx)(button_1.Button, { type: "button", ...PRIMARY, grow: 1, onClick: done(() => (0, event_1.saveConsent)(draft)), children: "Save preferences" })] })) : ((0, jsx_runtime_1.jsx)(button_1.Button, { type: "button", ...PRIMARY, grow: 1, onClick: close, children: "Done" })) })] })] }));
457
480
  }
458
481
  if (!mode)
@@ -468,7 +491,7 @@ const Consent = ({ cookies = 'https://hanzo.ai/cookies', privacy = 'https://hanz
468
491
  // the line over one row of buttons and nothing breaks mid-control.
469
492
  else if (shown && mode === 'eu')
470
493
  surface = ((0, jsx_runtime_1.jsxs)(gui_1.XStack, { ...frame, role: "dialog", "aria-label": "Cookie preferences", style: FIT, maxW: 1200, flexWrap: "wrap", items: "center", columnGap: "$4", rowGap: "$3", children: [(0, jsx_runtime_1.jsx)(gui_1.YStack, { shrink: 1, minW: 0, children: (0, jsx_runtime_1.jsx)(gui_1.Paragraph, { size: "$2", color: "$ink", m: 0, children: `Essential cookies keep ${brand} running. With your OK, optional cookies help us measure performance and ads.` }) }), (0, jsx_runtime_1.jsxs)(gui_1.XStack, { gap: "$2", marginInlineStart: "auto", items: "center", flexWrap: "wrap", children: [(0, jsx_runtime_1.jsx)(button_1.Button, { ref: manage, type: "button", ...SECONDARY, onClick: choose, children: "Manage preferences" }), (0, jsx_runtime_1.jsx)(button_1.Button, { type: "button", ...PRIMARY, onClick: done(event_1.acceptAll), children: "Accept all" })] }), (0, jsx_runtime_1.jsx)(button_1.Button, { type: "button", size: "icon", ...CLOSE, "aria-label": "Close and use essential cookies only", position: "absolute", t: "$3", insetInlineEnd: "$3", onClick: done(event_1.rejectAll), children: (0, jsx_runtime_1.jsx)(lucide_icons_2_1.X, { size: 16 }) })] }));
471
- return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [surface, panel] }));
494
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("div", { inert: choosing || undefined, style: { display: 'contents' }, children: surface }), panel] }));
472
495
  };
473
496
  exports.Consent = Consent;
474
497
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"Consent.d.ts","sourceRoot":"","sources":["../../src/consent/Consent.tsx"],"names":[],"mappings":"AA+DA,uCAAuC;AACvC,eAAO,MAAM,WAAW,QAAO,IAE9B,CAAA;AA+MD,MAAM,MAAM,YAAY,GAAG;IACzB,qCAAqC;IACrC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,sCAAsC;IACtC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,uCAAuC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,QAAA,MAAM,OAAO,wCAKV,YAAY,uCAkbd,CAAA;AAED;;;GAGG;AACH,QAAA,MAAM,WAAW,cAAwC;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,gCAO1E,CAAA;AAED,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,CAAA"}
1
+ {"version":3,"file":"Consent.d.ts","sourceRoot":"","sources":["../../src/consent/Consent.tsx"],"names":[],"mappings":"AA+DA,uCAAuC;AACvC,eAAO,MAAM,WAAW,QAAO,IAE9B,CAAA;AA8MD,MAAM,MAAM,YAAY,GAAG;IACzB,qCAAqC;IACrC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,sCAAsC;IACtC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,uCAAuC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,QAAA,MAAM,OAAO,wCAKV,YAAY,uCA6cd,CAAA;AAED;;;GAGG;AACH,QAAA,MAAM,WAAW,cAAwC;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,gCAO1E,CAAA;AAED,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,CAAA"}
@@ -18,9 +18,8 @@ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-run
18
18
  * once. The advertising switch is the sale and sharing opt-out.
19
19
  * - `global`: a notice. One line and a × that records it as seen; the same
20
20
  * opt-out sheet stays one press away.
21
- * - Global Privacy Control or Do Not Track is an answer already: in `eu` every
22
- * switch is held off and the visitor is not asked; elsewhere the sale and
23
- * sharing for targeted advertising is held off.
21
+ * - Global Privacy Control or Do Not Track is an answer already, under every
22
+ * rule: every switch is held off and the visitor is not asked.
24
23
  * - Until cloud answers, nothing is drawn: the answer this tab was last served
25
24
  * (@hanzo/event keeps it) is used at once, and with none by 1.5s the strict
26
25
  * `eu` rule applies.
@@ -33,7 +32,7 @@ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-run
33
32
  */
34
33
  import { Paragraph, Text, XStack, YStack } from '@hanzo/gui';
35
34
  import { ChevronDown, X } from '@hanzogui/lucide-icons-2';
36
- import { acceptAll, asks, consentPolicy, declined, notice, noticed, POLICY_EVENT, readConsent, rejectAll, saveConsent, storedConsent, } from '@hanzo/event';
35
+ import { acceptAll, asks, consentPolicy, consentSheet, declined, notice, noticed, POLICY_EVENT, readConsent, rejectAll, saveConsent, storedConsent, } from '@hanzo/event';
37
36
  import { useEffect, useId, useRef, useState } from 'react';
38
37
  import { Button } from '../backends/gui/button.js';
39
38
  import { align } from '../backends/gui/dir.js';
@@ -92,7 +91,7 @@ function linked() {
92
91
  }
93
92
  return false;
94
93
  }
95
- const kinds = (brand, strict) => [
94
+ const kinds = (brand, strict, locked) => [
96
95
  {
97
96
  id: 'necessary',
98
97
  title: 'Strictly Necessary Cookies',
@@ -114,17 +113,17 @@ const kinds = (brand, strict) => [
114
113
  id: 'ads',
115
114
  key: 'ads',
116
115
  title: 'Sell, Share, or Use Your Data for Targeted Advertising',
117
- body: `Lets Google and Meta use your visits to choose the ads they show you on other sites and apps. Some US state privacy laws call this a “sale” or “sharing” of your personal information, or “targeted advertising”, and give you the right to opt out: ${strict ? 'it stays off unless you turn it on.' : 'turn this off to opt out.'}`,
116
+ body: `Lets Google and Meta use your visits to choose the ads they show you on other sites and apps. Some US state privacy laws call this a “sale” or “sharing” of your personal information, or “targeted advertising”, and give you the right to opt out: ${locked ? 'your browser’s signal keeps it off.' : strict ? 'it stays off unless you turn it on.' : 'turn this off to opt out.'}`,
118
117
  },
119
118
  ];
120
119
  /** The sheet's opening line, by rule: what runs before the visitor does anything, and how to change it. */
121
- const intro = (strict) => strict
122
- ? 'We use cookies and similar technologies to provide our services, measure performance, and support advertising. Essential cookies are required for the site to work and cannot be turned off. You can allow or reject optional cookies below. Learn more in our '
123
- : 'We use cookies and similar technologies to provide our services, measure performance, and support advertising. Google Analytics and the Meta pixel run on this site by default. Turn either off below, or turn off the last switch to opt out of the sale or sharing of your personal information for targeted advertising; each switch is saved as soon as you change it. Essential cookies are required for the site to work and cannot be turned off. Learn more in our ';
124
- /** What a browser that sends Global Privacy Control or Do Not Track holds off, by rule. */
125
- const refusal = (strict) => strict
126
- ? 'Your browser asks sites not to track you, so all of these stay off.'
127
- : 'Your browser asks sites not to track you, so your data is not sold or shared for targeted advertising.';
120
+ const intro = (strict, locked) => locked
121
+ ? 'We use cookies and similar technologies to provide our services. Essential cookies are required for the site to work and cannot be turned off. Learn more in our '
122
+ : strict
123
+ ? 'We use cookies and similar technologies to provide our services, measure performance, and support advertising. Essential cookies are required for the site to work and cannot be turned off. You can allow or reject optional cookies below. Learn more in our '
124
+ : 'We use cookies and similar technologies to provide our services, measure performance, and support advertising. Google Analytics and the Meta pixel run on this site by default. Turn either off below, or turn off the last switch to opt out of the sale or sharing of your personal information for targeted advertising; each switch is saved as soon as you change it. Essential cookies are required for the site to work and cannot be turned off. Learn more in our ';
125
+ /** What a browser that sends Global Privacy Control or Do Not Track holds off, under every rule. */
126
+ const REFUSAL = 'Your browser asks sites not to track you, so all of these stay off.';
128
127
  /** The bar's and the sheet's inset from the window's edges: 16px, or the device's inset and 8px where that is wider. */
129
128
  const EDGE = {
130
129
  top: 'max(16px, calc(var(--safe-top, env(safe-area-inset-top, 0px)) + 8px))',
@@ -252,14 +251,36 @@ const Consent = ({ cookies = 'https://hanzo.ai/cookies', privacy = 'https://hanz
252
251
  const opened = useRef(false);
253
252
  // The switches were filled from a stored choice, not left at the rule's defaults.
254
253
  const seeded = useRef(false);
255
- // The visitor has moved a switch since the sheet opened.
256
- const touched = useRef(false);
254
+ // The switches the visitor has moved since the sheet opened.
255
+ const moved = useRef(new Set());
257
256
  const id = useId();
258
257
  // The browser refused, as the page sees it or as cloud saw the request. State,
259
258
  // so cloud's answer redraws an open sheet.
260
259
  const [locked, setLocked] = useState(false);
261
- /** What stands at the foot of the window under a rule: the eu bar until a choice, the global notice until seen. */
262
- const front = (m = rule.current) => (m === 'eu' ? asks() : m === 'global' ? !noticed() : false);
260
+ /**
261
+ * What stands at the foot of the window under a rule: the eu bar until a
262
+ * choice, the global notice until seen (and never to a browser that refused,
263
+ * which agreed to nothing by browsing).
264
+ */
265
+ const front = (m = rule.current) => (m === 'eu' ? asks() : m === 'global' ? !noticed() && !declined() : false);
266
+ /**
267
+ * The switches under rule `m`: the rule's own state, with the visitor's moves
268
+ * kept. Under eu only a move to off carries, so nothing arrives pre-ticked.
269
+ */
270
+ const merged = (m) => {
271
+ const next = readConsent();
272
+ for (const k of moved.current)
273
+ if (m !== 'eu' || !latest.current[k])
274
+ next[k] = latest.current[k];
275
+ return next;
276
+ };
277
+ /** Redraws the open sheet's switches under rule `m`; an opt-out rule saves what they say. */
278
+ const redraw = (m) => {
279
+ const next = merged(m);
280
+ setDraft(next);
281
+ if (m !== 'eu' && moved.current.size)
282
+ saveConsent(next);
283
+ };
263
284
  const choose = () => {
264
285
  // Already open: the visitor's unsaved switches and the focus to return stay as they are.
265
286
  if (asked.current)
@@ -267,7 +288,7 @@ const Consent = ({ cookies = 'https://hanzo.ai/cookies', privacy = 'https://hanz
267
288
  const at = document.activeElement;
268
289
  back.current = at instanceof HTMLElement && at !== document.body ? at : null;
269
290
  asked.current = true;
270
- touched.current = false;
291
+ moved.current = new Set();
271
292
  setLocked(declined());
272
293
  seeded.current = storedConsent();
273
294
  setDraft(readConsent());
@@ -287,7 +308,7 @@ const Consent = ({ cookies = 'https://hanzo.ai/cookies', privacy = 'https://hanz
287
308
  // sheet opened with were an old grant, and fall back to the rule's own.
288
309
  if (asked.current && seeded.current && !storedConsent()) {
289
310
  seeded.current = false;
290
- setDraft(readConsent());
311
+ redraw(rule.current ?? 'eu');
291
312
  }
292
313
  };
293
314
  const decide = (m) => {
@@ -295,15 +316,10 @@ const Consent = ({ cookies = 'https://hanzo.ai/cookies', privacy = 'https://hanz
295
316
  rule.current = m;
296
317
  setMode(m);
297
318
  sync();
298
- // A rule that changes under an open sheet changes what its switches mean.
299
- // Untouched, they show the new rule's defaults; moved, they are the
300
- // visitor's answer, which an opt-out rule takes as said.
301
- if (!changed || !asked.current)
302
- return;
303
- if (!touched.current)
304
- setDraft(readConsent());
305
- else if (m !== 'eu')
306
- saveConsent(latest.current);
319
+ // A rule that changes under an open sheet changes what its switches mean:
320
+ // they show the new rule's state, with the visitor's moves kept.
321
+ if (changed && asked.current)
322
+ redraw(m);
307
323
  };
308
324
  // Cloud answered on this page: its rule, whether or not it placed the visitor.
309
325
  const policy = () => decide(consentPolicy().mode);
@@ -377,6 +393,13 @@ const Consent = ({ cookies = 'https://hanzo.ai/cookies', privacy = 'https://hanz
377
393
  document.removeEventListener('click', press, { capture: true });
378
394
  };
379
395
  }, []);
396
+ // @hanzo/event holds a withdrawal's reload while the sheet is open, and reloads once when it closes.
397
+ useEffect(() => {
398
+ if (!choosing)
399
+ return;
400
+ consentSheet(true);
401
+ return () => consentSheet(false);
402
+ }, [choosing]);
380
403
  // Focus moves into the sheet when it opens, stays inside it while it is open,
381
404
  // and returns to what opened it (or the bar's Manage preferences) when it closes.
382
405
  useEffect(() => {
@@ -389,7 +412,7 @@ const Consent = ({ cookies = 'https://hanzo.ai/cookies', privacy = 'https://hanz
389
412
  if (el?.isConnected)
390
413
  el.focus();
391
414
  else
392
- manage.current?.focus();
415
+ (manage.current ?? document.querySelector('[data-slot="consent-choices"] button'))?.focus();
393
416
  return;
394
417
  }
395
418
  opened.current = true;
@@ -433,11 +456,9 @@ const Consent = ({ cookies = 'https://hanzo.ai/cookies', privacy = 'https://hanz
433
456
  if (choosing) {
434
457
  // A sheet opened before cloud answered speaks the strict rule.
435
458
  const strict = (mode ?? 'eu') === 'eu';
436
- // eu holds every switch off for a browser that refused; elsewhere only the sale and sharing.
437
- const held = (key) => locked && (strict || key === 'ads');
438
459
  // Under eu the switches wait for Save preferences; elsewhere each one is an opt-out, saved as it moves.
439
460
  const flip = (key, on) => {
440
- touched.current = true;
461
+ moved.current.add(key);
441
462
  const next = { ...draft, [key]: on };
442
463
  setDraft(next);
443
464
  if (!strict)
@@ -445,10 +466,12 @@ const Consent = ({ cookies = 'https://hanzo.ai/cookies', privacy = 'https://hanz
445
466
  };
446
467
  panel = (_jsxs(YStack, { ...slot('consent-sheet'), ...COVER, z: "var(--z-modal, 600)", items: "center", justify: "center",
447
468
  // The device's insets are physical sides, so the shorthand names them in order.
448
- style: { padding: `${EDGE.top} ${EDGE.right} ${EDGE.bottom} ${EDGE.left}` }, children: [_jsx(YStack, { ...COVER, position: "absolute", z: 0, bg: "rgba(0,0,0,0.6)", "aria-hidden": true, onPress: close }), _jsxs(YStack, { ...slot('consent'), ...PANEL, ref: sheet, role: "dialog", "aria-modal": true, "aria-labelledby": `${id}-title`, position: "relative", width: "100%", maxW: 560, maxH: "100%", overflow: "hidden", children: [_jsxs(XStack, { items: "center", justify: "space-between", gap: "$3", pt: "$5", pb: "$3", paddingInlineStart: "$5", paddingInlineEnd: "$4", children: [_jsx(Text, { render: "h2", id: `${id}-title`, m: 0, fontSize: "$6", lineHeight: "$6", fontWeight: "600", color: "$ink", children: "Cookie Preferences" }), _jsx(Button, { type: "button", size: "icon", ...CLOSE, "aria-label": "Close", onClick: close, children: _jsx(X, { size: 16 }) })] }), _jsxs(YStack, { shrink: 1, minH: 0, overflowY: "auto", px: "$5", pb: "$2", style: { overscrollBehavior: 'contain' }, children: [_jsxs(Paragraph, { size: "$2", color: "$aside", m: 0, pb: "$3", children: [intro(strict), _jsx("a", { href: cookies, style: INLINE, children: "Cookie Policy" }), ', ', _jsx("a", { href: privacy, style: INLINE, children: "Privacy Policy" }), ', and ', _jsx("a", { href: terms, style: INLINE, children: "Terms of Service" }), "."] }), locked ? (_jsx(Paragraph, { size: "$2", color: "$ink", m: 0, pb: "$3", children: refusal(strict) })) : null, kinds(brand, strict).map((k) => {
469
+ style: { padding: `${EDGE.top} ${EDGE.right} ${EDGE.bottom} ${EDGE.left}` }, children: [_jsx(YStack, { ...COVER, position: "absolute", z: 0, bg: "rgba(0,0,0,0.6)", "aria-hidden": true, onPress: close }), _jsxs(YStack, { ...slot('consent'), ...PANEL, ref: sheet, role: "dialog", "aria-modal": true, "aria-labelledby": `${id}-title`, position: "relative", width: "100%", maxW: 560, maxH: "100%", overflow: "hidden", children: [_jsxs(XStack, { items: "center", justify: "space-between", gap: "$3", pt: "$5", pb: "$3", paddingInlineStart: "$5", paddingInlineEnd: "$4", children: [_jsx(Text, { render: "h2", id: `${id}-title`, m: 0, fontSize: "$6", lineHeight: "$6", fontWeight: "600", color: "$ink", children: "Cookie Preferences" }), _jsx(Button, { type: "button", size: "icon", ...CLOSE, "aria-label": "Close", onClick: close, children: _jsx(X, { size: 16 }) })] }), _jsxs(YStack, { shrink: 1, minH: 0, overflowY: "auto", px: "$5", pb: "$2", style: { overscrollBehavior: 'contain' }, children: [_jsxs(Paragraph, { size: "$2", color: "$aside", m: 0, pb: "$3", children: [intro(strict, locked), _jsx("a", { href: cookies, style: INLINE, children: "Cookie Policy" }), ', ', _jsx("a", { href: privacy, style: INLINE, children: "Privacy Policy" }), ', and ', _jsx("a", { href: terms, style: INLINE, children: "Terms of Service" }), "."] }), locked ? (_jsx(Paragraph, { size: "$2", color: "$ink", m: 0, pb: "$3", children: REFUSAL })) : null, kinds(brand, strict, locked).map((k) => {
449
470
  const open = expanded[k.id] === true;
450
471
  const body = `${id}-${k.id}`;
451
- return (_jsxs(YStack, { ...slot('consent-section'), borderTopWidth: 1, borderColor: "$borderColor", children: [_jsxs(XStack, { items: "center", gap: "$3", minH: 52, py: "$2", children: [_jsx(XStack, { render: "h3", flex: 1, minW: 0, m: 0, children: _jsxs(XStack, { render: "button", ...BUTTON, "aria-expanded": open, "aria-controls": body, onPress: () => setExpanded({ ...expanded, [k.id]: !open }), flex: 1, minW: 0, items: "center", gap: "$2", p: 0, bg: "transparent", borderWidth: 0, cursor: "pointer", children: [_jsx(XStack, { shrink: 0, rotate: open ? '180deg' : '0deg', opacity: 0.7, children: _jsx(ChevronDown, { size: 16 }) }), _jsx(Text, { fontSize: "$3", lineHeight: "$3", fontWeight: "600", color: "$ink", ...align('start'), children: k.title })] }) }), k.key ? (_jsx(Switch, { "aria-label": k.title, "aria-describedby": body, disabled: held(k.key), checked: held(k.key) ? false : draft[k.key], onCheckedChange: (v) => flip(k.key, v === true) })) : (_jsx(Text, { fontSize: "$2", fontWeight: "600", color: "$ink", whiteSpace: "nowrap", children: "Always Active" }))] }), _jsx(YStack, { id: body, display: open ? 'flex' : 'none', pb: "$3", paddingInlineStart: 24, children: _jsx(Paragraph, { size: "$2", color: "$aside", m: 0, children: k.body }) })] }, k.id));
472
+ return (_jsxs(YStack, { ...slot('consent-section'), borderTopWidth: 1, borderColor: "$borderColor", children: [_jsxs(XStack, { items: "center", gap: "$3", minH: 52, py: "$2", children: [_jsx(XStack, { render: "h3", flex: 1, minW: 0, m: 0, children: _jsxs(XStack, { render: "button", ...BUTTON, "aria-expanded": open, "aria-controls": body, onPress: () => setExpanded({ ...expanded, [k.id]: !open }), flex: 1, minW: 0, items: "center", gap: "$2", p: 0, bg: "transparent", borderWidth: 0, cursor: "pointer", children: [_jsx(XStack, { shrink: 0, rotate: open ? '180deg' : '0deg', opacity: 0.7, children: _jsx(ChevronDown, { size: 16 }) }), _jsx(Text, { fontSize: "$3", lineHeight: "$3", fontWeight: "600", color: "$ink", ...align('start'), children: k.title })] }) }), k.key ? (_jsx(Switch, { "aria-label": k.title, "aria-describedby": body,
473
+ // A browser that refused holds every switch off, under every rule.
474
+ disabled: locked, checked: locked ? false : draft[k.key], onCheckedChange: (v) => flip(k.key, v === true) })) : (_jsx(Text, { fontSize: "$2", fontWeight: "600", color: "$ink", whiteSpace: "nowrap", children: "Always Active" }))] }), _jsx(YStack, { id: body, display: open ? 'flex' : 'none', pb: "$3", paddingInlineStart: 24, children: _jsx(Paragraph, { size: "$2", color: "$aside", m: 0, children: k.body }) })] }, k.id));
452
475
  })] }), _jsx(XStack, { flexWrap: "wrap", gap: "$2", px: "$5", py: "$4", borderTopWidth: 1, borderColor: "$borderColor", children: strict ? (_jsxs(_Fragment, { children: [locked ? null : (_jsx(Button, { type: "button", ...SECONDARY, grow: 1, onClick: done(acceptAll), children: "Accept all" })), _jsx(Button, { type: "button", ...PRIMARY, grow: 1, onClick: done(() => saveConsent(draft)), children: "Save preferences" })] })) : (_jsx(Button, { type: "button", ...PRIMARY, grow: 1, onClick: close, children: "Done" })) })] })] }));
453
476
  }
454
477
  if (!mode)
@@ -464,7 +487,7 @@ const Consent = ({ cookies = 'https://hanzo.ai/cookies', privacy = 'https://hanz
464
487
  // the line over one row of buttons and nothing breaks mid-control.
465
488
  else if (shown && mode === 'eu')
466
489
  surface = (_jsxs(XStack, { ...frame, role: "dialog", "aria-label": "Cookie preferences", style: FIT, maxW: 1200, flexWrap: "wrap", items: "center", columnGap: "$4", rowGap: "$3", children: [_jsx(YStack, { shrink: 1, minW: 0, children: _jsx(Paragraph, { size: "$2", color: "$ink", m: 0, children: `Essential cookies keep ${brand} running. With your OK, optional cookies help us measure performance and ads.` }) }), _jsxs(XStack, { gap: "$2", marginInlineStart: "auto", items: "center", flexWrap: "wrap", children: [_jsx(Button, { ref: manage, type: "button", ...SECONDARY, onClick: choose, children: "Manage preferences" }), _jsx(Button, { type: "button", ...PRIMARY, onClick: done(acceptAll), children: "Accept all" })] }), _jsx(Button, { type: "button", size: "icon", ...CLOSE, "aria-label": "Close and use essential cookies only", position: "absolute", t: "$3", insetInlineEnd: "$3", onClick: done(rejectAll), children: _jsx(X, { size: 16 }) })] }));
467
- return (_jsxs(_Fragment, { children: [surface, panel] }));
490
+ return (_jsxs(_Fragment, { children: [_jsx("div", { inert: choosing || undefined, style: { display: 'contents' }, children: surface }), panel] }));
468
491
  };
469
492
  /**
470
493
  * "Your Privacy Choices" with California's privacy options icon: the link to the
@@ -1 +1 @@
1
- {"version":3,"file":"Consent.js","sourceRoot":"","sources":["../../src/consent/Consent.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AAC5D,OAAO,EAAE,WAAW,EAAE,CAAC,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EACL,SAAS,EACT,IAAI,EACJ,aAAa,EACb,QAAQ,EACR,MAAM,EACN,OAAO,EACP,YAAY,EACZ,WAAW,EACX,SAAS,EACT,WAAW,EACX,aAAa,GAGd,MAAM,cAAc,CAAA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,EAAE,EAAE,CAAC,CAAA;IAC3B,OAAO,CACL,KAAC,MAAM,OAAK,IAAI,CAAC,cAAc,CAAC,KAAM,OAAO,EAAE,OAAO,EAAE,WAAW,YAChE,KAAK,GACC,CACV,CAAA;AACH,CAAC,CAAA;AAED,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,CAAA"}
package/dist/gallery.html CHANGED
@@ -1,4 +1,4 @@
1
- <!doctype html><html lang="en" class="t_dark"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>@hanzo/ui 8.29.19</title><style>/* @hanzo/ui — generated by scripts/gen-css.mjs. Do not edit. */
1
+ <!doctype html><html lang="en" class="t_dark"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>@hanzo/ui 8.29.21</title><style>/* @hanzo/ui — generated by scripts/gen-css.mjs. Do not edit. */
2
2
  :root { --hanzo-ui-styles: 1; }
3
3
  /* Hanzo Design System — the entry point. Import THIS one file.
4
4
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzo/ui",
3
- "version": "8.29.19",
3
+ "version": "8.29.21",
4
4
  "type": "module",
5
5
  "description": "Hanzo UI — the one canonical Hanzo component library, on @hanzo/gui + @hanzo/design. ONE substrate: every component renders through @hanzo/gui primitives, so the same import works on web, native (expo) and desktop (Tauri). Self-contained (theme.css), presentational, host-agnostic, clean-room.",
6
6
  "exports": {
@@ -331,7 +331,7 @@
331
331
  "@hanzo/canvas": ">=0.2.3",
332
332
  "@hanzo/cd": ">=0.1.2",
333
333
  "@hanzo/dashboard": ">=0.2.0",
334
- "@hanzo/event": ">=0.3.62",
334
+ "@hanzo/event": ">=0.3.63",
335
335
  "@hanzo/data": ">=1.2.4",
336
336
  "@hanzo/gui": "^8.3.5",
337
337
  "@hanzo/iam": ">=0.21.26",