@krizaka/ui 3.59.0 → 3.60.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/README.md +1 -0
- package/dist/blocks.css +106 -0
- package/dist/chunk-44FU32KP.js +2 -0
- package/dist/chunk-44FU32KP.js.map +1 -0
- package/dist/file-upload.d.ts +2 -2
- package/dist/filter-bar.d.ts +3 -3
- package/dist/map.d.ts +6 -6
- package/dist/taped-photo.js +1 -0
- package/dist/wall.d.ts +79 -0
- package/dist/wall.js +127 -0
- package/dist/wall.js.map +1 -0
- package/package.json +19 -5
- package/registry/account-menu.json +1 -1
- package/registry/account-settings.json +1 -1
- package/registry/achievement.json +1 -1
- package/registry/action-bar.json +1 -1
- package/registry/activity-feed.json +1 -1
- package/registry/agenda.json +1 -1
- package/registry/alert.json +1 -1
- package/registry/anatomy-plate.json +1 -1
- package/registry/app-header.json +1 -1
- package/registry/app-shell.json +1 -1
- package/registry/argument-card.json +1 -1
- package/registry/audio-player.json +1 -1
- package/registry/auth-layout.json +1 -1
- package/registry/avatar.json +1 -1
- package/registry/badge.json +1 -1
- package/registry/bird-plate.json +1 -1
- package/registry/button.json +1 -1
- package/registry/captcha.json +1 -1
- package/registry/card-grid.json +1 -1
- package/registry/card.json +1 -1
- package/registry/catalogue-page.json +1 -1
- package/registry/changelog-page.json +1 -1
- package/registry/chapter.json +1 -1
- package/registry/chat.json +1 -1
- package/registry/checkbox.json +1 -1
- package/registry/chip-link.json +1 -1
- package/registry/chip-row.json +1 -1
- package/registry/chip.json +1 -1
- package/registry/choice-grid.json +1 -1
- package/registry/code-block.json +1 -1
- package/registry/combobox.json +1 -1
- package/registry/command.json +1 -1
- package/registry/comparison-table.json +1 -1
- package/registry/component-page.json +1 -1
- package/registry/confirm-button.json +1 -1
- package/registry/contact-page.json +1 -1
- package/registry/continue-prompt.json +1 -1
- package/registry/countdown.json +1 -1
- package/registry/cover-hero.json +1 -1
- package/registry/cta-panel.json +1 -1
- package/registry/dashboard-layout.json +1 -1
- package/registry/data-table.json +1 -1
- package/registry/date-picker.json +1 -1
- package/registry/decision-list.json +1 -1
- package/registry/description-list.json +1 -1
- package/registry/detail-layout.json +1 -1
- package/registry/dialog.json +1 -1
- package/registry/docs-article-page.json +1 -1
- package/registry/docs-hub-page.json +1 -1
- package/registry/docs-layout.json +1 -1
- package/registry/docs-nav.json +1 -1
- package/registry/document-viewer.json +1 -1
- package/registry/doodle.json +1 -1
- package/registry/drop-overlay.json +1 -1
- package/registry/dropdown-menu.json +1 -1
- package/registry/elephant.json +2 -2
- package/registry/empty-state.json +1 -1
- package/registry/engine-flow.json +1 -1
- package/registry/error-page.json +1 -1
- package/registry/examples/wall/brick.d.ts +4 -0
- package/registry/examples/wall/brick.js +14 -0
- package/registry/examples/wall/brick.tsx +8 -0
- package/registry/examples/wall/composition-fr.d.ts +4 -0
- package/registry/examples/wall/composition-fr.js +37 -0
- package/registry/examples/wall/composition-fr.tsx +18 -0
- package/registry/examples/wall/composition.d.ts +4 -0
- package/registry/examples/wall/composition.js +38 -0
- package/registry/examples/wall/composition.tsx +18 -0
- package/registry/examples/wall/pinned-note.d.ts +4 -0
- package/registry/examples/wall/pinned-note.js +15 -0
- package/registry/examples/wall/pinned-note.tsx +9 -0
- package/registry/examples/wall/plaster.d.ts +4 -0
- package/registry/examples/wall/plaster.js +14 -0
- package/registry/examples/wall/plaster.tsx +8 -0
- package/registry/examples/wall/polaroid.d.ts +4 -0
- package/registry/examples/wall/polaroid.js +19 -0
- package/registry/examples/wall/polaroid.tsx +10 -0
- package/registry/examples/wall/ridge.d.ts +4 -0
- package/registry/examples/wall/ridge.js +14 -0
- package/registry/examples/wall/ridge.tsx +8 -0
- package/registry/examples/wall/shop-sign.d.ts +4 -0
- package/registry/examples/wall/shop-sign.js +16 -0
- package/registry/examples/wall/shop-sign.tsx +10 -0
- package/registry/examples/wall/zellige.d.ts +4 -0
- package/registry/examples/wall/zellige.js +14 -0
- package/registry/examples/wall/zellige.tsx +8 -0
- package/registry/field.json +1 -1
- package/registry/file-upload.json +1 -1
- package/registry/filter-bar.json +1 -1
- package/registry/flock.json +1 -1
- package/registry/footnote.json +1 -1
- package/registry/force-update-screen.json +1 -1
- package/registry/form.json +1 -1
- package/registry/gallery-page.json +1 -1
- package/registry/genui.json +1 -1
- package/registry/glossary-term.json +1 -1
- package/registry/glossary.json +1 -1
- package/registry/glow-card.json +1 -1
- package/registry/goal-gauge.json +1 -1
- package/registry/grade-stamp.json +1 -1
- package/registry/how-it-works-page.json +1 -1
- package/registry/image-cropper.json +1 -1
- package/registry/index.json +38 -6
- package/registry/iso.json +1 -1
- package/registry/kanban.json +1 -1
- package/registry/kbd.json +1 -1
- package/registry/kind-config-editor.json +1 -1
- package/registry/kpi-explained.json +1 -1
- package/registry/landing-page.json +1 -1
- package/registry/landscape.json +1 -1
- package/registry/language-switch.json +1 -1
- package/registry/legal-page.json +1 -1
- package/registry/link-card.json +1 -1
- package/registry/list.json +1 -1
- package/registry/loader.json +1 -1
- package/registry/longform-page.json +1 -1
- package/registry/maintenance-screen.json +1 -1
- package/registry/map.json +2 -2
- package/registry/markdown.json +1 -1
- package/registry/marketing-layout.json +1 -1
- package/registry/marquee.json +1 -1
- package/registry/mascot-quote.json +1 -1
- package/registry/mascot-state.json +1 -1
- package/registry/mascots.json +1 -1
- package/registry/match-dialog.json +1 -1
- package/registry/media-capture.json +1 -1
- package/registry/media-gallery.json +1 -1
- package/registry/media-grid.json +1 -1
- package/registry/meta-row.json +1 -1
- package/registry/meter.json +1 -1
- package/registry/nav-bar.json +2 -2
- package/registry/next-actions.json +1 -1
- package/registry/notification-preferences.json +1 -1
- package/registry/number-ticker.json +1 -1
- package/registry/opening-hours.json +1 -1
- package/registry/page-header.json +1 -1
- package/registry/page-hero.json +1 -1
- package/registry/page-index.json +1 -1
- package/registry/page.json +1 -1
- package/registry/pagination.json +1 -1
- package/registry/photo-grid.json +1 -1
- package/registry/pointer-light.json +1 -1
- package/registry/popover.json +1 -1
- package/registry/pricing-page.json +1 -1
- package/registry/product-page.json +1 -1
- package/registry/profile-card.json +1 -1
- package/registry/progress.json +1 -1
- package/registry/promise-card.json +1 -1
- package/registry/quota-meter.json +1 -1
- package/registry/radio-group.json +1 -1
- package/registry/rail-nav.json +2 -2
- package/registry/recipes.json +1 -1
- package/registry/retro-tv.json +1 -1
- package/registry/router.json +1 -1
- package/registry/scroll-stage.json +1 -1
- package/registry/search-field.json +1 -1
- package/registry/section-backdrop.json +1 -1
- package/registry/separator.json +1 -1
- package/registry/service-card.json +1 -1
- package/registry/settings-layout.json +1 -1
- package/registry/showcase.json +1 -1
- package/registry/signature.json +1 -1
- package/registry/site-cahier.json +1 -1
- package/registry/site-footer.json +2 -2
- package/registry/sites.json +1 -1
- package/registry/skeleton.json +1 -1
- package/registry/skip-link.json +1 -1
- package/registry/slider.json +1 -1
- package/registry/slot-picker.json +1 -1
- package/registry/slot.json +1 -1
- package/registry/specimen-tag.json +1 -1
- package/registry/speed-lines.json +1 -1
- package/registry/spinner.json +1 -1
- package/registry/split-view.json +1 -1
- package/registry/stage-banner.json +1 -1
- package/registry/stat.json +1 -1
- package/registry/status-chip.json +1 -1
- package/registry/status-page.json +1 -1
- package/registry/step-progress.json +1 -1
- package/registry/step-showcase.json +1 -1
- package/registry/stepper.json +1 -1
- package/registry/sticky-action.json +1 -1
- package/registry/stuck.json +1 -1
- package/registry/swipe-deck.json +1 -1
- package/registry/switch.json +1 -1
- package/registry/tabs.json +1 -1
- package/registry/tag-input.json +1 -1
- package/registry/tag-selector.json +1 -1
- package/registry/taped-photo.json +1 -1
- package/registry/terminal-replay.json +1 -1
- package/registry/text-style.json +1 -1
- package/registry/theme.json +1 -1
- package/registry/toast.json +1 -1
- package/registry/toc.json +1 -1
- package/registry/tooltip.json +1 -1
- package/registry/tree-view.json +1 -1
- package/registry/update-prompt.json +1 -1
- package/registry/upload-queue.json +1 -1
- package/registry/verified-badge.json +1 -1
- package/registry/versus-card.json +1 -1
- package/registry/vertical-video.json +1 -1
- package/registry/video-player.json +1 -1
- package/registry/video-trimmer.json +1 -1
- package/registry/virtual.json +1 -1
- package/registry/wall.json +511 -0
- package/registry/waveform.json +1 -1
package/README.md
CHANGED
|
@@ -219,6 +219,7 @@ light or a product's — is a set of tokens.
|
|
|
219
219
|
| `@krizaka/ui/service-card` | `ServiceCard` (`name`, `price`, `priceFrom`, `duration`, `capacity`, `description`, `included`, `tag`, `icon`, `media`, `selected`, `actionLabel`, `href` + `linkAs` or `onSelect`): a service a shop sells as a card with one way in | server |
|
|
220
220
|
| `@krizaka/ui/slot-picker` | `SlotPicker` (`days` of `{ id, label, sub, slots }`, `label`, `emptyLabel`, `value`, `onValueChange`, `linkAs`): the next free times as chips by day — links (`slot.href`) or toggles | client |
|
|
221
221
|
| `@krizaka/ui/opening-hours` | `OpeningHours` (`days`, `today`, `status`, `label`): the weekly hours in one row (open now · closes at…) that unfolds into the week, today marked | server |
|
|
222
|
+
| `@krizaka/ui/wall` | `Wall`, `Polaroid`, `PinnedNote`, `ShopSign`: read-only textured wall, slotted photos, short signed notes and enamel/neon/painted signs; data-driven percentage placement and a z-ordered phone list. Import `blocks.css`; captions/signatures use `--kz-font-cahier`. Layout uses `height`, `itemWidth`, `x`, `y`, `rotation`, not `style`. [Generated documentation](https://ui.krizaka.com/components/wall) | client |
|
|
222
223
|
| `@krizaka/ui/cover-hero` | `CoverHero` (`cover` `{ src, alt, video }`, `eyebrow`, `title`, `lead`, `facts`, `actions`, `back`, `linkAs`): a shop's first screen over its photo or muted loop (a still under reduced motion), brand colours without a cover | client |
|
|
223
224
|
| `@krizaka/ui/sticky-action` | `StickyAction`: the page's one action held at the bottom edge of a phone (pure CSS, last child of `main`, not drawn from `md`) | server |
|
|
224
225
|
| `@krizaka/ui/media-gallery` | `MediaGallery` (`items` of `{ id, src, alt, video, caption, shape }`, `label`): a shop's photos and loops in tiles, the first featured, loops play while seen | client |
|
package/dist/blocks.css
CHANGED
|
@@ -8,6 +8,112 @@
|
|
|
8
8
|
- the hue of a subject: --kz-hue (rails, icon tiles, lights — decorative, ≥ 3:1), --kz-hue-2 (the end of its rail),
|
|
9
9
|
--kz-hue-text (small text, ≥ 4.5:1). Unset, every block falls back to the brand accent. */
|
|
10
10
|
|
|
11
|
+
/* ─── Wall: a real list on a handcrafted surface; phone order is the DOM's z order ─── */
|
|
12
|
+
.kz-wall {
|
|
13
|
+
position: relative;
|
|
14
|
+
isolation: isolate;
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
display: grid;
|
|
17
|
+
gap: 2rem;
|
|
18
|
+
width: 100%;
|
|
19
|
+
margin: 0;
|
|
20
|
+
padding: 2rem;
|
|
21
|
+
list-style: none;
|
|
22
|
+
background: var(--kz-surface-1);
|
|
23
|
+
color: var(--kz-text-primary);
|
|
24
|
+
border: 1px solid var(--kz-border-default);
|
|
25
|
+
}
|
|
26
|
+
.kz-wall[data-texture="plaster"] {
|
|
27
|
+
background-color: color-mix(in srgb, var(--kz-paper-tag) 45%, var(--kz-surface-1));
|
|
28
|
+
background-image: linear-gradient(110deg, var(--kz-surface-2), transparent 65%),
|
|
29
|
+
repeating-linear-gradient(93deg, transparent 0 7px, var(--kz-border-subtle) 8px, transparent 9px 17px);
|
|
30
|
+
}
|
|
31
|
+
.kz-wall[data-texture="brick"] {
|
|
32
|
+
background-color: color-mix(in srgb, var(--kz-paper-rule-margin) 30%, var(--kz-surface-1));
|
|
33
|
+
}
|
|
34
|
+
.kz-wall-item {
|
|
35
|
+
position: relative;
|
|
36
|
+
min-width: 0;
|
|
37
|
+
width: min(100%, var(--kz-wall-item-width));
|
|
38
|
+
margin-inline: auto;
|
|
39
|
+
transform: none;
|
|
40
|
+
overflow-wrap: anywhere;
|
|
41
|
+
}
|
|
42
|
+
.kz-wall-item:focus-visible {
|
|
43
|
+
outline: 2px solid var(--kz-ring);
|
|
44
|
+
outline-offset: 8px;
|
|
45
|
+
}
|
|
46
|
+
.kz-wall-decoration { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
|
|
47
|
+
.kz-wall-decoration svg { display: block; }
|
|
48
|
+
.kz-wall-object { position: relative; box-sizing: border-box; min-width: 0; margin: 0; transform: rotate(var(--kz-wall-rotation, 0deg)); overflow-wrap: anywhere; }
|
|
49
|
+
.kz-wall-attachment { position: absolute; z-index: 1; pointer-events: none; }
|
|
50
|
+
.kz-wall-tape {
|
|
51
|
+
width: 34%; height: 1.4rem; top: -.6rem; left: 33%;
|
|
52
|
+
background: color-mix(in srgb, var(--kz-warning) 25%, var(--kz-surface-2));
|
|
53
|
+
opacity: .85;
|
|
54
|
+
clip-path: polygon(2% 0, 98% 4%, 100% 92%, 0 100%);
|
|
55
|
+
}
|
|
56
|
+
.kz-wall-pin {
|
|
57
|
+
width: .65rem; height: .65rem; top: .4rem; left: calc(50% - .325rem);
|
|
58
|
+
border-radius: 50%; background: var(--kz-accent); border: 1px solid var(--kz-border-strong);
|
|
59
|
+
box-shadow: 1px 2px 0 var(--kz-scrim);
|
|
60
|
+
}
|
|
61
|
+
.kz-polaroid { box-sizing: border-box; min-width: 0; overflow-wrap: anywhere; }
|
|
62
|
+
/* A Polaroid's frame is white paper in both themes (a print does not follow the page's dark), wider under the photo. */
|
|
63
|
+
.kz-polaroid.kz-taped, :root:not(.light) .kz-polaroid.kz-taped { --kz-print: hsl(0 0% 100%); --kz-print-ink: hsl(215 35% 22%); padding-bottom: clamp(10px, 2vw, 20px); }
|
|
64
|
+
.kz-polaroid .kz-taped-picture { overflow: visible; }
|
|
65
|
+
.kz-polaroid.kz-taped[data-tape="top"]::before { transform: rotate(var(--kz-wall-attachment-rotation, 0deg)); }
|
|
66
|
+
.kz-polaroid-photo { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--kz-surface-2); }
|
|
67
|
+
.kz-polaroid-photo > :is(img, svg) { display: block; width: 100%; height: 100%; object-fit: cover; }
|
|
68
|
+
.kz-polaroid .kz-taped-caption { text-align: center; font: 1.25rem/1.35 var(--kz-font-cahier); }
|
|
69
|
+
.kz-polaroid[data-develop="waiting"] .kz-polaroid-photo { filter: contrast(.65) blur(.6px); opacity: .8; }
|
|
70
|
+
.kz-polaroid[data-develop="ready"] .kz-polaroid-photo { animation: kz-wall-develop 1.6s ease-out both; }
|
|
71
|
+
@keyframes kz-wall-develop { from { filter: contrast(.65) blur(.6px); opacity: .8; } to { filter: none; opacity: 1; } }
|
|
72
|
+
.kz-pinned-note { filter: drop-shadow(2px 3px 0 var(--kz-border-default)); }
|
|
73
|
+
.kz-pinned-note-paper {
|
|
74
|
+
padding: 1.75rem 1.25rem 1.25rem; background: var(--kz-surface-0); color: var(--kz-text-primary);
|
|
75
|
+
clip-path: polygon(0 0, calc(100% - 1rem) 0, 100% 1rem, 100% 100%, 0 100%);
|
|
76
|
+
border: 1px solid var(--kz-border-default);
|
|
77
|
+
}
|
|
78
|
+
.kz-pinned-note-text { margin: 0; font: 1rem/1.6 var(--kz-font-sans); white-space: pre-wrap; }
|
|
79
|
+
.kz-pinned-note-signature { margin: 1rem 0 0; text-align: end; font: 1.2rem/1.3 var(--kz-font-cahier); }
|
|
80
|
+
/* The sign is its own size container: its text scales to its width (cqi of the content box), so a long name fits whole — a word is never cut or hyphenated. */
|
|
81
|
+
.kz-shop-sign { container-type: inline-size; padding: 1.75rem; text-align: center; overflow-wrap: normal; hyphens: manual; word-break: normal; }
|
|
82
|
+
.kz-shop-sign-logo { font: min(1.75rem, 12cqi)/1.25 var(--kz-font-display); overflow-wrap: normal; }
|
|
83
|
+
.kz-shop-sign-logo > :is(img, svg) { max-width: 100%; height: auto; }
|
|
84
|
+
.kz-shop-sign[data-variant="enamel"] {
|
|
85
|
+
background: var(--kz-surface-0); border: 3px double var(--kz-accent-text); border-radius: .35rem;
|
|
86
|
+
color: var(--kz-accent-text); box-shadow: var(--kz-shadow-md);
|
|
87
|
+
}
|
|
88
|
+
.kz-shop-sign-screw {
|
|
89
|
+
position: absolute; width: .45rem; height: .45rem; border-radius: 50%; border: 1px solid var(--kz-text-muted);
|
|
90
|
+
background: linear-gradient(135deg, var(--kz-surface-3) 40%, var(--kz-text-muted) 45% 55%, var(--kz-surface-3) 60%);
|
|
91
|
+
}
|
|
92
|
+
.kz-shop-sign-screw[data-corner="0"] { top: .35rem; left: .35rem; }
|
|
93
|
+
.kz-shop-sign-screw[data-corner="1"] { top: .35rem; right: .35rem; }
|
|
94
|
+
.kz-shop-sign-screw[data-corner="2"] { bottom: .35rem; left: .35rem; }
|
|
95
|
+
.kz-shop-sign-screw[data-corner="3"] { bottom: .35rem; right: .35rem; }
|
|
96
|
+
.kz-shop-sign[data-variant="neon"] {
|
|
97
|
+
color: var(--kz-accent-text); background: var(--kz-surface-0); border: 1px solid var(--kz-border-default);
|
|
98
|
+
text-shadow: 0 0 .6rem var(--kz-accent-soft), 0 0 1.5rem var(--kz-accent-soft);
|
|
99
|
+
}
|
|
100
|
+
.kz-shop-sign[data-variant="neon"] .kz-shop-sign-logo > svg { filter: drop-shadow(0 0 .3rem var(--kz-accent)); }
|
|
101
|
+
.kz-shop-sign[data-variant="neon"][data-animated] .kz-shop-sign-logo { animation: kz-wall-neon 2.4s ease-in-out 1; }
|
|
102
|
+
@keyframes kz-wall-neon { 0%, 45%, 100% { opacity: 1; } 25%, 65% { opacity: .88; } }
|
|
103
|
+
.kz-shop-sign[data-variant="painted"] { color: var(--kz-text-secondary); border-block: 2px solid var(--kz-border-default); text-shadow: 1px 1px var(--kz-surface-0); }
|
|
104
|
+
@media (min-width: 48rem) {
|
|
105
|
+
.kz-wall { display: block; height: var(--kz-wall-height); padding: 2rem; }
|
|
106
|
+
.kz-wall-item {
|
|
107
|
+
position: absolute; left: var(--kz-wall-x); top: var(--kz-wall-y);
|
|
108
|
+
width: min(var(--kz-wall-item-width), 42%); max-height: 100%; margin: 0;
|
|
109
|
+
transform: translate(calc(-1 * var(--kz-wall-x)), calc(-1 * var(--kz-wall-y))) rotate(var(--kz-wall-rotation));
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
@media (prefers-reduced-motion: reduce) {
|
|
113
|
+
.kz-polaroid .kz-polaroid-photo { animation: none; filter: none; opacity: 1; }
|
|
114
|
+
.kz-shop-sign[data-variant="neon"][data-animated] .kz-shop-sign-logo { animation: none; }
|
|
115
|
+
}
|
|
116
|
+
|
|
11
117
|
/* ─── Page: one frame for every page — the width, the gutters, the vertical rhythm ─── */
|
|
12
118
|
.kz-frame {
|
|
13
119
|
--kz-gutter: var(--kz-page-gutter, clamp(16px, 3.2vw, 32px));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/file-upload.d.ts
CHANGED
|
@@ -240,8 +240,8 @@ declare function useUploadQueue(options: UploadQueueOptions): {
|
|
|
240
240
|
items: UploadItem[];
|
|
241
241
|
add: (files: readonly File[]) => void;
|
|
242
242
|
pause: (id: string) => void;
|
|
243
|
-
resume:
|
|
244
|
-
retry:
|
|
243
|
+
resume: any;
|
|
244
|
+
retry: any;
|
|
245
245
|
cancel: (id: string) => void;
|
|
246
246
|
remove: (id: string) => void;
|
|
247
247
|
};
|
package/dist/filter-bar.d.ts
CHANGED
|
@@ -75,11 +75,11 @@ declare const filterBar: tailwind_variants.TVReturnType<{
|
|
|
75
75
|
[key: string]: {
|
|
76
76
|
[key: string]: tailwind_variants.ClassValue | {
|
|
77
77
|
root?: tailwind_variants.ClassValue;
|
|
78
|
-
count?: tailwind_variants.ClassValue;
|
|
79
78
|
controls?: tailwind_variants.ClassValue;
|
|
80
79
|
active?: tailwind_variants.ClassValue;
|
|
81
80
|
clear?: tailwind_variants.ClassValue;
|
|
82
81
|
results?: tailwind_variants.ClassValue;
|
|
82
|
+
count?: tailwind_variants.ClassValue;
|
|
83
83
|
optionCount?: tailwind_variants.ClassValue;
|
|
84
84
|
trigger?: tailwind_variants.ClassValue;
|
|
85
85
|
};
|
|
@@ -88,11 +88,11 @@ declare const filterBar: tailwind_variants.TVReturnType<{
|
|
|
88
88
|
[x: string]: {
|
|
89
89
|
[x: string]: tailwind_variants.ClassValue | {
|
|
90
90
|
root?: tailwind_variants.ClassValue;
|
|
91
|
-
count?: tailwind_variants.ClassValue;
|
|
92
91
|
controls?: tailwind_variants.ClassValue;
|
|
93
92
|
active?: tailwind_variants.ClassValue;
|
|
94
93
|
clear?: tailwind_variants.ClassValue;
|
|
95
94
|
results?: tailwind_variants.ClassValue;
|
|
95
|
+
count?: tailwind_variants.ClassValue;
|
|
96
96
|
optionCount?: tailwind_variants.ClassValue;
|
|
97
97
|
trigger?: tailwind_variants.ClassValue;
|
|
98
98
|
};
|
|
@@ -110,11 +110,11 @@ declare const filterBar: tailwind_variants.TVReturnType<{
|
|
|
110
110
|
[key: string]: {
|
|
111
111
|
[key: string]: tailwind_variants.ClassValue | {
|
|
112
112
|
root?: tailwind_variants.ClassValue;
|
|
113
|
-
count?: tailwind_variants.ClassValue;
|
|
114
113
|
controls?: tailwind_variants.ClassValue;
|
|
115
114
|
active?: tailwind_variants.ClassValue;
|
|
116
115
|
clear?: tailwind_variants.ClassValue;
|
|
117
116
|
results?: tailwind_variants.ClassValue;
|
|
117
|
+
count?: tailwind_variants.ClassValue;
|
|
118
118
|
optionCount?: tailwind_variants.ClassValue;
|
|
119
119
|
trigger?: tailwind_variants.ClassValue;
|
|
120
120
|
};
|
package/dist/map.d.ts
CHANGED
|
@@ -119,10 +119,10 @@ declare const map: tailwind_variants.TVReturnType<{
|
|
|
119
119
|
[key: string]: {
|
|
120
120
|
[key: string]: tailwind_variants.ClassValue | {
|
|
121
121
|
root?: tailwind_variants.ClassValue;
|
|
122
|
+
attribution?: tailwind_variants.ClassValue;
|
|
122
123
|
canvas?: tailwind_variants.ClassValue;
|
|
123
124
|
fallback?: tailwind_variants.ClassValue;
|
|
124
125
|
controls?: tailwind_variants.ClassValue;
|
|
125
|
-
attribution?: tailwind_variants.ClassValue;
|
|
126
126
|
places?: tailwind_variants.ClassValue;
|
|
127
127
|
markerLabel?: tailwind_variants.ClassValue;
|
|
128
128
|
control?: tailwind_variants.ClassValue;
|
|
@@ -133,10 +133,10 @@ declare const map: tailwind_variants.TVReturnType<{
|
|
|
133
133
|
[x: string]: {
|
|
134
134
|
[x: string]: tailwind_variants.ClassValue | {
|
|
135
135
|
root?: tailwind_variants.ClassValue;
|
|
136
|
+
attribution?: tailwind_variants.ClassValue;
|
|
136
137
|
canvas?: tailwind_variants.ClassValue;
|
|
137
138
|
fallback?: tailwind_variants.ClassValue;
|
|
138
139
|
controls?: tailwind_variants.ClassValue;
|
|
139
|
-
attribution?: tailwind_variants.ClassValue;
|
|
140
140
|
places?: tailwind_variants.ClassValue;
|
|
141
141
|
markerLabel?: tailwind_variants.ClassValue;
|
|
142
142
|
control?: tailwind_variants.ClassValue;
|
|
@@ -157,10 +157,10 @@ declare const map: tailwind_variants.TVReturnType<{
|
|
|
157
157
|
[key: string]: {
|
|
158
158
|
[key: string]: tailwind_variants.ClassValue | {
|
|
159
159
|
root?: tailwind_variants.ClassValue;
|
|
160
|
+
attribution?: tailwind_variants.ClassValue;
|
|
160
161
|
canvas?: tailwind_variants.ClassValue;
|
|
161
162
|
fallback?: tailwind_variants.ClassValue;
|
|
162
163
|
controls?: tailwind_variants.ClassValue;
|
|
163
|
-
attribution?: tailwind_variants.ClassValue;
|
|
164
164
|
places?: tailwind_variants.ClassValue;
|
|
165
165
|
markerLabel?: tailwind_variants.ClassValue;
|
|
166
166
|
control?: tailwind_variants.ClassValue;
|
|
@@ -455,16 +455,16 @@ declare const staticMap: tailwind_variants.TVReturnType<{
|
|
|
455
455
|
[key: string]: {
|
|
456
456
|
[key: string]: tailwind_variants.ClassValue | {
|
|
457
457
|
root?: tailwind_variants.ClassValue;
|
|
458
|
-
attribution?: tailwind_variants.ClassValue;
|
|
459
458
|
svg?: tailwind_variants.ClassValue;
|
|
459
|
+
attribution?: tailwind_variants.ClassValue;
|
|
460
460
|
};
|
|
461
461
|
};
|
|
462
462
|
} | {
|
|
463
463
|
[x: string]: {
|
|
464
464
|
[x: string]: tailwind_variants.ClassValue | {
|
|
465
465
|
root?: tailwind_variants.ClassValue;
|
|
466
|
-
attribution?: tailwind_variants.ClassValue;
|
|
467
466
|
svg?: tailwind_variants.ClassValue;
|
|
467
|
+
attribution?: tailwind_variants.ClassValue;
|
|
468
468
|
};
|
|
469
469
|
};
|
|
470
470
|
} | {}, {
|
|
@@ -475,8 +475,8 @@ declare const staticMap: tailwind_variants.TVReturnType<{
|
|
|
475
475
|
[key: string]: {
|
|
476
476
|
[key: string]: tailwind_variants.ClassValue | {
|
|
477
477
|
root?: tailwind_variants.ClassValue;
|
|
478
|
-
attribution?: tailwind_variants.ClassValue;
|
|
479
478
|
svg?: tailwind_variants.ClassValue;
|
|
479
|
+
attribution?: tailwind_variants.ClassValue;
|
|
480
480
|
};
|
|
481
481
|
};
|
|
482
482
|
} | {}, {
|
package/dist/taped-photo.js
CHANGED
package/dist/wall.d.ts
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface WallObjectProps {
|
|
4
|
+
/** Tilt in degrees, deterministic; defaults to zero. */
|
|
5
|
+
rotation?: number;
|
|
6
|
+
/** A tape strip or a pin; defaults to tape. */
|
|
7
|
+
attachment?: "tape" | "pin";
|
|
8
|
+
/** The tape or pin's tilt in degrees; defaults to zero. */
|
|
9
|
+
attachmentRotation?: number;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
interface PinnedNoteProps extends Omit<React.ComponentProps<"article">, "children" | "style">, WallObjectProps {
|
|
13
|
+
/** The short message; capped at 140 Unicode code points without an ellipsis. */
|
|
14
|
+
text: string;
|
|
15
|
+
/** The optional author's signature, written in the handwriting role. */
|
|
16
|
+
signature?: string;
|
|
17
|
+
}
|
|
18
|
+
/** A short word on a cut-corner card. */
|
|
19
|
+
declare function PinnedNote({ text, signature, rotation, attachment, attachmentRotation, className, ...props }: PinnedNoteProps): React.JSX.Element;
|
|
20
|
+
|
|
21
|
+
interface PolaroidProps extends Omit<React.ComponentProps<"figure">, "children" | "style">, WallObjectProps {
|
|
22
|
+
/** The photo slot: an img or next/image, including fill inside this positioned frame. Supply its alt text. */
|
|
23
|
+
img: React.ReactNode;
|
|
24
|
+
/** A short handwritten caption, using the --kz-font-cahier role. */
|
|
25
|
+
caption?: React.ReactNode;
|
|
26
|
+
/** Enable the first-view develop effect; defaults to true, never runs under reduced motion. */
|
|
27
|
+
develop?: boolean;
|
|
28
|
+
}
|
|
29
|
+
/** A photo held to the wall by tape or a pin, with a handwritten caption. */
|
|
30
|
+
declare function Polaroid({ img, caption, rotation, attachment, attachmentRotation, develop, className, ...props }: PolaroidProps): React.JSX.Element;
|
|
31
|
+
|
|
32
|
+
interface ShopSignProps extends Omit<React.ComponentProps<"div">, "children" | "style"> {
|
|
33
|
+
/** The owner's logo or wordmark. Name an SVG/image accessibly, or use readable text. */
|
|
34
|
+
logo: React.ReactNode;
|
|
35
|
+
/** Enamel plate and screws, softly glowing neon, or a time-worn painted sign. */
|
|
36
|
+
variant?: "enamel" | "neon" | "painted";
|
|
37
|
+
/** Deterministic tilt in degrees; defaults to zero. */
|
|
38
|
+
rotation?: number;
|
|
39
|
+
/** Allow a single soft neon flicker on mount; defaults to true and respects reduced motion. */
|
|
40
|
+
animated?: boolean;
|
|
41
|
+
}
|
|
42
|
+
/** A shop's own mark, as a plate, a neon, or a painted sign. */
|
|
43
|
+
declare function ShopSign({ logo, variant, rotation, animated, className, ...props }: ShopSignProps): React.JSX.Element;
|
|
44
|
+
|
|
45
|
+
interface WallPosition {
|
|
46
|
+
/** Stable identity for this object. */
|
|
47
|
+
id: string;
|
|
48
|
+
/** Horizontal placement as a percentage (0–100); clamped to the wall. */
|
|
49
|
+
x: number;
|
|
50
|
+
/** Vertical placement as a percentage (0–100); clamped to the wall. */
|
|
51
|
+
y: number;
|
|
52
|
+
/** Tilt in degrees; defaults to zero. */
|
|
53
|
+
rotation?: number;
|
|
54
|
+
/** Stacking and reading order, ascending; ties preserve input order. */
|
|
55
|
+
z: number;
|
|
56
|
+
}
|
|
57
|
+
/** The item's kind chooses its component; its remaining fields are that component's props. */
|
|
58
|
+
type WallItem = WallPosition & (({
|
|
59
|
+
kind: "polaroid";
|
|
60
|
+
} & PolaroidProps) | ({
|
|
61
|
+
kind: "note";
|
|
62
|
+
} & PinnedNoteProps) | ({
|
|
63
|
+
kind: "sign";
|
|
64
|
+
} & ShopSignProps));
|
|
65
|
+
interface WallProps extends Omit<React.ComponentProps<"ul">, "children" | "style" | "role"> {
|
|
66
|
+
/** The read-only objects; never mutated. Sorted by z for reading, keyboard and phone order. */
|
|
67
|
+
items: readonly WallItem[];
|
|
68
|
+
/** CSS/SVG texture; no image download. Defaults to plaster. */
|
|
69
|
+
texture?: "brick" | "zellige" | "ridge" | "plaster";
|
|
70
|
+
/** Desktop surface height in pixels (minimum 320); defaults to 560. Phones grow with content. */
|
|
71
|
+
height?: number;
|
|
72
|
+
/** Desktop object width in pixels (minimum 120); defaults to 240 and never exceeds the surface. */
|
|
73
|
+
itemWidth?: number;
|
|
74
|
+
}
|
|
75
|
+
/** A decorative textured surface over a real keyboard-reachable list; never an editor. */
|
|
76
|
+
declare function Wall({ items, texture, height, itemWidth, className, ...props }: WallProps): React.JSX.Element;
|
|
77
|
+
|
|
78
|
+
export { PinnedNote, Polaroid, ShopSign, Wall };
|
|
79
|
+
export type { PinnedNoteProps, PolaroidProps, ShopSignProps, WallItem, WallPosition, WallProps };
|
package/dist/wall.js
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "./chunk-44FU32KP.js";
|
|
3
|
+
import {
|
|
4
|
+
TapedPhoto
|
|
5
|
+
} from "./chunk-XVXFMVG3.js";
|
|
6
|
+
import {
|
|
7
|
+
cn
|
|
8
|
+
} from "./chunk-WU4VLSEA.js";
|
|
9
|
+
|
|
10
|
+
// src/wall/attachment.tsx
|
|
11
|
+
import { jsx } from "react/jsx-runtime";
|
|
12
|
+
var finite = (value) => Number.isFinite(value) ? value : 0;
|
|
13
|
+
var rotationStyle = (rotation) => ({ "--kz-wall-rotation": `${finite(rotation)}deg` });
|
|
14
|
+
function Attachment({ attachment = "tape", attachmentRotation = 0 }) {
|
|
15
|
+
return /* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: cn("kz-wall-attachment", attachment === "pin" ? "kz-wall-pin" : "kz-wall-tape"), style: { transform: `rotate(${finite(attachmentRotation)}deg)` } });
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// src/wall/pinned-note.tsx
|
|
19
|
+
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
20
|
+
function PinnedNote({ text, signature, rotation = 0, attachment, attachmentRotation, className, ...props }) {
|
|
21
|
+
return /* @__PURE__ */ jsxs("article", { ...props, className: cn("kz-pinned-note kz-wall-object", className), style: rotationStyle(rotation), "data-shape": "cut", children: [
|
|
22
|
+
/* @__PURE__ */ jsx2(Attachment, { attachment, attachmentRotation }),
|
|
23
|
+
/* @__PURE__ */ jsxs("div", { className: "kz-pinned-note-paper", children: [
|
|
24
|
+
/* @__PURE__ */ jsx2("p", { className: "kz-pinned-note-text", children: Array.from(text).slice(0, 140).join("") }),
|
|
25
|
+
signature && /* @__PURE__ */ jsx2("p", { className: "kz-pinned-note-signature", children: signature })
|
|
26
|
+
] })
|
|
27
|
+
] });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// src/wall/polaroid.tsx
|
|
31
|
+
import * as React from "react";
|
|
32
|
+
import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
33
|
+
function Polaroid({ img, caption, rotation = 0, attachment = "tape", attachmentRotation = 0, develop = true, className, ...props }) {
|
|
34
|
+
const ref = React.useRef(null);
|
|
35
|
+
const [state, setState] = React.useState();
|
|
36
|
+
React.useEffect(() => {
|
|
37
|
+
if (!develop || !ref.current || typeof IntersectionObserver === "undefined" || typeof matchMedia === "undefined") return;
|
|
38
|
+
const preference = matchMedia("(prefers-reduced-motion: reduce)");
|
|
39
|
+
let seen = false;
|
|
40
|
+
let observer;
|
|
41
|
+
const sync = () => {
|
|
42
|
+
observer?.disconnect();
|
|
43
|
+
if (preference.matches) {
|
|
44
|
+
seen = true;
|
|
45
|
+
setState(void 0);
|
|
46
|
+
} else if (!seen) {
|
|
47
|
+
setState("waiting");
|
|
48
|
+
observer = new IntersectionObserver((entries) => {
|
|
49
|
+
if (seen || !entries.some((entry) => entry.isIntersecting)) return;
|
|
50
|
+
seen = true;
|
|
51
|
+
setState("ready");
|
|
52
|
+
observer?.disconnect();
|
|
53
|
+
}, { threshold: 0.15 });
|
|
54
|
+
observer.observe(ref.current);
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
sync();
|
|
58
|
+
preference.addEventListener("change", sync);
|
|
59
|
+
return () => {
|
|
60
|
+
observer?.disconnect();
|
|
61
|
+
preference.removeEventListener("change", sync);
|
|
62
|
+
};
|
|
63
|
+
}, [develop]);
|
|
64
|
+
return /* @__PURE__ */ jsxs2(
|
|
65
|
+
TapedPhoto,
|
|
66
|
+
{
|
|
67
|
+
...props,
|
|
68
|
+
className: cn("kz-polaroid", className),
|
|
69
|
+
tilt: finite(rotation),
|
|
70
|
+
tape: attachment === "pin" ? "none" : "top",
|
|
71
|
+
caption,
|
|
72
|
+
style: { "--kz-wall-attachment-rotation": `${finite(attachmentRotation)}deg` },
|
|
73
|
+
"data-develop": develop ? state : void 0,
|
|
74
|
+
children: [
|
|
75
|
+
attachment === "pin" && /* @__PURE__ */ jsx3(Attachment, { attachment: "pin", attachmentRotation }),
|
|
76
|
+
/* @__PURE__ */ jsx3("div", { ref, className: "kz-polaroid-photo", children: img })
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// src/wall/shop-sign.tsx
|
|
83
|
+
import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
84
|
+
function ShopSign({ logo, variant = "enamel", rotation = 0, animated = true, className, ...props }) {
|
|
85
|
+
return /* @__PURE__ */ jsxs3("div", { ...props, className: cn("kz-shop-sign kz-wall-object", className), style: rotationStyle(rotation), "data-variant": variant, "data-animated": animated ? "" : void 0, children: [
|
|
86
|
+
variant === "enamel" && [0, 1, 2, 3].map((corner) => /* @__PURE__ */ jsx4("span", { "aria-hidden": "true", className: "kz-shop-sign-screw", "data-corner": corner }, corner)),
|
|
87
|
+
/* @__PURE__ */ jsx4("div", { className: "kz-shop-sign-logo", children: logo })
|
|
88
|
+
] });
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
// src/wall/wall.tsx
|
|
92
|
+
import * as React2 from "react";
|
|
93
|
+
import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
94
|
+
function Wall({ items, texture = "plaster", height = 560, itemWidth = 240, className, ...props }) {
|
|
95
|
+
const patternId = React2.useId().replace(/:/g, "");
|
|
96
|
+
return /* @__PURE__ */ jsxs4("ul", { ...props, role: "list", className: cn("kz-wall", className), "data-texture": texture, style: { "--kz-wall-height": `${Math.max(320, finite(height))}px`, "--kz-wall-item-width": `${Math.max(120, finite(itemWidth))}px` }, children: [
|
|
97
|
+
[...items].sort((a, b) => finite(a.z) - finite(b.z)).map(({ id, x, y, rotation = 0, z: _z, ...item }, rank) => /* @__PURE__ */ jsx5("li", { className: "kz-wall-item", tabIndex: 0, style: {
|
|
98
|
+
"--kz-wall-x": `${Math.min(100, Math.max(0, finite(x)))}%`,
|
|
99
|
+
"--kz-wall-y": `${Math.min(100, Math.max(0, finite(y)))}%`,
|
|
100
|
+
"--kz-wall-rotation": `${finite(rotation)}deg`,
|
|
101
|
+
zIndex: rank
|
|
102
|
+
}, children: item.kind === "polaroid" ? /* @__PURE__ */ jsx5(Polaroid, { ...item, rotation: 0 }) : item.kind === "note" ? /* @__PURE__ */ jsx5(PinnedNote, { ...item, rotation: 0 }) : /* @__PURE__ */ jsx5(ShopSign, { ...item, rotation: 0 }) }, id)),
|
|
103
|
+
texture === "brick" && /* @__PURE__ */ jsx5("li", { className: "kz-wall-decoration", "aria-hidden": "true", role: "presentation", children: /* @__PURE__ */ jsxs4("svg", { width: "100%", height: "100%", "aria-hidden": "true", children: [
|
|
104
|
+
/* @__PURE__ */ jsx5("defs", { children: /* @__PURE__ */ jsx5("pattern", { id: patternId, width: "96", height: "48", patternUnits: "userSpaceOnUse", children: /* @__PURE__ */ jsx5("path", { d: "M0 0H96M0 24H96M0 48H96M48 0V24M0 24V48M96 24V48", fill: "none", stroke: "var(--kz-border-default)", strokeWidth: "2" }) }) }),
|
|
105
|
+
/* @__PURE__ */ jsx5("rect", { width: "100%", height: "100%", fill: `url(#${patternId})` })
|
|
106
|
+
] }) }),
|
|
107
|
+
texture === "zellige" && /* @__PURE__ */ jsx5("li", { className: "kz-wall-decoration", "aria-hidden": "true", role: "presentation", children: /* @__PURE__ */ jsxs4("svg", { width: "100%", height: "100%", "aria-hidden": "true", children: [
|
|
108
|
+
/* @__PURE__ */ jsx5("defs", { children: /* @__PURE__ */ jsxs4("pattern", { id: patternId, width: "64", height: "64", patternUnits: "userSpaceOnUse", children: [
|
|
109
|
+
/* @__PURE__ */ jsx5("path", { d: "M32 3 39 15 52 12 49 25 61 32 49 39 52 52 39 49 32 61 25 49 12 52 15 39 3 32 15 25 12 12 25 15Z", fill: "var(--kz-accent-soft)", stroke: "var(--kz-border-default)" }),
|
|
110
|
+
/* @__PURE__ */ jsx5("path", { d: "m32 18 14 14-14 14-14-14Z", fill: "var(--kz-surface-2)", stroke: "var(--kz-accent-2)" })
|
|
111
|
+
] }) }),
|
|
112
|
+
/* @__PURE__ */ jsx5("rect", { width: "100%", height: "100%", fill: `url(#${patternId})` })
|
|
113
|
+
] }) }),
|
|
114
|
+
texture === "ridge" && /* @__PURE__ */ jsx5("li", { className: "kz-wall-decoration", "aria-hidden": "true", role: "presentation", children: /* @__PURE__ */ jsxs4("svg", { viewBox: "0 0 1000 600", preserveAspectRatio: "none", width: "100%", height: "100%", "aria-hidden": "true", children: [
|
|
115
|
+
/* @__PURE__ */ jsx5("path", { d: "M0 380 170 100 290 300 450 70 620 330 790 120 1000 350V600H0Z", fill: "var(--kz-accent-soft)" }),
|
|
116
|
+
/* @__PURE__ */ jsx5("path", { d: "M0 470 200 280 370 440 600 190 760 400 920 260 1000 390V600H0Z", fill: "var(--kz-surface-2)" }),
|
|
117
|
+
/* @__PURE__ */ jsx5("path", { d: "M0 540 180 430 360 520 540 390 760 520 900 410 1000 480V600H0Z", fill: "var(--kz-surface-3)" })
|
|
118
|
+
] }) })
|
|
119
|
+
] });
|
|
120
|
+
}
|
|
121
|
+
export {
|
|
122
|
+
PinnedNote,
|
|
123
|
+
Polaroid,
|
|
124
|
+
ShopSign,
|
|
125
|
+
Wall
|
|
126
|
+
};
|
|
127
|
+
//# sourceMappingURL=wall.js.map
|
package/dist/wall.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/wall/attachment.tsx","../src/wall/pinned-note.tsx","../src/wall/polaroid.tsx","../src/wall/shop-sign.tsx","../src/wall/wall.tsx"],"sourcesContent":["import type { CSSProperties } from \"react\";\n\nimport { cn } from \"../cn\";\n\nexport interface WallObjectProps {\n /** Tilt in degrees, deterministic; defaults to zero. */\n rotation?: number;\n /** A tape strip or a pin; defaults to tape. */\n attachment?: \"tape\" | \"pin\";\n /** The tape or pin's tilt in degrees; defaults to zero. */\n attachmentRotation?: number;\n}\n\nexport const finite = (value: number) => Number.isFinite(value) ? value : 0;\nexport const rotationStyle = (rotation: number): CSSProperties =>\n ({ \"--kz-wall-rotation\": `${finite(rotation)}deg` }) as CSSProperties;\n\nexport function Attachment({ attachment = \"tape\", attachmentRotation = 0 }: WallObjectProps) {\n return <span aria-hidden=\"true\" className={cn(\"kz-wall-attachment\", attachment === \"pin\" ? \"kz-wall-pin\" : \"kz-wall-tape\")} style={{ transform: `rotate(${finite(attachmentRotation)}deg)` }} />;\n}\n","import type * as React from \"react\";\n\nimport { cn } from \"../cn\";\nimport { Attachment, rotationStyle, type WallObjectProps } from \"./attachment\";\n\nexport interface PinnedNoteProps extends Omit<React.ComponentProps<\"article\">, \"children\" | \"style\">, WallObjectProps {\n /** The short message; capped at 140 Unicode code points without an ellipsis. */\n text: string;\n /** The optional author's signature, written in the handwriting role. */\n signature?: string;\n}\n\n/** A short word on a cut-corner card. */\nexport function PinnedNote({ text, signature, rotation = 0, attachment, attachmentRotation, className, ...props }: PinnedNoteProps) {\n return (\n <article {...props} className={cn(\"kz-pinned-note kz-wall-object\", className)} style={rotationStyle(rotation)} data-shape=\"cut\">\n <Attachment attachment={attachment} attachmentRotation={attachmentRotation} />\n <div className=\"kz-pinned-note-paper\">\n <p className=\"kz-pinned-note-text\">{Array.from(text).slice(0, 140).join(\"\")}</p>\n {signature && <p className=\"kz-pinned-note-signature\">{signature}</p>}\n </div>\n </article>\n );\n}\n","\"use client\";\n\nimport * as React from \"react\";\n\nimport { cn } from \"../cn\";\nimport { TapedPhoto } from \"../taped-photo\";\nimport { Attachment, finite, type WallObjectProps } from \"./attachment\";\n\nexport interface PolaroidProps extends Omit<React.ComponentProps<\"figure\">, \"children\" | \"style\">, WallObjectProps {\n /** The photo slot: an img or next/image, including fill inside this positioned frame. Supply its alt text. */\n img: React.ReactNode;\n /** A short handwritten caption, using the --kz-font-cahier role. */\n caption?: React.ReactNode;\n /** Enable the first-view develop effect; defaults to true, never runs under reduced motion. */\n develop?: boolean;\n}\n\n/** A photo held to the wall by tape or a pin, with a handwritten caption. */\nexport function Polaroid({ img, caption, rotation = 0, attachment = \"tape\", attachmentRotation = 0, develop = true, className, ...props }: PolaroidProps) {\n const ref = React.useRef<HTMLDivElement>(null);\n const [state, setState] = React.useState<\"waiting\" | \"ready\" | undefined>();\n React.useEffect(() => {\n if (!develop || !ref.current || typeof IntersectionObserver === \"undefined\" || typeof matchMedia === \"undefined\") return;\n const preference = matchMedia(\"(prefers-reduced-motion: reduce)\");\n let seen = false;\n let observer: IntersectionObserver | undefined;\n const sync = () => {\n observer?.disconnect();\n if (preference.matches) {\n seen = true;\n setState(undefined);\n } else if (!seen) {\n setState(\"waiting\");\n observer = new IntersectionObserver((entries) => {\n if (seen || !entries.some((entry) => entry.isIntersecting)) return;\n seen = true;\n setState(\"ready\");\n observer?.disconnect();\n }, { threshold: 0.15 });\n observer.observe(ref.current!);\n }\n };\n sync();\n preference.addEventListener(\"change\", sync);\n return () => { observer?.disconnect(); preference.removeEventListener(\"change\", sync); };\n }, [develop]);\n return (\n <TapedPhoto {...props} className={cn(\"kz-polaroid\", className)} tilt={finite(rotation)} tape={attachment === \"pin\" ? \"none\" : \"top\"} caption={caption}\n style={{ \"--kz-wall-attachment-rotation\": `${finite(attachmentRotation)}deg` } as React.CSSProperties} data-develop={develop ? state : undefined}>\n {attachment === \"pin\" && <Attachment attachment=\"pin\" attachmentRotation={attachmentRotation} />}\n <div ref={ref} className=\"kz-polaroid-photo\">{img}</div>\n </TapedPhoto>\n );\n}\n","import type * as React from \"react\";\n\nimport { cn } from \"../cn\";\nimport { rotationStyle } from \"./attachment\";\n\nexport interface ShopSignProps extends Omit<React.ComponentProps<\"div\">, \"children\" | \"style\"> {\n /** The owner's logo or wordmark. Name an SVG/image accessibly, or use readable text. */\n logo: React.ReactNode;\n /** Enamel plate and screws, softly glowing neon, or a time-worn painted sign. */\n variant?: \"enamel\" | \"neon\" | \"painted\";\n /** Deterministic tilt in degrees; defaults to zero. */\n rotation?: number;\n /** Allow a single soft neon flicker on mount; defaults to true and respects reduced motion. */\n animated?: boolean;\n}\n\n/** A shop's own mark, as a plate, a neon, or a painted sign. */\nexport function ShopSign({ logo, variant = \"enamel\", rotation = 0, animated = true, className, ...props }: ShopSignProps) {\n return (\n <div {...props} className={cn(\"kz-shop-sign kz-wall-object\", className)} style={rotationStyle(rotation)} data-variant={variant} data-animated={animated ? \"\" : undefined}>\n {variant === \"enamel\" && [0, 1, 2, 3].map((corner) => <span key={corner} aria-hidden=\"true\" className=\"kz-shop-sign-screw\" data-corner={corner} />)}\n <div className=\"kz-shop-sign-logo\">{logo}</div>\n </div>\n );\n}\n","\"use client\";\n\nimport * as React from \"react\";\n\nimport { cn } from \"../cn\";\nimport { finite } from \"./attachment\";\nimport { PinnedNote, type PinnedNoteProps } from \"./pinned-note\";\nimport { Polaroid, type PolaroidProps } from \"./polaroid\";\nimport { ShopSign, type ShopSignProps } from \"./shop-sign\";\n\nexport interface WallPosition {\n /** Stable identity for this object. */\n id: string;\n /** Horizontal placement as a percentage (0–100); clamped to the wall. */\n x: number;\n /** Vertical placement as a percentage (0–100); clamped to the wall. */\n y: number;\n /** Tilt in degrees; defaults to zero. */\n rotation?: number;\n /** Stacking and reading order, ascending; ties preserve input order. */\n z: number;\n}\n\n/** The item's kind chooses its component; its remaining fields are that component's props. */\nexport type WallItem = WallPosition & (\n | ({ /** A framed photo. */ kind: \"polaroid\" } & PolaroidProps)\n | ({ /** A short pinned message. */ kind: \"note\" } & PinnedNoteProps)\n | ({ /** The owner's sign. */ kind: \"sign\" } & ShopSignProps)\n);\n\nexport interface WallProps extends Omit<React.ComponentProps<\"ul\">, \"children\" | \"style\" | \"role\"> {\n /** The read-only objects; never mutated. Sorted by z for reading, keyboard and phone order. */\n items: readonly WallItem[];\n /** CSS/SVG texture; no image download. Defaults to plaster. */\n texture?: \"brick\" | \"zellige\" | \"ridge\" | \"plaster\";\n /** Desktop surface height in pixels (minimum 320); defaults to 560. Phones grow with content. */\n height?: number;\n /** Desktop object width in pixels (minimum 120); defaults to 240 and never exceeds the surface. */\n itemWidth?: number;\n}\n\n/** A decorative textured surface over a real keyboard-reachable list; never an editor. */\nexport function Wall({ items, texture = \"plaster\", height = 560, itemWidth = 240, className, ...props }: WallProps) {\n const patternId = React.useId().replace(/:/g, \"\");\n return (\n <ul {...props} role=\"list\" className={cn(\"kz-wall\", className)} data-texture={texture} style={{ \"--kz-wall-height\": `${Math.max(320, finite(height))}px`, \"--kz-wall-item-width\": `${Math.max(120, finite(itemWidth))}px` } as React.CSSProperties}>\n {[...items].sort((a, b) => finite(a.z) - finite(b.z)).map(({ id, x, y, rotation = 0, z: _z, ...item }, rank) => (\n <li key={id} className=\"kz-wall-item\" tabIndex={0} style={{\n \"--kz-wall-x\": `${Math.min(100, Math.max(0, finite(x)))}%`,\n \"--kz-wall-y\": `${Math.min(100, Math.max(0, finite(y)))}%`,\n \"--kz-wall-rotation\": `${finite(rotation)}deg`,\n zIndex: rank,\n } as React.CSSProperties}>\n {item.kind === \"polaroid\" ? <Polaroid {...item} rotation={0} /> : item.kind === \"note\" ? <PinnedNote {...item} rotation={0} /> : <ShopSign {...item} rotation={0} />}\n </li>\n ))}\n {texture === \"brick\" && <li className=\"kz-wall-decoration\" aria-hidden=\"true\" role=\"presentation\"><svg width=\"100%\" height=\"100%\" aria-hidden=\"true\">\n <defs><pattern id={patternId} width=\"96\" height=\"48\" patternUnits=\"userSpaceOnUse\">\n <path d=\"M0 0H96M0 24H96M0 48H96M48 0V24M0 24V48M96 24V48\" fill=\"none\" stroke=\"var(--kz-border-default)\" strokeWidth=\"2\" />\n </pattern></defs><rect width=\"100%\" height=\"100%\" fill={`url(#${patternId})`} />\n </svg></li>}\n {texture === \"zellige\" && <li className=\"kz-wall-decoration\" aria-hidden=\"true\" role=\"presentation\"><svg width=\"100%\" height=\"100%\" aria-hidden=\"true\">\n <defs><pattern id={patternId} width=\"64\" height=\"64\" patternUnits=\"userSpaceOnUse\">\n <path d=\"M32 3 39 15 52 12 49 25 61 32 49 39 52 52 39 49 32 61 25 49 12 52 15 39 3 32 15 25 12 12 25 15Z\" fill=\"var(--kz-accent-soft)\" stroke=\"var(--kz-border-default)\" />\n <path d=\"m32 18 14 14-14 14-14-14Z\" fill=\"var(--kz-surface-2)\" stroke=\"var(--kz-accent-2)\" />\n </pattern></defs><rect width=\"100%\" height=\"100%\" fill={`url(#${patternId})`} />\n </svg></li>}\n {texture === \"ridge\" && <li className=\"kz-wall-decoration\" aria-hidden=\"true\" role=\"presentation\"><svg viewBox=\"0 0 1000 600\" preserveAspectRatio=\"none\" width=\"100%\" height=\"100%\" aria-hidden=\"true\">\n <path d=\"M0 380 170 100 290 300 450 70 620 330 790 120 1000 350V600H0Z\" fill=\"var(--kz-accent-soft)\" />\n <path d=\"M0 470 200 280 370 440 600 190 760 400 920 260 1000 390V600H0Z\" fill=\"var(--kz-surface-2)\" />\n <path d=\"M0 540 180 430 360 520 540 390 760 520 900 410 1000 480V600H0Z\" fill=\"var(--kz-surface-3)\" />\n </svg></li>}\n </ul>\n );\n}\n"],"mappings":"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","names":["jsx","jsx","jsxs","jsx","jsxs","React","jsx","jsxs"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krizaka/ui",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.60.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, Orochia, Yasakia, Yororis) and the motion signature — web and /native.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"krizaka",
|
|
@@ -465,6 +465,10 @@
|
|
|
465
465
|
"types": "./dist/slot-picker.d.ts",
|
|
466
466
|
"import": "./dist/slot-picker.js"
|
|
467
467
|
},
|
|
468
|
+
"./wall": {
|
|
469
|
+
"types": "./dist/wall.d.ts",
|
|
470
|
+
"import": "./dist/wall.js"
|
|
471
|
+
},
|
|
468
472
|
"./cover-hero": {
|
|
469
473
|
"types": "./dist/cover-hero.d.ts",
|
|
470
474
|
"import": "./dist/cover-hero.js"
|
|
@@ -857,7 +861,7 @@
|
|
|
857
861
|
],
|
|
858
862
|
"peerDependencies": {
|
|
859
863
|
"@krizaka/query": ">=0.2.2",
|
|
860
|
-
"@krizaka/tailwind": ">=3.
|
|
864
|
+
"@krizaka/tailwind": ">=3.60.0",
|
|
861
865
|
"@maplibre/maplibre-react-native": ">=11",
|
|
862
866
|
"@shopify/flash-list": ">=2",
|
|
863
867
|
"expo-camera": ">=16",
|
|
@@ -916,8 +920,8 @@
|
|
|
916
920
|
"tsup": "^9.0.0",
|
|
917
921
|
"typescript": "^5.9.0",
|
|
918
922
|
"vitest": "^5.0.5",
|
|
919
|
-
"@krizaka/
|
|
920
|
-
"@krizaka/
|
|
923
|
+
"@krizaka/config": "0.8.0",
|
|
924
|
+
"@krizaka/query": "0.2.2"
|
|
921
925
|
},
|
|
922
926
|
"engines": {
|
|
923
927
|
"node": ">=22"
|
|
@@ -1913,6 +1917,16 @@
|
|
|
1913
1917
|
"clsx"
|
|
1914
1918
|
]
|
|
1915
1919
|
},
|
|
1920
|
+
{
|
|
1921
|
+
"name": "./wall",
|
|
1922
|
+
"path": "dist/wall.js",
|
|
1923
|
+
"limit": "3.5 kB",
|
|
1924
|
+
"gzip": true,
|
|
1925
|
+
"ignore": [
|
|
1926
|
+
"tailwind-variants",
|
|
1927
|
+
"clsx"
|
|
1928
|
+
]
|
|
1929
|
+
},
|
|
1916
1930
|
{
|
|
1917
1931
|
"name": "./cover-hero",
|
|
1918
1932
|
"path": "dist/cover-hero.js",
|
|
@@ -2889,7 +2903,7 @@
|
|
|
2889
2903
|
"tailwind-variants": "^3.3.1",
|
|
2890
2904
|
"zod": "^4.6.7",
|
|
2891
2905
|
"@krizaka/intl": "^0.4.0",
|
|
2892
|
-
"@krizaka/tokens": "^3.
|
|
2906
|
+
"@krizaka/tokens": "^3.60.0",
|
|
2893
2907
|
"@krizaka/pacer": "^0.1.0"
|
|
2894
2908
|
},
|
|
2895
2909
|
"scripts": {
|