@krizaka/ui 3.83.0 → 3.85.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.
Files changed (76) hide show
  1. package/dist/app-header/search.js +1 -1
  2. package/dist/app-shell.js +16 -25
  3. package/dist/app-shell.js.map +1 -1
  4. package/dist/bird-plate.js +1 -1
  5. package/dist/card-grid.js +1 -1
  6. package/dist/{chunk-DJ5ZPPWL.js → chunk-7P7I5OQV.js} +2 -2
  7. package/dist/{chunk-27AWSJTK.js → chunk-EDQLPCM4.js} +2 -2
  8. package/dist/chunk-FYPYJ6MW.js +60 -0
  9. package/dist/chunk-FYPYJ6MW.js.map +1 -0
  10. package/dist/chunk-QHVV2JGF.js +144 -0
  11. package/dist/chunk-QHVV2JGF.js.map +1 -0
  12. package/dist/chunk-S2O4NSN5.js +72 -0
  13. package/dist/{chunk-GFRUTPGG.js.map → chunk-S2O4NSN5.js.map} +1 -1
  14. package/dist/chunk-TN5JJ6JI.js +60 -0
  15. package/dist/chunk-TN5JJ6JI.js.map +1 -0
  16. package/dist/{chunk-XVXFMVG3.js → chunk-TVLRE7S3.js} +2 -2
  17. package/dist/chunk-VYZFQE3P.js +518 -0
  18. package/dist/chunk-VYZFQE3P.js.map +1 -0
  19. package/dist/{chunk-7MQNG35Q.js → chunk-ZKKMYIDN.js} +3 -2
  20. package/dist/chunk-ZKKMYIDN.js.map +1 -0
  21. package/dist/code-block.js +2 -2
  22. package/dist/cover-hero.js +3 -3
  23. package/dist/filter-bar.d.ts +3 -3
  24. package/dist/flock.js +1 -1
  25. package/dist/grade-stamp.js +2 -2
  26. package/dist/map.d.ts +16 -2
  27. package/dist/map.js +20 -18
  28. package/dist/map.js.map +1 -1
  29. package/dist/mascot-quote.js +1 -1
  30. package/dist/media-carousel.d.ts +113 -0
  31. package/dist/media-carousel.js +122 -0
  32. package/dist/media-carousel.js.map +1 -0
  33. package/dist/media-player.d.ts +177 -0
  34. package/dist/media-player.js +14 -0
  35. package/dist/media-player.js.map +1 -0
  36. package/dist/motion.css +7 -0
  37. package/dist/player-lightbox-ETBQWDOT.js +148 -0
  38. package/dist/player-lightbox-ETBQWDOT.js.map +1 -0
  39. package/dist/rail-nav.js +3 -3
  40. package/dist/retro-tv-playlist.d.ts +2 -0
  41. package/dist/retro-tv.js +1 -1
  42. package/dist/{schema-CL7t7xqb.d.ts → schema-DgjBz7-8.d.ts} +1 -1
  43. package/dist/shop.d.ts +2 -2
  44. package/dist/site-cahier.js +4 -4
  45. package/dist/taped-photo.js +2 -2
  46. package/dist/toc.js +1 -1
  47. package/dist/versus-card.js +1 -1
  48. package/dist/video-player.d.ts +3 -1
  49. package/dist/video-player.js +1 -1
  50. package/dist/virtual.d.ts +3 -3
  51. package/dist/wall.js +2 -2
  52. package/package.json +32 -4
  53. package/registry/app-frame.json +1 -1
  54. package/registry/examples/map/full-screen.d.ts +4 -0
  55. package/registry/examples/map/full-screen.js +26 -0
  56. package/registry/examples/map/full-screen.tsx +27 -0
  57. package/registry/examples/media-gallery/carousel.d.ts +4 -0
  58. package/registry/examples/media-gallery/carousel.js +22 -0
  59. package/registry/examples/media-gallery/carousel.tsx +20 -0
  60. package/registry/examples/media-gallery/player.d.ts +4 -0
  61. package/registry/examples/media-gallery/player.js +15 -0
  62. package/registry/examples/media-gallery/player.tsx +13 -0
  63. package/registry/index.json +16 -12
  64. package/registry/map.json +31 -4
  65. package/registry/media-gallery.json +57 -6
  66. package/registry/nav-bar.json +1 -1
  67. package/registry/rail-nav.json +1 -1
  68. package/registry/retro-tv.json +14 -0
  69. package/registry/shop.json +1 -1
  70. package/registry/site-footer.json +1 -1
  71. package/registry/video-player.json +15 -1
  72. package/dist/chunk-7MQNG35Q.js.map +0 -1
  73. package/dist/chunk-GFRUTPGG.js +0 -43
  74. /package/dist/{chunk-DJ5ZPPWL.js.map → chunk-7P7I5OQV.js.map} +0 -0
  75. /package/dist/{chunk-27AWSJTK.js.map → chunk-EDQLPCM4.js.map} +0 -0
  76. /package/dist/{chunk-XVXFMVG3.js.map → chunk-TVLRE7S3.js.map} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/dialog/dialog.tsx","../src/dialog/return-focus.ts","../src/media-gallery/player-lightbox.tsx"],"sourcesContent":["// Client (a portal). Radix does the focus trap, the scroll lock, Escape, the outside click, aria-modal, the\n// aria-labelledby / aria-describedby wiring and the focus return: this file only holds the shape.\nimport { Dialog as DialogPrimitive } from \"radix-ui\";\nimport type * as React from \"react\";\nimport { tv, type VariantProps } from \"tailwind-variants\";\n\nimport { IconButton } from \"../button/button\";\nimport { useReturnFocus } from \"./return-focus\";\n\nexport const dialog = tv({\n slots: {\n overlay: \"kz-overlay fixed inset-0 z-50 bg-overlay\",\n content:\n \"kz-dialog fixed z-50 flex flex-col overflow-hidden border border-border-default bg-surface-1 text-fg shadow-lg focus:outline-hidden\",\n close: \"absolute right-3 top-3 h-9 w-9\",\n header: \"flex flex-col gap-1 px-5 pb-2 pr-14 pt-5\",\n title: \"text-base font-bold text-fg\",\n description: \"text-sm text-fg-secondary\",\n body: \"min-h-0 flex-1 overflow-y-auto px-5 pb-5\",\n footer:\n \"flex flex-wrap items-center justify-end gap-2 border-t border-border-subtle px-5 py-4 pb-[max(1rem,env(safe-area-inset-bottom))]\",\n },\n variants: {\n placement: {\n center: { content: \"left-1/2 top-1/2 max-h-[85dvh] w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 rounded-xl\" },\n /* A sheet: anchored at the bottom on a phone, centred from `sm` up. */\n bottom: {\n content:\n \"inset-x-0 bottom-0 max-h-[92dvh] rounded-t-[1.75rem] sm:bottom-auto sm:left-1/2 sm:top-1/2 sm:w-full \" +\n \"sm:-translate-x-1/2 sm:-translate-y-1/2 sm:rounded-[1.75rem]\",\n },\n right: { content: \"inset-y-0 right-0 h-full w-full max-w-md rounded-none border-y-0 border-r-0\" },\n /* A navigation drawer: full height, from the left, clear of the notch. */\n left: { content: \"inset-y-0 left-0 h-full w-full max-w-md rounded-none border-y-0 border-l-0 pl-[env(safe-area-inset-left)]\" },\n },\n size: { sm: { content: \"sm:max-w-sm\" }, md: { content: \"sm:max-w-md\" }, lg: { content: \"sm:max-w-2xl\" } },\n },\n defaultVariants: { placement: \"center\", size: \"md\" },\n});\nconst s = dialog();\n\nexport type DialogVariants = VariantProps<typeof dialog>;\n\nfunction CloseIcon() {\n return (\n <svg viewBox=\"0 0 24 24\" className=\"h-4 w-4\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" aria-hidden>\n <path d=\"M18 6 6 18M6 6l12 12\" />\n </svg>\n );\n}\n\ntype CloseButtonProps =\n | {\n /** The accessible name of the close button — passed translated. */\n closeLabel: string;\n /** Leaves the close button out (the content brings its own way out, or none: see `dismissible`). */\n hideClose?: false;\n }\n | { closeLabel?: string; hideClose: true };\n\nexport type DialogContentProps = React.ComponentProps<typeof DialogPrimitive.Content> &\n DialogVariants &\n CloseButtonProps & {\n /**\n * center · bottom (a sheet on a phone, centred from `sm` up) · right (a side panel, full height) · left (a\n * navigation drawer, full height).\n * @default \"center\"\n */\n placement?: DialogVariants[\"placement\"];\n /**\n * sm · md · lg: the width of the dialog.\n * @default \"md\"\n */\n size?: DialogVariants[\"size\"];\n /**\n * `false`: Escape and a click outside do not close it (a gate the user must answer: age, terms). It still closes\n * through `open` / `onOpenChange` and any `Dialog.Close` inside. Default `true`.\n */\n dismissible?: boolean;\n /** The element the portal renders into (default: document.body). */\n container?: HTMLElement | null;\n };\n\nconst prevent = (event: Event) => event.preventDefault();\n\n/** Radix's content, mounted only while open: it remembers the opener then and gives focus back on close (WCAG 2.4.3). */\nfunction ReturnFocusContent({ onCloseAutoFocus, ...props }: React.ComponentProps<typeof DialogPrimitive.Content>) {\n return <DialogPrimitive.Content onCloseAutoFocus={useReturnFocus(onCloseAutoFocus)} {...props} />;\n}\n\n/** The dialog itself, portalled over a dimmed overlay, with a close button. Give it a `Dialog.Title`. */\nexport function DialogContent({\n placement,\n size,\n closeLabel,\n hideClose,\n dismissible = true,\n container,\n className,\n children,\n onEscapeKeyDown,\n onPointerDownOutside,\n onInteractOutside,\n ...props\n}: DialogContentProps) {\n const v = dialog({ placement, size });\n return (\n <DialogPrimitive.Portal container={container}>\n <DialogPrimitive.Overlay className={v.overlay()} />\n <ReturnFocusContent\n data-placement={placement ?? \"center\"}\n data-dismissible={dismissible ? undefined : \"false\"}\n className={v.content({ className })}\n onEscapeKeyDown={dismissible ? onEscapeKeyDown : chain(onEscapeKeyDown, prevent)}\n onPointerDownOutside={dismissible ? onPointerDownOutside : chain(onPointerDownOutside, prevent)}\n onInteractOutside={dismissible ? onInteractOutside : chain(onInteractOutside, prevent)}\n {...props}\n >\n {children}\n {!hideClose && (\n <DialogPrimitive.Close asChild>\n <IconButton label={closeLabel as string} variant=\"ghost\" shape=\"pill\" className={v.close()}>\n <CloseIcon />\n </IconButton>\n </DialogPrimitive.Close>\n )}\n </ReturnFocusContent>\n </DialogPrimitive.Portal>\n );\n}\n\nfunction chain<E extends Event>(handler: ((event: E) => void) | undefined, then: (event: E) => void) {\n return (event: E) => {\n handler?.(event);\n then(event);\n };\n}\n\nexport function DialogHeader({ className, ...props }: React.ComponentProps<\"div\">) {\n return <div className={s.header({ className })} {...props} />;\n}\n\nexport function DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>) {\n return <DialogPrimitive.Title className={s.title({ className })} {...props} />;\n}\n\nexport function DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>) {\n return <DialogPrimitive.Description className={s.description({ className })} {...props} />;\n}\n\nexport function DialogBody({ className, ...props }: React.ComponentProps<\"div\">) {\n return <div className={s.body({ className })} {...props} />;\n}\n\nexport function DialogFooter({ className, ...props }: React.ComponentProps<\"div\">) {\n return <div className={s.footer({ className })} {...props} />;\n}\n\n/** `Dialog.Root/Trigger/Content/Header/Title/Description/Body/Footer/Close`. `open`/`defaultOpen` + `onOpenChange`. */\nexport const Dialog = {\n Root: DialogPrimitive.Root,\n Trigger: DialogPrimitive.Trigger,\n Close: DialogPrimitive.Close,\n Content: DialogContent,\n Header: DialogHeader,\n Title: DialogTitle,\n Description: DialogDescription,\n Body: DialogBody,\n Footer: DialogFooter,\n};\n\n/** `Omit` that keeps the close-button union (`closeLabel` required unless `hideClose`). */\ntype DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;\n\nexport type SheetProps = DistributiveOmit<DialogContentProps, \"placement\">;\n\n/** A sheet is a dialog anchored at the bottom (centred from `sm` up): `Dialog.Content placement=\"bottom\"`. */\nexport function Sheet(props: SheetProps) {\n return <DialogContent placement=\"bottom\" {...props} />;\n}\n","// Client. WCAG 2.4.3: when a dialog closes, focus goes back to what opened it. Radix only does it for `Dialog.Trigger`;\n// most app dialogs are controlled (`open` / `onOpenChange`) and opened by a plain button, so on Escape focus fell to\n// <body>. The content remembers the focused element when it mounts (it is still the opener: Radix moves focus in an\n// effect) and gives it back on close, unless the consumer's `onCloseAutoFocus` prevented the default.\nimport * as React from \"react\";\n\n/** The handler for `onCloseAutoFocus`: yours first, then focus back on the opener if it is still on the page. */\nexport function useReturnFocus(onCloseAutoFocus?: (event: Event) => void) {\n const [opener] = React.useState<Element | null>(() => (typeof document === \"undefined\" ? null : document.activeElement));\n return React.useCallback(\n (event: Event) => {\n onCloseAutoFocus?.(event);\n if (event.defaultPrevented) return;\n if (opener instanceof HTMLElement && opener !== document.body && opener.isConnected) {\n event.preventDefault();\n opener.focus();\n }\n },\n [opener, onCloseAutoFocus],\n );\n}\n","// Client. The lightbox's dialog and its player: loaded by `MediaPlayer` only when the poster is pressed.\nimport * as React from \"react\";\n\nimport { Dialog } from \"../dialog\";\nimport { VideoPlayer, type VideoPlayerProps } from \"../video-player\";\n\nexport type PlayerLightboxProps = {\n player: Omit<VideoPlayerProps, \"aspectRatio\" | \"className\">;\n ratio: string;\n vertical: boolean;\n closeLabel: string;\n onClose: () => void;\n};\n\n/** The open dialog holding the player, started by the press that opened it. */\nexport default function PlayerLightbox({ player, ratio, vertical, closeLabel, onClose }: Readonly<PlayerLightboxProps>) {\n return (\n <Dialog.Root open onOpenChange={(open) => !open && onClose()}>\n <Dialog.Content size={vertical ? \"sm\" : \"lg\"} closeLabel={closeLabel} className=\"bg-media p-0\">\n <Dialog.Title className=\"sr-only\">{player.title}</Dialog.Title>\n <VideoPlayer {...player} aspectRatio={ratio} playOnMount pauseWhenHidden={false} />\n </Dialog.Content>\n </Dialog.Root>\n );\n}\n"],"mappings":"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","names":["jsx","jsxs"]}
package/dist/rail-nav.js CHANGED
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import {
3
3
  Tooltip
4
- } from "./chunk-27AWSJTK.js";
4
+ } from "./chunk-EDQLPCM4.js";
5
5
  import {
6
6
  ChevronGlyph
7
- } from "./chunk-GFRUTPGG.js";
7
+ } from "./chunk-S2O4NSN5.js";
8
8
  import {
9
9
  cn
10
- } from "./chunk-WU4VLSEA.js";
10
+ } from "./chunk-NSLXEDIS.js";
11
11
 
12
12
  // src/rail-nav/rail-nav.tsx
13
13
  import { Slot } from "radix-ui";
@@ -74,6 +74,8 @@ type VideoPlayerProps = {
74
74
  autoPlay?: boolean;
75
75
  /** Starts muted. */
76
76
  muted?: boolean;
77
+ /** Starts playing as soon as it mounts, with sound: for a player opened by a press (a lightbox), never for one that was already on the page. */
78
+ playOnMount?: boolean;
77
79
  /** Plays again from the start at the end. */
78
80
  loop?: boolean;
79
81
  /** How much to fetch before playback: `none` (a list of many videos), `metadata` (default), `auto`. */
package/dist/retro-tv.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  VideoPlayer
4
- } from "./chunk-7MQNG35Q.js";
4
+ } from "./chunk-ZKKMYIDN.js";
5
5
  import "./chunk-ADRUEPYC.js";
6
6
  import "./chunk-HJFRHYCI.js";
7
7
  import "./chunk-NSLXEDIS.js";
@@ -88,7 +88,7 @@ declare const SECTION_DEFINITIONS: readonly [SectionDefinitionOf<"hero", readonl
88
88
  }, z.core.$strip>;
89
89
  }>, SectionDefinitionOf<"booking", readonly ["strip", "panel", "closing", "sticky"], z.ZodMiniObject<{
90
90
  serviceId: z.ZodMiniOptional<z.ZodMiniString<string>>;
91
- count: z.ZodMiniUnion<[z.ZodMiniLiteral<6 | 3 | 4>, z.ZodMiniLiteral<6 | 3 | 4>]>;
91
+ count: z.ZodMiniUnion<[z.ZodMiniLiteral<3 | 4 | 6>, z.ZodMiniLiteral<3 | 4 | 6>]>;
92
92
  }, z.core.$strip>, Record<never, never>>, SectionDefinitionOf<"gallery", readonly ["mosaic", "filmstrip", "wall", "grid"], z.ZodMiniObject<{
93
93
  source: z.ZodMiniEnum<{
94
94
  all: "all";
package/dist/shop.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { S as ShopPage } from './schema-CL7t7xqb.js';
2
- export { L as LocalizedText, P as ParsedSection, b as SECTION_DEFINITIONS, c as SECTION_TYPES, d as SHOP_SCHEMA_VERSION, a as Section, e as SectionDefinition, f as SectionOf, g as SectionSpec, h as SectionType, i as ShopPageIssue, j as ShopPageResult, k as defineSection, p as parseShopPage, s as sectionDefinition, l as shopPageSchema } from './schema-CL7t7xqb.js';
1
+ import { S as ShopPage } from './schema-DgjBz7-8.js';
2
+ export { L as LocalizedText, P as ParsedSection, b as SECTION_DEFINITIONS, c as SECTION_TYPES, d as SHOP_SCHEMA_VERSION, a as Section, e as SectionDefinition, f as SectionOf, g as SectionSpec, h as SectionType, i as ShopPageIssue, j as ShopPageResult, k as defineSection, p as parseShopPage, s as sectionDefinition, l as shopPageSchema } from './schema-DgjBz7-8.js';
3
3
  export { b as ShopFrame, c as ShopFrameProps, a as ShopPhoto, d as ShopSection, S as ShopSectionProps } from './frame-CNZ5VgDD.js';
4
4
  import 'zod/mini';
5
5
  import 'react';
@@ -2,22 +2,22 @@
2
2
  import {
3
3
  Page,
4
4
  SectionBackdrop
5
- } from "./chunk-DJ5ZPPWL.js";
5
+ } from "./chunk-7P7I5OQV.js";
6
6
  import {
7
7
  ArrowGlyph
8
- } from "./chunk-GFRUTPGG.js";
8
+ } from "./chunk-S2O4NSN5.js";
9
9
  import {
10
10
  BlockLink
11
11
  } from "./chunk-ENOS6ETI.js";
12
12
  import {
13
13
  TapedPhoto
14
- } from "./chunk-XVXFMVG3.js";
14
+ } from "./chunk-TVLRE7S3.js";
15
15
  import {
16
16
  Mascot
17
17
  } from "./chunk-DRTIE44Z.js";
18
18
  import {
19
19
  cn
20
- } from "./chunk-WU4VLSEA.js";
20
+ } from "./chunk-NSLXEDIS.js";
21
21
 
22
22
  // src/page-hero/page-hero.tsx
23
23
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -2,8 +2,8 @@
2
2
  import "./chunk-44FU32KP.js";
3
3
  import {
4
4
  TapedPhoto
5
- } from "./chunk-XVXFMVG3.js";
6
- import "./chunk-WU4VLSEA.js";
5
+ } from "./chunk-TVLRE7S3.js";
6
+ import "./chunk-NSLXEDIS.js";
7
7
  export {
8
8
  TapedPhoto
9
9
  };
package/dist/toc.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  cn
4
- } from "./chunk-WU4VLSEA.js";
4
+ } from "./chunk-NSLXEDIS.js";
5
5
 
6
6
  // src/toc/toc.tsx
7
7
  import * as React from "react";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-DRTIE44Z.js";
5
5
  import {
6
6
  cn
7
- } from "./chunk-WU4VLSEA.js";
7
+ } from "./chunk-NSLXEDIS.js";
8
8
 
9
9
  // src/versus-card/versus-card.tsx
10
10
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -167,6 +167,8 @@ type VideoPlayerProps = {
167
167
  autoPlay?: boolean;
168
168
  /** Starts muted. */
169
169
  muted?: boolean;
170
+ /** Starts playing as soon as it mounts, with sound: for a player opened by a press (a lightbox), never for one that was already on the page. */
171
+ playOnMount?: boolean;
170
172
  /** Plays again from the start at the end. */
171
173
  loop?: boolean;
172
174
  /** How much to fetch before playback: `none` (a list of many videos), `metadata` (default), `auto`. */
@@ -199,7 +201,7 @@ type VideoPlayerProps = {
199
201
  className?: string;
200
202
  };
201
203
  /** A video player with accessible controls, HLS on demand, signed sources, subtitles, speed, full screen. */
202
- declare function VideoPlayer({ src, type, loadHls, title, poster, autoPlay, muted: initiallyMuted, loop, preload, tracks, playbackRates, pauseWhenHidden, controls, overlay, aspectRatio, onPlay, onPause, onEnded, onTimeUpdate, onError, labels: given, className, }: VideoPlayerProps): React.JSX.Element;
204
+ declare function VideoPlayer({ src, type, loadHls, title, poster, autoPlay, muted: initiallyMuted, playOnMount, loop, preload, tracks, playbackRates, pauseWhenHidden, controls, overlay, aspectRatio, onPlay, onPause, onEnded, onTimeUpdate, onError, labels: given, className, }: VideoPlayerProps): React.JSX.Element;
203
205
 
204
206
  export { VideoPlayer, videoPlayer, videoPlayerLabels };
205
207
  export type { HlsModule, VideoPlayerLabels, VideoPlayerProps, VideoTrack };
@@ -3,7 +3,7 @@ import {
3
3
  VideoPlayer,
4
4
  videoPlayer,
5
5
  videoPlayerLabels
6
- } from "./chunk-7MQNG35Q.js";
6
+ } from "./chunk-ZKKMYIDN.js";
7
7
  import "./chunk-ADRUEPYC.js";
8
8
  import "./chunk-HJFRHYCI.js";
9
9
  import "./chunk-NSLXEDIS.js";
package/dist/virtual.d.ts CHANGED
@@ -6,8 +6,8 @@ import * as React from 'react';
6
6
  declare const virtual: tailwind_variants.TVReturnType<{
7
7
  [key: string]: {
8
8
  [key: string]: tailwind_variants.ClassValue | {
9
- list?: tailwind_variants.ClassValue;
10
9
  viewport?: tailwind_variants.ClassValue;
10
+ list?: tailwind_variants.ClassValue;
11
11
  item?: tailwind_variants.ClassValue;
12
12
  row?: tailwind_variants.ClassValue;
13
13
  empty?: tailwind_variants.ClassValue;
@@ -16,8 +16,8 @@ declare const virtual: tailwind_variants.TVReturnType<{
16
16
  } | {
17
17
  [x: string]: {
18
18
  [x: string]: tailwind_variants.ClassValue | {
19
- list?: tailwind_variants.ClassValue;
20
19
  viewport?: tailwind_variants.ClassValue;
20
+ list?: tailwind_variants.ClassValue;
21
21
  item?: tailwind_variants.ClassValue;
22
22
  row?: tailwind_variants.ClassValue;
23
23
  empty?: tailwind_variants.ClassValue;
@@ -32,8 +32,8 @@ declare const virtual: tailwind_variants.TVReturnType<{
32
32
  }, undefined, {
33
33
  [key: string]: {
34
34
  [key: string]: tailwind_variants.ClassValue | {
35
- list?: tailwind_variants.ClassValue;
36
35
  viewport?: tailwind_variants.ClassValue;
36
+ list?: tailwind_variants.ClassValue;
37
37
  item?: tailwind_variants.ClassValue;
38
38
  row?: tailwind_variants.ClassValue;
39
39
  empty?: tailwind_variants.ClassValue;
package/dist/wall.js CHANGED
@@ -2,10 +2,10 @@
2
2
  import "./chunk-44FU32KP.js";
3
3
  import {
4
4
  TapedPhoto
5
- } from "./chunk-XVXFMVG3.js";
5
+ } from "./chunk-TVLRE7S3.js";
6
6
  import {
7
7
  cn
8
- } from "./chunk-WU4VLSEA.js";
8
+ } from "./chunk-NSLXEDIS.js";
9
9
 
10
10
  // src/cahier-seed.ts
11
11
  function seedUnit(seed) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krizaka/ui",
3
- "version": "3.83.0",
3
+ "version": "3.85.0",
4
4
  "description": "The Krizaka front-end platform's components: the primitives (button, card, dialog, toast, menu, field, tabs, chip, switch, slider, command palette, theme, countdown…) on the semantic --kz-* tokens, the animated marks (Krizaka, Orazaka, Yomizaka, Akinaza) and the motion signature — web and /native.",
5
5
  "keywords": [
6
6
  "krizaka",
@@ -517,6 +517,14 @@
517
517
  "types": "./dist/media-gallery.d.ts",
518
518
  "import": "./dist/media-gallery.js"
519
519
  },
520
+ "./media-player": {
521
+ "types": "./dist/media-player.d.ts",
522
+ "import": "./dist/media-player.js"
523
+ },
524
+ "./media-carousel": {
525
+ "types": "./dist/media-carousel.d.ts",
526
+ "import": "./dist/media-carousel.js"
527
+ },
520
528
  "./sticky-action": {
521
529
  "types": "./dist/sticky-action.d.ts",
522
530
  "import": "./dist/sticky-action.js"
@@ -993,7 +1001,7 @@
993
1001
  ],
994
1002
  "peerDependencies": {
995
1003
  "@krizaka/query": ">=0.3.0",
996
- "@krizaka/tailwind": ">=3.83.0",
1004
+ "@krizaka/tailwind": ">=3.85.0",
997
1005
  "@maplibre/maplibre-react-native": ">=11",
998
1006
  "@shopify/flash-list": ">=2",
999
1007
  "expo-camera": ">=16",
@@ -2175,6 +2183,26 @@
2175
2183
  "clsx"
2176
2184
  ]
2177
2185
  },
2186
+ {
2187
+ "name": "./media-player (VideoPlayer inline; the lightbox dialog is a lazy chunk, counted here)",
2188
+ "path": "dist/media-player.js",
2189
+ "limit": "29.9 kB",
2190
+ "gzip": true,
2191
+ "ignore": [
2192
+ "tailwind-variants",
2193
+ "clsx"
2194
+ ]
2195
+ },
2196
+ {
2197
+ "name": "./media-carousel",
2198
+ "path": "dist/media-carousel.js",
2199
+ "limit": "31 kB",
2200
+ "gzip": true,
2201
+ "ignore": [
2202
+ "tailwind-variants",
2203
+ "clsx"
2204
+ ]
2205
+ },
2178
2206
  {
2179
2207
  "name": "./media-gallery",
2180
2208
  "path": "dist/media-gallery.js",
@@ -3425,9 +3453,9 @@
3425
3453
  "sonner": "^2.0.8",
3426
3454
  "tailwind-variants": "^3.3.1",
3427
3455
  "zod": "^4.6.7",
3428
- "@krizaka/intl": "^0.4.1",
3429
3456
  "@krizaka/pacer": "^0.2.0",
3430
- "@krizaka/tokens": "^3.83.0"
3457
+ "@krizaka/tokens": "^3.85.0",
3458
+ "@krizaka/intl": "^0.4.1"
3431
3459
  },
3432
3460
  "scripts": {
3433
3461
  "build": "node -e \"const fs=require('node:fs');fs.rmSync('dist',{recursive:true,force:true});for(const f of fs.readdirSync('registry/examples',{recursive:true}))if(/\\.(js|d\\.ts)$/.test(f))fs.rmSync('registry/examples/'+f)\" && tsup && node -e \"require('node:fs').copyFileSync('src/motion.css','dist/motion.css');require('node:fs').copyFileSync('src/blocks.css','dist/blocks.css');require('node:fs').copyFileSync('src/story.css','dist/story.css')\" && node scripts/build-registry.mjs",
@@ -370,7 +370,7 @@
370
370
  }
371
371
  ],
372
372
  "dependencies": [
373
- "@krizaka/tokens@^3.83.0"
373
+ "@krizaka/tokens@^3.85.0"
374
374
  ],
375
375
  "registryDependencies": [
376
376
  "account-menu",
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,26 @@
1
+ "use client";
2
+
3
+ // registry/examples/map/full-screen.tsx
4
+ import { Map, Marker, StaticMap } from "@krizaka/ui/map";
5
+ import { jsx } from "react/jsx-runtime";
6
+ var SPOTS = [
7
+ { id: "olimpico", label: "Caf\xE9 Olimpico, Mile End", position: [-73.6005, 45.5229] },
8
+ { id: "parc", label: "Parc La Fontaine", position: [-73.5695, 45.5268] }
9
+ ];
10
+ function MapFullScreen() {
11
+ return /* @__PURE__ */ jsx(
12
+ Map,
13
+ {
14
+ label: "Explore the neighbourhood",
15
+ gestures: "map",
16
+ center: [-73.59, 45.525],
17
+ zoom: 12.5,
18
+ className: "h-96 w-full max-w-xl",
19
+ fallback: /* @__PURE__ */ jsx(StaticMap, { label: "Explore the neighbourhood", center: [-73.59, 45.525], zoom: 12.5, places: SPOTS }),
20
+ children: SPOTS.map((s) => /* @__PURE__ */ jsx(Marker, { position: s.position, label: s.label }, s.id))
21
+ }
22
+ );
23
+ }
24
+ export {
25
+ MapFullScreen as default
26
+ };
@@ -0,0 +1,27 @@
1
+ "use client";
2
+
3
+ import { Map, Marker, StaticMap } from "@krizaka/ui/map";
4
+
5
+ const SPOTS = [
6
+ { id: "olimpico", label: "Café Olimpico, Mile End", position: [-73.6005, 45.5229] as const },
7
+ { id: "parc", label: "Parc La Fontaine", position: [-73.5695, 45.5268] as const },
8
+ ];
9
+
10
+ // A map that IS the screen (an explorer, full height): `gestures="map"` gives it the wheel and one finger. In a page, leave the
11
+ // default (`page`): the wheel scrolls the page past the map, and Ctrl/⌘ + wheel or two fingers zoom it.
12
+ export default function MapFullScreen() {
13
+ return (
14
+ <Map
15
+ label="Explore the neighbourhood"
16
+ gestures="map"
17
+ center={[-73.59, 45.525]}
18
+ zoom={12.5}
19
+ className="h-96 w-full max-w-xl"
20
+ fallback={<StaticMap label="Explore the neighbourhood" center={[-73.59, 45.525]} zoom={12.5} places={SPOTS} />}
21
+ >
22
+ {SPOTS.map((s) => (
23
+ <Marker key={s.id} position={s.position} label={s.label} />
24
+ ))}
25
+ </Map>
26
+ );
27
+ }
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,22 @@
1
+ "use client";
2
+
3
+ // registry/examples/media-gallery/carousel.tsx
4
+ import { MediaCarousel } from "@krizaka/ui/media-carousel";
5
+ import { jsx } from "react/jsx-runtime";
6
+ var PIC = (a, b) => `data:image/svg+xml,${encodeURIComponent(`<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 500'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='${a}'/><stop offset='1' stop-color='${b}'/></linearGradient></defs><rect width='800' height='500' fill='url(#g)'/></svg>`)}`;
7
+ function MediaCarouselExample() {
8
+ return /* @__PURE__ */ jsx("div", { className: "max-w-xl", children: /* @__PURE__ */ jsx(
9
+ MediaCarousel,
10
+ {
11
+ label: "Realisations",
12
+ slides: [
13
+ { id: "a", src: PIC("#1d3f6b", "#4d7fb8"), alt: "The brand film", caption: "Fig. 1a", film: { src: "https://krizaka-assets.b-cdn.net/org/v1/films/film/le-monde-de-krizaka-16x9.b1c7c4ee51.mp4", title: "Film: the world of Krizaka", playLabel: "Play the film" } },
14
+ { id: "b", src: PIC("#23496f", "#6b9bc9"), alt: "A lease read in a minute", caption: "Fig. 1b" },
15
+ { id: "c", src: PIC("#2a3f5c", "#7aa5d6"), alt: "A return prepared, never filed", caption: "Fig. 1c" }
16
+ ]
17
+ }
18
+ ) });
19
+ }
20
+ export {
21
+ MediaCarouselExample as default
22
+ };
@@ -0,0 +1,20 @@
1
+ import { MediaCarousel } from "@krizaka/ui/media-carousel";
2
+
3
+ // Drawn pictures (data URIs, no network); a page passes its own realisations.
4
+ const PIC = (a: string, b: string) => `data:image/svg+xml,${encodeURIComponent(`<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 500'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='${a}'/><stop offset='1' stop-color='${b}'/></linearGradient></defs><rect width='800' height='500' fill='url(#g)'/></svg>`)}`;
5
+
6
+ // Three realisations, one at a time; the first opens its film in a lightbox. Nothing advances by itself.
7
+ export default function MediaCarouselExample() {
8
+ return (
9
+ <div className="max-w-xl">
10
+ <MediaCarousel
11
+ label="Realisations"
12
+ slides={[
13
+ { id: "a", src: PIC("#1d3f6b", "#4d7fb8"), alt: "The brand film", caption: "Fig. 1a", film: { src: "https://krizaka-assets.b-cdn.net/org/v1/films/film/le-monde-de-krizaka-16x9.b1c7c4ee51.mp4", title: "Film: the world of Krizaka", playLabel: "Play the film" } },
14
+ { id: "b", src: PIC("#23496f", "#6b9bc9"), alt: "A lease read in a minute", caption: "Fig. 1b" },
15
+ { id: "c", src: PIC("#2a3f5c", "#7aa5d6"), alt: "A return prepared, never filed", caption: "Fig. 1c" },
16
+ ]}
17
+ />
18
+ </div>
19
+ );
20
+ }
@@ -0,0 +1,4 @@
1
+ import type { ComponentType } from "react";
2
+ /** A named example of the @krizaka/ui registry; `defaultOpen` opens what it opens (a dialog, a menu, toasts) at load. */
3
+ declare const Example: ComponentType<{ defaultOpen?: boolean }>;
4
+ export default Example;
@@ -0,0 +1,15 @@
1
+ "use client";
2
+
3
+ // registry/examples/media-gallery/player.tsx
4
+ import { MediaPlayer } from "@krizaka/ui/media-player";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
+ var POSTER = `data:image/svg+xml,${encodeURIComponent("<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 450'><rect width='800' height='450' fill='#1d3f6b'/></svg>")}`;
7
+ function MediaPlayerExample() {
8
+ return /* @__PURE__ */ jsxs("div", { className: "grid max-w-2xl grid-cols-[2fr_1fr] items-start gap-3", children: [
9
+ /* @__PURE__ */ jsx(MediaPlayer, { mode: "lightbox", src: "https://krizaka-assets.b-cdn.net/org/v1/films/film/le-monde-de-krizaka-16x9.b1c7c4ee51.mp4", poster: POSTER, title: "Film: the world of Krizaka", playLabel: "Play the film", caption: "Fig. 1" }),
10
+ /* @__PURE__ */ jsx(MediaPlayer, { mode: "lightbox", vertical: true, src: "https://krizaka-assets.b-cdn.net/org/v1/films/film/le-monde-de-krizaka-9x16.aa28980db3.mp4", poster: POSTER, title: "Film: the world of Krizaka, vertical", playLabel: "Play the vertical film" })
11
+ ] });
12
+ }
13
+ export {
14
+ MediaPlayerExample as default
15
+ };
@@ -0,0 +1,13 @@
1
+ import { MediaPlayer } from "@krizaka/ui/media-player";
2
+
3
+ const POSTER = `data:image/svg+xml,${encodeURIComponent("<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 450'><rect width='800' height='450' fill='#1d3f6b'/></svg>")}`;
4
+
5
+ // One player, three ways: a lightbox (a press opens it, with sound), inline, and vertical 9:16 in a lightbox.
6
+ export default function MediaPlayerExample() {
7
+ return (
8
+ <div className="grid max-w-2xl grid-cols-[2fr_1fr] items-start gap-3">
9
+ <MediaPlayer mode="lightbox" src="https://krizaka-assets.b-cdn.net/org/v1/films/film/le-monde-de-krizaka-16x9.b1c7c4ee51.mp4" poster={POSTER} title="Film: the world of Krizaka" playLabel="Play the film" caption="Fig. 1" />
10
+ <MediaPlayer mode="lightbox" vertical src="https://krizaka-assets.b-cdn.net/org/v1/films/film/le-monde-de-krizaka-9x16.aa28980db3.mp4" poster={POSTER} title="Film: the world of Krizaka, vertical" playLabel="Play the vertical film" />
11
+ </div>
12
+ );
13
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krizaka/ui",
3
- "version": "3.83.0",
3
+ "version": "3.85.0",
4
4
  "templatePurposes": {
5
5
  "convince": {
6
6
  "title": "Convince",
@@ -1004,7 +1004,7 @@
1004
1004
  "native": 0
1005
1005
  },
1006
1006
  "dependencies": [
1007
- "@krizaka/tokens@^3.83.0"
1007
+ "@krizaka/tokens@^3.85.0"
1008
1008
  ],
1009
1009
  "registryDependencies": [
1010
1010
  "account-menu",
@@ -4004,11 +4004,11 @@
4004
4004
  }
4005
4005
  },
4006
4006
  "examples": {
4007
- "web": 7,
4007
+ "web": 8,
4008
4008
  "native": 2
4009
4009
  },
4010
4010
  "dependencies": [
4011
- "@krizaka/tokens@^3.83.0",
4011
+ "@krizaka/tokens@^3.85.0",
4012
4012
  "@protomaps/basemaps@5.7.2",
4013
4013
  "tailwind-variants@^3.3.1"
4014
4014
  ],
@@ -4268,8 +4268,8 @@
4268
4268
  "name": "media-gallery",
4269
4269
  "type": "primitive",
4270
4270
  "title": "Media gallery",
4271
- "summary": "A shop's own photos and loops in tiles — the first featured, loops playing muted while their tile is on screen (a still under reduced motion), a caption on the foot of a tile.",
4272
- "description": "A shop's own photos and loops in tiles — the first featured, loops playing muted while their tile is on screen (a still under reduced motion), a caption on the foot of a tile.",
4271
+ "summary": "Also `MediaCarousel` (3 to 4 realisations, one at a time) and `MediaPlayer` (the one video frame: inline, lightbox, 9:16). A shop's own photos and loops in tiles — the first featured, loops playing muted while their tile is on screen (a still under reduced motion), a caption on the foot of a tile.",
4272
+ "description": "Also `MediaCarousel` (3 to 4 realisations, one at a time) and `MediaPlayer` (the one video frame: inline, lightbox, 9:16). A shop's own photos and loops in tiles — the first featured, loops playing muted while their tile is on screen (a still under reduced motion), a caption on the foot of a tile.",
4273
4273
  "status": "beta",
4274
4274
  "category": "media",
4275
4275
  "platforms": "web",
@@ -4286,13 +4286,17 @@
4286
4286
  }
4287
4287
  },
4288
4288
  "examples": {
4289
- "web": 1,
4289
+ "web": 3,
4290
4290
  "native": 0
4291
4291
  },
4292
4292
  "dependencies": [
4293
4293
  "tailwind-variants@^3.3.1"
4294
4294
  ],
4295
- "registryDependencies": []
4295
+ "registryDependencies": [
4296
+ "button",
4297
+ "dialog",
4298
+ "video-player"
4299
+ ]
4296
4300
  },
4297
4301
  {
4298
4302
  "name": "media-picker",
@@ -4416,7 +4420,7 @@
4416
4420
  "native": 0
4417
4421
  },
4418
4422
  "dependencies": [
4419
- "@krizaka/tokens@^3.83.0",
4423
+ "@krizaka/tokens@^3.85.0",
4420
4424
  "radix-ui@^1.8.1",
4421
4425
  "tailwind-variants@^3.3.1"
4422
4426
  ],
@@ -5284,7 +5288,7 @@
5284
5288
  "native": 0
5285
5289
  },
5286
5290
  "dependencies": [
5287
- "@krizaka/tokens@^3.83.0",
5291
+ "@krizaka/tokens@^3.85.0",
5288
5292
  "radix-ui@^1.8.1",
5289
5293
  "tailwind-variants@^3.3.1"
5290
5294
  ],
@@ -5731,7 +5735,7 @@
5731
5735
  "native": 0
5732
5736
  },
5733
5737
  "dependencies": [
5734
- "@krizaka/tokens@^3.83.0",
5738
+ "@krizaka/tokens@^3.85.0",
5735
5739
  "zod@^4.6.7"
5736
5740
  ],
5737
5741
  "registryDependencies": [
@@ -5951,7 +5955,7 @@
5951
5955
  "native": 0
5952
5956
  },
5953
5957
  "dependencies": [
5954
- "@krizaka/tokens@^3.83.0",
5958
+ "@krizaka/tokens@^3.85.0",
5955
5959
  "radix-ui@^1.8.1",
5956
5960
  "tailwind-variants@^3.3.1"
5957
5961
  ],